@khanacademy/perseus-core 19.3.0 → 19.5.0

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 (88) hide show
  1. package/dist/data-schema.d.ts +1 -0
  2. package/dist/es/index.item-splitting.js +2 -2
  3. package/dist/es/index.item-splitting.js.map +1 -1
  4. package/dist/es/index.js +4 -4
  5. package/dist/es/index.js.map +1 -1
  6. package/dist/index.item-splitting.js +2 -2
  7. package/dist/index.item-splitting.js.map +1 -1
  8. package/dist/index.js +4 -4
  9. package/dist/index.js.map +1 -1
  10. package/dist/parse-perseus-json/perseus-parsers/image-widget.d.ts +1 -0
  11. package/dist/parse-perseus-json/perseus-parsers/radio-widget.mockData.d.ts +50 -0
  12. package/dist/parse-perseus-json/regression-tests/article-data/image-with-id-0.d.ts +201 -0
  13. package/dist/parse-perseus-json/regression-tests/item-data/categorizer-missing-randomizeItems.d.ts +36 -0
  14. package/dist/parse-perseus-json/regression-tests/item-data/categorizer-missing-static.d.ts +37 -0
  15. package/dist/parse-perseus-json/regression-tests/item-data/categorizer-with-null-value.d.ts +44 -0
  16. package/dist/parse-perseus-json/regression-tests/item-data/cs-program-missing-static.d.ts +71 -0
  17. package/dist/parse-perseus-json/regression-tests/item-data/cs-program-with-null-width.d.ts +21 -0
  18. package/dist/parse-perseus-json/regression-tests/item-data/definition-missing-static.d.ts +55 -0
  19. package/dist/parse-perseus-json/regression-tests/item-data/dropdown-missing-placeholder.d.ts +38 -0
  20. package/dist/parse-perseus-json/regression-tests/item-data/dropdown-missing-version.d.ts +34 -0
  21. package/dist/parse-perseus-json/regression-tests/item-data/explanation-missing-widgets-map.d.ts +69 -0
  22. package/dist/parse-perseus-json/regression-tests/item-data/expression-answerForm-missing-form.d.ts +41 -0
  23. package/dist/parse-perseus-json/regression-tests/item-data/expression-missing-buttonSets.d.ts +35 -0
  24. package/dist/parse-perseus-json/regression-tests/item-data/expression-option-missing-value.d.ts +44 -0
  25. package/dist/parse-perseus-json/regression-tests/item-data/expression-with-null-answer-key.d.ts +124 -0
  26. package/dist/parse-perseus-json/regression-tests/item-data/expression-with-scientific-notation.d.ts +115 -0
  27. package/dist/parse-perseus-json/regression-tests/item-data/graded-group-with-false-hint.d.ts +133 -0
  28. package/dist/parse-perseus-json/regression-tests/item-data/grapher-with-empty-coords.d.ts +111 -0
  29. package/dist/parse-perseus-json/regression-tests/item-data/grapher-with-null-coords.d.ts +59 -0
  30. package/dist/parse-perseus-json/regression-tests/item-data/hint-missing-images.d.ts +175 -0
  31. package/dist/parse-perseus-json/regression-tests/item-data/hint-with-null-replace.d.ts +72 -0
  32. package/dist/parse-perseus-json/regression-tests/item-data/iframe-missing-allowFullScreen.d.ts +63 -0
  33. package/dist/parse-perseus-json/regression-tests/item-data/iframe-missing-settings.d.ts +18 -0
  34. package/dist/parse-perseus-json/regression-tests/item-data/iframe-missing-static.d.ts +46 -0
  35. package/dist/parse-perseus-json/regression-tests/item-data/image-with-null-dimensions.d.ts +181 -0
  36. package/dist/parse-perseus-json/regression-tests/item-data/input-number-with-boolean-value.d.ts +84 -0
  37. package/dist/parse-perseus-json/regression-tests/item-data/interaction-element-missing-constraints.d.ts +115 -0
  38. package/dist/parse-perseus-json/regression-tests/item-data/interaction-element-missing-key.d.ts +353 -0
  39. package/dist/parse-perseus-json/regression-tests/item-data/interactive-graph-backgroundImage-with-empty-string-coordinates.d.ts +77 -0
  40. package/dist/parse-perseus-json/regression-tests/item-data/interactive-graph-locked-figures-missing-weights.d.ts +213 -0
  41. package/dist/parse-perseus-json/regression-tests/item-data/interactive-graph-locked-function-with-null-domain-element.d.ts +62 -0
  42. package/dist/parse-perseus-json/regression-tests/item-data/interactive-graph-locked-line-missing-showPoint1.d.ts +294 -0
  43. package/dist/parse-perseus-json/regression-tests/item-data/interactive-graph-missing-graph.d.ts +167 -0
  44. package/dist/parse-perseus-json/regression-tests/item-data/interactive-graph-missing-gridStep.d.ts +121 -0
  45. package/dist/parse-perseus-json/regression-tests/item-data/interactive-graph-missing-labels.d.ts +49 -0
  46. package/dist/parse-perseus-json/regression-tests/item-data/interactive-graph-polygon-with-exact-match.d.ts +96 -0
  47. package/dist/parse-perseus-json/regression-tests/item-data/interactive-graph-with-string-backgroundImage-left.d.ts +86 -0
  48. package/dist/parse-perseus-json/regression-tests/item-data/item-with-null-itemDataVersion.d.ts +100 -0
  49. package/dist/parse-perseus-json/regression-tests/item-data/label-image-missing-static.d.ts +110 -0
  50. package/dist/parse-perseus-json/regression-tests/item-data/lights-puzzle.d.ts +27 -0
  51. package/dist/parse-perseus-json/regression-tests/item-data/matcher-with-null-options.d.ts +14 -0
  52. package/dist/parse-perseus-json/regression-tests/item-data/matrix-missing-version.d.ts +24 -0
  53. package/dist/parse-perseus-json/regression-tests/item-data/matrix-with-nulls-in-answer.d.ts +39 -0
  54. package/dist/parse-perseus-json/regression-tests/item-data/matrix-with-string-answer-element.d.ts +69 -0
  55. package/dist/parse-perseus-json/regression-tests/item-data/measurer-missing-image.d.ts +49 -0
  56. package/dist/parse-perseus-json/regression-tests/item-data/measurer-missing-static.d.ts +41 -0
  57. package/dist/parse-perseus-json/regression-tests/item-data/number-line-missing-snapDivisions.d.ts +133 -0
  58. package/dist/parse-perseus-json/regression-tests/item-data/number-line-missing-static.d.ts +46 -0
  59. package/dist/parse-perseus-json/regression-tests/item-data/number-line-with-empty-strings-in-label-range.d.ts +92 -0
  60. package/dist/parse-perseus-json/regression-tests/item-data/number-line-with-null-correctX.d.ts +68 -0
  61. package/dist/parse-perseus-json/regression-tests/item-data/numeric-input-answer-with-null-value.d.ts +44 -0
  62. package/dist/parse-perseus-json/regression-tests/item-data/numeric-input-answer-with-simplify-true.d.ts +40 -0
  63. package/dist/parse-perseus-json/regression-tests/item-data/numeric-input-answer-without-value.d.ts +89 -0
  64. package/dist/parse-perseus-json/regression-tests/item-data/numeric-input-missing-coefficient.d.ts +43 -0
  65. package/dist/parse-perseus-json/regression-tests/item-data/numeric-input-missing-labelText.d.ts +210 -0
  66. package/dist/parse-perseus-json/regression-tests/item-data/numeric-input-with-null-answerForms.d.ts +228 -0
  67. package/dist/parse-perseus-json/regression-tests/item-data/numeric-input-with-simplify-accepted.d.ts +108 -0
  68. package/dist/parse-perseus-json/regression-tests/item-data/numeric-input-with-simplify-false.d.ts +52 -0
  69. package/dist/parse-perseus-json/regression-tests/item-data/numeric-input-with-simplify-true-string.d.ts +75 -0
  70. package/dist/parse-perseus-json/regression-tests/item-data/orderer-option-missing-images.d.ts +539 -0
  71. package/dist/parse-perseus-json/regression-tests/item-data/orderer-option-missing-widgets.d.ts +80 -0
  72. package/dist/parse-perseus-json/regression-tests/item-data/orderer-with-invalid-height.d.ts +33 -0
  73. package/dist/parse-perseus-json/regression-tests/item-data/orderer-with-undefined-options.d.ts +135 -0
  74. package/dist/parse-perseus-json/regression-tests/item-data/passage-missing-footnotes-and-title.d.ts +47 -0
  75. package/dist/parse-perseus-json/regression-tests/item-data/passage-ref-missing-summaryText.d.ts +147 -0
  76. package/dist/parse-perseus-json/regression-tests/item-data/plotter-missing-scaleY-and-snapsPerLine.d.ts +64 -0
  77. package/dist/parse-perseus-json/regression-tests/item-data/plotter-with-undefined-plotDimensions.d.ts +76 -0
  78. package/dist/parse-perseus-json/regression-tests/item-data/question-missing-content.d.ts +8 -0
  79. package/dist/parse-perseus-json/regression-tests/item-data/radio-choice-ids-set-to-empty-string.d.ts +49 -0
  80. package/dist/parse-perseus-json/regression-tests/item-data/radio-choice-missing-content.d.ts +147 -0
  81. package/dist/parse-perseus-json/regression-tests/item-data/radio-choice-v2-with-rationale.d.ts +167 -0
  82. package/dist/parse-perseus-json/regression-tests/item-data/radio-missing-noneOfTheAbove.d.ts +43 -0
  83. package/dist/parse-perseus-json/regression-tests/item-data/radio-with-extra-fields-from-go-schema.d.ts +169 -0
  84. package/dist/parse-perseus-json/regression-tests/item-data/radio-with-null-options.d.ts +78 -0
  85. package/dist/parse-perseus-json/regression-tests/item-data/radio-with-null-widgets.d.ts +115 -0
  86. package/dist/parse-perseus-json/regression-tests/item-data/simulator-widget.d.ts +51 -0
  87. package/dist/parse-perseus-json/regression-tests/item-data/transformer-widget.d.ts +99 -0
  88. package/package.json +1 -1
@@ -0,0 +1,41 @@
1
+ declare const _default: {
2
+ question: {
3
+ content: string;
4
+ images: {};
5
+ widgets: {
6
+ "expression 1": {
7
+ type: string;
8
+ alignment: string;
9
+ static: boolean;
10
+ graded: boolean;
11
+ options: {
12
+ answerForms: {
13
+ value: string;
14
+ considered: string;
15
+ key: number;
16
+ }[];
17
+ buttonSets: string[];
18
+ functions: string[];
19
+ times: boolean;
20
+ };
21
+ version: {
22
+ major: number;
23
+ minor: number;
24
+ };
25
+ };
26
+ };
27
+ };
28
+ answerArea: {
29
+ calculator: boolean;
30
+ chi2Table: boolean;
31
+ periodicTable: boolean;
32
+ tTable: boolean;
33
+ zTable: boolean;
34
+ };
35
+ itemDataVersion: {
36
+ major: number;
37
+ minor: number;
38
+ };
39
+ hints: never[];
40
+ };
41
+ export default _default;
@@ -0,0 +1,35 @@
1
+ declare const _default: {
2
+ answerArea: {
3
+ calculator: boolean;
4
+ options: {
5
+ content: string;
6
+ images: {};
7
+ widgets: {};
8
+ };
9
+ type: string;
10
+ };
11
+ hints: never[];
12
+ question: {
13
+ content: string;
14
+ images: {
15
+ "http://s3.amazonaws.com/illustrativemathematics/images/000/000/818/medium/seven_circles_ba4a5fd8b0a4a751dc704e843912f6ef.jpg?1336174598": {
16
+ height: number;
17
+ width: number;
18
+ };
19
+ };
20
+ widgets: {
21
+ "expression 1": {
22
+ graded: boolean;
23
+ options: {
24
+ form: boolean;
25
+ functions: string[];
26
+ simplify: boolean;
27
+ times: boolean;
28
+ value: string;
29
+ };
30
+ type: string;
31
+ };
32
+ };
33
+ };
34
+ };
35
+ export default _default;
@@ -0,0 +1,44 @@
1
+ declare const _default: {
2
+ answerArea: {
3
+ calculator: boolean;
4
+ options: {
5
+ content: string;
6
+ images: {};
7
+ widgets: {};
8
+ };
9
+ periodicTable: boolean;
10
+ type: string;
11
+ };
12
+ hints: never[];
13
+ itemDataVersion: {
14
+ major: number;
15
+ minor: number;
16
+ };
17
+ question: {
18
+ content: string;
19
+ images: {};
20
+ widgets: {
21
+ "expression 1": {
22
+ alignment: string;
23
+ graded: boolean;
24
+ options: {
25
+ answerForms: {
26
+ considered: string;
27
+ form: boolean;
28
+ key: number;
29
+ simplify: boolean;
30
+ }[];
31
+ buttonSets: string[];
32
+ functions: string[];
33
+ times: boolean;
34
+ };
35
+ type: string;
36
+ version: {
37
+ major: number;
38
+ minor: number;
39
+ };
40
+ };
41
+ };
42
+ };
43
+ };
44
+ export default _default;
@@ -0,0 +1,124 @@
1
+ declare const _default: {
2
+ answerArea: {
3
+ calculator: boolean;
4
+ options: {
5
+ content: string;
6
+ images: {};
7
+ widgets: {};
8
+ };
9
+ type: string;
10
+ };
11
+ hints: ({
12
+ content: string;
13
+ images: {
14
+ "https://ka-perseus-graphie.s3.amazonaws.com/6b0c27f7b0e3b583f30e8fbc0dfa4e685a3c583c.png": {
15
+ height: number;
16
+ width: number;
17
+ };
18
+ };
19
+ widgets: {};
20
+ } | {
21
+ content: string;
22
+ images: {
23
+ "https://ka-perseus-graphie.s3.amazonaws.com/6b0c27f7b0e3b583f30e8fbc0dfa4e685a3c583c.png"?: undefined;
24
+ };
25
+ widgets: {};
26
+ })[];
27
+ itemDataVersion: {
28
+ major: number;
29
+ minor: number;
30
+ };
31
+ question: {
32
+ content: string;
33
+ images: {
34
+ "https://ka-perseus-graphie.s3.amazonaws.com/bee05e004428ab4fb0d8af9c5ca0fe67bc991312.png": {
35
+ height: number;
36
+ width: number;
37
+ };
38
+ };
39
+ widgets: {
40
+ "expression 1": {
41
+ graded: boolean;
42
+ options: {
43
+ answerForms: {
44
+ considered: string;
45
+ form: boolean;
46
+ simplify: boolean;
47
+ value: string;
48
+ }[];
49
+ buttonSets: string[];
50
+ functions: string[];
51
+ times: boolean;
52
+ };
53
+ type: string;
54
+ version: {
55
+ major: number;
56
+ minor: number;
57
+ };
58
+ };
59
+ "expression 2": {
60
+ graded: boolean;
61
+ options: {
62
+ answerForms: {
63
+ considered: string;
64
+ value: string;
65
+ }[];
66
+ buttonSets: string[];
67
+ functions: string[];
68
+ times: boolean;
69
+ };
70
+ type: string;
71
+ version: {
72
+ major: number;
73
+ minor: number;
74
+ };
75
+ };
76
+ "expression 3": {
77
+ graded: boolean;
78
+ options: {
79
+ answerForms: {
80
+ considered: string;
81
+ form: boolean;
82
+ simplify: boolean;
83
+ value: string;
84
+ }[];
85
+ buttonSets: string[];
86
+ functions: string[];
87
+ times: boolean;
88
+ };
89
+ type: string;
90
+ version: {
91
+ major: number;
92
+ minor: number;
93
+ };
94
+ };
95
+ "expression 4": {
96
+ graded: boolean;
97
+ options: {
98
+ answerForms: ({
99
+ considered: string;
100
+ form: boolean;
101
+ key: string;
102
+ simplify: boolean;
103
+ value: string;
104
+ } | {
105
+ considered: string;
106
+ form: boolean;
107
+ key: null;
108
+ simplify: boolean;
109
+ value: string;
110
+ })[];
111
+ buttonSets: string[];
112
+ functions: string[];
113
+ times: boolean;
114
+ };
115
+ type: string;
116
+ version: {
117
+ major: number;
118
+ minor: number;
119
+ };
120
+ };
121
+ };
122
+ };
123
+ };
124
+ export default _default;
@@ -0,0 +1,115 @@
1
+ declare const _default: {
2
+ question: {
3
+ content: string;
4
+ images: {
5
+ "https://cdn.kastatic.org/ka-content-images/d541931875bede1ddddb66e9f7622b093b7d8cc8.png": {
6
+ width: number;
7
+ height: number;
8
+ };
9
+ };
10
+ widgets: {
11
+ "image 1": {
12
+ type: string;
13
+ alignment: string;
14
+ static: boolean;
15
+ graded: boolean;
16
+ options: {
17
+ static: boolean;
18
+ title: string;
19
+ range: number[][];
20
+ box: number[];
21
+ backgroundImage: {
22
+ url: string;
23
+ width: number;
24
+ height: number;
25
+ };
26
+ labels: never[];
27
+ alt: string;
28
+ caption: string;
29
+ };
30
+ version: {
31
+ major: number;
32
+ minor: number;
33
+ };
34
+ };
35
+ "explanation 2": {
36
+ type: string;
37
+ alignment: string;
38
+ static: boolean;
39
+ graded: boolean;
40
+ options: {
41
+ static: boolean;
42
+ showPrompt: string;
43
+ hidePrompt: string;
44
+ explanation: string;
45
+ widgets: {};
46
+ };
47
+ version: {
48
+ major: number;
49
+ minor: number;
50
+ };
51
+ };
52
+ "expression 1": {
53
+ type: string;
54
+ alignment: string;
55
+ static: boolean;
56
+ graded: boolean;
57
+ options: {
58
+ answerForms: {
59
+ value: string;
60
+ form: boolean;
61
+ simplify: boolean;
62
+ considered: string;
63
+ key: number;
64
+ }[];
65
+ buttonSets: string[];
66
+ functions: string[];
67
+ times: boolean;
68
+ };
69
+ version: {
70
+ major: number;
71
+ minor: number;
72
+ };
73
+ };
74
+ "explanation 1": {
75
+ type: string;
76
+ alignment: string;
77
+ static: boolean;
78
+ graded: boolean;
79
+ options: {
80
+ static: boolean;
81
+ showPrompt: string;
82
+ hidePrompt: string;
83
+ explanation: string;
84
+ widgets: {};
85
+ };
86
+ version: {
87
+ major: number;
88
+ minor: number;
89
+ };
90
+ };
91
+ };
92
+ };
93
+ answerArea: {
94
+ calculator: boolean;
95
+ chi2Table: boolean;
96
+ financialCalculatorMonthlyPayment: boolean;
97
+ financialCalculatorTotalAmount: boolean;
98
+ financialCalculatorTimeToPayOff: boolean;
99
+ periodicTable: boolean;
100
+ periodicTableWithKey: boolean;
101
+ tTable: boolean;
102
+ zTable: boolean;
103
+ };
104
+ itemDataVersion: {
105
+ major: number;
106
+ minor: number;
107
+ };
108
+ hints: {
109
+ replace: boolean;
110
+ content: string;
111
+ images: {};
112
+ widgets: {};
113
+ }[];
114
+ };
115
+ export default _default;
@@ -0,0 +1,133 @@
1
+ declare const _default: {
2
+ answerArea: {
3
+ calculator: boolean;
4
+ chi2Table: boolean;
5
+ periodicTable: boolean;
6
+ tTable: boolean;
7
+ zTable: boolean;
8
+ };
9
+ hints: ({
10
+ content: string;
11
+ images: {
12
+ "web+graphie://ka-perseus-graphie.s3.amazonaws.com/bf8bd5bdea1a5aa51b012c0ee041bc4c57edc4d4"?: undefined;
13
+ };
14
+ replace: boolean;
15
+ widgets: {
16
+ "explanation 1": {
17
+ alignment: string;
18
+ graded: boolean;
19
+ options: {
20
+ explanation: string;
21
+ hidePrompt: string;
22
+ showPrompt: string;
23
+ static: boolean;
24
+ widgets: {};
25
+ };
26
+ static: boolean;
27
+ type: string;
28
+ version: {
29
+ major: number;
30
+ minor: number;
31
+ };
32
+ };
33
+ "graded-group 1"?: undefined;
34
+ };
35
+ } | {
36
+ content: string;
37
+ images: {
38
+ "web+graphie://ka-perseus-graphie.s3.amazonaws.com/bf8bd5bdea1a5aa51b012c0ee041bc4c57edc4d4": {
39
+ height: number;
40
+ width: number;
41
+ };
42
+ };
43
+ replace: boolean;
44
+ widgets: {
45
+ "graded-group 1": {
46
+ alignment: string;
47
+ graded: boolean;
48
+ options: {
49
+ content: string;
50
+ hasHint: boolean;
51
+ hint: boolean;
52
+ images: {};
53
+ title: string;
54
+ widgets: {
55
+ "radio 1": {
56
+ alignment: string;
57
+ graded: boolean;
58
+ options: {
59
+ choices: ({
60
+ content: string;
61
+ correct: boolean;
62
+ isNoneOfTheAbove?: undefined;
63
+ } | {
64
+ content: string;
65
+ isNoneOfTheAbove: boolean;
66
+ correct?: undefined;
67
+ })[];
68
+ deselectEnabled: boolean;
69
+ displayCount: null;
70
+ hasNoneOfTheAbove: boolean;
71
+ multipleSelect: boolean;
72
+ onePerLine: boolean;
73
+ randomize: boolean;
74
+ };
75
+ static: boolean;
76
+ type: string;
77
+ version: {
78
+ major: number;
79
+ minor: number;
80
+ };
81
+ };
82
+ };
83
+ };
84
+ static: boolean;
85
+ type: string;
86
+ version: {
87
+ major: number;
88
+ minor: number;
89
+ };
90
+ };
91
+ "explanation 1"?: undefined;
92
+ };
93
+ } | {
94
+ content: string;
95
+ images: {
96
+ "web+graphie://ka-perseus-graphie.s3.amazonaws.com/bf8bd5bdea1a5aa51b012c0ee041bc4c57edc4d4"?: undefined;
97
+ };
98
+ replace: boolean;
99
+ widgets: {
100
+ "explanation 1"?: undefined;
101
+ "graded-group 1"?: undefined;
102
+ };
103
+ })[];
104
+ itemDataVersion: {
105
+ major: number;
106
+ minor: number;
107
+ };
108
+ question: {
109
+ content: string;
110
+ images: {};
111
+ widgets: {
112
+ "matrix 1": {
113
+ alignment: string;
114
+ graded: boolean;
115
+ options: {
116
+ answers: number[][];
117
+ cursorPosition: number[];
118
+ matrixBoardSize: number[];
119
+ prefix: string;
120
+ static: boolean;
121
+ suffix: string;
122
+ };
123
+ static: boolean;
124
+ type: string;
125
+ version: {
126
+ major: number;
127
+ minor: number;
128
+ };
129
+ };
130
+ };
131
+ };
132
+ };
133
+ export default _default;
@@ -0,0 +1,111 @@
1
+ declare const _default: {
2
+ question: {
3
+ content: string;
4
+ images: {};
5
+ widgets: {
6
+ "grapher 1": {
7
+ type: string;
8
+ alignment: string;
9
+ static: boolean;
10
+ graded: boolean;
11
+ options: {
12
+ correct: {
13
+ type: string;
14
+ coords: never[];
15
+ };
16
+ graph: {
17
+ editableSettings: string[];
18
+ range: number[][];
19
+ labels: string[];
20
+ step: number[];
21
+ gridStep: number[];
22
+ snapStep: number[];
23
+ valid: boolean;
24
+ backgroundImage: {
25
+ url: null;
26
+ };
27
+ markings: string;
28
+ rulerLabel: string;
29
+ rulerTicks: number;
30
+ showTooltips: boolean;
31
+ showProtractor: boolean;
32
+ showRuler: boolean;
33
+ };
34
+ availableTypes: string[];
35
+ };
36
+ version: {
37
+ major: number;
38
+ minor: number;
39
+ };
40
+ };
41
+ };
42
+ };
43
+ answerArea: {
44
+ zTable: boolean;
45
+ calculator: boolean;
46
+ chi2Table: boolean;
47
+ financialCalculatorMonthlyPayment: boolean;
48
+ financialCalculatorTotalAmount: boolean;
49
+ financialCalculatorTimeToPayOff: boolean;
50
+ periodicTable: boolean;
51
+ periodicTableWithKey: boolean;
52
+ tTable: boolean;
53
+ };
54
+ hints: ({
55
+ replace: boolean;
56
+ content: string;
57
+ images: {
58
+ "web+graphie://ka-perseus-graphie.s3.amazonaws.com/d7c9612d0f48c1797d3cafdda8ab26f5f2fc3c87"?: undefined;
59
+ };
60
+ widgets: {
61
+ "grapher 1"?: undefined;
62
+ };
63
+ } | {
64
+ replace: boolean;
65
+ content: string;
66
+ images: {
67
+ "web+graphie://ka-perseus-graphie.s3.amazonaws.com/d7c9612d0f48c1797d3cafdda8ab26f5f2fc3c87": {
68
+ width: number;
69
+ height: number;
70
+ };
71
+ };
72
+ widgets: {
73
+ "grapher 1": {
74
+ type: string;
75
+ alignment: string;
76
+ static: boolean;
77
+ graded: boolean;
78
+ options: {
79
+ correct: {
80
+ type: string;
81
+ coords: number[][];
82
+ };
83
+ availableTypes: string[];
84
+ graph: {
85
+ editableSettings: string[];
86
+ range: number[][];
87
+ labels: string[];
88
+ step: number[];
89
+ gridStep: number[];
90
+ snapStep: number[];
91
+ valid: boolean;
92
+ backgroundImage: {
93
+ url: null;
94
+ };
95
+ markings: string;
96
+ rulerLabel: string;
97
+ rulerTicks: number;
98
+ showTooltips: boolean;
99
+ showProtractor: boolean;
100
+ showRuler: boolean;
101
+ };
102
+ };
103
+ version: {
104
+ major: number;
105
+ minor: number;
106
+ };
107
+ };
108
+ };
109
+ })[];
110
+ };
111
+ export default _default;
@@ -0,0 +1,59 @@
1
+ declare const _default: {
2
+ answerArea: {
3
+ calculator: boolean;
4
+ options: {
5
+ content: string;
6
+ images: {};
7
+ widgets: {};
8
+ };
9
+ type: string;
10
+ };
11
+ hints: never[];
12
+ itemDataVersion: {
13
+ major: number;
14
+ minor: number;
15
+ };
16
+ question: {
17
+ content: string;
18
+ images: {};
19
+ widgets: {
20
+ "grapher 1": {
21
+ graded: boolean;
22
+ options: {
23
+ availableTypes: string[];
24
+ correct: {
25
+ asymptote: null;
26
+ coords: null;
27
+ type: string;
28
+ };
29
+ graph: {
30
+ backgroundImage: {
31
+ height: number;
32
+ url: null;
33
+ width: number;
34
+ };
35
+ box: number[];
36
+ editableSettings: string[];
37
+ gridStep: number[];
38
+ labels: string[];
39
+ markings: string;
40
+ range: number[][];
41
+ rulerLabel: string;
42
+ rulerTicks: number;
43
+ showProtractor: boolean;
44
+ showRuler: boolean;
45
+ snapStep: number[];
46
+ step: number[];
47
+ valid: boolean;
48
+ };
49
+ };
50
+ type: string;
51
+ version: {
52
+ major: number;
53
+ minor: number;
54
+ };
55
+ };
56
+ };
57
+ };
58
+ };
59
+ export default _default;