@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.
Files changed (186) hide show
  1. package/dist/CourseWare.d.ts +18 -0
  2. package/dist/CourseWare.d.ts.map +1 -0
  3. package/dist/assets/index.css +1 -0
  4. package/dist/chess/chessUtils.d.ts +17 -0
  5. package/dist/chess/chessUtils.d.ts.map +1 -0
  6. package/dist/chess/chessground/anim.d.ts +18 -0
  7. package/dist/chess/chessground/anim.d.ts.map +1 -0
  8. package/dist/chess/chessground/api.d.ts +29 -0
  9. package/dist/chess/chessground/api.d.ts.map +1 -0
  10. package/dist/chess/chessground/autoPieces.d.ts +4 -0
  11. package/dist/chess/chessground/autoPieces.d.ts.map +1 -0
  12. package/dist/chess/chessground/board.d.ts +26 -0
  13. package/dist/chess/chessground/board.d.ts.map +1 -0
  14. package/dist/chess/chessground/chessground.d.ts +8 -0
  15. package/dist/chess/chessground/chessground.d.ts.map +1 -0
  16. package/dist/chess/chessground/config.d.ts +88 -0
  17. package/dist/chess/chessground/config.d.ts.map +1 -0
  18. package/dist/chess/chessground/drag.d.ts +21 -0
  19. package/dist/chess/chessground/drag.d.ts.map +1 -0
  20. package/dist/chess/chessground/draw.d.ts +66 -0
  21. package/dist/chess/chessground/draw.d.ts.map +1 -0
  22. package/dist/chess/chessground/drop.d.ts +6 -0
  23. package/dist/chess/chessground/drop.d.ts.map +1 -0
  24. package/dist/chess/chessground/events.d.ts +5 -0
  25. package/dist/chess/chessground/events.d.ts.map +1 -0
  26. package/dist/chess/chessground/explosion.d.ts +4 -0
  27. package/dist/chess/chessground/explosion.d.ts.map +1 -0
  28. package/dist/chess/chessground/fen.d.ts +5 -0
  29. package/dist/chess/chessground/fen.d.ts.map +1 -0
  30. package/dist/chess/chessground/premove.d.ts +7 -0
  31. package/dist/chess/chessground/premove.d.ts.map +1 -0
  32. package/dist/chess/chessground/render.d.ts +5 -0
  33. package/dist/chess/chessground/render.d.ts.map +1 -0
  34. package/dist/chess/chessground/state.d.ts +101 -0
  35. package/dist/chess/chessground/state.d.ts.map +1 -0
  36. package/dist/chess/chessground/svg.d.ts +9 -0
  37. package/dist/chess/chessground/svg.d.ts.map +1 -0
  38. package/dist/chess/chessground/sync.d.ts +9 -0
  39. package/dist/chess/chessground/sync.d.ts.map +1 -0
  40. package/dist/chess/chessground/types.d.ts +94 -0
  41. package/dist/chess/chessground/types.d.ts.map +1 -0
  42. package/dist/chess/chessground/util.d.ts +21 -0
  43. package/dist/chess/chessground/util.d.ts.map +1 -0
  44. package/dist/chess/chessground/wrap.d.ts +4 -0
  45. package/dist/chess/chessground/wrap.d.ts.map +1 -0
  46. package/dist/chess/components/ChessBoard.vue.d.ts +48 -0
  47. package/dist/chess/components/ChessBoard.vue.d.ts.map +1 -0
  48. package/dist/chess/components/types.d.ts +11 -0
  49. package/dist/chess/components/types.d.ts.map +1 -0
  50. package/dist/chess/composables/useChessEngine.d.ts +303 -0
  51. package/dist/chess/composables/useChessEngine.d.ts.map +1 -0
  52. package/dist/chess/composables/usePromotionDialog.d.ts +38 -0
  53. package/dist/chess/composables/usePromotionDialog.d.ts.map +1 -0
  54. package/dist/chess/index.d.ts +4 -0
  55. package/dist/chess/index.d.ts.map +1 -0
  56. package/dist/chess/questions/forks/forksView.vue.d.ts +52 -0
  57. package/dist/chess/questions/forks/forksView.vue.d.ts.map +1 -0
  58. package/dist/chess/questions/forks/index.d.ts +86 -0
  59. package/dist/chess/questions/forks/index.d.ts.map +1 -0
  60. package/dist/chess/questions/puzzle/index.d.ts +25 -0
  61. package/dist/chess/questions/puzzle/index.d.ts.map +1 -0
  62. package/dist/chess/questions/puzzle/puzzle.vue.d.ts +55 -0
  63. package/dist/chess/questions/puzzle/puzzle.vue.d.ts.map +1 -0
  64. package/dist/components/MusicScoreRender.vue.d.ts +13 -0
  65. package/dist/components/MusicScoreRender.vue.d.ts.map +1 -0
  66. package/dist/default/index.d.ts +4 -0
  67. package/dist/default/index.d.ts.map +1 -0
  68. package/dist/default/questions/fillIn/blanksCorrection.d.ts +3 -0
  69. package/dist/default/questions/fillIn/blanksCorrection.d.ts.map +1 -0
  70. package/dist/default/questions/fillIn/fillIn.vue.d.ts +41 -0
  71. package/dist/default/questions/fillIn/fillIn.vue.d.ts.map +1 -0
  72. package/dist/default/questions/fillIn/index.d.ts +105 -0
  73. package/dist/default/questions/fillIn/index.d.ts.map +1 -0
  74. package/dist/french/index.d.ts +4 -0
  75. package/dist/french/index.d.ts.map +1 -0
  76. package/dist/french/questions/audioparse/index.d.ts +65 -0
  77. package/dist/french/questions/audioparse/index.d.ts.map +1 -0
  78. package/dist/french/questions/audioparse/view.vue.d.ts +31 -0
  79. package/dist/french/questions/audioparse/view.vue.d.ts.map +1 -0
  80. package/dist/french/questions/vocab/identify.vue.d.ts +27 -0
  81. package/dist/french/questions/vocab/identify.vue.d.ts.map +1 -0
  82. package/dist/french/questions/vocab/index.d.ts +54 -0
  83. package/dist/french/questions/vocab/index.d.ts.map +1 -0
  84. package/dist/index.cjs.js +75 -0
  85. package/dist/index.cjs.js.map +1 -0
  86. package/dist/index.d.ts +86 -0
  87. package/dist/index.d.ts.map +1 -0
  88. package/dist/index.mjs +63128 -0
  89. package/dist/index.mjs.map +1 -0
  90. package/dist/math/index.d.ts +4 -0
  91. package/dist/math/index.d.ts.map +1 -0
  92. package/dist/math/questions/addition/horizontal.vue.d.ts +46 -0
  93. package/dist/math/questions/addition/horizontal.vue.d.ts.map +1 -0
  94. package/dist/math/questions/addition/index.d.ts +24 -0
  95. package/dist/math/questions/addition/index.d.ts.map +1 -0
  96. package/dist/math/questions/addition/verbal.vue.d.ts +46 -0
  97. package/dist/math/questions/addition/verbal.vue.d.ts.map +1 -0
  98. package/dist/math/questions/angleCategorize/angleCategorize.vue.d.ts +30 -0
  99. package/dist/math/questions/angleCategorize/angleCategorize.vue.d.ts.map +1 -0
  100. package/dist/math/questions/angleCategorize/index.d.ts +76 -0
  101. package/dist/math/questions/angleCategorize/index.d.ts.map +1 -0
  102. package/dist/math/questions/countBy/default.vue.d.ts +29 -0
  103. package/dist/math/questions/countBy/default.vue.d.ts.map +1 -0
  104. package/dist/math/questions/countBy/index.d.ts +81 -0
  105. package/dist/math/questions/countBy/index.d.ts.map +1 -0
  106. package/dist/math/questions/division/horizontal.vue.d.ts +31 -0
  107. package/dist/math/questions/division/horizontal.vue.d.ts.map +1 -0
  108. package/dist/math/questions/division/index.d.ts +75 -0
  109. package/dist/math/questions/division/index.d.ts.map +1 -0
  110. package/dist/math/questions/equalityTest/index.d.ts +77 -0
  111. package/dist/math/questions/equalityTest/index.d.ts.map +1 -0
  112. package/dist/math/questions/equalityTest/trueFalse.vue.d.ts +33 -0
  113. package/dist/math/questions/equalityTest/trueFalse.vue.d.ts.map +1 -0
  114. package/dist/math/questions/multiplication/blorizontal.vue.d.ts +31 -0
  115. package/dist/math/questions/multiplication/blorizontal.vue.d.ts.map +1 -0
  116. package/dist/math/questions/multiplication/index.d.ts +71 -0
  117. package/dist/math/questions/multiplication/index.d.ts.map +1 -0
  118. package/dist/math/questions/multiplication/verbal.vue.d.ts +31 -0
  119. package/dist/math/questions/multiplication/verbal.vue.d.ts.map +1 -0
  120. package/dist/math/questions/oneStepEqn/index.d.ts +82 -0
  121. package/dist/math/questions/oneStepEqn/index.d.ts.map +1 -0
  122. package/dist/math/questions/oneStepEqn/solve.vue.d.ts +32 -0
  123. package/dist/math/questions/oneStepEqn/solve.vue.d.ts.map +1 -0
  124. package/dist/math/questions/supplementaryAngles/index.d.ts +72 -0
  125. package/dist/math/questions/supplementaryAngles/index.d.ts.map +1 -0
  126. package/dist/math/questions/supplementaryAngles/supplementaryAngles.vue.d.ts +31 -0
  127. package/dist/math/questions/supplementaryAngles/supplementaryAngles.vue.d.ts.map +1 -0
  128. package/dist/math/utility/Fraction.d.ts +18 -0
  129. package/dist/math/utility/Fraction.d.ts.map +1 -0
  130. package/dist/math/utility/index.d.ts +19 -0
  131. package/dist/math/utility/index.d.ts.map +1 -0
  132. package/dist/piano/NoteDisplay.vue.d.ts +25 -0
  133. package/dist/piano/NoteDisplay.vue.d.ts.map +1 -0
  134. package/dist/piano/index.d.ts +4 -0
  135. package/dist/piano/index.d.ts.map +1 -0
  136. package/dist/piano/questions/echo/Playback.vue.d.ts +369 -0
  137. package/dist/piano/questions/echo/Playback.vue.d.ts.map +1 -0
  138. package/dist/piano/questions/echo/index.d.ts +744 -0
  139. package/dist/piano/questions/echo/index.d.ts.map +1 -0
  140. package/dist/piano/questions/playNote/NotePlayback.vue.d.ts +208 -0
  141. package/dist/piano/questions/playNote/NotePlayback.vue.d.ts.map +1 -0
  142. package/dist/piano/questions/playNote/index.d.ts +419 -0
  143. package/dist/piano/questions/playNote/index.d.ts.map +1 -0
  144. package/dist/piano/utility/MidiConfig.vue.d.ts +113 -0
  145. package/dist/piano/utility/MidiConfig.vue.d.ts.map +1 -0
  146. package/dist/piano/utility/PianoRangeVisualizer.vue.d.ts +41 -0
  147. package/dist/piano/utility/PianoRangeVisualizer.vue.d.ts.map +1 -0
  148. package/dist/piano/utility/SyllableSeqVis.vue.d.ts +36 -0
  149. package/dist/piano/utility/SyllableSeqVis.vue.d.ts.map +1 -0
  150. package/dist/piano/utility/midi.d.ts +82 -0
  151. package/dist/piano/utility/midi.d.ts.map +1 -0
  152. package/dist/pitch/index.d.ts +4 -0
  153. package/dist/pitch/index.d.ts.map +1 -0
  154. package/dist/pitch/questions/indentify/index.d.ts +76 -0
  155. package/dist/pitch/questions/indentify/index.d.ts.map +1 -0
  156. package/dist/pitch/questions/indentify/textBox.vue.d.ts +31 -0
  157. package/dist/pitch/questions/indentify/textBox.vue.d.ts.map +1 -0
  158. package/dist/sightsing/index.d.ts +4 -0
  159. package/dist/sightsing/index.d.ts.map +1 -0
  160. package/dist/sightsing/questions/IdentifyKey/IdentifyKey.vue.d.ts +43 -0
  161. package/dist/sightsing/questions/IdentifyKey/IdentifyKey.vue.d.ts.map +1 -0
  162. package/dist/sightsing/questions/IdentifyKey/index.d.ts +117 -0
  163. package/dist/sightsing/questions/IdentifyKey/index.d.ts.map +1 -0
  164. package/dist/typing/index.d.ts +4 -0
  165. package/dist/typing/index.d.ts.map +1 -0
  166. package/dist/typing/questions/falling-letters/FallingLetters.vue.d.ts +62 -0
  167. package/dist/typing/questions/falling-letters/FallingLetters.vue.d.ts.map +1 -0
  168. package/dist/typing/questions/falling-letters/index.d.ts +144 -0
  169. package/dist/typing/questions/falling-letters/index.d.ts.map +1 -0
  170. package/dist/typing/questions/falling-letters/types.d.ts +13 -0
  171. package/dist/typing/questions/falling-letters/types.d.ts.map +1 -0
  172. package/dist/typing/questions/single-letter/index.d.ts +67 -0
  173. package/dist/typing/questions/single-letter/index.d.ts.map +1 -0
  174. package/dist/typing/questions/single-letter/typeSingleLetter.vue.d.ts +28 -0
  175. package/dist/typing/questions/single-letter/typeSingleLetter.vue.d.ts.map +1 -0
  176. package/dist/word-work/ankiCardGen/data.d.ts +63 -0
  177. package/dist/word-work/ankiCardGen/data.d.ts.map +1 -0
  178. package/dist/word-work/index.d.ts +4 -0
  179. package/dist/word-work/index.d.ts.map +1 -0
  180. package/dist/word-work/questions/spelling/index.d.ts +69 -0
  181. package/dist/word-work/questions/spelling/index.d.ts.map +1 -0
  182. package/dist/word-work/questions/spelling/textBox.vue.d.ts +32 -0
  183. package/dist/word-work/questions/spelling/textBox.vue.d.ts.map +1 -0
  184. package/package.json +60 -0
  185. package/src/logic.d.ts +26 -0
  186. package/src/logic.js +202 -0
@@ -0,0 +1,86 @@
1
+ import { Question, ViewComponent } from '../../../../../common-ui/dist/common-ui.es.js';
2
+ import { DataShape, ViewData } from '../../../../../common/dist/index.mjs';
3
+ import { Piece as cjsPiece } from 'chess.js';
4
+ import { Key } from '../../chessground/types';
5
+ export interface ForkPosition {
6
+ fen: string;
7
+ solutions: Key[];
8
+ pieceType: cjsPiece;
9
+ value: number;
10
+ }
11
+ export declare class ForkFinder extends Question {
12
+ static dataShapes: DataShape[];
13
+ static views: import('vue').DefineComponent<{
14
+ data: ViewData[];
15
+ modifyDifficulty?: number;
16
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
17
+ [x: string]: never;
18
+ }, string, import('vue').PublicProps, Readonly<{
19
+ data: ViewData[];
20
+ modifyDifficulty?: number;
21
+ }> & Readonly<{
22
+ [x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
23
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
24
+ chessboard: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
25
+ position: import('../../components/types').ChessPosition;
26
+ config?: import('../../chessground/config').Config;
27
+ showCoordinates?: boolean;
28
+ animations?: import('../../components/ChessBoard.vue').AnimationMove[];
29
+ }> & Readonly<{
30
+ onMove?: ((move: import('../../components/types').Move) => any) | undefined;
31
+ "onPosition-change"?: ((position: import('../../components/types').ChessPosition) => any) | undefined;
32
+ }>, {
33
+ playAnimations: (moves: import('../../components/ChessBoard.vue').AnimationMove[]) => Promise<void> | void;
34
+ showMoves: (sm: import('../../components/ChessBoard.vue').ShowMoves) => Promise<void> | void;
35
+ updateConfig: (config: import('../../chessground/config').Config) => void;
36
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
37
+ move: (move: import('../../components/types').Move) => any;
38
+ "position-change": (position: import('../../components/types').ChessPosition) => any;
39
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
40
+ boardElement: HTMLDivElement;
41
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
42
+ P: {};
43
+ B: {};
44
+ D: {};
45
+ C: {};
46
+ M: {};
47
+ Defaults: {};
48
+ }, Readonly<{
49
+ position: import('../../components/types').ChessPosition;
50
+ config?: import('../../chessground/config').Config;
51
+ showCoordinates?: boolean;
52
+ animations?: import('../../components/ChessBoard.vue').AnimationMove[];
53
+ }> & Readonly<{
54
+ onMove?: ((move: import('../../components/types').Move) => any) | undefined;
55
+ "onPosition-change"?: ((position: import('../../components/types').ChessPosition) => any) | undefined;
56
+ }>, {
57
+ playAnimations: (moves: import('../../components/ChessBoard.vue').AnimationMove[]) => Promise<void> | void;
58
+ showMoves: (sm: import('../../components/ChessBoard.vue').ShowMoves) => Promise<void> | void;
59
+ updateConfig: (config: import('../../chessground/config').Config) => void;
60
+ }, {}, {}, {}, {}> | null;
61
+ }, HTMLDivElement>[];
62
+ static acceptsUserData: boolean;
63
+ private positions;
64
+ private currentPositionIndex;
65
+ private pieceType;
66
+ private playerColor;
67
+ dataShapes(): DataShape[];
68
+ playerPiece(): cjsPiece;
69
+ views(): ViewComponent[];
70
+ constructor(data: ViewData[]);
71
+ private generatePositions;
72
+ private placeEnemyPieces;
73
+ /**
74
+ *
75
+ * @param chess The board with enemy pieces placed
76
+ * @returns a list of safe squares to place the attacking piece to fork the enemy pieces
77
+ */
78
+ private findSolutions;
79
+ private chooseRandomEnemyPiece;
80
+ private chooseAttackerPosition;
81
+ getCurrentPosition(): ForkPosition;
82
+ private shuffleArray;
83
+ protected isCorrect(answer: string[]): boolean;
84
+ protected displayedSkill(answer: string[], timeSpent: number): number;
85
+ }
86
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/chess/questions/forks/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAS,KAAK,IAAI,QAAQ,EAA8B,MAAM,UAAU,CAAC;AAIhF,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAE9C,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,SAAS,EAAE,QAAQ,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf;AAyBD,qBAAa,UAAW,SAAQ,QAAQ;IACtC,OAAc,UAAU,EAAE,SAAS,EAAE,CAAoB;IACzD,OAAc,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAe;IAClC,OAAc,eAAe,UAAS;IAEtC,OAAO,CAAC,SAAS,CAAiB;IAClC,OAAO,CAAC,oBAAoB,CAAa;IAGzC,OAAO,CAAC,SAAS,CAAW;IAE5B,OAAO,CAAC,WAAW,CAA0C;IAEtD,UAAU,IAAI,SAAS,EAAE;IAIzB,WAAW,IAAI,QAAQ;IAIvB,KAAK,IAAI,aAAa,EAAE;gBAInB,IAAI,EAAE,QAAQ,EAAE;IAe5B,OAAO,CAAC,iBAAiB;IA0CzB,OAAO,CAAC,gBAAgB;IA+ExB;;;;OAIG;IACH,OAAO,CAAC,aAAa;IA0DrB,OAAO,CAAC,sBAAsB;IA6B9B,OAAO,CAAC,sBAAsB;IA8DvB,kBAAkB,IAAI,YAAY;IAIzC,OAAO,CAAC,YAAY;IAQpB,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO;IAW9C,SAAS,CAAC,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM;CAOtE"}
@@ -0,0 +1,25 @@
1
+ import { Question, ViewComponent } from '../../../../../common-ui/dist/common-ui.es.js';
2
+ import { Answer, DataShape, ViewData } from '../../../../../common/dist/index.mjs';
3
+ import { Key as cgKey } from '../../chessground/types';
4
+ export declare class ChessPuzzle extends Question {
5
+ static dataShapes: DataShape[];
6
+ static views: ViewComponent[];
7
+ static acceptsUserData: boolean;
8
+ static readonly CHECKMATE = "CHECKMATE";
9
+ fen: string;
10
+ id: string;
11
+ moves: string[];
12
+ rating: number;
13
+ themes: string[];
14
+ constructor(data: ViewData[]);
15
+ checkMove: (orig: cgKey, dest: cgKey) => boolean;
16
+ evaluate(a: Answer, t: number): {
17
+ isCorrect: boolean;
18
+ performance: number;
19
+ };
20
+ displayedSkill(a: Answer, t: number): number;
21
+ dataShapes(): DataShape[];
22
+ views(): Array<ViewComponent>;
23
+ isCorrect(a: Answer): boolean;
24
+ }
25
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/chess/questions/puzzle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EACL,MAAM,EACN,SAAS,EACT,QAAQ,EAIT,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,GAAG,IAAI,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEvD,qBAAa,WAAY,SAAQ,QAAQ;IACvC,OAAc,UAAU,EAAE,SAAS,EAAE,CAwCnC;IACF,OAAc,KAAK,EAAE,aAAa,EAAE,CAAgB;IACpD,OAAc,eAAe,EAAE,OAAO,CAAQ;IAE9C,gBAAuB,SAAS,eAAe;IAExC,GAAG,EAAE,MAAM,CAAC;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;gBAEL,IAAI,EAAE,QAAQ,EAAE;IAYrB,SAAS,SAAU,KAAK,QAAQ,KAAK,aAU1C;IAEF,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;;;;IAM7B,cAAc,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IAYnC,UAAU;IAIV,KAAK,IAAI,KAAK,CAAC,aAAa,CAAC;IAI7B,SAAS,CAAC,CAAC,EAAE,MAAM;CAMpB"}
@@ -0,0 +1,55 @@
1
+ import { PropType } from 'vue';
2
+ import { ChessPuzzle } from './index';
3
+ import { ViewData } from '../../../../../common/dist/index.mjs';
4
+ type PromotionPiece = 'q' | 'r' | 'b' | 'n';
5
+ type Color = 'cg-white' | 'cg-black';
6
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
+ data: {
8
+ type: PropType<ViewData[]>;
9
+ required: true;
10
+ };
11
+ modifyDifficulty: {
12
+ type: NumberConstructor;
13
+ required: false;
14
+ default: number;
15
+ };
16
+ }>, {
17
+ priorSessionViews: import('vue').Ref<number>;
18
+ priorAttempts: import('vue').Ref<number>;
19
+ priorAnswers: import('vue').Ref<[import('../../../../../common/dist/index.mjs').Answer, string][]>;
20
+ maxAttemptsPerView: import('vue').Ref<number>;
21
+ maxSessionViews: import('vue').Ref<number>;
22
+ question: import('vue').Ref<ChessPuzzle | undefined, ChessPuzzle | undefined>;
23
+ submitAnswer: (answer: import('../../../../../common/dist/index.mjs').Answer, submittingClass?: string) => import('packages/db/dist').QuestionRecord;
24
+ startTime: import('vue').Ref<moment.Moment>;
25
+ hotKeys: import('vue').Ref<import('../../../../../common-ui/dist/common-ui.es.js').HotKey[]>;
26
+ timeSpent: import('vue').ComputedRef<number>;
27
+ logger: import('../../../../../common-ui/dist/common-ui.es.js').ViewableLogger;
28
+ getURL: (item: string, dataShapeIndex?: number) => string;
29
+ emitResponse: (record: import('packages/db/dist').CardRecord) => void;
30
+ boardElement: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
31
+ playerColor: import('vue').Ref<Color, Color>;
32
+ files: import('vue').ComputedRef<string[]>;
33
+ showPromotionDialog: import('vue').Ref<boolean, boolean>;
34
+ promotionPieces: {
35
+ value: string;
36
+ name: string;
37
+ whiteSymbol: string;
38
+ blackSymbol: string;
39
+ }[];
40
+ handlePromotion: (promotionPiece: PromotionPiece | string) => void;
41
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
42
+ data: {
43
+ type: PropType<ViewData[]>;
44
+ required: true;
45
+ };
46
+ modifyDifficulty: {
47
+ type: NumberConstructor;
48
+ required: false;
49
+ default: number;
50
+ };
51
+ }>> & Readonly<{}>, {
52
+ modifyDifficulty: number;
53
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
54
+ export default _default;
55
+ //# sourceMappingURL=puzzle.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"puzzle.vue.d.ts","sourceRoot":"","sources":["../../../../src/chess/questions/puzzle/puzzle.vue"],"names":[],"mappings":"AAyBA;AAgXA,OAAO,EAA0D,QAAQ,EAAE,MAAM,KAAK,CAAC;AAKvF,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,KAAK,cAAc,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAC5C,KAAK,KAAK,GAAG,UAAU,GAAG,UAAU,CAAC;;;cA4ChB,QAAQ,CAAC,QAAQ,EAAE,CAAC;;;;;;;;;;;;;;;iFAvDzC,CApVO;iCAoVP,OAAA,MAxW0C;;;;yCAwW1C,CArWuB;;;;;;;;;;;;sCA6dsB,cAAc,GAAG,MAAM;;;cAjE/C,QAAQ,CAAC,QAAQ,EAAE,CAAC;;;;;;;;;;;AALzC,wBA6LG"}
@@ -0,0 +1,13 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ abcString: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
+ abcString: {
8
+ type: StringConstructor;
9
+ required: true;
10
+ };
11
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ export default _default;
13
+ //# sourceMappingURL=MusicScoreRender.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MusicScoreRender.vue.d.ts","sourceRoot":"","sources":["../../src/components/MusicScoreRender.vue"],"names":[],"mappings":"AAGA;;;;;;;;;;;;AAmCA,wBAaG"}
@@ -0,0 +1,4 @@
1
+ import { CourseWare } from '../CourseWare';
2
+ declare const defaultCourse: CourseWare;
3
+ export default defaultCourse;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/default/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,QAAA,MAAM,aAAa,EAAE,UAAoD,CAAC;AAE1E,eAAe,aAAa,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare function gradeSpellingAttempt(attempt: string, answer: string): string;
2
+ export default gradeSpellingAttempt;
3
+ //# sourceMappingURL=blanksCorrection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blanksCorrection.d.ts","sourceRoot":"","sources":["../../../../src/default/questions/fillIn/blanksCorrection.ts"],"names":[],"mappings":"AAEA,iBAAS,oBAAoB,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAwCrE;AAED,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,41 @@
1
+ import { BlanksCard } 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
+ question: import('vue').ComputedRef<BlanksCard>;
8
+ truncatedOptions: import('vue').ComputedRef<string[] | undefined>;
9
+ hasImage: import('vue').ComputedRef<boolean>;
10
+ imageURLs: import('vue').ComputedRef<string[]>;
11
+ hasAudio: import('vue').ComputedRef<boolean>;
12
+ audioURL: import('vue').ComputedRef<string[]>;
13
+ obscuredAnswer: import('vue').ComputedRef<string>;
14
+ someAnswer: import('vue').ComputedRef<string>;
15
+ isQuestion: import('vue').ComputedRef<boolean>;
16
+ handleNext: () => void;
17
+ markdownText: import('vue').ComputedRef<string>;
18
+ priorSessionViews: import('vue').Ref<number>;
19
+ priorAttempts: import('vue').Ref<number>;
20
+ priorAnswers: import('vue').Ref<[import('../../../../../common/dist/index.mjs').Answer, string][]>;
21
+ maxAttemptsPerView: import('vue').Ref<number>;
22
+ maxSessionViews: import('vue').Ref<number>;
23
+ submitAnswer: (answer: import('../../../../../common/dist/index.mjs').Answer, submittingClass?: string) => import('packages/db/dist').QuestionRecord;
24
+ startTime: import('vue').Ref<moment.Moment>;
25
+ hotKeys: import('vue').Ref<import('../../../../../common-ui/dist/common-ui.es.js').HotKey[]>;
26
+ timeSpent: import('vue').ComputedRef<number>;
27
+ logger: import('../../../../../common-ui/dist/common-ui.es.js').ViewableLogger;
28
+ getURL: (item: string, dataShapeIndex?: number) => string;
29
+ emitResponse: (record: import('packages/db/dist').CardRecord) => void;
30
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
31
+ data: ViewData[];
32
+ modifyDifficulty: number;
33
+ }> & Readonly<{}>, {
34
+ modifyDifficulty: number;
35
+ }, {}, {
36
+ MarkdownRenderer: any;
37
+ RadioMultipleChoice: any;
38
+ AudioAutoPlayer: any;
39
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
40
+ export default _default;
41
+ //# sourceMappingURL=fillIn.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fillIn.vue.d.ts","sourceRoot":"","sources":["../../../../src/default/questions/fillIn/fillIn.vue"],"names":[],"mappings":"AAqBA;AA6QA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;;iFALhD,CAlPoG;iCAkPpG,OAAA,MAlQM;;;;yCAkQN,CAjQwD;;;;;;;;;;;;AAwQxD,wBAsNG"}
@@ -0,0 +1,105 @@
1
+ import { Question } from '../../../../../common-ui/dist/common-ui.es.js';
2
+ import { Answer, DataShape, ViewData } from '../../../../../common/dist/index.mjs';
3
+ import { Tokens } from 'marked';
4
+ export declare const BlanksCardDataShapes: DataShape[];
5
+ type fillInSectionType = 'text' | 'blank';
6
+ export interface FillInSection {
7
+ type: fillInSectionType;
8
+ text: string;
9
+ }
10
+ export declare class BlanksCard extends Question {
11
+ static dataShapes: DataShape[];
12
+ static views: import('vue').DefineComponent<{
13
+ data: ViewData[];
14
+ modifyDifficulty: number;
15
+ }, {
16
+ question: import('vue').ComputedRef<BlanksCard>;
17
+ truncatedOptions: import('vue').ComputedRef<string[] | undefined>;
18
+ hasImage: import('vue').ComputedRef<boolean>;
19
+ imageURLs: import('vue').ComputedRef<string[]>;
20
+ hasAudio: import('vue').ComputedRef<boolean>;
21
+ audioURL: import('vue').ComputedRef<string[]>;
22
+ obscuredAnswer: import('vue').ComputedRef<string>;
23
+ someAnswer: import('vue').ComputedRef<string>;
24
+ isQuestion: import('vue').ComputedRef<boolean>;
25
+ handleNext: () => void;
26
+ markdownText: import('vue').ComputedRef<string>;
27
+ priorSessionViews: import('vue').Ref<number>;
28
+ priorAttempts: import('vue').Ref<number>;
29
+ priorAnswers: import('vue').Ref<[Answer, string][]>;
30
+ maxAttemptsPerView: import('vue').Ref<number>;
31
+ maxSessionViews: import('vue').Ref<number>;
32
+ submitAnswer: (answer: Answer, submittingClass?: string) => import('packages/db/dist').QuestionRecord;
33
+ startTime: import('vue').Ref<moment.Moment>;
34
+ hotKeys: import('vue').Ref<import('../../../../../common-ui/dist/common-ui.es.js').HotKey[]>;
35
+ timeSpent: import('vue').ComputedRef<number>;
36
+ logger: import('../../../../../common-ui/dist/common-ui.es.js').ViewableLogger;
37
+ getURL: (item: string, dataShapeIndex?: number) => string;
38
+ emitResponse: (record: import('packages/db/dist').CardRecord) => void;
39
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
40
+ data: ViewData[];
41
+ modifyDifficulty: number;
42
+ }> & Readonly<{}>, {
43
+ modifyDifficulty: number;
44
+ }, {}, {
45
+ MarkdownRenderer: any;
46
+ RadioMultipleChoice: any;
47
+ AudioAutoPlayer: any;
48
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>[];
49
+ mdText: string;
50
+ answers: string[] | null;
51
+ options: string[] | null;
52
+ splitTextToken(token: Tokens.Text): Tokens.Text[];
53
+ /**
54
+ * Parses a string to extract answer options and distractors for a fill-in question.
55
+ * The input string must be wrapped in curly braces and can contain multiple answers/distractors separated by | and ||.
56
+ * For example: "{{answer1|answer2||distractor1|distractor2}}"
57
+ * @param s The input string containing answers and optional distractors
58
+ * @returns An object containing the parsed answers array and shuffled options array (or null if no distractors)
59
+ * @throws Error if input string is not properly formatted with {{ }}
60
+ */
61
+ private optionsFromString;
62
+ constructor(data: ViewData[]);
63
+ isCorrect(answer: Answer): boolean;
64
+ dataShapes(): DataShape[];
65
+ views(): import('vue').DefineComponent<{
66
+ data: ViewData[];
67
+ modifyDifficulty: number;
68
+ }, {
69
+ question: import('vue').ComputedRef<BlanksCard>;
70
+ truncatedOptions: import('vue').ComputedRef<string[] | undefined>;
71
+ hasImage: import('vue').ComputedRef<boolean>;
72
+ imageURLs: import('vue').ComputedRef<string[]>;
73
+ hasAudio: import('vue').ComputedRef<boolean>;
74
+ audioURL: import('vue').ComputedRef<string[]>;
75
+ obscuredAnswer: import('vue').ComputedRef<string>;
76
+ someAnswer: import('vue').ComputedRef<string>;
77
+ isQuestion: import('vue').ComputedRef<boolean>;
78
+ handleNext: () => void;
79
+ markdownText: import('vue').ComputedRef<string>;
80
+ priorSessionViews: import('vue').Ref<number>;
81
+ priorAttempts: import('vue').Ref<number>;
82
+ priorAnswers: import('vue').Ref<[Answer, string][]>;
83
+ maxAttemptsPerView: import('vue').Ref<number>;
84
+ maxSessionViews: import('vue').Ref<number>;
85
+ submitAnswer: (answer: Answer, submittingClass?: string) => import('packages/db/dist').QuestionRecord;
86
+ startTime: import('vue').Ref<moment.Moment>;
87
+ hotKeys: import('vue').Ref<import('../../../../../common-ui/dist/common-ui.es.js').HotKey[]>;
88
+ timeSpent: import('vue').ComputedRef<number>;
89
+ logger: import('../../../../../common-ui/dist/common-ui.es.js').ViewableLogger;
90
+ getURL: (item: string, dataShapeIndex?: number) => string;
91
+ emitResponse: (record: import('packages/db/dist').CardRecord) => void;
92
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
93
+ data: ViewData[];
94
+ modifyDifficulty: number;
95
+ }> & Readonly<{}>, {
96
+ modifyDifficulty: number;
97
+ }, {}, {
98
+ MarkdownRenderer: any;
99
+ RadioMultipleChoice: any;
100
+ AudioAutoPlayer: any;
101
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>[];
102
+ private isCorrectRadio;
103
+ }
104
+ export {};
105
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/default/questions/fillIn/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAwC,MAAM,yBAAyB,CAAC;AACzF,OAAO,EAAE,MAAM,EAA6B,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACpF,OAAO,EAAa,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAI3D,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAGhC,eAAO,MAAM,oBAAoB,EAAE,SAAS,EAc3C,CAAC;AA6BF,KAAK,iBAAiB,GAAG,MAAM,GAAG,OAAO,CAAC;AAE1C,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,iBAAiB,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;CACd;AAqBD,qBAAa,UAAW,SAAQ,QAAQ;IACtC,OAAc,UAAU,cAAwB;IAChD,OAAc,KAAK;;;;;;;;;;;;;;;;;;;;sDA9CC,CAAC;qCA9BqB,OAAO,MAAM;;;;6CAKlC,CAAC;;;;;;;;;;;2EAuEa;IAC5B,MAAM,EAAE,MAAM,CAAM;IAEpB,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,CAAQ;IAChC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,CAAQ;IAEhC,cAAc,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,EAAE;IAmCxD;;;;;;;OAOG;IACH,OAAO,CAAC,iBAAiB;gBA6Bb,IAAI,EAAE,QAAQ,EAAE;IA0BrB,SAAS,CAAC,MAAM,EAAE,MAAM;IA0BxB,UAAU;IAGV,KAAK;;;;;;;;;;;;;;;;;;;;sDAnLQ,CAAC;qCA9BqB,OAAO,MAAM;;;;6CAKlC,CAAC;;;;;;;;;;;;IAgNtB,OAAO,CAAC,cAAc;CAOvB"}
@@ -0,0 +1,4 @@
1
+ import { CourseWare } from '../CourseWare';
2
+ declare const french: CourseWare;
3
+ export default french;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/french/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,QAAA,MAAM,MAAM,EAAE,UAA4E,CAAC;AAE3F,eAAe,MAAM,CAAC"}
@@ -0,0 +1,65 @@
1
+ import { Question } from '../../../../../common-ui/dist/common-ui.es.js';
2
+ import { Answer, ViewData, DataShape } from '../../../../../common/dist/index.mjs';
3
+ export declare class AudioParsingQuestion extends Question {
4
+ static dataShapes: DataShape[];
5
+ static views: import('vue').DefineComponent<{
6
+ data: ViewData[];
7
+ modifyDifficulty: number;
8
+ }, {
9
+ answer: import('vue').Ref<string, string>;
10
+ question: import('vue').ComputedRef<AudioParsingQuestion | undefined>;
11
+ submit: () => void;
12
+ priorSessionViews: import('vue').Ref<number>;
13
+ priorAttempts: import('vue').Ref<number>;
14
+ priorAnswers: import('vue').Ref<[Answer, string][]>;
15
+ maxAttemptsPerView: import('vue').Ref<number>;
16
+ maxSessionViews: import('vue').Ref<number>;
17
+ submitAnswer: (answer: Answer, submittingClass?: string) => import('packages/db/dist').QuestionRecord;
18
+ startTime: import('vue').Ref<moment.Moment>;
19
+ hotKeys: import('vue').Ref<import('../../../../../common-ui/dist/common-ui.es.js').HotKey[]>;
20
+ timeSpent: import('vue').ComputedRef<number>;
21
+ logger: import('../../../../../common-ui/dist/common-ui.es.js').ViewableLogger;
22
+ getURL: (item: string, dataShapeIndex?: number) => string;
23
+ emitResponse: (record: import('packages/db/dist').CardRecord) => void;
24
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
25
+ data: ViewData[];
26
+ modifyDifficulty: number;
27
+ }> & Readonly<{}>, {
28
+ modifyDifficulty: number;
29
+ }, {}, {
30
+ AudioAutoPlayer: any;
31
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>[];
32
+ audio: Blob;
33
+ text: string;
34
+ constructor(data: ViewData[]);
35
+ isCorrect(answer: Answer): boolean;
36
+ dataShapes(): DataShape[];
37
+ views(): import('vue').DefineComponent<{
38
+ data: ViewData[];
39
+ modifyDifficulty: number;
40
+ }, {
41
+ answer: import('vue').Ref<string, string>;
42
+ question: import('vue').ComputedRef<AudioParsingQuestion | undefined>;
43
+ submit: () => void;
44
+ priorSessionViews: import('vue').Ref<number>;
45
+ priorAttempts: import('vue').Ref<number>;
46
+ priorAnswers: import('vue').Ref<[Answer, string][]>;
47
+ maxAttemptsPerView: import('vue').Ref<number>;
48
+ maxSessionViews: import('vue').Ref<number>;
49
+ submitAnswer: (answer: Answer, submittingClass?: string) => import('packages/db/dist').QuestionRecord;
50
+ startTime: import('vue').Ref<moment.Moment>;
51
+ hotKeys: import('vue').Ref<import('../../../../../common-ui/dist/common-ui.es.js').HotKey[]>;
52
+ timeSpent: import('vue').ComputedRef<number>;
53
+ logger: import('../../../../../common-ui/dist/common-ui.es.js').ViewableLogger;
54
+ getURL: (item: string, dataShapeIndex?: number) => string;
55
+ emitResponse: (record: import('packages/db/dist').CardRecord) => void;
56
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
57
+ data: ViewData[];
58
+ modifyDifficulty: number;
59
+ }> & Readonly<{}>, {
60
+ modifyDifficulty: number;
61
+ }, {}, {
62
+ AudioAutoPlayer: any;
63
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>[];
64
+ }
65
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/french/questions/audioparse/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAiB,MAAM,EAAa,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAElF,OAAO,EAAE,SAAS,EAAU,MAAM,sBAAsB,CAAC;AAEzD,qBAAa,oBAAqB,SAAQ,QAAQ;IAChD,OAAc,UAAU,EAAE,SAAS,EAAE,CAuBnC;IACF,OAAc,KAAK;;;;;;;;;;;;sDAWZ,CAAC;qCAlCN,OACE,MAAE;;;;6CAMA,CAAH;;;;;;;;;2EAgBoC;IAEhC,KAAK,EAAE,IAAI,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;gBAER,IAAI,EAAE,QAAQ,EAAE;IAMrB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO;IAIlC,UAAU;IAGV,KAAK;;;;;;;;;;;;sDAPL,CAAC;qCAlCN,OACE,MAAE;;;;6CAMA,CAAH;;;;;;;;;;CAqCJ"}
@@ -0,0 +1,31 @@
1
+ import { AudioParsingQuestion } 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<AudioParsingQuestion | 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
+ AudioAutoPlayer: any;
29
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
30
+ export default _default;
31
+ //# sourceMappingURL=view.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view.vue.d.ts","sourceRoot":"","sources":["../../../../src/french/questions/audioparse/view.vue"],"names":[],"mappings":"AASA;AAmEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE/C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;;iFAHhD,CAxBwE;iCAwBxE,OAAA,MArDE;;;;yCAqDF,CAlDA;;;;;;;;;;AAuDA,wBA8CG"}
@@ -0,0 +1,27 @@
1
+ import { VocabQuestion } from '.';
2
+ import { ViewData } from '../../../../../common/dist/index.mjs';
3
+ declare const _default: import('vue').DefineComponent<{
4
+ data: ViewData[];
5
+ modifyDifficulty: number;
6
+ }, {
7
+ question: import('vue').ComputedRef<VocabQuestion | undefined>;
8
+ priorSessionViews: import('vue').Ref<number>;
9
+ priorAttempts: import('vue').Ref<number>;
10
+ priorAnswers: import('vue').Ref<[import('../../../../../common/dist/index.mjs').Answer, string][]>;
11
+ maxAttemptsPerView: import('vue').Ref<number>;
12
+ maxSessionViews: import('vue').Ref<number>;
13
+ submitAnswer: (answer: import('../../../../../common/dist/index.mjs').Answer, submittingClass?: string) => import('packages/db/dist').QuestionRecord;
14
+ startTime: import('vue').Ref<moment.Moment>;
15
+ hotKeys: import('vue').Ref<import('../../../../../common-ui/dist/common-ui.es.js').HotKey[]>;
16
+ timeSpent: import('vue').ComputedRef<number>;
17
+ logger: import('../../../../../common-ui/dist/common-ui.es.js').ViewableLogger;
18
+ getURL: (item: string, dataShapeIndex?: number) => string;
19
+ emitResponse: (record: import('packages/db/dist').CardRecord) => void;
20
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
21
+ data: ViewData[];
22
+ modifyDifficulty: number;
23
+ }> & Readonly<{}>, {
24
+ modifyDifficulty: number;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
26
+ export default _default;
27
+ //# sourceMappingURL=identify.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"identify.vue.d.ts","sourceRoot":"","sources":["../../../../src/french/questions/vocab/identify.vue"],"names":[],"mappings":"AAKA;AAwDA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;iFAHhD,CAhBI;iCAgBJ,OAAA,MA7CmD;;;;yCA6CnD,CA3CuE;;;;;;;;AAkDvE,wBAoCG"}
@@ -0,0 +1,54 @@
1
+ import { Question } from '../../../../../common-ui/dist/common-ui.es.js';
2
+ import { Answer, DataShape } from '../../../../../common/dist/index.mjs';
3
+ export declare class VocabQuestion extends Question {
4
+ static dataShapes: DataShape[];
5
+ static views: import('vue').DefineComponent<{
6
+ data: import('../../../../../common/dist/index.mjs').ViewData[];
7
+ modifyDifficulty: number;
8
+ }, {
9
+ question: import('vue').ComputedRef<VocabQuestion | undefined>;
10
+ priorSessionViews: import('vue').Ref<number>;
11
+ priorAttempts: import('vue').Ref<number>;
12
+ priorAnswers: import('vue').Ref<[Answer, string][]>;
13
+ maxAttemptsPerView: import('vue').Ref<number>;
14
+ maxSessionViews: import('vue').Ref<number>;
15
+ submitAnswer: (answer: 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: import('../../../../../common/dist/index.mjs').ViewData[];
24
+ modifyDifficulty: number;
25
+ }> & Readonly<{}>, {
26
+ modifyDifficulty: number;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>[];
28
+ isCorrect(answer: Answer): boolean;
29
+ dataShapes(): DataShape[];
30
+ views(): import('vue').DefineComponent<{
31
+ data: import('../../../../../common/dist/index.mjs').ViewData[];
32
+ modifyDifficulty: number;
33
+ }, {
34
+ question: import('vue').ComputedRef<VocabQuestion | undefined>;
35
+ priorSessionViews: import('vue').Ref<number>;
36
+ priorAttempts: import('vue').Ref<number>;
37
+ priorAnswers: import('vue').Ref<[Answer, string][]>;
38
+ maxAttemptsPerView: import('vue').Ref<number>;
39
+ maxSessionViews: import('vue').Ref<number>;
40
+ submitAnswer: (answer: Answer, submittingClass?: string) => import('packages/db/dist').QuestionRecord;
41
+ startTime: import('vue').Ref<moment.Moment>;
42
+ hotKeys: import('vue').Ref<import('../../../../../common-ui/dist/common-ui.es.js').HotKey[]>;
43
+ timeSpent: import('vue').ComputedRef<number>;
44
+ logger: import('../../../../../common-ui/dist/common-ui.es.js').ViewableLogger;
45
+ getURL: (item: string, dataShapeIndex?: number) => string;
46
+ emitResponse: (record: import('packages/db/dist').CardRecord) => void;
47
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
48
+ data: import('../../../../../common/dist/index.mjs').ViewData[];
49
+ modifyDifficulty: number;
50
+ }> & Readonly<{}>, {
51
+ modifyDifficulty: number;
52
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>[];
53
+ }
54
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/french/questions/vocab/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EACL,MAAM,EAGN,SAAS,EAGV,MAAM,sBAAsB,CAAC;AAmB9B,qBAAa,aAAc,SAAQ,QAAQ;IACzC,OAAc,UAAU,EAAE,SAAS,EAAE,CAKnC;IAEF,OAAc,KAAK;;;;;;;;;;sDAY2I,CAAC;qCAhCzI,OAAO,MAAM;;;;6CAYxB,CAAA;;;;;;;mFAQ2B;IAE/B,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO;IAGlC,UAAU,IAAI,SAAS,EAAE;IAGzB,KAAK;;;;;;;;;;sDAIkJ,CAAC;qCAhCzI,OAAO,MAAM;;;;6CAYxB,CAAA;;;;;;;;CAmBZ"}