@pie-element/graphing 3.7.19 → 3.7.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/configure/CHANGELOG.md +24 -0
- package/configure/lib/configure.js +17 -18
- package/configure/lib/configure.js.map +1 -1
- package/configure/lib/correct-response.js +194 -43
- package/configure/lib/correct-response.js.map +1 -1
- package/configure/lib/defaults.js +10 -5
- package/configure/lib/defaults.js.map +1 -1
- package/configure/lib/graphing-config.js +141 -182
- package/configure/lib/graphing-config.js.map +1 -1
- package/configure/lib/index.js +32 -15
- package/configure/lib/index.js.map +1 -1
- package/configure/lib/utils.js +94 -0
- package/configure/lib/utils.js.map +1 -0
- package/configure/package.json +4 -4
- package/controller/CHANGELOG.md +8 -0
- package/controller/lib/defaults.js +2 -0
- package/controller/lib/defaults.js.map +1 -1
- package/controller/lib/index.js +6 -17
- package/controller/lib/index.js.map +1 -1
- package/controller/lib/utils.js +5 -3
- package/controller/lib/utils.js.map +1 -1
- package/controller/package.json +1 -1
- package/docs/config-schema.json +72 -0
- package/docs/config-schema.json.md +57 -1
- package/docs/pie-schema.json +46 -0
- package/docs/pie-schema.json.md +36 -0
- package/package.json +6 -6
package/docs/pie-schema.json
CHANGED
|
@@ -1549,6 +1549,11 @@
|
|
|
1549
1549
|
"width"
|
|
1550
1550
|
]
|
|
1551
1551
|
},
|
|
1552
|
+
"includeAxes": {
|
|
1553
|
+
"description": "Indicates if the graph axes and labels are enabled",
|
|
1554
|
+
"type": "boolean",
|
|
1555
|
+
"title": "includeAxes"
|
|
1556
|
+
},
|
|
1552
1557
|
"labels": {
|
|
1553
1558
|
"title": "Labels",
|
|
1554
1559
|
"type": "object",
|
|
@@ -1721,6 +1726,11 @@
|
|
|
1721
1726
|
"type": "boolean",
|
|
1722
1727
|
"title": "spellCheckEnabled"
|
|
1723
1728
|
},
|
|
1729
|
+
"standardGrid": {
|
|
1730
|
+
"description": "Indicates if some domain values will be synched to the range values",
|
|
1731
|
+
"type": "boolean",
|
|
1732
|
+
"title": "standardGrid"
|
|
1733
|
+
},
|
|
1724
1734
|
"studentInstructionsEnabled": {
|
|
1725
1735
|
"description": "Indicates if Student Instructions are enabled",
|
|
1726
1736
|
"type": "boolean",
|
|
@@ -1864,6 +1874,42 @@
|
|
|
1864
1874
|
}
|
|
1865
1875
|
}
|
|
1866
1876
|
},
|
|
1877
|
+
"DimensionsConfigProp": {
|
|
1878
|
+
"title": "DimensionsConfigProp",
|
|
1879
|
+
"type": "object",
|
|
1880
|
+
"properties": {
|
|
1881
|
+
"settings": {
|
|
1882
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
1883
|
+
"type": "boolean",
|
|
1884
|
+
"title": "settings"
|
|
1885
|
+
},
|
|
1886
|
+
"label": {
|
|
1887
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
1888
|
+
"type": "string",
|
|
1889
|
+
"title": "label"
|
|
1890
|
+
},
|
|
1891
|
+
"enabled": {
|
|
1892
|
+
"description": "Indicates if the graph dimensions are included in the Grid Setup Panel",
|
|
1893
|
+
"type": "boolean",
|
|
1894
|
+
"title": "enabled"
|
|
1895
|
+
},
|
|
1896
|
+
"min": {
|
|
1897
|
+
"description": "Indicates the minimum value for the graph width and height",
|
|
1898
|
+
"type": "number",
|
|
1899
|
+
"title": "min"
|
|
1900
|
+
},
|
|
1901
|
+
"max": {
|
|
1902
|
+
"description": "Indicates the maximum value for the graph width and height",
|
|
1903
|
+
"type": "number",
|
|
1904
|
+
"title": "max"
|
|
1905
|
+
},
|
|
1906
|
+
"step": {
|
|
1907
|
+
"description": "Indicates the increase/decrease value for the graph width and height",
|
|
1908
|
+
"type": "number",
|
|
1909
|
+
"title": "step"
|
|
1910
|
+
}
|
|
1911
|
+
}
|
|
1912
|
+
},
|
|
1867
1913
|
"Answer": {
|
|
1868
1914
|
"title": "Answer",
|
|
1869
1915
|
"type": "object",
|
package/docs/pie-schema.json.md
CHANGED
|
@@ -112,6 +112,10 @@ Width for graph representation
|
|
|
112
112
|
|
|
113
113
|
Height for graph representation
|
|
114
114
|
|
|
115
|
+
# `includeAxes` (boolean)
|
|
116
|
+
|
|
117
|
+
Indicates if the graph axes and labels are enabled
|
|
118
|
+
|
|
115
119
|
# `labels` (object)
|
|
116
120
|
|
|
117
121
|
Properties of the `labels` object:
|
|
@@ -213,6 +217,10 @@ Indicates if Rationale are enabled
|
|
|
213
217
|
|
|
214
218
|
Indicates if spellcheck is enabled for the author. Default value is true
|
|
215
219
|
|
|
220
|
+
# `standardGrid` (boolean)
|
|
221
|
+
|
|
222
|
+
Indicates if some domain values will be synched to the range values
|
|
223
|
+
|
|
216
224
|
# `studentInstructionsEnabled` (boolean, required)
|
|
217
225
|
|
|
218
226
|
Indicates if Student Instructions are enabled
|
|
@@ -316,6 +324,34 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
316
324
|
|
|
317
325
|
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
318
326
|
|
|
327
|
+
## `DimensionsConfigProp` (object)
|
|
328
|
+
|
|
329
|
+
Properties of the `DimensionsConfigProp` object:
|
|
330
|
+
|
|
331
|
+
### `settings` (boolean)
|
|
332
|
+
|
|
333
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
334
|
+
|
|
335
|
+
### `label` (string)
|
|
336
|
+
|
|
337
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
338
|
+
|
|
339
|
+
### `enabled` (boolean)
|
|
340
|
+
|
|
341
|
+
Indicates if the graph dimensions are included in the Grid Setup Panel
|
|
342
|
+
|
|
343
|
+
### `min` (number)
|
|
344
|
+
|
|
345
|
+
Indicates the minimum value for the graph width and height
|
|
346
|
+
|
|
347
|
+
### `max` (number)
|
|
348
|
+
|
|
349
|
+
Indicates the maximum value for the graph width and height
|
|
350
|
+
|
|
351
|
+
### `step` (number)
|
|
352
|
+
|
|
353
|
+
Indicates the increase/decrease value for the graph width and height
|
|
354
|
+
|
|
319
355
|
## `Answer` (object)
|
|
320
356
|
|
|
321
357
|
Properties of the `Answer` object:
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"repository": "pie-framework/pie-elements",
|
|
7
|
-
"version": "3.7.
|
|
7
|
+
"version": "3.7.22",
|
|
8
8
|
"description": "",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@material-ui/core": "^3.9.2",
|
|
15
15
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
16
|
-
"@pie-lib/correct-answer-toggle": "2.3.
|
|
17
|
-
"@pie-lib/graphing": "^2.
|
|
18
|
-
"@pie-lib/math-rendering": "^2.4.
|
|
19
|
-
"@pie-lib/render-ui": "^4.12.
|
|
16
|
+
"@pie-lib/correct-answer-toggle": "2.3.39",
|
|
17
|
+
"@pie-lib/graphing": "^2.6.3",
|
|
18
|
+
"@pie-lib/math-rendering": "^2.4.3",
|
|
19
|
+
"@pie-lib/render-ui": "^4.12.9",
|
|
20
20
|
"classnames": "^2.2.5",
|
|
21
21
|
"debug": "^4.1.1",
|
|
22
22
|
"react": "^16.8.1",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"author": "",
|
|
26
26
|
"license": "ISC",
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "2b16a41c0627a27ee758af9285afde4d226dc12b",
|
|
28
28
|
"main": "lib/index.js",
|
|
29
29
|
"module": "src/index.js"
|
|
30
30
|
}
|