@pie-element/select-text 6.5.18 → 6.5.20-beta.1443
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 +389 -0
- package/configure/CHANGELOG.md +356 -0
- package/configure/lib/defaultConfiguration.js +20 -0
- package/configure/lib/defaultConfiguration.js.map +1 -1
- package/configure/lib/design.js +138 -65
- package/configure/lib/design.js.map +1 -1
- package/configure/lib/index.js +18 -8
- package/configure/lib/index.js.map +1 -1
- package/configure/lib/utils.js +118 -0
- package/configure/lib/utils.js.map +1 -0
- package/configure/package.json +6 -6
- package/controller/CHANGELOG.md +155 -0
- package/controller/lib/defaults.js.map +1 -1
- package/controller/lib/index.js +37 -4
- package/controller/lib/index.js.map +1 -1
- package/controller/package.json +4 -4
- package/docs/config-schema.json +115 -0
- package/docs/config-schema.json.md +89 -1
- package/docs/demo/config.js +2 -4
- package/docs/demo/generate.js +199 -90
- package/docs/demo/session.js +19 -6
- package/docs/pie-schema.json +33 -0
- package/docs/pie-schema.json.md +24 -0
- package/lib/index.js +50 -2
- package/lib/index.js.map +1 -1
- package/lib/main.js +43 -32
- package/lib/main.js.map +1 -1
- package/lib/print.js +124 -0
- package/lib/print.js.map +1 -0
- package/lib/utils.js +106 -0
- package/lib/utils.js.map +1 -0
- package/package.json +11 -7
package/configure/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,362 @@
|
|
|
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.4.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.3.0...@pie-element/select-text-configure@6.4.0) (2023-01-17)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* update pie-libs ([6423903](https://github.com/pie-framework/pie-elements/commit/6423903898b041f56db2111de2e4aac4ee9f1fd3))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [6.3.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.2.7...@pie-element/select-text-configure@6.3.0) (2023-01-05)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* update pie-libs ([b174476](https://github.com/pie-framework/pie-elements/commit/b174476729119a0689f1f8adfc8c235246676cab))
|
|
23
|
+
* update pie-libs ([f72c3c8](https://github.com/pie-framework/pie-elements/commit/f72c3c8d8bc9bbf061bb81502317157a63c22972))
|
|
24
|
+
* update pie-libs ([8490729](https://github.com/pie-framework/pie-elements/commit/8490729a2389d36fd3968f0806119fde96577842))
|
|
25
|
+
* **select-text:** added configuration prop to hide the settings panel PD-1999 + refactoring ([11dfb8e](https://github.com/pie-framework/pie-elements/commit/11dfb8e485b6614122ed92ec2b3ab1da031a222f))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## [6.2.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.2.6...@pie-element/select-text-configure@6.2.7) (2022-12-21)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
* updated pie-libs ([8cb5b90](https://github.com/pie-framework/pie-elements/commit/8cb5b90d501ccbdf5ffd764e6555faa48b8f54d6))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
## [6.2.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.2.5...@pie-element/select-text-configure@6.2.6) (2022-12-20)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Bug Fixes
|
|
46
|
+
|
|
47
|
+
* updated pie-libs ([6549302](https://github.com/pie-framework/pie-elements/commit/65493026fbf356c5ab752ae6a14d961d4b256368))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
## [6.2.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.2.4...@pie-element/select-text-configure@6.2.5) (2022-12-13)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### Bug Fixes
|
|
57
|
+
|
|
58
|
+
* Attempt to fix PD-2185 ([8834b0b](https://github.com/pie-framework/pie-elements/commit/8834b0b9bb0b3c8a14e59825243f820b6db9c535))
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
## [6.2.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.2.3...@pie-element/select-text-configure@6.2.4) (2022-12-07)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
### Bug Fixes
|
|
68
|
+
|
|
69
|
+
* update libs ([441f403](https://github.com/pie-framework/pie-elements/commit/441f403870b7bec0d61fab58b8d93dbe0ead4c32))
|
|
70
|
+
* update libs for PD-2030 PD-2031 ([3174022](https://github.com/pie-framework/pie-elements/commit/3174022d45603ed217bbe8804a142b07084636a5))
|
|
71
|
+
* updated lib PD-1715 ([42e788d](https://github.com/pie-framework/pie-elements/commit/42e788db0c792838994e55001952da7701251a8e))
|
|
72
|
+
* updated libs ([c20de3a](https://github.com/pie-framework/pie-elements/commit/c20de3a6ba4499a090c809e18e52588d2a585fa0))
|
|
73
|
+
* updated libs ([0eed79a](https://github.com/pie-framework/pie-elements/commit/0eed79a32c3b777c16c8cabf201513fc1d2726a0))
|
|
74
|
+
* updated libs ([343c9ec](https://github.com/pie-framework/pie-elements/commit/343c9ec3dccba7f781e90ae2bd195cac6f78f467))
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
## [6.2.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.2.2...@pie-element/select-text-configure@6.2.3) (2022-11-15)
|
|
81
|
+
|
|
82
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
## [6.2.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.2.1...@pie-element/select-text-configure@6.2.2) (2022-11-11)
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
### Bug Fixes
|
|
92
|
+
|
|
93
|
+
* **select-text:** add sanity checks for withRubric ([a1fa349](https://github.com/pie-framework/pie-elements/commit/a1fa34952fca2f75b36d64acfbb88727793fc25f))
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
## [6.2.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.2.0...@pie-element/select-text-configure@6.2.1) (2022-10-31)
|
|
100
|
+
|
|
101
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
# [6.2.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.1.10...@pie-element/select-text-configure@6.2.0) (2022-10-17)
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
### Bug Fixes
|
|
111
|
+
|
|
112
|
+
* update snapshots ([9781596](https://github.com/pie-framework/pie-elements/commit/978159686bbbd6b727dff4b88ce4ab9606504586))
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
### Features
|
|
116
|
+
|
|
117
|
+
* set withRubric to false in item default configurations. Set rubricEnabled to true if it's enabled for drawing-response and extended-text-entry ([a209057](https://github.com/pie-framework/pie-elements/commit/a209057f5a3fa5438efc8595453c89c11959a8f5))
|
|
118
|
+
* update libs ([7e174fb](https://github.com/pie-framework/pie-elements/commit/7e174fba75e7ea668900ad5c103751cefe33e2af))
|
|
119
|
+
* **select-text:** add pie-api config PD-23 ([b044d07](https://github.com/pie-framework/pie-elements/commit/b044d0750f42652d4bd9dc3d2a1b0111a478687f))
|
|
120
|
+
* **select-text:** add settings to enable rubric. Add withRubric prop to configuration and rubricEnabled prop to model PD-2107 ([cb2eb3c](https://github.com/pie-framework/pie-elements/commit/cb2eb3ca4a67a74a0359c83c8022a0502ccb8cfa))
|
|
121
|
+
* **select-text:** updated snapshot PD-2107 ([c98af93](https://github.com/pie-framework/pie-elements/commit/c98af93ce3bc0b1720f2dc3266f849dd1a4b4c14))
|
|
122
|
+
* enable spanish and special characters in author PD-2120 ([85fd3dd](https://github.com/pie-framework/pie-elements/commit/85fd3dd0fc10da1a2dfd5a842809c625790f8ba9))
|
|
123
|
+
* **select-text:** add uploadSoundSupport property PD-23-updated ([a6c33f5](https://github.com/pie-framework/pie-elements/commit/a6c33f502926c369131a5653a5fc34e5666d6a25))
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
## [6.1.10](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.1.9...@pie-element/select-text-configure@6.1.10) (2022-09-29)
|
|
130
|
+
|
|
131
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
## [6.1.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.1.8...@pie-element/select-text-configure@6.1.9) (2022-09-14)
|
|
138
|
+
|
|
139
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
## [6.1.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.1.7...@pie-element/select-text-configure@6.1.8) (2022-09-13)
|
|
146
|
+
|
|
147
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
## [6.1.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.1.6...@pie-element/select-text-configure@6.1.7) (2022-08-31)
|
|
154
|
+
|
|
155
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
## [6.1.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.1.5...@pie-element/select-text-configure@6.1.6) (2022-08-16)
|
|
162
|
+
|
|
163
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
## [6.1.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.1.4...@pie-element/select-text-configure@6.1.5) (2022-08-08)
|
|
170
|
+
|
|
171
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
## [6.1.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.1.3...@pie-element/select-text-configure@6.1.4) (2022-08-02)
|
|
178
|
+
|
|
179
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
## [6.1.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.1.2...@pie-element/select-text-configure@6.1.3) (2022-07-22)
|
|
186
|
+
|
|
187
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
## [6.1.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.1.1...@pie-element/select-text-configure@6.1.2) (2022-07-20)
|
|
194
|
+
|
|
195
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
## [6.1.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.1.0...@pie-element/select-text-configure@6.1.1) (2022-07-19)
|
|
202
|
+
|
|
203
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
# [6.1.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@6.0.0...@pie-element/select-text-configure@6.1.0) (2022-06-28)
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
### Features
|
|
213
|
+
|
|
214
|
+
* **select-text:** add maxImageWidth and maxImageHeight props PD-1801 ([9e8b343](https://github.com/pie-framework/pie-elements/commit/9e8b343703de33597461b18611dbc34f8ef2b92c))
|
|
215
|
+
* **select-text:** ui/ux for item validation - fix info tooltip ([3a7e153](https://github.com/pie-framework/pie-elements/commit/3a7e15302750ed1931fc6cfab47f49d09fffcfad))
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
# [6.0.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@5.3.4...@pie-element/select-text-configure@6.0.0) (2022-06-28)
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
### chore
|
|
225
|
+
|
|
226
|
+
* Merge master with develop. ([cdca48a](https://github.com/pie-framework/pie-elements/commit/cdca48abaa1d4179e4a961e13d171e14b7ed2444))
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
### BREAKING CHANGES
|
|
230
|
+
|
|
231
|
+
* Image percent buttons were removed from toolbar.
|
|
232
|
+
New properties maxImageWidth and maxImageHeight were added.
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
## [5.3.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@5.3.3...@pie-element/select-text-configure@5.3.4) (2022-06-13)
|
|
239
|
+
|
|
240
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
## [5.3.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@5.3.2...@pie-element/select-text-configure@5.3.3) (2022-05-30)
|
|
247
|
+
|
|
248
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
## [5.3.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@5.3.1...@pie-element/select-text-configure@5.3.2) (2022-05-16)
|
|
255
|
+
|
|
256
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
## [5.3.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@5.3.0...@pie-element/select-text-configure@5.3.1) (2022-05-09)
|
|
263
|
+
|
|
264
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
# [5.3.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@5.2.23...@pie-element/select-text-configure@5.3.0) (2022-05-03)
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
### Bug Fixes
|
|
274
|
+
|
|
275
|
+
* Fix select-text tokens. ([9da07f5](https://github.com/pie-framework/pie-elements/commit/9da07f51821dfcfe3a029de3cf018bcd5d4ebfd2))
|
|
276
|
+
* in controller we don't have access to the model (text & tokens) parser functions, so I have added 2 props (oldStart and oldEnd) to compare the start & and of the selected tokens (which are parsed) with the correct tokens (which are not parsed). Also, for the createCorrectSession to work, we need to make sure that when session is set, we have the correct start & end for the tokens (that come unparsed from controller). ([d6670b5](https://github.com/pie-framework/pie-elements/commit/d6670b53185acedd3be2dfc37b8f3616c9ce27f3))
|
|
277
|
+
* multiple tokens containing the same text (wrong token index) ([ac9d3a7](https://github.com/pie-framework/pie-elements/commit/ac9d3a71d35074d74ad7f2ec8c433555f8e8c186))
|
|
278
|
+
* multiple tokens containing the same text + html ascii codes ([bb73710](https://github.com/pie-framework/pie-elements/commit/bb73710d68394a33447191e5d56dc1b7797bb0ed))
|
|
279
|
+
* remove br parser and allowed div elements inside text ([2dfca2f](https://github.com/pie-framework/pie-elements/commit/2dfca2fb17841e8f25e0f0cb1c02a8d9fa4a9bb8))
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
### Features
|
|
283
|
+
|
|
284
|
+
* **select-text:** ui/ux validation PD-1701 ([3ae2723](https://github.com/pie-framework/pie-elements/commit/3ae27238a70124dcf2b544f0f1c8ae93ddeb0f6e))
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
## [5.2.23](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@5.2.22...@pie-element/select-text-configure@5.2.23) (2022-04-12)
|
|
291
|
+
|
|
292
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
## [5.2.22](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@5.2.21...@pie-element/select-text-configure@5.2.22) (2022-03-28)
|
|
299
|
+
|
|
300
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
## [5.2.21](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@5.2.20...@pie-element/select-text-configure@5.2.21) (2022-03-22)
|
|
307
|
+
|
|
308
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
## [5.2.20](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@5.2.19...@pie-element/select-text-configure@5.2.20) (2022-03-08)
|
|
315
|
+
|
|
316
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
## [5.2.19](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@5.2.18...@pie-element/select-text-configure@5.2.19) (2022-03-08)
|
|
323
|
+
|
|
324
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
## [5.2.18](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@5.2.17...@pie-element/select-text-configure@5.2.18) (2022-02-21)
|
|
331
|
+
|
|
332
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
## [5.2.17](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@5.2.16...@pie-element/select-text-configure@5.2.17) (2022-02-17)
|
|
339
|
+
|
|
340
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
## [5.2.16](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@5.2.15...@pie-element/select-text-configure@5.2.16) (2022-02-04)
|
|
347
|
+
|
|
348
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
## [5.2.15](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@5.2.14...@pie-element/select-text-configure@5.2.15) (2022-01-24)
|
|
355
|
+
|
|
356
|
+
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
|
|
6
362
|
## [5.2.14](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@5.2.13...@pie-element/select-text-configure@5.2.14) (2022-01-10)
|
|
7
363
|
|
|
8
364
|
**Note:** Version bump only for package @pie-element/select-text-configure
|
|
@@ -79,6 +79,11 @@ var _default = {
|
|
|
79
79
|
settings: true,
|
|
80
80
|
label: 'Feedback'
|
|
81
81
|
},
|
|
82
|
+
spellCheck: {
|
|
83
|
+
label: 'Spellcheck',
|
|
84
|
+
settings: false,
|
|
85
|
+
enabled: true
|
|
86
|
+
},
|
|
82
87
|
partialScoring: {
|
|
83
88
|
settings: false,
|
|
84
89
|
label: 'Allow Partial Scoring'
|
|
@@ -86,6 +91,21 @@ var _default = {
|
|
|
86
91
|
mode: {
|
|
87
92
|
settings: true,
|
|
88
93
|
label: 'Mode'
|
|
94
|
+
},
|
|
95
|
+
minTokens: 2,
|
|
96
|
+
maxImageWidth: {
|
|
97
|
+
teacherInstructions: 300,
|
|
98
|
+
prompt: 300,
|
|
99
|
+
rationale: 300
|
|
100
|
+
},
|
|
101
|
+
maxImageHeight: {
|
|
102
|
+
teacherInstructions: 300,
|
|
103
|
+
prompt: 300,
|
|
104
|
+
rationale: 300
|
|
105
|
+
},
|
|
106
|
+
withRubric: {
|
|
107
|
+
settings: false,
|
|
108
|
+
label: 'Add Rubric'
|
|
89
109
|
}
|
|
90
110
|
}
|
|
91
111
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/defaultConfiguration.js"],"names":["tokens","text","start","end","model","highlightChoices","partialScoring","maxSelections","mode","prompt","scoringType","feedbackEnabled","rationaleEnabled","promptEnabled","teacherInstructionsEnabled","studentInstructionsEnabled","toolbarEditorPosition","configuration","selectionCount","settings","label","correctAnswer","selections","rationale","studentInstructions","teacherInstructions","feedback"],"mapp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,MAAAA,QAAQ,EAAE,KADC;AAEXC,MAAAA,KAAK,EAAE;AAFI,KArBA;AAyBbI,IAAAA,mBAAmB,EAAE;AACnBL,MAAAA,QAAQ,EAAE,KADS;AAEnBC,MAAAA,KAAK,EAAE;AAFY,KAzBR;AA6BbK,IAAAA,mBAAmB,EAAE;AACnBN,MAAAA,QAAQ,EAAE,IADS;AAEnBC,MAAAA,KAAK,EAAE;AAFY,KA7BR;AAiCbX,IAAAA,MAAM,EAAE;AACNW,MAAAA,KAAK,EAAE,QADD;AAEND,MAAAA,QAAQ,EAAE;AAFJ,KAjCK;AAqCblB,IAAAA,IAAI,EAAE;AACJkB,MAAAA,QAAQ,EAAE,IADN;AAEJC,MAAAA,KAAK,EAAE;AAFH,KArCO;AAyCbpB,IAAAA,MAAM,EAAE;AACNmB,MAAAA,QAAQ,EAAE,IADJ;AAENC,MAAAA,KAAK,EAAE;AAFD,KAzCK;AA6CbM,IAAAA,QAAQ,EAAE;AACRP,MAAAA,QAAQ,EAAE,IADF;AAERC,MAAAA,KAAK,EAAE;AAFC,KA7CG;
|
|
1
|
+
{"version":3,"sources":["../src/defaultConfiguration.js"],"names":["tokens","text","start","end","model","highlightChoices","partialScoring","maxSelections","mode","prompt","scoringType","feedbackEnabled","rationaleEnabled","promptEnabled","teacherInstructionsEnabled","studentInstructionsEnabled","toolbarEditorPosition","configuration","selectionCount","settings","label","correctAnswer","selections","rationale","studentInstructions","teacherInstructions","feedback","spellCheck","enabled","minTokens","maxImageWidth","maxImageHeight","withRubric"],"mappings":";;;;;;;AAAA,IAAMA,MAAM,GAAG,SAATA,MAAS;AAAA,SAAM,CACnB;AACEC,IAAAA,IAAI,EAAE,EADR;AAEEC,IAAAA,KAAK,EAAE,CAFT;AAGEC,IAAAA,GAAG,EAAE;AAHP,GADmB,CAAN;AAAA,CAAf;;eAQe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,gBAAgB,EAAE,KADb;AAELC,IAAAA,cAAc,EAAE,KAFX;A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AAA,MAAM,EAAE;AACNW,MAAAA,KAAK,EAAE,QADD;AAEND,MAAAA,QAAQ,EAAE;AAFJ,KAjCK;AAqCblB,IAAAA,IAAI,EAAE;AACJkB,MAAAA,QAAQ,EAAE,IADN;AAEJC,MAAAA,KAAK,EAAE;AAFH,KArCO;AAyCbpB,IAAAA,MAAM,EAAE;AACNmB,MAAAA,QAAQ,EAAE,IADJ;AAENC,MAAAA,KAAK,EAAE;AAFD,KAzCK;AA6CbM,IAAAA,QAAQ,EAAE;AACRP,MAAAA,QAAQ,EAAE,IADF;AAERC,MAAAA,KAAK,EAAE;AAFC,KA7CG;AAiDbO,IAAAA,UAAU,EAAE;AACVP,MAAAA,KAAK,EAAE,YADG;AAEVD,MAAAA,QAAQ,EAAE,KAFA;AAGVS,MAAAA,OAAO,EAAE;AAHC,KAjDC;AAsDbtB,IAAAA,cAAc,EAAE;AACda,MAAAA,QAAQ,EAAE,KADI;AAEdC,MAAAA,KAAK,EAAE;AAFO,KAtDH;AA0DbZ,IAAAA,IAAI,EAAE;AACJW,MAAAA,QAAQ,EAAE,IADN;AAEJC,MAAAA,KAAK,EAAE;AAFH,KA1DO;AA8DbS,IAAAA,SAAS,EAAE,CA9DE;AA+DbC,IAAAA,aAAa,EAAE;AACbL,MAAAA,mBAAmB,EAAE,GADR;AAEbhB,MAAAA,MAAM,EAAE,GAFK;AAGbc,MAAAA,SAAS,EAAE;AAHE,KA/DF;AAoEbQ,IAAAA,cAAc,EAAE;AACdN,MAAAA,mBAAmB,EAAE,GADP;AAEdhB,MAAAA,MAAM,EAAE,GAFM;AAGdc,MAAAA,SAAS,EAAE;AAHG,KApEH;AAyEbS,IAAAA,UAAU,EAAE;AACVb,MAAAA,QAAQ,EAAE,KADA;AAEVC,MAAAA,KAAK,EAAE;AAFG;AAzEC;AAjBF,C","sourcesContent":["const tokens = () => [\n {\n text: '',\n start: 0,\n end: 0,\n },\n];\n\nexport default {\n model: {\n highlightChoices: false,\n partialScoring: false,\n maxSelections: 2,\n mode: 'sentence',\n prompt: 'Question Prompt goes here',\n text: '',\n tokens: tokens(),\n scoringType: 'auto',\n feedbackEnabled: true,\n rationaleEnabled: true,\n promptEnabled: true,\n teacherInstructionsEnabled: true,\n studentInstructionsEnabled: true,\n toolbarEditorPosition: 'bottom',\n },\n configuration: {\n selectionCount: {\n settings: true,\n label: 'Selection count',\n },\n correctAnswer: {\n settings: true,\n label: 'Correct Answers',\n },\n selections: {\n settings: true,\n label: 'Selections Available',\n },\n highlightChoices: {\n settings: true,\n label: 'Highlight choices',\n },\n rationale: {\n settings: true,\n label: 'Rationale',\n },\n scoringType: {\n settings: false,\n label: 'Scoring Type',\n },\n studentInstructions: {\n settings: false,\n label: 'Student Instructions',\n },\n teacherInstructions: {\n settings: true,\n label: 'Teacher Instructions',\n },\n prompt: {\n label: 'Prompt',\n settings: true,\n },\n text: {\n settings: true,\n label: 'Content',\n },\n tokens: {\n settings: true,\n label: 'Tokens',\n },\n feedback: {\n settings: true,\n label: 'Feedback',\n },\n spellCheck: {\n label: 'Spellcheck',\n settings: false,\n enabled: true,\n },\n partialScoring: {\n settings: false,\n label: 'Allow Partial Scoring',\n },\n mode: {\n settings: true,\n label: 'Mode',\n },\n minTokens: 2,\n maxImageWidth: {\n teacherInstructions: 300,\n prompt: 300,\n rationale: 300,\n },\n maxImageHeight: {\n teacherInstructions: 300,\n prompt: 300,\n rationale: 300,\n },\n withRubric: {\n settings: false,\n label: 'Add Rubric',\n },\n },\n};\n"],"file":"defaultConfiguration.js"}
|