@pie-element/multi-trait-rubric 1.3.0 → 1.3.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 +466 -0
- package/configure/CHANGELOG.md +415 -0
- package/configure/lib/common.js +81 -16
- package/configure/lib/common.js.map +1 -1
- package/configure/lib/defaults.js +40 -4
- package/configure/lib/defaults.js.map +1 -1
- package/configure/lib/index.js +18 -4
- package/configure/lib/index.js.map +1 -1
- package/configure/lib/main.js +166 -97
- package/configure/lib/main.js.map +1 -1
- package/configure/lib/modals.js +71 -12
- package/configure/lib/modals.js.map +1 -1
- package/configure/lib/scale.js +69 -15
- package/configure/lib/scale.js.map +1 -1
- package/configure/lib/trait.js +50 -21
- package/configure/lib/trait.js.map +1 -1
- package/configure/lib/traitsHeader.js +28 -17
- package/configure/lib/traitsHeader.js.map +1 -1
- package/configure/lib/utils.js +29 -0
- package/configure/lib/utils.js.map +1 -0
- package/configure/package.json +7 -7
- package/controller/CHANGELOG.md +57 -0
- package/controller/lib/defaults.js +85 -1
- package/controller/lib/defaults.js.map +1 -1
- package/controller/lib/index.js +5 -3
- package/controller/lib/index.js.map +1 -1
- package/controller/package.json +2 -2
- package/docs/config-schema.json +129 -0
- package/docs/config-schema.json.md +96 -0
- package/docs/demo/config.js +2 -2
- package/docs/demo/generate.js +92 -20
- package/docs/demo/session.js +1 -1
- package/docs/pie-schema.json +23 -1
- package/docs/pie-schema.json.md +16 -0
- package/lib/index.js +4 -1
- package/lib/index.js.map +1 -1
- package/lib/main.js +42 -7
- package/lib/main.js.map +1 -1
- package/lib/scale.js +5 -1
- package/lib/scale.js.map +1 -1
- package/lib/trait.js.map +1 -1
- package/package.json +4 -3
package/configure/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,421 @@
|
|
|
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
|
+
# [2.3.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@2.2.0...@pie-element/multi-trait-rubric-configure@2.3.0) (2023-01-17)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **multi-trait-rubric:** set max points dropdown to 1 PD-2487 ([5111342](https://github.com/pie-framework/pie-elements/commit/51113426bf7b0bcfe79baf833b5d37812418e8de))
|
|
12
|
+
* tests ([93540dc](https://github.com/pie-framework/pie-elements/commit/93540dc3d78398998037b66f02ec17184e29fca8))
|
|
13
|
+
* **multi-trait-rubric:** fix validation bugs, update documentation. Fixed match docs typo PD-2427 ([26d598e](https://github.com/pie-framework/pie-elements/commit/26d598e7a32d50ed176d566605bb6b4ebdc07a2c))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* update pie-libs ([6423903](https://github.com/pie-framework/pie-elements/commit/6423903898b041f56db2111de2e4aac4ee9f1fd3))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
# [2.2.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@2.1.5...@pie-element/multi-trait-rubric-configure@2.2.0) (2023-01-05)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Features
|
|
28
|
+
|
|
29
|
+
* update pie-libs ([b174476](https://github.com/pie-framework/pie-elements/commit/b174476729119a0689f1f8adfc8c235246676cab))
|
|
30
|
+
* update pie-libs ([f72c3c8](https://github.com/pie-framework/pie-elements/commit/f72c3c8d8bc9bbf061bb81502317157a63c22972))
|
|
31
|
+
* update pie-libs ([8490729](https://github.com/pie-framework/pie-elements/commit/8490729a2389d36fd3968f0806119fde96577842))
|
|
32
|
+
* **multi-trait-rubric:** added configuration prop to hide the settings panel PD-1999 ([88e2ad2](https://github.com/pie-framework/pie-elements/commit/88e2ad2bf73ae5f8a95c3ca2930f9d8642281c13))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## [2.1.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@2.1.4...@pie-element/multi-trait-rubric-configure@2.1.5) (2022-12-21)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Bug Fixes
|
|
42
|
+
|
|
43
|
+
* updated pie-libs ([8cb5b90](https://github.com/pie-framework/pie-elements/commit/8cb5b90d501ccbdf5ffd764e6555faa48b8f54d6))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
## [2.1.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@2.1.3...@pie-element/multi-trait-rubric-configure@2.1.4) (2022-12-20)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### Bug Fixes
|
|
53
|
+
|
|
54
|
+
* updated pie-libs ([6549302](https://github.com/pie-framework/pie-elements/commit/65493026fbf356c5ab752ae6a14d961d4b256368))
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
## [2.1.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@2.1.2...@pie-element/multi-trait-rubric-configure@2.1.3) (2022-12-07)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### Bug Fixes
|
|
64
|
+
|
|
65
|
+
* update libs ([441f403](https://github.com/pie-framework/pie-elements/commit/441f403870b7bec0d61fab58b8d93dbe0ead4c32))
|
|
66
|
+
* update libs for PD-2030 PD-2031 ([3174022](https://github.com/pie-framework/pie-elements/commit/3174022d45603ed217bbe8804a142b07084636a5))
|
|
67
|
+
* updated lib PD-1715 ([42e788d](https://github.com/pie-framework/pie-elements/commit/42e788db0c792838994e55001952da7701251a8e))
|
|
68
|
+
* updated libs ([c20de3a](https://github.com/pie-framework/pie-elements/commit/c20de3a6ba4499a090c809e18e52588d2a585fa0))
|
|
69
|
+
* updated libs ([0eed79a](https://github.com/pie-framework/pie-elements/commit/0eed79a32c3b777c16c8cabf201513fc1d2726a0))
|
|
70
|
+
* updated libs ([343c9ec](https://github.com/pie-framework/pie-elements/commit/343c9ec3dccba7f781e90ae2bd195cac6f78f467))
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
## [2.1.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@2.1.1...@pie-element/multi-trait-rubric-configure@2.1.2) (2022-11-15)
|
|
77
|
+
|
|
78
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
## [2.1.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@2.1.0...@pie-element/multi-trait-rubric-configure@2.1.1) (2022-10-31)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
### Bug Fixes
|
|
88
|
+
|
|
89
|
+
* **multi-trait-rubric:** add autoWidthToolbar property to editable html inside expanded input component PD-2129 ([043c298](https://github.com/pie-framework/pie-elements/commit/043c298b94facf8f4d2b9fb66170051e9fa0e91a))
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
# [2.1.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@2.0.11...@pie-element/multi-trait-rubric-configure@2.1.0) (2022-10-17)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### Bug Fixes
|
|
99
|
+
|
|
100
|
+
* tests ([d165efc](https://github.com/pie-framework/pie-elements/commit/d165efcc2684e2452d1d20e5c10cc1a72b99afc0))
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
### Features
|
|
104
|
+
|
|
105
|
+
* update libs ([7e174fb](https://github.com/pie-framework/pie-elements/commit/7e174fba75e7ea668900ad5c103751cefe33e2af))
|
|
106
|
+
* update pie-lib/rubric dependecies version ([5546015](https://github.com/pie-framework/pie-elements/commit/5546015c3923ce2e34ab810ccd698424c1009c03))
|
|
107
|
+
* **complex-rubric:** PD-2013 implement new item type for rubrics ([33c08ff](https://github.com/pie-framework/pie-elements/commit/33c08ff8068255595e5bed7ac2d8675e57e2f925))
|
|
108
|
+
* **complex-rubric, multi-trait-rubric:** add new settings panel properties ([58d55e8](https://github.com/pie-framework/pie-elements/commit/58d55e877602d2655c7767433bdb404e4693074b))
|
|
109
|
+
* **multi-trait-rubric:** add min and max values in configuration for scales and traits PD-2040 ([e56041c](https://github.com/pie-framework/pie-elements/commit/e56041c6a150b701dcf878c7d20263d935e2bae2))
|
|
110
|
+
* **multi-trait-rubric:** enable/disable max points and add scale PD-2040 ([e0c0a72](https://github.com/pie-framework/pie-elements/commit/e0c0a721ca0def0519987ab8cf09c36b058791dc))
|
|
111
|
+
* enable spanish and special characters in author PD-2120 ([85fd3dd](https://github.com/pie-framework/pie-elements/commit/85fd3dd0fc10da1a2dfd5a842809c625790f8ba9))
|
|
112
|
+
* **multi-trait-rubric:** add pie-api config PD-23 ([5cda6c3](https://github.com/pie-framework/pie-elements/commit/5cda6c3536e2b710f2b3577ecbb2aaca683a6b88))
|
|
113
|
+
* **multi-trait-rubric:** add uploadSoundSupport property PD-23-updated ([25fdba3](https://github.com/pie-framework/pie-elements/commit/25fdba377ad13fc1cc56fd54200b87d08571e7b9))
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
## [2.0.11](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@2.0.10...@pie-element/multi-trait-rubric-configure@2.0.11) (2022-09-29)
|
|
120
|
+
|
|
121
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
## [2.0.10](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@2.0.9...@pie-element/multi-trait-rubric-configure@2.0.10) (2022-09-14)
|
|
128
|
+
|
|
129
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
## [2.0.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@2.0.8...@pie-element/multi-trait-rubric-configure@2.0.9) (2022-09-13)
|
|
136
|
+
|
|
137
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
## [2.0.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@2.0.7...@pie-element/multi-trait-rubric-configure@2.0.8) (2022-08-31)
|
|
144
|
+
|
|
145
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
## [2.0.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@2.0.6...@pie-element/multi-trait-rubric-configure@2.0.7) (2022-08-16)
|
|
152
|
+
|
|
153
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
## [2.0.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@2.0.5...@pie-element/multi-trait-rubric-configure@2.0.6) (2022-08-08)
|
|
160
|
+
|
|
161
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
## [2.0.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@2.0.4...@pie-element/multi-trait-rubric-configure@2.0.5) (2022-08-02)
|
|
168
|
+
|
|
169
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
## [2.0.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@2.0.3...@pie-element/multi-trait-rubric-configure@2.0.4) (2022-07-22)
|
|
176
|
+
|
|
177
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
## [2.0.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@2.0.2...@pie-element/multi-trait-rubric-configure@2.0.3) (2022-07-20)
|
|
184
|
+
|
|
185
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
## [2.0.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@2.0.1...@pie-element/multi-trait-rubric-configure@2.0.2) (2022-07-19)
|
|
192
|
+
|
|
193
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
## [2.0.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@2.0.0...@pie-element/multi-trait-rubric-configure@2.0.1) (2022-06-28)
|
|
200
|
+
|
|
201
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
# [2.0.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.25...@pie-element/multi-trait-rubric-configure@2.0.0) (2022-06-28)
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
### chore
|
|
211
|
+
|
|
212
|
+
* Merge master with develop. ([cdca48a](https://github.com/pie-framework/pie-elements/commit/cdca48abaa1d4179e4a961e13d171e14b7ed2444))
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
### BREAKING CHANGES
|
|
216
|
+
|
|
217
|
+
* Image percent buttons were removed from toolbar.
|
|
218
|
+
New properties maxImageWidth and maxImageHeight were added.
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
## [1.4.25](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.24...@pie-element/multi-trait-rubric-configure@1.4.25) (2022-06-13)
|
|
225
|
+
|
|
226
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
## [1.4.24](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.23...@pie-element/multi-trait-rubric-configure@1.4.24) (2022-05-30)
|
|
233
|
+
|
|
234
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
## [1.4.23](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.22...@pie-element/multi-trait-rubric-configure@1.4.23) (2022-05-16)
|
|
241
|
+
|
|
242
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
## [1.4.22](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.21...@pie-element/multi-trait-rubric-configure@1.4.22) (2022-05-09)
|
|
249
|
+
|
|
250
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
## [1.4.21](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.20...@pie-element/multi-trait-rubric-configure@1.4.21) (2022-05-03)
|
|
257
|
+
|
|
258
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
## [1.4.20](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.19...@pie-element/multi-trait-rubric-configure@1.4.20) (2022-04-12)
|
|
265
|
+
|
|
266
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
## [1.4.19](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.18...@pie-element/multi-trait-rubric-configure@1.4.19) (2022-03-28)
|
|
273
|
+
|
|
274
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
## [1.4.18](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.17...@pie-element/multi-trait-rubric-configure@1.4.18) (2022-03-22)
|
|
281
|
+
|
|
282
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
## [1.4.17](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.16...@pie-element/multi-trait-rubric-configure@1.4.17) (2022-03-08)
|
|
289
|
+
|
|
290
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
## [1.4.16](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.15...@pie-element/multi-trait-rubric-configure@1.4.16) (2022-03-08)
|
|
297
|
+
|
|
298
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
## [1.4.15](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.14...@pie-element/multi-trait-rubric-configure@1.4.15) (2022-02-21)
|
|
305
|
+
|
|
306
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
## [1.4.14](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.13...@pie-element/multi-trait-rubric-configure@1.4.14) (2022-02-04)
|
|
313
|
+
|
|
314
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
## [1.4.13](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.12...@pie-element/multi-trait-rubric-configure@1.4.13) (2022-01-24)
|
|
321
|
+
|
|
322
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
## [1.4.12](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.11...@pie-element/multi-trait-rubric-configure@1.4.12) (2022-01-10)
|
|
329
|
+
|
|
330
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
## [1.4.11](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.10...@pie-element/multi-trait-rubric-configure@1.4.11) (2021-12-23)
|
|
337
|
+
|
|
338
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
## [1.4.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.8...@pie-element/multi-trait-rubric-configure@1.4.9) (2021-12-13)
|
|
345
|
+
|
|
346
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
## [1.4.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.5...@pie-element/multi-trait-rubric-configure@1.4.6) (2021-11-29)
|
|
353
|
+
|
|
354
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
## [1.4.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.4...@pie-element/multi-trait-rubric-configure@1.4.5) (2021-10-04)
|
|
361
|
+
|
|
362
|
+
**Note:** Version bump only for package @pie-element/multi-trait-rubric-configure
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
## [1.4.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.3...@pie-element/multi-trait-rubric-configure@1.4.4) (2021-09-20)
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
### Bug Fixes
|
|
372
|
+
|
|
373
|
+
* pie-lib updates ([e521c2f](https://github.com/pie-framework/pie-elements/commit/e521c2f1a44aa7f3e14f82a1cee05ceb484ed0a6))
|
|
374
|
+
* Updated pie-lib versions ([2fe4c5d](https://github.com/pie-framework/pie-elements/commit/2fe4c5d0be2d40f5fdb34815855695a7f1087f56))
|
|
375
|
+
* Updated pie-lib versions ([1c23830](https://github.com/pie-framework/pie-elements/commit/1c23830fc75d1de5f7bb3bb16de3c665ae5fa350))
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
## [1.4.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.2...@pie-element/multi-trait-rubric-configure@1.4.3) (2021-08-05)
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
### Bug Fixes
|
|
385
|
+
|
|
386
|
+
* **multi-trait-rubric:** Fixed the score point label toolbar cut off PD-1238 ([1f15681](https://github.com/pie-framework/pie-elements/commit/1f15681f913acc5f5fd4ba47131ede53c456839b))
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
## [1.4.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.4.0...@pie-element/multi-trait-rubric-configure@1.4.2) (2021-08-05)
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
### Bug Fixes
|
|
396
|
+
|
|
397
|
+
* force bump ([5ea7295](https://github.com/pie-framework/pie-elements/commit/5ea7295e4755fbc492a76e7ec69e5fc35b196919))
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
# [1.4.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.3.0...@pie-element/multi-trait-rubric-configure@1.4.0) (2021-06-29)
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
### Bug Fixes
|
|
407
|
+
|
|
408
|
+
* **multi-trait-rubric:** Fixed the toolbar cut off - PD-1106 ([#564](https://github.com/pie-framework/pie-elements/issues/564)) ([7880804](https://github.com/pie-framework/pie-elements/commit/788080479dcc44e0fc4ee780cce5b5b7e68d07eb))
|
|
409
|
+
* multi-trait-rubric change label for remove trait, add configuration props for the content of the dialog boxes PD-1118 ([#563](https://github.com/pie-framework/pie-elements/issues/563)) ([afc563a](https://github.com/pie-framework/pie-elements/commit/afc563a22e107ce95dc1bf0f3241d77485744d56))
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
### Features
|
|
413
|
+
|
|
414
|
+
* **multi-trait-rubric:** change drag and drop to push instead of swap, drag traits by handle PD-1109 ([#561](https://github.com/pie-framework/pie-elements/issues/561)) ([93d621f](https://github.com/pie-framework/pie-elements/commit/93d621f35d04ecbd571ee0cf179cc0d99d11987c))
|
|
415
|
+
* multi-trait-rubric update ui PD-1107 ([#560](https://github.com/pie-framework/pie-elements/issues/560)) ([448d925](https://github.com/pie-framework/pie-elements/commit/448d9257e755870838fdecbb8acf457ed0c4f16a))
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
|
|
6
421
|
# [1.3.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/multi-trait-rubric-configure@1.2.3...@pie-element/multi-trait-rubric-configure@1.3.0) (2021-04-07)
|
|
7
422
|
|
|
8
423
|
|
package/configure/lib/common.js
CHANGED
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
5
7
|
Object.defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
8
|
-
exports.
|
|
10
|
+
exports.UnderlinedInput = exports.SimpleInput = exports.SecondaryBlock = exports.ScorePoint = exports.ScaleSettings = exports.Row = exports.PrimaryBlockWidth = exports.PrimaryBlock = exports.MultiTraitButton = exports.MaxPointsPicker = exports.HeaderHeightLarge = exports.HeaderHeight = exports.ExpandedInput = exports.DragHandleSpace = exports.BlockWidth = exports.Block = exports.Arrow = void 0;
|
|
9
11
|
|
|
10
12
|
var _react = _interopRequireDefault(require("react"));
|
|
11
13
|
|
|
@@ -13,7 +15,7 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
13
15
|
|
|
14
16
|
var _styles = require("@material-ui/core/styles");
|
|
15
17
|
|
|
16
|
-
var _editableHtml =
|
|
18
|
+
var _editableHtml = _interopRequireWildcard(require("@pie-lib/editable-html"));
|
|
17
19
|
|
|
18
20
|
var _FormControl = _interopRequireDefault(require("@material-ui/core/FormControl"));
|
|
19
21
|
|
|
@@ -29,7 +31,13 @@ var _renderUi = require("@pie-lib/render-ui");
|
|
|
29
31
|
|
|
30
32
|
var _grey = _interopRequireDefault(require("@material-ui/core/colors/grey"));
|
|
31
33
|
|
|
32
|
-
var
|
|
34
|
+
var _utils = require("./utils");
|
|
35
|
+
|
|
36
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
37
|
+
|
|
38
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
39
|
+
|
|
40
|
+
var BlockWidth = 200;
|
|
33
41
|
exports.BlockWidth = BlockWidth;
|
|
34
42
|
var PrimaryBlockWidth = 200;
|
|
35
43
|
exports.PrimaryBlockWidth = PrimaryBlockWidth;
|
|
@@ -41,7 +49,7 @@ var HeaderHeightLarge = '160px';
|
|
|
41
49
|
exports.HeaderHeightLarge = HeaderHeightLarge;
|
|
42
50
|
var InputHeight = '120px';
|
|
43
51
|
var greyBorder = "solid 1px ".concat(_grey["default"][400]);
|
|
44
|
-
var Padding = '8px';
|
|
52
|
+
var Padding = '8px 4px';
|
|
45
53
|
var MultiTraitButton = (0, _styles.withStyles)({
|
|
46
54
|
button: {
|
|
47
55
|
fontSize: '16px',
|
|
@@ -88,7 +96,11 @@ var Block = (0, _styles.withStyles)({
|
|
|
88
96
|
block: {
|
|
89
97
|
width: "".concat(BlockWidth, "px"),
|
|
90
98
|
minWidth: "".concat(BlockWidth, "px"),
|
|
91
|
-
padding: Padding
|
|
99
|
+
padding: Padding,
|
|
100
|
+
'& ul, ol': {
|
|
101
|
+
marginBlockStart: 0,
|
|
102
|
+
paddingInlineStart: '16px'
|
|
103
|
+
}
|
|
92
104
|
}
|
|
93
105
|
})(function (_ref3) {
|
|
94
106
|
var classes = _ref3.classes,
|
|
@@ -109,9 +121,13 @@ var SecondaryBlock = (0, _styles.withStyles)({
|
|
|
109
121
|
})(function (_ref4) {
|
|
110
122
|
var classes = _ref4.classes,
|
|
111
123
|
children = _ref4.children,
|
|
112
|
-
setRef = _ref4.setRef
|
|
124
|
+
setRef = _ref4.setRef,
|
|
125
|
+
width = _ref4.width;
|
|
113
126
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
114
127
|
className: classes.secondaryBlock,
|
|
128
|
+
style: {
|
|
129
|
+
width: width
|
|
130
|
+
},
|
|
115
131
|
ref: setRef
|
|
116
132
|
}, children);
|
|
117
133
|
});
|
|
@@ -179,7 +195,10 @@ var ScorePoint = (0, _styles.withStyles)({
|
|
|
179
195
|
scoreDescriptor = _ref6.scoreDescriptor,
|
|
180
196
|
pluginProps = _ref6.pluginProps,
|
|
181
197
|
onChange = _ref6.onChange,
|
|
182
|
-
showScorePointLabels = _ref6.showScorePointLabels
|
|
198
|
+
showScorePointLabels = _ref6.showScorePointLabels,
|
|
199
|
+
alignToRight = _ref6.alignToRight,
|
|
200
|
+
spellCheck = _ref6.spellCheck,
|
|
201
|
+
uploadSoundSupport = _ref6.uploadSoundSupport;
|
|
183
202
|
var scoreBoxClasses = showScorePointLabels ? classes.scorePointBox : "".concat(classes.scorePointBox, " ").concat(classes.scorePointBoxDisabled);
|
|
184
203
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
185
204
|
className: classes.scorePointBoxWrapper
|
|
@@ -195,11 +214,22 @@ var ScorePoint = (0, _styles.withStyles)({
|
|
|
195
214
|
markup: scoreDescriptor,
|
|
196
215
|
placeholder: "Label",
|
|
197
216
|
onChange: onChange,
|
|
198
|
-
pluginProps: pluginProps
|
|
217
|
+
pluginProps: pluginProps,
|
|
218
|
+
activePlugins: _utils.filteredDefaultPlugins,
|
|
219
|
+
spellCheck: spellCheck,
|
|
220
|
+
toolbarOpts: alignToRight && {
|
|
221
|
+
alignment: 'right'
|
|
222
|
+
},
|
|
223
|
+
uploadSoundSupport: uploadSoundSupport,
|
|
224
|
+
languageCharactersProps: [{
|
|
225
|
+
language: 'spanish'
|
|
226
|
+
}, {
|
|
227
|
+
language: 'special'
|
|
228
|
+
}]
|
|
199
229
|
}) : null));
|
|
200
230
|
});
|
|
201
231
|
exports.ScorePoint = ScorePoint;
|
|
202
|
-
var maxScoreOptions = [
|
|
232
|
+
var maxScoreOptions = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
203
233
|
var inputStyles = {
|
|
204
234
|
root: {
|
|
205
235
|
background: 'white',
|
|
@@ -256,7 +286,9 @@ var SimpleInput = (0, _styles.withStyles)({
|
|
|
256
286
|
markup = _ref8.markup,
|
|
257
287
|
onChange = _ref8.onChange,
|
|
258
288
|
pluginProps = _ref8.pluginProps,
|
|
259
|
-
label = _ref8.label
|
|
289
|
+
label = _ref8.label,
|
|
290
|
+
spellCheck = _ref8.spellCheck,
|
|
291
|
+
uploadSoundSupport = _ref8.uploadSoundSupport;
|
|
260
292
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
261
293
|
className: classes.simpleInput
|
|
262
294
|
}, label && /*#__PURE__*/_react["default"].createElement("div", null, label), /*#__PURE__*/_react["default"].createElement(_editableHtml["default"], {
|
|
@@ -267,7 +299,15 @@ var SimpleInput = (0, _styles.withStyles)({
|
|
|
267
299
|
markup: markup,
|
|
268
300
|
onChange: onChange,
|
|
269
301
|
placeholder: "Trait Label",
|
|
270
|
-
pluginProps: pluginProps
|
|
302
|
+
pluginProps: pluginProps,
|
|
303
|
+
activePlugins: _utils.filteredDefaultPlugins,
|
|
304
|
+
spellCheck: spellCheck,
|
|
305
|
+
uploadSoundSupport: uploadSoundSupport,
|
|
306
|
+
languageCharactersProps: [{
|
|
307
|
+
language: 'spanish'
|
|
308
|
+
}, {
|
|
309
|
+
language: 'special'
|
|
310
|
+
}]
|
|
271
311
|
}));
|
|
272
312
|
});
|
|
273
313
|
exports.SimpleInput = SimpleInput;
|
|
@@ -301,7 +341,9 @@ var UnderlinedInput = (0, _styles.withStyles)({
|
|
|
301
341
|
onChange = _ref9.onChange,
|
|
302
342
|
pluginProps = _ref9.pluginProps,
|
|
303
343
|
label = _ref9.label,
|
|
304
|
-
placeholder = _ref9.placeholder
|
|
344
|
+
placeholder = _ref9.placeholder,
|
|
345
|
+
spellCheck = _ref9.spellCheck,
|
|
346
|
+
uploadSoundSupport = _ref9.uploadSoundSupport;
|
|
305
347
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
306
348
|
className: classes.underlinedInputWrapper
|
|
307
349
|
}, label && /*#__PURE__*/_react["default"].createElement("div", null, label), /*#__PURE__*/_react["default"].createElement(_editableHtml["default"], {
|
|
@@ -312,7 +354,15 @@ var UnderlinedInput = (0, _styles.withStyles)({
|
|
|
312
354
|
markup: markup,
|
|
313
355
|
onChange: onChange,
|
|
314
356
|
placeholder: placeholder,
|
|
315
|
-
pluginProps: pluginProps
|
|
357
|
+
pluginProps: pluginProps,
|
|
358
|
+
activePlugins: _utils.filteredDefaultPlugins,
|
|
359
|
+
spellCheck: spellCheck,
|
|
360
|
+
uploadSoundSupport: uploadSoundSupport,
|
|
361
|
+
languageCharactersProps: [{
|
|
362
|
+
language: 'spanish'
|
|
363
|
+
}, {
|
|
364
|
+
language: 'special'
|
|
365
|
+
}]
|
|
316
366
|
}));
|
|
317
367
|
});
|
|
318
368
|
exports.UnderlinedInput = UnderlinedInput;
|
|
@@ -324,14 +374,18 @@ var ExpandedInput = (0, _styles.withStyles)({
|
|
|
324
374
|
},
|
|
325
375
|
prompt: {
|
|
326
376
|
border: 'none',
|
|
327
|
-
margin: '10px'
|
|
377
|
+
margin: '10px',
|
|
378
|
+
marginTop: 0
|
|
328
379
|
}
|
|
329
380
|
})(function (_ref10) {
|
|
330
381
|
var classes = _ref10.classes,
|
|
331
382
|
markup = _ref10.markup,
|
|
332
383
|
onChange = _ref10.onChange,
|
|
333
384
|
pluginProps = _ref10.pluginProps,
|
|
334
|
-
placeholder = _ref10.placeholder
|
|
385
|
+
placeholder = _ref10.placeholder,
|
|
386
|
+
alignToRight = _ref10.alignToRight,
|
|
387
|
+
spellCheck = _ref10.spellCheck,
|
|
388
|
+
uploadSoundSupport = _ref10.uploadSoundSupport;
|
|
335
389
|
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_editableHtml["default"], {
|
|
336
390
|
className: classes.prompt,
|
|
337
391
|
classes: {
|
|
@@ -340,7 +394,18 @@ var ExpandedInput = (0, _styles.withStyles)({
|
|
|
340
394
|
markup: markup,
|
|
341
395
|
onChange: onChange,
|
|
342
396
|
placeholder: placeholder,
|
|
343
|
-
pluginProps: pluginProps
|
|
397
|
+
pluginProps: pluginProps,
|
|
398
|
+
toolbarOpts: alignToRight && {
|
|
399
|
+
alignment: 'right'
|
|
400
|
+
},
|
|
401
|
+
spellCheck: spellCheck,
|
|
402
|
+
uploadSoundSupport: uploadSoundSupport,
|
|
403
|
+
languageCharactersProps: [{
|
|
404
|
+
language: 'spanish'
|
|
405
|
+
}, {
|
|
406
|
+
language: 'special'
|
|
407
|
+
}],
|
|
408
|
+
autoWidthToolbar: true
|
|
344
409
|
}));
|
|
345
410
|
});
|
|
346
411
|
exports.ExpandedInput = ExpandedInput;
|