@pie-element/complex-rubric 3.7.8-next.74 → 3.7.8-next.80
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/configure/node_modules/@pie-element/multi-trait-rubric/CHANGELOG.json +1 -0
- package/configure/node_modules/@pie-element/{rubric → multi-trait-rubric}/CHANGELOG.md +402 -676
- package/configure/node_modules/@pie-element/multi-trait-rubric/README.md +55 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/CHANGELOG.json +1 -0
- package/configure/node_modules/@pie-element/{rubric → multi-trait-rubric}/configure/CHANGELOG.md +366 -574
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js +584 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js +152 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js.map +1 -0
- package/configure/node_modules/@pie-element/{rubric → multi-trait-rubric}/configure/lib/index.js +89 -63
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js +546 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js +361 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js +556 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js +380 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js +296 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js +118 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/configure/package.json +18 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/controller/CHANGELOG.json +1 -0
- package/configure/node_modules/@pie-element/{rubric → multi-trait-rubric}/controller/CHANGELOG.md +172 -165
- package/configure/node_modules/@pie-element/{rubric → multi-trait-rubric}/controller/lib/defaults.js +8 -5
- package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/defaults.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js +215 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/utils.js +13 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/utils.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/controller/package.json +15 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json +1628 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json.md +1202 -0
- package/configure/node_modules/@pie-element/{rubric → multi-trait-rubric}/docs/demo/config.js +2 -2
- package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/generate.js +117 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/index.html +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/session.js +6 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/docs/pie-schema.json +861 -0
- package/configure/node_modules/@pie-element/{rubric/docs/config-schema.json.md → multi-trait-rubric/docs/pie-schema.json.md} +284 -202
- package/configure/node_modules/@pie-element/{rubric → multi-trait-rubric}/lib/index.js +27 -30
- package/configure/node_modules/@pie-element/multi-trait-rubric/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js +164 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js +330 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js.map +1 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js +103 -0
- package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js.map +1 -0
- package/configure/node_modules/@pie-element/{rubric → multi-trait-rubric}/package.json +10 -12
- package/configure/package.json +5 -5
- package/module/configure.js +1 -1
- package/module/element.js +1 -1
- package/module/manifest.json +4 -4
- package/module/print.js +1 -1
- package/package.json +4 -4
- package/configure/node_modules/@pie-element/rubric/CHANGELOG.json +0 -257
- package/configure/node_modules/@pie-element/rubric/README.md +0 -3
- package/configure/node_modules/@pie-element/rubric/configure/CHANGELOG.json +0 -197
- package/configure/node_modules/@pie-element/rubric/configure/lib/defaults.js +0 -68
- package/configure/node_modules/@pie-element/rubric/configure/lib/defaults.js.map +0 -1
- package/configure/node_modules/@pie-element/rubric/configure/lib/index.js.map +0 -1
- package/configure/node_modules/@pie-element/rubric/configure/lib/main.js +0 -162
- package/configure/node_modules/@pie-element/rubric/configure/lib/main.js.map +0 -1
- package/configure/node_modules/@pie-element/rubric/configure/lib/pie-toolbox-rubric/authoring.js +0 -573
- package/configure/node_modules/@pie-element/rubric/configure/lib/pie-toolbox-rubric/authoring.js.map +0 -1
- package/configure/node_modules/@pie-element/rubric/configure/lib/pie-toolbox-rubric/index.js +0 -24
- package/configure/node_modules/@pie-element/rubric/configure/lib/pie-toolbox-rubric/index.js.map +0 -1
- package/configure/node_modules/@pie-element/rubric/configure/lib/pie-toolbox-rubric/point-menu.js +0 -172
- package/configure/node_modules/@pie-element/rubric/configure/lib/pie-toolbox-rubric/point-menu.js.map +0 -1
- package/configure/node_modules/@pie-element/rubric/configure/package.json +0 -17
- package/configure/node_modules/@pie-element/rubric/configure/src/__tests__/index.test.jsx +0 -167
- package/configure/node_modules/@pie-element/rubric/configure/src/defaults.js +0 -42
- package/configure/node_modules/@pie-element/rubric/configure/src/index.js +0 -129
- package/configure/node_modules/@pie-element/rubric/configure/src/main.jsx +0 -89
- package/configure/node_modules/@pie-element/rubric/configure/src/pie-toolbox-rubric/authoring.jsx +0 -449
- package/configure/node_modules/@pie-element/rubric/configure/src/pie-toolbox-rubric/index.js +0 -9
- package/configure/node_modules/@pie-element/rubric/configure/src/pie-toolbox-rubric/point-menu.jsx +0 -94
- package/configure/node_modules/@pie-element/rubric/controller/CHANGELOG.json +0 -17
- package/configure/node_modules/@pie-element/rubric/controller/lib/defaults.js.map +0 -1
- package/configure/node_modules/@pie-element/rubric/controller/lib/index.js +0 -59
- package/configure/node_modules/@pie-element/rubric/controller/lib/index.js.map +0 -1
- package/configure/node_modules/@pie-element/rubric/controller/package.json +0 -13
- package/configure/node_modules/@pie-element/rubric/controller/src/__tests__/index.test.js +0 -33
- package/configure/node_modules/@pie-element/rubric/controller/src/defaults.js +0 -8
- package/configure/node_modules/@pie-element/rubric/controller/src/index.js +0 -41
- package/configure/node_modules/@pie-element/rubric/docs/config-schema.json +0 -712
- package/configure/node_modules/@pie-element/rubric/docs/demo/generate.js +0 -8
- package/configure/node_modules/@pie-element/rubric/docs/demo/index.html +0 -2
- package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json +0 -391
- package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json.md +0 -281
- package/configure/node_modules/@pie-element/rubric/lib/index.js.map +0 -1
- package/configure/node_modules/@pie-element/rubric/lib/main.js +0 -270
- package/configure/node_modules/@pie-element/rubric/lib/main.js.map +0 -1
- package/configure/node_modules/@pie-element/rubric/lib/print.js +0 -114
- package/configure/node_modules/@pie-element/rubric/lib/print.js.map +0 -1
- package/configure/node_modules/@pie-element/rubric/module/configure.js +0 -42661
- package/configure/node_modules/@pie-element/rubric/module/controller.js +0 -113
- package/configure/node_modules/@pie-element/rubric/module/demo.js +0 -33
- package/configure/node_modules/@pie-element/rubric/module/element.js +0 -7980
- package/configure/node_modules/@pie-element/rubric/module/index.html +0 -21
- package/configure/node_modules/@pie-element/rubric/module/manifest.json +0 -14
- package/configure/node_modules/@pie-element/rubric/module/print-demo.js +0 -71
- package/configure/node_modules/@pie-element/rubric/module/print.html +0 -18
- package/configure/node_modules/@pie-element/rubric/module/print.js +0 -7993
- package/configure/node_modules/@pie-element/rubric/src/__tests__/__snapshots__/rubric-view.test.jsx.snap +0 -1815
- package/configure/node_modules/@pie-element/rubric/src/__tests__/rubric-view.test.jsx +0 -49
- package/configure/node_modules/@pie-element/rubric/src/index.js +0 -37
- package/configure/node_modules/@pie-element/rubric/src/main.jsx +0 -196
- package/configure/node_modules/@pie-element/rubric/src/print.js +0 -63
- /package/configure/node_modules/@pie-element/{rubric → multi-trait-rubric}/LICENSE.md +0 -0
|
@@ -1,42 +1,136 @@
|
|
|
1
|
+
Model for the MultiTraitRubric Interaction
|
|
2
|
+
|
|
1
3
|
The schema defines the following properties:
|
|
2
4
|
|
|
3
|
-
# `
|
|
5
|
+
# `halfScoring` (boolean)
|
|
6
|
+
|
|
7
|
+
Indicates if half scoring is enabled
|
|
8
|
+
|
|
9
|
+
# `pointLabels` (boolean)
|
|
10
|
+
|
|
11
|
+
Indicates if point labels should be shown
|
|
12
|
+
|
|
13
|
+
# `visibleToStudent` (boolean)
|
|
14
|
+
|
|
15
|
+
Indicates if should be visible to student
|
|
16
|
+
|
|
17
|
+
# `description` (boolean)
|
|
18
|
+
|
|
19
|
+
Indicates if description should be shown
|
|
20
|
+
|
|
21
|
+
# `standards` (boolean)
|
|
22
|
+
|
|
23
|
+
Indicates if standards should be shown
|
|
24
|
+
|
|
25
|
+
# `excludeZero` (boolean)
|
|
26
|
+
|
|
27
|
+
Indicates if scoring should start at 0 or 1
|
|
28
|
+
|
|
29
|
+
# `spellCheckEnabled` (boolean, required)
|
|
30
|
+
|
|
31
|
+
Indicates if spellcheck is enabled for the author. Default value is true
|
|
32
|
+
|
|
33
|
+
# `scales` (array, required)
|
|
34
|
+
|
|
35
|
+
scales
|
|
36
|
+
|
|
37
|
+
The object is an array with all elements of the type `object`.
|
|
38
|
+
|
|
39
|
+
The array object has the following properties:
|
|
40
|
+
|
|
41
|
+
## `maxPoints` (number, required)
|
|
42
|
+
|
|
43
|
+
Indicates max limit for scoring points
|
|
44
|
+
|
|
45
|
+
## `scorePointsLabels` (array, required)
|
|
46
|
+
|
|
47
|
+
Score labels. Starting from 0 to max.
|
|
48
|
+
|
|
49
|
+
The object is an array with all elements of the type `string`.
|
|
50
|
+
|
|
51
|
+
## `traitLabel` (string, required)
|
|
52
|
+
|
|
53
|
+
Trait label
|
|
54
|
+
|
|
55
|
+
## `traits` (array, required)
|
|
56
|
+
|
|
57
|
+
Traits
|
|
58
|
+
|
|
59
|
+
The object is an array with all elements of the type `object`.
|
|
60
|
+
|
|
61
|
+
The array object has the following properties:
|
|
62
|
+
|
|
63
|
+
### `name` (string, required)
|
|
64
|
+
|
|
65
|
+
Trait name
|
|
66
|
+
|
|
67
|
+
### `standards` (array, required)
|
|
68
|
+
|
|
69
|
+
Trait standards
|
|
4
70
|
|
|
5
|
-
|
|
71
|
+
The object is an array with all elements of the type `string`.
|
|
6
72
|
|
|
7
|
-
|
|
73
|
+
### `description` (string, required)
|
|
74
|
+
|
|
75
|
+
Trait description
|
|
76
|
+
|
|
77
|
+
### `scorePointsDescriptors` (array, required)
|
|
78
|
+
|
|
79
|
+
Score point descriptors. Starting from 0 to max.
|
|
80
|
+
|
|
81
|
+
The object is an array with all elements of the type `string`.
|
|
82
|
+
|
|
83
|
+
# `id` (string, required)
|
|
84
|
+
|
|
85
|
+
Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
|
|
86
|
+
|
|
87
|
+
# `element` (string, required)
|
|
88
|
+
|
|
89
|
+
The html Element tag name
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
# Sub Schemas
|
|
94
|
+
|
|
95
|
+
The schema defines the following additional types:
|
|
96
|
+
|
|
97
|
+
## `EditableHtmlConfigureProp` (object)
|
|
98
|
+
|
|
99
|
+
Properties of the `EditableHtmlConfigureProp` object:
|
|
100
|
+
|
|
101
|
+
### `math` (object)
|
|
8
102
|
|
|
9
103
|
Properties of the `math` object:
|
|
10
104
|
|
|
11
|
-
|
|
105
|
+
#### `disabled` (boolean)
|
|
12
106
|
|
|
13
107
|
Indicates if the plugin is disabled or not
|
|
14
108
|
|
|
15
|
-
|
|
109
|
+
### `audio` (object)
|
|
16
110
|
|
|
17
111
|
Properties of the `audio` object:
|
|
18
112
|
|
|
19
|
-
|
|
113
|
+
#### `disabled` (boolean)
|
|
20
114
|
|
|
21
115
|
Indicates if the plugin is disabled or not
|
|
22
116
|
|
|
23
|
-
|
|
117
|
+
### `video` (object)
|
|
24
118
|
|
|
25
119
|
Properties of the `video` object:
|
|
26
120
|
|
|
27
|
-
|
|
121
|
+
#### `disabled` (boolean)
|
|
28
122
|
|
|
29
123
|
Indicates if the plugin is disabled or not
|
|
30
124
|
|
|
31
|
-
|
|
125
|
+
### `image` (object)
|
|
32
126
|
|
|
33
127
|
Properties of the `image` object:
|
|
34
128
|
|
|
35
|
-
|
|
129
|
+
#### `disabled` (boolean)
|
|
36
130
|
|
|
37
131
|
Indicates if the plugin is disabled or not
|
|
38
132
|
|
|
39
|
-
|
|
133
|
+
### `customPlugins` (array)
|
|
40
134
|
|
|
41
135
|
An array of objects that determine custom plugins.
|
|
42
136
|
A custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).
|
|
@@ -46,288 +140,217 @@ The object is an array with all elements of the type `object`.
|
|
|
46
140
|
|
|
47
141
|
The array object has the following properties:
|
|
48
142
|
|
|
49
|
-
|
|
143
|
+
#### `event` (string, required)
|
|
50
144
|
|
|
51
145
|
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
52
146
|
PIE will emit the event prefixed with "PIE-".
|
|
53
147
|
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
54
148
|
|
|
55
|
-
|
|
149
|
+
#### `iconAlt` (string, required)
|
|
56
150
|
|
|
57
151
|
The alt for the custom button icon
|
|
58
152
|
|
|
59
|
-
|
|
153
|
+
#### `iconType` (string, required)
|
|
60
154
|
|
|
61
155
|
The icon type.
|
|
62
156
|
Currently, only "SVG" is supported.
|
|
63
157
|
|
|
64
|
-
|
|
158
|
+
#### `icon` (string, required)
|
|
65
159
|
|
|
66
160
|
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
67
161
|
|
|
68
|
-
|
|
162
|
+
### `blockquote` (object)
|
|
69
163
|
|
|
70
164
|
Properties of the `blockquote` object:
|
|
71
165
|
|
|
72
|
-
|
|
166
|
+
#### `disabled` (boolean)
|
|
73
167
|
|
|
74
168
|
Indicates if the plugin is disabled or not
|
|
75
169
|
|
|
76
|
-
|
|
170
|
+
### `h3` (object)
|
|
77
171
|
|
|
78
172
|
Properties of the `h3` object:
|
|
79
173
|
|
|
80
|
-
|
|
174
|
+
#### `disabled` (boolean)
|
|
81
175
|
|
|
82
176
|
Indicates if the plugin is disabled or not
|
|
83
177
|
|
|
84
|
-
|
|
178
|
+
### `characters` (object)
|
|
85
179
|
|
|
86
180
|
Properties of the `characters` object:
|
|
87
181
|
|
|
88
|
-
|
|
182
|
+
#### `disabled` (boolean)
|
|
89
183
|
|
|
90
184
|
Indicates if the plugin is disabled or not
|
|
91
185
|
|
|
92
|
-
|
|
186
|
+
### `bold` (object)
|
|
93
187
|
|
|
94
188
|
Properties of the `bold` object:
|
|
95
189
|
|
|
96
|
-
|
|
190
|
+
#### `disabled` (boolean)
|
|
97
191
|
|
|
98
192
|
Indicates if the plugin is disabled or not
|
|
99
193
|
|
|
100
|
-
|
|
194
|
+
### `html` (object)
|
|
101
195
|
|
|
102
196
|
Properties of the `html` object:
|
|
103
197
|
|
|
104
|
-
|
|
198
|
+
#### `disabled` (boolean)
|
|
105
199
|
|
|
106
200
|
Indicates if the plugin is disabled or not
|
|
107
201
|
|
|
108
|
-
|
|
202
|
+
### `italic` (object)
|
|
109
203
|
|
|
110
204
|
Properties of the `italic` object:
|
|
111
205
|
|
|
112
|
-
|
|
206
|
+
#### `disabled` (boolean)
|
|
113
207
|
|
|
114
208
|
Indicates if the plugin is disabled or not
|
|
115
209
|
|
|
116
|
-
|
|
210
|
+
### `ol_list` (object)
|
|
117
211
|
|
|
118
212
|
Properties of the `ol_list` object:
|
|
119
213
|
|
|
120
|
-
|
|
214
|
+
#### `disabled` (boolean)
|
|
121
215
|
|
|
122
216
|
Indicates if the plugin is disabled or not
|
|
123
217
|
|
|
124
|
-
|
|
218
|
+
### `redo` (object)
|
|
125
219
|
|
|
126
220
|
Properties of the `redo` object:
|
|
127
221
|
|
|
128
|
-
|
|
222
|
+
#### `disabled` (boolean)
|
|
129
223
|
|
|
130
224
|
Indicates if the plugin is disabled or not
|
|
131
225
|
|
|
132
|
-
|
|
226
|
+
### `strikethrough` (object)
|
|
133
227
|
|
|
134
228
|
Properties of the `strikethrough` object:
|
|
135
229
|
|
|
136
|
-
|
|
230
|
+
#### `disabled` (boolean)
|
|
137
231
|
|
|
138
232
|
Indicates if the plugin is disabled or not
|
|
139
233
|
|
|
140
|
-
|
|
234
|
+
### `sub` (object)
|
|
141
235
|
|
|
142
236
|
Properties of the `sub` object:
|
|
143
237
|
|
|
144
|
-
|
|
238
|
+
#### `disabled` (boolean)
|
|
145
239
|
|
|
146
240
|
Indicates if the plugin is disabled or not
|
|
147
241
|
|
|
148
|
-
|
|
242
|
+
### `sup` (object)
|
|
149
243
|
|
|
150
244
|
Properties of the `sup` object:
|
|
151
245
|
|
|
152
|
-
|
|
246
|
+
#### `disabled` (boolean)
|
|
153
247
|
|
|
154
248
|
Indicates if the plugin is disabled or not
|
|
155
249
|
|
|
156
|
-
|
|
250
|
+
### `table` (object)
|
|
157
251
|
|
|
158
252
|
Properties of the `table` object:
|
|
159
253
|
|
|
160
|
-
|
|
254
|
+
#### `disabled` (boolean)
|
|
161
255
|
|
|
162
256
|
Indicates if the plugin is disabled or not
|
|
163
257
|
|
|
164
|
-
|
|
258
|
+
### `ul_list` (object)
|
|
165
259
|
|
|
166
260
|
Properties of the `ul_list` object:
|
|
167
261
|
|
|
168
|
-
|
|
262
|
+
#### `disabled` (boolean)
|
|
169
263
|
|
|
170
264
|
Indicates if the plugin is disabled or not
|
|
171
265
|
|
|
172
|
-
|
|
266
|
+
### `underline` (object)
|
|
173
267
|
|
|
174
268
|
Properties of the `underline` object:
|
|
175
269
|
|
|
176
|
-
|
|
270
|
+
#### `disabled` (boolean)
|
|
177
271
|
|
|
178
272
|
Indicates if the plugin is disabled or not
|
|
179
273
|
|
|
180
|
-
|
|
274
|
+
### `undo` (object)
|
|
181
275
|
|
|
182
276
|
Properties of the `undo` object:
|
|
183
277
|
|
|
184
|
-
|
|
278
|
+
#### `disabled` (boolean)
|
|
185
279
|
|
|
186
280
|
Indicates if the plugin is disabled or not
|
|
187
281
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
Indicates if the settings panel is not available
|
|
191
|
-
|
|
192
|
-
# `showExcludeZero` (object)
|
|
193
|
-
|
|
194
|
-
Properties of the `showExcludeZero` object:
|
|
195
|
-
|
|
196
|
-
## `settings` (boolean)
|
|
197
|
-
|
|
198
|
-
Indicates if the item has to be displayed in the Settings Panel
|
|
199
|
-
|
|
200
|
-
## `label` (string)
|
|
201
|
-
|
|
202
|
-
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
203
|
-
|
|
204
|
-
# `showMaxPoint` (object)
|
|
205
|
-
|
|
206
|
-
Properties of the `showMaxPoint` object:
|
|
207
|
-
|
|
208
|
-
## `settings` (boolean)
|
|
209
|
-
|
|
210
|
-
Indicates if the item has to be displayed in the Settings Panel
|
|
211
|
-
|
|
212
|
-
## `label` (string)
|
|
213
|
-
|
|
214
|
-
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
215
|
-
|
|
216
|
-
# `width` (string)
|
|
217
|
-
|
|
218
|
-
How large can the rubric be
|
|
219
|
-
|
|
220
|
-
# `mathMlOptions` (object)
|
|
221
|
-
|
|
222
|
-
Properties of the `mathMlOptions` object:
|
|
223
|
-
|
|
224
|
-
## `mmlOutput` (number)
|
|
225
|
-
|
|
226
|
-
Indicates if model should have mathML output instead of latex
|
|
227
|
-
|
|
228
|
-
## `mmlEditing` (number)
|
|
229
|
-
|
|
230
|
-
Indicates if mathML that's already in model should be editable
|
|
231
|
-
|
|
232
|
-
# `maxMaxPoints` (number)
|
|
233
|
-
|
|
234
|
-
Indicates the max limit for scoring points
|
|
235
|
-
|
|
236
|
-
# `showPrompt` (boolean)
|
|
237
|
-
|
|
238
|
-
Determines whether prompt field will be displayed or not
|
|
239
|
-
|
|
240
|
-
Default: `true`
|
|
241
|
-
|
|
242
|
-
# `promptLabel` (string)
|
|
243
|
-
|
|
244
|
-
The label for the item stem/prompt field
|
|
245
|
-
|
|
246
|
-
Default: `"Item Stemm"`
|
|
247
|
-
|
|
248
|
-
# `contentDimensions` (object)
|
|
249
|
-
|
|
250
|
-
Indicates the dimensions configuration for the authoring container
|
|
251
|
-
Note: Some items have a default minimum width because of their content, but if
|
|
252
|
-
the minWidth is lower than this, the overflow behavior will take care of that
|
|
253
|
-
|
|
254
|
-
Properties of the `contentDimensions` object:
|
|
255
|
-
|
|
256
|
-
## `maxHeight` (string,number)
|
|
257
|
-
|
|
258
|
-
Indicates the max height of the authoring container
|
|
282
|
+
## `EditableHtmlButtonConfigure` (object)
|
|
259
283
|
|
|
260
|
-
|
|
284
|
+
Properties of the `EditableHtmlButtonConfigure` object:
|
|
261
285
|
|
|
262
|
-
|
|
286
|
+
### `disabled` (boolean)
|
|
263
287
|
|
|
264
|
-
Indicates the
|
|
288
|
+
Indicates if the plugin is disabled or not
|
|
265
289
|
|
|
266
|
-
|
|
290
|
+
## `CustomPlugin` (object)
|
|
267
291
|
|
|
268
|
-
|
|
292
|
+
Properties of the `CustomPlugin` object:
|
|
269
293
|
|
|
270
|
-
|
|
294
|
+
### `event` (string, required)
|
|
271
295
|
|
|
272
|
-
|
|
296
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
297
|
+
PIE will emit the event prefixed with "PIE-".
|
|
298
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
273
299
|
|
|
274
|
-
|
|
300
|
+
### `iconAlt` (string, required)
|
|
275
301
|
|
|
276
|
-
|
|
302
|
+
The alt for the custom button icon
|
|
277
303
|
|
|
278
|
-
|
|
304
|
+
### `iconType` (string, required)
|
|
279
305
|
|
|
280
|
-
|
|
306
|
+
The icon type.
|
|
307
|
+
Currently, only "SVG" is supported.
|
|
281
308
|
|
|
282
|
-
|
|
309
|
+
### `icon` (string, required)
|
|
283
310
|
|
|
284
|
-
|
|
311
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
285
312
|
|
|
286
|
-
|
|
313
|
+
## `EditableHtmlPluginConfigure` (object)
|
|
287
314
|
|
|
288
|
-
|
|
315
|
+
Properties of the `EditableHtmlPluginConfigure` object:
|
|
289
316
|
|
|
290
|
-
|
|
317
|
+
### `inputConfiguration` (object)
|
|
291
318
|
|
|
292
|
-
|
|
319
|
+
Properties of the `inputConfiguration` object:
|
|
293
320
|
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
Properties of the `EditableHtmlConfigureProp` object:
|
|
297
|
-
|
|
298
|
-
### `math` (object)
|
|
321
|
+
#### `math` (object)
|
|
299
322
|
|
|
300
323
|
Properties of the `math` object:
|
|
301
324
|
|
|
302
|
-
|
|
325
|
+
##### `disabled` (boolean)
|
|
303
326
|
|
|
304
327
|
Indicates if the plugin is disabled or not
|
|
305
328
|
|
|
306
|
-
|
|
329
|
+
#### `audio` (object)
|
|
307
330
|
|
|
308
331
|
Properties of the `audio` object:
|
|
309
332
|
|
|
310
|
-
|
|
333
|
+
##### `disabled` (boolean)
|
|
311
334
|
|
|
312
335
|
Indicates if the plugin is disabled or not
|
|
313
336
|
|
|
314
|
-
|
|
337
|
+
#### `video` (object)
|
|
315
338
|
|
|
316
339
|
Properties of the `video` object:
|
|
317
340
|
|
|
318
|
-
|
|
341
|
+
##### `disabled` (boolean)
|
|
319
342
|
|
|
320
343
|
Indicates if the plugin is disabled or not
|
|
321
344
|
|
|
322
|
-
|
|
345
|
+
#### `image` (object)
|
|
323
346
|
|
|
324
347
|
Properties of the `image` object:
|
|
325
348
|
|
|
326
|
-
|
|
349
|
+
##### `disabled` (boolean)
|
|
327
350
|
|
|
328
351
|
Indicates if the plugin is disabled or not
|
|
329
352
|
|
|
330
|
-
|
|
353
|
+
#### `customPlugins` (array)
|
|
331
354
|
|
|
332
355
|
An array of objects that determine custom plugins.
|
|
333
356
|
A custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).
|
|
@@ -337,175 +360,164 @@ The object is an array with all elements of the type `object`.
|
|
|
337
360
|
|
|
338
361
|
The array object has the following properties:
|
|
339
362
|
|
|
340
|
-
|
|
363
|
+
##### `event` (string, required)
|
|
341
364
|
|
|
342
365
|
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
343
366
|
PIE will emit the event prefixed with "PIE-".
|
|
344
367
|
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
345
368
|
|
|
346
|
-
|
|
369
|
+
##### `iconAlt` (string, required)
|
|
347
370
|
|
|
348
371
|
The alt for the custom button icon
|
|
349
372
|
|
|
350
|
-
|
|
373
|
+
##### `iconType` (string, required)
|
|
351
374
|
|
|
352
375
|
The icon type.
|
|
353
376
|
Currently, only "SVG" is supported.
|
|
354
377
|
|
|
355
|
-
|
|
378
|
+
##### `icon` (string, required)
|
|
356
379
|
|
|
357
380
|
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
358
381
|
|
|
359
|
-
|
|
382
|
+
#### `blockquote` (object)
|
|
360
383
|
|
|
361
384
|
Properties of the `blockquote` object:
|
|
362
385
|
|
|
363
|
-
|
|
386
|
+
##### `disabled` (boolean)
|
|
364
387
|
|
|
365
388
|
Indicates if the plugin is disabled or not
|
|
366
389
|
|
|
367
|
-
|
|
390
|
+
#### `h3` (object)
|
|
368
391
|
|
|
369
392
|
Properties of the `h3` object:
|
|
370
393
|
|
|
371
|
-
|
|
394
|
+
##### `disabled` (boolean)
|
|
372
395
|
|
|
373
396
|
Indicates if the plugin is disabled or not
|
|
374
397
|
|
|
375
|
-
|
|
398
|
+
#### `characters` (object)
|
|
376
399
|
|
|
377
400
|
Properties of the `characters` object:
|
|
378
401
|
|
|
379
|
-
|
|
402
|
+
##### `disabled` (boolean)
|
|
380
403
|
|
|
381
404
|
Indicates if the plugin is disabled or not
|
|
382
405
|
|
|
383
|
-
|
|
406
|
+
#### `bold` (object)
|
|
384
407
|
|
|
385
408
|
Properties of the `bold` object:
|
|
386
409
|
|
|
387
|
-
|
|
410
|
+
##### `disabled` (boolean)
|
|
388
411
|
|
|
389
412
|
Indicates if the plugin is disabled or not
|
|
390
413
|
|
|
391
|
-
|
|
414
|
+
#### `html` (object)
|
|
392
415
|
|
|
393
416
|
Properties of the `html` object:
|
|
394
417
|
|
|
395
|
-
|
|
418
|
+
##### `disabled` (boolean)
|
|
396
419
|
|
|
397
420
|
Indicates if the plugin is disabled or not
|
|
398
421
|
|
|
399
|
-
|
|
422
|
+
#### `italic` (object)
|
|
400
423
|
|
|
401
424
|
Properties of the `italic` object:
|
|
402
425
|
|
|
403
|
-
|
|
426
|
+
##### `disabled` (boolean)
|
|
404
427
|
|
|
405
428
|
Indicates if the plugin is disabled or not
|
|
406
429
|
|
|
407
|
-
|
|
430
|
+
#### `ol_list` (object)
|
|
408
431
|
|
|
409
432
|
Properties of the `ol_list` object:
|
|
410
433
|
|
|
411
|
-
|
|
434
|
+
##### `disabled` (boolean)
|
|
412
435
|
|
|
413
436
|
Indicates if the plugin is disabled or not
|
|
414
437
|
|
|
415
|
-
|
|
438
|
+
#### `redo` (object)
|
|
416
439
|
|
|
417
440
|
Properties of the `redo` object:
|
|
418
441
|
|
|
419
|
-
|
|
442
|
+
##### `disabled` (boolean)
|
|
420
443
|
|
|
421
444
|
Indicates if the plugin is disabled or not
|
|
422
445
|
|
|
423
|
-
|
|
446
|
+
#### `strikethrough` (object)
|
|
424
447
|
|
|
425
448
|
Properties of the `strikethrough` object:
|
|
426
449
|
|
|
427
|
-
|
|
450
|
+
##### `disabled` (boolean)
|
|
428
451
|
|
|
429
452
|
Indicates if the plugin is disabled or not
|
|
430
453
|
|
|
431
|
-
|
|
454
|
+
#### `sub` (object)
|
|
432
455
|
|
|
433
456
|
Properties of the `sub` object:
|
|
434
457
|
|
|
435
|
-
|
|
458
|
+
##### `disabled` (boolean)
|
|
436
459
|
|
|
437
460
|
Indicates if the plugin is disabled or not
|
|
438
461
|
|
|
439
|
-
|
|
462
|
+
#### `sup` (object)
|
|
440
463
|
|
|
441
464
|
Properties of the `sup` object:
|
|
442
465
|
|
|
443
|
-
|
|
466
|
+
##### `disabled` (boolean)
|
|
444
467
|
|
|
445
468
|
Indicates if the plugin is disabled or not
|
|
446
469
|
|
|
447
|
-
|
|
470
|
+
#### `table` (object)
|
|
448
471
|
|
|
449
472
|
Properties of the `table` object:
|
|
450
473
|
|
|
451
|
-
|
|
474
|
+
##### `disabled` (boolean)
|
|
452
475
|
|
|
453
476
|
Indicates if the plugin is disabled or not
|
|
454
477
|
|
|
455
|
-
|
|
478
|
+
#### `ul_list` (object)
|
|
456
479
|
|
|
457
480
|
Properties of the `ul_list` object:
|
|
458
481
|
|
|
459
|
-
|
|
482
|
+
##### `disabled` (boolean)
|
|
460
483
|
|
|
461
484
|
Indicates if the plugin is disabled or not
|
|
462
485
|
|
|
463
|
-
|
|
486
|
+
#### `underline` (object)
|
|
464
487
|
|
|
465
488
|
Properties of the `underline` object:
|
|
466
489
|
|
|
467
|
-
|
|
490
|
+
##### `disabled` (boolean)
|
|
468
491
|
|
|
469
492
|
Indicates if the plugin is disabled or not
|
|
470
493
|
|
|
471
|
-
|
|
494
|
+
#### `undo` (object)
|
|
472
495
|
|
|
473
496
|
Properties of the `undo` object:
|
|
474
497
|
|
|
475
|
-
|
|
498
|
+
##### `disabled` (boolean)
|
|
476
499
|
|
|
477
500
|
Indicates if the plugin is disabled or not
|
|
478
501
|
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
Properties of the `EditableHtmlButtonConfigure` object:
|
|
482
|
-
|
|
483
|
-
### `disabled` (boolean)
|
|
484
|
-
|
|
485
|
-
Indicates if the plugin is disabled or not
|
|
486
|
-
|
|
487
|
-
## `CustomPlugin` (object)
|
|
502
|
+
### `settings` (boolean)
|
|
488
503
|
|
|
489
|
-
|
|
504
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
490
505
|
|
|
491
|
-
### `
|
|
506
|
+
### `label` (string)
|
|
492
507
|
|
|
493
|
-
|
|
494
|
-
PIE will emit the event prefixed with "PIE-".
|
|
495
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
508
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
496
509
|
|
|
497
|
-
|
|
510
|
+
## `DialogContent` (object)
|
|
498
511
|
|
|
499
|
-
|
|
512
|
+
Properties of the `DialogContent` object:
|
|
500
513
|
|
|
501
|
-
### `
|
|
514
|
+
### `title` (string)
|
|
502
515
|
|
|
503
|
-
|
|
504
|
-
Currently, only "SVG" is supported.
|
|
516
|
+
Dialog box title
|
|
505
517
|
|
|
506
|
-
### `
|
|
518
|
+
### `text` (string)
|
|
507
519
|
|
|
508
|
-
|
|
520
|
+
Dialog box text
|
|
509
521
|
|
|
510
522
|
## `ConfigureProp` (object)
|
|
511
523
|
|
|
@@ -529,4 +541,74 @@ Indicates if model should have mathML output instead of latex
|
|
|
529
541
|
|
|
530
542
|
### `mmlEditing` (number)
|
|
531
543
|
|
|
532
|
-
Indicates if mathML that's already in model should be editable
|
|
544
|
+
Indicates if mathML that's already in model should be editable
|
|
545
|
+
|
|
546
|
+
## `Scale` (object)
|
|
547
|
+
|
|
548
|
+
Properties of the `Scale` object:
|
|
549
|
+
|
|
550
|
+
### `maxPoints` (number, required)
|
|
551
|
+
|
|
552
|
+
Indicates max limit for scoring points
|
|
553
|
+
|
|
554
|
+
### `scorePointsLabels` (array, required)
|
|
555
|
+
|
|
556
|
+
Score labels. Starting from 0 to max.
|
|
557
|
+
|
|
558
|
+
The object is an array with all elements of the type `string`.
|
|
559
|
+
|
|
560
|
+
### `traitLabel` (string, required)
|
|
561
|
+
|
|
562
|
+
Trait label
|
|
563
|
+
|
|
564
|
+
### `traits` (array, required)
|
|
565
|
+
|
|
566
|
+
Traits
|
|
567
|
+
|
|
568
|
+
The object is an array with all elements of the type `object`.
|
|
569
|
+
|
|
570
|
+
The array object has the following properties:
|
|
571
|
+
|
|
572
|
+
#### `name` (string, required)
|
|
573
|
+
|
|
574
|
+
Trait name
|
|
575
|
+
|
|
576
|
+
#### `standards` (array, required)
|
|
577
|
+
|
|
578
|
+
Trait standards
|
|
579
|
+
|
|
580
|
+
The object is an array with all elements of the type `string`.
|
|
581
|
+
|
|
582
|
+
#### `description` (string, required)
|
|
583
|
+
|
|
584
|
+
Trait description
|
|
585
|
+
|
|
586
|
+
#### `scorePointsDescriptors` (array, required)
|
|
587
|
+
|
|
588
|
+
Score point descriptors. Starting from 0 to max.
|
|
589
|
+
|
|
590
|
+
The object is an array with all elements of the type `string`.
|
|
591
|
+
|
|
592
|
+
## `Trait` (object)
|
|
593
|
+
|
|
594
|
+
Properties of the `Trait` object:
|
|
595
|
+
|
|
596
|
+
### `name` (string, required)
|
|
597
|
+
|
|
598
|
+
Trait name
|
|
599
|
+
|
|
600
|
+
### `standards` (array, required)
|
|
601
|
+
|
|
602
|
+
Trait standards
|
|
603
|
+
|
|
604
|
+
The object is an array with all elements of the type `string`.
|
|
605
|
+
|
|
606
|
+
### `description` (string, required)
|
|
607
|
+
|
|
608
|
+
Trait description
|
|
609
|
+
|
|
610
|
+
### `scorePointsDescriptors` (array, required)
|
|
611
|
+
|
|
612
|
+
Score point descriptors. Starting from 0 to max.
|
|
613
|
+
|
|
614
|
+
The object is an array with all elements of the type `string`.
|