@pie-element/graphing 3.5.4-next.1025 → 3.5.4-next.1031
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/configure/lib/configure.js +58 -46
- package/configure/lib/configure.js.map +1 -1
- package/configure/lib/correct-response.js +15 -7
- package/configure/lib/correct-response.js.map +1 -1
- package/configure/lib/defaults.js +25 -2
- package/configure/lib/defaults.js.map +1 -1
- package/configure/lib/graphing-config.js +29 -11
- package/configure/lib/graphing-config.js.map +1 -1
- package/docs/config-schema.json +235 -10
- package/docs/config-schema.json.md +180 -11
- package/docs/pie-schema.json +133 -6
- package/docs/pie-schema.json.md +103 -7
- package/package.json +2 -2
package/docs/pie-schema.json
CHANGED
|
@@ -1783,22 +1783,128 @@
|
|
|
1783
1783
|
"teacherInstructionsEnabled"
|
|
1784
1784
|
],
|
|
1785
1785
|
"definitions": {
|
|
1786
|
-
"
|
|
1787
|
-
"title": "
|
|
1786
|
+
"AuthoringConfigProp": {
|
|
1787
|
+
"title": "AuthoringConfigProp",
|
|
1788
1788
|
"type": "object",
|
|
1789
1789
|
"properties": {
|
|
1790
1790
|
"settings": {
|
|
1791
|
-
"description": "Indicates if the item
|
|
1791
|
+
"description": "Indicates if the item is displayed in the Settings Panel",
|
|
1792
1792
|
"type": "boolean",
|
|
1793
1793
|
"title": "settings"
|
|
1794
1794
|
},
|
|
1795
1795
|
"label": {
|
|
1796
|
-
"description": "Indicates the label for the item that
|
|
1796
|
+
"description": "Indicates the label for the item that is displayed in the Settings Panel",
|
|
1797
1797
|
"type": "string",
|
|
1798
1798
|
"title": "label"
|
|
1799
1799
|
},
|
|
1800
1800
|
"enabled": {
|
|
1801
|
-
"description": "Indicates
|
|
1801
|
+
"description": "Indicates if the Grid Setup Panel is displayed",
|
|
1802
|
+
"type": "boolean",
|
|
1803
|
+
"title": "enabled"
|
|
1804
|
+
},
|
|
1805
|
+
"includeAxesEnabled": {
|
|
1806
|
+
"description": "Indicates if the \"includeAxes\" toggle is displayed in the Grid Setup Panel",
|
|
1807
|
+
"type": "boolean",
|
|
1808
|
+
"title": "includeAxesEnabled"
|
|
1809
|
+
},
|
|
1810
|
+
"standardGridEnabled": {
|
|
1811
|
+
"description": "Indicates if the \"standardGrid\" toggle is displayed in the Grid Setup Panel",
|
|
1812
|
+
"type": "boolean",
|
|
1813
|
+
"title": "standardGridEnabled"
|
|
1814
|
+
},
|
|
1815
|
+
"min": {
|
|
1816
|
+
"title": "GridPanelConfigProp",
|
|
1817
|
+
"type": "object",
|
|
1818
|
+
"properties": {
|
|
1819
|
+
"label": {
|
|
1820
|
+
"description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
|
|
1821
|
+
"type": "string",
|
|
1822
|
+
"title": "label"
|
|
1823
|
+
},
|
|
1824
|
+
"enabled": {
|
|
1825
|
+
"description": "Indicates if the item is displayed in the Grid Setup Panel",
|
|
1826
|
+
"type": "boolean",
|
|
1827
|
+
"title": "enabled"
|
|
1828
|
+
}
|
|
1829
|
+
}
|
|
1830
|
+
},
|
|
1831
|
+
"max": {
|
|
1832
|
+
"title": "GridPanelConfigProp",
|
|
1833
|
+
"type": "object",
|
|
1834
|
+
"properties": {
|
|
1835
|
+
"label": {
|
|
1836
|
+
"description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
|
|
1837
|
+
"type": "string",
|
|
1838
|
+
"title": "label"
|
|
1839
|
+
},
|
|
1840
|
+
"enabled": {
|
|
1841
|
+
"description": "Indicates if the item is displayed in the Grid Setup Panel",
|
|
1842
|
+
"type": "boolean",
|
|
1843
|
+
"title": "enabled"
|
|
1844
|
+
}
|
|
1845
|
+
}
|
|
1846
|
+
},
|
|
1847
|
+
"axisLabel": {
|
|
1848
|
+
"title": "GridPanelConfigProp",
|
|
1849
|
+
"type": "object",
|
|
1850
|
+
"properties": {
|
|
1851
|
+
"label": {
|
|
1852
|
+
"description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
|
|
1853
|
+
"type": "string",
|
|
1854
|
+
"title": "label"
|
|
1855
|
+
},
|
|
1856
|
+
"enabled": {
|
|
1857
|
+
"description": "Indicates if the item is displayed in the Grid Setup Panel",
|
|
1858
|
+
"type": "boolean",
|
|
1859
|
+
"title": "enabled"
|
|
1860
|
+
}
|
|
1861
|
+
}
|
|
1862
|
+
},
|
|
1863
|
+
"step": {
|
|
1864
|
+
"title": "GridPanelConfigProp",
|
|
1865
|
+
"type": "object",
|
|
1866
|
+
"properties": {
|
|
1867
|
+
"label": {
|
|
1868
|
+
"description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
|
|
1869
|
+
"type": "string",
|
|
1870
|
+
"title": "label"
|
|
1871
|
+
},
|
|
1872
|
+
"enabled": {
|
|
1873
|
+
"description": "Indicates if the item is displayed in the Grid Setup Panel",
|
|
1874
|
+
"type": "boolean",
|
|
1875
|
+
"title": "enabled"
|
|
1876
|
+
}
|
|
1877
|
+
}
|
|
1878
|
+
},
|
|
1879
|
+
"labelStep": {
|
|
1880
|
+
"title": "GridPanelConfigProp",
|
|
1881
|
+
"type": "object",
|
|
1882
|
+
"properties": {
|
|
1883
|
+
"label": {
|
|
1884
|
+
"description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
|
|
1885
|
+
"type": "string",
|
|
1886
|
+
"title": "label"
|
|
1887
|
+
},
|
|
1888
|
+
"enabled": {
|
|
1889
|
+
"description": "Indicates if the item is displayed in the Grid Setup Panel",
|
|
1890
|
+
"type": "boolean",
|
|
1891
|
+
"title": "enabled"
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
},
|
|
1897
|
+
"GridPanelConfigProp": {
|
|
1898
|
+
"title": "GridPanelConfigProp",
|
|
1899
|
+
"type": "object",
|
|
1900
|
+
"properties": {
|
|
1901
|
+
"label": {
|
|
1902
|
+
"description": "Indicates the label for the item that is displayed in the Grid Setup Panel",
|
|
1903
|
+
"type": "string",
|
|
1904
|
+
"title": "label"
|
|
1905
|
+
},
|
|
1906
|
+
"enabled": {
|
|
1907
|
+
"description": "Indicates if the item is displayed in the Grid Setup Panel",
|
|
1802
1908
|
"type": "boolean",
|
|
1803
1909
|
"title": "enabled"
|
|
1804
1910
|
}
|
|
@@ -1927,6 +2033,27 @@
|
|
|
1927
2033
|
}
|
|
1928
2034
|
}
|
|
1929
2035
|
},
|
|
2036
|
+
"ConfigurePropWithEnabled": {
|
|
2037
|
+
"title": "ConfigurePropWithEnabled",
|
|
2038
|
+
"type": "object",
|
|
2039
|
+
"properties": {
|
|
2040
|
+
"settings": {
|
|
2041
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
2042
|
+
"type": "boolean",
|
|
2043
|
+
"title": "settings"
|
|
2044
|
+
},
|
|
2045
|
+
"label": {
|
|
2046
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
2047
|
+
"type": "string",
|
|
2048
|
+
"title": "label"
|
|
2049
|
+
},
|
|
2050
|
+
"enabled": {
|
|
2051
|
+
"description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
|
|
2052
|
+
"type": "boolean",
|
|
2053
|
+
"title": "enabled"
|
|
2054
|
+
}
|
|
2055
|
+
}
|
|
2056
|
+
},
|
|
1930
2057
|
"ConfigureMaxImageDimensionsProp": {
|
|
1931
2058
|
"title": "ConfigureMaxImageDimensionsProp",
|
|
1932
2059
|
"type": "object",
|
|
@@ -2809,4 +2936,4 @@
|
|
|
2809
2936
|
}
|
|
2810
2937
|
},
|
|
2811
2938
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2812
|
-
}
|
|
2939
|
+
}
|
package/docs/pie-schema.json.md
CHANGED
|
@@ -259,22 +259,101 @@ The html Element tag name
|
|
|
259
259
|
|
|
260
260
|
The schema defines the following additional types:
|
|
261
261
|
|
|
262
|
-
## `
|
|
262
|
+
## `AuthoringConfigProp` (object)
|
|
263
263
|
|
|
264
|
-
Properties of the `
|
|
264
|
+
Properties of the `AuthoringConfigProp` object:
|
|
265
265
|
|
|
266
266
|
### `settings` (boolean)
|
|
267
267
|
|
|
268
|
-
Indicates if the item
|
|
268
|
+
Indicates if the item is displayed in the Settings Panel
|
|
269
269
|
|
|
270
270
|
### `label` (string)
|
|
271
271
|
|
|
272
|
-
Indicates the label for the item that
|
|
272
|
+
Indicates the label for the item that is displayed in the Settings Panel
|
|
273
273
|
|
|
274
274
|
### `enabled` (boolean)
|
|
275
275
|
|
|
276
|
-
Indicates
|
|
277
|
-
|
|
276
|
+
Indicates if the Grid Setup Panel is displayed
|
|
277
|
+
|
|
278
|
+
### `includeAxesEnabled` (boolean)
|
|
279
|
+
|
|
280
|
+
Indicates if the "includeAxes" toggle is displayed in the Grid Setup Panel
|
|
281
|
+
|
|
282
|
+
### `standardGridEnabled` (boolean)
|
|
283
|
+
|
|
284
|
+
Indicates if the "standardGrid" toggle is displayed in the Grid Setup Panel
|
|
285
|
+
|
|
286
|
+
### `min` (object)
|
|
287
|
+
|
|
288
|
+
Properties of the `min` object:
|
|
289
|
+
|
|
290
|
+
#### `label` (string)
|
|
291
|
+
|
|
292
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
293
|
+
|
|
294
|
+
#### `enabled` (boolean)
|
|
295
|
+
|
|
296
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
297
|
+
|
|
298
|
+
### `max` (object)
|
|
299
|
+
|
|
300
|
+
Properties of the `max` object:
|
|
301
|
+
|
|
302
|
+
#### `label` (string)
|
|
303
|
+
|
|
304
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
305
|
+
|
|
306
|
+
#### `enabled` (boolean)
|
|
307
|
+
|
|
308
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
309
|
+
|
|
310
|
+
### `axisLabel` (object)
|
|
311
|
+
|
|
312
|
+
Properties of the `axisLabel` object:
|
|
313
|
+
|
|
314
|
+
#### `label` (string)
|
|
315
|
+
|
|
316
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
317
|
+
|
|
318
|
+
#### `enabled` (boolean)
|
|
319
|
+
|
|
320
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
321
|
+
|
|
322
|
+
### `step` (object)
|
|
323
|
+
|
|
324
|
+
Properties of the `step` object:
|
|
325
|
+
|
|
326
|
+
#### `label` (string)
|
|
327
|
+
|
|
328
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
329
|
+
|
|
330
|
+
#### `enabled` (boolean)
|
|
331
|
+
|
|
332
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
333
|
+
|
|
334
|
+
### `labelStep` (object)
|
|
335
|
+
|
|
336
|
+
Properties of the `labelStep` object:
|
|
337
|
+
|
|
338
|
+
#### `label` (string)
|
|
339
|
+
|
|
340
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
341
|
+
|
|
342
|
+
#### `enabled` (boolean)
|
|
343
|
+
|
|
344
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
345
|
+
|
|
346
|
+
## `GridPanelConfigProp` (object)
|
|
347
|
+
|
|
348
|
+
Properties of the `GridPanelConfigProp` object:
|
|
349
|
+
|
|
350
|
+
### `label` (string)
|
|
351
|
+
|
|
352
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
353
|
+
|
|
354
|
+
### `enabled` (boolean)
|
|
355
|
+
|
|
356
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
278
357
|
|
|
279
358
|
## `ArrowsConfigProp` (object)
|
|
280
359
|
|
|
@@ -368,6 +447,23 @@ Indicates the maximum value for the graph width and height
|
|
|
368
447
|
|
|
369
448
|
Indicates the increase/decrease value for the graph width and height
|
|
370
449
|
|
|
450
|
+
## `ConfigurePropWithEnabled` (object)
|
|
451
|
+
|
|
452
|
+
Properties of the `ConfigurePropWithEnabled` object:
|
|
453
|
+
|
|
454
|
+
### `settings` (boolean)
|
|
455
|
+
|
|
456
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
457
|
+
|
|
458
|
+
### `label` (string)
|
|
459
|
+
|
|
460
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
461
|
+
|
|
462
|
+
### `enabled` (boolean)
|
|
463
|
+
|
|
464
|
+
Indicates the value of the item if it affects config-ui
|
|
465
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
466
|
+
|
|
371
467
|
## `ConfigureMaxImageDimensionsProp` (object)
|
|
372
468
|
|
|
373
469
|
Properties of the `ConfigureMaxImageDimensionsProp` object:
|
|
@@ -614,4 +710,4 @@ Label for left side of the graph
|
|
|
614
710
|
|
|
615
711
|
### `right` (string, required)
|
|
616
712
|
|
|
617
|
-
Label for right side of the graph
|
|
713
|
+
Label for right side of the graph
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"repository": "pie-framework/pie-elements",
|
|
7
|
-
"version": "3.5.4-next.
|
|
7
|
+
"version": "3.5.4-next.1031+5885a0888",
|
|
8
8
|
"description": "",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"author": "",
|
|
26
26
|
"license": "ISC",
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "5885a0888cc8eebb8501e970e2aa9a3addef5547",
|
|
28
28
|
"main": "lib/index.js",
|
|
29
29
|
"module": "src/index.js"
|
|
30
30
|
}
|