@pie-element/fraction-model 6.4.0-beta.7 → 7.0.0-next.20261002094057

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.
Files changed (96) hide show
  1. package/author.js +2 -0
  2. package/configure.js +2 -0
  3. package/controller.js +1 -0
  4. package/dist/author/card-bar.d.ts +20 -0
  5. package/dist/author/card-bar.js +40 -0
  6. package/dist/author/defaults.d.ts +113 -0
  7. package/dist/author/defaults.js +84 -0
  8. package/dist/author/index.d.ts +44 -0
  9. package/dist/author/index.js +88 -0
  10. package/dist/author/main.d.ts +25 -0
  11. package/dist/author/main.js +156 -0
  12. package/dist/author/model-options.d.ts +32 -0
  13. package/dist/author/model-options.js +85 -0
  14. package/dist/author/number-text-field.d.ts +15 -0
  15. package/dist/author/number-text-field.js +24 -0
  16. package/dist/browser/assets/Symbola-4c507403.woff2 +0 -0
  17. package/dist/browser/author/index.js +32067 -0
  18. package/dist/browser/author/index.js.map +1 -0
  19. package/dist/browser/controller/index.js +78 -0
  20. package/dist/browser/controller/index.js.map +1 -0
  21. package/dist/browser/delivery/index.js +2 -0
  22. package/dist/browser/delivery-YkUEYrjh.js +28389 -0
  23. package/dist/browser/delivery-YkUEYrjh.js.map +1 -0
  24. package/dist/browser/dist-ClmZaEGT.js +89 -0
  25. package/dist/browser/dist-ClmZaEGT.js.map +1 -0
  26. package/dist/browser/editor-runtime/assets/Symbola-4c507403.woff2 +0 -0
  27. package/dist/browser/editor-runtime/author/index.js +15658 -0
  28. package/dist/browser/editor-runtime/author/index.js.map +1 -0
  29. package/dist/browser/editor-runtime/controller/index.js +78 -0
  30. package/dist/browser/editor-runtime/controller/index.js.map +1 -0
  31. package/dist/browser/editor-runtime/delivery/index.js +2 -0
  32. package/dist/browser/editor-runtime/delivery-TTEE8mhy.js +28389 -0
  33. package/dist/browser/editor-runtime/delivery-TTEE8mhy.js.map +1 -0
  34. package/dist/browser/editor-runtime/dist-ClmZaEGT.js +89 -0
  35. package/dist/browser/editor-runtime/dist-ClmZaEGT.js.map +1 -0
  36. package/dist/controller/defaults.d.ts +21 -0
  37. package/dist/controller/defaults.js +13 -0
  38. package/dist/controller/index.d.ts +23 -0
  39. package/dist/controller/index.js +68 -0
  40. package/dist/delivery/answer-fraction.d.ts +27 -0
  41. package/dist/delivery/answer-fraction.js +69 -0
  42. package/dist/delivery/fraction-model-chart.d.ts +11 -0
  43. package/dist/delivery/fraction-model-chart.js +154 -0
  44. package/dist/delivery/index.d.ts +22 -0
  45. package/dist/delivery/index.js +54 -0
  46. package/dist/delivery/main.d.ts +38 -0
  47. package/dist/delivery/main.js +136 -0
  48. package/dist/index.d.ts +1 -0
  49. package/dist/index.iife.d.ts +8 -0
  50. package/dist/index.iife.js +196 -0
  51. package/dist/index.js +2 -0
  52. package/dist/runtime-support.d.ts +12 -0
  53. package/dist/runtime-support.js +12 -0
  54. package/package.json +92 -21
  55. package/CHANGELOG.json +0 -1
  56. package/CHANGELOG.md +0 -637
  57. package/LICENSE.md +0 -5
  58. package/README.md +0 -18
  59. package/configure/CHANGELOG.json +0 -1
  60. package/configure/CHANGELOG.md +0 -602
  61. package/configure/lib/card-bar.js +0 -57
  62. package/configure/lib/card-bar.js.map +0 -1
  63. package/configure/lib/defaults.js +0 -114
  64. package/configure/lib/defaults.js.map +0 -1
  65. package/configure/lib/index.js +0 -164
  66. package/configure/lib/index.js.map +0 -1
  67. package/configure/lib/main.js +0 -253
  68. package/configure/lib/main.js.map +0 -1
  69. package/configure/lib/model-options.js +0 -144
  70. package/configure/lib/model-options.js.map +0 -1
  71. package/configure/lib/number-text-field.js +0 -47
  72. package/configure/lib/number-text-field.js.map +0 -1
  73. package/configure/package.json +0 -24
  74. package/controller/CHANGELOG.json +0 -1
  75. package/controller/CHANGELOG.md +0 -523
  76. package/controller/lib/defaults.js +0 -20
  77. package/controller/lib/defaults.js.map +0 -1
  78. package/controller/lib/index.js +0 -215
  79. package/controller/lib/index.js.map +0 -1
  80. package/controller/package.json +0 -15
  81. package/docs/config-schema.json +0 -1796
  82. package/docs/config-schema.json.md +0 -1318
  83. package/docs/demo/config.js +0 -8
  84. package/docs/demo/generate.js +0 -6
  85. package/docs/demo/index.html +0 -1
  86. package/docs/demo/session.js +0 -6
  87. package/docs/pie-schema.json +0 -873
  88. package/docs/pie-schema.json.md +0 -639
  89. package/lib/answer-fraction.js +0 -109
  90. package/lib/answer-fraction.js.map +0 -1
  91. package/lib/fraction-model-chart.js +0 -279
  92. package/lib/fraction-model-chart.js.map +0 -1
  93. package/lib/index.js +0 -92
  94. package/lib/index.js.map +0 -1
  95. package/lib/main.js +0 -203
  96. package/lib/main.js.map +0 -1
@@ -1,1796 +0,0 @@
1
- {
2
- "description": "Config Object for @pie-elements/fraction-model",
3
- "additionalProperties": false,
4
- "type": "object",
5
- "properties": {
6
- "baseInputConfiguration": {
7
- "title": "EditableHtmlConfigureProp",
8
- "type": "object",
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
- },
21
- "audio": {
22
- "title": "EditableHtmlButtonConfigure",
23
- "type": "object",
24
- "properties": {
25
- "disabled": {
26
- "description": "Indicates if the plugin is disabled or not",
27
- "type": "boolean",
28
- "title": "disabled"
29
- }
30
- }
31
- },
32
- "video": {
33
- "title": "EditableHtmlButtonConfigure",
34
- "type": "object",
35
- "properties": {
36
- "disabled": {
37
- "description": "Indicates if the plugin is disabled or not",
38
- "type": "boolean",
39
- "title": "disabled"
40
- }
41
- }
42
- },
43
- "image": {
44
- "title": "EditableHtmlButtonConfigure",
45
- "type": "object",
46
- "properties": {
47
- "disabled": {
48
- "description": "Indicates if the plugin is disabled or not",
49
- "type": "boolean",
50
- "title": "disabled"
51
- }
52
- }
53
- },
54
- "customPlugins": {
55
- "description": "An array of objects that determine custom plugins.\nA 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).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
56
- "type": "array",
57
- "items": {
58
- "title": "CustomPlugin",
59
- "type": "object",
60
- "properties": {
61
- "event": {
62
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
63
- "type": "string",
64
- "title": "event"
65
- },
66
- "iconAlt": {
67
- "description": "The alt for the custom button icon",
68
- "type": "string",
69
- "title": "iconAlt"
70
- },
71
- "iconType": {
72
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
73
- "type": "string",
74
- "title": "iconType"
75
- },
76
- "icon": {
77
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
78
- "type": "string",
79
- "title": "icon"
80
- }
81
- },
82
- "required": [
83
- "event",
84
- "icon",
85
- "iconAlt",
86
- "iconType"
87
- ]
88
- },
89
- "title": "customPlugins"
90
- },
91
- "blockquote": {
92
- "title": "EditableHtmlButtonConfigure",
93
- "type": "object",
94
- "properties": {
95
- "disabled": {
96
- "description": "Indicates if the plugin is disabled or not",
97
- "type": "boolean",
98
- "title": "disabled"
99
- }
100
- }
101
- },
102
- "h3": {
103
- "title": "EditableHtmlButtonConfigure",
104
- "type": "object",
105
- "properties": {
106
- "disabled": {
107
- "description": "Indicates if the plugin is disabled or not",
108
- "type": "boolean",
109
- "title": "disabled"
110
- }
111
- }
112
- },
113
- "characters": {
114
- "title": "EditableHtmlButtonConfigure",
115
- "type": "object",
116
- "properties": {
117
- "disabled": {
118
- "description": "Indicates if the plugin is disabled or not",
119
- "type": "boolean",
120
- "title": "disabled"
121
- }
122
- }
123
- },
124
- "bold": {
125
- "title": "EditableHtmlButtonConfigure",
126
- "type": "object",
127
- "properties": {
128
- "disabled": {
129
- "description": "Indicates if the plugin is disabled or not",
130
- "type": "boolean",
131
- "title": "disabled"
132
- }
133
- }
134
- },
135
- "html": {
136
- "title": "EditableHtmlButtonConfigure",
137
- "type": "object",
138
- "properties": {
139
- "disabled": {
140
- "description": "Indicates if the plugin is disabled or not",
141
- "type": "boolean",
142
- "title": "disabled"
143
- }
144
- }
145
- },
146
- "italic": {
147
- "title": "EditableHtmlButtonConfigure",
148
- "type": "object",
149
- "properties": {
150
- "disabled": {
151
- "description": "Indicates if the plugin is disabled or not",
152
- "type": "boolean",
153
- "title": "disabled"
154
- }
155
- }
156
- },
157
- "ol_list": {
158
- "title": "EditableHtmlButtonConfigure",
159
- "type": "object",
160
- "properties": {
161
- "disabled": {
162
- "description": "Indicates if the plugin is disabled or not",
163
- "type": "boolean",
164
- "title": "disabled"
165
- }
166
- }
167
- },
168
- "redo": {
169
- "title": "EditableHtmlButtonConfigure",
170
- "type": "object",
171
- "properties": {
172
- "disabled": {
173
- "description": "Indicates if the plugin is disabled or not",
174
- "type": "boolean",
175
- "title": "disabled"
176
- }
177
- }
178
- },
179
- "strikethrough": {
180
- "title": "EditableHtmlButtonConfigure",
181
- "type": "object",
182
- "properties": {
183
- "disabled": {
184
- "description": "Indicates if the plugin is disabled or not",
185
- "type": "boolean",
186
- "title": "disabled"
187
- }
188
- }
189
- },
190
- "sub": {
191
- "title": "EditableHtmlButtonConfigure",
192
- "type": "object",
193
- "properties": {
194
- "disabled": {
195
- "description": "Indicates if the plugin is disabled or not",
196
- "type": "boolean",
197
- "title": "disabled"
198
- }
199
- }
200
- },
201
- "sup": {
202
- "title": "EditableHtmlButtonConfigure",
203
- "type": "object",
204
- "properties": {
205
- "disabled": {
206
- "description": "Indicates if the plugin is disabled or not",
207
- "type": "boolean",
208
- "title": "disabled"
209
- }
210
- }
211
- },
212
- "table": {
213
- "title": "EditableHtmlButtonConfigure",
214
- "type": "object",
215
- "properties": {
216
- "disabled": {
217
- "description": "Indicates if the plugin is disabled or not",
218
- "type": "boolean",
219
- "title": "disabled"
220
- }
221
- }
222
- },
223
- "ul_list": {
224
- "title": "EditableHtmlButtonConfigure",
225
- "type": "object",
226
- "properties": {
227
- "disabled": {
228
- "description": "Indicates if the plugin is disabled or not",
229
- "type": "boolean",
230
- "title": "disabled"
231
- }
232
- }
233
- },
234
- "underline": {
235
- "title": "EditableHtmlButtonConfigure",
236
- "type": "object",
237
- "properties": {
238
- "disabled": {
239
- "description": "Indicates if the plugin is disabled or not",
240
- "type": "boolean",
241
- "title": "disabled"
242
- }
243
- }
244
- },
245
- "undo": {
246
- "title": "EditableHtmlButtonConfigure",
247
- "type": "object",
248
- "properties": {
249
- "disabled": {
250
- "description": "Indicates if the plugin is disabled or not",
251
- "type": "boolean",
252
- "title": "disabled"
253
- }
254
- }
255
- }
256
- }
257
- },
258
- "title": {
259
- "title": "EditableHtmlPluginConfigure",
260
- "type": "object",
261
- "properties": {
262
- "inputConfiguration": {
263
- "title": "EditableHtmlConfigureProp",
264
- "type": "object",
265
- "properties": {
266
- "math": {
267
- "title": "EditableHtmlButtonConfigure",
268
- "type": "object",
269
- "properties": {
270
- "disabled": {
271
- "description": "Indicates if the plugin is disabled or not",
272
- "type": "boolean",
273
- "title": "disabled"
274
- }
275
- }
276
- },
277
- "audio": {
278
- "title": "EditableHtmlButtonConfigure",
279
- "type": "object",
280
- "properties": {
281
- "disabled": {
282
- "description": "Indicates if the plugin is disabled or not",
283
- "type": "boolean",
284
- "title": "disabled"
285
- }
286
- }
287
- },
288
- "video": {
289
- "title": "EditableHtmlButtonConfigure",
290
- "type": "object",
291
- "properties": {
292
- "disabled": {
293
- "description": "Indicates if the plugin is disabled or not",
294
- "type": "boolean",
295
- "title": "disabled"
296
- }
297
- }
298
- },
299
- "image": {
300
- "title": "EditableHtmlButtonConfigure",
301
- "type": "object",
302
- "properties": {
303
- "disabled": {
304
- "description": "Indicates if the plugin is disabled or not",
305
- "type": "boolean",
306
- "title": "disabled"
307
- }
308
- }
309
- },
310
- "customPlugins": {
311
- "description": "An array of objects that determine custom plugins.\nA 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).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
312
- "type": "array",
313
- "items": {
314
- "title": "CustomPlugin",
315
- "type": "object",
316
- "properties": {
317
- "event": {
318
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
319
- "type": "string",
320
- "title": "event"
321
- },
322
- "iconAlt": {
323
- "description": "The alt for the custom button icon",
324
- "type": "string",
325
- "title": "iconAlt"
326
- },
327
- "iconType": {
328
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
329
- "type": "string",
330
- "title": "iconType"
331
- },
332
- "icon": {
333
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
334
- "type": "string",
335
- "title": "icon"
336
- }
337
- },
338
- "required": [
339
- "event",
340
- "icon",
341
- "iconAlt",
342
- "iconType"
343
- ]
344
- },
345
- "title": "customPlugins"
346
- },
347
- "blockquote": {
348
- "title": "EditableHtmlButtonConfigure",
349
- "type": "object",
350
- "properties": {
351
- "disabled": {
352
- "description": "Indicates if the plugin is disabled or not",
353
- "type": "boolean",
354
- "title": "disabled"
355
- }
356
- }
357
- },
358
- "h3": {
359
- "title": "EditableHtmlButtonConfigure",
360
- "type": "object",
361
- "properties": {
362
- "disabled": {
363
- "description": "Indicates if the plugin is disabled or not",
364
- "type": "boolean",
365
- "title": "disabled"
366
- }
367
- }
368
- },
369
- "characters": {
370
- "title": "EditableHtmlButtonConfigure",
371
- "type": "object",
372
- "properties": {
373
- "disabled": {
374
- "description": "Indicates if the plugin is disabled or not",
375
- "type": "boolean",
376
- "title": "disabled"
377
- }
378
- }
379
- },
380
- "bold": {
381
- "title": "EditableHtmlButtonConfigure",
382
- "type": "object",
383
- "properties": {
384
- "disabled": {
385
- "description": "Indicates if the plugin is disabled or not",
386
- "type": "boolean",
387
- "title": "disabled"
388
- }
389
- }
390
- },
391
- "html": {
392
- "title": "EditableHtmlButtonConfigure",
393
- "type": "object",
394
- "properties": {
395
- "disabled": {
396
- "description": "Indicates if the plugin is disabled or not",
397
- "type": "boolean",
398
- "title": "disabled"
399
- }
400
- }
401
- },
402
- "italic": {
403
- "title": "EditableHtmlButtonConfigure",
404
- "type": "object",
405
- "properties": {
406
- "disabled": {
407
- "description": "Indicates if the plugin is disabled or not",
408
- "type": "boolean",
409
- "title": "disabled"
410
- }
411
- }
412
- },
413
- "ol_list": {
414
- "title": "EditableHtmlButtonConfigure",
415
- "type": "object",
416
- "properties": {
417
- "disabled": {
418
- "description": "Indicates if the plugin is disabled or not",
419
- "type": "boolean",
420
- "title": "disabled"
421
- }
422
- }
423
- },
424
- "redo": {
425
- "title": "EditableHtmlButtonConfigure",
426
- "type": "object",
427
- "properties": {
428
- "disabled": {
429
- "description": "Indicates if the plugin is disabled or not",
430
- "type": "boolean",
431
- "title": "disabled"
432
- }
433
- }
434
- },
435
- "strikethrough": {
436
- "title": "EditableHtmlButtonConfigure",
437
- "type": "object",
438
- "properties": {
439
- "disabled": {
440
- "description": "Indicates if the plugin is disabled or not",
441
- "type": "boolean",
442
- "title": "disabled"
443
- }
444
- }
445
- },
446
- "sub": {
447
- "title": "EditableHtmlButtonConfigure",
448
- "type": "object",
449
- "properties": {
450
- "disabled": {
451
- "description": "Indicates if the plugin is disabled or not",
452
- "type": "boolean",
453
- "title": "disabled"
454
- }
455
- }
456
- },
457
- "sup": {
458
- "title": "EditableHtmlButtonConfigure",
459
- "type": "object",
460
- "properties": {
461
- "disabled": {
462
- "description": "Indicates if the plugin is disabled or not",
463
- "type": "boolean",
464
- "title": "disabled"
465
- }
466
- }
467
- },
468
- "table": {
469
- "title": "EditableHtmlButtonConfigure",
470
- "type": "object",
471
- "properties": {
472
- "disabled": {
473
- "description": "Indicates if the plugin is disabled or not",
474
- "type": "boolean",
475
- "title": "disabled"
476
- }
477
- }
478
- },
479
- "ul_list": {
480
- "title": "EditableHtmlButtonConfigure",
481
- "type": "object",
482
- "properties": {
483
- "disabled": {
484
- "description": "Indicates if the plugin is disabled or not",
485
- "type": "boolean",
486
- "title": "disabled"
487
- }
488
- }
489
- },
490
- "underline": {
491
- "title": "EditableHtmlButtonConfigure",
492
- "type": "object",
493
- "properties": {
494
- "disabled": {
495
- "description": "Indicates if the plugin is disabled or not",
496
- "type": "boolean",
497
- "title": "disabled"
498
- }
499
- }
500
- },
501
- "undo": {
502
- "title": "EditableHtmlButtonConfigure",
503
- "type": "object",
504
- "properties": {
505
- "disabled": {
506
- "description": "Indicates if the plugin is disabled or not",
507
- "type": "boolean",
508
- "title": "disabled"
509
- }
510
- }
511
- }
512
- }
513
- },
514
- "settings": {
515
- "description": "Indicates if the item has to be displayed in the Settings Panel",
516
- "type": "boolean",
517
- "title": "settings"
518
- },
519
- "label": {
520
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
521
- "type": "string",
522
- "title": "label"
523
- }
524
- }
525
- },
526
- "prompt": {
527
- "title": "EditableHtmlPluginConfigure",
528
- "type": "object",
529
- "properties": {
530
- "inputConfiguration": {
531
- "title": "EditableHtmlConfigureProp",
532
- "type": "object",
533
- "properties": {
534
- "math": {
535
- "title": "EditableHtmlButtonConfigure",
536
- "type": "object",
537
- "properties": {
538
- "disabled": {
539
- "description": "Indicates if the plugin is disabled or not",
540
- "type": "boolean",
541
- "title": "disabled"
542
- }
543
- }
544
- },
545
- "audio": {
546
- "title": "EditableHtmlButtonConfigure",
547
- "type": "object",
548
- "properties": {
549
- "disabled": {
550
- "description": "Indicates if the plugin is disabled or not",
551
- "type": "boolean",
552
- "title": "disabled"
553
- }
554
- }
555
- },
556
- "video": {
557
- "title": "EditableHtmlButtonConfigure",
558
- "type": "object",
559
- "properties": {
560
- "disabled": {
561
- "description": "Indicates if the plugin is disabled or not",
562
- "type": "boolean",
563
- "title": "disabled"
564
- }
565
- }
566
- },
567
- "image": {
568
- "title": "EditableHtmlButtonConfigure",
569
- "type": "object",
570
- "properties": {
571
- "disabled": {
572
- "description": "Indicates if the plugin is disabled or not",
573
- "type": "boolean",
574
- "title": "disabled"
575
- }
576
- }
577
- },
578
- "customPlugins": {
579
- "description": "An array of objects that determine custom plugins.\nA 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).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
580
- "type": "array",
581
- "items": {
582
- "title": "CustomPlugin",
583
- "type": "object",
584
- "properties": {
585
- "event": {
586
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
587
- "type": "string",
588
- "title": "event"
589
- },
590
- "iconAlt": {
591
- "description": "The alt for the custom button icon",
592
- "type": "string",
593
- "title": "iconAlt"
594
- },
595
- "iconType": {
596
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
597
- "type": "string",
598
- "title": "iconType"
599
- },
600
- "icon": {
601
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
602
- "type": "string",
603
- "title": "icon"
604
- }
605
- },
606
- "required": [
607
- "event",
608
- "icon",
609
- "iconAlt",
610
- "iconType"
611
- ]
612
- },
613
- "title": "customPlugins"
614
- },
615
- "blockquote": {
616
- "title": "EditableHtmlButtonConfigure",
617
- "type": "object",
618
- "properties": {
619
- "disabled": {
620
- "description": "Indicates if the plugin is disabled or not",
621
- "type": "boolean",
622
- "title": "disabled"
623
- }
624
- }
625
- },
626
- "h3": {
627
- "title": "EditableHtmlButtonConfigure",
628
- "type": "object",
629
- "properties": {
630
- "disabled": {
631
- "description": "Indicates if the plugin is disabled or not",
632
- "type": "boolean",
633
- "title": "disabled"
634
- }
635
- }
636
- },
637
- "characters": {
638
- "title": "EditableHtmlButtonConfigure",
639
- "type": "object",
640
- "properties": {
641
- "disabled": {
642
- "description": "Indicates if the plugin is disabled or not",
643
- "type": "boolean",
644
- "title": "disabled"
645
- }
646
- }
647
- },
648
- "bold": {
649
- "title": "EditableHtmlButtonConfigure",
650
- "type": "object",
651
- "properties": {
652
- "disabled": {
653
- "description": "Indicates if the plugin is disabled or not",
654
- "type": "boolean",
655
- "title": "disabled"
656
- }
657
- }
658
- },
659
- "html": {
660
- "title": "EditableHtmlButtonConfigure",
661
- "type": "object",
662
- "properties": {
663
- "disabled": {
664
- "description": "Indicates if the plugin is disabled or not",
665
- "type": "boolean",
666
- "title": "disabled"
667
- }
668
- }
669
- },
670
- "italic": {
671
- "title": "EditableHtmlButtonConfigure",
672
- "type": "object",
673
- "properties": {
674
- "disabled": {
675
- "description": "Indicates if the plugin is disabled or not",
676
- "type": "boolean",
677
- "title": "disabled"
678
- }
679
- }
680
- },
681
- "ol_list": {
682
- "title": "EditableHtmlButtonConfigure",
683
- "type": "object",
684
- "properties": {
685
- "disabled": {
686
- "description": "Indicates if the plugin is disabled or not",
687
- "type": "boolean",
688
- "title": "disabled"
689
- }
690
- }
691
- },
692
- "redo": {
693
- "title": "EditableHtmlButtonConfigure",
694
- "type": "object",
695
- "properties": {
696
- "disabled": {
697
- "description": "Indicates if the plugin is disabled or not",
698
- "type": "boolean",
699
- "title": "disabled"
700
- }
701
- }
702
- },
703
- "strikethrough": {
704
- "title": "EditableHtmlButtonConfigure",
705
- "type": "object",
706
- "properties": {
707
- "disabled": {
708
- "description": "Indicates if the plugin is disabled or not",
709
- "type": "boolean",
710
- "title": "disabled"
711
- }
712
- }
713
- },
714
- "sub": {
715
- "title": "EditableHtmlButtonConfigure",
716
- "type": "object",
717
- "properties": {
718
- "disabled": {
719
- "description": "Indicates if the plugin is disabled or not",
720
- "type": "boolean",
721
- "title": "disabled"
722
- }
723
- }
724
- },
725
- "sup": {
726
- "title": "EditableHtmlButtonConfigure",
727
- "type": "object",
728
- "properties": {
729
- "disabled": {
730
- "description": "Indicates if the plugin is disabled or not",
731
- "type": "boolean",
732
- "title": "disabled"
733
- }
734
- }
735
- },
736
- "table": {
737
- "title": "EditableHtmlButtonConfigure",
738
- "type": "object",
739
- "properties": {
740
- "disabled": {
741
- "description": "Indicates if the plugin is disabled or not",
742
- "type": "boolean",
743
- "title": "disabled"
744
- }
745
- }
746
- },
747
- "ul_list": {
748
- "title": "EditableHtmlButtonConfigure",
749
- "type": "object",
750
- "properties": {
751
- "disabled": {
752
- "description": "Indicates if the plugin is disabled or not",
753
- "type": "boolean",
754
- "title": "disabled"
755
- }
756
- }
757
- },
758
- "underline": {
759
- "title": "EditableHtmlButtonConfigure",
760
- "type": "object",
761
- "properties": {
762
- "disabled": {
763
- "description": "Indicates if the plugin is disabled or not",
764
- "type": "boolean",
765
- "title": "disabled"
766
- }
767
- }
768
- },
769
- "undo": {
770
- "title": "EditableHtmlButtonConfigure",
771
- "type": "object",
772
- "properties": {
773
- "disabled": {
774
- "description": "Indicates if the plugin is disabled or not",
775
- "type": "boolean",
776
- "title": "disabled"
777
- }
778
- }
779
- }
780
- }
781
- },
782
- "settings": {
783
- "description": "Indicates if the item has to be displayed in the Settings Panel",
784
- "type": "boolean",
785
- "title": "settings"
786
- },
787
- "label": {
788
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
789
- "type": "string",
790
- "title": "label"
791
- }
792
- }
793
- },
794
- "modelOptions": {
795
- "title": "FractionModelOptionsConfigure",
796
- "type": "object",
797
- "properties": {
798
- "maxOfModel": {
799
- "title": "ModelConfig",
800
- "type": "object",
801
- "properties": {
802
- "min": {
803
- "description": "Indicates the min value for number model",
804
- "type": "number",
805
- "title": "min"
806
- },
807
- "max": {
808
- "description": "Indicates the max value for number model",
809
- "type": "number",
810
- "title": "max"
811
- },
812
- "default": {
813
- "description": "Indicates the default value for number model",
814
- "type": "number",
815
- "title": "default"
816
- }
817
- }
818
- },
819
- "partsPerModel": {
820
- "title": "ModelConfig",
821
- "type": "object",
822
- "properties": {
823
- "min": {
824
- "description": "Indicates the min value for number model",
825
- "type": "number",
826
- "title": "min"
827
- },
828
- "max": {
829
- "description": "Indicates the max value for number model",
830
- "type": "number",
831
- "title": "max"
832
- },
833
- "default": {
834
- "description": "Indicates the default value for number model",
835
- "type": "number",
836
- "title": "default"
837
- }
838
- }
839
- },
840
- "modelTypeChoices": {
841
- "description": "Indicates the model types of item",
842
- "type": "array",
843
- "items": {
844
- "title": "ChoiceConfig",
845
- "type": "object",
846
- "properties": {
847
- "value": {
848
- "description": "Indicates the value for model choice",
849
- "type": "string",
850
- "title": "value"
851
- },
852
- "label": {
853
- "description": "Indicates the label for model choice",
854
- "type": "string",
855
- "title": "label"
856
- }
857
- },
858
- "required": [
859
- "label",
860
- "value"
861
- ]
862
- },
863
- "title": "modelTypeChoices"
864
- }
865
- }
866
- },
867
- "mathMlOptions": {
868
- "title": "ConfigureMathMLProp",
869
- "type": "object",
870
- "properties": {
871
- "mmlOutput": {
872
- "description": "Indicates if model should have mathML output instead of latex",
873
- "type": "number",
874
- "title": "mmlOutput"
875
- },
876
- "mmlEditing": {
877
- "description": "Indicates if mathML that's already in model should be editable",
878
- "type": "number",
879
- "title": "mmlEditing"
880
- }
881
- }
882
- },
883
- "language": {
884
- "title": "ConfigurePropWithEnabled",
885
- "type": "object",
886
- "properties": {
887
- "enabled": {
888
- "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)",
889
- "type": "boolean",
890
- "title": "enabled"
891
- },
892
- "settings": {
893
- "description": "Indicates if the item has to be displayed in the Settings Panel",
894
- "type": "boolean",
895
- "title": "settings"
896
- },
897
- "label": {
898
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
899
- "type": "string",
900
- "title": "label"
901
- }
902
- }
903
- },
904
- "languageChoices": {
905
- "description": "Language choices configuration\nOnly available if language is enabled",
906
- "type": "object",
907
- "properties": {
908
- "label": {
909
- "type": "string",
910
- "title": "label"
911
- },
912
- "options": {
913
- "type": "array",
914
- "items": {
915
- "title": "ConfigureLanguageOptionsProp",
916
- "type": "object",
917
- "properties": {
918
- "value": {
919
- "description": "Value of the language option",
920
- "type": "string",
921
- "title": "value"
922
- },
923
- "label": {
924
- "description": "Label of the language option",
925
- "type": "string",
926
- "title": "label"
927
- }
928
- },
929
- "required": [
930
- "label",
931
- "value"
932
- ]
933
- },
934
- "title": "options"
935
- }
936
- },
937
- "required": [
938
- "label",
939
- "options"
940
- ],
941
- "title": "languageChoices"
942
- },
943
- "feedback": {
944
- "title": "ConfigureProp",
945
- "type": "object",
946
- "properties": {
947
- "settings": {
948
- "description": "Indicates if the item has to be displayed in the Settings Panel",
949
- "type": "boolean",
950
- "title": "settings"
951
- },
952
- "label": {
953
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
954
- "type": "string",
955
- "title": "label"
956
- }
957
- }
958
- },
959
- "settingsPanelDisabled": {
960
- "description": "Indicates if the settings panel is not available",
961
- "type": "boolean",
962
- "title": "settingsPanelDisabled"
963
- },
964
- "spellCheck": {
965
- "title": "ConfigureProp",
966
- "type": "object",
967
- "properties": {
968
- "settings": {
969
- "description": "Indicates if the item has to be displayed in the Settings Panel",
970
- "type": "boolean",
971
- "title": "settings"
972
- },
973
- "label": {
974
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
975
- "type": "string",
976
- "title": "label"
977
- }
978
- }
979
- },
980
- "showPrompt": {
981
- "description": "Determines whether prompt field will be displayed or not",
982
- "default": true,
983
- "type": "boolean",
984
- "title": "showPrompt"
985
- },
986
- "promptLabel": {
987
- "description": "The label for the item stem/prompt field",
988
- "default": "Item Stemm",
989
- "type": "string",
990
- "title": "promptLabel"
991
- },
992
- "contentDimensions": {
993
- "description": "Indicates the dimensions configuration for the authoring container\nNote: Some items have a default minimum width because of their content, but if\nthe minWidth is lower than this, the overflow behavior will take care of that",
994
- "default": ": {}",
995
- "type": "object",
996
- "properties": {
997
- "maxHeight": {
998
- "description": "Indicates the max height of the authoring container",
999
- "default": "undefined",
1000
- "type": [
1001
- "string",
1002
- "number"
1003
- ],
1004
- "title": "maxHeight"
1005
- },
1006
- "maxWidth": {
1007
- "description": "Indicates the max width of the authoring container",
1008
- "default": "undefined",
1009
- "type": [
1010
- "string",
1011
- "number"
1012
- ],
1013
- "title": "maxWidth"
1014
- },
1015
- "minHeight": {
1016
- "description": "Indicates the min height of the authoring container",
1017
- "default": "undefined",
1018
- "type": [
1019
- "string",
1020
- "number"
1021
- ],
1022
- "title": "minHeight"
1023
- },
1024
- "minWidth": {
1025
- "description": "Indicates the min width of the authoring container",
1026
- "default": "undefined",
1027
- "type": [
1028
- "string",
1029
- "number"
1030
- ],
1031
- "title": "minWidth"
1032
- }
1033
- },
1034
- "title": "contentDimensions"
1035
- },
1036
- "settingsPartialScoring": {
1037
- "description": "Indicates whether the settings panel wil allow the author to modify settings for partial scoring",
1038
- "default": true,
1039
- "type": "boolean",
1040
- "title": "settingsPartialScoring"
1041
- }
1042
- },
1043
- "definitions": {
1044
- "EditableHtmlConfigureProp": {
1045
- "title": "EditableHtmlConfigureProp",
1046
- "type": "object",
1047
- "properties": {
1048
- "math": {
1049
- "title": "EditableHtmlButtonConfigure",
1050
- "type": "object",
1051
- "properties": {
1052
- "disabled": {
1053
- "description": "Indicates if the plugin is disabled or not",
1054
- "type": "boolean",
1055
- "title": "disabled"
1056
- }
1057
- }
1058
- },
1059
- "audio": {
1060
- "title": "EditableHtmlButtonConfigure",
1061
- "type": "object",
1062
- "properties": {
1063
- "disabled": {
1064
- "description": "Indicates if the plugin is disabled or not",
1065
- "type": "boolean",
1066
- "title": "disabled"
1067
- }
1068
- }
1069
- },
1070
- "video": {
1071
- "title": "EditableHtmlButtonConfigure",
1072
- "type": "object",
1073
- "properties": {
1074
- "disabled": {
1075
- "description": "Indicates if the plugin is disabled or not",
1076
- "type": "boolean",
1077
- "title": "disabled"
1078
- }
1079
- }
1080
- },
1081
- "image": {
1082
- "title": "EditableHtmlButtonConfigure",
1083
- "type": "object",
1084
- "properties": {
1085
- "disabled": {
1086
- "description": "Indicates if the plugin is disabled or not",
1087
- "type": "boolean",
1088
- "title": "disabled"
1089
- }
1090
- }
1091
- },
1092
- "customPlugins": {
1093
- "description": "An array of objects that determine custom plugins.\nA 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).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
1094
- "type": "array",
1095
- "items": {
1096
- "title": "CustomPlugin",
1097
- "type": "object",
1098
- "properties": {
1099
- "event": {
1100
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
1101
- "type": "string",
1102
- "title": "event"
1103
- },
1104
- "iconAlt": {
1105
- "description": "The alt for the custom button icon",
1106
- "type": "string",
1107
- "title": "iconAlt"
1108
- },
1109
- "iconType": {
1110
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1111
- "type": "string",
1112
- "title": "iconType"
1113
- },
1114
- "icon": {
1115
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1116
- "type": "string",
1117
- "title": "icon"
1118
- }
1119
- },
1120
- "required": [
1121
- "event",
1122
- "icon",
1123
- "iconAlt",
1124
- "iconType"
1125
- ]
1126
- },
1127
- "title": "customPlugins"
1128
- },
1129
- "blockquote": {
1130
- "title": "EditableHtmlButtonConfigure",
1131
- "type": "object",
1132
- "properties": {
1133
- "disabled": {
1134
- "description": "Indicates if the plugin is disabled or not",
1135
- "type": "boolean",
1136
- "title": "disabled"
1137
- }
1138
- }
1139
- },
1140
- "h3": {
1141
- "title": "EditableHtmlButtonConfigure",
1142
- "type": "object",
1143
- "properties": {
1144
- "disabled": {
1145
- "description": "Indicates if the plugin is disabled or not",
1146
- "type": "boolean",
1147
- "title": "disabled"
1148
- }
1149
- }
1150
- },
1151
- "characters": {
1152
- "title": "EditableHtmlButtonConfigure",
1153
- "type": "object",
1154
- "properties": {
1155
- "disabled": {
1156
- "description": "Indicates if the plugin is disabled or not",
1157
- "type": "boolean",
1158
- "title": "disabled"
1159
- }
1160
- }
1161
- },
1162
- "bold": {
1163
- "title": "EditableHtmlButtonConfigure",
1164
- "type": "object",
1165
- "properties": {
1166
- "disabled": {
1167
- "description": "Indicates if the plugin is disabled or not",
1168
- "type": "boolean",
1169
- "title": "disabled"
1170
- }
1171
- }
1172
- },
1173
- "html": {
1174
- "title": "EditableHtmlButtonConfigure",
1175
- "type": "object",
1176
- "properties": {
1177
- "disabled": {
1178
- "description": "Indicates if the plugin is disabled or not",
1179
- "type": "boolean",
1180
- "title": "disabled"
1181
- }
1182
- }
1183
- },
1184
- "italic": {
1185
- "title": "EditableHtmlButtonConfigure",
1186
- "type": "object",
1187
- "properties": {
1188
- "disabled": {
1189
- "description": "Indicates if the plugin is disabled or not",
1190
- "type": "boolean",
1191
- "title": "disabled"
1192
- }
1193
- }
1194
- },
1195
- "ol_list": {
1196
- "title": "EditableHtmlButtonConfigure",
1197
- "type": "object",
1198
- "properties": {
1199
- "disabled": {
1200
- "description": "Indicates if the plugin is disabled or not",
1201
- "type": "boolean",
1202
- "title": "disabled"
1203
- }
1204
- }
1205
- },
1206
- "redo": {
1207
- "title": "EditableHtmlButtonConfigure",
1208
- "type": "object",
1209
- "properties": {
1210
- "disabled": {
1211
- "description": "Indicates if the plugin is disabled or not",
1212
- "type": "boolean",
1213
- "title": "disabled"
1214
- }
1215
- }
1216
- },
1217
- "strikethrough": {
1218
- "title": "EditableHtmlButtonConfigure",
1219
- "type": "object",
1220
- "properties": {
1221
- "disabled": {
1222
- "description": "Indicates if the plugin is disabled or not",
1223
- "type": "boolean",
1224
- "title": "disabled"
1225
- }
1226
- }
1227
- },
1228
- "sub": {
1229
- "title": "EditableHtmlButtonConfigure",
1230
- "type": "object",
1231
- "properties": {
1232
- "disabled": {
1233
- "description": "Indicates if the plugin is disabled or not",
1234
- "type": "boolean",
1235
- "title": "disabled"
1236
- }
1237
- }
1238
- },
1239
- "sup": {
1240
- "title": "EditableHtmlButtonConfigure",
1241
- "type": "object",
1242
- "properties": {
1243
- "disabled": {
1244
- "description": "Indicates if the plugin is disabled or not",
1245
- "type": "boolean",
1246
- "title": "disabled"
1247
- }
1248
- }
1249
- },
1250
- "table": {
1251
- "title": "EditableHtmlButtonConfigure",
1252
- "type": "object",
1253
- "properties": {
1254
- "disabled": {
1255
- "description": "Indicates if the plugin is disabled or not",
1256
- "type": "boolean",
1257
- "title": "disabled"
1258
- }
1259
- }
1260
- },
1261
- "ul_list": {
1262
- "title": "EditableHtmlButtonConfigure",
1263
- "type": "object",
1264
- "properties": {
1265
- "disabled": {
1266
- "description": "Indicates if the plugin is disabled or not",
1267
- "type": "boolean",
1268
- "title": "disabled"
1269
- }
1270
- }
1271
- },
1272
- "underline": {
1273
- "title": "EditableHtmlButtonConfigure",
1274
- "type": "object",
1275
- "properties": {
1276
- "disabled": {
1277
- "description": "Indicates if the plugin is disabled or not",
1278
- "type": "boolean",
1279
- "title": "disabled"
1280
- }
1281
- }
1282
- },
1283
- "undo": {
1284
- "title": "EditableHtmlButtonConfigure",
1285
- "type": "object",
1286
- "properties": {
1287
- "disabled": {
1288
- "description": "Indicates if the plugin is disabled or not",
1289
- "type": "boolean",
1290
- "title": "disabled"
1291
- }
1292
- }
1293
- }
1294
- }
1295
- },
1296
- "EditableHtmlButtonConfigure": {
1297
- "title": "EditableHtmlButtonConfigure",
1298
- "type": "object",
1299
- "properties": {
1300
- "disabled": {
1301
- "description": "Indicates if the plugin is disabled or not",
1302
- "type": "boolean",
1303
- "title": "disabled"
1304
- }
1305
- }
1306
- },
1307
- "CustomPlugin": {
1308
- "title": "CustomPlugin",
1309
- "type": "object",
1310
- "properties": {
1311
- "event": {
1312
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
1313
- "type": "string",
1314
- "title": "event"
1315
- },
1316
- "iconAlt": {
1317
- "description": "The alt for the custom button icon",
1318
- "type": "string",
1319
- "title": "iconAlt"
1320
- },
1321
- "iconType": {
1322
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1323
- "type": "string",
1324
- "title": "iconType"
1325
- },
1326
- "icon": {
1327
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1328
- "type": "string",
1329
- "title": "icon"
1330
- }
1331
- },
1332
- "required": [
1333
- "event",
1334
- "icon",
1335
- "iconAlt",
1336
- "iconType"
1337
- ]
1338
- },
1339
- "EditableHtmlPluginConfigure": {
1340
- "title": "EditableHtmlPluginConfigure",
1341
- "type": "object",
1342
- "properties": {
1343
- "inputConfiguration": {
1344
- "title": "EditableHtmlConfigureProp",
1345
- "type": "object",
1346
- "properties": {
1347
- "math": {
1348
- "title": "EditableHtmlButtonConfigure",
1349
- "type": "object",
1350
- "properties": {
1351
- "disabled": {
1352
- "description": "Indicates if the plugin is disabled or not",
1353
- "type": "boolean",
1354
- "title": "disabled"
1355
- }
1356
- }
1357
- },
1358
- "audio": {
1359
- "title": "EditableHtmlButtonConfigure",
1360
- "type": "object",
1361
- "properties": {
1362
- "disabled": {
1363
- "description": "Indicates if the plugin is disabled or not",
1364
- "type": "boolean",
1365
- "title": "disabled"
1366
- }
1367
- }
1368
- },
1369
- "video": {
1370
- "title": "EditableHtmlButtonConfigure",
1371
- "type": "object",
1372
- "properties": {
1373
- "disabled": {
1374
- "description": "Indicates if the plugin is disabled or not",
1375
- "type": "boolean",
1376
- "title": "disabled"
1377
- }
1378
- }
1379
- },
1380
- "image": {
1381
- "title": "EditableHtmlButtonConfigure",
1382
- "type": "object",
1383
- "properties": {
1384
- "disabled": {
1385
- "description": "Indicates if the plugin is disabled or not",
1386
- "type": "boolean",
1387
- "title": "disabled"
1388
- }
1389
- }
1390
- },
1391
- "customPlugins": {
1392
- "description": "An array of objects that determine custom plugins.\nA 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).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
1393
- "type": "array",
1394
- "items": {
1395
- "title": "CustomPlugin",
1396
- "type": "object",
1397
- "properties": {
1398
- "event": {
1399
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
1400
- "type": "string",
1401
- "title": "event"
1402
- },
1403
- "iconAlt": {
1404
- "description": "The alt for the custom button icon",
1405
- "type": "string",
1406
- "title": "iconAlt"
1407
- },
1408
- "iconType": {
1409
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1410
- "type": "string",
1411
- "title": "iconType"
1412
- },
1413
- "icon": {
1414
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1415
- "type": "string",
1416
- "title": "icon"
1417
- }
1418
- },
1419
- "required": [
1420
- "event",
1421
- "icon",
1422
- "iconAlt",
1423
- "iconType"
1424
- ]
1425
- },
1426
- "title": "customPlugins"
1427
- },
1428
- "blockquote": {
1429
- "title": "EditableHtmlButtonConfigure",
1430
- "type": "object",
1431
- "properties": {
1432
- "disabled": {
1433
- "description": "Indicates if the plugin is disabled or not",
1434
- "type": "boolean",
1435
- "title": "disabled"
1436
- }
1437
- }
1438
- },
1439
- "h3": {
1440
- "title": "EditableHtmlButtonConfigure",
1441
- "type": "object",
1442
- "properties": {
1443
- "disabled": {
1444
- "description": "Indicates if the plugin is disabled or not",
1445
- "type": "boolean",
1446
- "title": "disabled"
1447
- }
1448
- }
1449
- },
1450
- "characters": {
1451
- "title": "EditableHtmlButtonConfigure",
1452
- "type": "object",
1453
- "properties": {
1454
- "disabled": {
1455
- "description": "Indicates if the plugin is disabled or not",
1456
- "type": "boolean",
1457
- "title": "disabled"
1458
- }
1459
- }
1460
- },
1461
- "bold": {
1462
- "title": "EditableHtmlButtonConfigure",
1463
- "type": "object",
1464
- "properties": {
1465
- "disabled": {
1466
- "description": "Indicates if the plugin is disabled or not",
1467
- "type": "boolean",
1468
- "title": "disabled"
1469
- }
1470
- }
1471
- },
1472
- "html": {
1473
- "title": "EditableHtmlButtonConfigure",
1474
- "type": "object",
1475
- "properties": {
1476
- "disabled": {
1477
- "description": "Indicates if the plugin is disabled or not",
1478
- "type": "boolean",
1479
- "title": "disabled"
1480
- }
1481
- }
1482
- },
1483
- "italic": {
1484
- "title": "EditableHtmlButtonConfigure",
1485
- "type": "object",
1486
- "properties": {
1487
- "disabled": {
1488
- "description": "Indicates if the plugin is disabled or not",
1489
- "type": "boolean",
1490
- "title": "disabled"
1491
- }
1492
- }
1493
- },
1494
- "ol_list": {
1495
- "title": "EditableHtmlButtonConfigure",
1496
- "type": "object",
1497
- "properties": {
1498
- "disabled": {
1499
- "description": "Indicates if the plugin is disabled or not",
1500
- "type": "boolean",
1501
- "title": "disabled"
1502
- }
1503
- }
1504
- },
1505
- "redo": {
1506
- "title": "EditableHtmlButtonConfigure",
1507
- "type": "object",
1508
- "properties": {
1509
- "disabled": {
1510
- "description": "Indicates if the plugin is disabled or not",
1511
- "type": "boolean",
1512
- "title": "disabled"
1513
- }
1514
- }
1515
- },
1516
- "strikethrough": {
1517
- "title": "EditableHtmlButtonConfigure",
1518
- "type": "object",
1519
- "properties": {
1520
- "disabled": {
1521
- "description": "Indicates if the plugin is disabled or not",
1522
- "type": "boolean",
1523
- "title": "disabled"
1524
- }
1525
- }
1526
- },
1527
- "sub": {
1528
- "title": "EditableHtmlButtonConfigure",
1529
- "type": "object",
1530
- "properties": {
1531
- "disabled": {
1532
- "description": "Indicates if the plugin is disabled or not",
1533
- "type": "boolean",
1534
- "title": "disabled"
1535
- }
1536
- }
1537
- },
1538
- "sup": {
1539
- "title": "EditableHtmlButtonConfigure",
1540
- "type": "object",
1541
- "properties": {
1542
- "disabled": {
1543
- "description": "Indicates if the plugin is disabled or not",
1544
- "type": "boolean",
1545
- "title": "disabled"
1546
- }
1547
- }
1548
- },
1549
- "table": {
1550
- "title": "EditableHtmlButtonConfigure",
1551
- "type": "object",
1552
- "properties": {
1553
- "disabled": {
1554
- "description": "Indicates if the plugin is disabled or not",
1555
- "type": "boolean",
1556
- "title": "disabled"
1557
- }
1558
- }
1559
- },
1560
- "ul_list": {
1561
- "title": "EditableHtmlButtonConfigure",
1562
- "type": "object",
1563
- "properties": {
1564
- "disabled": {
1565
- "description": "Indicates if the plugin is disabled or not",
1566
- "type": "boolean",
1567
- "title": "disabled"
1568
- }
1569
- }
1570
- },
1571
- "underline": {
1572
- "title": "EditableHtmlButtonConfigure",
1573
- "type": "object",
1574
- "properties": {
1575
- "disabled": {
1576
- "description": "Indicates if the plugin is disabled or not",
1577
- "type": "boolean",
1578
- "title": "disabled"
1579
- }
1580
- }
1581
- },
1582
- "undo": {
1583
- "title": "EditableHtmlButtonConfigure",
1584
- "type": "object",
1585
- "properties": {
1586
- "disabled": {
1587
- "description": "Indicates if the plugin is disabled or not",
1588
- "type": "boolean",
1589
- "title": "disabled"
1590
- }
1591
- }
1592
- }
1593
- }
1594
- },
1595
- "settings": {
1596
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1597
- "type": "boolean",
1598
- "title": "settings"
1599
- },
1600
- "label": {
1601
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1602
- "type": "string",
1603
- "title": "label"
1604
- }
1605
- }
1606
- },
1607
- "FractionModelOptionsConfigure": {
1608
- "title": "FractionModelOptionsConfigure",
1609
- "type": "object",
1610
- "properties": {
1611
- "maxOfModel": {
1612
- "title": "ModelConfig",
1613
- "type": "object",
1614
- "properties": {
1615
- "min": {
1616
- "description": "Indicates the min value for number model",
1617
- "type": "number",
1618
- "title": "min"
1619
- },
1620
- "max": {
1621
- "description": "Indicates the max value for number model",
1622
- "type": "number",
1623
- "title": "max"
1624
- },
1625
- "default": {
1626
- "description": "Indicates the default value for number model",
1627
- "type": "number",
1628
- "title": "default"
1629
- }
1630
- }
1631
- },
1632
- "partsPerModel": {
1633
- "title": "ModelConfig",
1634
- "type": "object",
1635
- "properties": {
1636
- "min": {
1637
- "description": "Indicates the min value for number model",
1638
- "type": "number",
1639
- "title": "min"
1640
- },
1641
- "max": {
1642
- "description": "Indicates the max value for number model",
1643
- "type": "number",
1644
- "title": "max"
1645
- },
1646
- "default": {
1647
- "description": "Indicates the default value for number model",
1648
- "type": "number",
1649
- "title": "default"
1650
- }
1651
- }
1652
- },
1653
- "modelTypeChoices": {
1654
- "description": "Indicates the model types of item",
1655
- "type": "array",
1656
- "items": {
1657
- "title": "ChoiceConfig",
1658
- "type": "object",
1659
- "properties": {
1660
- "value": {
1661
- "description": "Indicates the value for model choice",
1662
- "type": "string",
1663
- "title": "value"
1664
- },
1665
- "label": {
1666
- "description": "Indicates the label for model choice",
1667
- "type": "string",
1668
- "title": "label"
1669
- }
1670
- },
1671
- "required": [
1672
- "label",
1673
- "value"
1674
- ]
1675
- },
1676
- "title": "modelTypeChoices"
1677
- }
1678
- }
1679
- },
1680
- "ModelConfig": {
1681
- "title": "ModelConfig",
1682
- "type": "object",
1683
- "properties": {
1684
- "min": {
1685
- "description": "Indicates the min value for number model",
1686
- "type": "number",
1687
- "title": "min"
1688
- },
1689
- "max": {
1690
- "description": "Indicates the max value for number model",
1691
- "type": "number",
1692
- "title": "max"
1693
- },
1694
- "default": {
1695
- "description": "Indicates the default value for number model",
1696
- "type": "number",
1697
- "title": "default"
1698
- }
1699
- }
1700
- },
1701
- "ChoiceConfig": {
1702
- "title": "ChoiceConfig",
1703
- "type": "object",
1704
- "properties": {
1705
- "value": {
1706
- "description": "Indicates the value for model choice",
1707
- "type": "string",
1708
- "title": "value"
1709
- },
1710
- "label": {
1711
- "description": "Indicates the label for model choice",
1712
- "type": "string",
1713
- "title": "label"
1714
- }
1715
- },
1716
- "required": [
1717
- "label",
1718
- "value"
1719
- ]
1720
- },
1721
- "ConfigureMathMLProp": {
1722
- "title": "ConfigureMathMLProp",
1723
- "type": "object",
1724
- "properties": {
1725
- "mmlOutput": {
1726
- "description": "Indicates if model should have mathML output instead of latex",
1727
- "type": "number",
1728
- "title": "mmlOutput"
1729
- },
1730
- "mmlEditing": {
1731
- "description": "Indicates if mathML that's already in model should be editable",
1732
- "type": "number",
1733
- "title": "mmlEditing"
1734
- }
1735
- }
1736
- },
1737
- "ConfigurePropWithEnabled": {
1738
- "title": "ConfigurePropWithEnabled",
1739
- "type": "object",
1740
- "properties": {
1741
- "enabled": {
1742
- "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)",
1743
- "type": "boolean",
1744
- "title": "enabled"
1745
- },
1746
- "settings": {
1747
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1748
- "type": "boolean",
1749
- "title": "settings"
1750
- },
1751
- "label": {
1752
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1753
- "type": "string",
1754
- "title": "label"
1755
- }
1756
- }
1757
- },
1758
- "ConfigureLanguageOptionsProp": {
1759
- "title": "ConfigureLanguageOptionsProp",
1760
- "type": "object",
1761
- "properties": {
1762
- "value": {
1763
- "description": "Value of the language option",
1764
- "type": "string",
1765
- "title": "value"
1766
- },
1767
- "label": {
1768
- "description": "Label of the language option",
1769
- "type": "string",
1770
- "title": "label"
1771
- }
1772
- },
1773
- "required": [
1774
- "label",
1775
- "value"
1776
- ]
1777
- },
1778
- "ConfigureProp": {
1779
- "title": "ConfigureProp",
1780
- "type": "object",
1781
- "properties": {
1782
- "settings": {
1783
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1784
- "type": "boolean",
1785
- "title": "settings"
1786
- },
1787
- "label": {
1788
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1789
- "type": "string",
1790
- "title": "label"
1791
- }
1792
- }
1793
- }
1794
- },
1795
- "$schema": "http://json-schema.org/draft-07/schema#"
1796
- }