@vue-skuilder/courseware 0.1.16 → 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.cjs.js.map +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-CkScEONr.cjs.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 { DataShape, ViewData, Answer } from '
|
|
1
|
+
import { Question } from '@vue-skuilder/common-ui';
|
|
2
|
+
import { DataShape, ViewData, Answer } from '@vue-skuilder/common';
|
|
3
3
|
declare enum Chroma {
|
|
4
4
|
A = "A",
|
|
5
5
|
B = "B",
|
|
@@ -23,13 +23,13 @@ export declare class ChromaQuestion extends Question {
|
|
|
23
23
|
priorAnswers: import('vue').Ref<[Answer, string][]>;
|
|
24
24
|
maxAttemptsPerView: import('vue').Ref<number>;
|
|
25
25
|
maxSessionViews: import('vue').Ref<number>;
|
|
26
|
-
submitAnswer: (answer: Answer, submittingClass?: string) =>
|
|
26
|
+
submitAnswer: (answer: Answer, submittingClass?: string) => QuestionRecord;
|
|
27
27
|
startTime: import('vue').Ref<moment.Moment>;
|
|
28
|
-
hotKeys: import('vue').Ref<import('
|
|
28
|
+
hotKeys: import('vue').Ref<import('@vue-skuilder/common-ui').HotKey[]>;
|
|
29
29
|
timeSpent: import('vue').ComputedRef<number>;
|
|
30
|
-
logger: import('
|
|
30
|
+
logger: import('@vue-skuilder/common-ui').ViewableLogger;
|
|
31
31
|
getURL: (item: string, dataShapeIndex?: number) => string;
|
|
32
|
-
emitResponse: (record:
|
|
32
|
+
emitResponse: (record: CardRecord) => void;
|
|
33
33
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
34
34
|
data: ViewData[];
|
|
35
35
|
modifyDifficulty: number;
|
|
@@ -56,14 +56,14 @@ export declare class ChromaQuestion extends Question {
|
|
|
56
56
|
unbindKeys(): void;
|
|
57
57
|
}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
58
58
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
59
|
-
previewModeStore: ReturnType<typeof import('
|
|
59
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
60
60
|
}, {
|
|
61
61
|
autofocus(): boolean;
|
|
62
62
|
autoFocus(): boolean;
|
|
63
63
|
}, {
|
|
64
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
64
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
65
65
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
66
|
-
getQuestionViewAncestor(): import('
|
|
66
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
67
67
|
}, 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<{
|
|
68
68
|
choiceList: {
|
|
69
69
|
type: import('vue').PropType<string[]>;
|
|
@@ -144,7 +144,7 @@ export declare class ChromaQuestion extends Question {
|
|
|
144
144
|
}>> & Readonly<{}>, {}, {}, {
|
|
145
145
|
MdTokenRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
146
146
|
token: {
|
|
147
|
-
type: import('vue').PropType<import('
|
|
147
|
+
type: import('vue').PropType<import('@vue-skuilder/common-ui').TokenOrComponent>;
|
|
148
148
|
required: true;
|
|
149
149
|
};
|
|
150
150
|
last: {
|
|
@@ -156,14 +156,14 @@ export declare class ChromaQuestion extends Question {
|
|
|
156
156
|
isComponent: (token: import('marked').MarkedToken) => boolean;
|
|
157
157
|
containsComponent: (token: import('marked').MarkedToken) => boolean;
|
|
158
158
|
splitTextToken: (token: import('marked').MarkedToken) => import("marked").Tokens.Text[];
|
|
159
|
-
splitParagraphToken: (token: import("marked").Tokens.Paragraph) => import('
|
|
159
|
+
splitParagraphToken: (token: import("marked").Tokens.Paragraph) => import('@vue-skuilder/common-ui').TokenOrComponent[];
|
|
160
160
|
parsedComponent: (token: import('marked').MarkedToken) => {
|
|
161
161
|
is: string;
|
|
162
162
|
text: string;
|
|
163
163
|
props: Record<string, string>;
|
|
164
164
|
};
|
|
165
165
|
decodeBasicEntities: (text: string) => string;
|
|
166
|
-
isText: (tok: import('
|
|
166
|
+
isText: (tok: import('@vue-skuilder/common-ui').TokenOrComponent) => boolean;
|
|
167
167
|
components: {
|
|
168
168
|
fillIn: import('vue').Raw<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
169
169
|
text: {
|
|
@@ -189,14 +189,14 @@ export declare class ChromaQuestion extends Question {
|
|
|
189
189
|
prependIcon(): string;
|
|
190
190
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
191
191
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
192
|
-
previewModeStore: ReturnType<typeof import('
|
|
192
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
193
193
|
}, {
|
|
194
194
|
autofocus(): boolean;
|
|
195
195
|
autoFocus(): boolean;
|
|
196
196
|
}, {
|
|
197
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
197
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
198
198
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
199
|
-
getQuestionViewAncestor(): import('
|
|
199
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
200
200
|
}, 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<{
|
|
201
201
|
icon: {
|
|
202
202
|
type: BooleanConstructor;
|
|
@@ -231,14 +231,14 @@ export declare class ChromaQuestion extends Question {
|
|
|
231
231
|
prependIcon(): string;
|
|
232
232
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
233
233
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
234
|
-
previewModeStore: ReturnType<typeof import('
|
|
234
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
235
235
|
}, {
|
|
236
236
|
autofocus(): boolean;
|
|
237
237
|
autoFocus(): boolean;
|
|
238
238
|
}, {
|
|
239
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
239
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
240
240
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
241
|
-
getQuestionViewAncestor(): import('
|
|
241
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
242
242
|
}, 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<{
|
|
243
243
|
icon: {
|
|
244
244
|
type: BooleanConstructor;
|
|
@@ -250,7 +250,7 @@ export declare class ChromaQuestion extends Question {
|
|
|
250
250
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> | null;
|
|
251
251
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
252
252
|
token: {
|
|
253
|
-
type: import('vue').PropType<import('
|
|
253
|
+
type: import('vue').PropType<import('@vue-skuilder/common-ui').TokenOrComponent>;
|
|
254
254
|
required: true;
|
|
255
255
|
};
|
|
256
256
|
last: {
|
|
@@ -288,13 +288,13 @@ export declare class ChromaQuestion extends Question {
|
|
|
288
288
|
priorAnswers: import('vue').Ref<[Answer, string][]>;
|
|
289
289
|
maxAttemptsPerView: import('vue').Ref<number>;
|
|
290
290
|
maxSessionViews: import('vue').Ref<number>;
|
|
291
|
-
submitAnswer: (answer: Answer, submittingClass?: string) =>
|
|
291
|
+
submitAnswer: (answer: Answer, submittingClass?: string) => QuestionRecord;
|
|
292
292
|
startTime: import('vue').Ref<moment.Moment>;
|
|
293
|
-
hotKeys: import('vue').Ref<import('
|
|
293
|
+
hotKeys: import('vue').Ref<import('@vue-skuilder/common-ui').HotKey[]>;
|
|
294
294
|
timeSpent: import('vue').ComputedRef<number>;
|
|
295
|
-
logger: import('
|
|
295
|
+
logger: import('@vue-skuilder/common-ui').ViewableLogger;
|
|
296
296
|
getURL: (item: string, dataShapeIndex?: number) => string;
|
|
297
|
-
emitResponse: (record:
|
|
297
|
+
emitResponse: (record: CardRecord) => void;
|
|
298
298
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
299
299
|
data: ViewData[];
|
|
300
300
|
modifyDifficulty: number;
|
|
@@ -321,14 +321,14 @@ export declare class ChromaQuestion extends Question {
|
|
|
321
321
|
unbindKeys(): void;
|
|
322
322
|
}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
323
323
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
324
|
-
previewModeStore: ReturnType<typeof import('
|
|
324
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
325
325
|
}, {
|
|
326
326
|
autofocus(): boolean;
|
|
327
327
|
autoFocus(): boolean;
|
|
328
328
|
}, {
|
|
329
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
329
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
330
330
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
331
|
-
getQuestionViewAncestor(): import('
|
|
331
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
332
332
|
}, 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<{
|
|
333
333
|
choiceList: {
|
|
334
334
|
type: import('vue').PropType<string[]>;
|
|
@@ -409,7 +409,7 @@ export declare class ChromaQuestion extends Question {
|
|
|
409
409
|
}>> & Readonly<{}>, {}, {}, {
|
|
410
410
|
MdTokenRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
411
411
|
token: {
|
|
412
|
-
type: import('vue').PropType<import('
|
|
412
|
+
type: import('vue').PropType<import('@vue-skuilder/common-ui').TokenOrComponent>;
|
|
413
413
|
required: true;
|
|
414
414
|
};
|
|
415
415
|
last: {
|
|
@@ -421,14 +421,14 @@ export declare class ChromaQuestion extends Question {
|
|
|
421
421
|
isComponent: (token: import('marked').MarkedToken) => boolean;
|
|
422
422
|
containsComponent: (token: import('marked').MarkedToken) => boolean;
|
|
423
423
|
splitTextToken: (token: import('marked').MarkedToken) => import("marked").Tokens.Text[];
|
|
424
|
-
splitParagraphToken: (token: import("marked").Tokens.Paragraph) => import('
|
|
424
|
+
splitParagraphToken: (token: import("marked").Tokens.Paragraph) => import('@vue-skuilder/common-ui').TokenOrComponent[];
|
|
425
425
|
parsedComponent: (token: import('marked').MarkedToken) => {
|
|
426
426
|
is: string;
|
|
427
427
|
text: string;
|
|
428
428
|
props: Record<string, string>;
|
|
429
429
|
};
|
|
430
430
|
decodeBasicEntities: (text: string) => string;
|
|
431
|
-
isText: (tok: import('
|
|
431
|
+
isText: (tok: import('@vue-skuilder/common-ui').TokenOrComponent) => boolean;
|
|
432
432
|
components: {
|
|
433
433
|
fillIn: import('vue').Raw<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
434
434
|
text: {
|
|
@@ -454,14 +454,14 @@ export declare class ChromaQuestion extends Question {
|
|
|
454
454
|
prependIcon(): string;
|
|
455
455
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
456
456
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
457
|
-
previewModeStore: ReturnType<typeof import('
|
|
457
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
458
458
|
}, {
|
|
459
459
|
autofocus(): boolean;
|
|
460
460
|
autoFocus(): boolean;
|
|
461
461
|
}, {
|
|
462
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
462
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
463
463
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
464
|
-
getQuestionViewAncestor(): import('
|
|
464
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
465
465
|
}, 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<{
|
|
466
466
|
icon: {
|
|
467
467
|
type: BooleanConstructor;
|
|
@@ -496,14 +496,14 @@ export declare class ChromaQuestion extends Question {
|
|
|
496
496
|
prependIcon(): string;
|
|
497
497
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
498
498
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
499
|
-
previewModeStore: ReturnType<typeof import('
|
|
499
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
500
500
|
}, {
|
|
501
501
|
autofocus(): boolean;
|
|
502
502
|
autoFocus(): boolean;
|
|
503
503
|
}, {
|
|
504
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
504
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
505
505
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
506
|
-
getQuestionViewAncestor(): import('
|
|
506
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
507
507
|
}, 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<{
|
|
508
508
|
icon: {
|
|
509
509
|
type: BooleanConstructor;
|
|
@@ -515,7 +515,7 @@ export declare class ChromaQuestion extends Question {
|
|
|
515
515
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> | null;
|
|
516
516
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
517
517
|
token: {
|
|
518
|
-
type: import('vue').PropType<import('
|
|
518
|
+
type: import('vue').PropType<import('@vue-skuilder/common-ui').TokenOrComponent>;
|
|
519
519
|
required: true;
|
|
520
520
|
};
|
|
521
521
|
last: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/pitch/questions/indentify/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAmB,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAoC,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAI1F,aAAK,MAAM;IACT,CAAC,MAAM;IACP,CAAC,MAAM;IACP,CAAC,MAAM;IACP,CAAC,MAAM;IACP,CAAC,MAAM;IACP,CAAC,MAAM;IACP,CAAC,MAAM;CACR;AAyBD,qBAAa,cAAe,SAAQ,QAAQ;IAC1C,OAAc,UAAU,EAAE,SAAS,EAAE,CAKnC;IAEF,OAAc,KAAK;;;;;;;;;;;;sDAIR,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/pitch/questions/indentify/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAmB,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAoC,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAI1F,aAAK,MAAM;IACT,CAAC,MAAM;IACP,CAAC,MAAM;IACP,CAAC,MAAM;IACP,CAAC,MAAM;IACP,CAAC,MAAM;IACP,CAAC,MAAM;IACP,CAAC,MAAM;CACR;AAyBD,qBAAa,cAAe,SAAQ,QAAQ;IAC1C,OAAc,UAAU,EAAE,SAAS,EAAE,CAKnC;IAEF,OAAc,KAAK;;;;;;;;;;;;sDAIR,CAAC;;;;;6CA7BO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2EAyBY;IAEzB,MAAM,EAAE,MAAM,CAAC;gBAEV,IAAI,EAAE,QAAQ,EAAE;IAK5B,IAAW,QAAQ,IAAI,MAAM,CAU5B;IAED,IAAW,UAAU,IAAI,MAAM,EAAE,CAEhC;IAEM,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO;IAIlC,UAAU,IAAI,SAAS,EAAE;IAGzB,KAAK;;;;;;;;;;;;sDA5BD,CAAC;;;;;6CA7BO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DrB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { ChromaQuestion } from './index';
|
|
3
|
-
import { ViewData } from '
|
|
3
|
+
import { ViewData } from '@vue-skuilder/common';
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
data: ViewData[];
|
|
6
6
|
modifyDifficulty: number;
|
|
@@ -13,13 +13,13 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
13
13
|
priorAnswers: import('vue').Ref<[Answer, string][]>;
|
|
14
14
|
maxAttemptsPerView: import('vue').Ref<number>;
|
|
15
15
|
maxSessionViews: import('vue').Ref<number>;
|
|
16
|
-
submitAnswer: (answer: Answer, submittingClass?: string) =>
|
|
16
|
+
submitAnswer: (answer: Answer, submittingClass?: string) => QuestionRecord;
|
|
17
17
|
startTime: import('vue').Ref<moment.Moment>;
|
|
18
|
-
hotKeys: import('vue').Ref<import('
|
|
18
|
+
hotKeys: import('vue').Ref<import('@vue-skuilder/common-ui').HotKey[]>;
|
|
19
19
|
timeSpent: import('vue').ComputedRef<number>;
|
|
20
|
-
logger: import('
|
|
20
|
+
logger: import('@vue-skuilder/common-ui').ViewableLogger;
|
|
21
21
|
getURL: (item: string, dataShapeIndex?: number) => string;
|
|
22
|
-
emitResponse: (record:
|
|
22
|
+
emitResponse: (record: CardRecord) => void;
|
|
23
23
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
24
24
|
data: ViewData[];
|
|
25
25
|
modifyDifficulty: number;
|
|
@@ -46,14 +46,14 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
46
46
|
unbindKeys(): void;
|
|
47
47
|
}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
48
48
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
49
|
-
previewModeStore: ReturnType<typeof import('
|
|
49
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
50
50
|
}, {
|
|
51
51
|
autofocus(): boolean;
|
|
52
52
|
autoFocus(): boolean;
|
|
53
53
|
}, {
|
|
54
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
54
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
55
55
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
56
|
-
getQuestionViewAncestor(): import('
|
|
56
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
57
57
|
}, 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<{
|
|
58
58
|
choiceList: {
|
|
59
59
|
type: PropType<string[]>;
|
|
@@ -134,7 +134,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
134
134
|
}>> & Readonly<{}>, {}, {}, {
|
|
135
135
|
MdTokenRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
136
136
|
token: {
|
|
137
|
-
type: PropType<import('
|
|
137
|
+
type: PropType<import('@vue-skuilder/common-ui').TokenOrComponent>;
|
|
138
138
|
required: true;
|
|
139
139
|
};
|
|
140
140
|
last: {
|
|
@@ -146,14 +146,14 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
146
146
|
isComponent: (token: import('marked').MarkedToken) => boolean;
|
|
147
147
|
containsComponent: (token: import('marked').MarkedToken) => boolean;
|
|
148
148
|
splitTextToken: (token: import('marked').MarkedToken) => import("marked").Tokens.Text[];
|
|
149
|
-
splitParagraphToken: (token: import("marked").Tokens.Paragraph) => import('
|
|
149
|
+
splitParagraphToken: (token: import("marked").Tokens.Paragraph) => import('@vue-skuilder/common-ui').TokenOrComponent[];
|
|
150
150
|
parsedComponent: (token: import('marked').MarkedToken) => {
|
|
151
151
|
is: string;
|
|
152
152
|
text: string;
|
|
153
153
|
props: Record<string, string>;
|
|
154
154
|
};
|
|
155
155
|
decodeBasicEntities: (text: string) => string;
|
|
156
|
-
isText: (tok: import('
|
|
156
|
+
isText: (tok: import('@vue-skuilder/common-ui').TokenOrComponent) => boolean;
|
|
157
157
|
components: {
|
|
158
158
|
fillIn: import('vue').Raw<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
159
159
|
text: {
|
|
@@ -179,14 +179,14 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
179
179
|
prependIcon(): string;
|
|
180
180
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
181
181
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
182
|
-
previewModeStore: ReturnType<typeof import('
|
|
182
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
183
183
|
}, {
|
|
184
184
|
autofocus(): boolean;
|
|
185
185
|
autoFocus(): boolean;
|
|
186
186
|
}, {
|
|
187
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
187
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
188
188
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
189
|
-
getQuestionViewAncestor(): import('
|
|
189
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
190
190
|
}, 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<{
|
|
191
191
|
icon: {
|
|
192
192
|
type: BooleanConstructor;
|
|
@@ -221,14 +221,14 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
221
221
|
prependIcon(): string;
|
|
222
222
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
223
223
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
224
|
-
previewModeStore: ReturnType<typeof import('
|
|
224
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
225
225
|
}, {
|
|
226
226
|
autofocus(): boolean;
|
|
227
227
|
autoFocus(): boolean;
|
|
228
228
|
}, {
|
|
229
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
229
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
230
230
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
231
|
-
getQuestionViewAncestor(): import('
|
|
231
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
232
232
|
}, 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<{
|
|
233
233
|
icon: {
|
|
234
234
|
type: BooleanConstructor;
|
|
@@ -240,7 +240,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
240
240
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> | null;
|
|
241
241
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
242
242
|
token: {
|
|
243
|
-
type: PropType<import('
|
|
243
|
+
type: PropType<import('@vue-skuilder/common-ui').TokenOrComponent>;
|
|
244
244
|
required: true;
|
|
245
245
|
};
|
|
246
246
|
last: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textBox.vue.d.ts","sourceRoot":"","sources":["../../../../src/pitch/questions/indentify/textBox.vue"],"names":[],"mappings":"AAQA;AAsGA,OAAO,EAA6C,QAAQ,EAAE,MAAM,KAAK,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;;kDAHhD,CA5DqD
|
|
1
|
+
{"version":3,"file":"textBox.vue.d.ts","sourceRoot":"","sources":["../../../../src/pitch/questions/indentify/textBox.vue"],"names":[],"mappings":"AAQA;AAsGA,OAAO,EAA6C,QAAQ,EAAE,MAAM,KAAK,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;;kDAHhD,CA5DqD;;;;;yCA4DrD,CAvFoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4FpB,wBAmFG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shapes-CkScEONr.cjs","sources":["../src/default/questions/fillIn/shapes.ts","../src/math/questions/addition/shapes.ts","../src/math/questions/equalityTest/shapes.ts"],"sourcesContent":["import { DataShape, FieldType, DataShapeName } from '@vue-skuilder/common';\n\nexport const BlanksCardDataShapes: DataShape[] = [\n {\n name: DataShapeName.Blanks,\n fields: [\n {\n name: 'Input',\n type: FieldType.MARKDOWN,\n },\n {\n name: 'Uploads',\n type: FieldType.MEDIA_UPLOADS,\n },\n ],\n },\n];","import { DataShape, FieldType, DataShapeName } from '@vue-skuilder/common';\n\nexport const SingleDigitAdditionDataShape: DataShape = {\n name: DataShapeName.MATH_SingleDigitAddition,\n fields: [\n { name: 'a', type: FieldType.INT },\n { name: 'b', type: FieldType.INT },\n ],\n};","import { DataShape, FieldType, DataShapeName } from '@vue-skuilder/common';\n\nexport const EqualityTestDataShape: DataShape = {\n name: DataShapeName.MATH_EqualityTest,\n fields: [\n { name: 'a', type: FieldType.STRING },\n { name: 'b', type: FieldType.STRING },\n ],\n};"],"names":["BlanksCardDataShapes","name","DataShapeName","Blanks","fields","type","FieldType","MARKDOWN","MEDIA_UPLOADS","SingleDigitAdditionDataShape","MATH_SingleDigitAddition","INT","EqualityTestDataShape","MATH_EqualityTest","STRING"],"mappings":"qDAEaA,EAAoC,CAC/C,CACEC,KAAMC,
|
|
1
|
+
{"version":3,"file":"shapes-CkScEONr.cjs","sources":["../src/default/questions/fillIn/shapes.ts","../src/math/questions/addition/shapes.ts","../src/math/questions/equalityTest/shapes.ts"],"sourcesContent":["import { DataShape, FieldType, DataShapeName } from '@vue-skuilder/common';\n\nexport const BlanksCardDataShapes: DataShape[] = [\n {\n name: DataShapeName.Blanks,\n fields: [\n {\n name: 'Input',\n type: FieldType.MARKDOWN,\n },\n {\n name: 'Uploads',\n type: FieldType.MEDIA_UPLOADS,\n },\n ],\n },\n];","import { DataShape, FieldType, DataShapeName } from '@vue-skuilder/common';\n\nexport const SingleDigitAdditionDataShape: DataShape = {\n name: DataShapeName.MATH_SingleDigitAddition,\n fields: [\n { name: 'a', type: FieldType.INT },\n { name: 'b', type: FieldType.INT },\n ],\n};","import { DataShape, FieldType, DataShapeName } from '@vue-skuilder/common';\n\nexport const EqualityTestDataShape: DataShape = {\n name: DataShapeName.MATH_EqualityTest,\n fields: [\n { name: 'a', type: FieldType.STRING },\n { name: 'b', type: FieldType.STRING },\n ],\n};"],"names":["BlanksCardDataShapes","name","DataShapeName","Blanks","fields","type","FieldType","MARKDOWN","MEDIA_UPLOADS","SingleDigitAdditionDataShape","MATH_SingleDigitAddition","INT","EqualityTestDataShape","MATH_EqualityTest","STRING"],"mappings":"qDAEaA,EAAoC,CAC/C,CACEC,KAAMC,EAAAA,cAAcC,OACpBC,OAAQ,CACN,CACEH,KAAM,QACNI,KAAMC,EAAAA,UAAUC,UAElB,CACEN,KAAM,UACNI,KAAMC,EAAAA,UAAUE,kBCVXC,EAA0C,CACrDR,KAAMC,EAAAA,cAAcQ,yBACpBN,OAAQ,CACN,CAAEH,KAAM,IAAKI,KAAMC,EAAAA,UAAUK,KAC7B,CAAEV,KAAM,IAAKI,KAAMC,EAAAA,UAAUK,OCJpBC,EAAmC,CAC9CX,KAAMC,EAAAA,cAAcW,kBACpBT,OAAQ,CACN,CAAEH,KAAM,IAAKI,KAAMC,EAAAA,UAAUQ,QAC7B,CAAEb,KAAM,IAAKI,KAAMC,EAAAA,UAAUQ"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{FieldType as e,DataShapeName as a}from"@vue-skuilder/common";const n=[{name:a.Blanks,fields:[{name:"Input",type:e.MARKDOWN},{name:"Uploads",type:e.MEDIA_UPLOADS}]}],t={name:a.MATH_SingleDigitAddition,fields:[{name:"a",type:e.INT},{name:"b",type:e.INT}]},m={name:a.MATH_EqualityTest,fields:[{name:"a",type:e.STRING},{name:"b",type:e.STRING}]};export{n as B,m as E,t as S};
|
|
2
|
+
//# sourceMappingURL=shapes-ClIYUyOT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shapes-
|
|
1
|
+
{"version":3,"file":"shapes-ClIYUyOT.js","sources":["../src/default/questions/fillIn/shapes.ts","../src/math/questions/addition/shapes.ts","../src/math/questions/equalityTest/shapes.ts"],"sourcesContent":["import { DataShape, FieldType, DataShapeName } from '@vue-skuilder/common';\n\nexport const BlanksCardDataShapes: DataShape[] = [\n {\n name: DataShapeName.Blanks,\n fields: [\n {\n name: 'Input',\n type: FieldType.MARKDOWN,\n },\n {\n name: 'Uploads',\n type: FieldType.MEDIA_UPLOADS,\n },\n ],\n },\n];","import { DataShape, FieldType, DataShapeName } from '@vue-skuilder/common';\n\nexport const SingleDigitAdditionDataShape: DataShape = {\n name: DataShapeName.MATH_SingleDigitAddition,\n fields: [\n { name: 'a', type: FieldType.INT },\n { name: 'b', type: FieldType.INT },\n ],\n};","import { DataShape, FieldType, DataShapeName } from '@vue-skuilder/common';\n\nexport const EqualityTestDataShape: DataShape = {\n name: DataShapeName.MATH_EqualityTest,\n fields: [\n { name: 'a', type: FieldType.STRING },\n { name: 'b', type: FieldType.STRING },\n ],\n};"],"names":["BlanksCardDataShapes","name","DataShapeName","Blanks","fields","type","FieldType","MARKDOWN","MEDIA_UPLOADS","SingleDigitAdditionDataShape","MATH_SingleDigitAddition","INT","EqualityTestDataShape","MATH_EqualityTest","STRING"],"mappings":"oEAEO,MAAMA,EAAoC,CAC/C,CACEC,KAAMC,EAAcC,OACpBC,OAAQ,CACN,CACEH,KAAM,QACNI,KAAMC,EAAUC,UAElB,CACEN,KAAM,UACNI,KAAMC,EAAUE,kBCVXC,EAA0C,CACrDR,KAAMC,EAAcQ,yBACpBN,OAAQ,CACN,CAAEH,KAAM,IAAKI,KAAMC,EAAUK,KAC7B,CAAEV,KAAM,IAAKI,KAAMC,EAAUK,OCJpBC,EAAmC,CAC9CX,KAAMC,EAAcW,kBACpBT,OAAQ,CACN,CAAEH,KAAM,IAAKI,KAAMC,EAAUQ,QAC7B,CAAEb,KAAM,IAAKI,KAAMC,EAAUQ"}
|
package/dist/shapes.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataShape } from '
|
|
1
|
+
import { DataShape } from '@vue-skuilder/common';
|
|
2
2
|
export { SingleDigitAdditionDataShape, EqualityTestDataShape, } from './math/shapes.js';
|
|
3
3
|
export { BlanksCardDataShapes } from './default/questions/fillIn/shapes.js';
|
|
4
4
|
export declare const ALL_DATA_SHAPES: DataShape[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { ViewData } from '
|
|
2
|
+
import { ViewData } from '@vue-skuilder/common';
|
|
3
3
|
import { IdentifyKeyQuestion } from './index';
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
data: ViewData[];
|
|
@@ -14,13 +14,13 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
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;
|
|
@@ -47,14 +47,14 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
47
47
|
unbindKeys(): void;
|
|
48
48
|
}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
49
49
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
50
|
-
previewModeStore: ReturnType<typeof import('
|
|
50
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
51
51
|
}, {
|
|
52
52
|
autofocus(): boolean;
|
|
53
53
|
autoFocus(): boolean;
|
|
54
54
|
}, {
|
|
55
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
55
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
56
56
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
57
|
-
getQuestionViewAncestor(): import('
|
|
57
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
58
58
|
}, 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<{
|
|
59
59
|
choiceList: {
|
|
60
60
|
type: PropType<string[]>;
|
|
@@ -135,7 +135,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
135
135
|
}>> & Readonly<{}>, {}, {}, {
|
|
136
136
|
MdTokenRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
137
137
|
token: {
|
|
138
|
-
type: PropType<import('
|
|
138
|
+
type: PropType<import('@vue-skuilder/common-ui').TokenOrComponent>;
|
|
139
139
|
required: true;
|
|
140
140
|
};
|
|
141
141
|
last: {
|
|
@@ -147,14 +147,14 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
147
147
|
isComponent: (token: import('marked').MarkedToken) => boolean;
|
|
148
148
|
containsComponent: (token: import('marked').MarkedToken) => boolean;
|
|
149
149
|
splitTextToken: (token: import('marked').MarkedToken) => import("marked").Tokens.Text[];
|
|
150
|
-
splitParagraphToken: (token: import("marked").Tokens.Paragraph) => import('
|
|
150
|
+
splitParagraphToken: (token: import("marked").Tokens.Paragraph) => import('@vue-skuilder/common-ui').TokenOrComponent[];
|
|
151
151
|
parsedComponent: (token: import('marked').MarkedToken) => {
|
|
152
152
|
is: string;
|
|
153
153
|
text: string;
|
|
154
154
|
props: Record<string, string>;
|
|
155
155
|
};
|
|
156
156
|
decodeBasicEntities: (text: string) => string;
|
|
157
|
-
isText: (tok: import('
|
|
157
|
+
isText: (tok: import('@vue-skuilder/common-ui').TokenOrComponent) => boolean;
|
|
158
158
|
components: {
|
|
159
159
|
fillIn: import('vue').Raw<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
160
160
|
text: {
|
|
@@ -180,14 +180,14 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
180
180
|
prependIcon(): string;
|
|
181
181
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
182
182
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
183
|
-
previewModeStore: ReturnType<typeof import('
|
|
183
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
184
184
|
}, {
|
|
185
185
|
autofocus(): boolean;
|
|
186
186
|
autoFocus(): boolean;
|
|
187
187
|
}, {
|
|
188
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
188
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
189
189
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
190
|
-
getQuestionViewAncestor(): import('
|
|
190
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
191
191
|
}, 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<{
|
|
192
192
|
icon: {
|
|
193
193
|
type: BooleanConstructor;
|
|
@@ -222,14 +222,14 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
222
222
|
prependIcon(): string;
|
|
223
223
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {
|
|
224
224
|
answer: import('../../../../common/dist/index.mjs').Answer;
|
|
225
|
-
previewModeStore: ReturnType<typeof import('
|
|
225
|
+
previewModeStore: ReturnType<typeof import('@vue-skuilder/common-ui').useCardPreviewModeStore> | null;
|
|
226
226
|
}, {
|
|
227
227
|
autofocus(): boolean;
|
|
228
228
|
autoFocus(): boolean;
|
|
229
229
|
}, {
|
|
230
|
-
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('
|
|
230
|
+
submitAnswer(answer: import('../../../../common/dist/index.mjs').Answer): import('../../../../db/dist/index.mjs').QuestionRecord;
|
|
231
231
|
submit(answer: import('../../../../common/dist/index.mjs').Answer): any;
|
|
232
|
-
getQuestionViewAncestor(): import('
|
|
232
|
+
getQuestionViewAncestor(): import('@vue-skuilder/common-ui').ViewComponent;
|
|
233
233
|
}, 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<{
|
|
234
234
|
icon: {
|
|
235
235
|
type: BooleanConstructor;
|
|
@@ -241,7 +241,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
241
241
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> | null;
|
|
242
242
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
243
243
|
token: {
|
|
244
|
-
type: PropType<import('
|
|
244
|
+
type: PropType<import('@vue-skuilder/common-ui').TokenOrComponent>;
|
|
245
245
|
required: true;
|
|
246
246
|
};
|
|
247
247
|
last: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IdentifyKey.vue.d.ts","sourceRoot":"","sources":["../../../../src/sightsing/questions/IdentifyKey/IdentifyKey.vue"],"names":[],"mappings":"AASA;AAkFA,OAAO,EAAkC,QAAQ,EAAE,MAAM,KAAK,CAAC;AAG/D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAQ,MAAM,SAAS,CAAC;;;;;;;;;;;;;;kDAJpD,CA1CU
|
|
1
|
+
{"version":3,"file":"IdentifyKey.vue.d.ts","sourceRoot":"","sources":["../../../../src/sightsing/questions/IdentifyKey/IdentifyKey.vue"],"names":[],"mappings":"AASA;AAkFA,OAAO,EAAkC,QAAQ,EAAE,MAAM,KAAK,CAAC;AAG/D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAQ,MAAM,SAAS,CAAC;;;;;;;;;;;;;;kDAJpD,CA1CU;;;;;yCA0CV,CArE4C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmF5C,wBAqDG"}
|