@pie-element/ebsr 6.5.0 → 6.5.1-beta.587
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 +463 -0
- package/configure/CHANGELOG.md +447 -0
- package/configure/lib/defaults.js +34 -11
- package/configure/lib/defaults.js.map +1 -1
- package/configure/lib/index.js +30 -23
- package/configure/lib/index.js.map +1 -1
- package/configure/lib/main.js +109 -72
- package/configure/lib/main.js.map +1 -1
- package/configure/package.json +3 -3
- package/configure/src/__tests__/__snapshots__/index.test.js.snap +12 -2
- package/configure/src/__tests__/index.test.js +164 -211
- package/configure/src/defaults.js +49 -27
- package/configure/src/index.js +19 -39
- package/configure/src/main.jsx +165 -149
- package/controller/CHANGELOG.md +67 -0
- package/controller/lib/defaults.js.map +1 -1
- package/controller/lib/index.js +123 -29
- package/controller/lib/index.js.map +1 -1
- package/controller/lib/utils.js.map +1 -1
- package/controller/package.json +2 -2
- package/controller/src/__tests__/index.test.js +113 -141
- package/controller/src/__tests__/utils.test.js +6 -9
- package/controller/src/defaults.js +1 -1
- package/controller/src/index.js +109 -70
- package/controller/src/utils.js +6 -4
- package/docs/config-schema.json +376 -0
- package/docs/config-schema.json.md +289 -1
- package/docs/demo/config.js +2 -2
- package/docs/demo/generate.js +3 -3
- package/docs/pie-schema.json +177 -0
- package/docs/pie-schema.json.md +138 -0
- package/lib/index.js +12 -9
- package/lib/index.js.map +1 -1
- package/lib/print.js +243 -0
- package/lib/print.js.map +1 -0
- package/package.json +8 -4
- package/src/__tests__/index.test.js +2 -7
- package/src/index.js +7 -5
- package/src/print.js +179 -0
package/configure/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,453 @@
|
|
|
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.4.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.3.0...@pie-element/ebsr-configure@8.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
|
+
# [8.3.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.2.8...@pie-element/ebsr-configure@8.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
|
+
* **ebsr:** added configuration prop to hide the settings panel PD-1999 ([30fd6c7](https://github.com/pie-framework/pie-elements/commit/30fd6c7bd6bbca6badd2d0ddc99b78a10fab7155))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## [8.2.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.2.7...@pie-element/ebsr-configure@8.2.8) (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
|
+
## [8.2.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.2.6...@pie-element/ebsr-configure@8.2.7) (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
|
+
## [8.2.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.2.5...@pie-element/ebsr-configure@8.2.6) (2022-12-07)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### Bug Fixes
|
|
57
|
+
|
|
58
|
+
* trigger build (these versions were released in Nov 15 but code was not updated for some reason) ([3ddbbbd](https://github.com/pie-framework/pie-elements/commit/3ddbbbdb08f41642bb734af9559dcd9f1536439b))
|
|
59
|
+
* update libs ([441f403](https://github.com/pie-framework/pie-elements/commit/441f403870b7bec0d61fab58b8d93dbe0ead4c32))
|
|
60
|
+
* update libs for PD-2030 PD-2031 ([3174022](https://github.com/pie-framework/pie-elements/commit/3174022d45603ed217bbe8804a142b07084636a5))
|
|
61
|
+
* updated lib PD-1715 ([42e788d](https://github.com/pie-framework/pie-elements/commit/42e788db0c792838994e55001952da7701251a8e))
|
|
62
|
+
* updated libs ([c20de3a](https://github.com/pie-framework/pie-elements/commit/c20de3a6ba4499a090c809e18e52588d2a585fa0))
|
|
63
|
+
* updated libs ([0eed79a](https://github.com/pie-framework/pie-elements/commit/0eed79a32c3b777c16c8cabf201513fc1d2726a0))
|
|
64
|
+
* updated libs ([343c9ec](https://github.com/pie-framework/pie-elements/commit/343c9ec3dccba7f781e90ae2bd195cac6f78f467))
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
## [8.2.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.2.3...@pie-element/ebsr-configure@8.2.4) (2022-11-15)
|
|
71
|
+
|
|
72
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
## [8.2.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.2.2...@pie-element/ebsr-configure@8.2.3) (2022-11-11)
|
|
79
|
+
|
|
80
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
## [8.2.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.2.1...@pie-element/ebsr-configure@8.2.2) (2022-11-01)
|
|
87
|
+
|
|
88
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
## [8.2.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.2.0...@pie-element/ebsr-configure@8.2.1) (2022-10-31)
|
|
95
|
+
|
|
96
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
# [8.2.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.1.9...@pie-element/ebsr-configure@8.2.0) (2022-10-17)
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
### Features
|
|
106
|
+
|
|
107
|
+
* update libs ([7e174fb](https://github.com/pie-framework/pie-elements/commit/7e174fba75e7ea668900ad5c103751cefe33e2af))
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
## [8.1.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.1.8...@pie-element/ebsr-configure@8.1.9) (2022-09-29)
|
|
114
|
+
|
|
115
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
## [8.1.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.1.7...@pie-element/ebsr-configure@8.1.8) (2022-09-14)
|
|
122
|
+
|
|
123
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
## [8.1.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.1.6...@pie-element/ebsr-configure@8.1.7) (2022-08-31)
|
|
130
|
+
|
|
131
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
## [8.1.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.1.5...@pie-element/ebsr-configure@8.1.6) (2022-08-16)
|
|
138
|
+
|
|
139
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
## [8.1.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.1.4...@pie-element/ebsr-configure@8.1.5) (2022-08-08)
|
|
146
|
+
|
|
147
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
## [8.1.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.1.3...@pie-element/ebsr-configure@8.1.4) (2022-08-02)
|
|
154
|
+
|
|
155
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
## [8.1.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.1.2...@pie-element/ebsr-configure@8.1.3) (2022-07-22)
|
|
162
|
+
|
|
163
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
## [8.1.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.1.1...@pie-element/ebsr-configure@8.1.2) (2022-07-20)
|
|
170
|
+
|
|
171
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
## [8.1.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@8.1.0...@pie-element/ebsr-configure@8.1.1) (2022-07-19)
|
|
178
|
+
|
|
179
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
# [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)
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
### Features
|
|
189
|
+
|
|
190
|
+
* **ebsr:** add maxImageWidth and maxImageHeight props PD-1801 ([61c9b25](https://github.com/pie-framework/pie-elements/commit/61c9b2511ab8ef1a146d86def588bf8517e23e96))
|
|
191
|
+
* **ebsr:** implement item validation PD-1799 ([66e9ff1](https://github.com/pie-framework/pie-elements/commit/66e9ff1d0178e5ba6f4b07115f1efbf0c752e05f))
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
# [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)
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
### chore
|
|
201
|
+
|
|
202
|
+
* Merge master with develop. ([cdca48a](https://github.com/pie-framework/pie-elements/commit/cdca48abaa1d4179e4a961e13d171e14b7ed2444))
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
### BREAKING CHANGES
|
|
206
|
+
|
|
207
|
+
* Image percent buttons were removed from toolbar.
|
|
208
|
+
New properties maxImageWidth and maxImageHeight were added.
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
## [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)
|
|
215
|
+
|
|
216
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
## [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)
|
|
223
|
+
|
|
224
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
## [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)
|
|
231
|
+
|
|
232
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
## [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)
|
|
239
|
+
|
|
240
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
## [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)
|
|
247
|
+
|
|
248
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
## [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)
|
|
255
|
+
|
|
256
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
## [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)
|
|
263
|
+
|
|
264
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
## [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)
|
|
271
|
+
|
|
272
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
## [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)
|
|
279
|
+
|
|
280
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
## [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)
|
|
287
|
+
|
|
288
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
## [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)
|
|
295
|
+
|
|
296
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
## [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)
|
|
303
|
+
|
|
304
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
## [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)
|
|
311
|
+
|
|
312
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
## [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)
|
|
319
|
+
|
|
320
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
## [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)
|
|
327
|
+
|
|
328
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
## [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)
|
|
335
|
+
|
|
336
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
## [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)
|
|
343
|
+
|
|
344
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
## [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)
|
|
351
|
+
|
|
352
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
## [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)
|
|
359
|
+
|
|
360
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
## [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)
|
|
367
|
+
|
|
368
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
## [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)
|
|
375
|
+
|
|
376
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
## [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)
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
### Bug Fixes
|
|
386
|
+
|
|
387
|
+
* pie-lib updates ([e521c2f](https://github.com/pie-framework/pie-elements/commit/e521c2f1a44aa7f3e14f82a1cee05ceb484ed0a6))
|
|
388
|
+
* Updated pie-lib versions ([2fe4c5d](https://github.com/pie-framework/pie-elements/commit/2fe4c5d0be2d40f5fdb34815855695a7f1087f56))
|
|
389
|
+
* Updated pie-lib versions ([1c23830](https://github.com/pie-framework/pie-elements/commit/1c23830fc75d1de5f7bb3bb16de3c665ae5fa350))
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
## [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)
|
|
396
|
+
|
|
397
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
# [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)
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
### Features
|
|
407
|
+
|
|
408
|
+
* **ebsr:** Added choicesLayout support ([33fb7e7](https://github.com/pie-framework/pie-elements/commit/33fb7e765146a7343a58663f3667f4a5de472960))
|
|
409
|
+
* **ebsr:** Added choicesLayout support \n BREAKING CHANGE: removed vertical mode ([348fc00](https://github.com/pie-framework/pie-elements/commit/348fc0031536d458071a1105e742c3d19399a15e))
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
### BREAKING CHANGES
|
|
413
|
+
|
|
414
|
+
* **ebsr:** removed vertical mode.
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
# [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)
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
### Features
|
|
424
|
+
|
|
425
|
+
* **ebsr:** Allowed Part A to be multiple select PD-259 ([85530fc](https://github.com/pie-framework/pie-elements/commit/85530fce124ca5b09c024959c0147ac56b027a15))
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
## [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)
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
### Bug Fixes
|
|
435
|
+
|
|
436
|
+
* force bump ([5ea7295](https://github.com/pie-framework/pie-elements/commit/5ea7295e4755fbc492a76e7ec69e5fc35b196919))
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
# [6.3.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@6.2.6...@pie-element/ebsr-configure@6.3.0) (2021-06-29)
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
### Features
|
|
446
|
+
|
|
447
|
+
* **ebsr:** Added vertical/horizontal layout setting - PD-1144 ([#579](https://github.com/pie-framework/pie-elements/issues/579)) ([51c4093](https://github.com/pie-framework/pie-elements/commit/51c4093b4ade86a9c1118066b9dee36bc0582f3a))
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
|
|
6
453
|
## [6.2.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@6.2.5...@pie-element/ebsr-configure@6.2.6) (2021-04-07)
|
|
7
454
|
|
|
8
455
|
|
|
@@ -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);
|
|
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]
|
|
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: {
|
|
@@ -47,6 +47,7 @@ var defaultConfig = {
|
|
|
47
47
|
settings: true,
|
|
48
48
|
label: 'Rationale'
|
|
49
49
|
},
|
|
50
|
+
settingsPanelDisabled: true,
|
|
50
51
|
studentInstructions: {
|
|
51
52
|
settings: false,
|
|
52
53
|
label: 'Student Instructions'
|
|
@@ -54,6 +55,30 @@ var defaultConfig = {
|
|
|
54
55
|
teacherInstructions: {
|
|
55
56
|
settings: true,
|
|
56
57
|
label: 'Teacher Instructions'
|
|
58
|
+
},
|
|
59
|
+
choicesLayout: {
|
|
60
|
+
settings: false,
|
|
61
|
+
label: 'Choices Layout'
|
|
62
|
+
},
|
|
63
|
+
gridColumns: {
|
|
64
|
+
label: 'Grid columns'
|
|
65
|
+
},
|
|
66
|
+
spellCheck: {
|
|
67
|
+
label: 'Spellcheck',
|
|
68
|
+
settings: false,
|
|
69
|
+
enabled: true
|
|
70
|
+
},
|
|
71
|
+
maxImageWidth: {
|
|
72
|
+
teacherInstructions: 300,
|
|
73
|
+
prompt: 300,
|
|
74
|
+
rationale: 636,
|
|
75
|
+
choices: 636
|
|
76
|
+
},
|
|
77
|
+
maxImageHeight: {
|
|
78
|
+
teacherInstructions: 300,
|
|
79
|
+
prompt: 300,
|
|
80
|
+
rationale: 300,
|
|
81
|
+
choices: 300
|
|
57
82
|
}
|
|
58
83
|
};
|
|
59
84
|
|
|
@@ -69,7 +94,10 @@ var partModel = function partModel(base) {
|
|
|
69
94
|
teacherInstructions: '',
|
|
70
95
|
rationale: '',
|
|
71
96
|
teacherInstructionsEnabled: true,
|
|
72
|
-
studentInstructionsEnabled: true
|
|
97
|
+
studentInstructionsEnabled: true,
|
|
98
|
+
spellCheckEnabled: true,
|
|
99
|
+
choicesLayout: 'vertical',
|
|
100
|
+
gridColumns: '2'
|
|
73
101
|
}, base);
|
|
74
102
|
};
|
|
75
103
|
|
|
@@ -77,7 +105,7 @@ var _default = {
|
|
|
77
105
|
model: {
|
|
78
106
|
partLabels: true,
|
|
79
107
|
partLabelType: 'Letters',
|
|
80
|
-
partialScoring: false,
|
|
108
|
+
// partialScoring: false,
|
|
81
109
|
partA: partModel({
|
|
82
110
|
prompt: 'Prompt A'
|
|
83
111
|
}),
|
|
@@ -97,18 +125,13 @@ var _default = {
|
|
|
97
125
|
settings: false,
|
|
98
126
|
label: 'Scoring Type'
|
|
99
127
|
},
|
|
100
|
-
partA:
|
|
101
|
-
choiceMode: {
|
|
102
|
-
settings: false,
|
|
103
|
-
label: 'Response Type'
|
|
104
|
-
}
|
|
105
|
-
}),
|
|
128
|
+
partA: (0, _cloneDeep["default"])(defaultConfig),
|
|
106
129
|
partB: (0, _cloneDeep["default"])(defaultConfig),
|
|
107
130
|
partLabels: {
|
|
108
131
|
settings: true,
|
|
109
132
|
label: 'Part Labels'
|
|
110
133
|
},
|
|
111
|
-
settingsPanelDisabled:
|
|
134
|
+
settingsPanelDisabled: false
|
|
112
135
|
}
|
|
113
136
|
};
|
|
114
137
|
exports["default"] = _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/defaults.js"],"names":["defaultConfig","addChoiceButton","settings","label","choiceMode","choicePrefix","deleteChoice","feedback","lockChoiceOrder","prompt","rationale","studentInstructions","teacherInstructions","
|
|
1
|
+
{"version":3,"sources":["../src/defaults.js"],"names":["defaultConfig","addChoiceButton","settings","label","choiceMode","choicePrefix","deleteChoice","feedback","lockChoiceOrder","prompt","rationale","settingsPanelDisabled","studentInstructions","teacherInstructions","choicesLayout","gridColumns","spellCheck","enabled","maxImageWidth","choices","maxImageHeight","partModel","base","rationaleEnabled","feedbackEnabled","promptEnabled","teacherInstructionsEnabled","studentInstructionsEnabled","spellCheckEnabled","model","partLabels","partLabelType","partA","partB","configuration","partialScoring","scoringType"],"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,EAAE;AACRL,IAAAA,QAAQ,EAAE,IADF;AAERC,IAAAA,KAAK,EAAE;AAFC,GAhBU;AAoBpBK,EAAAA,eAAe,EAAE;AACfN,IAAAA,QAAQ,EAAE,IADK;AAEfC,IAAAA,KAAK,EAAE;AAFQ,GApBG;AAwBpBM,EAA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,\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 settingsPanelDisabled: true,\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: false,\n },\n};\n"],"file":"defaults.js"}
|