@pie-element/extended-text-entry 6.5.1 → 6.5.4-next.1014
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 +195 -0
- package/configure/CHANGELOG.md +161 -0
- package/configure/lib/defaults.js +35 -2
- package/configure/lib/defaults.js.map +1 -1
- package/configure/lib/index.js +3 -3
- package/configure/lib/main.js +58 -14
- package/configure/lib/main.js.map +1 -1
- package/configure/package.json +3 -3
- package/controller/CHANGELOG.md +51 -0
- package/controller/lib/index.js +13 -6
- package/controller/lib/index.js.map +1 -1
- package/controller/package.json +1 -1
- package/docs/config-schema.json +127 -0
- package/docs/config-schema.json.md +97 -1
- package/docs/demo/generate.js +5 -2
- package/docs/pie-schema.json +65 -2
- package/docs/pie-schema.json.md +56 -2
- package/lib/index.js +13 -4
- package/lib/index.js.map +1 -1
- package/lib/main.js +51 -22
- package/lib/main.js.map +1 -1
- package/lib/print.js +122 -0
- package/lib/print.js.map +1 -0
- package/package.json +11 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,201 @@
|
|
|
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.8.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.8.5...@pie-element/extended-text-entry@6.8.6) (2022-03-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [6.8.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.8.4...@pie-element/extended-text-entry@6.8.5) (2022-03-22)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [6.8.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.8.3...@pie-element/extended-text-entry@6.8.4) (2022-03-08)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [6.8.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.8.2...@pie-element/extended-text-entry@6.8.3) (2022-03-08)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## [6.8.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.8.1...@pie-element/extended-text-entry@6.8.2) (2022-02-21)
|
|
39
|
+
|
|
40
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
## [6.8.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.8.0...@pie-element/extended-text-entry@6.8.1) (2022-02-04)
|
|
47
|
+
|
|
48
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
# [6.8.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.7.8...@pie-element/extended-text-entry@6.8.0) (2022-01-24)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### Bug Fixes
|
|
58
|
+
|
|
59
|
+
* **extended-text-entry:** add static classname for editor DNA-13102 ([3ad662f](https://github.com/pie-framework/pie-elements/commit/3ad662fbc6413f5c1721862f87120696071bfdea))
|
|
60
|
+
* **math-inline, extended-text-entry:** use new editors ([2123b8a](https://github.com/pie-framework/pie-elements/commit/2123b8a6d930852a629140053a8459dbc75f281f))
|
|
61
|
+
* **multiple-choice-print, ecr-print:** fix toggle issue, change options.mode to options.role ([0b3f534](https://github.com/pie-framework/pie-elements/commit/0b3f534bb4d2f969e21528e74516345e84f18d72))
|
|
62
|
+
* **multiple-choice, explicit-constructed-response, extended-text-entry:** print do not show teacher instructions, rationale or prompt if they are diabled DNA-13089 ([06b9555](https://github.com/pie-framework/pie-elements/commit/06b9555b25e094e0b2bce0e6a852a206c6d2c17d))
|
|
63
|
+
* use preview prompt for prompt, rationale and teacher instructions to fix table rendering PD-1456 ([f330601](https://github.com/pie-framework/pie-elements/commit/f3306019a2d1c8ce3e2783823dfe9ef0a0394e4f))
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
### Features
|
|
67
|
+
|
|
68
|
+
* **extended-text-entry:** Added the ability for instructor to annotate student's response with comments PD-744 ([6d266f9](https://github.com/pie-framework/pie-elements/commit/6d266f9de59bfe3f9b71089f8e222e9ad9026cbc))
|
|
69
|
+
* **extended-text-entry:** implement print PD-1283 ([7e4f7d8](https://github.com/pie-framework/pie-elements/commit/7e4f7d8203f54d905f542369d444232b54261582))
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
## [6.7.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.7.7...@pie-element/extended-text-entry@6.7.8) (2022-01-10)
|
|
76
|
+
|
|
77
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
## [6.7.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.7.6...@pie-element/extended-text-entry@6.7.7) (2021-12-23)
|
|
84
|
+
|
|
85
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
## [6.7.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.7.4...@pie-element/extended-text-entry@6.7.5) (2021-12-13)
|
|
92
|
+
|
|
93
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
## [6.7.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.7.1...@pie-element/extended-text-entry@6.7.2) (2021-11-29)
|
|
100
|
+
|
|
101
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
## [6.7.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.6.4...@pie-element/extended-text-entry@6.7.1) (2021-11-11)
|
|
108
|
+
|
|
109
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
# [6.7.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.5.3...@pie-element/extended-text-entry@6.7.0) (2021-11-11)
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
### Bug Fixes
|
|
119
|
+
|
|
120
|
+
* **multiple-choice-print, ecr-print:** fix toggle issue, change options.mode to options.role ([0b3f534](https://github.com/pie-framework/pie-elements/commit/0b3f534bb4d2f969e21528e74516345e84f18d72))
|
|
121
|
+
* pie-lib updates ([e521c2f](https://github.com/pie-framework/pie-elements/commit/e521c2f1a44aa7f3e14f82a1cee05ceb484ed0a6))
|
|
122
|
+
* Updated pie-lib versions ([2fe4c5d](https://github.com/pie-framework/pie-elements/commit/2fe4c5d0be2d40f5fdb34815855695a7f1087f56))
|
|
123
|
+
* Updated pie-lib versions ([1c23830](https://github.com/pie-framework/pie-elements/commit/1c23830fc75d1de5f7bb3bb16de3c665ae5fa350))
|
|
124
|
+
* **extended-text-entry:** Removed main content padding PD-384 ([e3f0bb3](https://github.com/pie-framework/pie-elements/commit/e3f0bb33ef66fe7fdd2de80d470eaecc4864dbbb))
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
### Features
|
|
128
|
+
|
|
129
|
+
* **extended-text-entry:** added option to set toolbar editor position ([3fefb22](https://github.com/pie-framework/pie-elements/commit/3fefb222a7b8ffe01304d7b23385f53b4709eeb8))
|
|
130
|
+
* **extended-text-entry:** implement print PD-1283 ([7e4f7d8](https://github.com/pie-framework/pie-elements/commit/7e4f7d8203f54d905f542369d444232b54261582))
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
## [6.6.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.6.3...@pie-element/extended-text-entry@6.6.4) (2021-11-01)
|
|
138
|
+
|
|
139
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
## [6.6.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.6.2...@pie-element/extended-text-entry@6.6.3) (2021-10-04)
|
|
146
|
+
|
|
147
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
## [6.6.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.6.1...@pie-element/extended-text-entry@6.6.2) (2021-09-20)
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
### Bug Fixes
|
|
157
|
+
|
|
158
|
+
* pie-lib updates ([e521c2f](https://github.com/pie-framework/pie-elements/commit/e521c2f1a44aa7f3e14f82a1cee05ceb484ed0a6))
|
|
159
|
+
* Updated pie-lib versions ([2fe4c5d](https://github.com/pie-framework/pie-elements/commit/2fe4c5d0be2d40f5fdb34815855695a7f1087f56))
|
|
160
|
+
* Updated pie-lib versions ([1c23830](https://github.com/pie-framework/pie-elements/commit/1c23830fc75d1de5f7bb3bb16de3c665ae5fa350))
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
## [6.6.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.6.0...@pie-element/extended-text-entry@6.6.1) (2021-09-01)
|
|
167
|
+
|
|
168
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
# [6.6.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.5.3...@pie-element/extended-text-entry@6.6.0) (2021-08-05)
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
### Bug Fixes
|
|
178
|
+
|
|
179
|
+
* **extended-text-entry:** Removed main content padding PD-384 ([e3f0bb3](https://github.com/pie-framework/pie-elements/commit/e3f0bb33ef66fe7fdd2de80d470eaecc4864dbbb))
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
### Features
|
|
183
|
+
|
|
184
|
+
* **extended-text-entry:** added option to set toolbar editor position ([3fefb22](https://github.com/pie-framework/pie-elements/commit/3fefb222a7b8ffe01304d7b23385f53b4709eeb8))
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
## [6.5.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.5.1...@pie-element/extended-text-entry@6.5.3) (2021-08-05)
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
### Bug Fixes
|
|
194
|
+
|
|
195
|
+
* force bump ([5ea7295](https://github.com/pie-framework/pie-elements/commit/5ea7295e4755fbc492a76e7ec69e5fc35b196919))
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
6
201
|
## [6.5.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry@6.5.0...@pie-element/extended-text-entry@6.5.1) (2021-06-29)
|
|
7
202
|
|
|
8
203
|
|
package/configure/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,167 @@
|
|
|
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
|
+
## [5.4.15](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry-configure@5.4.14...@pie-element/extended-text-entry-configure@5.4.15) (2022-03-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry-configure
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [5.4.14](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry-configure@5.4.13...@pie-element/extended-text-entry-configure@5.4.14) (2022-03-22)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry-configure
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [5.4.13](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry-configure@5.4.12...@pie-element/extended-text-entry-configure@5.4.13) (2022-03-08)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry-configure
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [5.4.12](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry-configure@5.4.11...@pie-element/extended-text-entry-configure@5.4.12) (2022-03-08)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry-configure
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## [5.4.11](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry-configure@5.4.10...@pie-element/extended-text-entry-configure@5.4.11) (2022-02-21)
|
|
39
|
+
|
|
40
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry-configure
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
## [5.4.10](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry-configure@5.4.9...@pie-element/extended-text-entry-configure@5.4.10) (2022-02-04)
|
|
47
|
+
|
|
48
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry-configure
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
## [5.4.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry-configure@5.4.8...@pie-element/extended-text-entry-configure@5.4.9) (2022-01-24)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### Bug Fixes
|
|
58
|
+
|
|
59
|
+
* **math-inline, extended-text-entry:** use new editors ([2123b8a](https://github.com/pie-framework/pie-elements/commit/2123b8a6d930852a629140053a8459dbc75f281f))
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
## [5.4.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry-configure@5.4.7...@pie-element/extended-text-entry-configure@5.4.8) (2022-01-10)
|
|
66
|
+
|
|
67
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry-configure
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
## [5.4.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry-configure@5.4.6...@pie-element/extended-text-entry-configure@5.4.7) (2021-12-23)
|
|
74
|
+
|
|
75
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry-configure
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## [5.4.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry-configure@5.4.4...@pie-element/extended-text-entry-configure@5.4.5) (2021-12-13)
|
|
82
|
+
|
|
83
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry-configure
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
## [5.4.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry-configure@5.4.1...@pie-element/extended-text-entry-configure@5.4.2) (2021-11-29)
|
|
90
|
+
|
|
91
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry-configure
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
## [5.4.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry-configure@5.3.2...@pie-element/extended-text-entry-configure@5.4.1) (2021-11-11)
|
|
98
|
+
|
|
99
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry-configure
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
# [5.4.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry-configure@5.2.9...@pie-element/extended-text-entry-configure@5.4.0) (2021-11-11)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
### Bug Fixes
|
|
109
|
+
|
|
110
|
+
* pie-lib updates ([e521c2f](https://github.com/pie-framework/pie-elements/commit/e521c2f1a44aa7f3e14f82a1cee05ceb484ed0a6))
|
|
111
|
+
* Updated pie-lib versions ([2fe4c5d](https://github.com/pie-framework/pie-elements/commit/2fe4c5d0be2d40f5fdb34815855695a7f1087f56))
|
|
112
|
+
* Updated pie-lib versions ([1c23830](https://github.com/pie-framework/pie-elements/commit/1c23830fc75d1de5f7bb3bb16de3c665ae5fa350))
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
### Features
|
|
116
|
+
|
|
117
|
+
* **extended-text-entry:** added option to set toolbar editor position ([3fefb22](https://github.com/pie-framework/pie-elements/commit/3fefb222a7b8ffe01304d7b23385f53b4709eeb8))
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
## [5.3.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry-configure@5.3.1...@pie-element/extended-text-entry-configure@5.3.2) (2021-10-04)
|
|
125
|
+
|
|
126
|
+
**Note:** Version bump only for package @pie-element/extended-text-entry-configure
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
## [5.3.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry-configure@5.3.0...@pie-element/extended-text-entry-configure@5.3.1) (2021-09-20)
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
### Bug Fixes
|
|
136
|
+
|
|
137
|
+
* pie-lib updates ([e521c2f](https://github.com/pie-framework/pie-elements/commit/e521c2f1a44aa7f3e14f82a1cee05ceb484ed0a6))
|
|
138
|
+
* Updated pie-lib versions ([2fe4c5d](https://github.com/pie-framework/pie-elements/commit/2fe4c5d0be2d40f5fdb34815855695a7f1087f56))
|
|
139
|
+
* Updated pie-lib versions ([1c23830](https://github.com/pie-framework/pie-elements/commit/1c23830fc75d1de5f7bb3bb16de3c665ae5fa350))
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
# [5.3.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry-configure@5.2.9...@pie-element/extended-text-entry-configure@5.3.0) (2021-08-05)
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
### Features
|
|
149
|
+
|
|
150
|
+
* **extended-text-entry:** added option to set toolbar editor position ([3fefb22](https://github.com/pie-framework/pie-elements/commit/3fefb222a7b8ffe01304d7b23385f53b4709eeb8))
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
## [5.2.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry-configure@5.2.7...@pie-element/extended-text-entry-configure@5.2.9) (2021-08-05)
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
### Bug Fixes
|
|
160
|
+
|
|
161
|
+
* force bump ([5ea7295](https://github.com/pie-framework/pie-elements/commit/5ea7295e4755fbc492a76e7ec69e5fc35b196919))
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
6
167
|
## [5.2.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/extended-text-entry-configure@5.2.6...@pie-element/extended-text-entry-configure@5.2.7) (2021-06-29)
|
|
7
168
|
|
|
8
169
|
**Note:** Version bump only for package @pie-element/extended-text-entry-configure
|
|
@@ -12,18 +12,33 @@ var _default = {
|
|
|
12
12
|
},
|
|
13
13
|
prompt: 'This is the question prompt',
|
|
14
14
|
mathInput: false,
|
|
15
|
-
|
|
15
|
+
spanishInput: false,
|
|
16
|
+
specialInput: false,
|
|
17
|
+
equationEditor: 'Grade 8 - HS',
|
|
16
18
|
feedbackEnabled: true,
|
|
17
19
|
rationaleEnabled: true,
|
|
18
20
|
promptEnabled: true,
|
|
19
21
|
teacherInstructionsEnabled: true,
|
|
20
|
-
studentInstructionsEnabled: true
|
|
22
|
+
studentInstructionsEnabled: true,
|
|
23
|
+
spellCheckEnabled: true,
|
|
24
|
+
playerSpellCheckEnabled: true,
|
|
25
|
+
toolbarEditorPosition: 'bottom'
|
|
21
26
|
},
|
|
22
27
|
configuration: {
|
|
23
28
|
dimensions: {
|
|
24
29
|
settings: true,
|
|
25
30
|
label: 'Text-Entry Display Size'
|
|
26
31
|
},
|
|
32
|
+
spellCheck: {
|
|
33
|
+
label: 'Spellcheck',
|
|
34
|
+
settings: false,
|
|
35
|
+
enabled: true
|
|
36
|
+
},
|
|
37
|
+
playerSpellCheck: {
|
|
38
|
+
label: 'Student Spellcheck',
|
|
39
|
+
settings: true,
|
|
40
|
+
enabled: true
|
|
41
|
+
},
|
|
27
42
|
equationEditor: {
|
|
28
43
|
settings: false,
|
|
29
44
|
label: 'Equation Editor',
|
|
@@ -38,6 +53,16 @@ var _default = {
|
|
|
38
53
|
label: 'Student response can include math notation',
|
|
39
54
|
enabled: false
|
|
40
55
|
},
|
|
56
|
+
spanishInput: {
|
|
57
|
+
settings: true,
|
|
58
|
+
label: 'Students can insert Spanish',
|
|
59
|
+
enabled: false
|
|
60
|
+
},
|
|
61
|
+
specialInput: {
|
|
62
|
+
settings: true,
|
|
63
|
+
label: 'Students can insert Special Characters',
|
|
64
|
+
enabled: false
|
|
65
|
+
},
|
|
41
66
|
multiple: {
|
|
42
67
|
settings: false,
|
|
43
68
|
label: 'Multiple Parts',
|
|
@@ -54,6 +79,14 @@ var _default = {
|
|
|
54
79
|
teacherInstructions: {
|
|
55
80
|
settings: true,
|
|
56
81
|
label: 'Teacher Instructions'
|
|
82
|
+
},
|
|
83
|
+
maxImageWidth: {
|
|
84
|
+
teacherInstructions: 300,
|
|
85
|
+
prompt: 300
|
|
86
|
+
},
|
|
87
|
+
maxImageHeight: {
|
|
88
|
+
teacherInstructions: 300,
|
|
89
|
+
prompt: 300
|
|
57
90
|
}
|
|
58
91
|
}
|
|
59
92
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/defaults.js"],"names":["model","dimensions","height","width","prompt","mathInput","equationEditor","feedbackEnabled","rationaleEnabled","promptEnabled","teacherInstructionsEnabled","studentInstructionsEnabled","configuration","settings","label","enabled","feedback","multiple","studentInstructions","teacherInstructions"],"mappings":";;;;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,UAAU,EAAE;AACVC,MAAAA,MAAM,EAAE,GADE;AAEVC,MAAAA,KAAK,EAAE;AAFG,KADP;AAKLC,IAAAA,MAAM,EAAE,6BALH;AAMLC,IAAAA,SAAS,EAAE,KANN;AAOLC,IAAAA,
|
|
1
|
+
{"version":3,"sources":["../src/defaults.js"],"names":["model","dimensions","height","width","prompt","mathInput","spanishInput","specialInput","equationEditor","feedbackEnabled","rationaleEnabled","promptEnabled","teacherInstructionsEnabled","studentInstructionsEnabled","spellCheckEnabled","playerSpellCheckEnabled","toolbarEditorPosition","configuration","settings","label","spellCheck","enabled","playerSpellCheck","feedback","multiple","studentInstructions","teacherInstructions","maxImageWidth","maxImageHeight"],"mappings":";;;;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,UAAU,EAAE;AACVC,MAAAA,MAAM,EAAE,GADE;AAEVC,MAAAA,KAAK,EAAE;AAFG,KADP;AAKLC,IAAAA,MAAM,EAAE,6BALH;AAMLC,IAAAA,SAAS,EAAE,KANN;AAOLC,IAAAA,YAAY,EAAE,KAPT;AAQLC,IAAAA,YAAY,EAAE,KART;AASLC,IAAAA,cAAc,EAAE,cATX;AAULC,IAAAA,eAAe,EAAE,IAVZ;AAWLC,IAAAA,gBAAgB,EAAE,IAXb;AAYLC,IAAAA,aAAa,EAAE,IAZV;AAaLC,IAAAA,0BAA0B,EAAE,IAbvB;AAcLC,IAAAA,0BAA0B,EAAE,IAdvB;AAeLC,IAAAA,iBAAiB,EAAC,IAfb;AAgBLC,IAAAA,uBAAuB,EAAC,IAhBnB;AAiBLC,IAAAA,qBAAqB,EAAE;AAjBlB,GADM;AAoBbC,EAAAA,aAAa,EAAE;AACbhB,IAAAA,UAAU,EAAE;AACViB,MAAAA,QAAQ,EAAE,IADA;AAEVC,MAAAA,KAAK,EAAE;AAFG,KADC;AAKbC,IAAAA,UAAU,EAAE;AACVD,MAAAA,KAAK,EAAE,YADG;AAEVD,MAAAA,QAAQ,EAAC,KAFC;AAGVG,MAAAA,OAAO,EAAC;AAHE,KALC;AAUbC,IAAAA,gBAAgB,EAAE;AAChBH,MAAAA,KAAK,EAAE,oBADS;AAEhBD,MAAAA,QAAQ,EAAC,IAFO;AAGhBG,MAAAA,OAAO,EAAC;AAHQ,KAVL;AAebb,IAAAA,cAAc,EAAE;AACdU,MAAAA,QAAQ,EAAE,KADI;AAEdC,MAAAA,KAAK,EAAE,iBAFO;AAGdE,MAAAA,OAAO,EAAE;AAHK,KAfH;AAoBbE,IAAAA,QAAQ,EAAE;AACRL,MAAAA,QAAQ,EAAE,IADF;AAERC,MAAAA,KAAK,EAAE;AAFC,KApBG;AAwBbd,IAAAA,SAAS,EAAE;AACTa,MAAAA,QAAQ,EAAE,IADD;AAETC,MAAAA,KAAK,EAAE,4CAFE;AAGTE,MAAAA,OAAO,EAAE;AAHA,KAxBE;AA6Bbf,IAAAA,YAAY,EAAE;AACZY,MAAAA,QAAQ,EAAE,IADE;AAEZC,MAAAA,KAAK,EAAE,6BAFK;AAGZE,MAAAA,OAAO,EAAE;AAHG,KA7BD;AAkCbd,IAAAA,YAAY,EAAE;AACZW,MAAAA,QAAQ,EAAE,IADE;AAEZC,MAAAA,KAAK,EAAE,wCAFK;AAGZE,MAAAA,OAAO,EAAE;AAHG,KAlCD;AAuCbG,IAAAA,QAAQ,EAAE;AACRN,MAAAA,QAAQ,EAAE,KADF;AAERC,MAAAA,KAAK,EAAE,gBAFC;AAGRE,MAAAA,OAAO,EAAE;AAHD,KAvCG;AA4CbI,IAAAA,mBAAmB,EAAE;AACnBP,MAAAA,QAAQ,EAAE,KADS;AAEnBC,MAAAA,KAAK,EAAE;AAFY,KA5CR;AAgDbf,IAAAA,MAAM,EAAE;AACNc,MAAAA,QAAQ,EAAE,IADJ;AAENC,MAAAA,KAAK,EAAE;AAFD,KAhDK;AAoDbO,IAAAA,mBAAmB,EAAE;AACnBR,MAAAA,QAAQ,EAAE,IADS;AAEnBC,MAAAA,KAAK,EAAE;AAFY,KApDR;AAwDbQ,IAAAA,aAAa,EAAE;AACbD,MAAAA,mBAAmB,EAAE,GADR;AAEbtB,MAAAA,MAAM,EAAE;AAFK,KAxDF;AA4DbwB,IAAAA,cAAc,EAAE;AACdF,MAAAA,mBAAmB,EAAE,GADP;AAEdtB,MAAAA,MAAM,EAAE;AAFM;AA5DH;AApBF,C","sourcesContent":["export default {\n model: {\n dimensions: {\n height: 100,\n width: 500\n },\n prompt: 'This is the question prompt',\n mathInput: false,\n spanishInput: false,\n specialInput: false,\n equationEditor: 'Grade 8 - HS',\n feedbackEnabled: true,\n rationaleEnabled: true,\n promptEnabled: true,\n teacherInstructionsEnabled: true,\n studentInstructionsEnabled: true,\n spellCheckEnabled:true,\n playerSpellCheckEnabled:true,\n toolbarEditorPosition: 'bottom'\n },\n configuration: {\n dimensions: {\n settings: true,\n label: 'Text-Entry Display Size'\n },\n spellCheck: {\n label: 'Spellcheck',\n settings:false,\n enabled:true\n },\n playerSpellCheck: {\n label: 'Student Spellcheck',\n settings:true,\n enabled:true\n },\n equationEditor: {\n settings: false,\n label: 'Equation Editor',\n enabled: true,\n },\n feedback: {\n settings: true,\n label: 'Feedback'\n },\n mathInput: {\n settings: true,\n label: 'Student response can include math notation',\n enabled: false,\n },\n spanishInput: {\n settings: true,\n label: 'Students can insert Spanish',\n enabled: false,\n },\n specialInput: {\n settings: true,\n label: 'Students can insert Special Characters',\n enabled: false,\n },\n multiple: {\n settings: false,\n label: 'Multiple Parts',\n enabled: false,\n },\n studentInstructions: {\n settings: false,\n label: 'Student Instructions'\n },\n prompt: {\n settings: true,\n label: 'Prompt'\n },\n teacherInstructions: {\n settings: true,\n label: 'Teacher Instructions'\n },\n maxImageWidth: {\n teacherInstructions: 300,\n prompt: 300\n },\n maxImageHeight: {\n teacherInstructions: 300,\n prompt: 300\n }\n }\n};\n"],"file":"defaults.js"}
|
package/configure/lib/index.js
CHANGED
|
@@ -31,13 +31,13 @@ var _main = _interopRequireDefault(require("./main"));
|
|
|
31
31
|
|
|
32
32
|
var _defaults = _interopRequireDefault(require("./defaults"));
|
|
33
33
|
|
|
34
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
34
|
+
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; }
|
|
35
35
|
|
|
36
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
36
|
+
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; }
|
|
37
37
|
|
|
38
38
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
|
|
39
39
|
|
|
40
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try {
|
|
40
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
41
41
|
|
|
42
42
|
var ExtendedTextEntry = /*#__PURE__*/function (_HTMLElement) {
|
|
43
43
|
(0, _inherits2["default"])(ExtendedTextEntry, _HTMLElement);
|
package/configure/lib/main.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
4
|
-
|
|
5
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
4
|
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
|
8
8
|
value: true
|
|
9
9
|
});
|
|
@@ -35,13 +35,17 @@ var _styles = require("@material-ui/core/styles");
|
|
|
35
35
|
|
|
36
36
|
var _editableHtml = _interopRequireWildcard(require("@pie-lib/editable-html"));
|
|
37
37
|
|
|
38
|
-
function
|
|
38
|
+
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); }
|
|
39
|
+
|
|
40
|
+
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; }
|
|
41
|
+
|
|
42
|
+
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; }
|
|
39
43
|
|
|
40
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
44
|
+
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; }
|
|
41
45
|
|
|
42
46
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
|
|
43
47
|
|
|
44
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try {
|
|
48
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
45
49
|
|
|
46
50
|
var Panel = _configUi.settings.Panel,
|
|
47
51
|
toggle = _configUi.settings.toggle,
|
|
@@ -122,15 +126,42 @@ var Main = /*#__PURE__*/function (_React$Component) {
|
|
|
122
126
|
studentInstructions = _ref$studentInstructi === void 0 ? {} : _ref$studentInstructi,
|
|
123
127
|
_ref$mathInput = _ref.mathInput,
|
|
124
128
|
mathInput = _ref$mathInput === void 0 ? {} : _ref$mathInput,
|
|
129
|
+
_ref$spanishInput = _ref.spanishInput,
|
|
130
|
+
spanishInput = _ref$spanishInput === void 0 ? {} : _ref$spanishInput,
|
|
131
|
+
_ref$specialInput = _ref.specialInput,
|
|
132
|
+
specialInput = _ref$specialInput === void 0 ? {} : _ref$specialInput,
|
|
125
133
|
_ref$dimensions = _ref.dimensions,
|
|
126
134
|
dimensions = _ref$dimensions === void 0 ? {} : _ref$dimensions,
|
|
127
135
|
_ref$equationEditor = _ref.equationEditor,
|
|
128
|
-
equationEditor = _ref$equationEditor === void 0 ? {} : _ref$equationEditor
|
|
136
|
+
equationEditor = _ref$equationEditor === void 0 ? {} : _ref$equationEditor,
|
|
137
|
+
_ref$spellCheck = _ref.spellCheck,
|
|
138
|
+
spellCheck = _ref$spellCheck === void 0 ? {} : _ref$spellCheck,
|
|
139
|
+
_ref$playerSpellCheck = _ref.playerSpellCheck,
|
|
140
|
+
playerSpellCheck = _ref$playerSpellCheck === void 0 ? {} : _ref$playerSpellCheck,
|
|
141
|
+
_ref$maxImageWidth = _ref.maxImageWidth,
|
|
142
|
+
maxImageWidth = _ref$maxImageWidth === void 0 ? {} : _ref$maxImageWidth,
|
|
143
|
+
_ref$maxImageHeight = _ref.maxImageHeight,
|
|
144
|
+
maxImageHeight = _ref$maxImageHeight === void 0 ? {} : _ref$maxImageHeight;
|
|
129
145
|
|
|
130
146
|
var _ref2 = model || {},
|
|
131
147
|
teacherInstructionsEnabled = _ref2.teacherInstructionsEnabled,
|
|
132
148
|
promptEnabled = _ref2.promptEnabled,
|
|
133
|
-
feedbackEnabled = _ref2.feedbackEnabled
|
|
149
|
+
feedbackEnabled = _ref2.feedbackEnabled,
|
|
150
|
+
spellCheckEnabled = _ref2.spellCheckEnabled;
|
|
151
|
+
|
|
152
|
+
var toolbarOpts = {};
|
|
153
|
+
var defaultImageMaxWidth = maxImageWidth && maxImageWidth.prompt;
|
|
154
|
+
var defaultImageMaxHeight = maxImageHeight && maxImageHeight.prompt;
|
|
155
|
+
|
|
156
|
+
switch (model.toolbarEditorPosition) {
|
|
157
|
+
case 'top':
|
|
158
|
+
toolbarOpts.position = 'top';
|
|
159
|
+
break;
|
|
160
|
+
|
|
161
|
+
default:
|
|
162
|
+
toolbarOpts.position = 'bottom';
|
|
163
|
+
break;
|
|
164
|
+
}
|
|
134
165
|
|
|
135
166
|
return /*#__PURE__*/_react["default"].createElement(_configUi.layout.ConfigLayout, {
|
|
136
167
|
settings: /*#__PURE__*/_react["default"].createElement(Panel, {
|
|
@@ -143,9 +174,11 @@ var Main = /*#__PURE__*/function (_React$Component) {
|
|
|
143
174
|
return onConfigurationChanged(config);
|
|
144
175
|
},
|
|
145
176
|
groups: {
|
|
146
|
-
|
|
177
|
+
Settings: {
|
|
147
178
|
mathInput: mathInput.settings && toggle(mathInput.label),
|
|
148
|
-
equationEditor: equationEditor.enabled && model.mathInput && dropdown(equationEditor.label, ['Grade 1 - 2', 'Grade 3 - 5', 'Grade 6 - 7', 'Grade 8 - HS', 'geometry', 'advanced-algebra', 'statistics', '
|
|
179
|
+
equationEditor: equationEditor.enabled && model.mathInput && dropdown(equationEditor.label, ['non-negative-integers', 'integers', 'decimals', 'fractions', 'Grade 1 - 2', 'Grade 3 - 5', 'Grade 6 - 7', 'Grade 8 - HS', 'geometry', 'advanced-algebra', 'statistics', 'item-authoring']),
|
|
180
|
+
spanishInput: spanishInput.settings && toggle(spanishInput.label),
|
|
181
|
+
specialInput: specialInput.settings && toggle(specialInput.label),
|
|
149
182
|
dimensions: numberFields(dimensions.label, {
|
|
150
183
|
width: {
|
|
151
184
|
label: 'Width (px)',
|
|
@@ -162,9 +195,11 @@ var Main = /*#__PURE__*/function (_React$Component) {
|
|
|
162
195
|
}),
|
|
163
196
|
'multiple.enabled': multiple.settings && toggle(multiple.label, true),
|
|
164
197
|
promptEnabled: prompt.settings && toggle(prompt.label),
|
|
165
|
-
feedbackEnabled: feedback.settings && toggle(feedback.label)
|
|
198
|
+
feedbackEnabled: feedback.settings && toggle(feedback.label),
|
|
199
|
+
spellCheckEnabled: spellCheck.settings && toggle(spellCheck.label),
|
|
200
|
+
playerSpellCheckEnabled: playerSpellCheck.settings && toggle(playerSpellCheck.label)
|
|
166
201
|
},
|
|
167
|
-
|
|
202
|
+
Properties: {
|
|
168
203
|
teacherInstructionsEnabled: teacherInstructions.settings && toggle(teacherInstructions.label),
|
|
169
204
|
studentInstructionsEnabled: studentInstructions.settings && toggle(studentInstructions.label)
|
|
170
205
|
}
|
|
@@ -178,7 +213,11 @@ var Main = /*#__PURE__*/function (_React$Component) {
|
|
|
178
213
|
markup: model.teacherInstructions || '',
|
|
179
214
|
onChange: this.changeTeacherInstructions,
|
|
180
215
|
imageSupport: imageSupport,
|
|
181
|
-
nonEmpty: false
|
|
216
|
+
nonEmpty: false,
|
|
217
|
+
toolbarOpts: toolbarOpts,
|
|
218
|
+
spellCheck: spellCheckEnabled,
|
|
219
|
+
maxImageWidth: maxImageWidth && maxImageWidth.teacherInstructions || defaultImageMaxWidth,
|
|
220
|
+
maxImageHeight: maxImageHeight && maxImageHeight.teacherInstructions || defaultImageMaxHeight
|
|
182
221
|
})), /*#__PURE__*/_react["default"].createElement("br", null), promptEnabled && /*#__PURE__*/_react["default"].createElement(_configUi.InputContainer, {
|
|
183
222
|
label: prompt.label,
|
|
184
223
|
className: classes.promptContainer
|
|
@@ -188,14 +227,19 @@ var Main = /*#__PURE__*/function (_React$Component) {
|
|
|
188
227
|
markup: model.prompt || '',
|
|
189
228
|
onChange: this.onPromptChange,
|
|
190
229
|
imageSupport: imageSupport,
|
|
191
|
-
nonEmpty: false
|
|
230
|
+
nonEmpty: false,
|
|
231
|
+
toolbarOpts: toolbarOpts,
|
|
232
|
+
spellCheck: spellCheckEnabled,
|
|
233
|
+
maxImageWidth: defaultImageMaxWidth,
|
|
234
|
+
maxImageHeight: defaultImageMaxHeight
|
|
192
235
|
})), feedbackEnabled && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
|
|
193
236
|
className: classes.header,
|
|
194
237
|
variant: "subheading"
|
|
195
238
|
}, "Feedback"), /*#__PURE__*/_react["default"].createElement(_configUi.FeedbackSelector, {
|
|
196
239
|
label: "When submitted, show",
|
|
197
240
|
feedback: model.feedback || defaultFeedback,
|
|
198
|
-
onChange: this.changeFeedback
|
|
241
|
+
onChange: this.changeFeedback,
|
|
242
|
+
toolbarOpts: toolbarOpts
|
|
199
243
|
}))));
|
|
200
244
|
}
|
|
201
245
|
}]);
|