@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
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { UserDBInterface } from '../../../../db/dist/index.mjs';
|
|
2
|
+
export interface MidiDevice {
|
|
3
|
+
title: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
|
+
_id: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
user: {
|
|
12
|
+
type: () => UserDBInterface;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
}>, {
|
|
16
|
+
midiSupported: import('vue').Ref<boolean, boolean>;
|
|
17
|
+
inputs: import('vue').Ref<{
|
|
18
|
+
title: string;
|
|
19
|
+
value: string;
|
|
20
|
+
}[], MidiDevice[] | {
|
|
21
|
+
title: string;
|
|
22
|
+
value: string;
|
|
23
|
+
}[]>;
|
|
24
|
+
outputs: import('vue').Ref<{
|
|
25
|
+
title: string;
|
|
26
|
+
value: string;
|
|
27
|
+
}[], MidiDevice[] | {
|
|
28
|
+
title: string;
|
|
29
|
+
value: string;
|
|
30
|
+
}[]>;
|
|
31
|
+
selectedInput: import('vue').Ref<string, string>;
|
|
32
|
+
selectedOutput: import('vue').Ref<string, string>;
|
|
33
|
+
updatePending: import('vue').Ref<boolean, boolean>;
|
|
34
|
+
playSound: () => void;
|
|
35
|
+
saveSettings: () => Promise<void>;
|
|
36
|
+
configChanged: import('vue').Ref<boolean, boolean>;
|
|
37
|
+
lowestNote: import('vue').Ref<number, number>;
|
|
38
|
+
highestNote: import('vue').Ref<number, number>;
|
|
39
|
+
keyboardRangeOptions: import('vue').Ref<{
|
|
40
|
+
title: string;
|
|
41
|
+
value: string;
|
|
42
|
+
}[], {
|
|
43
|
+
title: string;
|
|
44
|
+
value: string;
|
|
45
|
+
}[] | {
|
|
46
|
+
title: string;
|
|
47
|
+
value: string;
|
|
48
|
+
}[]>;
|
|
49
|
+
selectedKeyboardRange: import('vue').Ref<string, string>;
|
|
50
|
+
noteOptions: import('vue').Ref<{
|
|
51
|
+
title: string;
|
|
52
|
+
value: number;
|
|
53
|
+
}[], {
|
|
54
|
+
title: string;
|
|
55
|
+
value: number;
|
|
56
|
+
}[] | {
|
|
57
|
+
title: string;
|
|
58
|
+
value: number;
|
|
59
|
+
}[]>;
|
|
60
|
+
updateCustomRangeFromPreset: () => void;
|
|
61
|
+
updateRangeAndCheckChanges: () => void;
|
|
62
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
63
|
+
_id: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
user: {
|
|
68
|
+
type: () => UserDBInterface;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
72
|
+
PianoRangeVisualizer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
73
|
+
lowestNote: {
|
|
74
|
+
type: NumberConstructor;
|
|
75
|
+
required: true;
|
|
76
|
+
};
|
|
77
|
+
highestNote: {
|
|
78
|
+
type: NumberConstructor;
|
|
79
|
+
required: true;
|
|
80
|
+
};
|
|
81
|
+
maxWidth: {
|
|
82
|
+
type: NumberConstructor;
|
|
83
|
+
default: number;
|
|
84
|
+
};
|
|
85
|
+
}>, {
|
|
86
|
+
pianoWrapper: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
87
|
+
keyHeight: number;
|
|
88
|
+
blackKeyHeight: number;
|
|
89
|
+
whiteKeyWidth: import('vue').ComputedRef<number>;
|
|
90
|
+
blackKeyWidth: import('vue').ComputedRef<number>;
|
|
91
|
+
svgWidth: import('vue').ComputedRef<number>;
|
|
92
|
+
isWhiteKey: (noteNumber: number) => boolean;
|
|
93
|
+
getKeyPosition: (noteNumber: number) => number;
|
|
94
|
+
getNoteLabel: (noteNumber: number) => string;
|
|
95
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
96
|
+
lowestNote: {
|
|
97
|
+
type: NumberConstructor;
|
|
98
|
+
required: true;
|
|
99
|
+
};
|
|
100
|
+
highestNote: {
|
|
101
|
+
type: NumberConstructor;
|
|
102
|
+
required: true;
|
|
103
|
+
};
|
|
104
|
+
maxWidth: {
|
|
105
|
+
type: NumberConstructor;
|
|
106
|
+
default: number;
|
|
107
|
+
};
|
|
108
|
+
}>> & Readonly<{}>, {
|
|
109
|
+
maxWidth: number;
|
|
110
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
111
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
112
|
+
export default _default;
|
|
113
|
+
//# sourceMappingURL=MidiConfig.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MidiConfig.vue.d.ts","sourceRoot":"","sources":["../../../src/piano/utility/MidiConfig.vue"],"names":[],"mappings":"AA6EA;AAkjBA,OAAO,EAAE,eAAe,EAAgB,MAAM,kBAAkB,CAAC;AAIjE,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;;;;;;;cAcqB,MAAM,eAAe;;;;;;eAhBlC,MAAM;eACN,MAAM;;eADN,MAAM;eACN,MAAM;;;eADN,MAAM;eACN,MAAM;;eADN,MAAM;eACN,MAAM;;;;;;;;;;;;;;;;;;;;;;eA0C4B,MAAM;eAAS,MAAM;;eAArB,MAAM;eAAS,MAAM;;eAArB,MAAM;eAAS,MAAM;;;;;;;;;;cA3B1C,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAb3C,wBAocG"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
lowestNote: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
highestNote: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
maxWidth: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
}>, {
|
|
15
|
+
pianoWrapper: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
16
|
+
keyHeight: number;
|
|
17
|
+
blackKeyHeight: number;
|
|
18
|
+
whiteKeyWidth: import('vue').ComputedRef<number>;
|
|
19
|
+
blackKeyWidth: import('vue').ComputedRef<number>;
|
|
20
|
+
svgWidth: import('vue').ComputedRef<number>;
|
|
21
|
+
isWhiteKey: (noteNumber: number) => boolean;
|
|
22
|
+
getKeyPosition: (noteNumber: number) => number;
|
|
23
|
+
getNoteLabel: (noteNumber: number) => string;
|
|
24
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
25
|
+
lowestNote: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
highestNote: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
maxWidth: {
|
|
34
|
+
type: NumberConstructor;
|
|
35
|
+
default: number;
|
|
36
|
+
};
|
|
37
|
+
}>> & Readonly<{}>, {
|
|
38
|
+
maxWidth: number;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
40
|
+
export default _default;
|
|
41
|
+
//# sourceMappingURL=PianoRangeVisualizer.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PianoRangeVisualizer.vue.d.ts","sourceRoot":"","sources":["../../../src/piano/utility/PianoRangeVisualizer.vue"],"names":[],"mappings":"AA6FA;;;;;;;;;;;;;;;;;;;;;6BAySoC,MAAM;iCAMF,MAAM;+BAcR,MAAM;;;;;;;;;;;;;;;;;AApE5C,wBAsGG"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { SyllableSequence, NoteEvent } from './midi';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
seq: {
|
|
5
|
+
type: PropType<SyllableSequence>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
lastTSsuggestion: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
required: false;
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
}>, {
|
|
14
|
+
firstTS: import('vue').Ref<number, number>;
|
|
15
|
+
lastTS: import('vue').Ref<number, number>;
|
|
16
|
+
high: import('vue').Ref<number, number>;
|
|
17
|
+
low: import('vue').Ref<number, number>;
|
|
18
|
+
sayNote: (note: NoteEvent) => void;
|
|
19
|
+
getLastTS: import('vue').ComputedRef<number>;
|
|
20
|
+
getHeight: import('vue').ComputedRef<number>;
|
|
21
|
+
updateBounds: () => void;
|
|
22
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
+
seq: {
|
|
24
|
+
type: PropType<SyllableSequence>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
lastTSsuggestion: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
required: false;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
}>> & Readonly<{}>, {
|
|
33
|
+
lastTSsuggestion: number;
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
35
|
+
export default _default;
|
|
36
|
+
//# sourceMappingURL=SyllableSeqVis.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SyllableSeqVis.vue.d.ts","sourceRoot":"","sources":["../../../src/piano/utility/SyllableSeqVis.vue"],"names":[],"mappings":"AAmBA;AAuHA,OAAO,EAAkC,QAAQ,EAAa,MAAM,KAAK,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;;;cAO/B,QAAQ,CAAC,gBAAgB,CAAC;;;;;;;;;;;;;oBAgBrB,SAAS;;;;;;cAhBd,QAAQ,CAAC,gBAAgB,CAAC;;;;;;;;;;;AALhD,wBAqFG"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Input, Output, IEventNote, InputEventNoteoff, InputEventNoteon } from 'webmidi';
|
|
2
|
+
export interface NoteEvent {
|
|
3
|
+
note: IEventNote;
|
|
4
|
+
velocity: number;
|
|
5
|
+
timestamp: number;
|
|
6
|
+
type: 'noteon' | 'noteoff';
|
|
7
|
+
}
|
|
8
|
+
export declare function transposeSyllableSeq(notes: NoteEvent[], semitones: number): NoteEvent[];
|
|
9
|
+
export declare function eventsToSyllableSequence(midi: NoteEvent[]): SyllableSequence;
|
|
10
|
+
export declare class SyllableSequence {
|
|
11
|
+
syllables: Syllable[];
|
|
12
|
+
rootNote: IEventNote;
|
|
13
|
+
append(e: NoteEvent): void;
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
constructor(syllables: Syllable[]);
|
|
18
|
+
grade(answer: SyllableSequence): SyllableSequence;
|
|
19
|
+
toString(): string;
|
|
20
|
+
isCorrect(): boolean;
|
|
21
|
+
}
|
|
22
|
+
declare class Syllable {
|
|
23
|
+
notes: (NoteEvent & {
|
|
24
|
+
isCorrect: boolean;
|
|
25
|
+
isMissing: boolean;
|
|
26
|
+
})[];
|
|
27
|
+
isCorrect: boolean | undefined;
|
|
28
|
+
get timestamp(): number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
constructor(notes: NoteEvent[]);
|
|
33
|
+
/**
|
|
34
|
+
* Returns the size of a timespan (in ms) that
|
|
35
|
+
* a n-note chord must be contained within
|
|
36
|
+
* @param n number of notes
|
|
37
|
+
*/
|
|
38
|
+
private static gracePeriod;
|
|
39
|
+
grade(answer: Syllable): Syllable;
|
|
40
|
+
}
|
|
41
|
+
declare class SkMidi {
|
|
42
|
+
private static _instance;
|
|
43
|
+
/**
|
|
44
|
+
* OFFSET is used to push all playback events (noteon, note off)
|
|
45
|
+
* forward by OFFSET milliseconds. This is to prevent a
|
|
46
|
+
* 'stutter' effect between the first and second syllables
|
|
47
|
+
* when the time between them is small. (noteon at ~0 ms suffers
|
|
48
|
+
* from a latency effect, while other timestamps don't).
|
|
49
|
+
*/
|
|
50
|
+
static readonly OFFSET: number;
|
|
51
|
+
recording: NoteEvent[];
|
|
52
|
+
private webmidi;
|
|
53
|
+
private input;
|
|
54
|
+
private output;
|
|
55
|
+
private _noteonListeners;
|
|
56
|
+
private _noteoffListeners;
|
|
57
|
+
private static _initializedWithUserConfig;
|
|
58
|
+
private midiAccess;
|
|
59
|
+
private _state;
|
|
60
|
+
get state(): "nodevice" | "notsupported" | "ready" | "initializing";
|
|
61
|
+
private _userLookup;
|
|
62
|
+
private constructor();
|
|
63
|
+
private init;
|
|
64
|
+
private loadUserConfiguration;
|
|
65
|
+
setStateChangeListener(f: () => void): void;
|
|
66
|
+
private attachListeners;
|
|
67
|
+
get hasRecording(): boolean;
|
|
68
|
+
get configuredInput(): string;
|
|
69
|
+
eraseRecording(): void;
|
|
70
|
+
stopRecording(): void;
|
|
71
|
+
record(): void;
|
|
72
|
+
addNoteonListenter(f: (e: InputEventNoteon) => void): void;
|
|
73
|
+
addNoteoffListenter(f: (e: InputEventNoteoff) => void): void;
|
|
74
|
+
play(recording?: NoteEvent[]): void;
|
|
75
|
+
static instance(): Promise<SkMidi>;
|
|
76
|
+
get inputs(): Input[];
|
|
77
|
+
get outputs(): Output[];
|
|
78
|
+
selectInput(id: string): void;
|
|
79
|
+
selectOutput(id: string): void;
|
|
80
|
+
}
|
|
81
|
+
export default SkMidi;
|
|
82
|
+
//# sourceMappingURL=midi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"midi.d.ts","sourceRoot":"","sources":["../../../src/piano/utility/midi.ts"],"names":[],"mappings":"AAEA,OAAgB,EAEd,KAAK,EACL,MAAM,EACN,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,SAAS,CAAC;AAOjB,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,QAAQ,GAAG,SAAS,CAAC;CAC5B;AAiBD,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,SAAS,EAAE,EAAE,SAAS,EAAE,MAAM,eAEzE;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,SAAS,EAAE,GAAG,gBAAgB,CAqB5E;AAED,qBAAa,gBAAgB;IAC3B,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,QAAQ,EAAE,UAAU,CAAC;IAErB,MAAM,CAAC,CAAC,EAAE,SAAS;IAyBnB;;OAEG;gBACS,SAAS,EAAE,QAAQ,EAAE;IAkB1B,KAAK,CAAC,MAAM,EAAE,gBAAgB,GAAG,gBAAgB;IAUjD,QAAQ,IAAI,MAAM;IAclB,SAAS,IAAI,OAAO;CAe5B;AAED,cAAM,QAAQ;IACZ,KAAK,EAAE,CAAC,SAAS,GAAG;QAClB,SAAS,EAAE,OAAO,CAAC;QACnB,SAAS,EAAE,OAAO,CAAC;KACpB,CAAC,EAAE,CAAC;IACL,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC;IAE/B,IAAI,SAAS,IAAI,MAAM,CAWtB;IAED;;OAEG;gBACS,KAAK,EAAE,SAAS,EAAE;IAsC9B;;;;OAIG;IACH,OAAO,CAAC,MAAM,CAAC,WAAW;IAKnB,KAAK,CAAC,MAAM,EAAE,QAAQ,GAA+B,QAAQ;CAmDrE;AAED,cAAM,MAAM;IACV,OAAO,CAAC,MAAM,CAAC,SAAS,CAAS;IAEjC;;;;;;OAMG;IACH,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAK;IAE5B,SAAS,EAAE,SAAS,EAAE,CAAM;IAEnC,OAAO,CAAC,OAAO,CAAoB;IACnC,OAAO,CAAC,KAAK,CAAoB;IACjC,OAAO,CAAC,MAAM,CAAqB;IACnC,OAAO,CAAC,gBAAgB,CAAyC;IACjE,OAAO,CAAC,iBAAiB,CAA0C;IAEnE,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAAS;IAElD,OAAO,CAAC,UAAU,CAAiC;IAEnD,OAAO,CAAC,MAAM,CAA0E;IACxF,IAAW,KAAK,2DAEf;IAED,OAAO,CAAC,WAAW,CAA0C;IAE7D,OAAO;YAIO,IAAI;YAiEJ,qBAAqB;IAwC5B,sBAAsB,CAAC,CAAC,EAAE,MAAM,IAAI;IAkC3C,OAAO,CAAC,eAAe;IAWvB,IAAW,YAAY,IAAI,OAAO,CAEjC;IAED,IAAW,eAAe,IAAI,MAAM,CAMnC;IAEM,cAAc;IAId,aAAa;IAIb,MAAM;IAuCN,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,gBAAgB,KAAK,IAAI;IAMnD,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,iBAAiB,KAAK,IAAI;IAOrD,IAAI,CAAC,SAAS,CAAC,EAAE,SAAS,EAAE;WA0Bf,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC;IAW/C,IAAW,MAAM,IAAI,KAAK,EAAE,CAE3B;IACD,IAAW,OAAO,IAAI,MAAM,EAAE,CAE7B;IAEM,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAQ7B,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;CAOtC;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/pitch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,QAAA,MAAM,KAAK,EAAE,UAAsD,CAAC;AAEpE,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Question } from '../../../../../common-ui/dist/common-ui.es.js';
|
|
2
|
+
import { DataShape, ViewData, Answer } from '../../../../../common/dist/index.mjs';
|
|
3
|
+
declare enum Chroma {
|
|
4
|
+
A = "A",
|
|
5
|
+
B = "B",
|
|
6
|
+
C = "C",
|
|
7
|
+
D = "D",
|
|
8
|
+
E = "E",
|
|
9
|
+
F = "F",
|
|
10
|
+
G = "G"
|
|
11
|
+
}
|
|
12
|
+
export declare class ChromaQuestion extends Question {
|
|
13
|
+
static dataShapes: DataShape[];
|
|
14
|
+
static views: import('vue').DefineComponent<{
|
|
15
|
+
data: ViewData[];
|
|
16
|
+
modifyDifficulty: number;
|
|
17
|
+
}, {
|
|
18
|
+
answer: import('vue').Ref<string, string>;
|
|
19
|
+
question: import('vue').ComputedRef<ChromaQuestion | undefined>;
|
|
20
|
+
submit: () => void;
|
|
21
|
+
priorSessionViews: import('vue').Ref<number>;
|
|
22
|
+
priorAttempts: import('vue').Ref<number>;
|
|
23
|
+
priorAnswers: import('vue').Ref<[Answer, string][]>;
|
|
24
|
+
maxAttemptsPerView: import('vue').Ref<number>;
|
|
25
|
+
maxSessionViews: import('vue').Ref<number>;
|
|
26
|
+
submitAnswer: (answer: Answer, submittingClass?: string) => import('packages/db/dist').QuestionRecord;
|
|
27
|
+
startTime: import('vue').Ref<moment.Moment>;
|
|
28
|
+
hotKeys: import('vue').Ref<import('../../../../../common-ui/dist/common-ui.es.js').HotKey[]>;
|
|
29
|
+
timeSpent: import('vue').ComputedRef<number>;
|
|
30
|
+
logger: import('../../../../../common-ui/dist/common-ui.es.js').ViewableLogger;
|
|
31
|
+
getURL: (item: string, dataShapeIndex?: number) => string;
|
|
32
|
+
emitResponse: (record: import('packages/db/dist').CardRecord) => void;
|
|
33
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
34
|
+
data: ViewData[];
|
|
35
|
+
modifyDifficulty: number;
|
|
36
|
+
}> & Readonly<{}>, {
|
|
37
|
+
modifyDifficulty: number;
|
|
38
|
+
}, {}, {
|
|
39
|
+
RadioMultipleChoice: any;
|
|
40
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>[];
|
|
41
|
+
chroma: Chroma;
|
|
42
|
+
constructor(data: ViewData[]);
|
|
43
|
+
get baseFreq(): number;
|
|
44
|
+
get choiceList(): string[];
|
|
45
|
+
isCorrect(answer: Answer): boolean;
|
|
46
|
+
dataShapes(): DataShape[];
|
|
47
|
+
views(): import('vue').DefineComponent<{
|
|
48
|
+
data: ViewData[];
|
|
49
|
+
modifyDifficulty: number;
|
|
50
|
+
}, {
|
|
51
|
+
answer: import('vue').Ref<string, string>;
|
|
52
|
+
question: import('vue').ComputedRef<ChromaQuestion | undefined>;
|
|
53
|
+
submit: () => void;
|
|
54
|
+
priorSessionViews: import('vue').Ref<number>;
|
|
55
|
+
priorAttempts: import('vue').Ref<number>;
|
|
56
|
+
priorAnswers: import('vue').Ref<[Answer, string][]>;
|
|
57
|
+
maxAttemptsPerView: import('vue').Ref<number>;
|
|
58
|
+
maxSessionViews: import('vue').Ref<number>;
|
|
59
|
+
submitAnswer: (answer: Answer, submittingClass?: string) => import('packages/db/dist').QuestionRecord;
|
|
60
|
+
startTime: import('vue').Ref<moment.Moment>;
|
|
61
|
+
hotKeys: import('vue').Ref<import('../../../../../common-ui/dist/common-ui.es.js').HotKey[]>;
|
|
62
|
+
timeSpent: import('vue').ComputedRef<number>;
|
|
63
|
+
logger: import('../../../../../common-ui/dist/common-ui.es.js').ViewableLogger;
|
|
64
|
+
getURL: (item: string, dataShapeIndex?: number) => string;
|
|
65
|
+
emitResponse: (record: import('packages/db/dist').CardRecord) => void;
|
|
66
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
67
|
+
data: ViewData[];
|
|
68
|
+
modifyDifficulty: number;
|
|
69
|
+
}> & Readonly<{}>, {
|
|
70
|
+
modifyDifficulty: number;
|
|
71
|
+
}, {}, {
|
|
72
|
+
RadioMultipleChoice: any;
|
|
73
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>[];
|
|
74
|
+
}
|
|
75
|
+
export {};
|
|
76
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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;;;;;;;;;;;;sDAEjB,CAAC;qCAtCD,OACF,MAAG;;;;6CASO,CAAA;;;;;;;;;2EA0BsB;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;;;;;;;;;;;;sDA9BV,CAAC;qCAtCD,OACF,MAAG;;;;6CASO,CAAA;;;;;;;;;;CA6DX"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ChromaQuestion } from './index';
|
|
2
|
+
import { ViewData } from '../../../../../common/dist/index.mjs';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
data: ViewData[];
|
|
5
|
+
modifyDifficulty: number;
|
|
6
|
+
}, {
|
|
7
|
+
answer: import('vue').Ref<string, string>;
|
|
8
|
+
question: import('vue').ComputedRef<ChromaQuestion | undefined>;
|
|
9
|
+
submit: () => void;
|
|
10
|
+
priorSessionViews: import('vue').Ref<number>;
|
|
11
|
+
priorAttempts: import('vue').Ref<number>;
|
|
12
|
+
priorAnswers: import('vue').Ref<[import('../../../../../common/dist/index.mjs').Answer, string][]>;
|
|
13
|
+
maxAttemptsPerView: import('vue').Ref<number>;
|
|
14
|
+
maxSessionViews: import('vue').Ref<number>;
|
|
15
|
+
submitAnswer: (answer: import('../../../../../common/dist/index.mjs').Answer, submittingClass?: string) => import('packages/db/dist').QuestionRecord;
|
|
16
|
+
startTime: import('vue').Ref<moment.Moment>;
|
|
17
|
+
hotKeys: import('vue').Ref<import('../../../../../common-ui/dist/common-ui.es.js').HotKey[]>;
|
|
18
|
+
timeSpent: import('vue').ComputedRef<number>;
|
|
19
|
+
logger: import('../../../../../common-ui/dist/common-ui.es.js').ViewableLogger;
|
|
20
|
+
getURL: (item: string, dataShapeIndex?: number) => string;
|
|
21
|
+
emitResponse: (record: import('packages/db/dist').CardRecord) => void;
|
|
22
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
23
|
+
data: ViewData[];
|
|
24
|
+
modifyDifficulty: number;
|
|
25
|
+
}> & Readonly<{}>, {
|
|
26
|
+
modifyDifficulty: number;
|
|
27
|
+
}, {}, {
|
|
28
|
+
RadioMultipleChoice: any;
|
|
29
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
|
+
export default _default;
|
|
31
|
+
//# sourceMappingURL=textBox.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textBox.vue.d.ts","sourceRoot":"","sources":["../../../../src/pitch/questions/indentify/textBox.vue"],"names":[],"mappings":"AAQA;AAuGA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;;iFAHhD,CA5DkB;iCA4DlB,OAAA,MA3FiC;;;;yCA2FjC,CAzFmC;;;;;;;;;;AA8FnC,wBAmFG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sightsing/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,QAAA,MAAM,SAAS,EAAE,UAA+D,CAAC;AAEjF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ViewData } from '../../../../../common/dist/index.mjs';
|
|
2
|
+
import { IdentifyKeyQuestion } from './index';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
data: ViewData[];
|
|
5
|
+
modifyDifficulty: number;
|
|
6
|
+
}, {
|
|
7
|
+
answer: import('vue').Ref<string, string>;
|
|
8
|
+
question: import('vue').ComputedRef<IdentifyKeyQuestion | undefined>;
|
|
9
|
+
choices: import('vue').ComputedRef<string[]>;
|
|
10
|
+
submit: () => void;
|
|
11
|
+
priorSessionViews: import('vue').Ref<number>;
|
|
12
|
+
priorAttempts: import('vue').Ref<number>;
|
|
13
|
+
priorAnswers: import('vue').Ref<[import('../../../../../common/dist/index.mjs').Answer, string][]>;
|
|
14
|
+
maxAttemptsPerView: import('vue').Ref<number>;
|
|
15
|
+
maxSessionViews: import('vue').Ref<number>;
|
|
16
|
+
submitAnswer: (answer: import('../../../../../common/dist/index.mjs').Answer, submittingClass?: string) => import('packages/db/dist').QuestionRecord;
|
|
17
|
+
startTime: import('vue').Ref<moment.Moment>;
|
|
18
|
+
hotKeys: import('vue').Ref<import('../../../../../common-ui/dist/common-ui.es.js').HotKey[]>;
|
|
19
|
+
timeSpent: import('vue').ComputedRef<number>;
|
|
20
|
+
logger: import('../../../../../common-ui/dist/common-ui.es.js').ViewableLogger;
|
|
21
|
+
getURL: (item: string, dataShapeIndex?: number) => string;
|
|
22
|
+
emitResponse: (record: import('packages/db/dist').CardRecord) => void;
|
|
23
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
24
|
+
data: ViewData[];
|
|
25
|
+
modifyDifficulty: number;
|
|
26
|
+
}> & Readonly<{}>, {
|
|
27
|
+
modifyDifficulty: number;
|
|
28
|
+
}, {}, {
|
|
29
|
+
RadioMultipleChoice: any;
|
|
30
|
+
MusicScoreRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
31
|
+
abcString: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
36
|
+
abcString: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
41
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
42
|
+
export default _default;
|
|
43
|
+
//# sourceMappingURL=IdentifyKey.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IdentifyKey.vue.d.ts","sourceRoot":"","sources":["../../../../src/sightsing/questions/IdentifyKey/IdentifyKey.vue"],"names":[],"mappings":"AASA;AAqFA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAQ,MAAM,SAAS,CAAC;;;;;;;;;;;;;;iFAJpD,CA5CmB;iCA4CnB,OAAA,MAvEc;;;;yCAuEd,CArES;;;;;;;;;;;;;;;;;;;;;AAmFT,wBAqDG"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { Question } from '../../../../../common-ui/dist/common-ui.es.js';
|
|
2
|
+
import { ViewData, DataShapeName, FieldType, Status, RadioMultipleChoiceAnswer } from '../../../../../common/dist/index.mjs';
|
|
3
|
+
/**
|
|
4
|
+
* The 15 sane keys in music theory.
|
|
5
|
+
*/
|
|
6
|
+
export declare const keys: string[];
|
|
7
|
+
export declare class IdentifyKeyQuestion extends Question {
|
|
8
|
+
static dataShapes: {
|
|
9
|
+
name: DataShapeName;
|
|
10
|
+
fields: {
|
|
11
|
+
name: string;
|
|
12
|
+
type: FieldType;
|
|
13
|
+
validator: {
|
|
14
|
+
test: (value: string) => {
|
|
15
|
+
msg: string;
|
|
16
|
+
status: Status;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}[];
|
|
20
|
+
}[];
|
|
21
|
+
static views: import('vue').DefineComponent<{
|
|
22
|
+
data: ViewData[];
|
|
23
|
+
modifyDifficulty: number;
|
|
24
|
+
}, {
|
|
25
|
+
answer: import('vue').Ref<string, string>;
|
|
26
|
+
question: import('vue').ComputedRef<IdentifyKeyQuestion | undefined>;
|
|
27
|
+
choices: import('vue').ComputedRef<string[]>;
|
|
28
|
+
submit: () => void;
|
|
29
|
+
priorSessionViews: import('vue').Ref<number>;
|
|
30
|
+
priorAttempts: import('vue').Ref<number>;
|
|
31
|
+
priorAnswers: import('vue').Ref<[import('../../../../../common/dist/index.mjs').Answer, string][]>;
|
|
32
|
+
maxAttemptsPerView: import('vue').Ref<number>;
|
|
33
|
+
maxSessionViews: import('vue').Ref<number>;
|
|
34
|
+
submitAnswer: (answer: import('../../../../../common/dist/index.mjs').Answer, submittingClass?: string) => import('packages/db/dist').QuestionRecord;
|
|
35
|
+
startTime: import('vue').Ref<moment.Moment>;
|
|
36
|
+
hotKeys: import('vue').Ref<import('../../../../../common-ui/dist/common-ui.es.js').HotKey[]>;
|
|
37
|
+
timeSpent: import('vue').ComputedRef<number>;
|
|
38
|
+
logger: import('../../../../../common-ui/dist/common-ui.es.js').ViewableLogger;
|
|
39
|
+
getURL: (item: string, dataShapeIndex?: number) => string;
|
|
40
|
+
emitResponse: (record: import('packages/db/dist').CardRecord) => void;
|
|
41
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
42
|
+
data: ViewData[];
|
|
43
|
+
modifyDifficulty: number;
|
|
44
|
+
}> & Readonly<{}>, {
|
|
45
|
+
modifyDifficulty: number;
|
|
46
|
+
}, {}, {
|
|
47
|
+
RadioMultipleChoice: any;
|
|
48
|
+
MusicScoreRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
49
|
+
abcString: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
54
|
+
abcString: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
59
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>[];
|
|
60
|
+
key: string;
|
|
61
|
+
static getKey(value: number): string;
|
|
62
|
+
constructor(data: ViewData[]);
|
|
63
|
+
isCorrect(answer: RadioMultipleChoiceAnswer): boolean;
|
|
64
|
+
dataShapes(): {
|
|
65
|
+
name: DataShapeName;
|
|
66
|
+
fields: {
|
|
67
|
+
name: string;
|
|
68
|
+
type: FieldType;
|
|
69
|
+
validator: {
|
|
70
|
+
test: (value: string) => {
|
|
71
|
+
msg: string;
|
|
72
|
+
status: Status;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}[];
|
|
76
|
+
}[];
|
|
77
|
+
views(): import('vue').DefineComponent<{
|
|
78
|
+
data: ViewData[];
|
|
79
|
+
modifyDifficulty: number;
|
|
80
|
+
}, {
|
|
81
|
+
answer: import('vue').Ref<string, string>;
|
|
82
|
+
question: import('vue').ComputedRef<IdentifyKeyQuestion | undefined>;
|
|
83
|
+
choices: import('vue').ComputedRef<string[]>;
|
|
84
|
+
submit: () => void;
|
|
85
|
+
priorSessionViews: import('vue').Ref<number>;
|
|
86
|
+
priorAttempts: import('vue').Ref<number>;
|
|
87
|
+
priorAnswers: import('vue').Ref<[import('../../../../../common/dist/index.mjs').Answer, string][]>;
|
|
88
|
+
maxAttemptsPerView: import('vue').Ref<number>;
|
|
89
|
+
maxSessionViews: import('vue').Ref<number>;
|
|
90
|
+
submitAnswer: (answer: import('../../../../../common/dist/index.mjs').Answer, submittingClass?: string) => import('packages/db/dist').QuestionRecord;
|
|
91
|
+
startTime: import('vue').Ref<moment.Moment>;
|
|
92
|
+
hotKeys: import('vue').Ref<import('../../../../../common-ui/dist/common-ui.es.js').HotKey[]>;
|
|
93
|
+
timeSpent: import('vue').ComputedRef<number>;
|
|
94
|
+
logger: import('../../../../../common-ui/dist/common-ui.es.js').ViewableLogger;
|
|
95
|
+
getURL: (item: string, dataShapeIndex?: number) => string;
|
|
96
|
+
emitResponse: (record: import('packages/db/dist').CardRecord) => void;
|
|
97
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
98
|
+
data: ViewData[];
|
|
99
|
+
modifyDifficulty: number;
|
|
100
|
+
}> & Readonly<{}>, {
|
|
101
|
+
modifyDifficulty: number;
|
|
102
|
+
}, {}, {
|
|
103
|
+
RadioMultipleChoice: any;
|
|
104
|
+
MusicScoreRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
105
|
+
abcString: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
required: true;
|
|
108
|
+
};
|
|
109
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
110
|
+
abcString: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
required: true;
|
|
113
|
+
};
|
|
114
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
115
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>[];
|
|
116
|
+
}
|
|
117
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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;;;;;;;;;;;;;qFAFhB,CAAC;qCAnCJ,OACA,MAAI;;;;6CAWiB,CAAC;;;;;;;;;;;;;;;;;;;;2EAyBkB;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;;;;;;;;;;;;;qFAtBT,CAAC;qCAnCJ,OACA,MAAI;;;;6CAWiB,CAAC;;;;;;;;;;;;;;;;;;;;;CAgDvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/typing/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,QAAA,MAAM,MAAM,EAAE,UAAmF,CAAC;AAElG,eAAe,MAAM,CAAC"}
|