@khanacademy/perseus 21.6.0 → 22.0.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 (62) hide show
  1. package/dist/article-renderer.d.ts +6 -0
  2. package/dist/components/highlighting/ui/highlight-set-renderer.d.ts +14 -0
  3. package/dist/components/highlighting/ui/highlighting-ui.d.ts +17 -0
  4. package/dist/components/i18n-context.d.ts +16 -0
  5. package/dist/components/input-with-examples.d.ts +6 -0
  6. package/dist/components/math-input.d.ts +22 -2
  7. package/dist/components/number-input.d.ts +6 -0
  8. package/dist/es/index.js +883 -496
  9. package/dist/es/index.js.map +1 -1
  10. package/dist/es/strings.js +312 -0
  11. package/dist/es/strings.js.map +1 -0
  12. package/dist/hint-renderer.d.ts +6 -0
  13. package/dist/hints-renderer.d.ts +6 -0
  14. package/dist/index.d.ts +1 -0
  15. package/dist/index.js +1099 -534
  16. package/dist/index.js.map +1 -1
  17. package/dist/multi-items/multi-renderer.d.ts +6 -0
  18. package/dist/perseus-types.d.ts +3 -2
  19. package/dist/renderer.d.ts +2 -0
  20. package/dist/server-item-renderer.d.ts +6 -0
  21. package/dist/strings.d.ts +190 -0
  22. package/dist/strings.js +395 -119
  23. package/dist/strings.js.map +1 -0
  24. package/dist/types.d.ts +2 -1
  25. package/dist/util/answer-types.d.ts +4 -12
  26. package/dist/util.d.ts +2 -1
  27. package/dist/widgets/categorizer.d.ts +8 -1
  28. package/dist/widgets/definition.d.ts +6 -0
  29. package/dist/widgets/deprecated-standin/index.d.ts +6 -0
  30. package/dist/widgets/explanation.d.ts +6 -0
  31. package/dist/widgets/expression.d.ts +12 -1
  32. package/dist/widgets/graded-group-answer-bar.d.ts +6 -0
  33. package/dist/widgets/graded-group.d.ts +6 -0
  34. package/dist/widgets/group.d.ts +6 -0
  35. package/dist/widgets/image.d.ts +6 -0
  36. package/dist/widgets/input-number.d.ts +8 -1
  37. package/dist/widgets/interactive-graph.d.ts +6 -0
  38. package/dist/widgets/interactive-graphs/graphs/components/arrowhead.d.ts +1 -0
  39. package/dist/widgets/interactive-graphs/interactive-graph-question-builder.d.ts +21 -0
  40. package/dist/widgets/interactive-graphs/locked-point.d.ts +1 -1
  41. package/dist/widgets/interactive-graphs/mafs-graph.d.ts +1 -0
  42. package/dist/widgets/interactive-graphs/reducer/use-graph-config.d.ts +1 -0
  43. package/dist/widgets/label-image/marker.d.ts +6 -0
  44. package/dist/widgets/label-image.d.ts +6 -0
  45. package/dist/widgets/matcher.d.ts +6 -0
  46. package/dist/widgets/matrix.d.ts +9 -1
  47. package/dist/widgets/molecule.d.ts +6 -0
  48. package/dist/widgets/number-line.d.ts +6 -0
  49. package/dist/widgets/numeric-input.d.ts +8 -1
  50. package/dist/widgets/passage-ref-target.d.ts +6 -0
  51. package/dist/widgets/passage-ref.d.ts +6 -0
  52. package/dist/widgets/passage.d.ts +6 -0
  53. package/dist/widgets/plotter.d.ts +6 -0
  54. package/dist/widgets/radio/choice-a11y-text.d.ts +2 -1
  55. package/dist/widgets/radio/radio.d.ts +8 -1
  56. package/dist/widgets/radio/util.d.ts +2 -1
  57. package/dist/widgets/table.d.ts +7 -0
  58. package/dist/widgets/unit.d.ts +8 -1
  59. package/dist/widgets/video.d.ts +6 -0
  60. package/dist/widgets.d.ts +2 -1
  61. package/package.json +18 -6
  62. package/dist/widgets/label-image/strings.d.ts +0 -3
package/dist/strings.js CHANGED
@@ -1,119 +1,395 @@
1
- // @noflow
2
- /**
3
- * WARNING: This is an autogenerated file. Do not edit by hand.
4
- * To regenerate, run: yarn extract-strings.
5
- */
6
-
7
- module.exports = [
8
- i18n._(" The symbol %(sentenceSymbol)s indicates that the following sentence is referenced in a question.", {}),
9
- i18n._("'None of the above' may not be selected when other answers are selected.", {}),
10
- i18n._("(Choice %(letter)s, Checked, Correct)", {}),
11
- i18n._("(Choice %(letter)s, Checked, Incorrect)", {}),
12
- i18n._("(Choice %(letter)s, Checked)", {}),
13
- i18n._("(Choice %(letter)s, Correct)", {}),
14
- i18n._("(Choice %(letter)s, Crossed out, Correct)", {}),
15
- i18n._("(Choice %(letter)s, Crossed out, Incorrect)", {}),
16
- i18n._("(Choice %(letter)s, Crossed out)", {}),
17
- i18n._("(Choice %(letter)s, Incorrect)", {}),
18
- i18n._("(Choice %(letter)s)", {}),
19
- i18n.$_("[Circle marker %(number)s]", {}),
20
- i18n.$_("[Marker for question %(number)s]", {}),
21
- i18n.$_("[Sentence %(number)s]", {}),
22
- i18n._("**Your answer should be** ", {}),
23
- i18n.ngettext("%(num)s answer","%(num)s answers", {}),
24
- i18n._("a *proper* fraction, like $1/2$ or $6/10$", {}),
25
- i18n._("a *simplified improper* fraction, like $7/4$", {}),
26
- i18n._("a *simplified proper* fraction, like $3/5$", {}),
27
- // I18N: This is a list of single-character labels that will appear in front of multiple-choice options. For instance, a multiple-choice question with three options would display (A) first option (B) second option (C) third option There must be spaces between each of the different characters. The characters will show up next to options in the order that they are listed here. Most multiple choice questions have 5 or fewer options.
28
- i18n._("A B C D E F G H I J K L M N O P Q R S T U V W X Y Z", {}),
29
- i18n._("a mixed number, like $1\\ 3/4$", {}),
30
- i18n.$_("A molecular structure drawing. SMILES notation: %(content)s", {}),
31
- i18n._("a multiple of pi, like $12\\ \\text{pi}$ or $2/3\\ \\text{pi}$", {}),
32
- i18n._("a percent, like $12.34\\%$", {}),
33
- i18n._("Add highlight", {}),
34
- i18n._("an *exact* decimal, like $0.75$", {}),
35
- i18n._("an *improper* fraction, like $10/7$ or $14/8$", {}),
36
- i18n._("an integer, like $6$", {}),
37
- i18n._("Beginning of reading passage footnotes.", {}),
38
- i18n._("Beginning of reading passage.", {}),
39
- i18n._("Bring back", {}),
40
- i18n._("Check", {}),
41
- i18n._("Check your significant figures.", {}),
42
- i18n._("Check your units.", {}),
43
- i18n._("Choices:", {}),
44
- i18n._("Choose %(numCorrect)s answers:", {}),
45
- i18n._("Choose 1 answer:", {}),
46
- i18n._("Choose all answers that apply:", {}),
47
- i18n._("Click each dot on the image to select all answers that apply.", {}),
48
- i18n._("Click each dot on the image to select an answer.", {}),
49
- i18n._("Click to add points", {}),
50
- i18n._("Click to add vertices", {}),
51
- i18n._("close math keypad", {}),
52
- i18n._("Correct", {}),
53
- i18n._("Correct (but you crossed it out)", {}),
54
- i18n._("Correct (selected)", {}),
55
- i18n._("Correct!", {}),
56
- i18n._("Cross out", {}),
57
- i18n._("Cross out Choice %(letter)s", {}),
58
- i18n._("Cross out option", {}),
59
- i18n._("Current", {}),
60
- i18n._("Drag handles to make graph", {}),
61
- i18n._("End of reading passage.", {}),
62
- i18n._("entered in an invalid answer.", {}),
63
- i18n.$_("Error rendering: %(error)s", {}),
64
- i18n._("Explain", {}),
65
- i18n._("False", {}),
66
- i18n._("Get another hint", {}),
67
- i18n._("Hide answer choices", {}),
68
- i18n._("Hide explanation", {}),
69
- i18n._("Hint #%(pos)s", {}),
70
- i18n._("Hints", {}),
71
- i18n._("I couldn't understand those units.", {}),
72
- i18n._("I don't understand that", {}),
73
- i18n._("I'm a computer. I only understand multiplication if you use an asterisk (*) as the multiplication sign.", {}),
74
- i18n._("Incorrect", {}),
75
- i18n._("Incorrect (selected)", {}),
76
- i18n._("It looks like you left something blank or ", {}),
77
- i18n._("Keep trying", {}),
78
- i18n._("Khan Academy video wrapper", {}),
79
- // I18N: a label next to a reading passage to denote the line number
80
- i18n._("Line ", {}),
81
- i18n.$_("line %(lineNumber)s", {}),
82
- i18n.$_("lines %(lineRange)s", {}),
83
- i18n._("Loading...", {}),
84
- i18n._("Make circle filled", {}),
85
- i18n._("Make circle open", {}),
86
- i18n._("Make sure you fill in all cells in the matrix.", {}),
87
- i18n._("Make sure you select something for every row.", {}),
88
- i18n._("Next question", {}),
89
- i18n._("No", {}),
90
- i18n._("None of the above", {}),
91
- i18n._("Number of divisions:", {}),
92
- i18n._("Oops!", {}),
93
- i18n._("open math keypad", {}),
94
- i18n._("Please choose the correct number of answers.", {}),
95
- i18n.$_("Please make sure the number of divisions is in the range %(divRangeString)s.", {}),
96
- i18n._("Remove highlight", {}),
97
- i18n._("See video transcript", {}),
98
- i18n._("Skip to %(title)s", {}),
99
- i18n._("Something went wrong.", {}),
100
- i18n._("Sorry, I don't understand that!", {}),
101
- i18n._("Sorry, this part of the question is no longer available. 😅 Don't worry, you won't be graded on this part. Keep going!", {}),
102
- i18n._("Switch direction", {}),
103
- i18n._("Tap each dot on the image to select all answers that apply.", {}),
104
- i18n._("Tap each dot on the image to select an answer.", {}),
105
- i18n._("Tap to add points", {}),
106
- i18n._("That answer is numerically incorrect.", {}),
107
- i18n._("The symbol %(questionSymbol)s indicates that question %(questionNumber)s references this portion of the passage.", {}),
108
- i18n._("True", {}),
109
- i18n._("Try again", {}),
110
- i18n._("We could not understand your answer. Please check your answer for extra text or symbols.", {}),
111
- i18n._("We couldn't grade your answer.", {}),
112
- i18n._("Yes", {}),
113
- i18n._("Your answer includes a wrong variable letter.", {}),
114
- i18n._("Your answer includes use of a variable with the wrong case.", {}),
115
- i18n._("Your answer is almost correct, but it is missing a <code>\\%</code> at the end.", {}),
116
- i18n._("Your answer is almost correct, but it needs to be simplified.", {}),
117
- i18n._("Your answer is close, but you may have approximated pi. Enter your answer as a multiple of pi, like <code>12\\ \\text{pi}</code> or <code>2/3\\ \\text{pi}</code>", {}),
118
- i18n._("Your answer:", {}),
119
- ];
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /**
6
+ * The translated strings that are used to render Perseus.
7
+ */
8
+
9
+ /**
10
+ * Untranslated strings used in Perseus. To be used by an external
11
+ * translator to produce translated strings, passed in as `PerseusStrings`.
12
+ */
13
+ const strings = {
14
+ closeKeypad: "close math keypad",
15
+ openKeypad: "open math keypad",
16
+ removeHighlight: "Remove highlight",
17
+ addHighlight: "Add highlight",
18
+ hintPos: "Hint #%(pos)s",
19
+ errorRendering: "Error rendering: %(error)s",
20
+ APPROXIMATED_PI_ERROR: "Your answer is close, but you may " + "have approximated pi. Enter your " + "answer as a multiple of pi, like " + "<code>12\\ \\text{pi}</code> or " + "<code>2/3\\ \\text{pi}</code>",
21
+ EXTRA_SYMBOLS_ERROR: "We could not understand your " + "answer. Please check your answer for extra " + "text or symbols.",
22
+ NEEDS_TO_BE_SIMPLFIED_ERROR: "Your answer is almost correct, " + "but it needs to be simplified.",
23
+ MISSING_PERCENT_ERROR: "Your answer is almost correct, " + "but it is missing a " + "<code>\\%</code> at the end.",
24
+ MULTIPLICATION_SIGN_ERROR: "I'm a computer. I only understand " + "multiplication if you use an asterisk " + "(*) as the multiplication sign.",
25
+ WRONG_CASE_ERROR: "Your answer includes use of a variable with the wrong case.",
26
+ WRONG_LETTER_ERROR: "Your answer includes a wrong variable letter.",
27
+ invalidSelection: "Make sure you select something for every row.",
28
+ ERROR_TITLE: "Oops!",
29
+ ERROR_MESSAGE: "Sorry, I don't understand that!",
30
+ hints: "Hints",
31
+ getAnotherHint: "Get another hint",
32
+ deprecatedStandin: "Sorry, this part of the question is no longer available. 😅 Don't worry, you won't be graded on this part. Keep going!",
33
+ keepTrying: "Keep trying",
34
+ tryAgain: "Try again",
35
+ check: "Check",
36
+ correctExcited: "Correct!",
37
+ nextQuestion: "Next question",
38
+ skipToTitle: "Skip to %(title)s",
39
+ current: "Current",
40
+ correct: "Correct",
41
+ correctSelected: "Correct (selected)",
42
+ correctCrossedOut: "Correct (but you crossed it out)",
43
+ incorrect: "Incorrect",
44
+ incorrectSelected: "Incorrect (selected)",
45
+ hideExplanation: "Hide explanation",
46
+ explain: "Explain",
47
+ INVALID_MESSAGE_PREFIX: "We couldn't grade your answer.",
48
+ DEFAULT_INVALID_MESSAGE_1: "It looks like you left something blank or ",
49
+ DEFAULT_INVALID_MESSAGE_2: "entered in an invalid answer.",
50
+ integerExample: "an integer, like $6$",
51
+ properExample: "a *proper* fraction, like $1/2$ or $6/10$",
52
+ simplifiedProperExample: "a *simplified proper* fraction, like $3/5$",
53
+ improperExample: "an *improper* fraction, like $10/7$ or $14/8$",
54
+ simplifiedImproperExample: "a *simplified improper* fraction, like $7/4$",
55
+ mixedExample: "a mixed number, like $1\\ 3/4$",
56
+ decimalExample: "an *exact* decimal, like $0.75$",
57
+ percentExample: "a percent, like $12.34\\%$",
58
+ piExample: "a multiple of pi, like $12\\ \\text{pi}$ or $2/3\\ \\text{pi}$",
59
+ yourAnswer: "**Your answer should be** ",
60
+ yourAnswerLabel: "Your answer:",
61
+ addPoints: "Click to add points",
62
+ addVertices: "Click to add vertices",
63
+ tapMultiple: "Tap each dot on the image to select all answers that apply.",
64
+ tapSingle: "Tap each dot on the image to select an answer.",
65
+ clickMultiple: "Click each dot on the image to select all answers that apply.",
66
+ clickSingle: "Click each dot on the image to select an answer.",
67
+ choices: "Choices:",
68
+ answers: {
69
+ one: "%(num)s answer",
70
+ other: "%(num)s answers"
71
+ },
72
+ hideAnswersToggleLabel: "Hide answer choices",
73
+ moves: {
74
+ one: "Moves: %(num)s",
75
+ other: "Moves: %(num)s"
76
+ },
77
+ clickTiles: "Click on the tiles to change the lights.",
78
+ turnOffLights: "You must turn on all of the lights to continue.",
79
+ fillAllCells: "Make sure you fill in all cells in the matrix.",
80
+ molecularDrawing: "A molecular structure drawing. SMILES notation: %(content)s",
81
+ switchDirection: "Switch direction",
82
+ circleOpen: "Make circle open",
83
+ circleFilled: "Make circle filled",
84
+ numDivisions: "Number of divisions:",
85
+ divisions: "Please make sure the number of divisions is in the range %(divRangeString)s.",
86
+ lineRange: "lines %(lineRange)s",
87
+ lineNumber: "line %(lineNumber)s",
88
+ symbolPassage: "The symbol %(questionSymbol)s indicates that question %(questionNumber)s references this portion of the passage.",
89
+ symbolQuestion: " The symbol %(sentenceSymbol)s indicates that the following sentence is referenced in a question.",
90
+ lineLabel: {
91
+ context: "a label next to a reading passage to denote the line number",
92
+ message: "Line"
93
+ },
94
+ beginningPassage: "Beginning of reading passage.",
95
+ beginningFootnotes: "Beginning of reading passage footnotes.",
96
+ endPassage: "End of reading passage.",
97
+ questionMarker: "[Marker for question %(number)s]",
98
+ circleMarker: "[Circle marker %(number)s]",
99
+ sentenceMarker: "[Sentence %(number)s]",
100
+ dragHandles: "Drag handles to make graph",
101
+ tapAddPoints: "Tap to add points",
102
+ false: "False",
103
+ true: "True",
104
+ no: "No",
105
+ yes: "Yes",
106
+ chooseCorrectNum: "Please choose the correct number of answers.",
107
+ notNoneOfTheAbove: "'None of the above' may not be selected when other answers are selected.",
108
+ noneOfTheAbove: "None of the above",
109
+ chooseNumAnswers: "Choose %(numCorrect)s answers:",
110
+ chooseAllAnswers: "Choose all answers that apply:",
111
+ chooseOneAnswer: "Choose 1 answer:",
112
+ choiceCheckedCorrect: "(Choice %(letter)s, Checked, Correct)",
113
+ choiceCrossedOutCorrect: "(Choice %(letter)s, Crossed out, Correct)",
114
+ choiceCorrect: "(Choice %(letter)s, Correct)",
115
+ choiceCheckedIncorrect: "(Choice %(letter)s, Checked, Incorrect)",
116
+ choiceCrossedOutIncorrect: "(Choice %(letter)s, Crossed out, Incorrect)",
117
+ choiceIncorrect: "(Choice %(letter)s, Incorrect)",
118
+ choiceChecked: "(Choice %(letter)s, Checked)",
119
+ choiceCrossedOut: "(Choice %(letter)s, Crossed out)",
120
+ choice: "(Choice %(letter)s)",
121
+ crossOut: "Cross out",
122
+ crossOutOption: "Cross out option",
123
+ crossOutChoice: "Cross out Choice %(letter)s",
124
+ bringBack: "Bring back",
125
+ openMenuForChoice: "Open menu for Choice %(letter)s",
126
+ letters: {
127
+ context: "This is a list of single-character labels that will appear in front of multiple-choice options. For instance, a multiple-choice question with three options would display (A) first option (B) second option (C) third option. There must be spaces between each of the different characters. The characters will show up next to options in the order that they are listed here. Most multiple choice questions have 5 or fewer options.",
128
+ message: "A B C D E F G H I J K L M N O P Q R S T U V W X Y Z"
129
+ },
130
+ rightArrow: "Reaction arrow pointing to the right.",
131
+ dontUnderstandUnits: "I couldn't understand those units.",
132
+ checkSigFigs: "Check your significant figures.",
133
+ answerNumericallyIncorrect: "That answer is numerically incorrect.",
134
+ checkUnits: "Check your units.",
135
+ dontUnderstand: "I don't understand that",
136
+ loading: "Loading...",
137
+ videoTranscript: "See video transcript",
138
+ somethingWrong: "Something went wrong.",
139
+ videoWrapper: "Khan Academy video wrapper"
140
+ };
141
+
142
+ /**
143
+ * Mock strings for the Perseus package, to be used for tests and Storybook.
144
+ */
145
+ const mockStrings = {
146
+ closeKeypad: "close math keypad",
147
+ openKeypad: "open math keypad",
148
+ removeHighlight: "Remove highlight",
149
+ addHighlight: "Add highlight",
150
+ hintPos: _ref => {
151
+ let {
152
+ pos
153
+ } = _ref;
154
+ return `Hint #${pos}`;
155
+ },
156
+ errorRendering: _ref2 => {
157
+ let {
158
+ error
159
+ } = _ref2;
160
+ return `Error rendering: ${error}`;
161
+ },
162
+ APPROXIMATED_PI_ERROR: "Your answer is close, but you may " + "have approximated pi. Enter your " + "answer as a multiple of pi, like " + "<code>12\\ \\text{pi}</code> or " + "<code>2/3\\ \\text{pi}</code>",
163
+ EXTRA_SYMBOLS_ERROR: "We could not understand your " + "answer. Please check your answer for extra " + "text or symbols.",
164
+ NEEDS_TO_BE_SIMPLFIED_ERROR: "Your answer is almost correct, " + "but it needs to be simplified.",
165
+ MISSING_PERCENT_ERROR: "Your answer is almost correct, " + "but it is missing a " + "<code>\\%</code> at the end.",
166
+ MULTIPLICATION_SIGN_ERROR: "I'm a computer. I only understand " + "multiplication if you use an asterisk " + "(*) as the multiplication sign.",
167
+ WRONG_CASE_ERROR: "Your answer includes use of a variable with the wrong case.",
168
+ WRONG_LETTER_ERROR: "Your answer includes a wrong variable letter.",
169
+ invalidSelection: "Make sure you select something for every row.",
170
+ ERROR_TITLE: "Oops!",
171
+ ERROR_MESSAGE: "Sorry, I don't understand that!",
172
+ hints: "Hints",
173
+ getAnotherHint: "Get another hint",
174
+ deprecatedStandin: "Sorry, this part of the question is no longer available. 😅 Don't worry, you won't be graded on this part. Keep going!",
175
+ keepTrying: "Keep trying",
176
+ tryAgain: "Try again",
177
+ check: "Check",
178
+ correctExcited: "Correct!",
179
+ nextQuestion: "Next question",
180
+ skipToTitle: _ref3 => {
181
+ let {
182
+ title
183
+ } = _ref3;
184
+ return `Skip to ${title}`;
185
+ },
186
+ current: "Current",
187
+ correct: "Correct",
188
+ correctSelected: "Correct (selected)",
189
+ correctCrossedOut: "Correct (but you crossed it out)",
190
+ incorrect: "Incorrect",
191
+ incorrectSelected: "Incorrect (selected)",
192
+ hideExplanation: "Hide explanation",
193
+ explain: "Explain",
194
+ INVALID_MESSAGE_PREFIX: "We couldn't grade your answer.",
195
+ DEFAULT_INVALID_MESSAGE_1: "It looks like you left something blank or ",
196
+ DEFAULT_INVALID_MESSAGE_2: "entered in an invalid answer.",
197
+ integerExample: "an integer, like $6$",
198
+ properExample: "a *proper* fraction, like $1/2$ or $6/10$",
199
+ simplifiedProperExample: "a *simplified proper* fraction, like $3/5$",
200
+ improperExample: "an *improper* fraction, like $10/7$ or $14/8$",
201
+ simplifiedImproperExample: "a *simplified improper* fraction, like $7/4$",
202
+ mixedExample: "a mixed number, like $1\\ 3/4$",
203
+ decimalExample: "an *exact* decimal, like $0.75$",
204
+ percentExample: "a percent, like $12.34\\%$",
205
+ piExample: "a multiple of pi, like $12\\ \\text{pi}$ or $2/3\\ \\text{pi}$",
206
+ yourAnswer: "**Your answer should be** ",
207
+ yourAnswerLabel: "Your answer:",
208
+ addPoints: "Click to add points",
209
+ addVertices: "Click to add vertices",
210
+ tapMultiple: "Tap each dot on the image to select all answers that apply.",
211
+ tapSingle: "Tap each dot on the image to select an answer.",
212
+ clickMultiple: "Click each dot on the image to select all answers that apply.",
213
+ clickSingle: "Click each dot on the image to select an answer.",
214
+ choices: "Choices:",
215
+ answers: _ref4 => {
216
+ let {
217
+ num
218
+ } = _ref4;
219
+ return num === 1 ? `${num} answer` : `${num} answers`;
220
+ },
221
+ hideAnswersToggleLabel: "Hide answer choices",
222
+ moves: _ref5 => {
223
+ let {
224
+ num
225
+ } = _ref5;
226
+ return num === 1 ? `Moves: ${num}` : `Moves: ${num}`;
227
+ },
228
+ clickTiles: "Click on the tiles to change the lights.",
229
+ turnOffLights: "You must turn on all of the lights to continue.",
230
+ fillAllCells: "Make sure you fill in all cells in the matrix.",
231
+ molecularDrawing: _ref6 => {
232
+ let {
233
+ content
234
+ } = _ref6;
235
+ return `A molecular structure drawing. SMILES notation: ${content}`;
236
+ },
237
+ switchDirection: "Switch direction",
238
+ circleOpen: "Make circle open",
239
+ circleFilled: "Make circle filled",
240
+ numDivisions: "Number of divisions:",
241
+ divisions: _ref7 => {
242
+ let {
243
+ divRangeString
244
+ } = _ref7;
245
+ return `Please make sure the number of divisions is in the range ${divRangeString}.`;
246
+ },
247
+ lineRange: _ref8 => {
248
+ let {
249
+ lineRange
250
+ } = _ref8;
251
+ return `lines ${lineRange}`;
252
+ },
253
+ lineNumber: _ref9 => {
254
+ let {
255
+ lineNumber
256
+ } = _ref9;
257
+ return `line ${lineNumber}`;
258
+ },
259
+ symbolPassage: _ref10 => {
260
+ let {
261
+ questionSymbol,
262
+ questionNumber
263
+ } = _ref10;
264
+ return `The symbol ${questionSymbol} indicates that question ${questionNumber} references this portion of the passage.`;
265
+ },
266
+ symbolQuestion: _ref11 => {
267
+ let {
268
+ sentenceSymbol
269
+ } = _ref11;
270
+ return ` The symbol ${sentenceSymbol} indicates that the following sentence is referenced in a question.`;
271
+ },
272
+ lineLabel: "Line",
273
+ beginningPassage: "Beginning of reading passage.",
274
+ beginningFootnotes: "Beginning of reading passage footnotes.",
275
+ endPassage: "End of reading passage.",
276
+ questionMarker: _ref12 => {
277
+ let {
278
+ number
279
+ } = _ref12;
280
+ return `[Marker for question ${number}]`;
281
+ },
282
+ circleMarker: _ref13 => {
283
+ let {
284
+ number
285
+ } = _ref13;
286
+ return `[Circle marker ${number}]`;
287
+ },
288
+ sentenceMarker: _ref14 => {
289
+ let {
290
+ number
291
+ } = _ref14;
292
+ return `[Sentence ${number}]`;
293
+ },
294
+ dragHandles: "Drag handles to make graph",
295
+ tapAddPoints: "Tap to add points",
296
+ false: "False",
297
+ true: "True",
298
+ no: "No",
299
+ yes: "Yes",
300
+ chooseCorrectNum: "Please choose the correct number of answers.",
301
+ notNoneOfTheAbove: "'None of the above' may not be selected when other answers are selected.",
302
+ noneOfTheAbove: "None of the above",
303
+ chooseNumAnswers: _ref15 => {
304
+ let {
305
+ numCorrect
306
+ } = _ref15;
307
+ return `Choose ${numCorrect} answers:`;
308
+ },
309
+ chooseAllAnswers: "Choose all answers that apply:",
310
+ chooseOneAnswer: "Choose 1 answer:",
311
+ choiceCheckedCorrect: _ref16 => {
312
+ let {
313
+ letter
314
+ } = _ref16;
315
+ return `(Choice ${letter}, Checked, Correct)`;
316
+ },
317
+ choiceCrossedOutCorrect: _ref17 => {
318
+ let {
319
+ letter
320
+ } = _ref17;
321
+ return `(Choice ${letter}, Crossed out, Correct)`;
322
+ },
323
+ choiceCorrect: _ref18 => {
324
+ let {
325
+ letter
326
+ } = _ref18;
327
+ return `(Choice ${letter}, Correct)`;
328
+ },
329
+ choiceCheckedIncorrect: _ref19 => {
330
+ let {
331
+ letter
332
+ } = _ref19;
333
+ return `(Choice ${letter}, Checked, Incorrect)`;
334
+ },
335
+ choiceCrossedOutIncorrect: _ref20 => {
336
+ let {
337
+ letter
338
+ } = _ref20;
339
+ return `(Choice ${letter}, Crossed out, Incorrect)`;
340
+ },
341
+ choiceIncorrect: _ref21 => {
342
+ let {
343
+ letter
344
+ } = _ref21;
345
+ return `(Choice ${letter}, Incorrect)`;
346
+ },
347
+ choiceChecked: _ref22 => {
348
+ let {
349
+ letter
350
+ } = _ref22;
351
+ return `(Choice ${letter}, Checked)`;
352
+ },
353
+ choiceCrossedOut: _ref23 => {
354
+ let {
355
+ letter
356
+ } = _ref23;
357
+ return `(Choice ${letter}, Crossed out)`;
358
+ },
359
+ choice: _ref24 => {
360
+ let {
361
+ letter
362
+ } = _ref24;
363
+ return `(Choice ${letter})`;
364
+ },
365
+ crossOut: "Cross out",
366
+ crossOutOption: "Cross out option",
367
+ crossOutChoice: _ref25 => {
368
+ let {
369
+ letter
370
+ } = _ref25;
371
+ return `Cross out Choice ${letter}`;
372
+ },
373
+ bringBack: "Bring back",
374
+ openMenuForChoice: _ref26 => {
375
+ let {
376
+ letter
377
+ } = _ref26;
378
+ return `Open menu for Choice ${letter}`;
379
+ },
380
+ letters: "A B C D E F G H I J K L M N O P Q R S T U V W X Y Z",
381
+ rightArrow: "Reaction arrow pointing to the right.",
382
+ dontUnderstandUnits: "I couldn't understand those units.",
383
+ checkSigFigs: "Check your significant figures.",
384
+ answerNumericallyIncorrect: "That answer is numerically incorrect.",
385
+ checkUnits: "Check your units.",
386
+ dontUnderstand: "I don't understand that",
387
+ loading: "Loading...",
388
+ videoTranscript: "See video transcript",
389
+ somethingWrong: "Something went wrong.",
390
+ videoWrapper: "Khan Academy video wrapper"
391
+ };
392
+
393
+ exports.mockStrings = mockStrings;
394
+ exports.strings = strings;
395
+ //# sourceMappingURL=strings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strings.js","sources":["../src/strings.ts"],"sourcesContent":["/**\n * The translated strings that are used to render Perseus.\n */\nexport type PerseusStrings = {\n closeKeypad: string;\n openKeypad: string;\n removeHighlight: string;\n addHighlight: string;\n hintPos: ({pos}: {pos: number}) => string;\n errorRendering: ({error}: {error: string}) => string;\n APPROXIMATED_PI_ERROR: string;\n EXTRA_SYMBOLS_ERROR: string;\n NEEDS_TO_BE_SIMPLFIED_ERROR: string;\n MISSING_PERCENT_ERROR: string;\n MULTIPLICATION_SIGN_ERROR: string;\n WRONG_CASE_ERROR: string;\n WRONG_LETTER_ERROR: string;\n invalidSelection: string;\n ERROR_TITLE: string;\n ERROR_MESSAGE: string;\n hints: string;\n getAnotherHint: string;\n deprecatedStandin: string;\n keepTrying: string;\n tryAgain: string;\n check: string;\n correctExcited: string;\n nextQuestion: string;\n skipToTitle: ({title}: {title: string}) => string;\n current: string;\n correct: string;\n correctSelected: string;\n correctCrossedOut: string;\n incorrect: string;\n incorrectSelected: string;\n hideExplanation: string;\n explain: string;\n INVALID_MESSAGE_PREFIX: string;\n DEFAULT_INVALID_MESSAGE_1: string;\n DEFAULT_INVALID_MESSAGE_2: string;\n integerExample: string;\n properExample: string;\n simplifiedProperExample: string;\n improperExample: string;\n simplifiedImproperExample: string;\n mixedExample: string;\n decimalExample: string;\n percentExample: string;\n piExample: string;\n yourAnswer: string;\n yourAnswerLabel: string;\n addPoints: string;\n addVertices: string;\n tapMultiple: string;\n tapSingle: string;\n clickMultiple: string;\n clickSingle: string;\n choices: string;\n answers: ({num}: {num: number}) => string;\n hideAnswersToggleLabel: string;\n moves: ({num}: {num: number}) => string;\n clickTiles: string;\n turnOffLights: string;\n fillAllCells: string;\n molecularDrawing: ({content}: {content: string}) => string;\n switchDirection: string;\n circleOpen: string;\n circleFilled: string;\n numDivisions: string;\n divisions: ({divRangeString}: {divRangeString: string}) => string;\n lineRange: ({lineRange}: {lineRange: string}) => string;\n lineNumber: ({lineNumber}: {lineNumber: string}) => string;\n symbolPassage: ({\n questionSymbol,\n questionNumber,\n }: {\n questionSymbol: string;\n questionNumber: string;\n }) => string;\n symbolQuestion: ({sentenceSymbol}: {sentenceSymbol: string}) => string;\n lineLabel: string;\n beginningPassage: string;\n beginningFootnotes: string;\n endPassage: string;\n questionMarker: ({number}: {number: string}) => string;\n circleMarker: ({number}: {number: string}) => string;\n sentenceMarker: ({number}: {number: string}) => string;\n dragHandles: string;\n tapAddPoints: string;\n false: string;\n true: string;\n no: string;\n yes: string;\n chooseCorrectNum: string;\n notNoneOfTheAbove: string;\n noneOfTheAbove: string;\n chooseNumAnswers: ({numCorrect}: {numCorrect: string}) => string;\n chooseAllAnswers: string;\n chooseOneAnswer: string;\n choiceCheckedCorrect: ({letter}: {letter: string}) => string;\n choiceCrossedOutCorrect: ({letter}: {letter: string}) => string;\n choiceCorrect: ({letter}: {letter: string}) => string;\n choiceCheckedIncorrect: ({letter}: {letter: string}) => string;\n choiceCrossedOutIncorrect: ({letter}: {letter: string}) => string;\n choiceIncorrect: ({letter}: {letter: string}) => string;\n choiceChecked: ({letter}: {letter: string}) => string;\n choiceCrossedOut: ({letter}: {letter: string}) => string;\n choice: ({letter}: {letter: string}) => string;\n crossOut: string;\n crossOutOption: string;\n crossOutChoice: ({letter}: {letter: string}) => string;\n bringBack: string;\n openMenuForChoice: ({letter}: {letter: string}) => string;\n letters: string;\n rightArrow: string;\n dontUnderstandUnits: string;\n checkSigFigs: string;\n answerNumericallyIncorrect: string;\n checkUnits: string;\n dontUnderstand: string;\n loading: string;\n videoTranscript: string;\n somethingWrong: string;\n videoWrapper: string;\n};\n\n/**\n * Untranslated strings used in Perseus. To be used by an external\n * translator to produce translated strings, passed in as `PerseusStrings`.\n */\nexport const strings: {\n [key in keyof PerseusStrings]:\n | string\n | {context?: string; message: string}\n | {context?: string; one: string; other: string};\n} = {\n closeKeypad: \"close math keypad\",\n openKeypad: \"open math keypad\",\n removeHighlight: \"Remove highlight\",\n addHighlight: \"Add highlight\",\n hintPos: \"Hint #%(pos)s\",\n errorRendering: \"Error rendering: %(error)s\",\n APPROXIMATED_PI_ERROR:\n \"Your answer is close, but you may \" +\n \"have approximated pi. Enter your \" +\n \"answer as a multiple of pi, like \" +\n \"<code>12\\\\ \\\\text{pi}</code> or \" +\n \"<code>2/3\\\\ \\\\text{pi}</code>\",\n EXTRA_SYMBOLS_ERROR:\n \"We could not understand your \" +\n \"answer. Please check your answer for extra \" +\n \"text or symbols.\",\n NEEDS_TO_BE_SIMPLFIED_ERROR:\n \"Your answer is almost correct, \" + \"but it needs to be simplified.\",\n MISSING_PERCENT_ERROR:\n \"Your answer is almost correct, \" +\n \"but it is missing a \" +\n \"<code>\\\\%</code> at the end.\",\n MULTIPLICATION_SIGN_ERROR:\n \"I'm a computer. I only understand \" +\n \"multiplication if you use an asterisk \" +\n \"(*) as the multiplication sign.\",\n WRONG_CASE_ERROR:\n \"Your answer includes use of a variable with the wrong case.\",\n WRONG_LETTER_ERROR: \"Your answer includes a wrong variable letter.\",\n invalidSelection: \"Make sure you select something for every row.\",\n ERROR_TITLE: \"Oops!\",\n ERROR_MESSAGE: \"Sorry, I don't understand that!\",\n hints: \"Hints\",\n getAnotherHint: \"Get another hint\",\n deprecatedStandin:\n \"Sorry, this part of the question is no longer available. 😅 Don't worry, you won't be graded on this part. Keep going!\",\n keepTrying: \"Keep trying\",\n tryAgain: \"Try again\",\n check: \"Check\",\n correctExcited: \"Correct!\",\n nextQuestion: \"Next question\",\n skipToTitle: \"Skip to %(title)s\",\n current: \"Current\",\n correct: \"Correct\",\n correctSelected: \"Correct (selected)\",\n correctCrossedOut: \"Correct (but you crossed it out)\",\n incorrect: \"Incorrect\",\n incorrectSelected: \"Incorrect (selected)\",\n hideExplanation: \"Hide explanation\",\n explain: \"Explain\",\n INVALID_MESSAGE_PREFIX: \"We couldn't grade your answer.\",\n DEFAULT_INVALID_MESSAGE_1: \"It looks like you left something blank or \",\n DEFAULT_INVALID_MESSAGE_2: \"entered in an invalid answer.\",\n integerExample: \"an integer, like $6$\",\n properExample: \"a *proper* fraction, like $1/2$ or $6/10$\",\n simplifiedProperExample: \"a *simplified proper* fraction, like $3/5$\",\n improperExample: \"an *improper* fraction, like $10/7$ or $14/8$\",\n simplifiedImproperExample: \"a *simplified improper* fraction, like $7/4$\",\n mixedExample: \"a mixed number, like $1\\\\ 3/4$\",\n decimalExample: \"an *exact* decimal, like $0.75$\",\n percentExample: \"a percent, like $12.34\\\\%$\",\n piExample: \"a multiple of pi, like $12\\\\ \\\\text{pi}$ or $2/3\\\\ \\\\text{pi}$\",\n yourAnswer: \"**Your answer should be** \",\n yourAnswerLabel: \"Your answer:\",\n addPoints: \"Click to add points\",\n addVertices: \"Click to add vertices\",\n tapMultiple: \"Tap each dot on the image to select all answers that apply.\",\n tapSingle: \"Tap each dot on the image to select an answer.\",\n clickMultiple:\n \"Click each dot on the image to select all answers that apply.\",\n clickSingle: \"Click each dot on the image to select an answer.\",\n choices: \"Choices:\",\n answers: {\n one: \"%(num)s answer\",\n other: \"%(num)s answers\",\n },\n hideAnswersToggleLabel: \"Hide answer choices\",\n moves: {\n one: \"Moves: %(num)s\",\n other: \"Moves: %(num)s\",\n },\n clickTiles: \"Click on the tiles to change the lights.\",\n turnOffLights: \"You must turn on all of the lights to continue.\",\n fillAllCells: \"Make sure you fill in all cells in the matrix.\",\n molecularDrawing:\n \"A molecular structure drawing. SMILES notation: %(content)s\",\n switchDirection: \"Switch direction\",\n circleOpen: \"Make circle open\",\n circleFilled: \"Make circle filled\",\n numDivisions: \"Number of divisions:\",\n divisions:\n \"Please make sure the number of divisions is in the range %(divRangeString)s.\",\n lineRange: \"lines %(lineRange)s\",\n lineNumber: \"line %(lineNumber)s\",\n symbolPassage:\n \"The symbol %(questionSymbol)s indicates that question %(questionNumber)s references this portion of the passage.\",\n symbolQuestion:\n \" The symbol %(sentenceSymbol)s indicates that the following sentence is referenced in a question.\",\n lineLabel: {\n context: \"a label next to a reading passage to denote the line number\",\n message: \"Line\",\n },\n beginningPassage: \"Beginning of reading passage.\",\n beginningFootnotes: \"Beginning of reading passage footnotes.\",\n endPassage: \"End of reading passage.\",\n questionMarker: \"[Marker for question %(number)s]\",\n circleMarker: \"[Circle marker %(number)s]\",\n sentenceMarker: \"[Sentence %(number)s]\",\n dragHandles: \"Drag handles to make graph\",\n tapAddPoints: \"Tap to add points\",\n false: \"False\",\n true: \"True\",\n no: \"No\",\n yes: \"Yes\",\n chooseCorrectNum: \"Please choose the correct number of answers.\",\n notNoneOfTheAbove:\n \"'None of the above' may not be selected when other answers are selected.\",\n noneOfTheAbove: \"None of the above\",\n chooseNumAnswers: \"Choose %(numCorrect)s answers:\",\n chooseAllAnswers: \"Choose all answers that apply:\",\n chooseOneAnswer: \"Choose 1 answer:\",\n choiceCheckedCorrect: \"(Choice %(letter)s, Checked, Correct)\",\n choiceCrossedOutCorrect: \"(Choice %(letter)s, Crossed out, Correct)\",\n choiceCorrect: \"(Choice %(letter)s, Correct)\",\n choiceCheckedIncorrect: \"(Choice %(letter)s, Checked, Incorrect)\",\n choiceCrossedOutIncorrect: \"(Choice %(letter)s, Crossed out, Incorrect)\",\n choiceIncorrect: \"(Choice %(letter)s, Incorrect)\",\n choiceChecked: \"(Choice %(letter)s, Checked)\",\n choiceCrossedOut: \"(Choice %(letter)s, Crossed out)\",\n choice: \"(Choice %(letter)s)\",\n crossOut: \"Cross out\",\n crossOutOption: \"Cross out option\",\n crossOutChoice: \"Cross out Choice %(letter)s\",\n bringBack: \"Bring back\",\n openMenuForChoice: \"Open menu for Choice %(letter)s\",\n letters: {\n context:\n \"This is a list of single-character labels that will appear in front of multiple-choice options. For instance, a multiple-choice question with three options would display (A) first option (B) second option (C) third option. There must be spaces between each of the different characters. The characters will show up next to options in the order that they are listed here. Most multiple choice questions have 5 or fewer options.\",\n message: \"A B C D E F G H I J K L M N O P Q R S T U V W X Y Z\",\n },\n rightArrow: \"Reaction arrow pointing to the right.\",\n dontUnderstandUnits: \"I couldn't understand those units.\",\n checkSigFigs: \"Check your significant figures.\",\n answerNumericallyIncorrect: \"That answer is numerically incorrect.\",\n checkUnits: \"Check your units.\",\n dontUnderstand: \"I don't understand that\",\n loading: \"Loading...\",\n videoTranscript: \"See video transcript\",\n somethingWrong: \"Something went wrong.\",\n videoWrapper: \"Khan Academy video wrapper\",\n};\n\n/**\n * Mock strings for the Perseus package, to be used for tests and Storybook.\n */\nexport const mockStrings: PerseusStrings = {\n closeKeypad: \"close math keypad\",\n openKeypad: \"open math keypad\",\n removeHighlight: \"Remove highlight\",\n addHighlight: \"Add highlight\",\n hintPos: ({pos}) => `Hint #${pos}`,\n errorRendering: ({error}) => `Error rendering: ${error}`,\n APPROXIMATED_PI_ERROR:\n \"Your answer is close, but you may \" +\n \"have approximated pi. Enter your \" +\n \"answer as a multiple of pi, like \" +\n \"<code>12\\\\ \\\\text{pi}</code> or \" +\n \"<code>2/3\\\\ \\\\text{pi}</code>\",\n EXTRA_SYMBOLS_ERROR:\n \"We could not understand your \" +\n \"answer. Please check your answer for extra \" +\n \"text or symbols.\",\n NEEDS_TO_BE_SIMPLFIED_ERROR:\n \"Your answer is almost correct, \" + \"but it needs to be simplified.\",\n MISSING_PERCENT_ERROR:\n \"Your answer is almost correct, \" +\n \"but it is missing a \" +\n \"<code>\\\\%</code> at the end.\",\n MULTIPLICATION_SIGN_ERROR:\n \"I'm a computer. I only understand \" +\n \"multiplication if you use an asterisk \" +\n \"(*) as the multiplication sign.\",\n WRONG_CASE_ERROR:\n \"Your answer includes use of a variable with the wrong case.\",\n WRONG_LETTER_ERROR: \"Your answer includes a wrong variable letter.\",\n invalidSelection: \"Make sure you select something for every row.\",\n ERROR_TITLE: \"Oops!\",\n ERROR_MESSAGE: \"Sorry, I don't understand that!\",\n hints: \"Hints\",\n getAnotherHint: \"Get another hint\",\n deprecatedStandin:\n \"Sorry, this part of the question is no longer available. 😅 Don't worry, you won't be graded on this part. Keep going!\",\n keepTrying: \"Keep trying\",\n tryAgain: \"Try again\",\n check: \"Check\",\n correctExcited: \"Correct!\",\n nextQuestion: \"Next question\",\n skipToTitle: ({title}) => `Skip to ${title}`,\n current: \"Current\",\n correct: \"Correct\",\n correctSelected: \"Correct (selected)\",\n correctCrossedOut: \"Correct (but you crossed it out)\",\n incorrect: \"Incorrect\",\n incorrectSelected: \"Incorrect (selected)\",\n hideExplanation: \"Hide explanation\",\n explain: \"Explain\",\n INVALID_MESSAGE_PREFIX: \"We couldn't grade your answer.\",\n DEFAULT_INVALID_MESSAGE_1: \"It looks like you left something blank or \",\n DEFAULT_INVALID_MESSAGE_2: \"entered in an invalid answer.\",\n integerExample: \"an integer, like $6$\",\n properExample: \"a *proper* fraction, like $1/2$ or $6/10$\",\n simplifiedProperExample: \"a *simplified proper* fraction, like $3/5$\",\n improperExample: \"an *improper* fraction, like $10/7$ or $14/8$\",\n simplifiedImproperExample: \"a *simplified improper* fraction, like $7/4$\",\n mixedExample: \"a mixed number, like $1\\\\ 3/4$\",\n decimalExample: \"an *exact* decimal, like $0.75$\",\n percentExample: \"a percent, like $12.34\\\\%$\",\n piExample: \"a multiple of pi, like $12\\\\ \\\\text{pi}$ or $2/3\\\\ \\\\text{pi}$\",\n yourAnswer: \"**Your answer should be** \",\n yourAnswerLabel: \"Your answer:\",\n addPoints: \"Click to add points\",\n addVertices: \"Click to add vertices\",\n tapMultiple: \"Tap each dot on the image to select all answers that apply.\",\n tapSingle: \"Tap each dot on the image to select an answer.\",\n clickMultiple:\n \"Click each dot on the image to select all answers that apply.\",\n clickSingle: \"Click each dot on the image to select an answer.\",\n choices: \"Choices:\",\n answers: ({num}) => (num === 1 ? `${num} answer` : `${num} answers`),\n hideAnswersToggleLabel: \"Hide answer choices\",\n moves: ({num}) => (num === 1 ? `Moves: ${num}` : `Moves: ${num}`),\n clickTiles: \"Click on the tiles to change the lights.\",\n turnOffLights: \"You must turn on all of the lights to continue.\",\n fillAllCells: \"Make sure you fill in all cells in the matrix.\",\n molecularDrawing: ({content}) =>\n `A molecular structure drawing. SMILES notation: ${content}`,\n switchDirection: \"Switch direction\",\n circleOpen: \"Make circle open\",\n circleFilled: \"Make circle filled\",\n numDivisions: \"Number of divisions:\",\n divisions: ({divRangeString}) =>\n `Please make sure the number of divisions is in the range ${divRangeString}.`,\n lineRange: ({lineRange}: {lineRange: string}) => `lines ${lineRange}`,\n lineNumber: ({lineNumber}: {lineNumber: string}) => `line ${lineNumber}`,\n symbolPassage: ({questionSymbol, questionNumber}) =>\n `The symbol ${questionSymbol} indicates that question ${questionNumber} references this portion of the passage.`,\n symbolQuestion: ({sentenceSymbol}) =>\n ` The symbol ${sentenceSymbol} indicates that the following sentence is referenced in a question.`,\n lineLabel: \"Line\",\n beginningPassage: \"Beginning of reading passage.\",\n beginningFootnotes: \"Beginning of reading passage footnotes.\",\n endPassage: \"End of reading passage.\",\n questionMarker: ({number}) => `[Marker for question ${number}]`,\n circleMarker: ({number}) => `[Circle marker ${number}]`,\n sentenceMarker: ({number}) => `[Sentence ${number}]`,\n dragHandles: \"Drag handles to make graph\",\n tapAddPoints: \"Tap to add points\",\n false: \"False\",\n true: \"True\",\n no: \"No\",\n yes: \"Yes\",\n chooseCorrectNum: \"Please choose the correct number of answers.\",\n notNoneOfTheAbove:\n \"'None of the above' may not be selected when other answers are selected.\",\n noneOfTheAbove: \"None of the above\",\n chooseNumAnswers: ({numCorrect}) => `Choose ${numCorrect} answers:`,\n chooseAllAnswers: \"Choose all answers that apply:\",\n chooseOneAnswer: \"Choose 1 answer:\",\n choiceCheckedCorrect: ({letter}) => `(Choice ${letter}, Checked, Correct)`,\n choiceCrossedOutCorrect: ({letter}) =>\n `(Choice ${letter}, Crossed out, Correct)`,\n choiceCorrect: ({letter}) => `(Choice ${letter}, Correct)`,\n choiceCheckedIncorrect: ({letter}) =>\n `(Choice ${letter}, Checked, Incorrect)`,\n choiceCrossedOutIncorrect: ({letter}) =>\n `(Choice ${letter}, Crossed out, Incorrect)`,\n choiceIncorrect: ({letter}) => `(Choice ${letter}, Incorrect)`,\n choiceChecked: ({letter}) => `(Choice ${letter}, Checked)`,\n choiceCrossedOut: ({letter}) => `(Choice ${letter}, Crossed out)`,\n choice: ({letter}) => `(Choice ${letter})`,\n crossOut: \"Cross out\",\n crossOutOption: \"Cross out option\",\n crossOutChoice: ({letter}) => `Cross out Choice ${letter}`,\n bringBack: \"Bring back\",\n openMenuForChoice: ({letter}) => `Open menu for Choice ${letter}`,\n letters: \"A B C D E F G H I J K L M N O P Q R S T U V W X Y Z\",\n rightArrow: \"Reaction arrow pointing to the right.\",\n dontUnderstandUnits: \"I couldn't understand those units.\",\n checkSigFigs: \"Check your significant figures.\",\n answerNumericallyIncorrect: \"That answer is numerically incorrect.\",\n checkUnits: \"Check your units.\",\n dontUnderstand: \"I don't understand that\",\n loading: \"Loading...\",\n videoTranscript: \"See video transcript\",\n somethingWrong: \"Something went wrong.\",\n videoWrapper: \"Khan Academy video wrapper\",\n};\n"],"names":["strings","closeKeypad","openKeypad","removeHighlight","addHighlight","hintPos","errorRendering","APPROXIMATED_PI_ERROR","EXTRA_SYMBOLS_ERROR","NEEDS_TO_BE_SIMPLFIED_ERROR","MISSING_PERCENT_ERROR","MULTIPLICATION_SIGN_ERROR","WRONG_CASE_ERROR","WRONG_LETTER_ERROR","invalidSelection","ERROR_TITLE","ERROR_MESSAGE","hints","getAnotherHint","deprecatedStandin","keepTrying","tryAgain","check","correctExcited","nextQuestion","skipToTitle","current","correct","correctSelected","correctCrossedOut","incorrect","incorrectSelected","hideExplanation","explain","INVALID_MESSAGE_PREFIX","DEFAULT_INVALID_MESSAGE_1","DEFAULT_INVALID_MESSAGE_2","integerExample","properExample","simplifiedProperExample","improperExample","simplifiedImproperExample","mixedExample","decimalExample","percentExample","piExample","yourAnswer","yourAnswerLabel","addPoints","addVertices","tapMultiple","tapSingle","clickMultiple","clickSingle","choices","answers","one","other","hideAnswersToggleLabel","moves","clickTiles","turnOffLights","fillAllCells","molecularDrawing","switchDirection","circleOpen","circleFilled","numDivisions","divisions","lineRange","lineNumber","symbolPassage","symbolQuestion","lineLabel","context","message","beginningPassage","beginningFootnotes","endPassage","questionMarker","circleMarker","sentenceMarker","dragHandles","tapAddPoints","false","true","no","yes","chooseCorrectNum","notNoneOfTheAbove","noneOfTheAbove","chooseNumAnswers","chooseAllAnswers","chooseOneAnswer","choiceCheckedCorrect","choiceCrossedOutCorrect","choiceCorrect","choiceCheckedIncorrect","choiceCrossedOutIncorrect","choiceIncorrect","choiceChecked","choiceCrossedOut","choice","crossOut","crossOutOption","crossOutChoice","bringBack","openMenuForChoice","letters","rightArrow","dontUnderstandUnits","checkSigFigs","answerNumericallyIncorrect","checkUnits","dontUnderstand","loading","videoTranscript","somethingWrong","videoWrapper","mockStrings","_ref","pos","_ref2","error","_ref3","title","_ref4","num","_ref5","_ref6","content","_ref7","divRangeString","_ref8","_ref9","_ref10","questionSymbol","questionNumber","_ref11","sentenceSymbol","_ref12","number","_ref13","_ref14","_ref15","numCorrect","_ref16","letter","_ref17","_ref18","_ref19","_ref20","_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qD;AAC9DC,EAAAA,UAAU,EAAE,uCAAuC;AACnDC,EAAAA,mBAAmB,EAAE,oCAAoC;AACzDC,EAAAA,YAAY,EAAE,iCAAiC;AAC/CC,EAAAA,0BAA0B,EAAE,uCAAuC;AACnEC,EAAAA,UAAU,EAAE,mBAAmB;AAC/BC,EAAAA,cAAc,EAAE,yBAAyB;AACzCC,EAAAA,OAAO,EAAE,YAAY;AACrBC,EAAAA,eAAe,EAAE,sBAAsB;AACvCC,EAAAA,cAAc,EAAE,uBAAuB;AACvCC,EAAAA,YAAY,EAAE,4BAAA;AAClB;;;;;"}
package/dist/types.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import type { ILogger } from "./logging/log";
2
2
  import type { Item } from "./multi-items/item-types";
3
3
  import type { PerseusAnswerArea, PerseusRenderer, PerseusWidget, PerseusWidgetsMap } from "./perseus-types";
4
+ import type { PerseusStrings } from "./strings";
4
5
  import type { SizeClass } from "./util/sizing-utils";
5
6
  import type { InteractiveGraphState } from "./widgets/interactive-graphs/types";
6
7
  import type { KeypadAPI } from "@khanacademy/math-input";
@@ -324,7 +325,7 @@ export type TrackingSequenceExtraArguments = {
324
325
  };
325
326
  export type Alignment = "default" | "block" | "inline-block" | "inline" | "float-left" | "float-right" | "full-width";
326
327
  type WidgetOptions = any;
327
- export type WidgetTransform = (arg1: WidgetOptions, problemNumber?: number) => any;
328
+ export type WidgetTransform = (arg1: WidgetOptions, strings: PerseusStrings, problemNumber?: number) => any;
328
329
  export type WidgetExports<T extends React.ComponentType<any> = React.ComponentType<any>> = Readonly<{
329
330
  name: string;
330
331
  displayName: string;