@pie-element/hotspot 11.2.0-beta.0 → 11.2.0-next.17

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 (236) hide show
  1. package/author.js +2 -0
  2. package/configure.js +2 -0
  3. package/controller.js +1 -0
  4. package/dist/author/DeleteWidget.d.ts +38 -0
  5. package/dist/author/DeleteWidget.js +46 -0
  6. package/dist/author/button.d.ts +31 -0
  7. package/dist/author/button.js +27 -0
  8. package/dist/author/buttons/circle.d.ts +18 -0
  9. package/dist/author/buttons/circle.js +25 -0
  10. package/dist/author/buttons/polygon.d.ts +18 -0
  11. package/dist/author/buttons/polygon.js +36 -0
  12. package/dist/author/buttons/rectangle.d.ts +18 -0
  13. package/dist/author/buttons/rectangle.js +36 -0
  14. package/dist/author/defaults.d.ts +157 -0
  15. package/dist/author/defaults.js +119 -0
  16. package/dist/author/hotspot-circle.d.ts +21 -0
  17. package/dist/author/hotspot-circle.js +124 -0
  18. package/dist/author/hotspot-container.d.ts +29 -0
  19. package/dist/author/hotspot-container.js +210 -0
  20. package/dist/author/hotspot-drawable.d.ts +31 -0
  21. package/dist/author/hotspot-drawable.js +312 -0
  22. package/dist/author/hotspot-palette.d.ts +14 -0
  23. package/dist/author/hotspot-palette.js +72 -0
  24. package/dist/author/hotspot-polygon.d.ts +38 -0
  25. package/dist/author/hotspot-polygon.js +200 -0
  26. package/dist/author/hotspot-rectangle.d.ts +20 -0
  27. package/dist/author/hotspot-rectangle.js +119 -0
  28. package/dist/author/icons.d.ts +9 -0
  29. package/dist/author/icons.js +4 -0
  30. package/dist/author/image-konva.d.ts +19 -0
  31. package/dist/author/image-konva.js +49 -0
  32. package/dist/author/index.d.ts +53 -0
  33. package/dist/author/index.js +146 -0
  34. package/dist/author/root.d.ts +15 -0
  35. package/dist/author/root.js +215 -0
  36. package/dist/author/shapes/circle.d.ts +18 -0
  37. package/dist/author/shapes/circle.js +47 -0
  38. package/dist/author/shapes/index.d.ts +12 -0
  39. package/dist/author/shapes/polygon.d.ts +19 -0
  40. package/dist/author/shapes/polygon.js +51 -0
  41. package/dist/author/shapes/rectagle.d.ts +18 -0
  42. package/dist/author/shapes/rectagle.js +57 -0
  43. package/dist/author/shapes/utils.d.ts +19 -0
  44. package/dist/author/shapes/utils.js +16 -0
  45. package/dist/author/upload-control.d.ts +29 -0
  46. package/dist/author/upload-control.js +28 -0
  47. package/dist/author/utils.d.ts +24 -0
  48. package/dist/author/utils.js +83 -0
  49. package/dist/browser/ReactKonva-C_SewBog.js +19300 -0
  50. package/dist/browser/ReactKonva-C_SewBog.js.map +1 -0
  51. package/dist/browser/author/index.js +36984 -0
  52. package/dist/browser/author/index.js.map +1 -0
  53. package/dist/browser/browser-D4gLESxz.js +226 -0
  54. package/dist/browser/browser-D4gLESxz.js.map +1 -0
  55. package/dist/browser/controller/index.js +198 -0
  56. package/dist/browser/controller/index.js.map +1 -0
  57. package/dist/browser/delivery/index.js +2673 -0
  58. package/dist/browser/delivery/index.js.map +1 -0
  59. package/dist/browser/dist-CJeYAWp3.js +100 -0
  60. package/dist/browser/dist-CJeYAWp3.js.map +1 -0
  61. package/dist/browser/hotspot.css +2 -0
  62. package/dist/controller/defaults.d.ts +35 -0
  63. package/dist/controller/defaults.js +29 -0
  64. package/dist/controller/index.d.ts +22 -0
  65. package/dist/controller/index.js +154 -0
  66. package/dist/controller/utils.d.ts +10 -0
  67. package/dist/controller/utils.js +12 -0
  68. package/dist/delivery/hotspot/circle.d.ts +22 -0
  69. package/dist/delivery/hotspot/circle.js +113 -0
  70. package/dist/delivery/hotspot/container.d.ts +21 -0
  71. package/dist/delivery/hotspot/container.js +217 -0
  72. package/dist/delivery/hotspot/icons.d.ts +10 -0
  73. package/dist/delivery/hotspot/icons.js +4 -0
  74. package/dist/delivery/hotspot/image-konva-tooltip.d.ts +19 -0
  75. package/dist/delivery/hotspot/image-konva-tooltip.js +66 -0
  76. package/dist/delivery/hotspot/index.d.ts +18 -0
  77. package/dist/delivery/hotspot/index.js +119 -0
  78. package/dist/delivery/hotspot/polygon.d.ts +24 -0
  79. package/dist/delivery/hotspot/polygon.js +121 -0
  80. package/dist/delivery/hotspot/rectangle.d.ts +22 -0
  81. package/dist/delivery/hotspot/rectangle.js +116 -0
  82. package/dist/delivery/index.d.ts +20 -0
  83. package/dist/delivery/index.js +109 -0
  84. package/dist/delivery/session-updater.d.ts +10 -0
  85. package/dist/delivery/session-updater.js +14 -0
  86. package/dist/index.d.ts +1 -0
  87. package/dist/index.iife.d.ts +8 -0
  88. package/dist/index.iife.js +169 -0
  89. package/dist/index.js +2 -0
  90. package/dist/runtime-support.d.ts +12 -0
  91. package/dist/runtime-support.js +12 -0
  92. package/package.json +84 -18
  93. package/CHANGELOG.json +0 -997
  94. package/CHANGELOG.md +0 -2230
  95. package/LICENSE.md +0 -5
  96. package/README.md +0 -1
  97. package/configure/CHANGELOG.json +0 -682
  98. package/configure/CHANGELOG.md +0 -1964
  99. package/configure/lib/DeleteWidget.js +0 -64
  100. package/configure/lib/DeleteWidget.js.map +0 -1
  101. package/configure/lib/button.js +0 -42
  102. package/configure/lib/button.js.map +0 -1
  103. package/configure/lib/buttons/circle.js +0 -33
  104. package/configure/lib/buttons/circle.js.map +0 -1
  105. package/configure/lib/buttons/polygon.js +0 -39
  106. package/configure/lib/buttons/polygon.js.map +0 -1
  107. package/configure/lib/buttons/rectangle.js +0 -39
  108. package/configure/lib/buttons/rectangle.js.map +0 -1
  109. package/configure/lib/defaults.js +0 -155
  110. package/configure/lib/defaults.js.map +0 -1
  111. package/configure/lib/hotspot-circle.js +0 -192
  112. package/configure/lib/hotspot-circle.js.map +0 -1
  113. package/configure/lib/hotspot-container.js +0 -320
  114. package/configure/lib/hotspot-container.js.map +0 -1
  115. package/configure/lib/hotspot-drawable.js +0 -519
  116. package/configure/lib/hotspot-drawable.js.map +0 -1
  117. package/configure/lib/hotspot-palette.js +0 -107
  118. package/configure/lib/hotspot-palette.js.map +0 -1
  119. package/configure/lib/hotspot-polygon.js +0 -293
  120. package/configure/lib/hotspot-polygon.js.map +0 -1
  121. package/configure/lib/hotspot-rectangle.js +0 -190
  122. package/configure/lib/hotspot-rectangle.js.map +0 -1
  123. package/configure/lib/icons.js +0 -7
  124. package/configure/lib/icons.js.map +0 -1
  125. package/configure/lib/image-konva.js +0 -66
  126. package/configure/lib/image-konva.js.map +0 -1
  127. package/configure/lib/index.js +0 -198
  128. package/configure/lib/index.js.map +0 -1
  129. package/configure/lib/root.js +0 -331
  130. package/configure/lib/root.js.map +0 -1
  131. package/configure/lib/shapes/circle.js +0 -84
  132. package/configure/lib/shapes/circle.js.map +0 -1
  133. package/configure/lib/shapes/index.js +0 -50
  134. package/configure/lib/shapes/index.js.map +0 -1
  135. package/configure/lib/shapes/polygon.js +0 -82
  136. package/configure/lib/shapes/polygon.js.map +0 -1
  137. package/configure/lib/shapes/rectagle.js +0 -84
  138. package/configure/lib/shapes/rectagle.js.map +0 -1
  139. package/configure/lib/shapes/utils.js +0 -21
  140. package/configure/lib/shapes/utils.js.map +0 -1
  141. package/configure/lib/upload-control.js +0 -41
  142. package/configure/lib/upload-control.js.map +0 -1
  143. package/configure/lib/utils.js +0 -185
  144. package/configure/lib/utils.js.map +0 -1
  145. package/configure/package.json +0 -26
  146. package/configure/src/DeleteWidget.jsx +0 -51
  147. package/configure/src/__tests__/DeleteWidget.test.jsx +0 -366
  148. package/configure/src/__tests__/button.test.jsx +0 -198
  149. package/configure/src/__tests__/hotspot-circle.test.jsx +0 -259
  150. package/configure/src/__tests__/hotspot-container.test.js +0 -366
  151. package/configure/src/__tests__/hotspot-drawable.test.js +0 -271
  152. package/configure/src/__tests__/hotspot-palette.test.jsx +0 -71
  153. package/configure/src/__tests__/image-konva.test.jsx +0 -226
  154. package/configure/src/__tests__/index.test.js +0 -329
  155. package/configure/src/__tests__/root.test.js +0 -400
  156. package/configure/src/__tests__/utils.test.js +0 -241
  157. package/configure/src/button.jsx +0 -35
  158. package/configure/src/buttons/circle.jsx +0 -18
  159. package/configure/src/buttons/polygon.jsx +0 -29
  160. package/configure/src/buttons/rectangle.jsx +0 -29
  161. package/configure/src/defaults.js +0 -109
  162. package/configure/src/hotspot-circle.jsx +0 -183
  163. package/configure/src/hotspot-container.jsx +0 -330
  164. package/configure/src/hotspot-drawable.jsx +0 -527
  165. package/configure/src/hotspot-palette.jsx +0 -90
  166. package/configure/src/hotspot-polygon.jsx +0 -294
  167. package/configure/src/hotspot-rectangle.jsx +0 -169
  168. package/configure/src/icons.js +0 -5
  169. package/configure/src/image-konva.jsx +0 -63
  170. package/configure/src/index.js +0 -213
  171. package/configure/src/root.jsx +0 -342
  172. package/configure/src/shapes/circle.js +0 -81
  173. package/configure/src/shapes/index.js +0 -4
  174. package/configure/src/shapes/polygon.js +0 -81
  175. package/configure/src/shapes/rectagle.js +0 -82
  176. package/configure/src/shapes/utils.js +0 -16
  177. package/configure/src/upload-control.jsx +0 -33
  178. package/configure/src/utils.js +0 -210
  179. package/controller/CHANGELOG.json +0 -362
  180. package/controller/CHANGELOG.md +0 -1310
  181. package/controller/lib/defaults.js +0 -33
  182. package/controller/lib/defaults.js.map +0 -1
  183. package/controller/lib/index.js +0 -342
  184. package/controller/lib/index.js.map +0 -1
  185. package/controller/lib/utils.js +0 -32
  186. package/controller/lib/utils.js.map +0 -1
  187. package/controller/package.json +0 -18
  188. package/controller/src/__tests__/index.test.js +0 -419
  189. package/controller/src/__tests__/utils.test.js +0 -5
  190. package/controller/src/defaults.js +0 -19
  191. package/controller/src/index.js +0 -330
  192. package/controller/src/utils.js +0 -29
  193. package/docs/config-schema.json +0 -2023
  194. package/docs/config-schema.json.md +0 -1495
  195. package/docs/demo/config.js +0 -8
  196. package/docs/demo/generate.js +0 -122
  197. package/docs/demo/index.html +0 -1
  198. package/docs/demo/session.js +0 -11
  199. package/docs/pie-schema.json +0 -1204
  200. package/docs/pie-schema.json.md +0 -851
  201. package/lib/hotspot/circle.js +0 -160
  202. package/lib/hotspot/circle.js.map +0 -1
  203. package/lib/hotspot/container.js +0 -291
  204. package/lib/hotspot/container.js.map +0 -1
  205. package/lib/hotspot/icons.js +0 -8
  206. package/lib/hotspot/icons.js.map +0 -1
  207. package/lib/hotspot/image-konva-tooltip.js +0 -86
  208. package/lib/hotspot/image-konva-tooltip.js.map +0 -1
  209. package/lib/hotspot/index.js +0 -174
  210. package/lib/hotspot/index.js.map +0 -1
  211. package/lib/hotspot/polygon.js +0 -207
  212. package/lib/hotspot/polygon.js.map +0 -1
  213. package/lib/hotspot/rectangle.js +0 -178
  214. package/lib/hotspot/rectangle.js.map +0 -1
  215. package/lib/index.js +0 -214
  216. package/lib/index.js.map +0 -1
  217. package/lib/session-updater.js +0 -42
  218. package/lib/session-updater.js.map +0 -1
  219. package/src/__tests__/container.test.jsx +0 -58
  220. package/src/__tests__/index.test.js +0 -123
  221. package/src/__tests__/session-updater.test.jsx +0 -69
  222. package/src/hotspot/__tests__/circle.test.jsx +0 -464
  223. package/src/hotspot/__tests__/container.test.jsx +0 -546
  224. package/src/hotspot/__tests__/image-konva-tooltip.test.jsx +0 -510
  225. package/src/hotspot/__tests__/index.test.jsx +0 -64
  226. package/src/hotspot/__tests__/polygon.test.jsx +0 -502
  227. package/src/hotspot/__tests__/rectangle.test.jsx +0 -418
  228. package/src/hotspot/circle.jsx +0 -154
  229. package/src/hotspot/container.jsx +0 -297
  230. package/src/hotspot/icons.js +0 -7
  231. package/src/hotspot/image-konva-tooltip.jsx +0 -76
  232. package/src/hotspot/index.jsx +0 -179
  233. package/src/hotspot/polygon.jsx +0 -197
  234. package/src/hotspot/rectangle.jsx +0 -172
  235. package/src/index.js +0 -227
  236. package/src/session-updater.js +0 -29
@@ -1,2023 +0,0 @@
1
- {
2
- "description": "Config Object for @pie-elements/hotspot",
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
- "multipleCorrect": {
259
- "title": "ConfigureProp",
260
- "type": "object",
261
- "properties": {
262
- "settings": {
263
- "description": "Indicates if the item has to be displayed in the Settings Panel",
264
- "type": "boolean",
265
- "title": "settings"
266
- },
267
- "label": {
268
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
269
- "type": "string",
270
- "title": "label"
271
- }
272
- }
273
- },
274
- "partialScoring": {
275
- "title": "ConfigureProp",
276
- "type": "object",
277
- "properties": {
278
- "settings": {
279
- "description": "Indicates if the item has to be displayed in the Settings Panel",
280
- "type": "boolean",
281
- "title": "settings"
282
- },
283
- "label": {
284
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
285
- "type": "string",
286
- "title": "label"
287
- }
288
- }
289
- },
290
- "rationale": {
291
- "title": "EditableHtmlPluginConfigureRequired",
292
- "type": "object",
293
- "properties": {
294
- "inputConfiguration": {
295
- "title": "EditableHtmlConfigureProp",
296
- "type": "object",
297
- "properties": {
298
- "math": {
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
- "audio": {
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
- "video": {
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
- "image": {
332
- "title": "EditableHtmlButtonConfigure",
333
- "type": "object",
334
- "properties": {
335
- "disabled": {
336
- "description": "Indicates if the plugin is disabled or not",
337
- "type": "boolean",
338
- "title": "disabled"
339
- }
340
- }
341
- },
342
- "customPlugins": {
343
- "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.",
344
- "type": "array",
345
- "items": {
346
- "title": "CustomPlugin",
347
- "type": "object",
348
- "properties": {
349
- "event": {
350
- "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\"",
351
- "type": "string",
352
- "title": "event"
353
- },
354
- "iconAlt": {
355
- "description": "The alt for the custom button icon",
356
- "type": "string",
357
- "title": "iconAlt"
358
- },
359
- "iconType": {
360
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
361
- "type": "string",
362
- "title": "iconType"
363
- },
364
- "icon": {
365
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
366
- "type": "string",
367
- "title": "icon"
368
- }
369
- },
370
- "required": [
371
- "event",
372
- "icon",
373
- "iconAlt",
374
- "iconType"
375
- ]
376
- },
377
- "title": "customPlugins"
378
- },
379
- "blockquote": {
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
- "h3": {
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
- "characters": {
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
- "bold": {
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
- "html": {
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
- "italic": {
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
- "ol_list": {
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
- "redo": {
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
- "strikethrough": {
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
- "sub": {
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
- "sup": {
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
- "table": {
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
- "ul_list": {
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
- "underline": {
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
- "undo": {
534
- "title": "EditableHtmlButtonConfigure",
535
- "type": "object",
536
- "properties": {
537
- "disabled": {
538
- "description": "Indicates if the plugin is disabled or not",
539
- "type": "boolean",
540
- "title": "disabled"
541
- }
542
- }
543
- }
544
- }
545
- },
546
- "required": {
547
- "description": "Indicates if the item is required and the value cannot be empty",
548
- "type": "boolean",
549
- "title": "required"
550
- },
551
- "settings": {
552
- "description": "Indicates if the item has to be displayed in the Settings Panel",
553
- "type": "boolean",
554
- "title": "settings"
555
- },
556
- "label": {
557
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
558
- "type": "string",
559
- "title": "label"
560
- }
561
- }
562
- },
563
- "prompt": {
564
- "title": "EditableHtmlPluginConfigureRequired",
565
- "type": "object",
566
- "properties": {
567
- "inputConfiguration": {
568
- "title": "EditableHtmlConfigureProp",
569
- "type": "object",
570
- "properties": {
571
- "math": {
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
- "audio": {
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
- "video": {
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
- "image": {
605
- "title": "EditableHtmlButtonConfigure",
606
- "type": "object",
607
- "properties": {
608
- "disabled": {
609
- "description": "Indicates if the plugin is disabled or not",
610
- "type": "boolean",
611
- "title": "disabled"
612
- }
613
- }
614
- },
615
- "customPlugins": {
616
- "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.",
617
- "type": "array",
618
- "items": {
619
- "title": "CustomPlugin",
620
- "type": "object",
621
- "properties": {
622
- "event": {
623
- "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\"",
624
- "type": "string",
625
- "title": "event"
626
- },
627
- "iconAlt": {
628
- "description": "The alt for the custom button icon",
629
- "type": "string",
630
- "title": "iconAlt"
631
- },
632
- "iconType": {
633
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
634
- "type": "string",
635
- "title": "iconType"
636
- },
637
- "icon": {
638
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
639
- "type": "string",
640
- "title": "icon"
641
- }
642
- },
643
- "required": [
644
- "event",
645
- "icon",
646
- "iconAlt",
647
- "iconType"
648
- ]
649
- },
650
- "title": "customPlugins"
651
- },
652
- "blockquote": {
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
- "h3": {
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
- "characters": {
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
- "bold": {
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
- "html": {
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
- "italic": {
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
- "ol_list": {
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
- "redo": {
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
- "strikethrough": {
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
- "sub": {
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
- "sup": {
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
- "table": {
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
- "ul_list": {
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
- "underline": {
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
- "undo": {
807
- "title": "EditableHtmlButtonConfigure",
808
- "type": "object",
809
- "properties": {
810
- "disabled": {
811
- "description": "Indicates if the plugin is disabled or not",
812
- "type": "boolean",
813
- "title": "disabled"
814
- }
815
- }
816
- }
817
- }
818
- },
819
- "required": {
820
- "description": "Indicates if the item is required and the value cannot be empty",
821
- "type": "boolean",
822
- "title": "required"
823
- },
824
- "settings": {
825
- "description": "Indicates if the item has to be displayed in the Settings Panel",
826
- "type": "boolean",
827
- "title": "settings"
828
- },
829
- "label": {
830
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
831
- "type": "string",
832
- "title": "label"
833
- }
834
- }
835
- },
836
- "teacherInstructions": {
837
- "title": "EditableHtmlPluginConfigureRequired",
838
- "type": "object",
839
- "properties": {
840
- "inputConfiguration": {
841
- "title": "EditableHtmlConfigureProp",
842
- "type": "object",
843
- "properties": {
844
- "math": {
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
- "audio": {
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
- "video": {
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
- "image": {
878
- "title": "EditableHtmlButtonConfigure",
879
- "type": "object",
880
- "properties": {
881
- "disabled": {
882
- "description": "Indicates if the plugin is disabled or not",
883
- "type": "boolean",
884
- "title": "disabled"
885
- }
886
- }
887
- },
888
- "customPlugins": {
889
- "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.",
890
- "type": "array",
891
- "items": {
892
- "title": "CustomPlugin",
893
- "type": "object",
894
- "properties": {
895
- "event": {
896
- "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\"",
897
- "type": "string",
898
- "title": "event"
899
- },
900
- "iconAlt": {
901
- "description": "The alt for the custom button icon",
902
- "type": "string",
903
- "title": "iconAlt"
904
- },
905
- "iconType": {
906
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
907
- "type": "string",
908
- "title": "iconType"
909
- },
910
- "icon": {
911
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
912
- "type": "string",
913
- "title": "icon"
914
- }
915
- },
916
- "required": [
917
- "event",
918
- "icon",
919
- "iconAlt",
920
- "iconType"
921
- ]
922
- },
923
- "title": "customPlugins"
924
- },
925
- "blockquote": {
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
- "h3": {
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
- "characters": {
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
- "bold": {
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
- "html": {
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
- "italic": {
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
- "ol_list": {
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
- "redo": {
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
- "strikethrough": {
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
- "sub": {
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
- "sup": {
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
- "table": {
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
- "ul_list": {
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
- "underline": {
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
- "undo": {
1080
- "title": "EditableHtmlButtonConfigure",
1081
- "type": "object",
1082
- "properties": {
1083
- "disabled": {
1084
- "description": "Indicates if the plugin is disabled or not",
1085
- "type": "boolean",
1086
- "title": "disabled"
1087
- }
1088
- }
1089
- }
1090
- }
1091
- },
1092
- "required": {
1093
- "description": "Indicates if the item is required and the value cannot be empty",
1094
- "type": "boolean",
1095
- "title": "required"
1096
- },
1097
- "settings": {
1098
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1099
- "type": "boolean",
1100
- "title": "settings"
1101
- },
1102
- "label": {
1103
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1104
- "type": "string",
1105
- "title": "label"
1106
- }
1107
- }
1108
- },
1109
- "settingsPanelDisabled": {
1110
- "description": "Indicates if the settings panel is not available",
1111
- "type": "boolean",
1112
- "title": "settingsPanelDisabled"
1113
- },
1114
- "spellCheck": {
1115
- "title": "ConfigureProp",
1116
- "type": "object",
1117
- "properties": {
1118
- "settings": {
1119
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1120
- "type": "boolean",
1121
- "title": "settings"
1122
- },
1123
- "label": {
1124
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1125
- "type": "string",
1126
- "title": "label"
1127
- }
1128
- }
1129
- },
1130
- "preserveAspectRatio": {
1131
- "title": "ConfigureProp",
1132
- "type": "object",
1133
- "properties": {
1134
- "settings": {
1135
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1136
- "type": "boolean",
1137
- "title": "settings"
1138
- },
1139
- "label": {
1140
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1141
- "type": "string",
1142
- "title": "label"
1143
- }
1144
- }
1145
- },
1146
- "minShapes": {
1147
- "description": "Minimum number of shapes",
1148
- "type": "number",
1149
- "title": "minShapes"
1150
- },
1151
- "maxShapes": {
1152
- "description": "Maximum number of shapes",
1153
- "type": "number",
1154
- "title": "maxShapes"
1155
- },
1156
- "maxSelections": {
1157
- "description": "Maximum number of selected shapes in correct answer",
1158
- "type": "number",
1159
- "title": "maxSelections"
1160
- },
1161
- "maxImageWidth": {
1162
- "title": "ConfigureMaxImageDimensionsProp",
1163
- "type": "object",
1164
- "properties": {
1165
- "teacherInstructions": {
1166
- "description": "Indicates the max dimension for images in teacher instructions",
1167
- "type": "number",
1168
- "title": "teacherInstructions"
1169
- },
1170
- "prompt": {
1171
- "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",
1172
- "type": "number",
1173
- "title": "prompt"
1174
- },
1175
- "rationale": {
1176
- "description": "Indicates the max dimension for images in rationale",
1177
- "type": "number",
1178
- "title": "rationale"
1179
- }
1180
- }
1181
- },
1182
- "maxImageHeight": {
1183
- "title": "ConfigureMaxImageDimensionsProp",
1184
- "type": "object",
1185
- "properties": {
1186
- "teacherInstructions": {
1187
- "description": "Indicates the max dimension for images in teacher instructions",
1188
- "type": "number",
1189
- "title": "teacherInstructions"
1190
- },
1191
- "prompt": {
1192
- "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",
1193
- "type": "number",
1194
- "title": "prompt"
1195
- },
1196
- "rationale": {
1197
- "description": "Indicates the max dimension for images in rationale",
1198
- "type": "number",
1199
- "title": "rationale"
1200
- }
1201
- }
1202
- },
1203
- "withRubric": {
1204
- "title": "ConfigureProp",
1205
- "type": "object",
1206
- "properties": {
1207
- "settings": {
1208
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1209
- "type": "boolean",
1210
- "title": "settings"
1211
- },
1212
- "label": {
1213
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1214
- "type": "string",
1215
- "title": "label"
1216
- }
1217
- }
1218
- },
1219
- "mathMlOptions": {
1220
- "title": "ConfigureMathMLProp",
1221
- "type": "object",
1222
- "properties": {
1223
- "mmlOutput": {
1224
- "description": "Indicates if model should have mathML output instead of latex",
1225
- "type": "number",
1226
- "title": "mmlOutput"
1227
- },
1228
- "mmlEditing": {
1229
- "description": "Indicates if mathML that's already in model should be editable",
1230
- "type": "number",
1231
- "title": "mmlEditing"
1232
- }
1233
- }
1234
- },
1235
- "language": {
1236
- "title": "ConfigurePropWithEnabled",
1237
- "type": "object",
1238
- "properties": {
1239
- "enabled": {
1240
- "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)",
1241
- "type": "boolean",
1242
- "title": "enabled"
1243
- },
1244
- "settings": {
1245
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1246
- "type": "boolean",
1247
- "title": "settings"
1248
- },
1249
- "label": {
1250
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1251
- "type": "string",
1252
- "title": "label"
1253
- }
1254
- }
1255
- },
1256
- "languageChoices": {
1257
- "description": "Language choices configuration\nOnly available if language is enabled",
1258
- "type": "object",
1259
- "properties": {
1260
- "label": {
1261
- "type": "string",
1262
- "title": "label"
1263
- },
1264
- "options": {
1265
- "type": "array",
1266
- "items": {
1267
- "title": "ConfigureLanguageOptionsProp",
1268
- "type": "object",
1269
- "properties": {
1270
- "value": {
1271
- "description": "Value of the language option",
1272
- "type": "string",
1273
- "title": "value"
1274
- },
1275
- "label": {
1276
- "description": "Label of the language option",
1277
- "type": "string",
1278
- "title": "label"
1279
- }
1280
- },
1281
- "required": [
1282
- "label",
1283
- "value"
1284
- ]
1285
- },
1286
- "title": "options"
1287
- }
1288
- },
1289
- "required": [
1290
- "label",
1291
- "options"
1292
- ],
1293
- "title": "languageChoices"
1294
- },
1295
- "showPrompt": {
1296
- "description": "Determines whether prompt field will be displayed or not",
1297
- "default": true,
1298
- "type": "boolean",
1299
- "title": "showPrompt"
1300
- },
1301
- "promptLabel": {
1302
- "description": "The label for the item stem/prompt field",
1303
- "default": "Item Stemm",
1304
- "type": "string",
1305
- "title": "promptLabel"
1306
- },
1307
- "contentDimensions": {
1308
- "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",
1309
- "default": ": {}",
1310
- "type": "object",
1311
- "properties": {
1312
- "maxHeight": {
1313
- "description": "Indicates the max height of the authoring container",
1314
- "default": "undefined",
1315
- "type": [
1316
- "string",
1317
- "number"
1318
- ],
1319
- "title": "maxHeight"
1320
- },
1321
- "maxWidth": {
1322
- "description": "Indicates the max width of the authoring container",
1323
- "default": "undefined",
1324
- "type": [
1325
- "string",
1326
- "number"
1327
- ],
1328
- "title": "maxWidth"
1329
- },
1330
- "minHeight": {
1331
- "description": "Indicates the min height of the authoring container",
1332
- "default": "undefined",
1333
- "type": [
1334
- "string",
1335
- "number"
1336
- ],
1337
- "title": "minHeight"
1338
- },
1339
- "minWidth": {
1340
- "description": "Indicates the min width of the authoring container",
1341
- "default": "undefined",
1342
- "type": [
1343
- "string",
1344
- "number"
1345
- ],
1346
- "title": "minWidth"
1347
- }
1348
- },
1349
- "title": "contentDimensions"
1350
- },
1351
- "settingsPartialScoring": {
1352
- "description": "Indicates whether the settings panel wil allow the author to modify settings for partial scoring",
1353
- "default": true,
1354
- "type": "boolean",
1355
- "title": "settingsPartialScoring"
1356
- }
1357
- },
1358
- "definitions": {
1359
- "EditableHtmlConfigureProp": {
1360
- "title": "EditableHtmlConfigureProp",
1361
- "type": "object",
1362
- "properties": {
1363
- "math": {
1364
- "title": "EditableHtmlButtonConfigure",
1365
- "type": "object",
1366
- "properties": {
1367
- "disabled": {
1368
- "description": "Indicates if the plugin is disabled or not",
1369
- "type": "boolean",
1370
- "title": "disabled"
1371
- }
1372
- }
1373
- },
1374
- "audio": {
1375
- "title": "EditableHtmlButtonConfigure",
1376
- "type": "object",
1377
- "properties": {
1378
- "disabled": {
1379
- "description": "Indicates if the plugin is disabled or not",
1380
- "type": "boolean",
1381
- "title": "disabled"
1382
- }
1383
- }
1384
- },
1385
- "video": {
1386
- "title": "EditableHtmlButtonConfigure",
1387
- "type": "object",
1388
- "properties": {
1389
- "disabled": {
1390
- "description": "Indicates if the plugin is disabled or not",
1391
- "type": "boolean",
1392
- "title": "disabled"
1393
- }
1394
- }
1395
- },
1396
- "image": {
1397
- "title": "EditableHtmlButtonConfigure",
1398
- "type": "object",
1399
- "properties": {
1400
- "disabled": {
1401
- "description": "Indicates if the plugin is disabled or not",
1402
- "type": "boolean",
1403
- "title": "disabled"
1404
- }
1405
- }
1406
- },
1407
- "customPlugins": {
1408
- "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.",
1409
- "type": "array",
1410
- "items": {
1411
- "title": "CustomPlugin",
1412
- "type": "object",
1413
- "properties": {
1414
- "event": {
1415
- "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\"",
1416
- "type": "string",
1417
- "title": "event"
1418
- },
1419
- "iconAlt": {
1420
- "description": "The alt for the custom button icon",
1421
- "type": "string",
1422
- "title": "iconAlt"
1423
- },
1424
- "iconType": {
1425
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1426
- "type": "string",
1427
- "title": "iconType"
1428
- },
1429
- "icon": {
1430
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1431
- "type": "string",
1432
- "title": "icon"
1433
- }
1434
- },
1435
- "required": [
1436
- "event",
1437
- "icon",
1438
- "iconAlt",
1439
- "iconType"
1440
- ]
1441
- },
1442
- "title": "customPlugins"
1443
- },
1444
- "blockquote": {
1445
- "title": "EditableHtmlButtonConfigure",
1446
- "type": "object",
1447
- "properties": {
1448
- "disabled": {
1449
- "description": "Indicates if the plugin is disabled or not",
1450
- "type": "boolean",
1451
- "title": "disabled"
1452
- }
1453
- }
1454
- },
1455
- "h3": {
1456
- "title": "EditableHtmlButtonConfigure",
1457
- "type": "object",
1458
- "properties": {
1459
- "disabled": {
1460
- "description": "Indicates if the plugin is disabled or not",
1461
- "type": "boolean",
1462
- "title": "disabled"
1463
- }
1464
- }
1465
- },
1466
- "characters": {
1467
- "title": "EditableHtmlButtonConfigure",
1468
- "type": "object",
1469
- "properties": {
1470
- "disabled": {
1471
- "description": "Indicates if the plugin is disabled or not",
1472
- "type": "boolean",
1473
- "title": "disabled"
1474
- }
1475
- }
1476
- },
1477
- "bold": {
1478
- "title": "EditableHtmlButtonConfigure",
1479
- "type": "object",
1480
- "properties": {
1481
- "disabled": {
1482
- "description": "Indicates if the plugin is disabled or not",
1483
- "type": "boolean",
1484
- "title": "disabled"
1485
- }
1486
- }
1487
- },
1488
- "html": {
1489
- "title": "EditableHtmlButtonConfigure",
1490
- "type": "object",
1491
- "properties": {
1492
- "disabled": {
1493
- "description": "Indicates if the plugin is disabled or not",
1494
- "type": "boolean",
1495
- "title": "disabled"
1496
- }
1497
- }
1498
- },
1499
- "italic": {
1500
- "title": "EditableHtmlButtonConfigure",
1501
- "type": "object",
1502
- "properties": {
1503
- "disabled": {
1504
- "description": "Indicates if the plugin is disabled or not",
1505
- "type": "boolean",
1506
- "title": "disabled"
1507
- }
1508
- }
1509
- },
1510
- "ol_list": {
1511
- "title": "EditableHtmlButtonConfigure",
1512
- "type": "object",
1513
- "properties": {
1514
- "disabled": {
1515
- "description": "Indicates if the plugin is disabled or not",
1516
- "type": "boolean",
1517
- "title": "disabled"
1518
- }
1519
- }
1520
- },
1521
- "redo": {
1522
- "title": "EditableHtmlButtonConfigure",
1523
- "type": "object",
1524
- "properties": {
1525
- "disabled": {
1526
- "description": "Indicates if the plugin is disabled or not",
1527
- "type": "boolean",
1528
- "title": "disabled"
1529
- }
1530
- }
1531
- },
1532
- "strikethrough": {
1533
- "title": "EditableHtmlButtonConfigure",
1534
- "type": "object",
1535
- "properties": {
1536
- "disabled": {
1537
- "description": "Indicates if the plugin is disabled or not",
1538
- "type": "boolean",
1539
- "title": "disabled"
1540
- }
1541
- }
1542
- },
1543
- "sub": {
1544
- "title": "EditableHtmlButtonConfigure",
1545
- "type": "object",
1546
- "properties": {
1547
- "disabled": {
1548
- "description": "Indicates if the plugin is disabled or not",
1549
- "type": "boolean",
1550
- "title": "disabled"
1551
- }
1552
- }
1553
- },
1554
- "sup": {
1555
- "title": "EditableHtmlButtonConfigure",
1556
- "type": "object",
1557
- "properties": {
1558
- "disabled": {
1559
- "description": "Indicates if the plugin is disabled or not",
1560
- "type": "boolean",
1561
- "title": "disabled"
1562
- }
1563
- }
1564
- },
1565
- "table": {
1566
- "title": "EditableHtmlButtonConfigure",
1567
- "type": "object",
1568
- "properties": {
1569
- "disabled": {
1570
- "description": "Indicates if the plugin is disabled or not",
1571
- "type": "boolean",
1572
- "title": "disabled"
1573
- }
1574
- }
1575
- },
1576
- "ul_list": {
1577
- "title": "EditableHtmlButtonConfigure",
1578
- "type": "object",
1579
- "properties": {
1580
- "disabled": {
1581
- "description": "Indicates if the plugin is disabled or not",
1582
- "type": "boolean",
1583
- "title": "disabled"
1584
- }
1585
- }
1586
- },
1587
- "underline": {
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
- "undo": {
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
- }
1610
- },
1611
- "EditableHtmlButtonConfigure": {
1612
- "title": "EditableHtmlButtonConfigure",
1613
- "type": "object",
1614
- "properties": {
1615
- "disabled": {
1616
- "description": "Indicates if the plugin is disabled or not",
1617
- "type": "boolean",
1618
- "title": "disabled"
1619
- }
1620
- }
1621
- },
1622
- "CustomPlugin": {
1623
- "title": "CustomPlugin",
1624
- "type": "object",
1625
- "properties": {
1626
- "event": {
1627
- "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\"",
1628
- "type": "string",
1629
- "title": "event"
1630
- },
1631
- "iconAlt": {
1632
- "description": "The alt for the custom button icon",
1633
- "type": "string",
1634
- "title": "iconAlt"
1635
- },
1636
- "iconType": {
1637
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1638
- "type": "string",
1639
- "title": "iconType"
1640
- },
1641
- "icon": {
1642
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1643
- "type": "string",
1644
- "title": "icon"
1645
- }
1646
- },
1647
- "required": [
1648
- "event",
1649
- "icon",
1650
- "iconAlt",
1651
- "iconType"
1652
- ]
1653
- },
1654
- "ConfigureProp": {
1655
- "title": "ConfigureProp",
1656
- "type": "object",
1657
- "properties": {
1658
- "settings": {
1659
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1660
- "type": "boolean",
1661
- "title": "settings"
1662
- },
1663
- "label": {
1664
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1665
- "type": "string",
1666
- "title": "label"
1667
- }
1668
- }
1669
- },
1670
- "EditableHtmlPluginConfigureRequired": {
1671
- "title": "EditableHtmlPluginConfigureRequired",
1672
- "type": "object",
1673
- "properties": {
1674
- "inputConfiguration": {
1675
- "title": "EditableHtmlConfigureProp",
1676
- "type": "object",
1677
- "properties": {
1678
- "math": {
1679
- "title": "EditableHtmlButtonConfigure",
1680
- "type": "object",
1681
- "properties": {
1682
- "disabled": {
1683
- "description": "Indicates if the plugin is disabled or not",
1684
- "type": "boolean",
1685
- "title": "disabled"
1686
- }
1687
- }
1688
- },
1689
- "audio": {
1690
- "title": "EditableHtmlButtonConfigure",
1691
- "type": "object",
1692
- "properties": {
1693
- "disabled": {
1694
- "description": "Indicates if the plugin is disabled or not",
1695
- "type": "boolean",
1696
- "title": "disabled"
1697
- }
1698
- }
1699
- },
1700
- "video": {
1701
- "title": "EditableHtmlButtonConfigure",
1702
- "type": "object",
1703
- "properties": {
1704
- "disabled": {
1705
- "description": "Indicates if the plugin is disabled or not",
1706
- "type": "boolean",
1707
- "title": "disabled"
1708
- }
1709
- }
1710
- },
1711
- "image": {
1712
- "title": "EditableHtmlButtonConfigure",
1713
- "type": "object",
1714
- "properties": {
1715
- "disabled": {
1716
- "description": "Indicates if the plugin is disabled or not",
1717
- "type": "boolean",
1718
- "title": "disabled"
1719
- }
1720
- }
1721
- },
1722
- "customPlugins": {
1723
- "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.",
1724
- "type": "array",
1725
- "items": {
1726
- "title": "CustomPlugin",
1727
- "type": "object",
1728
- "properties": {
1729
- "event": {
1730
- "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\"",
1731
- "type": "string",
1732
- "title": "event"
1733
- },
1734
- "iconAlt": {
1735
- "description": "The alt for the custom button icon",
1736
- "type": "string",
1737
- "title": "iconAlt"
1738
- },
1739
- "iconType": {
1740
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1741
- "type": "string",
1742
- "title": "iconType"
1743
- },
1744
- "icon": {
1745
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1746
- "type": "string",
1747
- "title": "icon"
1748
- }
1749
- },
1750
- "required": [
1751
- "event",
1752
- "icon",
1753
- "iconAlt",
1754
- "iconType"
1755
- ]
1756
- },
1757
- "title": "customPlugins"
1758
- },
1759
- "blockquote": {
1760
- "title": "EditableHtmlButtonConfigure",
1761
- "type": "object",
1762
- "properties": {
1763
- "disabled": {
1764
- "description": "Indicates if the plugin is disabled or not",
1765
- "type": "boolean",
1766
- "title": "disabled"
1767
- }
1768
- }
1769
- },
1770
- "h3": {
1771
- "title": "EditableHtmlButtonConfigure",
1772
- "type": "object",
1773
- "properties": {
1774
- "disabled": {
1775
- "description": "Indicates if the plugin is disabled or not",
1776
- "type": "boolean",
1777
- "title": "disabled"
1778
- }
1779
- }
1780
- },
1781
- "characters": {
1782
- "title": "EditableHtmlButtonConfigure",
1783
- "type": "object",
1784
- "properties": {
1785
- "disabled": {
1786
- "description": "Indicates if the plugin is disabled or not",
1787
- "type": "boolean",
1788
- "title": "disabled"
1789
- }
1790
- }
1791
- },
1792
- "bold": {
1793
- "title": "EditableHtmlButtonConfigure",
1794
- "type": "object",
1795
- "properties": {
1796
- "disabled": {
1797
- "description": "Indicates if the plugin is disabled or not",
1798
- "type": "boolean",
1799
- "title": "disabled"
1800
- }
1801
- }
1802
- },
1803
- "html": {
1804
- "title": "EditableHtmlButtonConfigure",
1805
- "type": "object",
1806
- "properties": {
1807
- "disabled": {
1808
- "description": "Indicates if the plugin is disabled or not",
1809
- "type": "boolean",
1810
- "title": "disabled"
1811
- }
1812
- }
1813
- },
1814
- "italic": {
1815
- "title": "EditableHtmlButtonConfigure",
1816
- "type": "object",
1817
- "properties": {
1818
- "disabled": {
1819
- "description": "Indicates if the plugin is disabled or not",
1820
- "type": "boolean",
1821
- "title": "disabled"
1822
- }
1823
- }
1824
- },
1825
- "ol_list": {
1826
- "title": "EditableHtmlButtonConfigure",
1827
- "type": "object",
1828
- "properties": {
1829
- "disabled": {
1830
- "description": "Indicates if the plugin is disabled or not",
1831
- "type": "boolean",
1832
- "title": "disabled"
1833
- }
1834
- }
1835
- },
1836
- "redo": {
1837
- "title": "EditableHtmlButtonConfigure",
1838
- "type": "object",
1839
- "properties": {
1840
- "disabled": {
1841
- "description": "Indicates if the plugin is disabled or not",
1842
- "type": "boolean",
1843
- "title": "disabled"
1844
- }
1845
- }
1846
- },
1847
- "strikethrough": {
1848
- "title": "EditableHtmlButtonConfigure",
1849
- "type": "object",
1850
- "properties": {
1851
- "disabled": {
1852
- "description": "Indicates if the plugin is disabled or not",
1853
- "type": "boolean",
1854
- "title": "disabled"
1855
- }
1856
- }
1857
- },
1858
- "sub": {
1859
- "title": "EditableHtmlButtonConfigure",
1860
- "type": "object",
1861
- "properties": {
1862
- "disabled": {
1863
- "description": "Indicates if the plugin is disabled or not",
1864
- "type": "boolean",
1865
- "title": "disabled"
1866
- }
1867
- }
1868
- },
1869
- "sup": {
1870
- "title": "EditableHtmlButtonConfigure",
1871
- "type": "object",
1872
- "properties": {
1873
- "disabled": {
1874
- "description": "Indicates if the plugin is disabled or not",
1875
- "type": "boolean",
1876
- "title": "disabled"
1877
- }
1878
- }
1879
- },
1880
- "table": {
1881
- "title": "EditableHtmlButtonConfigure",
1882
- "type": "object",
1883
- "properties": {
1884
- "disabled": {
1885
- "description": "Indicates if the plugin is disabled or not",
1886
- "type": "boolean",
1887
- "title": "disabled"
1888
- }
1889
- }
1890
- },
1891
- "ul_list": {
1892
- "title": "EditableHtmlButtonConfigure",
1893
- "type": "object",
1894
- "properties": {
1895
- "disabled": {
1896
- "description": "Indicates if the plugin is disabled or not",
1897
- "type": "boolean",
1898
- "title": "disabled"
1899
- }
1900
- }
1901
- },
1902
- "underline": {
1903
- "title": "EditableHtmlButtonConfigure",
1904
- "type": "object",
1905
- "properties": {
1906
- "disabled": {
1907
- "description": "Indicates if the plugin is disabled or not",
1908
- "type": "boolean",
1909
- "title": "disabled"
1910
- }
1911
- }
1912
- },
1913
- "undo": {
1914
- "title": "EditableHtmlButtonConfigure",
1915
- "type": "object",
1916
- "properties": {
1917
- "disabled": {
1918
- "description": "Indicates if the plugin is disabled or not",
1919
- "type": "boolean",
1920
- "title": "disabled"
1921
- }
1922
- }
1923
- }
1924
- }
1925
- },
1926
- "required": {
1927
- "description": "Indicates if the item is required and the value cannot be empty",
1928
- "type": "boolean",
1929
- "title": "required"
1930
- },
1931
- "settings": {
1932
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1933
- "type": "boolean",
1934
- "title": "settings"
1935
- },
1936
- "label": {
1937
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1938
- "type": "string",
1939
- "title": "label"
1940
- }
1941
- }
1942
- },
1943
- "ConfigureMaxImageDimensionsProp": {
1944
- "title": "ConfigureMaxImageDimensionsProp",
1945
- "type": "object",
1946
- "properties": {
1947
- "teacherInstructions": {
1948
- "description": "Indicates the max dimension for images in teacher instructions",
1949
- "type": "number",
1950
- "title": "teacherInstructions"
1951
- },
1952
- "prompt": {
1953
- "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",
1954
- "type": "number",
1955
- "title": "prompt"
1956
- },
1957
- "rationale": {
1958
- "description": "Indicates the max dimension for images in rationale",
1959
- "type": "number",
1960
- "title": "rationale"
1961
- }
1962
- }
1963
- },
1964
- "ConfigureMathMLProp": {
1965
- "title": "ConfigureMathMLProp",
1966
- "type": "object",
1967
- "properties": {
1968
- "mmlOutput": {
1969
- "description": "Indicates if model should have mathML output instead of latex",
1970
- "type": "number",
1971
- "title": "mmlOutput"
1972
- },
1973
- "mmlEditing": {
1974
- "description": "Indicates if mathML that's already in model should be editable",
1975
- "type": "number",
1976
- "title": "mmlEditing"
1977
- }
1978
- }
1979
- },
1980
- "ConfigurePropWithEnabled": {
1981
- "title": "ConfigurePropWithEnabled",
1982
- "type": "object",
1983
- "properties": {
1984
- "enabled": {
1985
- "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)",
1986
- "type": "boolean",
1987
- "title": "enabled"
1988
- },
1989
- "settings": {
1990
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1991
- "type": "boolean",
1992
- "title": "settings"
1993
- },
1994
- "label": {
1995
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1996
- "type": "string",
1997
- "title": "label"
1998
- }
1999
- }
2000
- },
2001
- "ConfigureLanguageOptionsProp": {
2002
- "title": "ConfigureLanguageOptionsProp",
2003
- "type": "object",
2004
- "properties": {
2005
- "value": {
2006
- "description": "Value of the language option",
2007
- "type": "string",
2008
- "title": "value"
2009
- },
2010
- "label": {
2011
- "description": "Label of the language option",
2012
- "type": "string",
2013
- "title": "label"
2014
- }
2015
- },
2016
- "required": [
2017
- "label",
2018
- "value"
2019
- ]
2020
- }
2021
- },
2022
- "$schema": "http://json-schema.org/draft-07/schema#"
2023
- }