@pie-element/math-templated 7.1.1-next.29 → 7.1.1-next.31

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 (119) hide show
  1. package/author.js +2 -0
  2. package/configure.js +2 -0
  3. package/controller.js +1 -0
  4. package/dist/author/defaults.d.ts +173 -0
  5. package/dist/author/defaults.js +123 -0
  6. package/dist/author/design.d.ts +35 -0
  7. package/dist/author/design.js +360 -0
  8. package/dist/author/index.d.ts +43 -0
  9. package/dist/author/index.js +100 -0
  10. package/dist/author/markupUtils.d.ts +11 -0
  11. package/dist/author/markupUtils.js +10 -0
  12. package/dist/author/response.d.ts +41 -0
  13. package/dist/author/response.js +238 -0
  14. package/dist/author/utils.d.ts +9 -0
  15. package/dist/author/utils.js +7 -0
  16. package/dist/browser/assets/Symbola-4c507403.woff2 +0 -0
  17. package/dist/browser/author/index.js +29854 -0
  18. package/dist/browser/author/index.js.map +1 -0
  19. package/dist/browser/browser-_ggI30Zt.js +342 -0
  20. package/dist/browser/browser-_ggI30Zt.js.map +1 -0
  21. package/dist/browser/controller/index.js +37733 -0
  22. package/dist/browser/controller/index.js.map +1 -0
  23. package/dist/browser/delivery/index.js +130 -0
  24. package/dist/browser/delivery/index.js.map +1 -0
  25. package/dist/browser/dist-DCmVXYeO.js +1528 -0
  26. package/dist/browser/dist-DCmVXYeO.js.map +1 -0
  27. package/dist/browser/editor-runtime/assets/Symbola-4c507403.woff2 +0 -0
  28. package/dist/browser/editor-runtime/author/index.js +13468 -0
  29. package/dist/browser/editor-runtime/author/index.js.map +1 -0
  30. package/dist/browser/editor-runtime/browser-CCIOWBDT.js +342 -0
  31. package/dist/browser/editor-runtime/browser-CCIOWBDT.js.map +1 -0
  32. package/dist/browser/editor-runtime/controller/index.js +37733 -0
  33. package/dist/browser/editor-runtime/controller/index.js.map +1 -0
  34. package/dist/browser/editor-runtime/delivery/index.js +130 -0
  35. package/dist/browser/editor-runtime/delivery/index.js.map +1 -0
  36. package/dist/browser/editor-runtime/dist-DCmVXYeO.js +1528 -0
  37. package/dist/browser/editor-runtime/dist-DCmVXYeO.js.map +1 -0
  38. package/dist/browser/editor-runtime/horizontal-keypad-CiYZhAxh.js +14467 -0
  39. package/dist/browser/editor-runtime/horizontal-keypad-CiYZhAxh.js.map +1 -0
  40. package/dist/browser/editor-runtime/main-Bq72a7tn.js +1270 -0
  41. package/dist/browser/editor-runtime/main-Bq72a7tn.js.map +1 -0
  42. package/dist/browser/editor-runtime/print/index.js +47 -0
  43. package/dist/browser/editor-runtime/print/index.js.map +1 -0
  44. package/dist/browser/horizontal-keypad-BCQ_32_9.js +14467 -0
  45. package/dist/browser/horizontal-keypad-BCQ_32_9.js.map +1 -0
  46. package/dist/browser/main-BO6AhHMd.js +1270 -0
  47. package/dist/browser/main-BO6AhHMd.js.map +1 -0
  48. package/dist/browser/print/index.js +47 -0
  49. package/dist/browser/print/index.js.map +1 -0
  50. package/dist/controller/defaults.d.ts +29 -0
  51. package/dist/controller/defaults.js +23 -0
  52. package/dist/controller/index.d.ts +45 -0
  53. package/dist/controller/index.js +154 -0
  54. package/dist/delivery/index.d.ts +20 -0
  55. package/dist/delivery/index.js +50 -0
  56. package/dist/delivery/main.d.ts +40 -0
  57. package/dist/delivery/main.js +492 -0
  58. package/dist/index.d.ts +1 -0
  59. package/dist/index.iife.d.ts +8 -0
  60. package/dist/index.iife.js +202 -0
  61. package/dist/index.js +2 -0
  62. package/dist/math-templated.css +2 -0
  63. package/dist/print/index.d.ts +15 -0
  64. package/dist/print/index.js +47 -0
  65. package/dist/runtime-support.d.ts +12 -0
  66. package/dist/runtime-support.js +12 -0
  67. package/module/assets/Symbola-4c507403.woff2 +0 -0
  68. package/module/print.js +23441 -1
  69. package/module/print.js.map +1 -0
  70. package/package.json +111 -23
  71. package/print.js +2 -0
  72. package/CHANGELOG.json +0 -1
  73. package/CHANGELOG.md +0 -1134
  74. package/LICENSE.md +0 -5
  75. package/README.md +0 -0
  76. package/configure/CHANGELOG.json +0 -1
  77. package/configure/CHANGELOG.md +0 -1011
  78. package/configure/lib/defaults.js +0 -172
  79. package/configure/lib/defaults.js.map +0 -1
  80. package/configure/lib/design.js +0 -546
  81. package/configure/lib/design.js.map +0 -1
  82. package/configure/lib/index.js +0 -169
  83. package/configure/lib/index.js.map +0 -1
  84. package/configure/lib/markupUtils.js +0 -39
  85. package/configure/lib/markupUtils.js.map +0 -1
  86. package/configure/lib/response.js +0 -394
  87. package/configure/lib/response.js.map +0 -1
  88. package/configure/lib/utils.js +0 -15
  89. package/configure/lib/utils.js.map +0 -1
  90. package/configure/package.json +0 -26
  91. package/controller/CHANGELOG.json +0 -1
  92. package/controller/CHANGELOG.md +0 -870
  93. package/controller/lib/defaults.js +0 -28
  94. package/controller/lib/defaults.js.map +0 -1
  95. package/controller/lib/index.js +0 -360
  96. package/controller/lib/index.js.map +0 -1
  97. package/controller/package.json +0 -17
  98. package/docs/config-schema.json +0 -2251
  99. package/docs/config-schema.json.md +0 -1658
  100. package/docs/demo/config.js +0 -8
  101. package/docs/demo/generate.js +0 -42
  102. package/docs/demo/index.html +0 -1
  103. package/docs/demo/session.js +0 -14
  104. package/docs/pie-schema.json +0 -1231
  105. package/docs/pie-schema.json.md +0 -894
  106. package/lib/index.js +0 -76
  107. package/lib/index.js.map +0 -1
  108. package/lib/main.js +0 -877
  109. package/lib/main.js.map +0 -1
  110. package/lib/print.js +0 -88
  111. package/lib/print.js.map +0 -1
  112. package/module/configure.js +0 -1
  113. package/module/controller.js +0 -3711
  114. package/module/demo.js +0 -67
  115. package/module/element.js +0 -1
  116. package/module/index.html +0 -21
  117. package/module/manifest.json +0 -22
  118. package/module/print-demo.js +0 -105
  119. package/module/print.html +0 -18
@@ -1,2251 +0,0 @@
1
- {
2
- "description": "Config Object for @pie-elements/math-templated-configure",
3
- "additionalProperties": false,
4
- "type": "object",
5
- "properties": {
6
- "ignoreOrder": {
7
- "title": "ConfigurePropWithEnabled",
8
- "type": "object",
9
- "properties": {
10
- "enabled": {
11
- "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)",
12
- "type": "boolean",
13
- "title": "enabled"
14
- },
15
- "settings": {
16
- "description": "Indicates if the item has to be displayed in the Settings Panel",
17
- "type": "boolean",
18
- "title": "settings"
19
- },
20
- "label": {
21
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
22
- "type": "string",
23
- "title": "label"
24
- }
25
- }
26
- },
27
- "allowTrailingZeros": {
28
- "title": "ConfigurePropWithEnabled",
29
- "type": "object",
30
- "properties": {
31
- "enabled": {
32
- "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)",
33
- "type": "boolean",
34
- "title": "enabled"
35
- },
36
- "settings": {
37
- "description": "Indicates if the item has to be displayed in the Settings Panel",
38
- "type": "boolean",
39
- "title": "settings"
40
- },
41
- "label": {
42
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
43
- "type": "string",
44
- "title": "label"
45
- }
46
- }
47
- },
48
- "partialScoring": {
49
- "title": "ConfigureProp",
50
- "type": "object",
51
- "properties": {
52
- "settings": {
53
- "description": "Indicates if the item has to be displayed in the Settings Panel",
54
- "type": "boolean",
55
- "title": "settings"
56
- },
57
- "label": {
58
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
59
- "type": "string",
60
- "title": "label"
61
- }
62
- }
63
- },
64
- "baseInputConfiguration": {
65
- "title": "EditableHtmlConfigureProp",
66
- "type": "object",
67
- "properties": {
68
- "math": {
69
- "title": "EditableHtmlButtonConfigure",
70
- "type": "object",
71
- "properties": {
72
- "disabled": {
73
- "description": "Indicates if the plugin is disabled or not",
74
- "type": "boolean",
75
- "title": "disabled"
76
- }
77
- }
78
- },
79
- "audio": {
80
- "title": "EditableHtmlButtonConfigure",
81
- "type": "object",
82
- "properties": {
83
- "disabled": {
84
- "description": "Indicates if the plugin is disabled or not",
85
- "type": "boolean",
86
- "title": "disabled"
87
- }
88
- }
89
- },
90
- "video": {
91
- "title": "EditableHtmlButtonConfigure",
92
- "type": "object",
93
- "properties": {
94
- "disabled": {
95
- "description": "Indicates if the plugin is disabled or not",
96
- "type": "boolean",
97
- "title": "disabled"
98
- }
99
- }
100
- },
101
- "image": {
102
- "title": "EditableHtmlButtonConfigure",
103
- "type": "object",
104
- "properties": {
105
- "disabled": {
106
- "description": "Indicates if the plugin is disabled or not",
107
- "type": "boolean",
108
- "title": "disabled"
109
- }
110
- }
111
- },
112
- "customPlugins": {
113
- "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.",
114
- "type": "array",
115
- "items": {
116
- "title": "CustomPlugin",
117
- "type": "object",
118
- "properties": {
119
- "event": {
120
- "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\"",
121
- "type": "string",
122
- "title": "event"
123
- },
124
- "iconAlt": {
125
- "description": "The alt for the custom button icon",
126
- "type": "string",
127
- "title": "iconAlt"
128
- },
129
- "iconType": {
130
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
131
- "type": "string",
132
- "title": "iconType"
133
- },
134
- "icon": {
135
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
136
- "type": "string",
137
- "title": "icon"
138
- }
139
- },
140
- "required": [
141
- "event",
142
- "icon",
143
- "iconAlt",
144
- "iconType"
145
- ]
146
- },
147
- "title": "customPlugins"
148
- },
149
- "blockquote": {
150
- "title": "EditableHtmlButtonConfigure",
151
- "type": "object",
152
- "properties": {
153
- "disabled": {
154
- "description": "Indicates if the plugin is disabled or not",
155
- "type": "boolean",
156
- "title": "disabled"
157
- }
158
- }
159
- },
160
- "h3": {
161
- "title": "EditableHtmlButtonConfigure",
162
- "type": "object",
163
- "properties": {
164
- "disabled": {
165
- "description": "Indicates if the plugin is disabled or not",
166
- "type": "boolean",
167
- "title": "disabled"
168
- }
169
- }
170
- },
171
- "characters": {
172
- "title": "EditableHtmlButtonConfigure",
173
- "type": "object",
174
- "properties": {
175
- "disabled": {
176
- "description": "Indicates if the plugin is disabled or not",
177
- "type": "boolean",
178
- "title": "disabled"
179
- }
180
- }
181
- },
182
- "bold": {
183
- "title": "EditableHtmlButtonConfigure",
184
- "type": "object",
185
- "properties": {
186
- "disabled": {
187
- "description": "Indicates if the plugin is disabled or not",
188
- "type": "boolean",
189
- "title": "disabled"
190
- }
191
- }
192
- },
193
- "html": {
194
- "title": "EditableHtmlButtonConfigure",
195
- "type": "object",
196
- "properties": {
197
- "disabled": {
198
- "description": "Indicates if the plugin is disabled or not",
199
- "type": "boolean",
200
- "title": "disabled"
201
- }
202
- }
203
- },
204
- "italic": {
205
- "title": "EditableHtmlButtonConfigure",
206
- "type": "object",
207
- "properties": {
208
- "disabled": {
209
- "description": "Indicates if the plugin is disabled or not",
210
- "type": "boolean",
211
- "title": "disabled"
212
- }
213
- }
214
- },
215
- "ol_list": {
216
- "title": "EditableHtmlButtonConfigure",
217
- "type": "object",
218
- "properties": {
219
- "disabled": {
220
- "description": "Indicates if the plugin is disabled or not",
221
- "type": "boolean",
222
- "title": "disabled"
223
- }
224
- }
225
- },
226
- "redo": {
227
- "title": "EditableHtmlButtonConfigure",
228
- "type": "object",
229
- "properties": {
230
- "disabled": {
231
- "description": "Indicates if the plugin is disabled or not",
232
- "type": "boolean",
233
- "title": "disabled"
234
- }
235
- }
236
- },
237
- "strikethrough": {
238
- "title": "EditableHtmlButtonConfigure",
239
- "type": "object",
240
- "properties": {
241
- "disabled": {
242
- "description": "Indicates if the plugin is disabled or not",
243
- "type": "boolean",
244
- "title": "disabled"
245
- }
246
- }
247
- },
248
- "sub": {
249
- "title": "EditableHtmlButtonConfigure",
250
- "type": "object",
251
- "properties": {
252
- "disabled": {
253
- "description": "Indicates if the plugin is disabled or not",
254
- "type": "boolean",
255
- "title": "disabled"
256
- }
257
- }
258
- },
259
- "sup": {
260
- "title": "EditableHtmlButtonConfigure",
261
- "type": "object",
262
- "properties": {
263
- "disabled": {
264
- "description": "Indicates if the plugin is disabled or not",
265
- "type": "boolean",
266
- "title": "disabled"
267
- }
268
- }
269
- },
270
- "table": {
271
- "title": "EditableHtmlButtonConfigure",
272
- "type": "object",
273
- "properties": {
274
- "disabled": {
275
- "description": "Indicates if the plugin is disabled or not",
276
- "type": "boolean",
277
- "title": "disabled"
278
- }
279
- }
280
- },
281
- "ul_list": {
282
- "title": "EditableHtmlButtonConfigure",
283
- "type": "object",
284
- "properties": {
285
- "disabled": {
286
- "description": "Indicates if the plugin is disabled or not",
287
- "type": "boolean",
288
- "title": "disabled"
289
- }
290
- }
291
- },
292
- "underline": {
293
- "title": "EditableHtmlButtonConfigure",
294
- "type": "object",
295
- "properties": {
296
- "disabled": {
297
- "description": "Indicates if the plugin is disabled or not",
298
- "type": "boolean",
299
- "title": "disabled"
300
- }
301
- }
302
- },
303
- "undo": {
304
- "title": "EditableHtmlButtonConfigure",
305
- "type": "object",
306
- "properties": {
307
- "disabled": {
308
- "description": "Indicates if the plugin is disabled or not",
309
- "type": "boolean",
310
- "title": "disabled"
311
- }
312
- }
313
- }
314
- }
315
- },
316
- "prompt": {
317
- "title": "EditableHtmlPluginConfigureRequired",
318
- "type": "object",
319
- "properties": {
320
- "inputConfiguration": {
321
- "title": "EditableHtmlConfigureProp",
322
- "type": "object",
323
- "properties": {
324
- "math": {
325
- "title": "EditableHtmlButtonConfigure",
326
- "type": "object",
327
- "properties": {
328
- "disabled": {
329
- "description": "Indicates if the plugin is disabled or not",
330
- "type": "boolean",
331
- "title": "disabled"
332
- }
333
- }
334
- },
335
- "audio": {
336
- "title": "EditableHtmlButtonConfigure",
337
- "type": "object",
338
- "properties": {
339
- "disabled": {
340
- "description": "Indicates if the plugin is disabled or not",
341
- "type": "boolean",
342
- "title": "disabled"
343
- }
344
- }
345
- },
346
- "video": {
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
- },
357
- "image": {
358
- "title": "EditableHtmlButtonConfigure",
359
- "type": "object",
360
- "properties": {
361
- "disabled": {
362
- "description": "Indicates if the plugin is disabled or not",
363
- "type": "boolean",
364
- "title": "disabled"
365
- }
366
- }
367
- },
368
- "customPlugins": {
369
- "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.",
370
- "type": "array",
371
- "items": {
372
- "title": "CustomPlugin",
373
- "type": "object",
374
- "properties": {
375
- "event": {
376
- "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\"",
377
- "type": "string",
378
- "title": "event"
379
- },
380
- "iconAlt": {
381
- "description": "The alt for the custom button icon",
382
- "type": "string",
383
- "title": "iconAlt"
384
- },
385
- "iconType": {
386
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
387
- "type": "string",
388
- "title": "iconType"
389
- },
390
- "icon": {
391
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
392
- "type": "string",
393
- "title": "icon"
394
- }
395
- },
396
- "required": [
397
- "event",
398
- "icon",
399
- "iconAlt",
400
- "iconType"
401
- ]
402
- },
403
- "title": "customPlugins"
404
- },
405
- "blockquote": {
406
- "title": "EditableHtmlButtonConfigure",
407
- "type": "object",
408
- "properties": {
409
- "disabled": {
410
- "description": "Indicates if the plugin is disabled or not",
411
- "type": "boolean",
412
- "title": "disabled"
413
- }
414
- }
415
- },
416
- "h3": {
417
- "title": "EditableHtmlButtonConfigure",
418
- "type": "object",
419
- "properties": {
420
- "disabled": {
421
- "description": "Indicates if the plugin is disabled or not",
422
- "type": "boolean",
423
- "title": "disabled"
424
- }
425
- }
426
- },
427
- "characters": {
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
- },
438
- "bold": {
439
- "title": "EditableHtmlButtonConfigure",
440
- "type": "object",
441
- "properties": {
442
- "disabled": {
443
- "description": "Indicates if the plugin is disabled or not",
444
- "type": "boolean",
445
- "title": "disabled"
446
- }
447
- }
448
- },
449
- "html": {
450
- "title": "EditableHtmlButtonConfigure",
451
- "type": "object",
452
- "properties": {
453
- "disabled": {
454
- "description": "Indicates if the plugin is disabled or not",
455
- "type": "boolean",
456
- "title": "disabled"
457
- }
458
- }
459
- },
460
- "italic": {
461
- "title": "EditableHtmlButtonConfigure",
462
- "type": "object",
463
- "properties": {
464
- "disabled": {
465
- "description": "Indicates if the plugin is disabled or not",
466
- "type": "boolean",
467
- "title": "disabled"
468
- }
469
- }
470
- },
471
- "ol_list": {
472
- "title": "EditableHtmlButtonConfigure",
473
- "type": "object",
474
- "properties": {
475
- "disabled": {
476
- "description": "Indicates if the plugin is disabled or not",
477
- "type": "boolean",
478
- "title": "disabled"
479
- }
480
- }
481
- },
482
- "redo": {
483
- "title": "EditableHtmlButtonConfigure",
484
- "type": "object",
485
- "properties": {
486
- "disabled": {
487
- "description": "Indicates if the plugin is disabled or not",
488
- "type": "boolean",
489
- "title": "disabled"
490
- }
491
- }
492
- },
493
- "strikethrough": {
494
- "title": "EditableHtmlButtonConfigure",
495
- "type": "object",
496
- "properties": {
497
- "disabled": {
498
- "description": "Indicates if the plugin is disabled or not",
499
- "type": "boolean",
500
- "title": "disabled"
501
- }
502
- }
503
- },
504
- "sub": {
505
- "title": "EditableHtmlButtonConfigure",
506
- "type": "object",
507
- "properties": {
508
- "disabled": {
509
- "description": "Indicates if the plugin is disabled or not",
510
- "type": "boolean",
511
- "title": "disabled"
512
- }
513
- }
514
- },
515
- "sup": {
516
- "title": "EditableHtmlButtonConfigure",
517
- "type": "object",
518
- "properties": {
519
- "disabled": {
520
- "description": "Indicates if the plugin is disabled or not",
521
- "type": "boolean",
522
- "title": "disabled"
523
- }
524
- }
525
- },
526
- "table": {
527
- "title": "EditableHtmlButtonConfigure",
528
- "type": "object",
529
- "properties": {
530
- "disabled": {
531
- "description": "Indicates if the plugin is disabled or not",
532
- "type": "boolean",
533
- "title": "disabled"
534
- }
535
- }
536
- },
537
- "ul_list": {
538
- "title": "EditableHtmlButtonConfigure",
539
- "type": "object",
540
- "properties": {
541
- "disabled": {
542
- "description": "Indicates if the plugin is disabled or not",
543
- "type": "boolean",
544
- "title": "disabled"
545
- }
546
- }
547
- },
548
- "underline": {
549
- "title": "EditableHtmlButtonConfigure",
550
- "type": "object",
551
- "properties": {
552
- "disabled": {
553
- "description": "Indicates if the plugin is disabled or not",
554
- "type": "boolean",
555
- "title": "disabled"
556
- }
557
- }
558
- },
559
- "undo": {
560
- "title": "EditableHtmlButtonConfigure",
561
- "type": "object",
562
- "properties": {
563
- "disabled": {
564
- "description": "Indicates if the plugin is disabled or not",
565
- "type": "boolean",
566
- "title": "disabled"
567
- }
568
- }
569
- }
570
- }
571
- },
572
- "required": {
573
- "description": "Indicates if the item is required and the value cannot be empty",
574
- "type": "boolean",
575
- "title": "required"
576
- },
577
- "settings": {
578
- "description": "Indicates if the item has to be displayed in the Settings Panel",
579
- "type": "boolean",
580
- "title": "settings"
581
- },
582
- "label": {
583
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
584
- "type": "string",
585
- "title": "label"
586
- }
587
- }
588
- },
589
- "spellCheck": {
590
- "title": "ConfigureProp",
591
- "type": "object",
592
- "properties": {
593
- "settings": {
594
- "description": "Indicates if the item has to be displayed in the Settings Panel",
595
- "type": "boolean",
596
- "title": "settings"
597
- },
598
- "label": {
599
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
600
- "type": "string",
601
- "title": "label"
602
- }
603
- }
604
- },
605
- "editSource": {
606
- "title": "ConfigureProp",
607
- "type": "object",
608
- "properties": {
609
- "settings": {
610
- "description": "Indicates if the item has to be displayed in the Settings Panel",
611
- "type": "boolean",
612
- "title": "settings"
613
- },
614
- "label": {
615
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
616
- "type": "string",
617
- "title": "label"
618
- }
619
- }
620
- },
621
- "playerSpellCheck": {
622
- "title": "ConfigureProp",
623
- "type": "object",
624
- "properties": {
625
- "settings": {
626
- "description": "Indicates if the item has to be displayed in the Settings Panel",
627
- "type": "boolean",
628
- "title": "settings"
629
- },
630
- "label": {
631
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
632
- "type": "string",
633
- "title": "label"
634
- }
635
- }
636
- },
637
- "teacherInstructions": {
638
- "title": "EditableHtmlPluginConfigureRequired",
639
- "type": "object",
640
- "properties": {
641
- "inputConfiguration": {
642
- "title": "EditableHtmlConfigureProp",
643
- "type": "object",
644
- "properties": {
645
- "math": {
646
- "title": "EditableHtmlButtonConfigure",
647
- "type": "object",
648
- "properties": {
649
- "disabled": {
650
- "description": "Indicates if the plugin is disabled or not",
651
- "type": "boolean",
652
- "title": "disabled"
653
- }
654
- }
655
- },
656
- "audio": {
657
- "title": "EditableHtmlButtonConfigure",
658
- "type": "object",
659
- "properties": {
660
- "disabled": {
661
- "description": "Indicates if the plugin is disabled or not",
662
- "type": "boolean",
663
- "title": "disabled"
664
- }
665
- }
666
- },
667
- "video": {
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
- },
678
- "image": {
679
- "title": "EditableHtmlButtonConfigure",
680
- "type": "object",
681
- "properties": {
682
- "disabled": {
683
- "description": "Indicates if the plugin is disabled or not",
684
- "type": "boolean",
685
- "title": "disabled"
686
- }
687
- }
688
- },
689
- "customPlugins": {
690
- "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.",
691
- "type": "array",
692
- "items": {
693
- "title": "CustomPlugin",
694
- "type": "object",
695
- "properties": {
696
- "event": {
697
- "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\"",
698
- "type": "string",
699
- "title": "event"
700
- },
701
- "iconAlt": {
702
- "description": "The alt for the custom button icon",
703
- "type": "string",
704
- "title": "iconAlt"
705
- },
706
- "iconType": {
707
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
708
- "type": "string",
709
- "title": "iconType"
710
- },
711
- "icon": {
712
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
713
- "type": "string",
714
- "title": "icon"
715
- }
716
- },
717
- "required": [
718
- "event",
719
- "icon",
720
- "iconAlt",
721
- "iconType"
722
- ]
723
- },
724
- "title": "customPlugins"
725
- },
726
- "blockquote": {
727
- "title": "EditableHtmlButtonConfigure",
728
- "type": "object",
729
- "properties": {
730
- "disabled": {
731
- "description": "Indicates if the plugin is disabled or not",
732
- "type": "boolean",
733
- "title": "disabled"
734
- }
735
- }
736
- },
737
- "h3": {
738
- "title": "EditableHtmlButtonConfigure",
739
- "type": "object",
740
- "properties": {
741
- "disabled": {
742
- "description": "Indicates if the plugin is disabled or not",
743
- "type": "boolean",
744
- "title": "disabled"
745
- }
746
- }
747
- },
748
- "characters": {
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
- },
759
- "bold": {
760
- "title": "EditableHtmlButtonConfigure",
761
- "type": "object",
762
- "properties": {
763
- "disabled": {
764
- "description": "Indicates if the plugin is disabled or not",
765
- "type": "boolean",
766
- "title": "disabled"
767
- }
768
- }
769
- },
770
- "html": {
771
- "title": "EditableHtmlButtonConfigure",
772
- "type": "object",
773
- "properties": {
774
- "disabled": {
775
- "description": "Indicates if the plugin is disabled or not",
776
- "type": "boolean",
777
- "title": "disabled"
778
- }
779
- }
780
- },
781
- "italic": {
782
- "title": "EditableHtmlButtonConfigure",
783
- "type": "object",
784
- "properties": {
785
- "disabled": {
786
- "description": "Indicates if the plugin is disabled or not",
787
- "type": "boolean",
788
- "title": "disabled"
789
- }
790
- }
791
- },
792
- "ol_list": {
793
- "title": "EditableHtmlButtonConfigure",
794
- "type": "object",
795
- "properties": {
796
- "disabled": {
797
- "description": "Indicates if the plugin is disabled or not",
798
- "type": "boolean",
799
- "title": "disabled"
800
- }
801
- }
802
- },
803
- "redo": {
804
- "title": "EditableHtmlButtonConfigure",
805
- "type": "object",
806
- "properties": {
807
- "disabled": {
808
- "description": "Indicates if the plugin is disabled or not",
809
- "type": "boolean",
810
- "title": "disabled"
811
- }
812
- }
813
- },
814
- "strikethrough": {
815
- "title": "EditableHtmlButtonConfigure",
816
- "type": "object",
817
- "properties": {
818
- "disabled": {
819
- "description": "Indicates if the plugin is disabled or not",
820
- "type": "boolean",
821
- "title": "disabled"
822
- }
823
- }
824
- },
825
- "sub": {
826
- "title": "EditableHtmlButtonConfigure",
827
- "type": "object",
828
- "properties": {
829
- "disabled": {
830
- "description": "Indicates if the plugin is disabled or not",
831
- "type": "boolean",
832
- "title": "disabled"
833
- }
834
- }
835
- },
836
- "sup": {
837
- "title": "EditableHtmlButtonConfigure",
838
- "type": "object",
839
- "properties": {
840
- "disabled": {
841
- "description": "Indicates if the plugin is disabled or not",
842
- "type": "boolean",
843
- "title": "disabled"
844
- }
845
- }
846
- },
847
- "table": {
848
- "title": "EditableHtmlButtonConfigure",
849
- "type": "object",
850
- "properties": {
851
- "disabled": {
852
- "description": "Indicates if the plugin is disabled or not",
853
- "type": "boolean",
854
- "title": "disabled"
855
- }
856
- }
857
- },
858
- "ul_list": {
859
- "title": "EditableHtmlButtonConfigure",
860
- "type": "object",
861
- "properties": {
862
- "disabled": {
863
- "description": "Indicates if the plugin is disabled or not",
864
- "type": "boolean",
865
- "title": "disabled"
866
- }
867
- }
868
- },
869
- "underline": {
870
- "title": "EditableHtmlButtonConfigure",
871
- "type": "object",
872
- "properties": {
873
- "disabled": {
874
- "description": "Indicates if the plugin is disabled or not",
875
- "type": "boolean",
876
- "title": "disabled"
877
- }
878
- }
879
- },
880
- "undo": {
881
- "title": "EditableHtmlButtonConfigure",
882
- "type": "object",
883
- "properties": {
884
- "disabled": {
885
- "description": "Indicates if the plugin is disabled or not",
886
- "type": "boolean",
887
- "title": "disabled"
888
- }
889
- }
890
- }
891
- }
892
- },
893
- "required": {
894
- "description": "Indicates if the item is required and the value cannot be empty",
895
- "type": "boolean",
896
- "title": "required"
897
- },
898
- "settings": {
899
- "description": "Indicates if the item has to be displayed in the Settings Panel",
900
- "type": "boolean",
901
- "title": "settings"
902
- },
903
- "label": {
904
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
905
- "type": "string",
906
- "title": "label"
907
- }
908
- }
909
- },
910
- "rationale": {
911
- "title": "ConfigureProp",
912
- "type": "object",
913
- "properties": {
914
- "settings": {
915
- "description": "Indicates if the item has to be displayed in the Settings Panel",
916
- "type": "boolean",
917
- "title": "settings"
918
- },
919
- "label": {
920
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
921
- "type": "string",
922
- "title": "label"
923
- }
924
- }
925
- },
926
- "template": {
927
- "title": "EditableHtmlPluginConfigure",
928
- "type": "object",
929
- "properties": {
930
- "inputConfiguration": {
931
- "title": "EditableHtmlConfigureProp",
932
- "type": "object",
933
- "properties": {
934
- "math": {
935
- "title": "EditableHtmlButtonConfigure",
936
- "type": "object",
937
- "properties": {
938
- "disabled": {
939
- "description": "Indicates if the plugin is disabled or not",
940
- "type": "boolean",
941
- "title": "disabled"
942
- }
943
- }
944
- },
945
- "audio": {
946
- "title": "EditableHtmlButtonConfigure",
947
- "type": "object",
948
- "properties": {
949
- "disabled": {
950
- "description": "Indicates if the plugin is disabled or not",
951
- "type": "boolean",
952
- "title": "disabled"
953
- }
954
- }
955
- },
956
- "video": {
957
- "title": "EditableHtmlButtonConfigure",
958
- "type": "object",
959
- "properties": {
960
- "disabled": {
961
- "description": "Indicates if the plugin is disabled or not",
962
- "type": "boolean",
963
- "title": "disabled"
964
- }
965
- }
966
- },
967
- "image": {
968
- "title": "EditableHtmlButtonConfigure",
969
- "type": "object",
970
- "properties": {
971
- "disabled": {
972
- "description": "Indicates if the plugin is disabled or not",
973
- "type": "boolean",
974
- "title": "disabled"
975
- }
976
- }
977
- },
978
- "customPlugins": {
979
- "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.",
980
- "type": "array",
981
- "items": {
982
- "title": "CustomPlugin",
983
- "type": "object",
984
- "properties": {
985
- "event": {
986
- "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\"",
987
- "type": "string",
988
- "title": "event"
989
- },
990
- "iconAlt": {
991
- "description": "The alt for the custom button icon",
992
- "type": "string",
993
- "title": "iconAlt"
994
- },
995
- "iconType": {
996
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
997
- "type": "string",
998
- "title": "iconType"
999
- },
1000
- "icon": {
1001
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1002
- "type": "string",
1003
- "title": "icon"
1004
- }
1005
- },
1006
- "required": [
1007
- "event",
1008
- "icon",
1009
- "iconAlt",
1010
- "iconType"
1011
- ]
1012
- },
1013
- "title": "customPlugins"
1014
- },
1015
- "blockquote": {
1016
- "title": "EditableHtmlButtonConfigure",
1017
- "type": "object",
1018
- "properties": {
1019
- "disabled": {
1020
- "description": "Indicates if the plugin is disabled or not",
1021
- "type": "boolean",
1022
- "title": "disabled"
1023
- }
1024
- }
1025
- },
1026
- "h3": {
1027
- "title": "EditableHtmlButtonConfigure",
1028
- "type": "object",
1029
- "properties": {
1030
- "disabled": {
1031
- "description": "Indicates if the plugin is disabled or not",
1032
- "type": "boolean",
1033
- "title": "disabled"
1034
- }
1035
- }
1036
- },
1037
- "characters": {
1038
- "title": "EditableHtmlButtonConfigure",
1039
- "type": "object",
1040
- "properties": {
1041
- "disabled": {
1042
- "description": "Indicates if the plugin is disabled or not",
1043
- "type": "boolean",
1044
- "title": "disabled"
1045
- }
1046
- }
1047
- },
1048
- "bold": {
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
- "html": {
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
- "italic": {
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
- "ol_list": {
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
- "redo": {
1093
- "title": "EditableHtmlButtonConfigure",
1094
- "type": "object",
1095
- "properties": {
1096
- "disabled": {
1097
- "description": "Indicates if the plugin is disabled or not",
1098
- "type": "boolean",
1099
- "title": "disabled"
1100
- }
1101
- }
1102
- },
1103
- "strikethrough": {
1104
- "title": "EditableHtmlButtonConfigure",
1105
- "type": "object",
1106
- "properties": {
1107
- "disabled": {
1108
- "description": "Indicates if the plugin is disabled or not",
1109
- "type": "boolean",
1110
- "title": "disabled"
1111
- }
1112
- }
1113
- },
1114
- "sub": {
1115
- "title": "EditableHtmlButtonConfigure",
1116
- "type": "object",
1117
- "properties": {
1118
- "disabled": {
1119
- "description": "Indicates if the plugin is disabled or not",
1120
- "type": "boolean",
1121
- "title": "disabled"
1122
- }
1123
- }
1124
- },
1125
- "sup": {
1126
- "title": "EditableHtmlButtonConfigure",
1127
- "type": "object",
1128
- "properties": {
1129
- "disabled": {
1130
- "description": "Indicates if the plugin is disabled or not",
1131
- "type": "boolean",
1132
- "title": "disabled"
1133
- }
1134
- }
1135
- },
1136
- "table": {
1137
- "title": "EditableHtmlButtonConfigure",
1138
- "type": "object",
1139
- "properties": {
1140
- "disabled": {
1141
- "description": "Indicates if the plugin is disabled or not",
1142
- "type": "boolean",
1143
- "title": "disabled"
1144
- }
1145
- }
1146
- },
1147
- "ul_list": {
1148
- "title": "EditableHtmlButtonConfigure",
1149
- "type": "object",
1150
- "properties": {
1151
- "disabled": {
1152
- "description": "Indicates if the plugin is disabled or not",
1153
- "type": "boolean",
1154
- "title": "disabled"
1155
- }
1156
- }
1157
- },
1158
- "underline": {
1159
- "title": "EditableHtmlButtonConfigure",
1160
- "type": "object",
1161
- "properties": {
1162
- "disabled": {
1163
- "description": "Indicates if the plugin is disabled or not",
1164
- "type": "boolean",
1165
- "title": "disabled"
1166
- }
1167
- }
1168
- },
1169
- "undo": {
1170
- "title": "EditableHtmlButtonConfigure",
1171
- "type": "object",
1172
- "properties": {
1173
- "disabled": {
1174
- "description": "Indicates if the plugin is disabled or not",
1175
- "type": "boolean",
1176
- "title": "disabled"
1177
- }
1178
- }
1179
- }
1180
- }
1181
- },
1182
- "settings": {
1183
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1184
- "type": "boolean",
1185
- "title": "settings"
1186
- },
1187
- "label": {
1188
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1189
- "type": "string",
1190
- "title": "label"
1191
- }
1192
- }
1193
- },
1194
- "maxImageWidth": {
1195
- "title": "ConfigureMaxImageDimensionsProp",
1196
- "type": "object",
1197
- "properties": {
1198
- "teacherInstructions": {
1199
- "description": "Indicates the max dimension for images in teacher instructions",
1200
- "type": "number",
1201
- "title": "teacherInstructions"
1202
- },
1203
- "prompt": {
1204
- "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",
1205
- "type": "number",
1206
- "title": "prompt"
1207
- },
1208
- "rationale": {
1209
- "description": "Indicates the max dimension for images in rationale",
1210
- "type": "number",
1211
- "title": "rationale"
1212
- }
1213
- }
1214
- },
1215
- "maxImageHeight": {
1216
- "title": "ConfigureMaxImageDimensionsProp",
1217
- "type": "object",
1218
- "properties": {
1219
- "teacherInstructions": {
1220
- "description": "Indicates the max dimension for images in teacher instructions",
1221
- "type": "number",
1222
- "title": "teacherInstructions"
1223
- },
1224
- "prompt": {
1225
- "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",
1226
- "type": "number",
1227
- "title": "prompt"
1228
- },
1229
- "rationale": {
1230
- "description": "Indicates the max dimension for images in rationale",
1231
- "type": "number",
1232
- "title": "rationale"
1233
- }
1234
- }
1235
- },
1236
- "mathMlOptions": {
1237
- "title": "ConfigureMathMLProp",
1238
- "type": "object",
1239
- "properties": {
1240
- "mmlOutput": {
1241
- "description": "Indicates if model should have mathML output instead of latex",
1242
- "type": "number",
1243
- "title": "mmlOutput"
1244
- },
1245
- "mmlEditing": {
1246
- "description": "Indicates if mathML that's already in model should be editable",
1247
- "type": "number",
1248
- "title": "mmlEditing"
1249
- }
1250
- }
1251
- },
1252
- "language": {
1253
- "title": "ConfigurePropWithEnabled",
1254
- "type": "object",
1255
- "properties": {
1256
- "enabled": {
1257
- "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)",
1258
- "type": "boolean",
1259
- "title": "enabled"
1260
- },
1261
- "settings": {
1262
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1263
- "type": "boolean",
1264
- "title": "settings"
1265
- },
1266
- "label": {
1267
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1268
- "type": "string",
1269
- "title": "label"
1270
- }
1271
- }
1272
- },
1273
- "languageChoices": {
1274
- "description": "Language choices configuration\nOnly available if language is enabled",
1275
- "type": "object",
1276
- "properties": {
1277
- "label": {
1278
- "type": "string",
1279
- "title": "label"
1280
- },
1281
- "options": {
1282
- "type": "array",
1283
- "items": {
1284
- "title": "ConfigureLanguageOptionsProp",
1285
- "type": "object",
1286
- "properties": {
1287
- "value": {
1288
- "description": "Value of the language option",
1289
- "type": "string",
1290
- "title": "value"
1291
- },
1292
- "label": {
1293
- "description": "Label of the language option",
1294
- "type": "string",
1295
- "title": "label"
1296
- }
1297
- },
1298
- "required": [
1299
- "label",
1300
- "value"
1301
- ]
1302
- },
1303
- "title": "options"
1304
- }
1305
- },
1306
- "required": [
1307
- "label",
1308
- "options"
1309
- ],
1310
- "title": "languageChoices"
1311
- },
1312
- "maxResponseAreas": {
1313
- "description": "Maximum number of response areas",
1314
- "type": "number",
1315
- "title": "maxResponseAreas"
1316
- }
1317
- },
1318
- "definitions": {
1319
- "ConfigurePropWithEnabled": {
1320
- "title": "ConfigurePropWithEnabled",
1321
- "type": "object",
1322
- "properties": {
1323
- "enabled": {
1324
- "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)",
1325
- "type": "boolean",
1326
- "title": "enabled"
1327
- },
1328
- "settings": {
1329
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1330
- "type": "boolean",
1331
- "title": "settings"
1332
- },
1333
- "label": {
1334
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1335
- "type": "string",
1336
- "title": "label"
1337
- }
1338
- }
1339
- },
1340
- "ConfigureProp": {
1341
- "title": "ConfigureProp",
1342
- "type": "object",
1343
- "properties": {
1344
- "settings": {
1345
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1346
- "type": "boolean",
1347
- "title": "settings"
1348
- },
1349
- "label": {
1350
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1351
- "type": "string",
1352
- "title": "label"
1353
- }
1354
- }
1355
- },
1356
- "EditableHtmlConfigureProp": {
1357
- "title": "EditableHtmlConfigureProp",
1358
- "type": "object",
1359
- "properties": {
1360
- "math": {
1361
- "title": "EditableHtmlButtonConfigure",
1362
- "type": "object",
1363
- "properties": {
1364
- "disabled": {
1365
- "description": "Indicates if the plugin is disabled or not",
1366
- "type": "boolean",
1367
- "title": "disabled"
1368
- }
1369
- }
1370
- },
1371
- "audio": {
1372
- "title": "EditableHtmlButtonConfigure",
1373
- "type": "object",
1374
- "properties": {
1375
- "disabled": {
1376
- "description": "Indicates if the plugin is disabled or not",
1377
- "type": "boolean",
1378
- "title": "disabled"
1379
- }
1380
- }
1381
- },
1382
- "video": {
1383
- "title": "EditableHtmlButtonConfigure",
1384
- "type": "object",
1385
- "properties": {
1386
- "disabled": {
1387
- "description": "Indicates if the plugin is disabled or not",
1388
- "type": "boolean",
1389
- "title": "disabled"
1390
- }
1391
- }
1392
- },
1393
- "image": {
1394
- "title": "EditableHtmlButtonConfigure",
1395
- "type": "object",
1396
- "properties": {
1397
- "disabled": {
1398
- "description": "Indicates if the plugin is disabled or not",
1399
- "type": "boolean",
1400
- "title": "disabled"
1401
- }
1402
- }
1403
- },
1404
- "customPlugins": {
1405
- "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.",
1406
- "type": "array",
1407
- "items": {
1408
- "title": "CustomPlugin",
1409
- "type": "object",
1410
- "properties": {
1411
- "event": {
1412
- "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\"",
1413
- "type": "string",
1414
- "title": "event"
1415
- },
1416
- "iconAlt": {
1417
- "description": "The alt for the custom button icon",
1418
- "type": "string",
1419
- "title": "iconAlt"
1420
- },
1421
- "iconType": {
1422
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1423
- "type": "string",
1424
- "title": "iconType"
1425
- },
1426
- "icon": {
1427
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1428
- "type": "string",
1429
- "title": "icon"
1430
- }
1431
- },
1432
- "required": [
1433
- "event",
1434
- "icon",
1435
- "iconAlt",
1436
- "iconType"
1437
- ]
1438
- },
1439
- "title": "customPlugins"
1440
- },
1441
- "blockquote": {
1442
- "title": "EditableHtmlButtonConfigure",
1443
- "type": "object",
1444
- "properties": {
1445
- "disabled": {
1446
- "description": "Indicates if the plugin is disabled or not",
1447
- "type": "boolean",
1448
- "title": "disabled"
1449
- }
1450
- }
1451
- },
1452
- "h3": {
1453
- "title": "EditableHtmlButtonConfigure",
1454
- "type": "object",
1455
- "properties": {
1456
- "disabled": {
1457
- "description": "Indicates if the plugin is disabled or not",
1458
- "type": "boolean",
1459
- "title": "disabled"
1460
- }
1461
- }
1462
- },
1463
- "characters": {
1464
- "title": "EditableHtmlButtonConfigure",
1465
- "type": "object",
1466
- "properties": {
1467
- "disabled": {
1468
- "description": "Indicates if the plugin is disabled or not",
1469
- "type": "boolean",
1470
- "title": "disabled"
1471
- }
1472
- }
1473
- },
1474
- "bold": {
1475
- "title": "EditableHtmlButtonConfigure",
1476
- "type": "object",
1477
- "properties": {
1478
- "disabled": {
1479
- "description": "Indicates if the plugin is disabled or not",
1480
- "type": "boolean",
1481
- "title": "disabled"
1482
- }
1483
- }
1484
- },
1485
- "html": {
1486
- "title": "EditableHtmlButtonConfigure",
1487
- "type": "object",
1488
- "properties": {
1489
- "disabled": {
1490
- "description": "Indicates if the plugin is disabled or not",
1491
- "type": "boolean",
1492
- "title": "disabled"
1493
- }
1494
- }
1495
- },
1496
- "italic": {
1497
- "title": "EditableHtmlButtonConfigure",
1498
- "type": "object",
1499
- "properties": {
1500
- "disabled": {
1501
- "description": "Indicates if the plugin is disabled or not",
1502
- "type": "boolean",
1503
- "title": "disabled"
1504
- }
1505
- }
1506
- },
1507
- "ol_list": {
1508
- "title": "EditableHtmlButtonConfigure",
1509
- "type": "object",
1510
- "properties": {
1511
- "disabled": {
1512
- "description": "Indicates if the plugin is disabled or not",
1513
- "type": "boolean",
1514
- "title": "disabled"
1515
- }
1516
- }
1517
- },
1518
- "redo": {
1519
- "title": "EditableHtmlButtonConfigure",
1520
- "type": "object",
1521
- "properties": {
1522
- "disabled": {
1523
- "description": "Indicates if the plugin is disabled or not",
1524
- "type": "boolean",
1525
- "title": "disabled"
1526
- }
1527
- }
1528
- },
1529
- "strikethrough": {
1530
- "title": "EditableHtmlButtonConfigure",
1531
- "type": "object",
1532
- "properties": {
1533
- "disabled": {
1534
- "description": "Indicates if the plugin is disabled or not",
1535
- "type": "boolean",
1536
- "title": "disabled"
1537
- }
1538
- }
1539
- },
1540
- "sub": {
1541
- "title": "EditableHtmlButtonConfigure",
1542
- "type": "object",
1543
- "properties": {
1544
- "disabled": {
1545
- "description": "Indicates if the plugin is disabled or not",
1546
- "type": "boolean",
1547
- "title": "disabled"
1548
- }
1549
- }
1550
- },
1551
- "sup": {
1552
- "title": "EditableHtmlButtonConfigure",
1553
- "type": "object",
1554
- "properties": {
1555
- "disabled": {
1556
- "description": "Indicates if the plugin is disabled or not",
1557
- "type": "boolean",
1558
- "title": "disabled"
1559
- }
1560
- }
1561
- },
1562
- "table": {
1563
- "title": "EditableHtmlButtonConfigure",
1564
- "type": "object",
1565
- "properties": {
1566
- "disabled": {
1567
- "description": "Indicates if the plugin is disabled or not",
1568
- "type": "boolean",
1569
- "title": "disabled"
1570
- }
1571
- }
1572
- },
1573
- "ul_list": {
1574
- "title": "EditableHtmlButtonConfigure",
1575
- "type": "object",
1576
- "properties": {
1577
- "disabled": {
1578
- "description": "Indicates if the plugin is disabled or not",
1579
- "type": "boolean",
1580
- "title": "disabled"
1581
- }
1582
- }
1583
- },
1584
- "underline": {
1585
- "title": "EditableHtmlButtonConfigure",
1586
- "type": "object",
1587
- "properties": {
1588
- "disabled": {
1589
- "description": "Indicates if the plugin is disabled or not",
1590
- "type": "boolean",
1591
- "title": "disabled"
1592
- }
1593
- }
1594
- },
1595
- "undo": {
1596
- "title": "EditableHtmlButtonConfigure",
1597
- "type": "object",
1598
- "properties": {
1599
- "disabled": {
1600
- "description": "Indicates if the plugin is disabled or not",
1601
- "type": "boolean",
1602
- "title": "disabled"
1603
- }
1604
- }
1605
- }
1606
- }
1607
- },
1608
- "EditableHtmlButtonConfigure": {
1609
- "title": "EditableHtmlButtonConfigure",
1610
- "type": "object",
1611
- "properties": {
1612
- "disabled": {
1613
- "description": "Indicates if the plugin is disabled or not",
1614
- "type": "boolean",
1615
- "title": "disabled"
1616
- }
1617
- }
1618
- },
1619
- "CustomPlugin": {
1620
- "title": "CustomPlugin",
1621
- "type": "object",
1622
- "properties": {
1623
- "event": {
1624
- "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\"",
1625
- "type": "string",
1626
- "title": "event"
1627
- },
1628
- "iconAlt": {
1629
- "description": "The alt for the custom button icon",
1630
- "type": "string",
1631
- "title": "iconAlt"
1632
- },
1633
- "iconType": {
1634
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1635
- "type": "string",
1636
- "title": "iconType"
1637
- },
1638
- "icon": {
1639
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1640
- "type": "string",
1641
- "title": "icon"
1642
- }
1643
- },
1644
- "required": [
1645
- "event",
1646
- "icon",
1647
- "iconAlt",
1648
- "iconType"
1649
- ]
1650
- },
1651
- "EditableHtmlPluginConfigureRequired": {
1652
- "title": "EditableHtmlPluginConfigureRequired",
1653
- "type": "object",
1654
- "properties": {
1655
- "inputConfiguration": {
1656
- "title": "EditableHtmlConfigureProp",
1657
- "type": "object",
1658
- "properties": {
1659
- "math": {
1660
- "title": "EditableHtmlButtonConfigure",
1661
- "type": "object",
1662
- "properties": {
1663
- "disabled": {
1664
- "description": "Indicates if the plugin is disabled or not",
1665
- "type": "boolean",
1666
- "title": "disabled"
1667
- }
1668
- }
1669
- },
1670
- "audio": {
1671
- "title": "EditableHtmlButtonConfigure",
1672
- "type": "object",
1673
- "properties": {
1674
- "disabled": {
1675
- "description": "Indicates if the plugin is disabled or not",
1676
- "type": "boolean",
1677
- "title": "disabled"
1678
- }
1679
- }
1680
- },
1681
- "video": {
1682
- "title": "EditableHtmlButtonConfigure",
1683
- "type": "object",
1684
- "properties": {
1685
- "disabled": {
1686
- "description": "Indicates if the plugin is disabled or not",
1687
- "type": "boolean",
1688
- "title": "disabled"
1689
- }
1690
- }
1691
- },
1692
- "image": {
1693
- "title": "EditableHtmlButtonConfigure",
1694
- "type": "object",
1695
- "properties": {
1696
- "disabled": {
1697
- "description": "Indicates if the plugin is disabled or not",
1698
- "type": "boolean",
1699
- "title": "disabled"
1700
- }
1701
- }
1702
- },
1703
- "customPlugins": {
1704
- "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.",
1705
- "type": "array",
1706
- "items": {
1707
- "title": "CustomPlugin",
1708
- "type": "object",
1709
- "properties": {
1710
- "event": {
1711
- "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\"",
1712
- "type": "string",
1713
- "title": "event"
1714
- },
1715
- "iconAlt": {
1716
- "description": "The alt for the custom button icon",
1717
- "type": "string",
1718
- "title": "iconAlt"
1719
- },
1720
- "iconType": {
1721
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1722
- "type": "string",
1723
- "title": "iconType"
1724
- },
1725
- "icon": {
1726
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1727
- "type": "string",
1728
- "title": "icon"
1729
- }
1730
- },
1731
- "required": [
1732
- "event",
1733
- "icon",
1734
- "iconAlt",
1735
- "iconType"
1736
- ]
1737
- },
1738
- "title": "customPlugins"
1739
- },
1740
- "blockquote": {
1741
- "title": "EditableHtmlButtonConfigure",
1742
- "type": "object",
1743
- "properties": {
1744
- "disabled": {
1745
- "description": "Indicates if the plugin is disabled or not",
1746
- "type": "boolean",
1747
- "title": "disabled"
1748
- }
1749
- }
1750
- },
1751
- "h3": {
1752
- "title": "EditableHtmlButtonConfigure",
1753
- "type": "object",
1754
- "properties": {
1755
- "disabled": {
1756
- "description": "Indicates if the plugin is disabled or not",
1757
- "type": "boolean",
1758
- "title": "disabled"
1759
- }
1760
- }
1761
- },
1762
- "characters": {
1763
- "title": "EditableHtmlButtonConfigure",
1764
- "type": "object",
1765
- "properties": {
1766
- "disabled": {
1767
- "description": "Indicates if the plugin is disabled or not",
1768
- "type": "boolean",
1769
- "title": "disabled"
1770
- }
1771
- }
1772
- },
1773
- "bold": {
1774
- "title": "EditableHtmlButtonConfigure",
1775
- "type": "object",
1776
- "properties": {
1777
- "disabled": {
1778
- "description": "Indicates if the plugin is disabled or not",
1779
- "type": "boolean",
1780
- "title": "disabled"
1781
- }
1782
- }
1783
- },
1784
- "html": {
1785
- "title": "EditableHtmlButtonConfigure",
1786
- "type": "object",
1787
- "properties": {
1788
- "disabled": {
1789
- "description": "Indicates if the plugin is disabled or not",
1790
- "type": "boolean",
1791
- "title": "disabled"
1792
- }
1793
- }
1794
- },
1795
- "italic": {
1796
- "title": "EditableHtmlButtonConfigure",
1797
- "type": "object",
1798
- "properties": {
1799
- "disabled": {
1800
- "description": "Indicates if the plugin is disabled or not",
1801
- "type": "boolean",
1802
- "title": "disabled"
1803
- }
1804
- }
1805
- },
1806
- "ol_list": {
1807
- "title": "EditableHtmlButtonConfigure",
1808
- "type": "object",
1809
- "properties": {
1810
- "disabled": {
1811
- "description": "Indicates if the plugin is disabled or not",
1812
- "type": "boolean",
1813
- "title": "disabled"
1814
- }
1815
- }
1816
- },
1817
- "redo": {
1818
- "title": "EditableHtmlButtonConfigure",
1819
- "type": "object",
1820
- "properties": {
1821
- "disabled": {
1822
- "description": "Indicates if the plugin is disabled or not",
1823
- "type": "boolean",
1824
- "title": "disabled"
1825
- }
1826
- }
1827
- },
1828
- "strikethrough": {
1829
- "title": "EditableHtmlButtonConfigure",
1830
- "type": "object",
1831
- "properties": {
1832
- "disabled": {
1833
- "description": "Indicates if the plugin is disabled or not",
1834
- "type": "boolean",
1835
- "title": "disabled"
1836
- }
1837
- }
1838
- },
1839
- "sub": {
1840
- "title": "EditableHtmlButtonConfigure",
1841
- "type": "object",
1842
- "properties": {
1843
- "disabled": {
1844
- "description": "Indicates if the plugin is disabled or not",
1845
- "type": "boolean",
1846
- "title": "disabled"
1847
- }
1848
- }
1849
- },
1850
- "sup": {
1851
- "title": "EditableHtmlButtonConfigure",
1852
- "type": "object",
1853
- "properties": {
1854
- "disabled": {
1855
- "description": "Indicates if the plugin is disabled or not",
1856
- "type": "boolean",
1857
- "title": "disabled"
1858
- }
1859
- }
1860
- },
1861
- "table": {
1862
- "title": "EditableHtmlButtonConfigure",
1863
- "type": "object",
1864
- "properties": {
1865
- "disabled": {
1866
- "description": "Indicates if the plugin is disabled or not",
1867
- "type": "boolean",
1868
- "title": "disabled"
1869
- }
1870
- }
1871
- },
1872
- "ul_list": {
1873
- "title": "EditableHtmlButtonConfigure",
1874
- "type": "object",
1875
- "properties": {
1876
- "disabled": {
1877
- "description": "Indicates if the plugin is disabled or not",
1878
- "type": "boolean",
1879
- "title": "disabled"
1880
- }
1881
- }
1882
- },
1883
- "underline": {
1884
- "title": "EditableHtmlButtonConfigure",
1885
- "type": "object",
1886
- "properties": {
1887
- "disabled": {
1888
- "description": "Indicates if the plugin is disabled or not",
1889
- "type": "boolean",
1890
- "title": "disabled"
1891
- }
1892
- }
1893
- },
1894
- "undo": {
1895
- "title": "EditableHtmlButtonConfigure",
1896
- "type": "object",
1897
- "properties": {
1898
- "disabled": {
1899
- "description": "Indicates if the plugin is disabled or not",
1900
- "type": "boolean",
1901
- "title": "disabled"
1902
- }
1903
- }
1904
- }
1905
- }
1906
- },
1907
- "required": {
1908
- "description": "Indicates if the item is required and the value cannot be empty",
1909
- "type": "boolean",
1910
- "title": "required"
1911
- },
1912
- "settings": {
1913
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1914
- "type": "boolean",
1915
- "title": "settings"
1916
- },
1917
- "label": {
1918
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1919
- "type": "string",
1920
- "title": "label"
1921
- }
1922
- }
1923
- },
1924
- "EditableHtmlPluginConfigure": {
1925
- "title": "EditableHtmlPluginConfigure",
1926
- "type": "object",
1927
- "properties": {
1928
- "inputConfiguration": {
1929
- "title": "EditableHtmlConfigureProp",
1930
- "type": "object",
1931
- "properties": {
1932
- "math": {
1933
- "title": "EditableHtmlButtonConfigure",
1934
- "type": "object",
1935
- "properties": {
1936
- "disabled": {
1937
- "description": "Indicates if the plugin is disabled or not",
1938
- "type": "boolean",
1939
- "title": "disabled"
1940
- }
1941
- }
1942
- },
1943
- "audio": {
1944
- "title": "EditableHtmlButtonConfigure",
1945
- "type": "object",
1946
- "properties": {
1947
- "disabled": {
1948
- "description": "Indicates if the plugin is disabled or not",
1949
- "type": "boolean",
1950
- "title": "disabled"
1951
- }
1952
- }
1953
- },
1954
- "video": {
1955
- "title": "EditableHtmlButtonConfigure",
1956
- "type": "object",
1957
- "properties": {
1958
- "disabled": {
1959
- "description": "Indicates if the plugin is disabled or not",
1960
- "type": "boolean",
1961
- "title": "disabled"
1962
- }
1963
- }
1964
- },
1965
- "image": {
1966
- "title": "EditableHtmlButtonConfigure",
1967
- "type": "object",
1968
- "properties": {
1969
- "disabled": {
1970
- "description": "Indicates if the plugin is disabled or not",
1971
- "type": "boolean",
1972
- "title": "disabled"
1973
- }
1974
- }
1975
- },
1976
- "customPlugins": {
1977
- "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.",
1978
- "type": "array",
1979
- "items": {
1980
- "title": "CustomPlugin",
1981
- "type": "object",
1982
- "properties": {
1983
- "event": {
1984
- "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\"",
1985
- "type": "string",
1986
- "title": "event"
1987
- },
1988
- "iconAlt": {
1989
- "description": "The alt for the custom button icon",
1990
- "type": "string",
1991
- "title": "iconAlt"
1992
- },
1993
- "iconType": {
1994
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1995
- "type": "string",
1996
- "title": "iconType"
1997
- },
1998
- "icon": {
1999
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
2000
- "type": "string",
2001
- "title": "icon"
2002
- }
2003
- },
2004
- "required": [
2005
- "event",
2006
- "icon",
2007
- "iconAlt",
2008
- "iconType"
2009
- ]
2010
- },
2011
- "title": "customPlugins"
2012
- },
2013
- "blockquote": {
2014
- "title": "EditableHtmlButtonConfigure",
2015
- "type": "object",
2016
- "properties": {
2017
- "disabled": {
2018
- "description": "Indicates if the plugin is disabled or not",
2019
- "type": "boolean",
2020
- "title": "disabled"
2021
- }
2022
- }
2023
- },
2024
- "h3": {
2025
- "title": "EditableHtmlButtonConfigure",
2026
- "type": "object",
2027
- "properties": {
2028
- "disabled": {
2029
- "description": "Indicates if the plugin is disabled or not",
2030
- "type": "boolean",
2031
- "title": "disabled"
2032
- }
2033
- }
2034
- },
2035
- "characters": {
2036
- "title": "EditableHtmlButtonConfigure",
2037
- "type": "object",
2038
- "properties": {
2039
- "disabled": {
2040
- "description": "Indicates if the plugin is disabled or not",
2041
- "type": "boolean",
2042
- "title": "disabled"
2043
- }
2044
- }
2045
- },
2046
- "bold": {
2047
- "title": "EditableHtmlButtonConfigure",
2048
- "type": "object",
2049
- "properties": {
2050
- "disabled": {
2051
- "description": "Indicates if the plugin is disabled or not",
2052
- "type": "boolean",
2053
- "title": "disabled"
2054
- }
2055
- }
2056
- },
2057
- "html": {
2058
- "title": "EditableHtmlButtonConfigure",
2059
- "type": "object",
2060
- "properties": {
2061
- "disabled": {
2062
- "description": "Indicates if the plugin is disabled or not",
2063
- "type": "boolean",
2064
- "title": "disabled"
2065
- }
2066
- }
2067
- },
2068
- "italic": {
2069
- "title": "EditableHtmlButtonConfigure",
2070
- "type": "object",
2071
- "properties": {
2072
- "disabled": {
2073
- "description": "Indicates if the plugin is disabled or not",
2074
- "type": "boolean",
2075
- "title": "disabled"
2076
- }
2077
- }
2078
- },
2079
- "ol_list": {
2080
- "title": "EditableHtmlButtonConfigure",
2081
- "type": "object",
2082
- "properties": {
2083
- "disabled": {
2084
- "description": "Indicates if the plugin is disabled or not",
2085
- "type": "boolean",
2086
- "title": "disabled"
2087
- }
2088
- }
2089
- },
2090
- "redo": {
2091
- "title": "EditableHtmlButtonConfigure",
2092
- "type": "object",
2093
- "properties": {
2094
- "disabled": {
2095
- "description": "Indicates if the plugin is disabled or not",
2096
- "type": "boolean",
2097
- "title": "disabled"
2098
- }
2099
- }
2100
- },
2101
- "strikethrough": {
2102
- "title": "EditableHtmlButtonConfigure",
2103
- "type": "object",
2104
- "properties": {
2105
- "disabled": {
2106
- "description": "Indicates if the plugin is disabled or not",
2107
- "type": "boolean",
2108
- "title": "disabled"
2109
- }
2110
- }
2111
- },
2112
- "sub": {
2113
- "title": "EditableHtmlButtonConfigure",
2114
- "type": "object",
2115
- "properties": {
2116
- "disabled": {
2117
- "description": "Indicates if the plugin is disabled or not",
2118
- "type": "boolean",
2119
- "title": "disabled"
2120
- }
2121
- }
2122
- },
2123
- "sup": {
2124
- "title": "EditableHtmlButtonConfigure",
2125
- "type": "object",
2126
- "properties": {
2127
- "disabled": {
2128
- "description": "Indicates if the plugin is disabled or not",
2129
- "type": "boolean",
2130
- "title": "disabled"
2131
- }
2132
- }
2133
- },
2134
- "table": {
2135
- "title": "EditableHtmlButtonConfigure",
2136
- "type": "object",
2137
- "properties": {
2138
- "disabled": {
2139
- "description": "Indicates if the plugin is disabled or not",
2140
- "type": "boolean",
2141
- "title": "disabled"
2142
- }
2143
- }
2144
- },
2145
- "ul_list": {
2146
- "title": "EditableHtmlButtonConfigure",
2147
- "type": "object",
2148
- "properties": {
2149
- "disabled": {
2150
- "description": "Indicates if the plugin is disabled or not",
2151
- "type": "boolean",
2152
- "title": "disabled"
2153
- }
2154
- }
2155
- },
2156
- "underline": {
2157
- "title": "EditableHtmlButtonConfigure",
2158
- "type": "object",
2159
- "properties": {
2160
- "disabled": {
2161
- "description": "Indicates if the plugin is disabled or not",
2162
- "type": "boolean",
2163
- "title": "disabled"
2164
- }
2165
- }
2166
- },
2167
- "undo": {
2168
- "title": "EditableHtmlButtonConfigure",
2169
- "type": "object",
2170
- "properties": {
2171
- "disabled": {
2172
- "description": "Indicates if the plugin is disabled or not",
2173
- "type": "boolean",
2174
- "title": "disabled"
2175
- }
2176
- }
2177
- }
2178
- }
2179
- },
2180
- "settings": {
2181
- "description": "Indicates if the item has to be displayed in the Settings Panel",
2182
- "type": "boolean",
2183
- "title": "settings"
2184
- },
2185
- "label": {
2186
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
2187
- "type": "string",
2188
- "title": "label"
2189
- }
2190
- }
2191
- },
2192
- "ConfigureMaxImageDimensionsProp": {
2193
- "title": "ConfigureMaxImageDimensionsProp",
2194
- "type": "object",
2195
- "properties": {
2196
- "teacherInstructions": {
2197
- "description": "Indicates the max dimension for images in teacher instructions",
2198
- "type": "number",
2199
- "title": "teacherInstructions"
2200
- },
2201
- "prompt": {
2202
- "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",
2203
- "type": "number",
2204
- "title": "prompt"
2205
- },
2206
- "rationale": {
2207
- "description": "Indicates the max dimension for images in rationale",
2208
- "type": "number",
2209
- "title": "rationale"
2210
- }
2211
- }
2212
- },
2213
- "ConfigureMathMLProp": {
2214
- "title": "ConfigureMathMLProp",
2215
- "type": "object",
2216
- "properties": {
2217
- "mmlOutput": {
2218
- "description": "Indicates if model should have mathML output instead of latex",
2219
- "type": "number",
2220
- "title": "mmlOutput"
2221
- },
2222
- "mmlEditing": {
2223
- "description": "Indicates if mathML that's already in model should be editable",
2224
- "type": "number",
2225
- "title": "mmlEditing"
2226
- }
2227
- }
2228
- },
2229
- "ConfigureLanguageOptionsProp": {
2230
- "title": "ConfigureLanguageOptionsProp",
2231
- "type": "object",
2232
- "properties": {
2233
- "value": {
2234
- "description": "Value of the language option",
2235
- "type": "string",
2236
- "title": "value"
2237
- },
2238
- "label": {
2239
- "description": "Label of the language option",
2240
- "type": "string",
2241
- "title": "label"
2242
- }
2243
- },
2244
- "required": [
2245
- "label",
2246
- "value"
2247
- ]
2248
- }
2249
- },
2250
- "$schema": "http://json-schema.org/draft-07/schema#"
2251
- }