@pie-element/ebsr 6.6.3-next.133 → 6.6.3-next.1353

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,252 @@
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
+ # [8.1.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@8.0.0...@pie-element/ebsr@8.1.0) (2022-06-28)
7
+
8
+
9
+ ### Features
10
+
11
+ * **ebsr:** add maxImageWidth and maxImageHeight props PD-1801 ([61c9b25](https://github.com/pie-framework/pie-elements/commit/61c9b2511ab8ef1a146d86def588bf8517e23e96))
12
+ * **ebsr:** implement item validation PD-1799 ([66e9ff1](https://github.com/pie-framework/pie-elements/commit/66e9ff1d0178e5ba6f4b07115f1efbf0c752e05f))
13
+
14
+
15
+
16
+
17
+
18
+ # [8.0.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.26...@pie-element/ebsr@8.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
+ ## [7.0.26](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.25...@pie-element/ebsr@7.0.26) (2022-06-13)
36
+
37
+ **Note:** Version bump only for package @pie-element/ebsr
38
+
39
+
40
+
41
+
42
+
43
+ ## [7.0.25](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.24...@pie-element/ebsr@7.0.25) (2022-05-30)
44
+
45
+ **Note:** Version bump only for package @pie-element/ebsr
46
+
47
+
48
+
49
+
50
+
51
+ ## [7.0.24](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.23...@pie-element/ebsr@7.0.24) (2022-05-16)
52
+
53
+ **Note:** Version bump only for package @pie-element/ebsr
54
+
55
+
56
+
57
+
58
+
59
+ ## [7.0.23](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.22...@pie-element/ebsr@7.0.23) (2022-05-09)
60
+
61
+ **Note:** Version bump only for package @pie-element/ebsr
62
+
63
+
64
+
65
+
66
+
67
+ ## [7.0.22](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.21...@pie-element/ebsr@7.0.22) (2022-05-03)
68
+
69
+ **Note:** Version bump only for package @pie-element/ebsr
70
+
71
+
72
+
73
+
74
+
75
+ ## [7.0.21](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.20...@pie-element/ebsr@7.0.21) (2022-04-12)
76
+
77
+ **Note:** Version bump only for package @pie-element/ebsr
78
+
79
+
80
+
81
+
82
+
83
+ ## [7.0.20](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.19...@pie-element/ebsr@7.0.20) (2022-03-28)
84
+
85
+ **Note:** Version bump only for package @pie-element/ebsr
86
+
87
+
88
+
89
+
90
+
91
+ ## [7.0.19](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.18...@pie-element/ebsr@7.0.19) (2022-03-22)
92
+
93
+ **Note:** Version bump only for package @pie-element/ebsr
94
+
95
+
96
+
97
+
98
+
99
+ ## [7.0.18](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.17...@pie-element/ebsr@7.0.18) (2022-03-08)
100
+
101
+ **Note:** Version bump only for package @pie-element/ebsr
102
+
103
+
104
+
105
+
106
+
107
+ ## [7.0.17](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.16...@pie-element/ebsr@7.0.17) (2022-03-08)
108
+
109
+ **Note:** Version bump only for package @pie-element/ebsr
110
+
111
+
112
+
113
+
114
+
115
+ ## [7.0.16](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.15...@pie-element/ebsr@7.0.16) (2022-02-21)
116
+
117
+ **Note:** Version bump only for package @pie-element/ebsr
118
+
119
+
120
+
121
+
122
+
123
+ ## [7.0.15](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.14...@pie-element/ebsr@7.0.15) (2022-02-04)
124
+
125
+ **Note:** Version bump only for package @pie-element/ebsr
126
+
127
+
128
+
129
+
130
+
131
+ ## [7.0.14](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.13...@pie-element/ebsr@7.0.14) (2022-01-24)
132
+
133
+ **Note:** Version bump only for package @pie-element/ebsr
134
+
135
+
136
+
137
+
138
+
139
+ ## [7.0.13](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.12...@pie-element/ebsr@7.0.13) (2022-01-11)
140
+
141
+ **Note:** Version bump only for package @pie-element/ebsr
142
+
143
+
144
+
145
+
146
+
147
+ ## [7.0.12](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.11...@pie-element/ebsr@7.0.12) (2022-01-10)
148
+
149
+ **Note:** Version bump only for package @pie-element/ebsr
150
+
151
+
152
+
153
+
154
+
155
+ ## [7.0.11](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.10...@pie-element/ebsr@7.0.11) (2021-12-23)
156
+
157
+ **Note:** Version bump only for package @pie-element/ebsr
158
+
159
+
160
+
161
+
162
+
163
+ ## [7.0.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.8...@pie-element/ebsr@7.0.9) (2021-12-13)
164
+
165
+ **Note:** Version bump only for package @pie-element/ebsr
166
+
167
+
168
+
169
+
170
+
171
+ ## [7.0.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.5...@pie-element/ebsr@7.0.6) (2021-11-29)
172
+
173
+ **Note:** Version bump only for package @pie-element/ebsr
174
+
175
+
176
+
177
+
178
+
179
+ ## [7.0.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.4...@pie-element/ebsr@7.0.5) (2021-11-11)
180
+
181
+ **Note:** Version bump only for package @pie-element/ebsr
182
+
183
+
184
+
185
+
186
+
187
+ ## [7.0.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.3...@pie-element/ebsr@7.0.4) (2021-11-01)
188
+
189
+ **Note:** Version bump only for package @pie-element/ebsr
190
+
191
+
192
+
193
+
194
+
195
+ ## [7.0.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.2...@pie-element/ebsr@7.0.3) (2021-10-04)
196
+
197
+ **Note:** Version bump only for package @pie-element/ebsr
198
+
199
+
200
+
201
+
202
+
203
+ ## [7.0.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.1...@pie-element/ebsr@7.0.2) (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
+ ## [7.0.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.0...@pie-element/ebsr@7.0.1) (2021-09-01)
217
+
218
+ **Note:** Version bump only for package @pie-element/ebsr
219
+
220
+
221
+
222
+
223
+
224
+ # [7.0.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@6.7.0...@pie-element/ebsr@7.0.0) (2021-08-09)
225
+
226
+
227
+ ### Features
228
+
229
+ * **ebsr:** Added choicesLayout support ([33fb7e7](https://github.com/pie-framework/pie-elements/commit/33fb7e765146a7343a58663f3667f4a5de472960))
230
+ * **ebsr:** Added choicesLayout support \n BREAKING CHANGE: removed vertical mode ([348fc00](https://github.com/pie-framework/pie-elements/commit/348fc0031536d458071a1105e742c3d19399a15e))
231
+
232
+
233
+ ### BREAKING CHANGES
234
+
235
+ * **ebsr:** removed vertical mode.
236
+
237
+
238
+
239
+
240
+
241
+ # [6.7.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@6.6.2...@pie-element/ebsr@6.7.0) (2021-08-05)
242
+
243
+
244
+ ### Features
245
+
246
+ * **ebsr:** Allowed Part A to be multiple select PD-259 ([85530fc](https://github.com/pie-framework/pie-elements/commit/85530fce124ca5b09c024959c0147ac56b027a15))
247
+
248
+
249
+
250
+
251
+
6
252
  ## [6.6.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@6.6.0...@pie-element/ebsr@6.6.2) (2021-08-05)
7
253
 
8
254
 
@@ -3,6 +3,252 @@
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
+ # [8.1.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.0.0...@pie-element/ebsr-configure@8.1.0) (2022-06-28)
7
+
8
+
9
+ ### Features
10
+
11
+ * **ebsr:** add maxImageWidth and maxImageHeight props PD-1801 ([61c9b25](https://github.com/pie-framework/pie-elements/commit/61c9b2511ab8ef1a146d86def588bf8517e23e96))
12
+ * **ebsr:** implement item validation PD-1799 ([66e9ff1](https://github.com/pie-framework/pie-elements/commit/66e9ff1d0178e5ba6f4b07115f1efbf0c752e05f))
13
+
14
+
15
+
16
+
17
+
18
+ # [8.0.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.26...@pie-element/ebsr-configure@8.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
+ ## [7.0.26](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.25...@pie-element/ebsr-configure@7.0.26) (2022-06-13)
36
+
37
+ **Note:** Version bump only for package @pie-element/ebsr-configure
38
+
39
+
40
+
41
+
42
+
43
+ ## [7.0.25](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.24...@pie-element/ebsr-configure@7.0.25) (2022-05-30)
44
+
45
+ **Note:** Version bump only for package @pie-element/ebsr-configure
46
+
47
+
48
+
49
+
50
+
51
+ ## [7.0.24](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.23...@pie-element/ebsr-configure@7.0.24) (2022-05-16)
52
+
53
+ **Note:** Version bump only for package @pie-element/ebsr-configure
54
+
55
+
56
+
57
+
58
+
59
+ ## [7.0.23](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.22...@pie-element/ebsr-configure@7.0.23) (2022-05-09)
60
+
61
+ **Note:** Version bump only for package @pie-element/ebsr-configure
62
+
63
+
64
+
65
+
66
+
67
+ ## [7.0.22](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.21...@pie-element/ebsr-configure@7.0.22) (2022-05-03)
68
+
69
+ **Note:** Version bump only for package @pie-element/ebsr-configure
70
+
71
+
72
+
73
+
74
+
75
+ ## [7.0.21](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.20...@pie-element/ebsr-configure@7.0.21) (2022-04-12)
76
+
77
+ **Note:** Version bump only for package @pie-element/ebsr-configure
78
+
79
+
80
+
81
+
82
+
83
+ ## [7.0.20](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.19...@pie-element/ebsr-configure@7.0.20) (2022-03-28)
84
+
85
+ **Note:** Version bump only for package @pie-element/ebsr-configure
86
+
87
+
88
+
89
+
90
+
91
+ ## [7.0.19](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.18...@pie-element/ebsr-configure@7.0.19) (2022-03-22)
92
+
93
+ **Note:** Version bump only for package @pie-element/ebsr-configure
94
+
95
+
96
+
97
+
98
+
99
+ ## [7.0.18](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.17...@pie-element/ebsr-configure@7.0.18) (2022-03-08)
100
+
101
+ **Note:** Version bump only for package @pie-element/ebsr-configure
102
+
103
+
104
+
105
+
106
+
107
+ ## [7.0.17](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.16...@pie-element/ebsr-configure@7.0.17) (2022-03-08)
108
+
109
+ **Note:** Version bump only for package @pie-element/ebsr-configure
110
+
111
+
112
+
113
+
114
+
115
+ ## [7.0.16](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.15...@pie-element/ebsr-configure@7.0.16) (2022-02-21)
116
+
117
+ **Note:** Version bump only for package @pie-element/ebsr-configure
118
+
119
+
120
+
121
+
122
+
123
+ ## [7.0.15](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.14...@pie-element/ebsr-configure@7.0.15) (2022-02-04)
124
+
125
+ **Note:** Version bump only for package @pie-element/ebsr-configure
126
+
127
+
128
+
129
+
130
+
131
+ ## [7.0.14](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.13...@pie-element/ebsr-configure@7.0.14) (2022-01-24)
132
+
133
+ **Note:** Version bump only for package @pie-element/ebsr-configure
134
+
135
+
136
+
137
+
138
+
139
+ ## [7.0.13](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.12...@pie-element/ebsr-configure@7.0.13) (2022-01-11)
140
+
141
+ **Note:** Version bump only for package @pie-element/ebsr-configure
142
+
143
+
144
+
145
+
146
+
147
+ ## [7.0.12](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.11...@pie-element/ebsr-configure@7.0.12) (2022-01-10)
148
+
149
+ **Note:** Version bump only for package @pie-element/ebsr-configure
150
+
151
+
152
+
153
+
154
+
155
+ ## [7.0.11](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.10...@pie-element/ebsr-configure@7.0.11) (2021-12-23)
156
+
157
+ **Note:** Version bump only for package @pie-element/ebsr-configure
158
+
159
+
160
+
161
+
162
+
163
+ ## [7.0.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.8...@pie-element/ebsr-configure@7.0.9) (2021-12-13)
164
+
165
+ **Note:** Version bump only for package @pie-element/ebsr-configure
166
+
167
+
168
+
169
+
170
+
171
+ ## [7.0.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.5...@pie-element/ebsr-configure@7.0.6) (2021-11-29)
172
+
173
+ **Note:** Version bump only for package @pie-element/ebsr-configure
174
+
175
+
176
+
177
+
178
+
179
+ ## [7.0.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.4...@pie-element/ebsr-configure@7.0.5) (2021-11-11)
180
+
181
+ **Note:** Version bump only for package @pie-element/ebsr-configure
182
+
183
+
184
+
185
+
186
+
187
+ ## [7.0.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.3...@pie-element/ebsr-configure@7.0.4) (2021-11-01)
188
+
189
+ **Note:** Version bump only for package @pie-element/ebsr-configure
190
+
191
+
192
+
193
+
194
+
195
+ ## [7.0.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.2...@pie-element/ebsr-configure@7.0.3) (2021-10-04)
196
+
197
+ **Note:** Version bump only for package @pie-element/ebsr-configure
198
+
199
+
200
+
201
+
202
+
203
+ ## [7.0.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.1...@pie-element/ebsr-configure@7.0.2) (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
+ ## [7.0.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.0...@pie-element/ebsr-configure@7.0.1) (2021-09-01)
217
+
218
+ **Note:** Version bump only for package @pie-element/ebsr-configure
219
+
220
+
221
+
222
+
223
+
224
+ # [7.0.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@6.4.0...@pie-element/ebsr-configure@7.0.0) (2021-08-09)
225
+
226
+
227
+ ### Features
228
+
229
+ * **ebsr:** Added choicesLayout support ([33fb7e7](https://github.com/pie-framework/pie-elements/commit/33fb7e765146a7343a58663f3667f4a5de472960))
230
+ * **ebsr:** Added choicesLayout support \n BREAKING CHANGE: removed vertical mode ([348fc00](https://github.com/pie-framework/pie-elements/commit/348fc0031536d458071a1105e742c3d19399a15e))
231
+
232
+
233
+ ### BREAKING CHANGES
234
+
235
+ * **ebsr:** removed vertical mode.
236
+
237
+
238
+
239
+
240
+
241
+ # [6.4.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@6.3.2...@pie-element/ebsr-configure@6.4.0) (2021-08-05)
242
+
243
+
244
+ ### Features
245
+
246
+ * **ebsr:** Allowed Part A to be multiple select PD-259 ([85530fc](https://github.com/pie-framework/pie-elements/commit/85530fce124ca5b09c024959c0147ac56b027a15))
247
+
248
+
249
+
250
+
251
+
6
252
  ## [6.3.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@6.3.0...@pie-element/ebsr-configure@6.3.2) (2021-08-05)
7
253
 
8
254
 
@@ -11,9 +11,9 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
11
11
 
12
12
  var _cloneDeep = _interopRequireDefault(require("lodash/cloneDeep"));
13
13
 
14
- 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; }
14
+ 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; }
15
15
 
16
- 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; }
16
+ 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; }
17
17
 
18
18
  var defaultConfig = {
19
19
  addChoiceButton: {
@@ -55,9 +55,29 @@ var defaultConfig = {
55
55
  settings: true,
56
56
  label: 'Teacher Instructions'
57
57
  },
58
- verticalMode: {
59
- settings: true,
60
- label: 'Vertical Mode'
58
+ choicesLayout: {
59
+ settings: false,
60
+ label: 'Choices Layout'
61
+ },
62
+ gridColumns: {
63
+ label: 'Grid columns'
64
+ },
65
+ spellCheck: {
66
+ label: 'Spellcheck',
67
+ settings: false,
68
+ enabled: true
69
+ },
70
+ maxImageWidth: {
71
+ teacherInstructions: 300,
72
+ prompt: 300,
73
+ rationale: 636,
74
+ choices: 636
75
+ },
76
+ maxImageHeight: {
77
+ teacherInstructions: 300,
78
+ prompt: 300,
79
+ rationale: 300,
80
+ choices: 300
61
81
  }
62
82
  };
63
83
 
@@ -74,7 +94,9 @@ var partModel = function partModel(base) {
74
94
  rationale: '',
75
95
  teacherInstructionsEnabled: true,
76
96
  studentInstructionsEnabled: true,
77
- verticalMode: true
97
+ spellCheckEnabled: true,
98
+ choicesLayout: 'vertical',
99
+ gridColumns: '2'
78
100
  }, base);
79
101
  };
80
102
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/defaults.js"],"names":["defaultConfig","addChoiceButton","settings","label","choiceMode","choicePrefix","deleteChoice","feedback","lockChoiceOrder","prompt","rationale","studentInstructions","teacherInstructions","verticalMode","partModel","base","choices","rationaleEnabled","feedbackEnabled","promptEnabled","teacherInstructionsEnabled","studentInstructionsEnabled","model","partLabels","partLabelType","partialScoring","partA","partB","configuration","scoringType","settingsPanelDisabled"],"mappings":";;;;;;;;;;;AAAA;;;;;;AAEA,IAAMA,aAAa,GAAG;AACpBC,EAAAA,eAAe,EAAE;AACfC,IAAAA,QAAQ,EAAE,IADK;AAEfC,IAAAA,KAAK,EAAE;AAFQ,GADG;AAKpBC,EAAAA,UAAU,EAAE;AACVF,IAAAA,QAAQ,EAAE,IADA;AAEVC,IAAAA,KAAK,EAAE;AAFG,GALQ;AASpBE,EAAAA,YAAY,EAAE;AACZH,IAAAA,QAAQ,EAAE,IADE;AAEZC,IAAAA,KAAK,EAAE;AAFK,GATM;AAapBG,EAAAA,YAAY,EAAE;AACZJ,IAAAA,QAAQ,EAAE;AADE,GAbM;AAgBpBK,EAAAA,QAAQ,EA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AAU,EAAE,IADP;AAELC,IAAAA,aAAa,EAAE,SAFV;AAGLC,IAAAA,cAAc,EAAE,KAHX;AAILC,IAAAA,KAAK,EAAEZ,SAAS,CAAC;AAAEL,MAAAA,MAAM,EAAE;AAAV,KAAD,CAJX;AAKLkB,IAAAA,KAAK,EAAEb,SAAS,CAAC;AAAEL,MAAAA,MAAM,EAAE;AAAV,KAAD;AALX,GADM;AAQbmB,EAAAA,aAAa,EAAE;AACbH,IAAAA,cAAc,EAAE;AACdtB,MAAAA,KAAK,EAAE,uBADO;AAEd;AACA;AACA;AACAD,MAAAA,QAAQ,EAAE;AALI,KADH;AAQb2B,IAAAA,WAAW,EAAE;AACX3B,MAAAA,QAAQ,EAAE,KADC;AAEXC,MAAAA,KAAK,EAAE;AAFI,KARA;AAYbuB,IAAAA,KAAK,EAAE,2BAAU1B,aAAV,CAZM;AAab2B,IAAAA,KAAK,EAAE,2BAAU3B,aAAV,CAbM;AAcbuB,IAAAA,UAAU,EAAE;AACVrB,MAAAA,QAAQ,EAAE,IADA;AAEVC,MAAAA,KAAK,EAAE;AAFG,KAdC;AAkBb2B,IAAAA,qBAAqB,EAAE;AAlBV;AARF,C","sourcesContent":["import cloneDeep from 'lodash/cloneDeep';\n\nconst defaultConfig = {\n addChoiceButton: {\n settings: true,\n label: 'Add a Choice'\n },\n choiceMode: {\n settings: true,\n label: 'Response Type'\n },\n choicePrefix: {\n settings: true,\n label: 'Choice Labels'\n },\n deleteChoice: {\n settings: true\n },\n feedback: {\n settings: true,\n label: 'Feedback'\n },\n lockChoiceOrder: {\n settings: true,\n label: 'Lock Choice Order'\n },\n prompt: {\n settings: true,\n label: 'Prompt'\n },\n rationale: {\n settings: true,\n label: 'Rationale'\n },\n studentInstructions: {\n settings: false,\n label: 'Student Instructions'\n },\n teacherInstructions: {\n settings: true,\n label: 'Teacher Instructions'\n },\n verticalMode: {\n settings: true,\n label: 'Vertical Mode',\n }\n};\n\nconst partModel = base => ({\n choiceMode: 'radio',\n choices: [],\n choicePrefix: 'numbers',\n prompt: 'Prompt',\n rationaleEnabled: true,\n feedbackEnabled: true,\n promptEnabled: true,\n teacherInstructions: '',\n rationale: '',\n teacherInstructionsEnabled: true,\n studentInstructionsEnabled: true,\n verticalMode: true,\n ...base\n});\n\nexport default {\n model: {\n partLabels: true,\n partLabelType: 'Letters',\n partialScoring: false,\n partA: partModel({ prompt: 'Prompt A' }),\n partB: partModel({ prompt: 'Prompt B' })\n },\n configuration: {\n partialScoring: {\n label: 'Allow Partial Scoring',\n // this will turn off partial scoring toggle in the settings tab by default for the interaction\n // as we'd like partial scoring to be controlled from the environment entirely\n // if any other consumers would like to enable it for themselves, they can do so from their model directly.\n settings: false\n },\n scoringType: {\n settings: false,\n label: 'Scoring Type'\n },\n partA: cloneDeep(defaultConfig),\n partB: cloneDeep(defaultConfig),\n partLabels: {\n settings: true,\n label: 'Part Labels'\n },\n settingsPanelDisabled: true\n }\n};\n"],"file":"defaults.js"}
1
+ {"version":3,"sources":["../src/defaults.js"],"names":["defaultConfig","addChoiceButton","settings","label","choiceMode","choicePrefix","deleteChoice","feedback","lockChoiceOrder","prompt","rationale","studentInstructions","teacherInstructions","choicesLayout","gridColumns","spellCheck","enabled","maxImageWidth","choices","maxImageHeight","partModel","base","rationaleEnabled","feedbackEnabled","promptEnabled","teacherInstructionsEnabled","studentInstructionsEnabled","spellCheckEnabled","model","partLabels","partLabelType","partialScoring","partA","partB","configuration","scoringType","settingsPanelDisabled"],"mappings":";;;;;;;;;;;AAAA;;;;;;AAEA,IAAMA,aAAa,GAAG;AACpBC,EAAAA,eAAe,EAAE;AACfC,IAAAA,QAAQ,EAAE,IADK;AAEfC,IAAAA,KAAK,EAAE;AAFQ,GADG;AAKpBC,EAAAA,UAAU,EAAE;AACVF,IAAAA,QAAQ,EAAE,IADA;AAEVC,IAAAA,KAAK,EAAE;AAFG,GALQ;AASpBE,EAAAA,YAAY,EAAE;AACZH,IAAAA,QAAQ,EAAE,IADE;AAEZC,IAAAA,K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BAAUhC,aAAV,CAZM;AAabiC,IAAAA,KAAK,EAAE,2BAAUjC,aAAV,CAbM;AAcb6B,IAAAA,UAAU,EAAE;AACV3B,MAAAA,QAAQ,EAAE,IADA;AAEVC,MAAAA,KAAK,EAAE;AAFG,KAdC;AAkBbiC,IAAAA,qBAAqB,EAAE;AAlBV;AARF,C","sourcesContent":["import cloneDeep from 'lodash/cloneDeep';\n\nconst defaultConfig = {\n addChoiceButton: {\n settings: true,\n label: 'Add a Choice'\n },\n choiceMode: {\n settings: true,\n label: 'Response Type'\n },\n choicePrefix: {\n settings: true,\n label: 'Choice Labels'\n },\n deleteChoice: {\n settings: true\n },\n feedback: {\n settings: true,\n label: 'Feedback'\n },\n lockChoiceOrder: {\n settings: true,\n label: 'Lock Choice Order'\n },\n prompt: {\n settings: true,\n label: 'Prompt'\n },\n rationale: {\n settings: true,\n label: 'Rationale'\n },\n studentInstructions: {\n settings: false,\n label: 'Student Instructions'\n },\n teacherInstructions: {\n settings: true,\n label: 'Teacher Instructions'\n },\n choicesLayout: {\n settings: false,\n label: 'Choices Layout',\n },\n gridColumns: {\n label: 'Grid columns',\n },\n spellCheck: {\n label: 'Spellcheck',\n settings:false,\n enabled:true\n },\n maxImageWidth: {\n teacherInstructions: 300,\n prompt: 300,\n rationale: 636,\n choices: 636\n },\n maxImageHeight: {\n teacherInstructions: 300,\n prompt: 300,\n rationale: 300,\n choices: 300\n }\n};\n\nconst partModel = base => ({\n choiceMode: 'radio',\n choices: [],\n choicePrefix: 'numbers',\n prompt: 'Prompt',\n rationaleEnabled: true,\n feedbackEnabled: true,\n promptEnabled: true,\n teacherInstructions: '',\n rationale: '',\n teacherInstructionsEnabled: true,\n studentInstructionsEnabled: true,\n spellCheckEnabled:true,\n choicesLayout: 'vertical',\n gridColumns: '2',\n ...base\n});\n\nexport default {\n model: {\n partLabels: true,\n partLabelType: 'Letters',\n partialScoring: false,\n partA: partModel({ prompt: 'Prompt A' }),\n partB: partModel({ prompt: 'Prompt B' })\n },\n configuration: {\n partialScoring: {\n label: 'Allow Partial Scoring',\n // this will turn off partial scoring toggle in the settings tab by default for the interaction\n // as we'd like partial scoring to be controlled from the environment entirely\n // if any other consumers would like to enable it for themselves, they can do so from their model directly.\n settings: false\n },\n scoringType: {\n settings: false,\n label: 'Scoring Type'\n },\n partA: cloneDeep(defaultConfig),\n partB: cloneDeep(defaultConfig),\n partLabels: {\n settings: true,\n label: 'Part Labels'\n },\n settingsPanelDisabled: true\n }\n};\n"],"file":"defaults.js"}