@pie-element/select-text 8.5.1-next.5 → 8.6.0
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 +22 -0
- package/configure/CHANGELOG.md +19 -0
- package/configure/lib/defaultConfiguration.js +6 -3
- package/configure/lib/defaultConfiguration.js.map +1 -1
- package/configure/lib/design.js +21 -8
- package/configure/lib/design.js.map +1 -1
- package/configure/package.json +2 -2
- package/controller/CHANGELOG.md +18 -0
- package/controller/lib/index.js +18 -1
- package/controller/lib/index.js.map +1 -1
- package/controller/package.json +2 -2
- package/docs/config-schema.json +91 -5
- package/docs/config-schema.json.md +66 -2
- package/docs/pie-schema.json +29 -2
- package/docs/pie-schema.json.md +22 -2
- package/module/configure.js +62 -36
- package/module/controller.js +17 -5
- package/module/element.js +1 -1
- package/module/manifest.json +1 -1
- package/module/print.js +1 -1
- package/package.json +3 -3
package/docs/config-schema.json
CHANGED
|
@@ -7,6 +7,17 @@
|
|
|
7
7
|
"title": "EditableHtmlConfigureProp",
|
|
8
8
|
"type": "object",
|
|
9
9
|
"properties": {
|
|
10
|
+
"math": {
|
|
11
|
+
"title": "EditableHtmlButtonConfigure",
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"disabled": {
|
|
15
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
16
|
+
"type": "boolean",
|
|
17
|
+
"title": "disabled"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
10
21
|
"audio": {
|
|
11
22
|
"title": "EditableHtmlButtonConfigure",
|
|
12
23
|
"type": "object",
|
|
@@ -155,13 +166,24 @@
|
|
|
155
166
|
}
|
|
156
167
|
},
|
|
157
168
|
"prompt": {
|
|
158
|
-
"title": "
|
|
169
|
+
"title": "EditableHtmlPluginConfigureRequired",
|
|
159
170
|
"type": "object",
|
|
160
171
|
"properties": {
|
|
161
172
|
"inputConfiguration": {
|
|
162
173
|
"title": "EditableHtmlConfigureProp",
|
|
163
174
|
"type": "object",
|
|
164
175
|
"properties": {
|
|
176
|
+
"math": {
|
|
177
|
+
"title": "EditableHtmlButtonConfigure",
|
|
178
|
+
"type": "object",
|
|
179
|
+
"properties": {
|
|
180
|
+
"disabled": {
|
|
181
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
182
|
+
"type": "boolean",
|
|
183
|
+
"title": "disabled"
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
},
|
|
165
187
|
"audio": {
|
|
166
188
|
"title": "EditableHtmlButtonConfigure",
|
|
167
189
|
"type": "object",
|
|
@@ -197,6 +219,11 @@
|
|
|
197
219
|
}
|
|
198
220
|
}
|
|
199
221
|
},
|
|
222
|
+
"required": {
|
|
223
|
+
"description": "Indicates if the item is required and the value cannot be empty",
|
|
224
|
+
"type": "boolean",
|
|
225
|
+
"title": "required"
|
|
226
|
+
},
|
|
200
227
|
"settings": {
|
|
201
228
|
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
202
229
|
"type": "boolean",
|
|
@@ -226,13 +253,24 @@
|
|
|
226
253
|
}
|
|
227
254
|
},
|
|
228
255
|
"rationale": {
|
|
229
|
-
"title": "
|
|
256
|
+
"title": "EditableHtmlPluginConfigureRequired",
|
|
230
257
|
"type": "object",
|
|
231
258
|
"properties": {
|
|
232
259
|
"inputConfiguration": {
|
|
233
260
|
"title": "EditableHtmlConfigureProp",
|
|
234
261
|
"type": "object",
|
|
235
262
|
"properties": {
|
|
263
|
+
"math": {
|
|
264
|
+
"title": "EditableHtmlButtonConfigure",
|
|
265
|
+
"type": "object",
|
|
266
|
+
"properties": {
|
|
267
|
+
"disabled": {
|
|
268
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
269
|
+
"type": "boolean",
|
|
270
|
+
"title": "disabled"
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
},
|
|
236
274
|
"audio": {
|
|
237
275
|
"title": "EditableHtmlButtonConfigure",
|
|
238
276
|
"type": "object",
|
|
@@ -268,6 +306,11 @@
|
|
|
268
306
|
}
|
|
269
307
|
}
|
|
270
308
|
},
|
|
309
|
+
"required": {
|
|
310
|
+
"description": "Indicates if the item is required and the value cannot be empty",
|
|
311
|
+
"type": "boolean",
|
|
312
|
+
"title": "required"
|
|
313
|
+
},
|
|
271
314
|
"settings": {
|
|
272
315
|
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
273
316
|
"type": "boolean",
|
|
@@ -334,13 +377,24 @@
|
|
|
334
377
|
}
|
|
335
378
|
},
|
|
336
379
|
"teacherInstructions": {
|
|
337
|
-
"title": "
|
|
380
|
+
"title": "EditableHtmlPluginConfigureRequired",
|
|
338
381
|
"type": "object",
|
|
339
382
|
"properties": {
|
|
340
383
|
"inputConfiguration": {
|
|
341
384
|
"title": "EditableHtmlConfigureProp",
|
|
342
385
|
"type": "object",
|
|
343
386
|
"properties": {
|
|
387
|
+
"math": {
|
|
388
|
+
"title": "EditableHtmlButtonConfigure",
|
|
389
|
+
"type": "object",
|
|
390
|
+
"properties": {
|
|
391
|
+
"disabled": {
|
|
392
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
393
|
+
"type": "boolean",
|
|
394
|
+
"title": "disabled"
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
},
|
|
344
398
|
"audio": {
|
|
345
399
|
"title": "EditableHtmlButtonConfigure",
|
|
346
400
|
"type": "object",
|
|
@@ -376,6 +430,11 @@
|
|
|
376
430
|
}
|
|
377
431
|
}
|
|
378
432
|
},
|
|
433
|
+
"required": {
|
|
434
|
+
"description": "Indicates if the item is required and the value cannot be empty",
|
|
435
|
+
"type": "boolean",
|
|
436
|
+
"title": "required"
|
|
437
|
+
},
|
|
379
438
|
"settings": {
|
|
380
439
|
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
381
440
|
"type": "boolean",
|
|
@@ -605,6 +664,17 @@
|
|
|
605
664
|
"title": "EditableHtmlConfigureProp",
|
|
606
665
|
"type": "object",
|
|
607
666
|
"properties": {
|
|
667
|
+
"math": {
|
|
668
|
+
"title": "EditableHtmlButtonConfigure",
|
|
669
|
+
"type": "object",
|
|
670
|
+
"properties": {
|
|
671
|
+
"disabled": {
|
|
672
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
673
|
+
"type": "boolean",
|
|
674
|
+
"title": "disabled"
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
},
|
|
608
678
|
"audio": {
|
|
609
679
|
"title": "EditableHtmlButtonConfigure",
|
|
610
680
|
"type": "object",
|
|
@@ -667,14 +737,25 @@
|
|
|
667
737
|
}
|
|
668
738
|
}
|
|
669
739
|
},
|
|
670
|
-
"
|
|
671
|
-
"title": "
|
|
740
|
+
"EditableHtmlPluginConfigureRequired": {
|
|
741
|
+
"title": "EditableHtmlPluginConfigureRequired",
|
|
672
742
|
"type": "object",
|
|
673
743
|
"properties": {
|
|
674
744
|
"inputConfiguration": {
|
|
675
745
|
"title": "EditableHtmlConfigureProp",
|
|
676
746
|
"type": "object",
|
|
677
747
|
"properties": {
|
|
748
|
+
"math": {
|
|
749
|
+
"title": "EditableHtmlButtonConfigure",
|
|
750
|
+
"type": "object",
|
|
751
|
+
"properties": {
|
|
752
|
+
"disabled": {
|
|
753
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
754
|
+
"type": "boolean",
|
|
755
|
+
"title": "disabled"
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
},
|
|
678
759
|
"audio": {
|
|
679
760
|
"title": "EditableHtmlButtonConfigure",
|
|
680
761
|
"type": "object",
|
|
@@ -710,6 +791,11 @@
|
|
|
710
791
|
}
|
|
711
792
|
}
|
|
712
793
|
},
|
|
794
|
+
"required": {
|
|
795
|
+
"description": "Indicates if the item is required and the value cannot be empty",
|
|
796
|
+
"type": "boolean",
|
|
797
|
+
"title": "required"
|
|
798
|
+
},
|
|
713
799
|
"settings": {
|
|
714
800
|
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
715
801
|
"type": "boolean",
|
|
@@ -6,6 +6,14 @@ The schema defines the following properties:
|
|
|
6
6
|
|
|
7
7
|
Properties of the `baseInputConfiguration` object:
|
|
8
8
|
|
|
9
|
+
## `math` (object)
|
|
10
|
+
|
|
11
|
+
Properties of the `math` object:
|
|
12
|
+
|
|
13
|
+
### `disabled` (boolean)
|
|
14
|
+
|
|
15
|
+
Indicates if the plugin is disabled or not
|
|
16
|
+
|
|
9
17
|
## `audio` (object)
|
|
10
18
|
|
|
11
19
|
Properties of the `audio` object:
|
|
@@ -122,6 +130,14 @@ Properties of the `prompt` object:
|
|
|
122
130
|
|
|
123
131
|
Properties of the `inputConfiguration` object:
|
|
124
132
|
|
|
133
|
+
### `math` (object)
|
|
134
|
+
|
|
135
|
+
Properties of the `math` object:
|
|
136
|
+
|
|
137
|
+
#### `disabled` (boolean)
|
|
138
|
+
|
|
139
|
+
Indicates if the plugin is disabled or not
|
|
140
|
+
|
|
125
141
|
### `audio` (object)
|
|
126
142
|
|
|
127
143
|
Properties of the `audio` object:
|
|
@@ -146,6 +162,10 @@ Properties of the `image` object:
|
|
|
146
162
|
|
|
147
163
|
Indicates if the plugin is disabled or not
|
|
148
164
|
|
|
165
|
+
## `required` (boolean)
|
|
166
|
+
|
|
167
|
+
Indicates if the item is required and the value cannot be empty
|
|
168
|
+
|
|
149
169
|
## `settings` (boolean)
|
|
150
170
|
|
|
151
171
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -174,6 +194,14 @@ Properties of the `rationale` object:
|
|
|
174
194
|
|
|
175
195
|
Properties of the `inputConfiguration` object:
|
|
176
196
|
|
|
197
|
+
### `math` (object)
|
|
198
|
+
|
|
199
|
+
Properties of the `math` object:
|
|
200
|
+
|
|
201
|
+
#### `disabled` (boolean)
|
|
202
|
+
|
|
203
|
+
Indicates if the plugin is disabled or not
|
|
204
|
+
|
|
177
205
|
### `audio` (object)
|
|
178
206
|
|
|
179
207
|
Properties of the `audio` object:
|
|
@@ -198,6 +226,10 @@ Properties of the `image` object:
|
|
|
198
226
|
|
|
199
227
|
Indicates if the plugin is disabled or not
|
|
200
228
|
|
|
229
|
+
## `required` (boolean)
|
|
230
|
+
|
|
231
|
+
Indicates if the item is required and the value cannot be empty
|
|
232
|
+
|
|
201
233
|
## `settings` (boolean)
|
|
202
234
|
|
|
203
235
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -254,6 +286,14 @@ Properties of the `teacherInstructions` object:
|
|
|
254
286
|
|
|
255
287
|
Properties of the `inputConfiguration` object:
|
|
256
288
|
|
|
289
|
+
### `math` (object)
|
|
290
|
+
|
|
291
|
+
Properties of the `math` object:
|
|
292
|
+
|
|
293
|
+
#### `disabled` (boolean)
|
|
294
|
+
|
|
295
|
+
Indicates if the plugin is disabled or not
|
|
296
|
+
|
|
257
297
|
### `audio` (object)
|
|
258
298
|
|
|
259
299
|
Properties of the `audio` object:
|
|
@@ -278,6 +318,10 @@ Properties of the `image` object:
|
|
|
278
318
|
|
|
279
319
|
Indicates if the plugin is disabled or not
|
|
280
320
|
|
|
321
|
+
## `required` (boolean)
|
|
322
|
+
|
|
323
|
+
Indicates if the item is required and the value cannot be empty
|
|
324
|
+
|
|
281
325
|
## `settings` (boolean)
|
|
282
326
|
|
|
283
327
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -456,6 +500,14 @@ The schema defines the following additional types:
|
|
|
456
500
|
|
|
457
501
|
Properties of the `EditableHtmlConfigureProp` object:
|
|
458
502
|
|
|
503
|
+
### `math` (object)
|
|
504
|
+
|
|
505
|
+
Properties of the `math` object:
|
|
506
|
+
|
|
507
|
+
#### `disabled` (boolean)
|
|
508
|
+
|
|
509
|
+
Indicates if the plugin is disabled or not
|
|
510
|
+
|
|
459
511
|
### `audio` (object)
|
|
460
512
|
|
|
461
513
|
Properties of the `audio` object:
|
|
@@ -500,14 +552,22 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
500
552
|
|
|
501
553
|
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
502
554
|
|
|
503
|
-
## `
|
|
555
|
+
## `EditableHtmlPluginConfigureRequired` (object)
|
|
504
556
|
|
|
505
|
-
Properties of the `
|
|
557
|
+
Properties of the `EditableHtmlPluginConfigureRequired` object:
|
|
506
558
|
|
|
507
559
|
### `inputConfiguration` (object)
|
|
508
560
|
|
|
509
561
|
Properties of the `inputConfiguration` object:
|
|
510
562
|
|
|
563
|
+
#### `math` (object)
|
|
564
|
+
|
|
565
|
+
Properties of the `math` object:
|
|
566
|
+
|
|
567
|
+
##### `disabled` (boolean)
|
|
568
|
+
|
|
569
|
+
Indicates if the plugin is disabled or not
|
|
570
|
+
|
|
511
571
|
#### `audio` (object)
|
|
512
572
|
|
|
513
573
|
Properties of the `audio` object:
|
|
@@ -532,6 +592,10 @@ Properties of the `image` object:
|
|
|
532
592
|
|
|
533
593
|
Indicates if the plugin is disabled or not
|
|
534
594
|
|
|
595
|
+
### `required` (boolean)
|
|
596
|
+
|
|
597
|
+
Indicates if the item is required and the value cannot be empty
|
|
598
|
+
|
|
535
599
|
### `settings` (boolean)
|
|
536
600
|
|
|
537
601
|
Indicates if the item has to be displayed in the Settings Panel
|
package/docs/pie-schema.json
CHANGED
|
@@ -343,6 +343,17 @@
|
|
|
343
343
|
"title": "EditableHtmlConfigureProp",
|
|
344
344
|
"type": "object",
|
|
345
345
|
"properties": {
|
|
346
|
+
"math": {
|
|
347
|
+
"title": "EditableHtmlButtonConfigure",
|
|
348
|
+
"type": "object",
|
|
349
|
+
"properties": {
|
|
350
|
+
"disabled": {
|
|
351
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
352
|
+
"type": "boolean",
|
|
353
|
+
"title": "disabled"
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
},
|
|
346
357
|
"audio": {
|
|
347
358
|
"title": "EditableHtmlButtonConfigure",
|
|
348
359
|
"type": "object",
|
|
@@ -405,14 +416,25 @@
|
|
|
405
416
|
}
|
|
406
417
|
}
|
|
407
418
|
},
|
|
408
|
-
"
|
|
409
|
-
"title": "
|
|
419
|
+
"EditableHtmlPluginConfigureRequired": {
|
|
420
|
+
"title": "EditableHtmlPluginConfigureRequired",
|
|
410
421
|
"type": "object",
|
|
411
422
|
"properties": {
|
|
412
423
|
"inputConfiguration": {
|
|
413
424
|
"title": "EditableHtmlConfigureProp",
|
|
414
425
|
"type": "object",
|
|
415
426
|
"properties": {
|
|
427
|
+
"math": {
|
|
428
|
+
"title": "EditableHtmlButtonConfigure",
|
|
429
|
+
"type": "object",
|
|
430
|
+
"properties": {
|
|
431
|
+
"disabled": {
|
|
432
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
433
|
+
"type": "boolean",
|
|
434
|
+
"title": "disabled"
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
},
|
|
416
438
|
"audio": {
|
|
417
439
|
"title": "EditableHtmlButtonConfigure",
|
|
418
440
|
"type": "object",
|
|
@@ -448,6 +470,11 @@
|
|
|
448
470
|
}
|
|
449
471
|
}
|
|
450
472
|
},
|
|
473
|
+
"required": {
|
|
474
|
+
"description": "Indicates if the item is required and the value cannot be empty",
|
|
475
|
+
"type": "boolean",
|
|
476
|
+
"title": "required"
|
|
477
|
+
},
|
|
451
478
|
"settings": {
|
|
452
479
|
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
453
480
|
"type": "boolean",
|
package/docs/pie-schema.json.md
CHANGED
|
@@ -159,6 +159,14 @@ The schema defines the following additional types:
|
|
|
159
159
|
|
|
160
160
|
Properties of the `EditableHtmlConfigureProp` object:
|
|
161
161
|
|
|
162
|
+
### `math` (object)
|
|
163
|
+
|
|
164
|
+
Properties of the `math` object:
|
|
165
|
+
|
|
166
|
+
#### `disabled` (boolean)
|
|
167
|
+
|
|
168
|
+
Indicates if the plugin is disabled or not
|
|
169
|
+
|
|
162
170
|
### `audio` (object)
|
|
163
171
|
|
|
164
172
|
Properties of the `audio` object:
|
|
@@ -203,14 +211,22 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
203
211
|
|
|
204
212
|
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
205
213
|
|
|
206
|
-
## `
|
|
214
|
+
## `EditableHtmlPluginConfigureRequired` (object)
|
|
207
215
|
|
|
208
|
-
Properties of the `
|
|
216
|
+
Properties of the `EditableHtmlPluginConfigureRequired` object:
|
|
209
217
|
|
|
210
218
|
### `inputConfiguration` (object)
|
|
211
219
|
|
|
212
220
|
Properties of the `inputConfiguration` object:
|
|
213
221
|
|
|
222
|
+
#### `math` (object)
|
|
223
|
+
|
|
224
|
+
Properties of the `math` object:
|
|
225
|
+
|
|
226
|
+
##### `disabled` (boolean)
|
|
227
|
+
|
|
228
|
+
Indicates if the plugin is disabled or not
|
|
229
|
+
|
|
214
230
|
#### `audio` (object)
|
|
215
231
|
|
|
216
232
|
Properties of the `audio` object:
|
|
@@ -235,6 +251,10 @@ Properties of the `image` object:
|
|
|
235
251
|
|
|
236
252
|
Indicates if the plugin is disabled or not
|
|
237
253
|
|
|
254
|
+
### `required` (boolean)
|
|
255
|
+
|
|
256
|
+
Indicates if the item is required and the value cannot be empty
|
|
257
|
+
|
|
238
258
|
### `settings` (boolean)
|
|
239
259
|
|
|
240
260
|
Indicates if the item has to be displayed in the Settings Panel
|