@vue-skuilder/courseware 0.1.17 → 0.1.18
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/CourseWare.d.ts +1 -1
- package/dist/backend.d.ts +1 -1
- package/dist/backend.mjs +1 -21
- package/dist/backend.mjs.map +1 -1
- package/dist/chess/chessground/anim.d.ts.map +1 -1
- package/dist/chess/chessground/board.d.ts.map +1 -1
- package/dist/chess/chessground/draw.d.ts.map +1 -1
- package/dist/chess/chessground/util.d.ts.map +1 -1
- package/dist/chess/questions/forks/forksView.vue.d.ts +1 -1
- package/dist/chess/questions/forks/index.d.ts +2 -2
- package/dist/chess/questions/forks/index.d.ts.map +1 -1
- package/dist/chess/questions/puzzle/index.d.ts +2 -2
- package/dist/chess/questions/puzzle/index.d.ts.map +1 -1
- package/dist/chess/questions/puzzle/puzzle.vue.d.ts +5 -5
- package/dist/chess/questions/puzzle/puzzle.vue.d.ts.map +1 -1
- package/dist/default/questions/fillIn/fillIn.vue.d.ts +28 -28
- package/dist/default/questions/fillIn/fillIn.vue.d.ts.map +1 -1
- package/dist/default/questions/fillIn/index.d.ts +58 -58
- package/dist/default/questions/fillIn/index.d.ts.map +1 -1
- package/dist/default/questions/fillIn/shapes.d.ts +1 -1
- package/dist/french/questions/audioparse/index.d.ts +10 -10
- package/dist/french/questions/audioparse/index.d.ts.map +1 -1
- package/dist/french/questions/audioparse/view.vue.d.ts +5 -5
- package/dist/french/questions/audioparse/view.vue.d.ts.map +1 -1
- package/dist/french/questions/vocab/identify.vue.d.ts +5 -5
- package/dist/french/questions/vocab/identify.vue.d.ts.map +1 -1
- package/dist/french/questions/vocab/index.d.ts +14 -14
- package/dist/french/questions/vocab/index.d.ts.map +1 -1
- package/dist/index.cjs.js +1 -74
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +1 -63098
- package/dist/index.mjs.map +1 -1
- package/dist/math/questions/addition/horizontal.vue.d.ts +8 -8
- package/dist/math/questions/addition/horizontal.vue.d.ts.map +1 -1
- package/dist/math/questions/addition/index.d.ts +4 -4
- package/dist/math/questions/addition/shapes.d.ts +1 -1
- package/dist/math/questions/addition/verbal.vue.d.ts +8 -8
- package/dist/math/questions/addition/verbal.vue.d.ts.map +1 -1
- package/dist/math/questions/angleCategorize/angleCategorize.vue.d.ts +18 -18
- package/dist/math/questions/angleCategorize/angleCategorize.vue.d.ts.map +1 -1
- package/dist/math/questions/angleCategorize/index.d.ts +36 -36
- package/dist/math/questions/angleCategorize/index.d.ts.map +1 -1
- package/dist/math/questions/countBy/default.vue.d.ts +5 -5
- package/dist/math/questions/countBy/default.vue.d.ts.map +1 -1
- package/dist/math/questions/countBy/index.d.ts +10 -10
- package/dist/math/questions/countBy/index.d.ts.map +1 -1
- package/dist/math/questions/division/horizontal.vue.d.ts +8 -8
- package/dist/math/questions/division/horizontal.vue.d.ts.map +1 -1
- package/dist/math/questions/division/index.d.ts +16 -16
- package/dist/math/questions/division/index.d.ts.map +1 -1
- package/dist/math/questions/equalityTest/index.d.ts +30 -30
- package/dist/math/questions/equalityTest/index.d.ts.map +1 -1
- package/dist/math/questions/equalityTest/shapes.d.ts +1 -1
- package/dist/math/questions/equalityTest/trueFalse.vue.d.ts +14 -14
- package/dist/math/questions/equalityTest/trueFalse.vue.d.ts.map +1 -1
- package/dist/math/questions/multiplication/blorizontal.vue.d.ts +8 -8
- package/dist/math/questions/multiplication/blorizontal.vue.d.ts.map +1 -1
- package/dist/math/questions/multiplication/index.d.ts +16 -16
- package/dist/math/questions/multiplication/index.d.ts.map +1 -1
- package/dist/math/questions/multiplication/verbal.vue.d.ts +8 -8
- package/dist/math/questions/multiplication/verbal.vue.d.ts.map +1 -1
- package/dist/math/questions/oneStepEqn/index.d.ts +16 -16
- package/dist/math/questions/oneStepEqn/index.d.ts.map +1 -1
- package/dist/math/questions/oneStepEqn/solve.vue.d.ts +8 -8
- package/dist/math/questions/oneStepEqn/solve.vue.d.ts.map +1 -1
- package/dist/math/questions/supplementaryAngles/index.d.ts +16 -16
- package/dist/math/questions/supplementaryAngles/index.d.ts.map +1 -1
- package/dist/math/questions/supplementaryAngles/supplementaryAngles.vue.d.ts +8 -8
- package/dist/math/questions/supplementaryAngles/supplementaryAngles.vue.d.ts.map +1 -1
- package/dist/math/utility/index.d.ts +1 -1
- package/dist/piano/questions/echo/Playback.vue.d.ts +13 -13
- package/dist/piano/questions/echo/Playback.vue.d.ts.map +1 -1
- package/dist/piano/questions/echo/index.d.ts +26 -26
- package/dist/piano/questions/echo/index.d.ts.map +1 -1
- package/dist/piano/questions/playNote/NotePlayback.vue.d.ts +13 -13
- package/dist/piano/questions/playNote/NotePlayback.vue.d.ts.map +1 -1
- package/dist/piano/questions/playNote/index.d.ts +26 -26
- package/dist/piano/questions/playNote/index.d.ts.map +1 -1
- package/dist/piano/utility/MidiConfig.vue.d.ts +1 -1
- package/dist/pitch/questions/indentify/index.d.ts +36 -36
- package/dist/pitch/questions/indentify/index.d.ts.map +1 -1
- package/dist/pitch/questions/indentify/textBox.vue.d.ts +18 -18
- package/dist/pitch/questions/indentify/textBox.vue.d.ts.map +1 -1
- package/dist/shapes-ClIYUyOT.js +2 -0
- package/dist/{shapes-CSAUKU5h.js.map → shapes-ClIYUyOT.js.map} +1 -1
- package/dist/shapes.d.ts +1 -1
- package/dist/sightsing/questions/IdentifyKey/IdentifyKey.vue.d.ts +18 -18
- package/dist/sightsing/questions/IdentifyKey/IdentifyKey.vue.d.ts.map +1 -1
- package/dist/sightsing/questions/IdentifyKey/index.d.ts +36 -36
- package/dist/sightsing/questions/IdentifyKey/index.d.ts.map +1 -1
- package/dist/typing/questions/falling-letters/FallingLetters.vue.d.ts +2 -2
- package/dist/typing/questions/falling-letters/FallingLettersQuestion.d.ts +2 -2
- package/dist/typing/questions/single-letter/index.d.ts +10 -10
- package/dist/typing/questions/single-letter/index.d.ts.map +1 -1
- package/dist/typing/questions/single-letter/typeSingleLetter.vue.d.ts +5 -5
- package/dist/typing/questions/single-letter/typeSingleLetter.vue.d.ts.map +1 -1
- package/dist/word-work/questions/spelling/index.d.ts +16 -16
- package/dist/word-work/questions/spelling/index.d.ts.map +1 -1
- package/dist/word-work/questions/spelling/textBox.vue.d.ts +8 -8
- package/dist/word-work/questions/spelling/textBox.vue.d.ts.map +1 -1
- package/package.json +17 -9
- package/dist/shapes-CSAUKU5h.js +0 -36
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Question } from '
|
|
2
|
-
import { ViewData, DataShapeName, FieldType, Status, RadioMultipleChoiceAnswer } from '
|
|
1
|
+
import { Question } from '@vue-skuilder/common-ui';
|
|
2
|
+
import { ViewData, DataShapeName, FieldType, Status, RadioMultipleChoiceAnswer } from '@vue-skuilder/common';
|
|
3
3
|
/**
|
|
4
4
|
* The 15 sane keys in music theory.
|
|
5
5
|
*/
|
|
@@ -31,13 +31,13 @@ export declare class IdentifyKeyQuestion extends Question {
|
|
|
31
31
|
priorAnswers: import('vue').Ref<[Answer, string][]>;
|
|
32
32
|
maxAttemptsPerView: import('vue').Ref<number>;
|
|
33
33
|
maxSessionViews: import('vue').Ref<number>;
|
|
34
|
-
submitAnswer: (answer: Answer, submittingClass?: string) =>
|
|
34
|
+
submitAnswer: (answer: Answer, submittingClass?: string) => QuestionRecord;
|
|
35
35
|
startTime: import('vue').Ref<moment.Moment>;
|
|
36
|
-
hotKeys: import('vue').Ref<import('
|
|
36
|
+
hotKeys: import('vue').Ref<import('@vue-skuilder/common-ui').HotKey[]>;
|
|
37
37
|
timeSpent: import('vue').ComputedRef<number>;
|
|
38
|
-
logger: import('
|
|
38
|
+
logger: import('@vue-skuilder/common-ui').ViewableLogger;
|
|
39
39
|
getURL: (item: string, dataShapeIndex?: number) => string;
|
|
40
|
-
emitResponse: (record:
|
|
40
|
+
emitResponse: (record: CardRecord) => void;
|
|
41
41
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
42
42
|
data: ViewData[];
|
|
43
43
|
modifyDifficulty: number;
|
|
@@ -64,14 +64,14 @@ export declare class IdentifyKeyQuestion extends Question {
|
|
|
64
64
|
unbindKeys(): void;
|
|
65
65
|
}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
66
66
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
67
|
-
previewModeStore: ReturnType<typeof import('
|
|
67
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
68
68
|
}, {
|
|
69
69
|
autofocus(): boolean;
|
|
70
70
|
autoFocus(): boolean;
|
|
71
71
|
}, {
|
|
72
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
72
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
73
73
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
74
|
-
getQuestionViewAncestor(): import('
|
|
74
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
75
75
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
76
76
|
choiceList: {
|
|
77
77
|
type: import('vue').PropType<string[]>;
|
|
@@ -152,7 +152,7 @@ export declare class IdentifyKeyQuestion extends Question {
|
|
|
152
152
|
}>> & Readonly<{}>, {}, {}, {
|
|
153
153
|
MdTokenRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
154
154
|
token: {
|
|
155
|
-
type: import('vue').PropType<import('
|
|
155
|
+
type: import('vue').PropType<import('@vue-skuilder/common-ui').TokenOrComponent>;
|
|
156
156
|
required: true;
|
|
157
157
|
};
|
|
158
158
|
last: {
|
|
@@ -164,14 +164,14 @@ export declare class IdentifyKeyQuestion extends Question {
|
|
|
164
164
|
isComponent: (token: import('marked').MarkedToken) => boolean;
|
|
165
165
|
containsComponent: (token: import('marked').MarkedToken) => boolean;
|
|
166
166
|
splitTextToken: (token: import('marked').MarkedToken) => import("marked").Tokens.Text[];
|
|
167
|
-
splitParagraphToken: (token: import("marked").Tokens.Paragraph) => import('
|
|
167
|
+
splitParagraphToken: (token: import("marked").Tokens.Paragraph) => import('@vue-skuilder/common-ui').TokenOrComponent[];
|
|
168
168
|
parsedComponent: (token: import('marked').MarkedToken) => {
|
|
169
169
|
is: string;
|
|
170
170
|
text: string;
|
|
171
171
|
props: Record<string, string>;
|
|
172
172
|
};
|
|
173
173
|
decodeBasicEntities: (text: string) => string;
|
|
174
|
-
isText: (tok: import('
|
|
174
|
+
isText: (tok: import('@vue-skuilder/common-ui').TokenOrComponent) => boolean;
|
|
175
175
|
components: {
|
|
176
176
|
fillIn: import('vue').Raw<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
177
177
|
text: {
|
|
@@ -197,14 +197,14 @@ export declare class IdentifyKeyQuestion extends Question {
|
|
|
197
197
|
prependIcon(): string;
|
|
198
198
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
199
199
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
200
|
-
previewModeStore: ReturnType<typeof import('
|
|
200
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
201
201
|
}, {
|
|
202
202
|
autofocus(): boolean;
|
|
203
203
|
autoFocus(): boolean;
|
|
204
204
|
}, {
|
|
205
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
205
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
206
206
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
207
|
-
getQuestionViewAncestor(): import('
|
|
207
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
208
208
|
}, 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<{
|
|
209
209
|
icon: {
|
|
210
210
|
type: BooleanConstructor;
|
|
@@ -239,14 +239,14 @@ export declare class IdentifyKeyQuestion extends Question {
|
|
|
239
239
|
prependIcon(): string;
|
|
240
240
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
241
241
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
242
|
-
previewModeStore: ReturnType<typeof import('
|
|
242
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
243
243
|
}, {
|
|
244
244
|
autofocus(): boolean;
|
|
245
245
|
autoFocus(): boolean;
|
|
246
246
|
}, {
|
|
247
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
247
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
248
248
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
249
|
-
getQuestionViewAncestor(): import('
|
|
249
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
250
250
|
}, 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<{
|
|
251
251
|
icon: {
|
|
252
252
|
type: BooleanConstructor;
|
|
@@ -258,7 +258,7 @@ export declare class IdentifyKeyQuestion extends Question {
|
|
|
258
258
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> | null;
|
|
259
259
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
260
260
|
token: {
|
|
261
|
-
type: import('vue').PropType<import('
|
|
261
|
+
type: import('vue').PropType<import('@vue-skuilder/common-ui').TokenOrComponent>;
|
|
262
262
|
required: true;
|
|
263
263
|
};
|
|
264
264
|
last: {
|
|
@@ -319,13 +319,13 @@ export declare class IdentifyKeyQuestion extends Question {
|
|
|
319
319
|
priorAnswers: import('vue').Ref<[Answer, string][]>;
|
|
320
320
|
maxAttemptsPerView: import('vue').Ref<number>;
|
|
321
321
|
maxSessionViews: import('vue').Ref<number>;
|
|
322
|
-
submitAnswer: (answer: Answer, submittingClass?: string) =>
|
|
322
|
+
submitAnswer: (answer: Answer, submittingClass?: string) => QuestionRecord;
|
|
323
323
|
startTime: import('vue').Ref<moment.Moment>;
|
|
324
|
-
hotKeys: import('vue').Ref<import('
|
|
324
|
+
hotKeys: import('vue').Ref<import('@vue-skuilder/common-ui').HotKey[]>;
|
|
325
325
|
timeSpent: import('vue').ComputedRef<number>;
|
|
326
|
-
logger: import('
|
|
326
|
+
logger: import('@vue-skuilder/common-ui').ViewableLogger;
|
|
327
327
|
getURL: (item: string, dataShapeIndex?: number) => string;
|
|
328
|
-
emitResponse: (record:
|
|
328
|
+
emitResponse: (record: CardRecord) => void;
|
|
329
329
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
330
330
|
data: ViewData[];
|
|
331
331
|
modifyDifficulty: number;
|
|
@@ -352,14 +352,14 @@ export declare class IdentifyKeyQuestion extends Question {
|
|
|
352
352
|
unbindKeys(): void;
|
|
353
353
|
}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
354
354
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
355
|
-
previewModeStore: ReturnType<typeof import('
|
|
355
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
356
356
|
}, {
|
|
357
357
|
autofocus(): boolean;
|
|
358
358
|
autoFocus(): boolean;
|
|
359
359
|
}, {
|
|
360
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
360
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
361
361
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
362
|
-
getQuestionViewAncestor(): import('
|
|
362
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
363
363
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
364
364
|
choiceList: {
|
|
365
365
|
type: import('vue').PropType<string[]>;
|
|
@@ -440,7 +440,7 @@ export declare class IdentifyKeyQuestion extends Question {
|
|
|
440
440
|
}>> & Readonly<{}>, {}, {}, {
|
|
441
441
|
MdTokenRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
442
442
|
token: {
|
|
443
|
-
type: import('vue').PropType<import('
|
|
443
|
+
type: import('vue').PropType<import('@vue-skuilder/common-ui').TokenOrComponent>;
|
|
444
444
|
required: true;
|
|
445
445
|
};
|
|
446
446
|
last: {
|
|
@@ -452,14 +452,14 @@ export declare class IdentifyKeyQuestion extends Question {
|
|
|
452
452
|
isComponent: (token: import('marked').MarkedToken) => boolean;
|
|
453
453
|
containsComponent: (token: import('marked').MarkedToken) => boolean;
|
|
454
454
|
splitTextToken: (token: import('marked').MarkedToken) => import("marked").Tokens.Text[];
|
|
455
|
-
splitParagraphToken: (token: import("marked").Tokens.Paragraph) => import('
|
|
455
|
+
splitParagraphToken: (token: import("marked").Tokens.Paragraph) => import('@vue-skuilder/common-ui').TokenOrComponent[];
|
|
456
456
|
parsedComponent: (token: import('marked').MarkedToken) => {
|
|
457
457
|
is: string;
|
|
458
458
|
text: string;
|
|
459
459
|
props: Record<string, string>;
|
|
460
460
|
};
|
|
461
461
|
decodeBasicEntities: (text: string) => string;
|
|
462
|
-
isText: (tok: import('
|
|
462
|
+
isText: (tok: import('@vue-skuilder/common-ui').TokenOrComponent) => boolean;
|
|
463
463
|
components: {
|
|
464
464
|
fillIn: import('vue').Raw<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
465
465
|
text: {
|
|
@@ -485,14 +485,14 @@ export declare class IdentifyKeyQuestion extends Question {
|
|
|
485
485
|
prependIcon(): string;
|
|
486
486
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
487
487
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
488
|
-
previewModeStore: ReturnType<typeof import('
|
|
488
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
489
489
|
}, {
|
|
490
490
|
autofocus(): boolean;
|
|
491
491
|
autoFocus(): boolean;
|
|
492
492
|
}, {
|
|
493
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
493
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
494
494
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
495
|
-
getQuestionViewAncestor(): import('
|
|
495
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
496
496
|
}, 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<{
|
|
497
497
|
icon: {
|
|
498
498
|
type: BooleanConstructor;
|
|
@@ -527,14 +527,14 @@ export declare class IdentifyKeyQuestion extends Question {
|
|
|
527
527
|
prependIcon(): string;
|
|
528
528
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
529
529
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
530
|
-
previewModeStore: ReturnType<typeof import('
|
|
530
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
531
531
|
}, {
|
|
532
532
|
autofocus(): boolean;
|
|
533
533
|
autoFocus(): boolean;
|
|
534
534
|
}, {
|
|
535
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
535
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
536
536
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
537
|
-
getQuestionViewAncestor(): import('
|
|
537
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
538
538
|
}, 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<{
|
|
539
539
|
icon: {
|
|
540
540
|
type: BooleanConstructor;
|
|
@@ -546,7 +546,7 @@ export declare class IdentifyKeyQuestion extends Question {
|
|
|
546
546
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> | null;
|
|
547
547
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
548
548
|
token: {
|
|
549
|
-
type: import('vue').PropType<import('
|
|
549
|
+
type: import('vue').PropType<import('@vue-skuilder/common-ui').TokenOrComponent>;
|
|
550
550
|
required: true;
|
|
551
551
|
};
|
|
552
552
|
last: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sightsing/questions/IdentifyKey/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EACL,QAAQ,EACR,aAAa,EACb,SAAS,EACT,MAAM,EACN,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAG9B;;GAEG;AACH,eAAO,MAAM,IAAI,UAgBhB,CAAC;AAEF,qBAAa,mBAAoB,SAAQ,QAAQ;IAC/C,OAAc,UAAU;;;;;;8BAQA,MAAM;;;;;;QAgB5B;IACF,OAAc,KAAK;;;;;;;;;;;;;sDAAO,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sightsing/questions/IdentifyKey/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EACL,QAAQ,EACR,aAAa,EACb,SAAS,EACT,MAAM,EACN,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAG9B;;GAEG;AACH,eAAO,MAAM,IAAI,UAgBhB,CAAC;AAEF,qBAAa,mBAAoB,SAAQ,QAAQ;IAC/C,OAAc,UAAU;;;;;;8BAQA,MAAM;;;;;;QAgB5B;IACF,OAAc,KAAK;;;;;;;;;;;;;sDAAO,CAAC;;;;;6CAvBR,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2EAuBoB;IACjC,GAAG,EAAE,MAAM,CAAC;IAEnB,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;gBAIxB,IAAI,EAAE,QAAQ,EAAE;IAKrB,SAAS,CAAC,MAAM,EAAE,yBAAyB,GAAG,OAAO;IAKrD,UAAU;;;;;;8BAlCO,MAAM;;;;;;;IAqCvB,KAAK;;;;;;;;;;;;;sDApBc,CAAC;;;;;6CAvBR,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CrB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { FallingLettersQuestion } from './FallingLettersQuestion';
|
|
3
|
-
import { ViewData } from '
|
|
3
|
+
import { ViewData } from '@vue-skuilder/common';
|
|
4
4
|
import { Letter, TreePosition } from './types';
|
|
5
5
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
6
|
data: {
|
|
@@ -59,7 +59,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
59
59
|
maxAttemptsPerView: import('vue').Ref<number>;
|
|
60
60
|
maxSessionViews: import('vue').Ref<number>;
|
|
61
61
|
question: import('vue').Ref<FallingLettersQuestion | undefined, FallingLettersQuestion | undefined>;
|
|
62
|
-
submitAnswer: (answer: Answer, submittingClass?: string) =>
|
|
62
|
+
submitAnswer: (answer: Answer, submittingClass?: string) => QuestionRecord;
|
|
63
63
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "emitResponse"[], "emitResponse", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
64
64
|
data: {
|
|
65
65
|
type: PropType<ViewData[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Question } from '
|
|
2
|
-
import { Answer, DataShape, ViewData } from '
|
|
1
|
+
import { Question } from '@vue-skuilder/common-ui';
|
|
2
|
+
import { Answer, DataShape, ViewData } from '@vue-skuilder/common';
|
|
3
3
|
export interface Score extends Answer {
|
|
4
4
|
win: boolean;
|
|
5
5
|
lettersTyped: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Question } from '
|
|
2
|
-
import { Answer, DataShape, ViewData } from '
|
|
1
|
+
import { Question } from '@vue-skuilder/common-ui';
|
|
2
|
+
import { Answer, DataShape, ViewData } from '@vue-skuilder/common';
|
|
3
3
|
export declare class TypeLetterQuestion extends Question {
|
|
4
4
|
static dataShapes: DataShape[];
|
|
5
5
|
static views: import('vue').DefineComponent<{
|
|
@@ -9,17 +9,17 @@ export declare class TypeLetterQuestion extends Question {
|
|
|
9
9
|
letterDisplay: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
10
10
|
question: import('vue').ComputedRef<TypeLetterQuestion | undefined>;
|
|
11
11
|
startTime: import('vue').Ref<moment.Moment>;
|
|
12
|
-
hotKeys: import('vue').Ref<import('
|
|
12
|
+
hotKeys: import('vue').Ref<import('@vue-skuilder/common-ui').HotKey[]>;
|
|
13
13
|
timeSpent: import('vue').ComputedRef<number>;
|
|
14
|
-
logger: import('
|
|
14
|
+
logger: import('@vue-skuilder/common-ui').ViewableLogger;
|
|
15
15
|
getURL: (item: string, dataShapeIndex?: number) => string;
|
|
16
|
-
emitResponse: (record:
|
|
16
|
+
emitResponse: (record: CardRecord) => void;
|
|
17
17
|
priorSessionViews: import('vue').Ref<number>;
|
|
18
18
|
priorAttempts: import('vue').Ref<number>;
|
|
19
19
|
priorAnswers: import('vue').Ref<[Answer, string][]>;
|
|
20
20
|
maxAttemptsPerView: import('vue').Ref<number>;
|
|
21
21
|
maxSessionViews: import('vue').Ref<number>;
|
|
22
|
-
submitAnswer: (answer: Answer, submittingClass?: string) =>
|
|
22
|
+
submitAnswer: (answer: Answer, submittingClass?: string) => QuestionRecord;
|
|
23
23
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
24
24
|
data: ViewData[];
|
|
25
25
|
modifyDifficulty: number;
|
|
@@ -45,17 +45,17 @@ export declare class TypeLetterQuestion extends Question {
|
|
|
45
45
|
letterDisplay: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
46
46
|
question: import('vue').ComputedRef<TypeLetterQuestion | undefined>;
|
|
47
47
|
startTime: import('vue').Ref<moment.Moment>;
|
|
48
|
-
hotKeys: import('vue').Ref<import('
|
|
48
|
+
hotKeys: import('vue').Ref<import('@vue-skuilder/common-ui').HotKey[]>;
|
|
49
49
|
timeSpent: import('vue').ComputedRef<number>;
|
|
50
|
-
logger: import('
|
|
50
|
+
logger: import('@vue-skuilder/common-ui').ViewableLogger;
|
|
51
51
|
getURL: (item: string, dataShapeIndex?: number) => string;
|
|
52
|
-
emitResponse: (record:
|
|
52
|
+
emitResponse: (record: CardRecord) => void;
|
|
53
53
|
priorSessionViews: import('vue').Ref<number>;
|
|
54
54
|
priorAttempts: import('vue').Ref<number>;
|
|
55
55
|
priorAnswers: import('vue').Ref<[Answer, string][]>;
|
|
56
56
|
maxAttemptsPerView: import('vue').Ref<number>;
|
|
57
57
|
maxSessionViews: import('vue').Ref<number>;
|
|
58
|
-
submitAnswer: (answer: Answer, submittingClass?: string) =>
|
|
58
|
+
submitAnswer: (answer: Answer, submittingClass?: string) => QuestionRecord;
|
|
59
59
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
60
60
|
data: ViewData[];
|
|
61
61
|
modifyDifficulty: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/typing/questions/single-letter/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EACL,MAAM,EACN,SAAS,EACT,QAAQ,EAIT,MAAM,sBAAsB,CAAC;AAa9B,qBAAa,kBAAmB,SAAQ,QAAQ;IAC9C,OAAc,UAAU,EAAE,SAAS,EAAE,CAyBnC;IAEF,OAAc,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/typing/questions/single-letter/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EACL,MAAM,EACN,SAAS,EACT,QAAQ,EAIT,MAAM,sBAAsB,CAAC;AAa9B,qBAAa,kBAAmB,SAAQ,QAAQ;IAC9C,OAAc,UAAU,EAAE,SAAS,EAAE,CAyBnC;IAEF,OAAc,KAAK;;;;;;;;;;6CA3BqB,CAAA;;;;;;;sDAsBlC,CAAC;;;;;;mFAKoC;IAC3C,OAAc,eAAe,EAAE,OAAO,CAAQ;IAEvC,MAAM,EAAE,MAAM,CAAC;IACtB,OAAc,QAAQ;gBAzCD,MAAM;QAyCK;gBAEpB,IAAI,EAAE,QAAQ,EAAE;IAK5B,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;;;;IAO7B,cAAc,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IAanC,UAAU;IAIV,KAAK;;;;;;;;;;6CA9DmC,CAAA;;;;;;;sDAsBlC,CAAC;;;;;;;IA4CP,SAAS,CAAC,CAAC,EAAE,MAAM;CAKpB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TypeLetterQuestion } from './index';
|
|
2
|
-
import { ViewData } from '
|
|
2
|
+
import { ViewData } from '@vue-skuilder/common';
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
4
|
data: ViewData[];
|
|
5
5
|
modifyDifficulty: number;
|
|
@@ -7,17 +7,17 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
7
7
|
letterDisplay: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
8
8
|
question: import('vue').ComputedRef<TypeLetterQuestion | undefined>;
|
|
9
9
|
startTime: import('vue').Ref<moment.Moment>;
|
|
10
|
-
hotKeys: import('vue').Ref<import('
|
|
10
|
+
hotKeys: import('vue').Ref<import('@vue-skuilder/common-ui').HotKey[]>;
|
|
11
11
|
timeSpent: import('vue').ComputedRef<number>;
|
|
12
|
-
logger: import('
|
|
12
|
+
logger: import('@vue-skuilder/common-ui').ViewableLogger;
|
|
13
13
|
getURL: (item: string, dataShapeIndex?: number) => string;
|
|
14
|
-
emitResponse: (record:
|
|
14
|
+
emitResponse: (record: CardRecord) => void;
|
|
15
15
|
priorSessionViews: import('vue').Ref<number>;
|
|
16
16
|
priorAttempts: import('vue').Ref<number>;
|
|
17
17
|
priorAnswers: import('vue').Ref<[Answer, string][]>;
|
|
18
18
|
maxAttemptsPerView: import('vue').Ref<number>;
|
|
19
19
|
maxSessionViews: import('vue').Ref<number>;
|
|
20
|
-
submitAnswer: (answer: Answer, submittingClass?: string) =>
|
|
20
|
+
submitAnswer: (answer: Answer, submittingClass?: string) => QuestionRecord;
|
|
21
21
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
22
22
|
data: ViewData[];
|
|
23
23
|
modifyDifficulty: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeSingleLetter.vue.d.ts","sourceRoot":"","sources":["../../../../src/typing/questions/single-letter/typeSingleLetter.vue"],"names":[],"mappings":"AAQA;AA8GA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC
|
|
1
|
+
{"version":3,"file":"typeSingleLetter.vue.d.ts","sourceRoot":"","sources":["../../../../src/typing/questions/single-letter/typeSingleLetter.vue"],"names":[],"mappings":"AAQA;AA8GA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;yCAHhD,CAhGyC;;;;;;;kDAgGzC,CAvEA;;;;;;;AA4EA,wBAiEG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Question } from '
|
|
2
|
-
import { DataShape, Answer, ViewData } from '
|
|
1
|
+
import { Question } from '@vue-skuilder/common-ui';
|
|
2
|
+
import { DataShape, Answer, ViewData } from '@vue-skuilder/common';
|
|
3
3
|
export declare class SpellingQuestion extends Question {
|
|
4
4
|
static dataShapes: DataShape[];
|
|
5
5
|
static views: import('vue').DefineComponent<{
|
|
@@ -14,13 +14,13 @@ export declare class SpellingQuestion extends Question {
|
|
|
14
14
|
priorAnswers: import('vue').Ref<[Answer, string][]>;
|
|
15
15
|
maxAttemptsPerView: import('vue').Ref<number>;
|
|
16
16
|
maxSessionViews: import('vue').Ref<number>;
|
|
17
|
-
submitAnswer: (answer: Answer, submittingClass?: string) =>
|
|
17
|
+
submitAnswer: (answer: Answer, submittingClass?: string) => QuestionRecord;
|
|
18
18
|
startTime: import('vue').Ref<moment.Moment>;
|
|
19
|
-
hotKeys: import('vue').Ref<import('
|
|
19
|
+
hotKeys: import('vue').Ref<import('@vue-skuilder/common-ui').HotKey[]>;
|
|
20
20
|
timeSpent: import('vue').ComputedRef<number>;
|
|
21
|
-
logger: import('
|
|
21
|
+
logger: import('@vue-skuilder/common-ui').ViewableLogger;
|
|
22
22
|
getURL: (item: string, dataShapeIndex?: number) => string;
|
|
23
|
-
emitResponse: (record:
|
|
23
|
+
emitResponse: (record: CardRecord) => void;
|
|
24
24
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
25
25
|
data: ViewData[];
|
|
26
26
|
modifyDifficulty: number;
|
|
@@ -41,14 +41,14 @@ export declare class SpellingQuestion extends Question {
|
|
|
41
41
|
prependIcon(): string;
|
|
42
42
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
43
43
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
44
|
-
previewModeStore: ReturnType<typeof import('
|
|
44
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
45
45
|
}, {
|
|
46
46
|
autofocus(): boolean;
|
|
47
47
|
autoFocus(): boolean;
|
|
48
48
|
}, {
|
|
49
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
49
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
50
50
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
51
|
-
getQuestionViewAncestor(): import('
|
|
51
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
52
52
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
53
53
|
icon: {
|
|
54
54
|
type: BooleanConstructor;
|
|
@@ -77,13 +77,13 @@ export declare class SpellingQuestion extends Question {
|
|
|
77
77
|
priorAnswers: import('vue').Ref<[Answer, string][]>;
|
|
78
78
|
maxAttemptsPerView: import('vue').Ref<number>;
|
|
79
79
|
maxSessionViews: import('vue').Ref<number>;
|
|
80
|
-
submitAnswer: (answer: Answer, submittingClass?: string) =>
|
|
80
|
+
submitAnswer: (answer: Answer, submittingClass?: string) => QuestionRecord;
|
|
81
81
|
startTime: import('vue').Ref<moment.Moment>;
|
|
82
|
-
hotKeys: import('vue').Ref<import('
|
|
82
|
+
hotKeys: import('vue').Ref<import('@vue-skuilder/common-ui').HotKey[]>;
|
|
83
83
|
timeSpent: import('vue').ComputedRef<number>;
|
|
84
|
-
logger: import('
|
|
84
|
+
logger: import('@vue-skuilder/common-ui').ViewableLogger;
|
|
85
85
|
getURL: (item: string, dataShapeIndex?: number) => string;
|
|
86
|
-
emitResponse: (record:
|
|
86
|
+
emitResponse: (record: CardRecord) => void;
|
|
87
87
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
88
88
|
data: ViewData[];
|
|
89
89
|
modifyDifficulty: number;
|
|
@@ -104,14 +104,14 @@ export declare class SpellingQuestion extends Question {
|
|
|
104
104
|
prependIcon(): string;
|
|
105
105
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
106
106
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
107
|
-
previewModeStore: ReturnType<typeof import('
|
|
107
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
108
108
|
}, {
|
|
109
109
|
autofocus(): boolean;
|
|
110
110
|
autoFocus(): boolean;
|
|
111
111
|
}, {
|
|
112
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
112
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
113
113
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
114
|
-
getQuestionViewAncestor(): import('
|
|
114
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
115
115
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
116
116
|
icon: {
|
|
117
117
|
type: BooleanConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/word-work/questions/spelling/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAIL,SAAS,EACT,MAAM,EAEN,QAAQ,EACT,MAAM,sBAAsB,CAAC;AAuB9B,qBAAa,gBAAiB,SAAQ,QAAQ;IAC5C,OAAc,UAAU,EAAE,SAAS,EAAE,CAKnC;IAEF,OAAc,KAAK;;;;;;;;;;;;sDAeT,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/word-work/questions/spelling/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAIL,SAAS,EACT,MAAM,EAEN,QAAQ,EACT,MAAM,sBAAsB,CAAC;AAuB9B,qBAAa,gBAAiB,SAAQ,QAAQ;IAC5C,OAAc,UAAU,EAAE,SAAS,EAAE,CAKnC;IAEF,OAAc,KAAK;;;;;;;;;;;;sDAeT,CAAC;;;;;6CA3BT,CAAH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2EAYiC;IAEzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,IAAI,CAAC;IACjB,cAAc,EAAE,IAAI,CAAC;gBAEhB,IAAI,EAAE,QAAQ,EAAE;IAQrB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO;IAGlC,UAAU,IAAI,SAAS,EAAE;IAGzB,KAAK;;;;;;;;;;;;sDANF,CAAC;;;;;6CA3BT,CAAH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SpellingQuestion } from '.';
|
|
2
|
-
import { ViewData } from '
|
|
2
|
+
import { ViewData } from '@vue-skuilder/common';
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
4
|
data: ViewData[];
|
|
5
5
|
modifyDifficulty: number;
|
|
@@ -12,13 +12,13 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
12
12
|
priorAnswers: import('vue').Ref<[Answer, string][]>;
|
|
13
13
|
maxAttemptsPerView: import('vue').Ref<number>;
|
|
14
14
|
maxSessionViews: import('vue').Ref<number>;
|
|
15
|
-
submitAnswer: (answer: Answer, submittingClass?: string) =>
|
|
15
|
+
submitAnswer: (answer: Answer, submittingClass?: string) => QuestionRecord;
|
|
16
16
|
startTime: import('vue').Ref<moment.Moment>;
|
|
17
|
-
hotKeys: import('vue').Ref<import('
|
|
17
|
+
hotKeys: import('vue').Ref<import('@vue-skuilder/common-ui').HotKey[]>;
|
|
18
18
|
timeSpent: import('vue').ComputedRef<number>;
|
|
19
|
-
logger: import('
|
|
19
|
+
logger: import('@vue-skuilder/common-ui').ViewableLogger;
|
|
20
20
|
getURL: (item: string, dataShapeIndex?: number) => string;
|
|
21
|
-
emitResponse: (record:
|
|
21
|
+
emitResponse: (record: CardRecord) => void;
|
|
22
22
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
23
23
|
data: ViewData[];
|
|
24
24
|
modifyDifficulty: number;
|
|
@@ -39,14 +39,14 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
39
39
|
prependIcon(): string;
|
|
40
40
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
41
41
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
42
|
-
previewModeStore: ReturnType<typeof import('
|
|
42
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
43
43
|
}, {
|
|
44
44
|
autofocus(): boolean;
|
|
45
45
|
autoFocus(): boolean;
|
|
46
46
|
}, {
|
|
47
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
47
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
48
48
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
49
|
-
getQuestionViewAncestor(): import('
|
|
49
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
50
50
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
51
51
|
icon: {
|
|
52
52
|
type: BooleanConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textBox.vue.d.ts","sourceRoot":"","sources":["../../../../src/word-work/questions/spelling/textBox.vue"],"names":[],"mappings":"AAgBA;AA2EA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAG5E,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;;kDAJhD,CA9BoB
|
|
1
|
+
{"version":3,"file":"textBox.vue.d.ts","sourceRoot":"","sources":["../../../../src/word-work/questions/spelling/textBox.vue"],"names":[],"mappings":"AAgBA;AA2EA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAG5E,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;;kDAJhD,CA9BoB;;;;;yCA8BpB,CAxDoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8DpB,wBA8CG"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.18",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "./dist/index.cjs.js",
|
|
9
9
|
"module": "./dist/index.mjs",
|
|
@@ -38,12 +38,14 @@
|
|
|
38
38
|
"dev": "vite build --watch",
|
|
39
39
|
"type-check": "tsc --noEmit",
|
|
40
40
|
"test": "vitest run",
|
|
41
|
-
"test:watch": "vitest"
|
|
41
|
+
"test:watch": "vitest",
|
|
42
|
+
"lint": "eslint . --fix",
|
|
43
|
+
"lint:check": "eslint ."
|
|
42
44
|
},
|
|
43
45
|
"dependencies": {
|
|
44
|
-
"@vue-skuilder/common": "0.1.
|
|
45
|
-
"@vue-skuilder/common-ui": "0.1.
|
|
46
|
-
"@vue-skuilder/db": "0.1.
|
|
46
|
+
"@vue-skuilder/common": "0.1.18",
|
|
47
|
+
"@vue-skuilder/common-ui": "0.1.18",
|
|
48
|
+
"@vue-skuilder/db": "0.1.18",
|
|
47
49
|
"lodash": "^4.17.21",
|
|
48
50
|
"moment": "^2.29.4",
|
|
49
51
|
"paper": "^0.12.3",
|
|
@@ -51,15 +53,21 @@
|
|
|
51
53
|
},
|
|
52
54
|
"devDependencies": {
|
|
53
55
|
"@types/lodash": "^4.14.195",
|
|
54
|
-
"@
|
|
56
|
+
"@typescript-eslint/eslint-plugin": "^8.25.0",
|
|
57
|
+
"@typescript-eslint/parser": "^8.25.0",
|
|
58
|
+
"@vitejs/plugin-vue": "^6.0.0",
|
|
59
|
+
"@vue/eslint-config-typescript": "^14.4.0",
|
|
60
|
+
"eslint": "^9.21.0",
|
|
61
|
+
"eslint-config-prettier": "^10.0.2",
|
|
62
|
+
"eslint-plugin-vue": "^9.32.0",
|
|
55
63
|
"jsdom": "^26.0.0",
|
|
56
|
-
"typescript": "^5.
|
|
57
|
-
"vite": "^
|
|
64
|
+
"typescript": "^5.9.3",
|
|
65
|
+
"vite": "^7.0.0",
|
|
58
66
|
"vite-plugin-dts": "^4.5.3",
|
|
59
67
|
"vitest": "^3.0.5"
|
|
60
68
|
},
|
|
61
69
|
"peerDependencies": {
|
|
62
70
|
"vue": "^3.2.0"
|
|
63
71
|
},
|
|
64
|
-
"stableVersion": "0.1.
|
|
72
|
+
"stableVersion": "0.1.18"
|
|
65
73
|
}
|
package/dist/shapes-CSAUKU5h.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { FieldType, DataShapeName } from "@vue-skuilder/common";
|
|
2
|
-
const BlanksCardDataShapes = [
|
|
3
|
-
{
|
|
4
|
-
name: DataShapeName.Blanks,
|
|
5
|
-
fields: [
|
|
6
|
-
{
|
|
7
|
-
name: "Input",
|
|
8
|
-
type: FieldType.MARKDOWN
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
name: "Uploads",
|
|
12
|
-
type: FieldType.MEDIA_UPLOADS
|
|
13
|
-
}
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
];
|
|
17
|
-
const SingleDigitAdditionDataShape = {
|
|
18
|
-
name: DataShapeName.MATH_SingleDigitAddition,
|
|
19
|
-
fields: [
|
|
20
|
-
{ name: "a", type: FieldType.INT },
|
|
21
|
-
{ name: "b", type: FieldType.INT }
|
|
22
|
-
]
|
|
23
|
-
};
|
|
24
|
-
const EqualityTestDataShape = {
|
|
25
|
-
name: DataShapeName.MATH_EqualityTest,
|
|
26
|
-
fields: [
|
|
27
|
-
{ name: "a", type: FieldType.STRING },
|
|
28
|
-
{ name: "b", type: FieldType.STRING }
|
|
29
|
-
]
|
|
30
|
-
};
|
|
31
|
-
export {
|
|
32
|
-
BlanksCardDataShapes as B,
|
|
33
|
-
EqualityTestDataShape as E,
|
|
34
|
-
SingleDigitAdditionDataShape as S
|
|
35
|
-
};
|
|
36
|
-
//# sourceMappingURL=shapes-CSAUKU5h.js.map
|