@pie-element/match-list 7.1.2-next.2 → 7.1.2

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 (65) hide show
  1. package/CHANGELOG.json +572 -0
  2. package/CHANGELOG.md +1493 -0
  3. package/LICENSE.md +5 -0
  4. package/README.md +1 -0
  5. package/controller/CHANGELOG.json +242 -0
  6. package/controller/CHANGELOG.md +1047 -0
  7. package/controller/lib/defaults.js +15 -0
  8. package/controller/lib/defaults.js.map +1 -0
  9. package/controller/lib/index.js +246 -0
  10. package/controller/lib/index.js.map +1 -0
  11. package/controller/package.json +25 -0
  12. package/docs/config-schema.json +70 -0
  13. package/docs/config-schema.json.md +55 -0
  14. package/docs/demo/config.js +34 -0
  15. package/docs/demo/generate.js +54 -0
  16. package/docs/demo/index.html +1 -0
  17. package/docs/demo/session.js +6 -0
  18. package/docs/pie-schema.json +170 -0
  19. package/docs/pie-schema.json.md +104 -0
  20. package/lib/answer-area.js +168 -0
  21. package/lib/answer-area.js.map +1 -0
  22. package/lib/answer.js +267 -0
  23. package/lib/answer.js.map +1 -0
  24. package/lib/arrow.js +57 -0
  25. package/lib/arrow.js.map +1 -0
  26. package/lib/choices-list.js +60 -0
  27. package/lib/choices-list.js.map +1 -0
  28. package/lib/droppable-placeholder.js +60 -0
  29. package/lib/droppable-placeholder.js.map +1 -0
  30. package/lib/index.js +86 -0
  31. package/lib/index.js.map +1 -0
  32. package/lib/main.js +220 -0
  33. package/lib/main.js.map +1 -0
  34. package/package.json +22 -69
  35. package/controller.js +0 -1
  36. package/dist/browser/controller/index.js +0 -201
  37. package/dist/browser/controller/index.js.map +0 -1
  38. package/dist/browser/delivery/index.js +0 -13062
  39. package/dist/browser/delivery/index.js.map +0 -1
  40. package/dist/browser/dist-BT3FUErB.js +0 -274
  41. package/dist/browser/dist-BT3FUErB.js.map +0 -1
  42. package/dist/controller/defaults.d.ts +0 -17
  43. package/dist/controller/defaults.js +0 -9
  44. package/dist/controller/index.d.ts +0 -38
  45. package/dist/controller/index.js +0 -105
  46. package/dist/delivery/answer-area.d.ts +0 -27
  47. package/dist/delivery/answer-area.js +0 -92
  48. package/dist/delivery/answer.d.ts +0 -40
  49. package/dist/delivery/answer.js +0 -176
  50. package/dist/delivery/arrow.d.ts +0 -17
  51. package/dist/delivery/arrow.js +0 -35
  52. package/dist/delivery/choices-list.d.ts +0 -21
  53. package/dist/delivery/choices-list.js +0 -35
  54. package/dist/delivery/droppable-placeholder.d.ts +0 -24
  55. package/dist/delivery/droppable-placeholder.js +0 -42
  56. package/dist/delivery/index.d.ts +0 -21
  57. package/dist/delivery/index.js +0 -49
  58. package/dist/delivery/main.d.ts +0 -26
  59. package/dist/delivery/main.js +0 -147
  60. package/dist/index.d.ts +0 -1
  61. package/dist/index.iife.d.ts +0 -8
  62. package/dist/index.iife.js +0 -152
  63. package/dist/index.js +0 -2
  64. package/dist/runtime-support.d.ts +0 -12
  65. package/dist/runtime-support.js +0 -12
package/LICENSE.md ADDED
@@ -0,0 +1,5 @@
1
+ Copyright 2019 CoreSpring Inc
2
+
3
+ Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
4
+
5
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # match-list
@@ -0,0 +1,242 @@
1
+ [
2
+ {
3
+ "type": "feat",
4
+ "scope": "tests",
5
+ "subject": "removed match-list tests",
6
+ "merge": null,
7
+ "header": "feat(tests): removed match-list tests",
8
+ "body": null,
9
+ "footer": null,
10
+ "notes": [],
11
+ "hash": "27af29678ea4d141a835e4bd643e6b4428884072",
12
+ "gitTags": " (origin/feat/match-list-controller)",
13
+ "committerDate": "2019-06-07 23:12:10 +0300",
14
+ "isTagged": true,
15
+ "tag": "@pie-element/match-list-controller@1.1.0"
16
+ },
17
+ {
18
+ "type": "feat",
19
+ "scope": "mask-markup-elements",
20
+ "subject": "enabled partial scoring for the 3 elements and added a controller to the match-list",
21
+ "merge": null,
22
+ "header": "feat(mask-markup-elements): enabled partial scoring for the 3 elements and added a controller to the match-list",
23
+ "body": null,
24
+ "footer": null,
25
+ "notes": [],
26
+ "hash": "41e210ebc6d761041efb1d632a1879f35b1487a1",
27
+ "gitTags": "",
28
+ "committerDate": "2019-06-07 23:05:19 +0300",
29
+ "isTagged": true,
30
+ "tag": "@pie-element/match-list-controller@1.1.0"
31
+ },
32
+ {
33
+ "type": "fix",
34
+ "scope": null,
35
+ "subject": "add controller-utils to deps",
36
+ "merge": null,
37
+ "header": "fix: add controller-utils to deps",
38
+ "body": null,
39
+ "footer": null,
40
+ "notes": [],
41
+ "hash": "754e40b6e8d6bfb2f0087d7b07b2cf04f119a077",
42
+ "gitTags": " (origin/develop, origin/HEAD)",
43
+ "committerDate": "2019-06-18 15:27:39 +0100",
44
+ "isTagged": true,
45
+ "tag": "@pie-element/match-list-controller@1.1.3"
46
+ },
47
+ {
48
+ "type": "fix",
49
+ "scope": null,
50
+ "subject": "add controller-utils to deps",
51
+ "merge": null,
52
+ "header": "fix: add controller-utils to deps",
53
+ "body": null,
54
+ "footer": null,
55
+ "notes": [],
56
+ "hash": "754e40b6e8d6bfb2f0087d7b07b2cf04f119a077",
57
+ "gitTags": "",
58
+ "committerDate": "2019-06-18 15:27:39 +0100",
59
+ "isTagged": true,
60
+ "tag": "@pie-element/match-list-controller@1.1.3"
61
+ },
62
+ {
63
+ "type": "feat",
64
+ "scope": null,
65
+ "subject": "Session null/empty check.",
66
+ "merge": null,
67
+ "header": "feat: Session null/empty check.",
68
+ "body": "Check for each interaction if: has outcome function, outcome function returns { score: 0, empty: true } if session null/empty/undefined, everywhere where session is used we handle if session is null/empty/undefined and test each function that uses session. [match-list, match, math-inline, multiple-choice, number-line, placement-ordering, point-intercept, select-text, text-entry]",
69
+ "footer": null,
70
+ "notes": [],
71
+ "hash": "f24dc8bfe6761d0c7bacf674f5ec30068bfd03d8",
72
+ "gitTags": "",
73
+ "committerDate": "2019-08-27 09:02:11 +0300",
74
+ "isTagged": true,
75
+ "tag": "@pie-element/match-list-controller@1.2.0"
76
+ },
77
+ {
78
+ "type": "fix",
79
+ "scope": null,
80
+ "subject": "bump pie-lib/controller-utils",
81
+ "merge": null,
82
+ "header": "fix: bump pie-lib/controller-utils",
83
+ "body": null,
84
+ "footer": null,
85
+ "notes": [],
86
+ "hash": "ba3de006afa1ddaa582a531779be766c9715f64c",
87
+ "gitTags": "",
88
+ "committerDate": "2019-08-30 23:15:07 +0300",
89
+ "isTagged": true,
90
+ "tag": "@pie-element/match-list-controller@1.3.0"
91
+ },
92
+ {
93
+ "type": "feat",
94
+ "scope": null,
95
+ "subject": "make use of updateSession callback",
96
+ "merge": null,
97
+ "header": "feat: make use of updateSession callback",
98
+ "body": null,
99
+ "footer": null,
100
+ "notes": [],
101
+ "hash": "afe14dd983e630eda1dce6068fa4a90a5f105276",
102
+ "gitTags": "",
103
+ "committerDate": "2019-08-26 18:21:18 +0300",
104
+ "isTagged": true,
105
+ "tag": "@pie-element/match-list-controller@1.3.0"
106
+ },
107
+ {
108
+ "type": "fix",
109
+ "scope": null,
110
+ "subject": "bump @pie-lib/controller-utils@^0.2.1 [ch4723]",
111
+ "merge": null,
112
+ "header": "fix: bump @pie-lib/controller-utils@^0.2.1 [ch4723]",
113
+ "body": null,
114
+ "footer": null,
115
+ "notes": [],
116
+ "hash": "0a33d688d6d9e5f239daba982bfbdeebb10ba4ab",
117
+ "gitTags": "",
118
+ "committerDate": "2019-10-11 12:38:26 +0100",
119
+ "isTagged": true,
120
+ "tag": "@pie-element/match-list-controller@1.3.3"
121
+ },
122
+ {
123
+ "type": "fix",
124
+ "scope": null,
125
+ "subject": "bump @pie-lib/controller-utils@^0.2.2",
126
+ "merge": null,
127
+ "header": "fix: bump @pie-lib/controller-utils@^0.2.2",
128
+ "body": null,
129
+ "footer": null,
130
+ "notes": [],
131
+ "hash": "edae61cd4f686b2e1611cf0cad710112177fff2e",
132
+ "gitTags": "",
133
+ "committerDate": "2019-10-15 12:11:16 +0100",
134
+ "isTagged": true,
135
+ "tag": "@pie-element/match-list-controller@1.3.4"
136
+ },
137
+ {
138
+ "type": "fix",
139
+ "scope": null,
140
+ "subject": "ch2766 fix unresolved promise (#366)",
141
+ "merge": null,
142
+ "header": "fix: ch2766 fix unresolved promise (#366)",
143
+ "body": "* fix: resolve null when instructor is not role\n\n* chore: typo\n\n* chore: correct response resolve, match interaction\n\n* chore: correct response unresolved\n\n* chore: categorize resolve correct response\n\n* fix: createCorrectResponseSession unresolved promise\n\n* fix: createCorrectResponseSession resolve promise\n\n* fix: createCorrectResponseSession resolve promise\n\n* fix: ch2776 resolve createCorrectResponse promise",
144
+ "footer": "* fix: Fixed createCorrectResponseSession and added tests for it. (#365)",
145
+ "notes": [],
146
+ "hash": "9057b7fd08e4f5b07e953a5acd053e1945df57f2",
147
+ "gitTags": " (origin/develop, origin/HEAD)",
148
+ "committerDate": "2019-10-16 15:50:55 -0400",
149
+ "isTagged": true,
150
+ "tag": "@pie-element/match-list-controller@1.3.6"
151
+ },
152
+ {
153
+ "type": "fix",
154
+ "scope": null,
155
+ "subject": "PIE-201 - store prompts and answers in session, fix",
156
+ "merge": null,
157
+ "header": "fix: PIE-201 - store prompts and answers in session, fix",
158
+ "body": "controller-utils to use 0 as key",
159
+ "footer": null,
160
+ "notes": [],
161
+ "hash": "23802242e0bc647f929f6db4dfd4b03f0112f2fb",
162
+ "gitTags": "",
163
+ "committerDate": "2019-11-18 20:35:06 +0000",
164
+ "isTagged": true,
165
+ "tag": "@pie-element/match-list-controller@1.3.8"
166
+ },
167
+ {
168
+ "type": "feat",
169
+ "scope": null,
170
+ "subject": "PIE-200 - add partialScoring",
171
+ "merge": null,
172
+ "header": "feat: PIE-200 - add partialScoring",
173
+ "body": null,
174
+ "footer": null,
175
+ "notes": [],
176
+ "hash": "c3cb93b566561e4e5c1eab41b3a9f156332c78a8",
177
+ "gitTags": "",
178
+ "committerDate": "2019-12-06 12:22:05 +0000",
179
+ "isTagged": true,
180
+ "tag": "@pie-element/match-list-controller@1.4.0"
181
+ },
182
+ {
183
+ "type": "fix",
184
+ "scope": null,
185
+ "subject": "bump ui versions",
186
+ "merge": null,
187
+ "header": "fix: bump ui versions",
188
+ "body": null,
189
+ "footer": null,
190
+ "notes": [],
191
+ "hash": "5b9d99fe59c304bdd173c9336503eb558900d2a2",
192
+ "gitTags": "",
193
+ "committerDate": "2020-03-31 19:25:13 +0100",
194
+ "isTagged": true,
195
+ "tag": "@pie-element/match-list-controller@1.5.0"
196
+ },
197
+ {
198
+ "type": "fix",
199
+ "scope": null,
200
+ "subject": "bump lib and ui versions",
201
+ "merge": null,
202
+ "header": "fix: bump lib and ui versions",
203
+ "body": null,
204
+ "footer": null,
205
+ "notes": [],
206
+ "hash": "a882cbf4580098ce0e12c51cf6ad2879817e17e7",
207
+ "gitTags": "",
208
+ "committerDate": "2020-04-10 17:13:24 +0100",
209
+ "isTagged": true,
210
+ "tag": "@pie-element/match-list-controller@1.5.1"
211
+ },
212
+ {
213
+ "type": "fix",
214
+ "scope": null,
215
+ "subject": "bump all packages to avoid tag conflict",
216
+ "merge": null,
217
+ "header": "fix: bump all packages to avoid tag conflict",
218
+ "body": null,
219
+ "footer": null,
220
+ "notes": [],
221
+ "hash": "d9ec9a8689f0a391594b5e2f4ea958c6dc9f6d7b",
222
+ "gitTags": "",
223
+ "committerDate": "2020-04-10 20:01:37 +0100",
224
+ "isTagged": true,
225
+ "tag": "@pie-element/match-list-controller@1.5.1"
226
+ },
227
+ {
228
+ "type": "fix",
229
+ "scope": null,
230
+ "subject": "bump ui/lib versions",
231
+ "merge": null,
232
+ "header": "fix: bump ui/lib versions",
233
+ "body": null,
234
+ "footer": null,
235
+ "notes": [],
236
+ "hash": "3edb2321ebaefcaee70c3642aa6da8a50e8a99e5",
237
+ "gitTags": "",
238
+ "committerDate": "2020-04-14 15:36:44 +0100",
239
+ "isTagged": true,
240
+ "tag": "@pie-element/match-list-controller@1.5.3"
241
+ }
242
+ ]