@pie-lib/scoring-config 3.7.1-beta.0 → 3.9.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.
- package/CHANGELOG.json +1 -576
- package/CHANGELOG.md +145 -1
- package/lib/index.js +105 -0
- package/lib/index.js.map +1 -0
- package/package.json +3 -3
package/CHANGELOG.json
CHANGED
|
@@ -1,459 +1,4 @@
|
|
|
1
1
|
[
|
|
2
|
-
{
|
|
3
|
-
"type": "fix",
|
|
4
|
-
"scope": null,
|
|
5
|
-
"subject": "rm child prepack in favour of root prepack",
|
|
6
|
-
"merge": null,
|
|
7
|
-
"header": "fix: rm child prepack in favour of root prepack",
|
|
8
|
-
"body": null,
|
|
9
|
-
"footer": null,
|
|
10
|
-
"notes": [],
|
|
11
|
-
"hash": "381d8d6485269b641d8d4655148966d2e70803be",
|
|
12
|
-
"gitTags": "",
|
|
13
|
-
"committerDate": "2019-03-15 09:51:11 +0000",
|
|
14
|
-
"isTagged": true,
|
|
15
|
-
"tag": "@pie-lib/scoring-config@3.3.28"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"type": "fix",
|
|
19
|
-
"scope": null,
|
|
20
|
-
"subject": "bump version",
|
|
21
|
-
"merge": null,
|
|
22
|
-
"header": "fix: bump version",
|
|
23
|
-
"body": null,
|
|
24
|
-
"footer": null,
|
|
25
|
-
"notes": [],
|
|
26
|
-
"hash": "ee45e5710df6566385044c083832dd2cd466e398",
|
|
27
|
-
"gitTags": "",
|
|
28
|
-
"committerDate": "2019-03-14 13:17:17 +0000",
|
|
29
|
-
"isTagged": true,
|
|
30
|
-
"tag": "@pie-lib/scoring-config@3.3.26"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"type": "chore",
|
|
34
|
-
"scope": null,
|
|
35
|
-
"subject": "call changelog on prepack",
|
|
36
|
-
"merge": null,
|
|
37
|
-
"header": "chore: call changelog on prepack",
|
|
38
|
-
"body": null,
|
|
39
|
-
"footer": null,
|
|
40
|
-
"notes": [],
|
|
41
|
-
"hash": "b672c012de096c55b765a765f758da3fc5df2f90",
|
|
42
|
-
"gitTags": "",
|
|
43
|
-
"committerDate": "2019-03-13 23:00:44 +0000",
|
|
44
|
-
"isTagged": true,
|
|
45
|
-
"tag": "@pie-lib/scoring-config@3.3.22"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"type": "chore",
|
|
49
|
-
"scope": null,
|
|
50
|
-
"subject": "generate changelog.json instead of markdown",
|
|
51
|
-
"merge": null,
|
|
52
|
-
"header": "chore: generate changelog.json instead of markdown",
|
|
53
|
-
"body": null,
|
|
54
|
-
"footer": null,
|
|
55
|
-
"notes": [],
|
|
56
|
-
"hash": "eaa5019a11f70c53425d55856bd3b940237f8c7d",
|
|
57
|
-
"gitTags": "",
|
|
58
|
-
"committerDate": "2019-03-13 17:24:09 +0000",
|
|
59
|
-
"isTagged": true,
|
|
60
|
-
"tag": "@pie-lib/scoring-config@3.3.20"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"type": "chore",
|
|
64
|
-
"scope": null,
|
|
65
|
-
"subject": "force version bump to avoid collision w/ next packages",
|
|
66
|
-
"merge": null,
|
|
67
|
-
"header": "chore: force version bump to avoid collision w/ next packages",
|
|
68
|
-
"body": null,
|
|
69
|
-
"footer": null,
|
|
70
|
-
"notes": [],
|
|
71
|
-
"hash": "a05f0fdb47f72d3a3d839cd70e96de6642a44c1e",
|
|
72
|
-
"gitTags": "",
|
|
73
|
-
"committerDate": "2019-03-12 21:55:40 +0000",
|
|
74
|
-
"isTagged": true,
|
|
75
|
-
"tag": "@pie-lib/scoring-config@3.3.19"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"type": "fix",
|
|
79
|
-
"scope": null,
|
|
80
|
-
"subject": "force version bump",
|
|
81
|
-
"merge": null,
|
|
82
|
-
"header": "fix: force version bump",
|
|
83
|
-
"body": null,
|
|
84
|
-
"footer": null,
|
|
85
|
-
"notes": [],
|
|
86
|
-
"hash": "dd057a52e90133dfb30660b1824760cb9f10a280",
|
|
87
|
-
"gitTags": "",
|
|
88
|
-
"committerDate": "2019-02-17 21:23:35 +0000",
|
|
89
|
-
"isTagged": true,
|
|
90
|
-
"tag": "@pie-lib/scoring-config@3.3.11"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"type": "fix",
|
|
94
|
-
"scope": null,
|
|
95
|
-
"subject": "version bump",
|
|
96
|
-
"merge": null,
|
|
97
|
-
"header": "fix: version bump",
|
|
98
|
-
"body": null,
|
|
99
|
-
"footer": null,
|
|
100
|
-
"notes": [],
|
|
101
|
-
"hash": "caaf960891fb17ad8e221849ce992381e4c2c31c",
|
|
102
|
-
"gitTags": "",
|
|
103
|
-
"committerDate": "2019-02-05 15:38:33 +0000",
|
|
104
|
-
"isTagged": true,
|
|
105
|
-
"tag": "@pie-lib/scoring-config@3.3.11"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"type": "feat",
|
|
109
|
-
"scope": null,
|
|
110
|
-
"subject": "libs version bump",
|
|
111
|
-
"merge": null,
|
|
112
|
-
"header": "feat: libs version bump",
|
|
113
|
-
"body": null,
|
|
114
|
-
"footer": null,
|
|
115
|
-
"notes": [],
|
|
116
|
-
"hash": "0cd9450da58d7163990a3cca12d9bc9cfee37017",
|
|
117
|
-
"gitTags": "",
|
|
118
|
-
"committerDate": "2019-01-30 22:14:28 +0000",
|
|
119
|
-
"isTagged": true,
|
|
120
|
-
"tag": "@pie-lib/scoring-config@3.3.0"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"type": "fix",
|
|
124
|
-
"scope": "general",
|
|
125
|
-
"subject": "bumped versions of some packages",
|
|
126
|
-
"merge": null,
|
|
127
|
-
"header": "fix(general): bumped versions of some packages",
|
|
128
|
-
"body": null,
|
|
129
|
-
"footer": null,
|
|
130
|
-
"notes": [],
|
|
131
|
-
"hash": "a38c7b58270773c8a359f82a6c40f86c0f00456e",
|
|
132
|
-
"gitTags": "",
|
|
133
|
-
"committerDate": "2019-01-08 14:18:19 +0200",
|
|
134
|
-
"isTagged": true,
|
|
135
|
-
"tag": "@pie-lib/scoring-config@3.2.31"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"type": "fix",
|
|
139
|
-
"scope": "scoring-config",
|
|
140
|
-
"subject": "updated the snapshot for the test",
|
|
141
|
-
"merge": null,
|
|
142
|
-
"header": "fix(scoring-config): updated the snapshot for the test",
|
|
143
|
-
"body": "removed 2 unnecessary files",
|
|
144
|
-
"footer": null,
|
|
145
|
-
"notes": [],
|
|
146
|
-
"hash": "7fbe10235ba154652f9c07d79f31be5533c92c4f",
|
|
147
|
-
"gitTags": "",
|
|
148
|
-
"committerDate": "2018-10-30 12:23:50 +0200",
|
|
149
|
-
"isTagged": true,
|
|
150
|
-
"tag": "@pie-lib/scoring-config@3.2.15"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"type": "fix",
|
|
154
|
-
"scope": "ch497",
|
|
155
|
-
"subject": "updated the scoring-config package in order to work with the new algorithm for scoring",
|
|
156
|
-
"merge": null,
|
|
157
|
-
"header": "fix(ch497): updated the scoring-config package in order to work with the new algorithm for scoring",
|
|
158
|
-
"body": null,
|
|
159
|
-
"footer": null,
|
|
160
|
-
"notes": [],
|
|
161
|
-
"hash": "00895598e03f7d123a5974e0fc9ef39cd4e28bd6",
|
|
162
|
-
"gitTags": " (origin/ch497/scoring-config-update)",
|
|
163
|
-
"committerDate": "2018-10-29 14:23:53 +0200",
|
|
164
|
-
"isTagged": true,
|
|
165
|
-
"tag": "@pie-lib/scoring-config@3.2.15"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"type": "fix",
|
|
169
|
-
"scope": null,
|
|
170
|
-
"subject": "rm githead",
|
|
171
|
-
"merge": null,
|
|
172
|
-
"header": "fix: rm githead",
|
|
173
|
-
"body": null,
|
|
174
|
-
"footer": null,
|
|
175
|
-
"notes": [],
|
|
176
|
-
"hash": "a1523aabfe34697970bb94f3ed300603d9e11f74",
|
|
177
|
-
"gitTags": "",
|
|
178
|
-
"committerDate": "2018-09-12 14:44:09 +0100",
|
|
179
|
-
"isTagged": true,
|
|
180
|
-
"tag": "@pie-lib/scoring-config@3.2.10"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"type": "chore",
|
|
184
|
-
"scope": null,
|
|
185
|
-
"subject": "fix snapshots",
|
|
186
|
-
"merge": null,
|
|
187
|
-
"header": "chore: fix snapshots",
|
|
188
|
-
"body": null,
|
|
189
|
-
"footer": null,
|
|
190
|
-
"notes": [],
|
|
191
|
-
"hash": "e3f81bd7b84a831409bbe10d84c4352b5cc77b2b",
|
|
192
|
-
"gitTags": "",
|
|
193
|
-
"committerDate": "2018-09-12 14:41:45 +0100",
|
|
194
|
-
"isTagged": true,
|
|
195
|
-
"tag": "@pie-lib/scoring-config@3.2.10"
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
"type": "fix",
|
|
199
|
-
"scope": null,
|
|
200
|
-
"subject": "githead",
|
|
201
|
-
"merge": null,
|
|
202
|
-
"header": "fix: githead",
|
|
203
|
-
"body": null,
|
|
204
|
-
"footer": null,
|
|
205
|
-
"notes": [],
|
|
206
|
-
"hash": "3e485e0a7094496fd93d86a0500c75e343e9fac2",
|
|
207
|
-
"gitTags": "",
|
|
208
|
-
"committerDate": "2018-09-12 14:38:21 +0100",
|
|
209
|
-
"isTagged": true,
|
|
210
|
-
"tag": "@pie-lib/scoring-config@3.2.10"
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"type": "feat",
|
|
214
|
-
"scope": "editable-html",
|
|
215
|
-
"subject": "add basic table support",
|
|
216
|
-
"merge": null,
|
|
217
|
-
"header": "feat(editable-html): add basic table support",
|
|
218
|
-
"body": " - @pie-lib/charting-config@0.3.5\n - @pie-lib/config-ui@7.6.5\n - @pie-lib/editable-html@6.2.5\n - @pie-lib/scoring-config@3.1.13",
|
|
219
|
-
"footer": null,
|
|
220
|
-
"notes": [],
|
|
221
|
-
"hash": "637a93a1a4c6803030845c04fb39e6d23cb5e235",
|
|
222
|
-
"gitTags": "",
|
|
223
|
-
"committerDate": "2018-08-06 11:25:26 -0400",
|
|
224
|
-
"isTagged": true,
|
|
225
|
-
"tag": "@pie-lib/scoring-config@3.2.0"
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"type": "fix",
|
|
229
|
-
"scope": "test",
|
|
230
|
-
"subject": "fix up tests",
|
|
231
|
-
"merge": null,
|
|
232
|
-
"header": "fix(test): fix up tests",
|
|
233
|
-
"body": null,
|
|
234
|
-
"footer": null,
|
|
235
|
-
"notes": [],
|
|
236
|
-
"hash": "352600c3f264857719899905121b472f43c802c2",
|
|
237
|
-
"gitTags": "",
|
|
238
|
-
"committerDate": "2018-05-16 10:58:58 -0400",
|
|
239
|
-
"isTagged": true,
|
|
240
|
-
"tag": "@pie-lib/scoring-config@3.1.10"
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"type": "fix",
|
|
244
|
-
"scope": "demo",
|
|
245
|
-
"subject": "fix issues from mui update",
|
|
246
|
-
"merge": null,
|
|
247
|
-
"header": "fix(demo): fix issues from mui update",
|
|
248
|
-
"body": null,
|
|
249
|
-
"footer": null,
|
|
250
|
-
"notes": [],
|
|
251
|
-
"hash": "4f948e13ebb83cdb215b964b0f73a12c79d64167",
|
|
252
|
-
"gitTags": "",
|
|
253
|
-
"committerDate": "2018-05-16 09:07:43 -0400",
|
|
254
|
-
"isTagged": true,
|
|
255
|
-
"tag": "@pie-lib/scoring-config@3.0.0"
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
"type": "feat",
|
|
259
|
-
"scope": null,
|
|
260
|
-
"subject": "upgrade material-ui -> @material-ui/core@^1.0.0-rc.1",
|
|
261
|
-
"merge": null,
|
|
262
|
-
"header": "feat: upgrade material-ui -> @material-ui/core@^1.0.0-rc.1",
|
|
263
|
-
"body": null,
|
|
264
|
-
"footer": null,
|
|
265
|
-
"notes": [],
|
|
266
|
-
"hash": "017ef6300f1fd345fc932496d25682a7981a4938",
|
|
267
|
-
"gitTags": "",
|
|
268
|
-
"committerDate": "2018-05-15 21:52:09 -0400",
|
|
269
|
-
"isTagged": true,
|
|
270
|
-
"tag": "@pie-lib/scoring-config@2.1.0"
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
"type": "fix",
|
|
274
|
-
"scope": "lint",
|
|
275
|
-
"subject": "lint fixes",
|
|
276
|
-
"merge": null,
|
|
277
|
-
"header": "fix(lint): lint fixes",
|
|
278
|
-
"body": null,
|
|
279
|
-
"footer": null,
|
|
280
|
-
"notes": [],
|
|
281
|
-
"hash": "f0595831a75561d829c0f18f86ce5ea7feeb4ddd",
|
|
282
|
-
"gitTags": "",
|
|
283
|
-
"committerDate": "2018-05-09 13:35:42 -0400",
|
|
284
|
-
"isTagged": true,
|
|
285
|
-
"tag": "@pie-lib/scoring-config@2.0.23"
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"type": "fix",
|
|
289
|
-
"scope": "row",
|
|
290
|
-
"subject": "polish css",
|
|
291
|
-
"merge": null,
|
|
292
|
-
"header": "fix(row): polish css",
|
|
293
|
-
"body": null,
|
|
294
|
-
"footer": null,
|
|
295
|
-
"notes": [],
|
|
296
|
-
"hash": "4d6c1563f575f309a71580e309c1b1b2ba0df06a",
|
|
297
|
-
"gitTags": "",
|
|
298
|
-
"committerDate": "2018-05-07 21:09:19 -0400",
|
|
299
|
-
"isTagged": true,
|
|
300
|
-
"tag": "@pie-lib/scoring-config@2.0.22"
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"type": "fix",
|
|
304
|
-
"scope": "dependencies",
|
|
305
|
-
"subject": "set material-ui version to ^1.0.0-beta.44",
|
|
306
|
-
"merge": null,
|
|
307
|
-
"header": "fix(dependencies): set material-ui version to ^1.0.0-beta.44",
|
|
308
|
-
"body": null,
|
|
309
|
-
"footer": null,
|
|
310
|
-
"notes": [],
|
|
311
|
-
"hash": "6fd66bc6b4359a32c378f64cd3a315f1a551875e",
|
|
312
|
-
"gitTags": "",
|
|
313
|
-
"committerDate": "2018-04-30 11:38:04 -0400",
|
|
314
|
-
"isTagged": true,
|
|
315
|
-
"tag": "@pie-lib/scoring-config@2.0.17"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"type": "fix",
|
|
319
|
-
"scope": "dependencies",
|
|
320
|
-
"subject": "roll back material-ui",
|
|
321
|
-
"merge": null,
|
|
322
|
-
"header": "fix(dependencies): roll back material-ui",
|
|
323
|
-
"body": null,
|
|
324
|
-
"footer": null,
|
|
325
|
-
"notes": [],
|
|
326
|
-
"hash": "5167d1f55be278b8f58684aadeacb108794ec024",
|
|
327
|
-
"gitTags": "",
|
|
328
|
-
"committerDate": "2018-04-30 11:31:31 -0400",
|
|
329
|
-
"isTagged": true,
|
|
330
|
-
"tag": "@pie-lib/scoring-config@2.0.16"
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
"type": "fix",
|
|
334
|
-
"scope": "dependencies",
|
|
335
|
-
"subject": "lock material-ui to 1.0.0-beta.44",
|
|
336
|
-
"merge": null,
|
|
337
|
-
"header": "fix(dependencies): lock material-ui to 1.0.0-beta.44",
|
|
338
|
-
"body": null,
|
|
339
|
-
"footer": null,
|
|
340
|
-
"notes": [],
|
|
341
|
-
"hash": "60df8e6e6147962cd6fae9bc81638c4c75c0c9e9",
|
|
342
|
-
"gitTags": "",
|
|
343
|
-
"committerDate": "2018-04-30 11:27:53 -0400",
|
|
344
|
-
"isTagged": true,
|
|
345
|
-
"tag": "@pie-lib/scoring-config@2.0.15"
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
"type": "fix",
|
|
349
|
-
"scope": "dependencies",
|
|
350
|
-
"subject": "lock material-ui to 1.0.0-beta.43",
|
|
351
|
-
"merge": null,
|
|
352
|
-
"header": "fix(dependencies): lock material-ui to 1.0.0-beta.43",
|
|
353
|
-
"body": null,
|
|
354
|
-
"footer": null,
|
|
355
|
-
"notes": [],
|
|
356
|
-
"hash": "2a3e087cadb03b428aec80948032eb644864f77c",
|
|
357
|
-
"gitTags": "",
|
|
358
|
-
"committerDate": "2018-04-30 11:19:39 -0400",
|
|
359
|
-
"isTagged": true,
|
|
360
|
-
"tag": "@pie-lib/scoring-config@2.0.14"
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
"type": "fix",
|
|
364
|
-
"scope": "dependencies",
|
|
365
|
-
"subject": "upgrade material-ui",
|
|
366
|
-
"merge": null,
|
|
367
|
-
"header": "fix(dependencies): upgrade material-ui",
|
|
368
|
-
"body": null,
|
|
369
|
-
"footer": null,
|
|
370
|
-
"notes": [],
|
|
371
|
-
"hash": "b94b50ef8f89beec45b488d92f4e95661c22c501",
|
|
372
|
-
"gitTags": "",
|
|
373
|
-
"committerDate": "2018-04-30 10:56:18 -0400",
|
|
374
|
-
"isTagged": true,
|
|
375
|
-
"tag": "@pie-lib/scoring-config@2.0.14"
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"type": "fix",
|
|
379
|
-
"scope": "dependencies",
|
|
380
|
-
"subject": "version bump",
|
|
381
|
-
"merge": null,
|
|
382
|
-
"header": "fix(dependencies): version bump",
|
|
383
|
-
"body": null,
|
|
384
|
-
"footer": null,
|
|
385
|
-
"notes": [],
|
|
386
|
-
"hash": "dd82caf94c20800135c8baaf1e9f2a5f01e65776",
|
|
387
|
-
"gitTags": "",
|
|
388
|
-
"committerDate": "2018-04-24 09:43:35 -0400",
|
|
389
|
-
"isTagged": true,
|
|
390
|
-
"tag": "@pie-lib/scoring-config@2.0.10"
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
"type": "fix",
|
|
394
|
-
"scope": "test",
|
|
395
|
-
"subject": "normalize tests",
|
|
396
|
-
"merge": null,
|
|
397
|
-
"header": "fix(test): normalize tests",
|
|
398
|
-
"body": null,
|
|
399
|
-
"footer": null,
|
|
400
|
-
"notes": [],
|
|
401
|
-
"hash": "b86b3d9bbe94b88a5c9b2473c26beec637e23672",
|
|
402
|
-
"gitTags": "",
|
|
403
|
-
"committerDate": "2018-04-19 22:25:09 -0400",
|
|
404
|
-
"isTagged": true,
|
|
405
|
-
"tag": "@pie-lib/scoring-config@2.0.10"
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
"type": "chore",
|
|
409
|
-
"scope": "test",
|
|
410
|
-
"subject": "test clean up",
|
|
411
|
-
"merge": null,
|
|
412
|
-
"header": "chore(test): test clean up",
|
|
413
|
-
"body": null,
|
|
414
|
-
"footer": null,
|
|
415
|
-
"notes": [],
|
|
416
|
-
"hash": "3b1f22ab6619baaab69bf23f686e60479d10f546",
|
|
417
|
-
"gitTags": "",
|
|
418
|
-
"committerDate": "2018-04-13 15:03:52 -0400",
|
|
419
|
-
"isTagged": true,
|
|
420
|
-
"tag": "@pie-lib/scoring-config@1.0.0"
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
"type": "fix",
|
|
424
|
-
"scope": "dependecies",
|
|
425
|
-
"subject": "bump react version",
|
|
426
|
-
"merge": null,
|
|
427
|
-
"header": "fix(dependecies): bump react version",
|
|
428
|
-
"body": null,
|
|
429
|
-
"footer": "BREAKING CHANGE: requires react@^16.3.1",
|
|
430
|
-
"notes": [
|
|
431
|
-
{
|
|
432
|
-
"title": "BREAKING CHANGE",
|
|
433
|
-
"text": "requires react@^16.3.1"
|
|
434
|
-
}
|
|
435
|
-
],
|
|
436
|
-
"hash": "aec216f3870fd9b91e6c5ca4ff42e653b2774d54",
|
|
437
|
-
"gitTags": "",
|
|
438
|
-
"committerDate": "2018-04-13 14:16:15 -0400",
|
|
439
|
-
"isTagged": true,
|
|
440
|
-
"tag": "@pie-lib/scoring-config@1.0.0"
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
"type": "chore",
|
|
444
|
-
"scope": null,
|
|
445
|
-
"subject": "update dependencies",
|
|
446
|
-
"merge": null,
|
|
447
|
-
"header": "chore: update dependencies",
|
|
448
|
-
"body": null,
|
|
449
|
-
"footer": null,
|
|
450
|
-
"notes": [],
|
|
451
|
-
"hash": "bbd1bfcabfaa85802df710b4a59c25ba8ff9fd51",
|
|
452
|
-
"gitTags": "",
|
|
453
|
-
"committerDate": "2018-03-06 13:31:35 -0500",
|
|
454
|
-
"isTagged": true,
|
|
455
|
-
"tag": "@pie-lib/scoring-config@0.3.29"
|
|
456
|
-
},
|
|
457
2
|
{
|
|
458
3
|
"type": "feat",
|
|
459
4
|
"scope": "mask-markup",
|
|
@@ -464,129 +9,9 @@
|
|
|
464
9
|
"footer": null,
|
|
465
10
|
"notes": [],
|
|
466
11
|
"hash": "0153c1aba8a08ba6c974fcc69476a87b9086f6c5",
|
|
467
|
-
"gitTags": "
|
|
12
|
+
"gitTags": "",
|
|
468
13
|
"committerDate": "2019-05-02 07:12:59 +0300",
|
|
469
14
|
"isTagged": true,
|
|
470
15
|
"tag": "@pie-lib/scoring-config@3.4.0"
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
"type": "chore",
|
|
474
|
-
"scope": "merge",
|
|
475
|
-
"subject": "merged with develop",
|
|
476
|
-
"merge": null,
|
|
477
|
-
"header": "chore(merge): merged with develop",
|
|
478
|
-
"body": null,
|
|
479
|
-
"footer": null,
|
|
480
|
-
"notes": [],
|
|
481
|
-
"hash": "89ff9d89eb26b5afc82267c10f79af2894f4c2d5",
|
|
482
|
-
"gitTags": " (origin/feat/response-area-plugin)",
|
|
483
|
-
"committerDate": "2019-06-05 21:55:26 +0300",
|
|
484
|
-
"isTagged": true,
|
|
485
|
-
"tag": "@pie-lib/scoring-config@3.4.9"
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
"type": "chore",
|
|
489
|
-
"scope": "merge",
|
|
490
|
-
"subject": "merged with develop",
|
|
491
|
-
"merge": null,
|
|
492
|
-
"header": "chore(merge): merged with develop",
|
|
493
|
-
"body": null,
|
|
494
|
-
"footer": null,
|
|
495
|
-
"notes": [],
|
|
496
|
-
"hash": "e68506cf63b2a17973821bb0cfef40828faccd1f",
|
|
497
|
-
"gitTags": "",
|
|
498
|
-
"committerDate": "2019-05-21 06:26:54 +0300",
|
|
499
|
-
"isTagged": true,
|
|
500
|
-
"tag": "@pie-lib/scoring-config@3.4.9"
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
"type": "chore",
|
|
504
|
-
"scope": "version",
|
|
505
|
-
"subject": "bumped the version",
|
|
506
|
-
"merge": null,
|
|
507
|
-
"header": "chore(version): bumped the version",
|
|
508
|
-
"body": null,
|
|
509
|
-
"footer": null,
|
|
510
|
-
"notes": [],
|
|
511
|
-
"hash": "9703ec6280d9b7b00bcd99ba81ee6f1f29b0e0bf",
|
|
512
|
-
"gitTags": " (develop)",
|
|
513
|
-
"committerDate": "2019-06-05 23:32:53 +0300",
|
|
514
|
-
"isTagged": true,
|
|
515
|
-
"tag": "@pie-lib/scoring-config@3.4.12"
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
"type": "chore",
|
|
519
|
-
"scope": "editable-html",
|
|
520
|
-
"subject": "changed versions for packages that contain editable-html",
|
|
521
|
-
"merge": null,
|
|
522
|
-
"header": "chore(editable-html): changed versions for packages that contain editable-html",
|
|
523
|
-
"body": null,
|
|
524
|
-
"footer": null,
|
|
525
|
-
"notes": [],
|
|
526
|
-
"hash": "e0ef7c4ecb6d524fae19779cb7ce1a68924f7557",
|
|
527
|
-
"gitTags": "",
|
|
528
|
-
"committerDate": "2019-06-05 23:19:26 +0300",
|
|
529
|
-
"isTagged": true,
|
|
530
|
-
"tag": "@pie-lib/scoring-config@3.4.12"
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
"type": "feat",
|
|
534
|
-
"scope": null,
|
|
535
|
-
"subject": "version bumps",
|
|
536
|
-
"merge": null,
|
|
537
|
-
"header": "feat: version bumps",
|
|
538
|
-
"body": null,
|
|
539
|
-
"footer": null,
|
|
540
|
-
"notes": [],
|
|
541
|
-
"hash": "23eb54f95e4b6480e2f8c5b336627a7f3bc2f428",
|
|
542
|
-
"gitTags": "",
|
|
543
|
-
"committerDate": "2019-06-10 15:24:32 +0100",
|
|
544
|
-
"isTagged": true,
|
|
545
|
-
"tag": "@pie-lib/scoring-config@3.5.0"
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"type": "fix",
|
|
549
|
-
"scope": null,
|
|
550
|
-
"subject": "add module prop",
|
|
551
|
-
"merge": null,
|
|
552
|
-
"header": "fix: add module prop",
|
|
553
|
-
"body": null,
|
|
554
|
-
"footer": null,
|
|
555
|
-
"notes": [],
|
|
556
|
-
"hash": "74ba11a0a5d8846b89f1f6e06c3d12d3132a881b",
|
|
557
|
-
"gitTags": "",
|
|
558
|
-
"committerDate": "2020-03-29 23:02:41 +0100",
|
|
559
|
-
"isTagged": true,
|
|
560
|
-
"tag": "@pie-lib/scoring-config@3.5.70"
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
"type": "fix",
|
|
564
|
-
"scope": null,
|
|
565
|
-
"subject": "add module prop to package.json",
|
|
566
|
-
"merge": null,
|
|
567
|
-
"header": "fix: add module prop to package.json",
|
|
568
|
-
"body": null,
|
|
569
|
-
"footer": null,
|
|
570
|
-
"notes": [],
|
|
571
|
-
"hash": "3bcf18e9686c572bf83ff9dfdba32ab5e40aa16d",
|
|
572
|
-
"gitTags": "",
|
|
573
|
-
"committerDate": "2020-03-30 13:03:26 +0100",
|
|
574
|
-
"isTagged": true,
|
|
575
|
-
"tag": "@pie-lib/scoring-config@3.5.72"
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
"type": "fix",
|
|
579
|
-
"scope": null,
|
|
580
|
-
"subject": "correct module path",
|
|
581
|
-
"merge": null,
|
|
582
|
-
"header": "fix: correct module path",
|
|
583
|
-
"body": null,
|
|
584
|
-
"footer": null,
|
|
585
|
-
"notes": [],
|
|
586
|
-
"hash": "2b2707181cc4bff6e6e663a4eb447bc5647dec2b",
|
|
587
|
-
"gitTags": "",
|
|
588
|
-
"committerDate": "2020-03-31 11:47:32 +0100",
|
|
589
|
-
"isTagged": true,
|
|
590
|
-
"tag": "@pie-lib/scoring-config@3.5.80"
|
|
591
16
|
}
|
|
592
17
|
]
|
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,151 @@
|
|
|
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
|
+
# [3.9.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.65...@pie-lib/scoring-config@3.9.0) (2025-07-31)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.8.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.65...@pie-lib/scoring-config@3.8.0) (2025-07-31)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.7.0-beta.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.65...@pie-lib/scoring-config@3.7.0-beta.8) (2025-07-25)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.7.0-beta.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.65...@pie-lib/scoring-config@3.7.0-beta.7) (2025-07-25)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
# [3.7.0-beta.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.65...@pie-lib/scoring-config@3.7.0-beta.7) (2025-07-25)
|
|
39
|
+
|
|
40
|
+
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
# [3.7.0-beta.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.65...@pie-lib/scoring-config@3.7.0-beta.6) (2025-07-25)
|
|
47
|
+
|
|
48
|
+
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
# [3.7.0-beta.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.65...@pie-lib/scoring-config@3.7.0-beta.6) (2025-07-25)
|
|
55
|
+
|
|
56
|
+
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
# [3.7.0-beta.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.65...@pie-lib/scoring-config@3.7.0-beta.5) (2025-07-25)
|
|
63
|
+
|
|
64
|
+
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
# [3.7.0-beta.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.65...@pie-lib/scoring-config@3.7.0-beta.5) (2025-07-25)
|
|
71
|
+
|
|
72
|
+
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
# [3.7.0-beta.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.65...@pie-lib/scoring-config@3.7.0-beta.4) (2025-07-25)
|
|
79
|
+
|
|
80
|
+
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
# [3.7.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.65...@pie-lib/scoring-config@3.7.0-beta.3) (2025-07-25)
|
|
87
|
+
|
|
88
|
+
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
# [3.7.0-beta.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.65...@pie-lib/scoring-config@3.7.0-beta.4) (2025-07-23)
|
|
95
|
+
|
|
96
|
+
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
# [3.7.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.65...@pie-lib/scoring-config@3.7.0-beta.3) (2025-07-23)
|
|
103
|
+
|
|
104
|
+
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
# [3.7.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.65...@pie-lib/scoring-config@3.7.0-beta.3) (2025-07-20)
|
|
111
|
+
|
|
112
|
+
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
# [3.7.0-beta.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.65...@pie-lib/scoring-config@3.7.0-beta.2) (2025-07-20)
|
|
119
|
+
|
|
120
|
+
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
# [3.7.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.65...@pie-lib/scoring-config@3.7.0-beta.1) (2025-07-20)
|
|
127
|
+
|
|
128
|
+
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
# [3.7.0-beta.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.65...@pie-lib/scoring-config@3.7.0-beta.2) (2025-07-20)
|
|
135
|
+
|
|
136
|
+
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
# [3.7.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.65...@pie-lib/scoring-config@3.7.0-beta.1) (2025-07-20)
|
|
143
|
+
|
|
144
|
+
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
# [3.7.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.65...@pie-lib/scoring-config@3.7.0-beta.1) (2025-07-20)
|
|
7
151
|
|
|
8
152
|
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
9
153
|
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = exports.PartialScoringConfig = void 0;
|
|
9
|
+
|
|
10
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
|
+
|
|
12
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
13
|
+
|
|
14
|
+
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
|
15
|
+
|
|
16
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
17
|
+
|
|
18
|
+
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
19
|
+
|
|
20
|
+
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
21
|
+
|
|
22
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
23
|
+
|
|
24
|
+
var _react = _interopRequireDefault(require("react"));
|
|
25
|
+
|
|
26
|
+
var _Typography = _interopRequireDefault(require("@material-ui/core/Typography"));
|
|
27
|
+
|
|
28
|
+
var _Checkbox = _interopRequireDefault(require("@material-ui/core/Checkbox"));
|
|
29
|
+
|
|
30
|
+
var _styles = require("@material-ui/core/styles");
|
|
31
|
+
|
|
32
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
33
|
+
|
|
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
|
+
|
|
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
|
+
|
|
38
|
+
var PartialScoringConfig = /*#__PURE__*/function (_React$Component) {
|
|
39
|
+
(0, _inherits2["default"])(PartialScoringConfig, _React$Component);
|
|
40
|
+
|
|
41
|
+
var _super = _createSuper(PartialScoringConfig);
|
|
42
|
+
|
|
43
|
+
function PartialScoringConfig(props) {
|
|
44
|
+
var _this;
|
|
45
|
+
|
|
46
|
+
(0, _classCallCheck2["default"])(this, PartialScoringConfig);
|
|
47
|
+
_this = _super.call(this, props);
|
|
48
|
+
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "state", {
|
|
49
|
+
checked: false
|
|
50
|
+
});
|
|
51
|
+
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "onCheckboxChanged", function () {
|
|
52
|
+
var checked = !_this.state.checked;
|
|
53
|
+
var onChange = _this.props.onChange;
|
|
54
|
+
|
|
55
|
+
_this.setState({
|
|
56
|
+
checked: checked
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
onChange(checked);
|
|
60
|
+
});
|
|
61
|
+
var partialScoring = props.partialScoring;
|
|
62
|
+
_this.state.checked = partialScoring;
|
|
63
|
+
return _this;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
(0, _createClass2["default"])(PartialScoringConfig, [{
|
|
67
|
+
key: "render",
|
|
68
|
+
value: function render() {
|
|
69
|
+
var _this$props = this.props,
|
|
70
|
+
classes = _this$props.classes,
|
|
71
|
+
label = _this$props.label;
|
|
72
|
+
var checked = this.state.checked;
|
|
73
|
+
var textLabel = label || 'Each correct response is worth 1/X where X is the number of correct answer selections.';
|
|
74
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
75
|
+
className: classes.scoringConfig
|
|
76
|
+
}, /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
|
|
77
|
+
type: "subheading"
|
|
78
|
+
}, "Partial Scoring Rules"), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement(_Typography["default"], null, textLabel), /*#__PURE__*/_react["default"].createElement(_Checkbox["default"], {
|
|
79
|
+
checked: checked,
|
|
80
|
+
onChange: this.onCheckboxChanged,
|
|
81
|
+
label: ''
|
|
82
|
+
}));
|
|
83
|
+
}
|
|
84
|
+
}]);
|
|
85
|
+
return PartialScoringConfig;
|
|
86
|
+
}(_react["default"].Component);
|
|
87
|
+
|
|
88
|
+
exports.PartialScoringConfig = PartialScoringConfig;
|
|
89
|
+
(0, _defineProperty2["default"])(PartialScoringConfig, "propTypes", {
|
|
90
|
+
label: _propTypes["default"].string,
|
|
91
|
+
partialScoring: _propTypes["default"].bool,
|
|
92
|
+
classes: _propTypes["default"].object.isRequired,
|
|
93
|
+
onChange: _propTypes["default"].func
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
var _default = (0, _styles.withStyles)(function (theme) {
|
|
97
|
+
return {
|
|
98
|
+
scoringConfig: {
|
|
99
|
+
paddingTop: theme.spacing.unit
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
})(PartialScoringConfig);
|
|
103
|
+
|
|
104
|
+
exports["default"] = _default;
|
|
105
|
+
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.jsx"],"names":["PartialScoringConfig","props","checked","state","onChange","setState","partialScoring","classes","label","textLabel","scoringConfig","onCheckboxChanged","React","Component","PropTypes","string","bool","object","isRequired","func","theme","paddingTop","spacing","unit"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;IAEaA,oB;;;;;AAYX,gCAAYC,KAAZ,EAAmB;AAAA;;AAAA;AACjB,8BAAMA,KAAN;AADiB,8FAJX;AACNC,MAAAA,OAAO,EAAE;AADH,KAIW;AAAA,0GAQC,YAAM;AACxB,UAAMA,OAAO,GAAG,CAAC,MAAKC,KAAL,CAAWD,OAA5B;AACA,UAAQE,QAAR,GAAqB,MAAKH,KAA1B,CAAQG,QAAR;;AAEA,YAAKC,QAAL,CAAc;AACZH,QAAAA,OAAO,EAAPA;AADY,OAAd;;AAGAE,MAAAA,QAAQ,CAACF,OAAD,CAAR;AACD,KAhBkB;AAGjB,QAAQI,cAAR,GAA2BL,KAA3B,CAAQK,cAAR;AAEA,UAAKH,KAAL,CAAWD,OAAX,GAAqBI,cAArB;AALiB;AAMlB;;;;WAYD,kBAAS;AACP,wBAA2B,KAAKL,KAAhC;AAAA,UAAQM,OAAR,eAAQA,OAAR;AAAA,UAAiBC,KAAjB,eAAiBA,KAAjB;AACA,UAAQN,OAAR,GAAoB,KAAKC,KAAzB,CAAQD,OAAR;AACA,UAAMO,SAAS,GAAGD,KAAK,IAAI,wFAA3B;AAEA,0BACE;AAAK,QAAA,SAAS,EAAED,OAAO,CAACG;AAAxB,sBACE,gCAAC,sBAAD;AAAY,QAAA,IAAI,EAAC;AAAjB,iCADF,eAEE,2CAFF,eAGE,gCAAC,sBAAD,QAAaD,SAAb,CAHF,eAIE,gCAAC,oBAAD;AAAU,QAAA,OAAO,EAAEP,OAAnB;AAA4B,QAAA,QAAQ,EAAE,KAAKS,iBAA3C;AAA8D,QAAA,KAAK,EAAE;AAArE,QAJF,CADF;AAQD;;;EA3CuCC,kBAAMC,S;;;iCAAnCb,oB,eACQ;AACjBQ,EAAAA,KAAK,EAAEM,sBAAUC,MADA;AAEjBT,EAAAA,cAAc,EAAEQ,sBAAUE,IAFT;AAGjBT,EAAAA,OAAO,EAAEO,sBAAUG,MAAV,CAAiBC,UAHT;AAIjBd,EAAAA,QAAQ,EAAEU,sBAAUK;AAJH,C;;eA6CN,wBAAW,UAACC,KAAD;AAAA,SAAY;AACpCV,IAAAA,aAAa,EAAE;AACbW,MAAAA,UAAU,EAAED,KAAK,CAACE,OAAN,CAAcC;AADb;AADqB,GAAZ;AAAA,CAAX,EAIXvB,oBAJW,C","sourcesContent":["import React from 'react';\nimport Typography from '@material-ui/core/Typography';\nimport Checkbox from '@material-ui/core/Checkbox';\nimport { withStyles } from '@material-ui/core/styles';\nimport PropTypes from 'prop-types';\n\nexport class PartialScoringConfig extends React.Component {\n static propTypes = {\n label: PropTypes.string,\n partialScoring: PropTypes.bool,\n classes: PropTypes.object.isRequired,\n onChange: PropTypes.func,\n };\n\n state = {\n checked: false,\n };\n\n constructor(props) {\n super(props);\n\n const { partialScoring } = props;\n\n this.state.checked = partialScoring;\n }\n\n onCheckboxChanged = () => {\n const checked = !this.state.checked;\n const { onChange } = this.props;\n\n this.setState({\n checked,\n });\n onChange(checked);\n };\n\n render() {\n const { classes, label } = this.props;\n const { checked } = this.state;\n const textLabel = label || 'Each correct response is worth 1/X where X is the number of correct answer selections.';\n\n return (\n <div className={classes.scoringConfig}>\n <Typography type=\"subheading\">Partial Scoring Rules</Typography>\n <br />\n <Typography>{textLabel}</Typography>\n <Checkbox checked={checked} onChange={this.onCheckboxChanged} label={''} />\n </div>\n );\n }\n}\n\nexport default withStyles((theme) => ({\n scoringConfig: {\n paddingTop: theme.spacing.unit,\n },\n}))(PartialScoringConfig);\n"],"file":"index.js"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-lib/scoring-config",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "src/index.jsx",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@material-ui/core": "^3.8.3",
|
|
15
15
|
"@material-ui/icons": "^3.0.2",
|
|
16
|
-
"@pie-lib/config-ui": "^11.
|
|
16
|
+
"@pie-lib/config-ui": "^11.12.0",
|
|
17
17
|
"classnames": "^2.2.6",
|
|
18
18
|
"debug": "^4.1.1",
|
|
19
19
|
"lodash": "^4.17.11",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"react": "^16.8.1",
|
|
27
27
|
"react-dom": "^16.9.0"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "ecb1ca31aa1c24d23af00d5ad04ce73ed8871057"
|
|
30
30
|
}
|