@pie-element/number-line 13.1.2-next.5 → 13.1.3

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