@pie-element/number-line 5.11.3-next.133 → 5.11.3-next.1335

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 (63) hide show
  1. package/CHANGELOG.md +274 -0
  2. package/configure/CHANGELOG.md +226 -0
  3. package/configure/lib/arrows.js +3 -3
  4. package/configure/lib/arrows.js.map +1 -1
  5. package/configure/lib/card-bar.js +9 -2
  6. package/configure/lib/card-bar.js.map +1 -1
  7. package/configure/lib/defaults.js +6 -1
  8. package/configure/lib/defaults.js.map +1 -1
  9. package/configure/lib/domain.js +3 -3
  10. package/configure/lib/domain.js.map +1 -1
  11. package/configure/lib/index.js +61 -8
  12. package/configure/lib/index.js.map +1 -1
  13. package/configure/lib/main.js +91 -17
  14. package/configure/lib/main.js.map +1 -1
  15. package/configure/lib/number-text-field.js +4 -4
  16. package/configure/lib/number-text-field.js.map +1 -1
  17. package/configure/lib/point-config.js +3 -3
  18. package/configure/lib/point-config.js.map +1 -1
  19. package/configure/lib/size.js +2 -2
  20. package/configure/lib/size.js.map +1 -1
  21. package/configure/lib/ticks.js +8 -4
  22. package/configure/lib/ticks.js.map +1 -1
  23. package/configure/lib/utils.js +14 -0
  24. package/configure/lib/utils.js.map +1 -0
  25. package/configure/package.json +4 -4
  26. package/controller/CHANGELOG.md +40 -0
  27. package/controller/lib/defaults.js +0 -3
  28. package/controller/lib/defaults.js.map +1 -1
  29. package/controller/lib/index.js +95 -9
  30. package/controller/lib/index.js.map +1 -1
  31. package/controller/package.json +1 -1
  32. package/docs/config-schema.json +16 -0
  33. package/docs/config-schema.json.md +12 -0
  34. package/docs/demo/generate.js +1 -4
  35. package/docs/pie-schema.json +19 -1
  36. package/docs/pie-schema.json.md +12 -0
  37. package/lib/data-converter.js +1 -1
  38. package/lib/data-converter.js.map +1 -1
  39. package/lib/draggable/index.js +1 -1
  40. package/lib/index.js +16 -5
  41. package/lib/index.js.map +1 -1
  42. package/lib/number-line/colors.js +1 -1
  43. package/lib/number-line/feedback.js.map +1 -1
  44. package/lib/number-line/graph/elements/line.js +3 -3
  45. package/lib/number-line/graph/elements/line.js.map +1 -1
  46. package/lib/number-line/graph/elements/point.js +1 -1
  47. package/lib/number-line/graph/elements/point.js.map +1 -1
  48. package/lib/number-line/graph/elements/ray.js +12 -5
  49. package/lib/number-line/graph/elements/ray.js.map +1 -1
  50. package/lib/number-line/graph/index.js +6 -4
  51. package/lib/number-line/graph/index.js.map +1 -1
  52. package/lib/number-line/graph/stacks.js +1 -1
  53. package/lib/number-line/graph/stacks.js.map +1 -1
  54. package/lib/number-line/graph/tick-utils.js +11 -7
  55. package/lib/number-line/graph/tick-utils.js.map +1 -1
  56. package/lib/number-line/graph/ticks.js +58 -14
  57. package/lib/number-line/graph/ticks.js.map +1 -1
  58. package/lib/number-line/index.js +10 -9
  59. package/lib/number-line/index.js.map +1 -1
  60. package/lib/number-line/point-chooser/index.js +1 -1
  61. package/lib/number-line/point-chooser/index.js.map +1 -1
  62. package/lib/number-line/transitions/fade.js.map +1 -1
  63. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -3,6 +3,280 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [6.1.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@6.0.0...@pie-element/number-line@6.1.0) (2022-06-28)
7
+
8
+
9
+ ### Features
10
+
11
+ * **number-line:** created validate method in controller PD-1747 ([b1341ef](https://github.com/pie-framework/pie-elements/commit/b1341ef167b43ed6af17bf64d605a66d725b7e2c))
12
+ * **number-line:** ux/ui for validation PD-1748 ([ccfa5fe](https://github.com/pie-framework/pie-elements/commit/ccfa5fe9b39c4471a9769a943c117e35db4bfcc2))
13
+
14
+
15
+
16
+
17
+
18
+ # [6.0.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.14.14...@pie-element/number-line@6.0.0) (2022-06-28)
19
+
20
+
21
+ ### chore
22
+
23
+ * Merge master with develop. ([cdca48a](https://github.com/pie-framework/pie-elements/commit/cdca48abaa1d4179e4a961e13d171e14b7ed2444))
24
+
25
+
26
+ ### BREAKING CHANGES
27
+
28
+ * Image percent buttons were removed from toolbar.
29
+ New properties maxImageWidth and maxImageHeight were added.
30
+
31
+
32
+
33
+
34
+
35
+ ## [5.14.14](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.14.13...@pie-element/number-line@5.14.14) (2022-06-13)
36
+
37
+ **Note:** Version bump only for package @pie-element/number-line
38
+
39
+
40
+
41
+
42
+
43
+ ## [5.14.13](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.14.12...@pie-element/number-line@5.14.13) (2022-05-30)
44
+
45
+ **Note:** Version bump only for package @pie-element/number-line
46
+
47
+
48
+
49
+
50
+
51
+ ## [5.14.12](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.14.11...@pie-element/number-line@5.14.12) (2022-05-30)
52
+
53
+ **Note:** Version bump only for package @pie-element/number-line
54
+
55
+
56
+
57
+
58
+
59
+ ## [5.14.11](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.14.10...@pie-element/number-line@5.14.11) (2022-05-16)
60
+
61
+ **Note:** Version bump only for package @pie-element/number-line
62
+
63
+
64
+
65
+
66
+
67
+ ## [5.14.10](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.14.9...@pie-element/number-line@5.14.10) (2022-05-09)
68
+
69
+ **Note:** Version bump only for package @pie-element/number-line
70
+
71
+
72
+
73
+
74
+
75
+ ## [5.14.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.14.8...@pie-element/number-line@5.14.9) (2022-05-03)
76
+
77
+ **Note:** Version bump only for package @pie-element/number-line
78
+
79
+
80
+
81
+
82
+
83
+ ## [5.14.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.14.7...@pie-element/number-line@5.14.8) (2022-04-12)
84
+
85
+ **Note:** Version bump only for package @pie-element/number-line
86
+
87
+
88
+
89
+
90
+
91
+ ## [5.14.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.14.6...@pie-element/number-line@5.14.7) (2022-03-28)
92
+
93
+ **Note:** Version bump only for package @pie-element/number-line
94
+
95
+
96
+
97
+
98
+
99
+ ## [5.14.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.14.5...@pie-element/number-line@5.14.6) (2022-03-22)
100
+
101
+ **Note:** Version bump only for package @pie-element/number-line
102
+
103
+
104
+
105
+
106
+
107
+ ## [5.14.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.14.4...@pie-element/number-line@5.14.5) (2022-03-08)
108
+
109
+ **Note:** Version bump only for package @pie-element/number-line
110
+
111
+
112
+
113
+
114
+
115
+ ## [5.14.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.14.3...@pie-element/number-line@5.14.4) (2022-03-08)
116
+
117
+ **Note:** Version bump only for package @pie-element/number-line
118
+
119
+
120
+
121
+
122
+
123
+ ## [5.14.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.14.2...@pie-element/number-line@5.14.3) (2022-02-21)
124
+
125
+ **Note:** Version bump only for package @pie-element/number-line
126
+
127
+
128
+
129
+
130
+
131
+ ## [5.14.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.14.1...@pie-element/number-line@5.14.2) (2022-02-04)
132
+
133
+ **Note:** Version bump only for package @pie-element/number-line
134
+
135
+
136
+
137
+
138
+
139
+ ## [5.14.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.14.0...@pie-element/number-line@5.14.1) (2022-01-24)
140
+
141
+ **Note:** Version bump only for package @pie-element/number-line
142
+
143
+
144
+
145
+
146
+
147
+ # [5.14.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.13.9...@pie-element/number-line@5.14.0) (2022-01-11)
148
+
149
+
150
+ ### Bug Fixes
151
+
152
+ * **number-line:** Added fractions sign ([fa95e96](https://github.com/pie-framework/pie-elements/commit/fa95e963c44a6da11657fdaba3876009f3627d81))
153
+ * **number-line:** Displayed only the numerator when the denominator is 1 ([f1a07e8](https://github.com/pie-framework/pie-elements/commit/f1a07e8410c29d64837b94ce3f01f16afc1af04e))
154
+ * **number-line:** Fixed 'You have not entered a response' issue in pits ([0618d5e](https://github.com/pie-framework/pie-elements/commit/0618d5eeadbf38aca04b0f4c7e3529c2b479ec6b))
155
+ * **number-line:** Fixed line fraction for pits ([b949180](https://github.com/pie-framework/pie-elements/commit/b949180b109cd30842c7d00cc613bb8893a995ad))
156
+ * use preview prompt for prompt, rationale and teacher instructions to fix table rendering PD-1456 ([f330601](https://github.com/pie-framework/pie-elements/commit/f3306019a2d1c8ce3e2783823dfe9ef0a0394e4f))
157
+
158
+
159
+ ### Features
160
+
161
+ * **number-line:** Added support for fractions PD-472 ([4f5f525](https://github.com/pie-framework/pie-elements/commit/4f5f525f1878fe70d32cfae0b79925fcc685031c))
162
+ * **number-line:** Refactoring ([392ae4f](https://github.com/pie-framework/pie-elements/commit/392ae4f20bf297d2482179b3b437fad0c69e3c64))
163
+ * **number-line:** Refactoring ([1fb0bb8](https://github.com/pie-framework/pie-elements/commit/1fb0bb8b302efcabd06abd9c66272e9b4353dd02))
164
+
165
+
166
+
167
+
168
+
169
+ ## [5.13.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.13.8...@pie-element/number-line@5.13.9) (2022-01-11)
170
+
171
+ **Note:** Version bump only for package @pie-element/number-line
172
+
173
+
174
+
175
+
176
+
177
+ ## [5.13.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.13.7...@pie-element/number-line@5.13.8) (2022-01-10)
178
+
179
+ **Note:** Version bump only for package @pie-element/number-line
180
+
181
+
182
+
183
+
184
+
185
+ ## [5.13.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.13.6...@pie-element/number-line@5.13.7) (2021-12-23)
186
+
187
+ **Note:** Version bump only for package @pie-element/number-line
188
+
189
+
190
+
191
+
192
+
193
+ ## [5.13.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.13.4...@pie-element/number-line@5.13.5) (2021-12-13)
194
+
195
+ **Note:** Version bump only for package @pie-element/number-line
196
+
197
+
198
+
199
+
200
+
201
+ ## [5.13.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.13.1...@pie-element/number-line@5.13.2) (2021-11-29)
202
+
203
+ **Note:** Version bump only for package @pie-element/number-line
204
+
205
+
206
+
207
+
208
+
209
+ ## [5.13.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.12.3...@pie-element/number-line@5.13.1) (2021-11-11)
210
+
211
+ **Note:** Version bump only for package @pie-element/number-line
212
+
213
+
214
+
215
+
216
+
217
+ # [5.13.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.11.2...@pie-element/number-line@5.13.0) (2021-11-11)
218
+
219
+
220
+ ### Bug Fixes
221
+
222
+ * pie-lib updates ([e521c2f](https://github.com/pie-framework/pie-elements/commit/e521c2f1a44aa7f3e14f82a1cee05ceb484ed0a6))
223
+ * Updated pie-lib versions ([2fe4c5d](https://github.com/pie-framework/pie-elements/commit/2fe4c5d0be2d40f5fdb34815855695a7f1087f56))
224
+ * Updated pie-lib versions ([1c23830](https://github.com/pie-framework/pie-elements/commit/1c23830fc75d1de5f7bb3bb16de3c665ae5fa350))
225
+ * **number-line:** fix initial view on pits ([4f3e572](https://github.com/pie-framework/pie-elements/commit/4f3e572a16356e5a2d16557f9c23d7a011f24578))
226
+ * **number-line:** initial view should render correctly in pits ([dcbeb43](https://github.com/pie-framework/pie-elements/commit/dcbeb43ea593671129843801d148663ee98bb048))
227
+
228
+
229
+ ### Features
230
+
231
+ * **number-line:** set toolbar editor position to bottom ([148ccaf](https://github.com/pie-framework/pie-elements/commit/148ccafcf586debe3710c63029f5fae3d9c66c1f))
232
+
233
+
234
+
235
+
236
+
237
+
238
+ ## [5.12.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.12.2...@pie-element/number-line@5.12.3) (2021-10-04)
239
+
240
+ **Note:** Version bump only for package @pie-element/number-line
241
+
242
+
243
+
244
+
245
+
246
+ ## [5.12.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.12.1...@pie-element/number-line@5.12.2) (2021-09-20)
247
+
248
+
249
+ ### Bug Fixes
250
+
251
+ * pie-lib updates ([e521c2f](https://github.com/pie-framework/pie-elements/commit/e521c2f1a44aa7f3e14f82a1cee05ceb484ed0a6))
252
+ * Updated pie-lib versions ([2fe4c5d](https://github.com/pie-framework/pie-elements/commit/2fe4c5d0be2d40f5fdb34815855695a7f1087f56))
253
+ * Updated pie-lib versions ([1c23830](https://github.com/pie-framework/pie-elements/commit/1c23830fc75d1de5f7bb3bb16de3c665ae5fa350))
254
+ * **number-line:** fix initial view on pits ([4f3e572](https://github.com/pie-framework/pie-elements/commit/4f3e572a16356e5a2d16557f9c23d7a011f24578))
255
+ * **number-line:** initial view should render correctly in pits ([dcbeb43](https://github.com/pie-framework/pie-elements/commit/dcbeb43ea593671129843801d148663ee98bb048))
256
+
257
+
258
+
259
+
260
+
261
+ ## [5.12.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.12.0...@pie-element/number-line@5.12.1) (2021-09-01)
262
+
263
+ **Note:** Version bump only for package @pie-element/number-line
264
+
265
+
266
+
267
+
268
+
269
+ # [5.12.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.11.2...@pie-element/number-line@5.12.0) (2021-08-05)
270
+
271
+
272
+ ### Features
273
+
274
+ * **number-line:** set toolbar editor position to bottom ([148ccaf](https://github.com/pie-framework/pie-elements/commit/148ccafcf586debe3710c63029f5fae3d9c66c1f))
275
+
276
+
277
+
278
+
279
+
6
280
  ## [5.11.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line@5.11.0...@pie-element/number-line@5.11.2) (2021-08-05)
7
281
 
8
282
 
@@ -3,6 +3,232 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [5.1.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@5.0.0...@pie-element/number-line-configure@5.1.0) (2022-06-28)
7
+
8
+
9
+ ### Features
10
+
11
+ * **number-line:** ux/ui for validation PD-1748 ([ccfa5fe](https://github.com/pie-framework/pie-elements/commit/ccfa5fe9b39c4471a9769a943c117e35db4bfcc2))
12
+
13
+
14
+
15
+
16
+
17
+ # [5.0.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.9.13...@pie-element/number-line-configure@5.0.0) (2022-06-28)
18
+
19
+
20
+ ### chore
21
+
22
+ * Merge master with develop. ([cdca48a](https://github.com/pie-framework/pie-elements/commit/cdca48abaa1d4179e4a961e13d171e14b7ed2444))
23
+
24
+
25
+ ### BREAKING CHANGES
26
+
27
+ * Image percent buttons were removed from toolbar.
28
+ New properties maxImageWidth and maxImageHeight were added.
29
+
30
+
31
+
32
+
33
+
34
+ ## [4.9.13](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.9.12...@pie-element/number-line-configure@4.9.13) (2022-06-13)
35
+
36
+ **Note:** Version bump only for package @pie-element/number-line-configure
37
+
38
+
39
+
40
+
41
+
42
+ ## [4.9.12](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.9.11...@pie-element/number-line-configure@4.9.12) (2022-05-30)
43
+
44
+ **Note:** Version bump only for package @pie-element/number-line-configure
45
+
46
+
47
+
48
+
49
+
50
+ ## [4.9.11](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.9.10...@pie-element/number-line-configure@4.9.11) (2022-05-30)
51
+
52
+ **Note:** Version bump only for package @pie-element/number-line-configure
53
+
54
+
55
+
56
+
57
+
58
+ ## [4.9.10](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.9.9...@pie-element/number-line-configure@4.9.10) (2022-05-16)
59
+
60
+ **Note:** Version bump only for package @pie-element/number-line-configure
61
+
62
+
63
+
64
+
65
+
66
+ ## [4.9.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.9.8...@pie-element/number-line-configure@4.9.9) (2022-05-09)
67
+
68
+ **Note:** Version bump only for package @pie-element/number-line-configure
69
+
70
+
71
+
72
+
73
+
74
+ ## [4.9.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.9.7...@pie-element/number-line-configure@4.9.8) (2022-05-03)
75
+
76
+ **Note:** Version bump only for package @pie-element/number-line-configure
77
+
78
+
79
+
80
+
81
+
82
+ ## [4.9.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.9.6...@pie-element/number-line-configure@4.9.7) (2022-04-12)
83
+
84
+ **Note:** Version bump only for package @pie-element/number-line-configure
85
+
86
+
87
+
88
+
89
+
90
+ ## [4.9.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.9.5...@pie-element/number-line-configure@4.9.6) (2022-03-28)
91
+
92
+ **Note:** Version bump only for package @pie-element/number-line-configure
93
+
94
+
95
+
96
+
97
+
98
+ ## [4.9.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.9.4...@pie-element/number-line-configure@4.9.5) (2022-03-22)
99
+
100
+ **Note:** Version bump only for package @pie-element/number-line-configure
101
+
102
+
103
+
104
+
105
+
106
+ ## [4.9.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.9.3...@pie-element/number-line-configure@4.9.4) (2022-03-08)
107
+
108
+ **Note:** Version bump only for package @pie-element/number-line-configure
109
+
110
+
111
+
112
+
113
+
114
+ ## [4.9.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.9.2...@pie-element/number-line-configure@4.9.3) (2022-03-08)
115
+
116
+ **Note:** Version bump only for package @pie-element/number-line-configure
117
+
118
+
119
+
120
+
121
+
122
+ ## [4.9.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.9.1...@pie-element/number-line-configure@4.9.2) (2022-02-21)
123
+
124
+ **Note:** Version bump only for package @pie-element/number-line-configure
125
+
126
+
127
+
128
+
129
+
130
+ ## [4.9.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.9.0...@pie-element/number-line-configure@4.9.1) (2022-02-04)
131
+
132
+ **Note:** Version bump only for package @pie-element/number-line-configure
133
+
134
+
135
+
136
+
137
+
138
+ # [4.9.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.8.14...@pie-element/number-line-configure@4.9.0) (2022-01-24)
139
+
140
+
141
+ ### Bug Fixes
142
+
143
+ * **number-line:** Fixed 'You have not entered a response' issue in pits ([0618d5e](https://github.com/pie-framework/pie-elements/commit/0618d5eeadbf38aca04b0f4c7e3529c2b479ec6b))
144
+
145
+
146
+ ### Features
147
+
148
+ * **number-line:** Added support for fractions PD-472 ([4f5f525](https://github.com/pie-framework/pie-elements/commit/4f5f525f1878fe70d32cfae0b79925fcc685031c))
149
+ * **number-line:** Refactoring ([1fb0bb8](https://github.com/pie-framework/pie-elements/commit/1fb0bb8b302efcabd06abd9c66272e9b4353dd02))
150
+
151
+
152
+
153
+
154
+
155
+ ## [4.8.14](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.8.13...@pie-element/number-line-configure@4.8.14) (2022-01-11)
156
+
157
+ **Note:** Version bump only for package @pie-element/number-line-configure
158
+
159
+
160
+
161
+
162
+
163
+ ## [4.8.13](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.8.12...@pie-element/number-line-configure@4.8.13) (2022-01-10)
164
+
165
+ **Note:** Version bump only for package @pie-element/number-line-configure
166
+
167
+
168
+
169
+
170
+
171
+ ## [4.8.12](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.8.11...@pie-element/number-line-configure@4.8.12) (2021-12-23)
172
+
173
+ **Note:** Version bump only for package @pie-element/number-line-configure
174
+
175
+
176
+
177
+
178
+
179
+ ## [4.8.10](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.8.9...@pie-element/number-line-configure@4.8.10) (2021-12-13)
180
+
181
+ **Note:** Version bump only for package @pie-element/number-line-configure
182
+
183
+
184
+
185
+
186
+
187
+ ## [4.8.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.8.6...@pie-element/number-line-configure@4.8.7) (2021-11-29)
188
+
189
+ **Note:** Version bump only for package @pie-element/number-line-configure
190
+
191
+
192
+
193
+
194
+
195
+ ## [4.8.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.8.5...@pie-element/number-line-configure@4.8.6) (2021-10-04)
196
+
197
+ **Note:** Version bump only for package @pie-element/number-line-configure
198
+
199
+
200
+
201
+
202
+
203
+ ## [4.8.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.8.4...@pie-element/number-line-configure@4.8.5) (2021-09-20)
204
+
205
+
206
+ ### Bug Fixes
207
+
208
+ * pie-lib updates ([e521c2f](https://github.com/pie-framework/pie-elements/commit/e521c2f1a44aa7f3e14f82a1cee05ceb484ed0a6))
209
+ * Updated pie-lib versions ([2fe4c5d](https://github.com/pie-framework/pie-elements/commit/2fe4c5d0be2d40f5fdb34815855695a7f1087f56))
210
+ * Updated pie-lib versions ([1c23830](https://github.com/pie-framework/pie-elements/commit/1c23830fc75d1de5f7bb3bb16de3c665ae5fa350))
211
+
212
+
213
+
214
+
215
+
216
+ ## [4.8.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.8.3...@pie-element/number-line-configure@4.8.4) (2021-09-01)
217
+
218
+ **Note:** Version bump only for package @pie-element/number-line-configure
219
+
220
+
221
+
222
+
223
+
224
+ ## [4.8.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.8.2...@pie-element/number-line-configure@4.8.3) (2021-08-05)
225
+
226
+ **Note:** Version bump only for package @pie-element/number-line-configure
227
+
228
+
229
+
230
+
231
+
6
232
  ## [4.8.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/number-line-configure@4.8.0...@pie-element/number-line-configure@4.8.2) (2021-08-05)
7
233
 
8
234
 
@@ -31,13 +31,13 @@ var _classnames = _interopRequireDefault(require("classnames"));
31
31
 
32
32
  var _configUi = require("@pie-lib/config-ui");
33
33
 
34
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
34
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
35
35
 
36
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
36
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
37
37
 
38
38
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
39
39
 
40
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
40
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
41
41
 
42
42
  var Arrows = /*#__PURE__*/function (_React$Component) {
43
43
  (0, _inherits2["default"])(Arrows, _React$Component);
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/arrows.jsx"],"names":["Arrows","props","change","key","event","value","update","arrows","onChange","changeLeft","bind","changeRight","classes","className","checkbox","left","right","React","Component","PropTypes","object","isRequired","string","shape","bool","func","styles","theme","paddingTop","spacing","unit"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;IAEaA,M;;;;;AAYX,kBAAYC,KAAZ,EAAmB;AAAA;;AAAA;AACjB,8BAAMA,KAAN;;AAEA,UAAKC,MAAL,GAAc,UAACC,GAAD,EAAMC,KAAN,EAAaC,KAAb,EAAuB;AACnC,UAAMC,MAAM,mCAAQ,MAAKL,KAAL,CAAWM,MAAnB,4CAA4BJ,GAA5B,EAAkCE,KAAlC,EAAZ;;AACA,YAAKJ,KAAL,CAAWO,QAAX,CAAoBF,MAApB;AACD,KAHD;;AAIA,UAAKG,UAAL,GAAkB,MAAKP,MAAL,CAAYQ,IAAZ,iDAAuB,MAAvB,CAAlB;AACA,UAAKC,WAAL,GAAmB,MAAKT,MAAL,CAAYQ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OAAN,CAAcC,IAAd,GAAqB;AAD3B;AADe,GAAL;AAAA,CAApB;;eAKe,wBAAWJ,MAAX,EAAmB1B,MAAnB,C","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\nimport cn from 'classnames';\nimport { InputCheckbox } from '@pie-lib/config-ui';\n\nexport class Arrows extends React.Component {\n static propTypes = {\n classes: PropTypes.object.isRequired,\n className: PropTypes.string,\n arrows: PropTypes.shape({ left: PropTypes.bool, right: PropTypes.bool })\n .isRequired,\n onChange: PropTypes.func\n };\n static defaultProps = {\n arrows: { left: true, right: true }\n };\n\n constructor(props) {\n super(props);\n\n this.change = (key, event, value) => {\n const update = { ...this.props.arrows, [key]: value };\n this.props.onChange(update);\n };\n this.changeLeft = this.change.bind(this, 'left');\n this.changeRight = this.change.bind(this, 'right');\n }\n\n render() {\n const { classes, className, arrows } = this.props;\n return (\n <div className={cn(classes.arrows, className)}>\n <InputCheckbox\n className={classes.checkbox}\n label={'Left'}\n checked={arrows.left}\n onChange={this.changeLeft}\n />\n &nbsp;\n <InputCheckbox\n className={classes.checkbox}\n label={'Right'}\n checked={arrows.right}\n onChange={this.changeRight}\n />\n </div>\n );\n }\n}\nconst styles = theme => ({\n arrows: {\n paddingTop: theme.spacing.unit * 2\n }\n});\nexport default withStyles(styles)(Arrows);\n"],"file":"arrows.js"}
1
+ {"version":3,"sources":["../src/arrows.jsx"],"names":["Arrows","props","change","key","event","value","update","arrows","onChange","changeLeft","bind","changeRight","classes","className","checkbox","left","right","React","Component","PropTypes","object","isRequired","string","shape","bool","func","styles","theme","paddingTop","spacing","unit"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;IAEaA,M;;;;;AAYX,kBAAYC,KAAZ,EAAmB;AAAA;;AAAA;AACjB,8BAAMA,KAAN;;AAEA,UAAKC,MAAL,GAAc,UAACC,GAAD,EAAMC,KAAN,EAAaC,KAAb,E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H,UAJc;AAKjBb,EAAAA,QAAQ,EAAEW,sBAAUM;AALH,C;iCADRzB,M,kBAQW;AACpBO,EAAAA,MAAM,EAAE;AAAEQ,IAAAA,IAAI,EAAE,IAAR;AAAcC,IAAAA,KAAK,EAAE;AAArB;AADY,C;;AAoCxB,IAAMU,MAAM,GAAG,SAATA,MAAS,CAAAC,KAAK;AAAA,SAAK;AACvBpB,IAAAA,MAAM,EAAE;AACNqB,MAAAA,UAAU,EAAED,KAAK,CAACE,OAAN,CAAcC,IAAd,GAAqB;AAD3B;AADe,GAAL;AAAA,CAApB;;eAKe,wBAAWJ,MAAX,EAAmB1B,MAAnB,C","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\nimport cn from 'classnames';\nimport { InputCheckbox } from '@pie-lib/config-ui';\n\nexport class Arrows extends React.Component {\n static propTypes = {\n classes: PropTypes.object.isRequired,\n className: PropTypes.string,\n arrows: PropTypes.shape({ left: PropTypes.bool, right: PropTypes.bool })\n .isRequired,\n onChange: PropTypes.func\n };\n static defaultProps = {\n arrows: { left: true, right: true }\n };\n\n constructor(props) {\n super(props);\n\n this.change = (key, event, value) => {\n const update = { ...this.props.arrows, [key]: value };\n this.props.onChange(update);\n };\n this.changeLeft = this.change.bind(this, 'left');\n this.changeRight = this.change.bind(this, 'right');\n }\n\n render() {\n const { classes, className, arrows } = this.props;\n return (\n <div className={cn(classes.arrows, className)}>\n <InputCheckbox\n className={classes.checkbox}\n label={'Left'}\n checked={arrows.left}\n onChange={this.changeLeft}\n />\n &nbsp;\n <InputCheckbox\n className={classes.checkbox}\n label={'Right'}\n checked={arrows.right}\n onChange={this.changeRight}\n />\n </div>\n );\n }\n}\nconst styles = theme => ({\n arrows: {\n paddingTop: theme.spacing.unit * 2\n }\n});\nexport default withStyles(styles)(Arrows);\n"],"file":"arrows.js"}
@@ -25,12 +25,15 @@ var CardBar = function CardBar(props) {
25
25
  var classes = props.classes,
26
26
  header = props.header,
27
27
  children = props.children,
28
- mini = props.mini;
28
+ mini = props.mini,
29
+ info = props.info;
29
30
  return /*#__PURE__*/_react["default"].createElement("div", {
30
31
  className: classes.cardBar
32
+ }, /*#__PURE__*/_react["default"].createElement("div", {
33
+ className: classes.flexContainer
31
34
  }, /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
32
35
  variant: mini ? 'subheading' : 'h5'
33
- }, header), children && /*#__PURE__*/_react["default"].createElement(_Tooltip["default"], {
36
+ }, header), info), children && /*#__PURE__*/_react["default"].createElement(_Tooltip["default"], {
34
37
  title: children,
35
38
  classes: {
36
39
  tooltip: classes.tooltip
@@ -62,6 +65,10 @@ var styles = function styles(theme) {
62
65
  },
63
66
  tooltip: {
64
67
  fontSize: '12px'
68
+ },
69
+ flexContainer: {
70
+ display: 'flex',
71
+ alignItems: 'center'
65
72
  }
66
73
  };
67
74
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/card-bar.jsx"],"names":["CardBar","props","classes","header","children","mini","cardBar","tooltip","button","propTypes","PropTypes","object","bool","string","node","styles","theme","display","justifyContent","paddingBottom","spacing","unit","paddingTop","margin","padding","fontSize"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAEA,IAAMA,OAAO,GAAG,SAAVA,OAAU,CAAAC,KAAK,EAAI;AAAA,MACfC,OADe,GACqBD,KADrB,CACfC,OADe;AAAA,MACNC,MADM,GACqBF,KADrB,CACNE,MADM;AAAA,MACEC,QADF,GACqBH,KADrB,CACEG,QADF;AAAA,MACYC,IADZ,GACqBJ,KADrB,CACYI,IADZ;AAEvB,sBACE;AAAK,IAAA,SAAS,EAAEH,OAAO,CAACI;AAAxB,kBACE,gCAAC,sBAAD;AAAY,IAAA,OAAO,EAAED,IAAI,GAAG,YAAH,GAAkB;AAA3C,KAAkDF,MAAlD,CADF,EAEGC,QAAQ,iBACP,gCAAC,mBAAD;AAAS,IAAA,KAAK,EAAEA,QAAhB;AAA0B,IAAA,OAAO,EAAE;AAAEG,MAAAA,OAAO,EAAEL,OAAO,CAACK;AAAnB;AAAnC,kBACE,gCAAC,sBAAD;AAAY,kBAAW,QAAvB;AAAgC,IAAA,SAAS,EAAEL,OAAO,CAACM;AAAnD,kBACE,gCAAC,uBAAD,OADF,CADF,CAHJ,CADF;AAYD,CAdD;;AAgBAR,OAAO,CAACS,SAAR,GAAoB;AAClBP,EAAAA,OAAO,EAAEQ,sBAAUC,MADD;AAElBN,EAAAA,IAAI,EAAEK,sBAAUE,IAFE;AAGlBT,EAAAA,MAAM,EAAEO,sBAAUG,MAHA;AAIlBT,EAAAA,QAAQ,EAAEM,sBAAUI;AAJF,CAApB;;AAMA,IAAMC,MAAM,GAAG,SAATA,MAAS,CAAAC,KAAK;AAAA,SAAK;AACvBV,IAAAA,OAAO,EAAE;AACPW,MAAAA,OAAO,EAAE,MADF;AAEPC,MAAAA,cAAc,EAAE,eAFT;AAGPC,MAAAA,aAAa,EAAEH,KAAK,CAACI,OAAN,CAAcC,IAAd,GAAqB,CAH7B;AAIPC,MAAAA,UAAU,EAAEN,KAAK,CAACI,OAAN,CAAcC,IAAd,GAAqB;AAJ1B,KADc;AAOvBb,IAAAA,MAAM,EAAE;AACNe,MAAAA,MAAM,EAAE,CADF;AAENC,MAAAA,OAAO,EAAE;AAFH,KAPe;AAWvBjB,IAAAA,OAAO,EAAE;AACPkB,MAAAA,QAAQ,EAAE;AADH;AAXc,GAAL;AAAA,CAApB;;eAee,wBAAWV,MAAX,EAAmBf,OAAnB,C","sourcesContent":["import { withStyles } from '@material-ui/core/styles';\nimport Tooltip from '@material-ui/core/Tooltip';\nimport HelpIcon from '@material-ui/icons/HelpOutline';\nimport IconButton from '@material-ui/core/IconButton';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport Typography from '@material-ui/core/Typography';\n\nconst CardBar = props => {\n const { classes, header, children, mini } = props;\n return (\n <div className={classes.cardBar}>\n <Typography variant={mini ? 'subheading' : 'h5'}>{header}</Typography>\n {children && (\n <Tooltip title={children} classes={{ tooltip: classes.tooltip }}>\n <IconButton aria-label=\"Delete\" className={classes.button}>\n <HelpIcon />\n </IconButton>\n </Tooltip>\n )}\n </div>\n );\n};\n\nCardBar.propTypes = {\n classes: PropTypes.object,\n mini: PropTypes.bool,\n header: PropTypes.string,\n children: PropTypes.node\n};\nconst styles = theme => ({\n cardBar: {\n display: 'flex',\n justifyContent: 'space-between',\n paddingBottom: theme.spacing.unit * 2,\n paddingTop: theme.spacing.unit * 2\n },\n button: {\n margin: 0,\n padding: 0\n },\n tooltip: {\n fontSize: '12px'\n }\n});\nexport default withStyles(styles)(CardBar);\n"],"file":"card-bar.js"}
1
+ {"version":3,"sources":["../src/card-bar.jsx"],"names":["CardBar","props","classes","header","children","mini","info","cardBar","flexContainer","tooltip","button","propTypes","PropTypes","object","bool","string","node","styles","theme","display","justifyContent","paddingBottom","spacing","unit","paddingTop","margin","padding","fontSize","alignItems"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAEA,IAAMA,OAAO,GAAG,SAAVA,OAAU,CAAAC,KAAK,EAAI;AACvB,MAAQC,OAAR,GAAkDD,KAAlD,CAAQC,OAAR;AAAA,MAAiBC,MAAjB,GAAkDF,KAAlD,CAAiBE,MAAjB;AAAA,MAAyBC,QAAzB,GAAkDH,KAAlD,CAAyBG,QAAzB;AAAA,MAAmCC,IAAnC,GAAkDJ,KAAlD,CAAmCI,IAAnC;AAAA,MAAyCC,IAAzC,GAAkDL,KAAlD,CAAyCK,IAAzC;AACA,sBACE;AAAK,IAAA,SAAS,EAAEJ,OAAO,CAACK;AAAxB,kBACE;AAAK,IAAA,SAAS,EAAEL,OAAO,CAACM;AAAxB,kBACE,gCAAC,sBAAD;AAAY,IAAA,OAAO,EAAEH,IAAI,GAAG,YAAH,GAAkB;AAA3C,KAAkDF,MAAlD,CADF,EAEGG,IAFH,CADF,EAKGF,QAAQ,iBACP,gCAAC,mBAAD;AAAS,IAAA,KAAK,EAAEA,QAAhB;AAA0B,IAAA,OAAO,EAAE;AAAEK,MAAAA,OAAO,EAAEP,OAAO,CAACO;AAAnB;AAAnC,kBACE,gCAAC,sBAAD;AAAY,kBAAW,QAAvB;AAAgC,IAAA,SAAS,EAAEP,OAAO,CAACQ;AAAnD,kBACE,gCAAC,uBAAD,OADF,CADF,CANJ,CADF;AAeD,CAjBD;;AAmBAV,OAAO,CAACW,SAAR,GAAoB;AAClBT,EAAAA,OAAO,EAAEU,sBAAUC,MADD;AAElBR,EAAAA,IAAI,EAAEO,sBAAUE,IAFE;AAGlBX,EAAAA,MAAM,EAAES,sBAAUG,MAHA;AAIlBX,EAAAA,QAAQ,EAAEQ,sBAAUI;AAJF,CAApB;;AAMA,IAAMC,MAAM,GAAG,SAATA,MAAS,CAAAC,KAAK;AAAA,SAAK;AACvBX,IAAAA,OAAO,EAAE;AACPY,MAAAA,OAAO,EAAE,MADF;AAEPC,MAAAA,cAAc,EAAE,eAFT;AAGPC,MAAAA,aAAa,EAAEH,KAAK,CAACI,OAAN,CAAcC,IAAd,GAAqB,CAH7B;AAIPC,MAAAA,UAAU,EAAEN,KAAK,CAACI,OAAN,CAAcC,IAAd,GAAqB;AAJ1B,KADc;AAOvBb,IAAAA,MAAM,EAAE;AACNe,MAAAA,MAAM,EAAE,CADF;AAENC,MAAAA,OAAO,EAAE;AAFH,KAPe;AAWvBjB,IAAAA,OAAO,EAAE;AACPkB,MAAAA,QAAQ,EAAE;AADH,KAXc;AAcvBnB,IAAAA,aAAa,EAAE;AACbW,MAAAA,OAAO,EAAE,MADI;AAEbS,MAAAA,UAAU,EAAE;AAFC;AAdQ,GAAL;AAAA,CAApB;;eAmBe,wBAAWX,MAAX,EAAmBjB,OAAnB,C","sourcesContent":["import { withStyles } from '@material-ui/core/styles';\nimport Tooltip from '@material-ui/core/Tooltip';\nimport HelpIcon from '@material-ui/icons/HelpOutline';\nimport IconButton from '@material-ui/core/IconButton';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport Typography from '@material-ui/core/Typography';\n\nconst CardBar = props => {\n const { classes, header, children, mini, info } = props;\n return (\n <div className={classes.cardBar}>\n <div className={classes.flexContainer}>\n <Typography variant={mini ? 'subheading' : 'h5'}>{header}</Typography>\n {info}\n </div>\n {children && (\n <Tooltip title={children} classes={{ tooltip: classes.tooltip }}>\n <IconButton aria-label=\"Delete\" className={classes.button}>\n <HelpIcon />\n </IconButton>\n </Tooltip>\n )}\n </div>\n );\n};\n\nCardBar.propTypes = {\n classes: PropTypes.object,\n mini: PropTypes.bool,\n header: PropTypes.string,\n children: PropTypes.node\n};\nconst styles = theme => ({\n cardBar: {\n display: 'flex',\n justifyContent: 'space-between',\n paddingBottom: theme.spacing.unit * 2,\n paddingTop: theme.spacing.unit * 2\n },\n button: {\n margin: 0,\n padding: 0\n },\n tooltip: {\n fontSize: '12px'\n },\n flexContainer: {\n display: 'flex',\n alignItems: 'center'\n }\n});\nexport default withStyles(styles)(CardBar);\n"],"file":"card-bar.js"}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.configuration = exports.model = void 0;
6
+ exports.model = exports.configuration = void 0;
7
7
  var model = {
8
8
  correctResponse: [],
9
9
  graph: {
@@ -57,6 +57,11 @@ var configuration = {
57
57
  prompt: {
58
58
  settings: true,
59
59
  label: 'Prompt'
60
+ },
61
+ spellCheck: {
62
+ label: 'Spellcheck',
63
+ settings: false,
64
+ enabled: true
60
65
  }
61
66
  };
62
67
  exports.configuration = configuration;
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/defaults.js"],"names":["model","correctResponse","graph","domain","min","max","ticks","minor","major","arrows","left","right","maxNumberOfPoints","width","initialType","exhibitOnly","toolbarEditorPosition","availableTypes","PF","LFF","LEF","LFE","LEE","RFN","RFP","REN","REP","initialElements","feedback","correct","type","incorrect","partial","configuration","prompt","settings","label"],"mappings":";;;;;;AAAO,IAAMA,KAAK,GAAG;AACnBC,EAAAA,e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IAAAA,KAAK,EAAE;AAFD;AADmB,CAAtB","sourcesContent":["export const model = {\n correctResponse: [],\n graph: {\n domain: { min: -5, max: 5 },\n ticks: {\n minor: 1,\n major: 2\n },\n arrows: {\n left: true,\n right: true\n },\n maxNumberOfPoints: 20,\n width: 500,\n initialType: 'PF',\n exhibitOnly: false,\n toolbarEditorPosition: 'bottom',\n availableTypes: {\n PF: true,\n LFF: true,\n LEF: true,\n LFE: true,\n LEE: true,\n RFN: true,\n RFP: true,\n REN: true,\n REP: true\n },\n initialElements: []\n },\n feedback: {\n correct: {\n default: 'Correct',\n type: 'none'\n },\n incorrect: {\n default: 'Incorrect',\n type: 'none'\n },\n partial: {\n default: 'Nearly',\n type: 'none'\n }\n },\n};\n\nexport const configuration = {\n prompt: {\n settings: true,\n label: 'Prompt'\n }\n};\n"],"file":"defaults.js"}
1
+ {"version":3,"sources":["../src/defaults.js"],"names":["model","correctResponse","graph","domain","min","max","ticks","minor","major","arrows","left","right","maxNumberOfPoints","width","initialType","exhibitOnly","toolbarEditorPosition","availableTypes","PF","LFF","LEF","LFE","LEE","RFN","RFP","REN","REP","initialElements","feedback","correct","type","incorrect","partial","configuration","prompt","settings","label","spellCheck","enabled"],"mappings":";;;;;;AAAO,IAAMA,KAAK,GAAG;AACnBC,EAAAA,eAAe,EAAE,EADE;AAEnBC,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE;AAAEC,MAAAA,GAAG,EAAE,CAAC,CAAR;AAAWC,MAAAA,GAAG,EAAE;AAAhB,KADH;AAELC,IAAAA,KAAK,EAAE;AACLC,MAAAA,KAAK,EAAE,CADF;AAELC,MAAAA,KAAK,EAAE;AAFF,KAFF;AAMLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,IAAI,EAAE,IADA;AAENC,MAAAA,KAAK,EAAE;AAFD,KANH;AAULC,IAAAA,iBAAiB,EAAE,EAVd;AAWLC,IAAAA,KAAK,EAAE,GAXF;AAYLC,IAAAA,WAAW,EAAE,IAZR;AAaLC,IAAAA,WAAW,EAAE,KAbR;AAcLC,IAAAA,qBAAqB,EAAE,QAdlB;AAeLC,IAAAA,cAAc,EAAE;AACdC,MAAAA,EAAE,EAAE,IADU;AAEdC,MAAAA,GAAG,EAAE,IAFS;AAGdC,MAAAA,GAAG,EAAE,IAHS;AAIdC,MAAAA,GAAG,EAAE,IAJS;AAKdC,MAAAA,GAAG,EAAE,IALS;AAMdC,MAAAA,GAAG,EAAE,IANS;AAOdC,MAAAA,GAAG,EAAE,IAPS;AAQdC,MAAAA,GAAG,EAAE,IARS;AASdC,MAAAA,GAAG,EAAE;AATS,KAfX;AA0BLC,IAAAA,eAAe,EAAE;AA1BZ,GAFY;AA8BnBC,EAAAA,QAAQ,EAAE;AACRC,IAAAA,OAAO,EAAE;AACP,iBAAS,SADF;AAEPC,MAAAA,IAAI,EAAE;AAFC,KADD;AAKRC,IAAAA,SAAS,EAAE;AACT,iBAAS,WADA;AAETD,MAAAA,IAAI,EAAE;AAFG,KALH;AASRE,IAAAA,OAAO,EAAE;AACP,iBAAS,QADF;AAEPF,MAAAA,IAAI,EAAE;AAFC;AATD;AA9BS,CAAd;;AA8CA,IAAMG,aAAa,GAAG;AAC3BC,EAAAA,MAAM,EAAE;AACNC,IAAAA,QAAQ,EAAE,IADJ;AAENC,IAAAA,KAAK,EAAE;AAFD,GADmB;AAK3BC,EAAAA,UAAU,EAAE;AACVD,IAAAA,KAAK,EAAE,YADG;AAEVD,IAAAA,QAAQ,EAAC,KAFC;AAGVG,IAAAA,OAAO,EAAC;AAHE;AALe,CAAtB","sourcesContent":["export const model = {\n correctResponse: [],\n graph: {\n domain: { min: -5, max: 5 },\n ticks: {\n minor: 1,\n major: 2\n },\n arrows: {\n left: true,\n right: true\n },\n maxNumberOfPoints: 20,\n width: 500,\n initialType: 'PF',\n exhibitOnly: false,\n toolbarEditorPosition: 'bottom',\n availableTypes: {\n PF: true,\n LFF: true,\n LEF: true,\n LFE: true,\n LEE: true,\n RFN: true,\n RFP: true,\n REN: true,\n REP: true\n },\n initialElements: []\n },\n feedback: {\n correct: {\n default: 'Correct',\n type: 'none'\n },\n incorrect: {\n default: 'Incorrect',\n type: 'none'\n },\n partial: {\n default: 'Nearly',\n type: 'none'\n }\n },\n};\n\nexport const configuration = {\n prompt: {\n settings: true,\n label: 'Prompt'\n },\n spellCheck: {\n label: 'Spellcheck',\n settings:false,\n enabled:true\n }\n};\n"],"file":"defaults.js"}
@@ -27,13 +27,13 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
27
27
 
28
28
  var _react = _interopRequireDefault(require("react"));
29
29
 
30
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
30
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
31
31
 
32
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
32
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
33
33
 
34
34
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
35
35
 
36
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
36
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
37
37
 
38
38
  var DOMAIN_BEGIN = 'domainBegin';
39
39
  var DOMAIN_END = 'domainEnd';