@vue-skuilder/courseware 0.1.8-1
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 +18 -0
- package/dist/CourseWare.d.ts.map +1 -0
- package/dist/assets/index.css +1 -0
- package/dist/chess/chessUtils.d.ts +17 -0
- package/dist/chess/chessUtils.d.ts.map +1 -0
- package/dist/chess/chessground/anim.d.ts +18 -0
- package/dist/chess/chessground/anim.d.ts.map +1 -0
- package/dist/chess/chessground/api.d.ts +29 -0
- package/dist/chess/chessground/api.d.ts.map +1 -0
- package/dist/chess/chessground/autoPieces.d.ts +4 -0
- package/dist/chess/chessground/autoPieces.d.ts.map +1 -0
- package/dist/chess/chessground/board.d.ts +26 -0
- package/dist/chess/chessground/board.d.ts.map +1 -0
- package/dist/chess/chessground/chessground.d.ts +8 -0
- package/dist/chess/chessground/chessground.d.ts.map +1 -0
- package/dist/chess/chessground/config.d.ts +88 -0
- package/dist/chess/chessground/config.d.ts.map +1 -0
- package/dist/chess/chessground/drag.d.ts +21 -0
- package/dist/chess/chessground/drag.d.ts.map +1 -0
- package/dist/chess/chessground/draw.d.ts +66 -0
- package/dist/chess/chessground/draw.d.ts.map +1 -0
- package/dist/chess/chessground/drop.d.ts +6 -0
- package/dist/chess/chessground/drop.d.ts.map +1 -0
- package/dist/chess/chessground/events.d.ts +5 -0
- package/dist/chess/chessground/events.d.ts.map +1 -0
- package/dist/chess/chessground/explosion.d.ts +4 -0
- package/dist/chess/chessground/explosion.d.ts.map +1 -0
- package/dist/chess/chessground/fen.d.ts +5 -0
- package/dist/chess/chessground/fen.d.ts.map +1 -0
- package/dist/chess/chessground/premove.d.ts +7 -0
- package/dist/chess/chessground/premove.d.ts.map +1 -0
- package/dist/chess/chessground/render.d.ts +5 -0
- package/dist/chess/chessground/render.d.ts.map +1 -0
- package/dist/chess/chessground/state.d.ts +101 -0
- package/dist/chess/chessground/state.d.ts.map +1 -0
- package/dist/chess/chessground/svg.d.ts +9 -0
- package/dist/chess/chessground/svg.d.ts.map +1 -0
- package/dist/chess/chessground/sync.d.ts +9 -0
- package/dist/chess/chessground/sync.d.ts.map +1 -0
- package/dist/chess/chessground/types.d.ts +94 -0
- package/dist/chess/chessground/types.d.ts.map +1 -0
- package/dist/chess/chessground/util.d.ts +21 -0
- package/dist/chess/chessground/util.d.ts.map +1 -0
- package/dist/chess/chessground/wrap.d.ts +4 -0
- package/dist/chess/chessground/wrap.d.ts.map +1 -0
- package/dist/chess/components/ChessBoard.vue.d.ts +48 -0
- package/dist/chess/components/ChessBoard.vue.d.ts.map +1 -0
- package/dist/chess/components/types.d.ts +11 -0
- package/dist/chess/components/types.d.ts.map +1 -0
- package/dist/chess/composables/useChessEngine.d.ts +303 -0
- package/dist/chess/composables/useChessEngine.d.ts.map +1 -0
- package/dist/chess/composables/usePromotionDialog.d.ts +38 -0
- package/dist/chess/composables/usePromotionDialog.d.ts.map +1 -0
- package/dist/chess/index.d.ts +4 -0
- package/dist/chess/index.d.ts.map +1 -0
- package/dist/chess/questions/forks/forksView.vue.d.ts +52 -0
- package/dist/chess/questions/forks/forksView.vue.d.ts.map +1 -0
- package/dist/chess/questions/forks/index.d.ts +86 -0
- package/dist/chess/questions/forks/index.d.ts.map +1 -0
- package/dist/chess/questions/puzzle/index.d.ts +25 -0
- package/dist/chess/questions/puzzle/index.d.ts.map +1 -0
- package/dist/chess/questions/puzzle/puzzle.vue.d.ts +55 -0
- package/dist/chess/questions/puzzle/puzzle.vue.d.ts.map +1 -0
- package/dist/components/MusicScoreRender.vue.d.ts +13 -0
- package/dist/components/MusicScoreRender.vue.d.ts.map +1 -0
- package/dist/default/index.d.ts +4 -0
- package/dist/default/index.d.ts.map +1 -0
- package/dist/default/questions/fillIn/blanksCorrection.d.ts +3 -0
- package/dist/default/questions/fillIn/blanksCorrection.d.ts.map +1 -0
- package/dist/default/questions/fillIn/fillIn.vue.d.ts +41 -0
- package/dist/default/questions/fillIn/fillIn.vue.d.ts.map +1 -0
- package/dist/default/questions/fillIn/index.d.ts +105 -0
- package/dist/default/questions/fillIn/index.d.ts.map +1 -0
- package/dist/french/index.d.ts +4 -0
- package/dist/french/index.d.ts.map +1 -0
- package/dist/french/questions/audioparse/index.d.ts +65 -0
- package/dist/french/questions/audioparse/index.d.ts.map +1 -0
- package/dist/french/questions/audioparse/view.vue.d.ts +31 -0
- package/dist/french/questions/audioparse/view.vue.d.ts.map +1 -0
- package/dist/french/questions/vocab/identify.vue.d.ts +27 -0
- package/dist/french/questions/vocab/identify.vue.d.ts.map +1 -0
- package/dist/french/questions/vocab/index.d.ts +54 -0
- package/dist/french/questions/vocab/index.d.ts.map +1 -0
- package/dist/index.cjs.js +75 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +86 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +63128 -0
- package/dist/index.mjs.map +1 -0
- package/dist/math/index.d.ts +4 -0
- package/dist/math/index.d.ts.map +1 -0
- package/dist/math/questions/addition/horizontal.vue.d.ts +46 -0
- package/dist/math/questions/addition/horizontal.vue.d.ts.map +1 -0
- package/dist/math/questions/addition/index.d.ts +24 -0
- package/dist/math/questions/addition/index.d.ts.map +1 -0
- package/dist/math/questions/addition/verbal.vue.d.ts +46 -0
- package/dist/math/questions/addition/verbal.vue.d.ts.map +1 -0
- package/dist/math/questions/angleCategorize/angleCategorize.vue.d.ts +30 -0
- package/dist/math/questions/angleCategorize/angleCategorize.vue.d.ts.map +1 -0
- package/dist/math/questions/angleCategorize/index.d.ts +76 -0
- package/dist/math/questions/angleCategorize/index.d.ts.map +1 -0
- package/dist/math/questions/countBy/default.vue.d.ts +29 -0
- package/dist/math/questions/countBy/default.vue.d.ts.map +1 -0
- package/dist/math/questions/countBy/index.d.ts +81 -0
- package/dist/math/questions/countBy/index.d.ts.map +1 -0
- package/dist/math/questions/division/horizontal.vue.d.ts +31 -0
- package/dist/math/questions/division/horizontal.vue.d.ts.map +1 -0
- package/dist/math/questions/division/index.d.ts +75 -0
- package/dist/math/questions/division/index.d.ts.map +1 -0
- package/dist/math/questions/equalityTest/index.d.ts +77 -0
- package/dist/math/questions/equalityTest/index.d.ts.map +1 -0
- package/dist/math/questions/equalityTest/trueFalse.vue.d.ts +33 -0
- package/dist/math/questions/equalityTest/trueFalse.vue.d.ts.map +1 -0
- package/dist/math/questions/multiplication/blorizontal.vue.d.ts +31 -0
- package/dist/math/questions/multiplication/blorizontal.vue.d.ts.map +1 -0
- package/dist/math/questions/multiplication/index.d.ts +71 -0
- package/dist/math/questions/multiplication/index.d.ts.map +1 -0
- package/dist/math/questions/multiplication/verbal.vue.d.ts +31 -0
- package/dist/math/questions/multiplication/verbal.vue.d.ts.map +1 -0
- package/dist/math/questions/oneStepEqn/index.d.ts +82 -0
- package/dist/math/questions/oneStepEqn/index.d.ts.map +1 -0
- package/dist/math/questions/oneStepEqn/solve.vue.d.ts +32 -0
- package/dist/math/questions/oneStepEqn/solve.vue.d.ts.map +1 -0
- package/dist/math/questions/supplementaryAngles/index.d.ts +72 -0
- package/dist/math/questions/supplementaryAngles/index.d.ts.map +1 -0
- package/dist/math/questions/supplementaryAngles/supplementaryAngles.vue.d.ts +31 -0
- package/dist/math/questions/supplementaryAngles/supplementaryAngles.vue.d.ts.map +1 -0
- package/dist/math/utility/Fraction.d.ts +18 -0
- package/dist/math/utility/Fraction.d.ts.map +1 -0
- package/dist/math/utility/index.d.ts +19 -0
- package/dist/math/utility/index.d.ts.map +1 -0
- package/dist/piano/NoteDisplay.vue.d.ts +25 -0
- package/dist/piano/NoteDisplay.vue.d.ts.map +1 -0
- package/dist/piano/index.d.ts +4 -0
- package/dist/piano/index.d.ts.map +1 -0
- package/dist/piano/questions/echo/Playback.vue.d.ts +369 -0
- package/dist/piano/questions/echo/Playback.vue.d.ts.map +1 -0
- package/dist/piano/questions/echo/index.d.ts +744 -0
- package/dist/piano/questions/echo/index.d.ts.map +1 -0
- package/dist/piano/questions/playNote/NotePlayback.vue.d.ts +208 -0
- package/dist/piano/questions/playNote/NotePlayback.vue.d.ts.map +1 -0
- package/dist/piano/questions/playNote/index.d.ts +419 -0
- package/dist/piano/questions/playNote/index.d.ts.map +1 -0
- package/dist/piano/utility/MidiConfig.vue.d.ts +113 -0
- package/dist/piano/utility/MidiConfig.vue.d.ts.map +1 -0
- package/dist/piano/utility/PianoRangeVisualizer.vue.d.ts +41 -0
- package/dist/piano/utility/PianoRangeVisualizer.vue.d.ts.map +1 -0
- package/dist/piano/utility/SyllableSeqVis.vue.d.ts +36 -0
- package/dist/piano/utility/SyllableSeqVis.vue.d.ts.map +1 -0
- package/dist/piano/utility/midi.d.ts +82 -0
- package/dist/piano/utility/midi.d.ts.map +1 -0
- package/dist/pitch/index.d.ts +4 -0
- package/dist/pitch/index.d.ts.map +1 -0
- package/dist/pitch/questions/indentify/index.d.ts +76 -0
- package/dist/pitch/questions/indentify/index.d.ts.map +1 -0
- package/dist/pitch/questions/indentify/textBox.vue.d.ts +31 -0
- package/dist/pitch/questions/indentify/textBox.vue.d.ts.map +1 -0
- package/dist/sightsing/index.d.ts +4 -0
- package/dist/sightsing/index.d.ts.map +1 -0
- package/dist/sightsing/questions/IdentifyKey/IdentifyKey.vue.d.ts +43 -0
- package/dist/sightsing/questions/IdentifyKey/IdentifyKey.vue.d.ts.map +1 -0
- package/dist/sightsing/questions/IdentifyKey/index.d.ts +117 -0
- package/dist/sightsing/questions/IdentifyKey/index.d.ts.map +1 -0
- package/dist/typing/index.d.ts +4 -0
- package/dist/typing/index.d.ts.map +1 -0
- package/dist/typing/questions/falling-letters/FallingLetters.vue.d.ts +62 -0
- package/dist/typing/questions/falling-letters/FallingLetters.vue.d.ts.map +1 -0
- package/dist/typing/questions/falling-letters/index.d.ts +144 -0
- package/dist/typing/questions/falling-letters/index.d.ts.map +1 -0
- package/dist/typing/questions/falling-letters/types.d.ts +13 -0
- package/dist/typing/questions/falling-letters/types.d.ts.map +1 -0
- package/dist/typing/questions/single-letter/index.d.ts +67 -0
- package/dist/typing/questions/single-letter/index.d.ts.map +1 -0
- package/dist/typing/questions/single-letter/typeSingleLetter.vue.d.ts +28 -0
- package/dist/typing/questions/single-letter/typeSingleLetter.vue.d.ts.map +1 -0
- package/dist/word-work/ankiCardGen/data.d.ts +63 -0
- package/dist/word-work/ankiCardGen/data.d.ts.map +1 -0
- package/dist/word-work/index.d.ts +4 -0
- package/dist/word-work/index.d.ts.map +1 -0
- package/dist/word-work/questions/spelling/index.d.ts +69 -0
- package/dist/word-work/questions/spelling/index.d.ts.map +1 -0
- package/dist/word-work/questions/spelling/textBox.vue.d.ts +32 -0
- package/dist/word-work/questions/spelling/textBox.vue.d.ts.map +1 -0
- package/package.json +60 -0
- package/src/logic.d.ts +26 -0
- package/src/logic.js +202 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { CourseWare } from './CourseWare';
|
|
2
|
+
import { Displayable, Question, ViewComponent, useQuestionView as _useQuestionView } from '../../common-ui/dist/common-ui.es.js';
|
|
3
|
+
import { DataShape, ShapeDescriptor, ViewDescriptor, ViewData, Answer, Evaluation } from '../../common/dist/index.mjs';
|
|
4
|
+
export { useViewable } from '../../common-ui/dist/common-ui.es.js';
|
|
5
|
+
export declare const useQuestionView: typeof _useQuestionView;
|
|
6
|
+
/**
|
|
7
|
+
* A `CourseWare` is a container for a set of related `Question` types.
|
|
8
|
+
*/
|
|
9
|
+
export { CourseWare };
|
|
10
|
+
/**
|
|
11
|
+
* The base class for all interactive course content.
|
|
12
|
+
* A `Displayable` defines the data it requires and the Vue components used to render it.
|
|
13
|
+
*/
|
|
14
|
+
export { Displayable };
|
|
15
|
+
/**
|
|
16
|
+
* The base class for all questions. It extends `Displayable` and adds
|
|
17
|
+
* logic for evaluating user answers. This is the primary class developers
|
|
18
|
+
* will extend to create new question types.
|
|
19
|
+
*/
|
|
20
|
+
export { Question };
|
|
21
|
+
/**
|
|
22
|
+
* A type representing a Vue component that can be used to render a `Displayable`.
|
|
23
|
+
*/
|
|
24
|
+
export type { ViewComponent };
|
|
25
|
+
/**
|
|
26
|
+
* Represents the actual data passed to a `Displayable`'s constructor.
|
|
27
|
+
*/
|
|
28
|
+
export type { ViewData };
|
|
29
|
+
/**
|
|
30
|
+
* Represents a user's answer to a `Question`.
|
|
31
|
+
*/
|
|
32
|
+
export type { Answer };
|
|
33
|
+
/**
|
|
34
|
+
* Represents the evaluation of a user's `Answer`.
|
|
35
|
+
*/
|
|
36
|
+
export type { Evaluation };
|
|
37
|
+
/**
|
|
38
|
+
* A descriptor that uniquely identifies a `ViewComponent`.
|
|
39
|
+
*/
|
|
40
|
+
export type { ViewDescriptor };
|
|
41
|
+
/**
|
|
42
|
+
* A descriptor that uniquely identifies a `DataShape`.
|
|
43
|
+
*/
|
|
44
|
+
export type { ShapeDescriptor };
|
|
45
|
+
export { default as chess } from './chess';
|
|
46
|
+
export { default as french } from './french';
|
|
47
|
+
export { default as math } from './math';
|
|
48
|
+
export { default as piano } from './piano';
|
|
49
|
+
export { default as pitch } from './pitch';
|
|
50
|
+
export { default as sightSing } from './sightsing';
|
|
51
|
+
export { default as typing } from './typing';
|
|
52
|
+
export { default as wordWork } from './word-work';
|
|
53
|
+
export { BlanksCard, BlanksCardDataShapes } from './default/questions/fillIn';
|
|
54
|
+
export { default as gradeSpellingAttempt } from './default/questions/fillIn/blanksCorrection';
|
|
55
|
+
export { default as SkMidi, eventsToSyllableSequence, SyllableSequence, transposeSyllableSeq, } from './piano/utility/midi';
|
|
56
|
+
export { default as MidiConfig } from './piano/utility/MidiConfig.vue';
|
|
57
|
+
export { default as SyllableSeqVis } from './piano/utility/SyllableSeqVis.vue';
|
|
58
|
+
export declare class AllCourseWare {
|
|
59
|
+
private readonly courseWareList;
|
|
60
|
+
get courses(): CourseWare[];
|
|
61
|
+
constructor(courses: CourseWare[]);
|
|
62
|
+
getCourseWare(name: string): CourseWare | undefined;
|
|
63
|
+
private cachedRawViews;
|
|
64
|
+
allViewsRaw(): {
|
|
65
|
+
[index: string]: ViewComponent;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* allViews supplies the CardViewer component with the required
|
|
69
|
+
* Vue components it needs at run-time.
|
|
70
|
+
*/
|
|
71
|
+
allViews(): {
|
|
72
|
+
[index: string]: ViewComponent;
|
|
73
|
+
};
|
|
74
|
+
getView(viewDescription: ViewDescriptor | string): ViewComponent;
|
|
75
|
+
/**
|
|
76
|
+
* @returns a string that displays a summary of registered courses
|
|
77
|
+
*/
|
|
78
|
+
toString(): string;
|
|
79
|
+
allDataShapesRaw(): DataShape[];
|
|
80
|
+
allDataShapes(): (ShapeDescriptor & {
|
|
81
|
+
displayable: typeof Displayable;
|
|
82
|
+
})[];
|
|
83
|
+
getDataShape(description: ShapeDescriptor): DataShape;
|
|
84
|
+
}
|
|
85
|
+
export declare const allCourseWare: AllCourseWare;
|
|
86
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC/E,OAAO,EACL,SAAS,EAET,eAAe,EACf,cAAc,EACd,QAAQ,EACR,MAAM,EACN,UAAU,EACX,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,eAAe,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC9E,eAAO,MAAM,eAAe,EAAuB,OAAO,gBAAgB,CAAC;AAI3E;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB;;;GAGG;AACH,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB;;;;GAIG;AACH,OAAO,EAAE,QAAQ,EAAE,CAAC;AAEpB;;GAEG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