@pie-element/math-inline 5.6.4-next.133 → 5.6.4-next.1332

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.
@@ -67,6 +67,22 @@
67
67
  }
68
68
  }
69
69
  },
70
+ "spellCheck": {
71
+ "title": "ConfigureProp",
72
+ "type": "object",
73
+ "properties": {
74
+ "settings": {
75
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
76
+ "type": "boolean",
77
+ "title": "settings"
78
+ },
79
+ "label": {
80
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
81
+ "type": "string",
82
+ "title": "label"
83
+ }
84
+ }
85
+ },
70
86
  "scoringType": {
71
87
  "title": "ConfigureProp",
72
88
  "type": "object",
@@ -115,6 +131,95 @@
115
131
  }
116
132
  }
117
133
  },
134
+ "ignoreOrder": {
135
+ "title": "ConfigurePropWithEnabled",
136
+ "type": "object",
137
+ "properties": {
138
+ "settings": {
139
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
140
+ "type": "boolean",
141
+ "title": "settings"
142
+ },
143
+ "label": {
144
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
145
+ "type": "string",
146
+ "title": "label"
147
+ },
148
+ "enabled": {
149
+ "description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
150
+ "type": "boolean",
151
+ "title": "enabled"
152
+ }
153
+ }
154
+ },
155
+ "allowTrailingZeros": {
156
+ "title": "ConfigurePropWithEnabled",
157
+ "type": "object",
158
+ "properties": {
159
+ "settings": {
160
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
161
+ "type": "boolean",
162
+ "title": "settings"
163
+ },
164
+ "label": {
165
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
166
+ "type": "string",
167
+ "title": "label"
168
+ },
169
+ "enabled": {
170
+ "description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
171
+ "type": "boolean",
172
+ "title": "enabled"
173
+ }
174
+ }
175
+ },
176
+ "maxResponseAreas": {
177
+ "description": "Maximum number of response areas",
178
+ "type": "number",
179
+ "title": "maxResponseAreas"
180
+ },
181
+ "maxImageWidth": {
182
+ "title": "ConfigureMaxImageDimensionsProp",
183
+ "type": "object",
184
+ "properties": {
185
+ "teacherInstructions": {
186
+ "description": "Indicates the max dimension for images in teacher instructions",
187
+ "type": "number",
188
+ "title": "teacherInstructions"
189
+ },
190
+ "prompt": {
191
+ "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
192
+ "type": "number",
193
+ "title": "prompt"
194
+ },
195
+ "rationale": {
196
+ "description": "Indicates the max dimension for images in rationale",
197
+ "type": "number",
198
+ "title": "rationale"
199
+ }
200
+ }
201
+ },
202
+ "maxImageHeight": {
203
+ "title": "ConfigureMaxImageDimensionsProp",
204
+ "type": "object",
205
+ "properties": {
206
+ "teacherInstructions": {
207
+ "description": "Indicates the max dimension for images in teacher instructions",
208
+ "type": "number",
209
+ "title": "teacherInstructions"
210
+ },
211
+ "prompt": {
212
+ "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
213
+ "type": "number",
214
+ "title": "prompt"
215
+ },
216
+ "rationale": {
217
+ "description": "Indicates the max dimension for images in rationale",
218
+ "type": "number",
219
+ "title": "rationale"
220
+ }
221
+ }
222
+ },
118
223
  "showPrompt": {
119
224
  "description": "Determines whether prompt field will be displayed or not",
120
225
  "default": true,
@@ -150,6 +255,48 @@
150
255
  "title": "label"
151
256
  }
152
257
  }
258
+ },
259
+ "ConfigurePropWithEnabled": {
260
+ "title": "ConfigurePropWithEnabled",
261
+ "type": "object",
262
+ "properties": {
263
+ "settings": {
264
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
265
+ "type": "boolean",
266
+ "title": "settings"
267
+ },
268
+ "label": {
269
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
270
+ "type": "string",
271
+ "title": "label"
272
+ },
273
+ "enabled": {
274
+ "description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
275
+ "type": "boolean",
276
+ "title": "enabled"
277
+ }
278
+ }
279
+ },
280
+ "ConfigureMaxImageDimensionsProp": {
281
+ "title": "ConfigureMaxImageDimensionsProp",
282
+ "type": "object",
283
+ "properties": {
284
+ "teacherInstructions": {
285
+ "description": "Indicates the max dimension for images in teacher instructions",
286
+ "type": "number",
287
+ "title": "teacherInstructions"
288
+ },
289
+ "prompt": {
290
+ "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
291
+ "type": "number",
292
+ "title": "prompt"
293
+ },
294
+ "rationale": {
295
+ "description": "Indicates the max dimension for images in rationale",
296
+ "type": "number",
297
+ "title": "rationale"
298
+ }
299
+ }
153
300
  }
154
301
  },
155
302
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -50,6 +50,18 @@ Indicates if the item has to be displayed in the Settings Panel
50
50
 
51
51
  Indicates the label for the item that has to be displayed in the Settings Panel
52
52
 
53
+ # `spellCheck` (object)
54
+
55
+ Properties of the `spellCheck` object:
56
+
57
+ ## `settings` (boolean)
58
+
59
+ Indicates if the item has to be displayed in the Settings Panel
60
+
61
+ ## `label` (string)
62
+
63
+ Indicates the label for the item that has to be displayed in the Settings Panel
64
+
53
65
  # `scoringType` (object)
54
66
 
55
67
  Properties of the `scoringType` object:
@@ -86,6 +98,76 @@ Indicates if the item has to be displayed in the Settings Panel
86
98
 
87
99
  Indicates the label for the item that has to be displayed in the Settings Panel
88
100
 
101
+ # `ignoreOrder` (object)
102
+
103
+ Properties of the `ignoreOrder` object:
104
+
105
+ ## `settings` (boolean)
106
+
107
+ Indicates if the item has to be displayed in the Settings Panel
108
+
109
+ ## `label` (string)
110
+
111
+ Indicates the label for the item that has to be displayed in the Settings Panel
112
+
113
+ ## `enabled` (boolean)
114
+
115
+ Indicates the value of the item if it affects config-ui
116
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
117
+
118
+ # `allowTrailingZeros` (object)
119
+
120
+ Properties of the `allowTrailingZeros` object:
121
+
122
+ ## `settings` (boolean)
123
+
124
+ Indicates if the item has to be displayed in the Settings Panel
125
+
126
+ ## `label` (string)
127
+
128
+ Indicates the label for the item that has to be displayed in the Settings Panel
129
+
130
+ ## `enabled` (boolean)
131
+
132
+ Indicates the value of the item if it affects config-ui
133
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
134
+
135
+ # `maxResponseAreas` (number)
136
+
137
+ Maximum number of response areas
138
+
139
+ # `maxImageWidth` (object)
140
+
141
+ Properties of the `maxImageWidth` object:
142
+
143
+ ## `teacherInstructions` (number)
144
+
145
+ Indicates the max dimension for images in teacher instructions
146
+
147
+ ## `prompt` (number)
148
+
149
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
150
+
151
+ ## `rationale` (number)
152
+
153
+ Indicates the max dimension for images in rationale
154
+
155
+ # `maxImageHeight` (object)
156
+
157
+ Properties of the `maxImageHeight` object:
158
+
159
+ ## `teacherInstructions` (number)
160
+
161
+ Indicates the max dimension for images in teacher instructions
162
+
163
+ ## `prompt` (number)
164
+
165
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
166
+
167
+ ## `rationale` (number)
168
+
169
+ Indicates the max dimension for images in rationale
170
+
89
171
  # `showPrompt` (boolean)
90
172
 
91
173
  Determines whether prompt field will be displayed or not
@@ -120,4 +202,37 @@ Indicates if the item has to be displayed in the Settings Panel
120
202
 
121
203
  ### `label` (string)
122
204
 
123
- Indicates the label for the item that has to be displayed in the Settings Panel
205
+ Indicates the label for the item that has to be displayed in the Settings Panel
206
+
207
+ ## `ConfigurePropWithEnabled` (object)
208
+
209
+ Properties of the `ConfigurePropWithEnabled` object:
210
+
211
+ ### `settings` (boolean)
212
+
213
+ Indicates if the item has to be displayed in the Settings Panel
214
+
215
+ ### `label` (string)
216
+
217
+ Indicates the label for the item that has to be displayed in the Settings Panel
218
+
219
+ ### `enabled` (boolean)
220
+
221
+ Indicates the value of the item if it affects config-ui
222
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
223
+
224
+ ## `ConfigureMaxImageDimensionsProp` (object)
225
+
226
+ Properties of the `ConfigureMaxImageDimensionsProp` object:
227
+
228
+ ### `teacherInstructions` (number)
229
+
230
+ Indicates the max dimension for images in teacher instructions
231
+
232
+ ### `prompt` (number)
233
+
234
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
235
+
236
+ ### `rationale` (number)
237
+
238
+ Indicates the max dimension for images in rationale
@@ -24,7 +24,7 @@ const E262456 = {
24
24
  'responses': [
25
25
  {
26
26
  'allowSpaces': true,
27
- 'validation': 'symbolic',
27
+ // 'validation': 'symbolic',
28
28
  'answer': '$410',
29
29
  'id': '1'
30
30
  }
@@ -225,7 +225,7 @@
225
225
  },
226
226
  "validation": {
227
227
  "description": "Indicates what type of validation should be applied on the response",
228
- "default": "is symbolic",
228
+ "default": "is literal",
229
229
  "enum": [
230
230
  "literal",
231
231
  "symbolic"
@@ -233,6 +233,18 @@
233
233
  "type": "string",
234
234
  "title": "validation"
235
235
  },
236
+ "ignoreOrder": {
237
+ "description": "Indicates if the order of expression elements in literal validation can be ignore - whilst the expression is still mathematically correct",
238
+ "default": "is false",
239
+ "type": "boolean",
240
+ "title": "ignoreOrder"
241
+ },
242
+ "allowTrailingZeros": {
243
+ "description": "Indicates the allowance of trailing zeros in expressions - whilst the expression is still mathematically correct",
244
+ "default": "is false",
245
+ "type": "boolean",
246
+ "title": "allowTrailingZeros"
247
+ },
236
248
  "answer": {
237
249
  "description": "The answer for the question",
238
250
  "type": "string",
@@ -268,9 +280,11 @@
268
280
  }
269
281
  },
270
282
  "required": [
283
+ "allowTrailingZeros",
271
284
  "alternates",
272
285
  "answer",
273
286
  "id",
287
+ "ignoreOrder",
274
288
  "validation"
275
289
  ]
276
290
  },
@@ -290,7 +304,7 @@
290
304
  },
291
305
  "validation": {
292
306
  "description": "Indicates what type of validation should be applied on the response",
293
- "default": "is symbolic",
307
+ "default": "is literal",
294
308
  "enum": [
295
309
  "literal",
296
310
  "symbolic"
@@ -298,6 +312,18 @@
298
312
  "type": "string",
299
313
  "title": "validation"
300
314
  },
315
+ "ignoreOrder": {
316
+ "description": "Indicates if the order of expression elements in literal validation can be ignore - whilst the expression is still mathematically correct",
317
+ "default": "is false",
318
+ "type": "boolean",
319
+ "title": "ignoreOrder"
320
+ },
321
+ "allowTrailingZeros": {
322
+ "description": "Indicates the allowance of trailing zeros in expressions - whilst the expression is still mathematically correct",
323
+ "default": "is false",
324
+ "type": "boolean",
325
+ "title": "allowTrailingZeros"
326
+ },
301
327
  "answer": {
302
328
  "description": "The answer for the question",
303
329
  "type": "string",
@@ -333,9 +359,11 @@
333
359
  }
334
360
  },
335
361
  "required": [
362
+ "allowTrailingZeros",
336
363
  "alternates",
337
364
  "answer",
338
365
  "id",
366
+ "ignoreOrder",
339
367
  "validation"
340
368
  ]
341
369
  },
@@ -344,6 +372,18 @@
344
372
  "type": "boolean",
345
373
  "title": "partialScoring"
346
374
  },
375
+ "ignoreOrderDefault": {
376
+ "description": "Indicates the default value for ignoreOrder, in case that it's not set",
377
+ "default": "is false",
378
+ "type": "boolean",
379
+ "title": "ignoreOrderDefault"
380
+ },
381
+ "allowTrailingZerosDefault": {
382
+ "description": "Indicates the default value for allowTrailingZeros, in case that it's not set",
383
+ "default": "is false",
384
+ "type": "boolean",
385
+ "title": "allowTrailingZerosDefault"
386
+ },
347
387
  "rationale": {
348
388
  "description": "Indicates the value for rationale",
349
389
  "type": "string",
@@ -386,6 +426,11 @@
386
426
  "type": "boolean",
387
427
  "title": "rationaleEnabled"
388
428
  },
429
+ "spellCheckEnabled": {
430
+ "description": "Indicates if spellcheck is enabled for the author. Default value is true",
431
+ "type": "boolean",
432
+ "title": "spellCheckEnabled"
433
+ },
389
434
  "studentInstructionsEnabled": {
390
435
  "description": "Indicates if Student Instructions are enabled",
391
436
  "type": "boolean",
@@ -423,12 +468,15 @@
423
468
  }
424
469
  },
425
470
  "required": [
471
+ "allowTrailingZerosDefault",
426
472
  "element",
427
473
  "expression",
428
474
  "feedbackEnabled",
429
475
  "id",
476
+ "ignoreOrderDefault",
430
477
  "rationaleEnabled",
431
478
  "responses",
479
+ "spellCheckEnabled",
432
480
  "studentInstructionsEnabled",
433
481
  "teacherInstructionsEnabled"
434
482
  ],
@@ -449,6 +497,48 @@
449
497
  }
450
498
  }
451
499
  },
500
+ "ConfigurePropWithEnabled": {
501
+ "title": "ConfigurePropWithEnabled",
502
+ "type": "object",
503
+ "properties": {
504
+ "settings": {
505
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
506
+ "type": "boolean",
507
+ "title": "settings"
508
+ },
509
+ "label": {
510
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
511
+ "type": "string",
512
+ "title": "label"
513
+ },
514
+ "enabled": {
515
+ "description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
516
+ "type": "boolean",
517
+ "title": "enabled"
518
+ }
519
+ }
520
+ },
521
+ "ConfigureMaxImageDimensionsProp": {
522
+ "title": "ConfigureMaxImageDimensionsProp",
523
+ "type": "object",
524
+ "properties": {
525
+ "teacherInstructions": {
526
+ "description": "Indicates the max dimension for images in teacher instructions",
527
+ "type": "number",
528
+ "title": "teacherInstructions"
529
+ },
530
+ "prompt": {
531
+ "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
532
+ "type": "number",
533
+ "title": "prompt"
534
+ },
535
+ "rationale": {
536
+ "description": "Indicates the max dimension for images in rationale",
537
+ "type": "number",
538
+ "title": "rationale"
539
+ }
540
+ }
541
+ },
452
542
  "ComplexFeedbackType": {
453
543
  "title": "ComplexFeedbackType",
454
544
  "type": "object",
@@ -675,7 +765,7 @@
675
765
  },
676
766
  "validation": {
677
767
  "description": "Indicates what type of validation should be applied on the response",
678
- "default": "is symbolic",
768
+ "default": "is literal",
679
769
  "enum": [
680
770
  "literal",
681
771
  "symbolic"
@@ -683,6 +773,18 @@
683
773
  "type": "string",
684
774
  "title": "validation"
685
775
  },
776
+ "ignoreOrder": {
777
+ "description": "Indicates if the order of expression elements in literal validation can be ignore - whilst the expression is still mathematically correct",
778
+ "default": "is false",
779
+ "type": "boolean",
780
+ "title": "ignoreOrder"
781
+ },
782
+ "allowTrailingZeros": {
783
+ "description": "Indicates the allowance of trailing zeros in expressions - whilst the expression is still mathematically correct",
784
+ "default": "is false",
785
+ "type": "boolean",
786
+ "title": "allowTrailingZeros"
787
+ },
686
788
  "answer": {
687
789
  "description": "The answer for the question",
688
790
  "type": "string",
@@ -718,9 +820,11 @@
718
820
  }
719
821
  },
720
822
  "required": [
823
+ "allowTrailingZeros",
721
824
  "alternates",
722
825
  "answer",
723
826
  "id",
827
+ "ignoreOrder",
724
828
  "validation"
725
829
  ]
726
830
  },
@@ -746,4 +850,4 @@
746
850
  }
747
851
  },
748
852
  "$schema": "http://json-schema.org/draft-07/schema#"
749
- }
853
+ }
@@ -81,7 +81,19 @@ This element must be one of the following enum values:
81
81
  * `literal`
82
82
  * `symbolic`
83
83
 
84
- Default: `"is symbolic"`
84
+ Default: `"is literal"`
85
+
86
+ ## `ignoreOrder` (boolean, required)
87
+
88
+ Indicates if the order of expression elements in literal validation can be ignore - whilst the expression is still mathematically correct
89
+
90
+ Default: `"is false"`
91
+
92
+ ## `allowTrailingZeros` (boolean, required)
93
+
94
+ Indicates the allowance of trailing zeros in expressions - whilst the expression is still mathematically correct
95
+
96
+ Default: `"is false"`
85
97
 
86
98
  ## `answer` (string, required)
87
99
 
@@ -109,7 +121,19 @@ This element must be one of the following enum values:
109
121
  * `literal`
110
122
  * `symbolic`
111
123
 
112
- Default: `"is symbolic"`
124
+ Default: `"is literal"`
125
+
126
+ ## `ignoreOrder` (boolean, required)
127
+
128
+ Indicates if the order of expression elements in literal validation can be ignore - whilst the expression is still mathematically correct
129
+
130
+ Default: `"is false"`
131
+
132
+ ## `allowTrailingZeros` (boolean, required)
133
+
134
+ Indicates the allowance of trailing zeros in expressions - whilst the expression is still mathematically correct
135
+
136
+ Default: `"is false"`
113
137
 
114
138
  ## `answer` (string, required)
115
139
 
@@ -125,6 +149,18 @@ an object with some alternatives for the correct answers
125
149
  Indicates if partial scoring is allowed.
126
150
  This property is not used yet.
127
151
 
152
+ # `ignoreOrderDefault` (boolean, required)
153
+
154
+ Indicates the default value for ignoreOrder, in case that it's not set
155
+
156
+ Default: `"is false"`
157
+
158
+ # `allowTrailingZerosDefault` (boolean, required)
159
+
160
+ Indicates the default value for allowTrailingZeros, in case that it's not set
161
+
162
+ Default: `"is false"`
163
+
128
164
  # `rationale` (string)
129
165
 
130
166
  Indicates the value for rationale
@@ -160,6 +196,10 @@ Indicates if Feedback is enabled
160
196
 
161
197
  Indicates if Rationale are enabled
162
198
 
199
+ # `spellCheckEnabled` (boolean, required)
200
+
201
+ Indicates if spellcheck is enabled for the author. Default value is true
202
+
163
203
  # `studentInstructionsEnabled` (boolean, required)
164
204
 
165
205
  Indicates if Student Instructions are enabled
@@ -209,6 +249,39 @@ Indicates if the item has to be displayed in the Settings Panel
209
249
 
210
250
  Indicates the label for the item that has to be displayed in the Settings Panel
211
251
 
252
+ ## `ConfigurePropWithEnabled` (object)
253
+
254
+ Properties of the `ConfigurePropWithEnabled` object:
255
+
256
+ ### `settings` (boolean)
257
+
258
+ Indicates if the item has to be displayed in the Settings Panel
259
+
260
+ ### `label` (string)
261
+
262
+ Indicates the label for the item that has to be displayed in the Settings Panel
263
+
264
+ ### `enabled` (boolean)
265
+
266
+ Indicates the value of the item if it affects config-ui
267
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
268
+
269
+ ## `ConfigureMaxImageDimensionsProp` (object)
270
+
271
+ Properties of the `ConfigureMaxImageDimensionsProp` object:
272
+
273
+ ### `teacherInstructions` (number)
274
+
275
+ Indicates the max dimension for images in teacher instructions
276
+
277
+ ### `prompt` (number)
278
+
279
+ Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
280
+
281
+ ### `rationale` (number)
282
+
283
+ Indicates the max dimension for images in rationale
284
+
212
285
  ## `ComplexFeedbackType` (object)
213
286
 
214
287
  Properties of the `ComplexFeedbackType` object:
@@ -275,7 +348,19 @@ This element must be one of the following enum values:
275
348
  * `literal`
276
349
  * `symbolic`
277
350
 
278
- Default: `"is symbolic"`
351
+ Default: `"is literal"`
352
+
353
+ ### `ignoreOrder` (boolean, required)
354
+
355
+ Indicates if the order of expression elements in literal validation can be ignore - whilst the expression is still mathematically correct
356
+
357
+ Default: `"is false"`
358
+
359
+ ### `allowTrailingZeros` (boolean, required)
360
+
361
+ Indicates the allowance of trailing zeros in expressions - whilst the expression is still mathematically correct
362
+
363
+ Default: `"is false"`
279
364
 
280
365
  ### `answer` (string, required)
281
366
 
@@ -296,4 +381,4 @@ The id for the alternative response
296
381
 
297
382
  ### `answer` (string, required)
298
383
 
299
- The value for the alternative response
384
+ The value for the alternative response