@pie-element/complex-rubric 6.0.0-beta.1 → 6.0.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/CHANGELOG.md +0 -11
  2. package/configure/CHANGELOG.md +0 -11
  3. package/configure/lib/defaults.js +9 -0
  4. package/configure/lib/defaults.js.map +1 -1
  5. package/configure/lib/index.js +8 -8
  6. package/configure/lib/index.js.map +1 -1
  7. package/configure/package.json +9 -9
  8. package/configure/src/__tests__/index.test.js +15 -0
  9. package/configure/src/__tests__/main.test.jsx +7 -0
  10. package/configure/src/defaults.js +3 -0
  11. package/configure/src/index.js +1 -1
  12. package/controller/package.json +1 -1
  13. package/module/configure.js +1 -0
  14. package/module/controller.js +262 -0
  15. package/module/demo.js +221 -0
  16. package/module/element.js +1 -0
  17. package/module/index.html +21 -0
  18. package/module/manifest.json +22 -0
  19. package/module/print-demo.js +259 -0
  20. package/module/print.html +18 -0
  21. package/module/print.js +1 -0
  22. package/package.json +10 -6
  23. package/configure/node_modules/@pie-element/multi-trait-rubric/CHANGELOG.json +0 -1
  24. package/configure/node_modules/@pie-element/multi-trait-rubric/CHANGELOG.md +0 -2491
  25. package/configure/node_modules/@pie-element/multi-trait-rubric/README.md +0 -55
  26. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/CHANGELOG.json +0 -1
  27. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/CHANGELOG.md +0 -2333
  28. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js +0 -429
  29. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js.map +0 -1
  30. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js +0 -181
  31. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js.map +0 -1
  32. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/index.js +0 -157
  33. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/index.js.map +0 -1
  34. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js +0 -455
  35. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js.map +0 -1
  36. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js +0 -206
  37. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js.map +0 -1
  38. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js +0 -451
  39. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js.map +0 -1
  40. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js +0 -275
  41. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js.map +0 -1
  42. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js +0 -233
  43. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js.map +0 -1
  44. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js +0 -87
  45. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js.map +0 -1
  46. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/package.json +0 -24
  47. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/CHANGELOG.json +0 -1
  48. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/CHANGELOG.md +0 -1571
  49. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/defaults.js +0 -18
  50. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/defaults.js.map +0 -1
  51. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js +0 -158
  52. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js.map +0 -1
  53. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/utils.js +0 -11
  54. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/utils.js.map +0 -1
  55. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/package.json +0 -14
  56. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json +0 -1628
  57. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json.md +0 -1202
  58. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/config.js +0 -8
  59. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/generate.js +0 -117
  60. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/index.html +0 -1
  61. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/session.js +0 -6
  62. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/pie-schema.json +0 -861
  63. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/pie-schema.json.md +0 -614
  64. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/index.js +0 -54
  65. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/index.js.map +0 -1
  66. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js +0 -123
  67. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js.map +0 -1
  68. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js +0 -248
  69. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js.map +0 -1
  70. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js +0 -83
  71. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js.map +0 -1
  72. package/configure/node_modules/@pie-element/multi-trait-rubric/package.json +0 -32
  73. package/configure/node_modules/@pie-element/rubric/CHANGELOG.json +0 -257
  74. package/configure/node_modules/@pie-element/rubric/CHANGELOG.md +0 -2774
  75. package/configure/node_modules/@pie-element/rubric/README.md +0 -3
  76. package/configure/node_modules/@pie-element/rubric/configure/CHANGELOG.json +0 -197
  77. package/configure/node_modules/@pie-element/rubric/configure/CHANGELOG.md +0 -2541
  78. package/configure/node_modules/@pie-element/rubric/configure/lib/defaults.js +0 -67
  79. package/configure/node_modules/@pie-element/rubric/configure/lib/defaults.js.map +0 -1
  80. package/configure/node_modules/@pie-element/rubric/configure/lib/index.js +0 -135
  81. package/configure/node_modules/@pie-element/rubric/configure/lib/index.js.map +0 -1
  82. package/configure/node_modules/@pie-element/rubric/configure/lib/main.js +0 -103
  83. package/configure/node_modules/@pie-element/rubric/configure/lib/main.js.map +0 -1
  84. package/configure/node_modules/@pie-element/rubric/configure/package.json +0 -24
  85. package/configure/node_modules/@pie-element/rubric/configure/src/__tests__/index.test.jsx +0 -178
  86. package/configure/node_modules/@pie-element/rubric/configure/src/defaults.js +0 -42
  87. package/configure/node_modules/@pie-element/rubric/configure/src/index.js +0 -139
  88. package/configure/node_modules/@pie-element/rubric/configure/src/main.jsx +0 -87
  89. package/configure/node_modules/@pie-element/rubric/controller/CHANGELOG.json +0 -17
  90. package/configure/node_modules/@pie-element/rubric/controller/CHANGELOG.md +0 -1564
  91. package/configure/node_modules/@pie-element/rubric/controller/lib/defaults.js +0 -15
  92. package/configure/node_modules/@pie-element/rubric/controller/lib/defaults.js.map +0 -1
  93. package/configure/node_modules/@pie-element/rubric/controller/lib/index.js +0 -46
  94. package/configure/node_modules/@pie-element/rubric/controller/lib/index.js.map +0 -1
  95. package/configure/node_modules/@pie-element/rubric/controller/package.json +0 -12
  96. package/configure/node_modules/@pie-element/rubric/controller/src/__tests__/index.test.js +0 -33
  97. package/configure/node_modules/@pie-element/rubric/controller/src/defaults.js +0 -8
  98. package/configure/node_modules/@pie-element/rubric/controller/src/index.js +0 -41
  99. package/configure/node_modules/@pie-element/rubric/docs/config-schema.json +0 -712
  100. package/configure/node_modules/@pie-element/rubric/docs/config-schema.json.md +0 -532
  101. package/configure/node_modules/@pie-element/rubric/docs/demo/config.js +0 -8
  102. package/configure/node_modules/@pie-element/rubric/docs/demo/generate.js +0 -8
  103. package/configure/node_modules/@pie-element/rubric/docs/demo/index.html +0 -2
  104. package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json +0 -391
  105. package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json.md +0 -281
  106. package/configure/node_modules/@pie-element/rubric/lib/index.js +0 -52
  107. package/configure/node_modules/@pie-element/rubric/lib/index.js.map +0 -1
  108. package/configure/node_modules/@pie-element/rubric/lib/main.js +0 -210
  109. package/configure/node_modules/@pie-element/rubric/lib/main.js.map +0 -1
  110. package/configure/node_modules/@pie-element/rubric/lib/print.js +0 -71
  111. package/configure/node_modules/@pie-element/rubric/lib/print.js.map +0 -1
  112. package/configure/node_modules/@pie-element/rubric/package.json +0 -30
  113. package/configure/node_modules/@pie-element/rubric/src/__tests__/__snapshots__/rubric-view.test.jsx.snap +0 -2641
  114. package/configure/node_modules/@pie-element/rubric/src/__tests__/rubric-view.test.jsx +0 -49
  115. package/configure/node_modules/@pie-element/rubric/src/index.js +0 -48
  116. package/configure/node_modules/@pie-element/rubric/src/main.jsx +0 -226
  117. package/configure/node_modules/@pie-element/rubric/src/print.js +0 -74
  118. package/configure/node_modules/clsx/clsx.d.ts +0 -6
  119. package/configure/node_modules/clsx/dist/clsx.js +0 -1
  120. package/configure/node_modules/clsx/dist/clsx.m.js +0 -1
  121. package/configure/node_modules/clsx/dist/clsx.min.js +0 -1
  122. package/configure/node_modules/clsx/license +0 -9
  123. package/configure/node_modules/clsx/package.json +0 -37
  124. package/configure/node_modules/clsx/readme.md +0 -88
@@ -1,712 +0,0 @@
1
- {
2
- "type": "object",
3
- "properties": {
4
- "baseInputConfiguration": {
5
- "title": "EditableHtmlConfigureProp",
6
- "type": "object",
7
- "properties": {
8
- "math": {
9
- "title": "EditableHtmlButtonConfigure",
10
- "type": "object",
11
- "properties": {
12
- "disabled": {
13
- "description": "Indicates if the plugin is disabled or not",
14
- "type": "boolean",
15
- "title": "disabled"
16
- }
17
- }
18
- },
19
- "audio": {
20
- "title": "EditableHtmlButtonConfigure",
21
- "type": "object",
22
- "properties": {
23
- "disabled": {
24
- "description": "Indicates if the plugin is disabled or not",
25
- "type": "boolean",
26
- "title": "disabled"
27
- }
28
- }
29
- },
30
- "video": {
31
- "title": "EditableHtmlButtonConfigure",
32
- "type": "object",
33
- "properties": {
34
- "disabled": {
35
- "description": "Indicates if the plugin is disabled or not",
36
- "type": "boolean",
37
- "title": "disabled"
38
- }
39
- }
40
- },
41
- "image": {
42
- "title": "EditableHtmlButtonConfigure",
43
- "type": "object",
44
- "properties": {
45
- "disabled": {
46
- "description": "Indicates if the plugin is disabled or not",
47
- "type": "boolean",
48
- "title": "disabled"
49
- }
50
- }
51
- },
52
- "customPlugins": {
53
- "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.",
54
- "type": "array",
55
- "items": {
56
- "title": "CustomPlugin",
57
- "type": "object",
58
- "properties": {
59
- "event": {
60
- "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\"",
61
- "type": "string",
62
- "title": "event"
63
- },
64
- "iconAlt": {
65
- "description": "The alt for the custom button icon",
66
- "type": "string",
67
- "title": "iconAlt"
68
- },
69
- "iconType": {
70
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
71
- "type": "string",
72
- "title": "iconType"
73
- },
74
- "icon": {
75
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
76
- "type": "string",
77
- "title": "icon"
78
- }
79
- },
80
- "required": [
81
- "event",
82
- "icon",
83
- "iconAlt",
84
- "iconType"
85
- ]
86
- },
87
- "title": "customPlugins"
88
- },
89
- "blockquote": {
90
- "title": "EditableHtmlButtonConfigure",
91
- "type": "object",
92
- "properties": {
93
- "disabled": {
94
- "description": "Indicates if the plugin is disabled or not",
95
- "type": "boolean",
96
- "title": "disabled"
97
- }
98
- }
99
- },
100
- "h3": {
101
- "title": "EditableHtmlButtonConfigure",
102
- "type": "object",
103
- "properties": {
104
- "disabled": {
105
- "description": "Indicates if the plugin is disabled or not",
106
- "type": "boolean",
107
- "title": "disabled"
108
- }
109
- }
110
- },
111
- "characters": {
112
- "title": "EditableHtmlButtonConfigure",
113
- "type": "object",
114
- "properties": {
115
- "disabled": {
116
- "description": "Indicates if the plugin is disabled or not",
117
- "type": "boolean",
118
- "title": "disabled"
119
- }
120
- }
121
- },
122
- "bold": {
123
- "title": "EditableHtmlButtonConfigure",
124
- "type": "object",
125
- "properties": {
126
- "disabled": {
127
- "description": "Indicates if the plugin is disabled or not",
128
- "type": "boolean",
129
- "title": "disabled"
130
- }
131
- }
132
- },
133
- "html": {
134
- "title": "EditableHtmlButtonConfigure",
135
- "type": "object",
136
- "properties": {
137
- "disabled": {
138
- "description": "Indicates if the plugin is disabled or not",
139
- "type": "boolean",
140
- "title": "disabled"
141
- }
142
- }
143
- },
144
- "italic": {
145
- "title": "EditableHtmlButtonConfigure",
146
- "type": "object",
147
- "properties": {
148
- "disabled": {
149
- "description": "Indicates if the plugin is disabled or not",
150
- "type": "boolean",
151
- "title": "disabled"
152
- }
153
- }
154
- },
155
- "ol_list": {
156
- "title": "EditableHtmlButtonConfigure",
157
- "type": "object",
158
- "properties": {
159
- "disabled": {
160
- "description": "Indicates if the plugin is disabled or not",
161
- "type": "boolean",
162
- "title": "disabled"
163
- }
164
- }
165
- },
166
- "redo": {
167
- "title": "EditableHtmlButtonConfigure",
168
- "type": "object",
169
- "properties": {
170
- "disabled": {
171
- "description": "Indicates if the plugin is disabled or not",
172
- "type": "boolean",
173
- "title": "disabled"
174
- }
175
- }
176
- },
177
- "strikethrough": {
178
- "title": "EditableHtmlButtonConfigure",
179
- "type": "object",
180
- "properties": {
181
- "disabled": {
182
- "description": "Indicates if the plugin is disabled or not",
183
- "type": "boolean",
184
- "title": "disabled"
185
- }
186
- }
187
- },
188
- "sub": {
189
- "title": "EditableHtmlButtonConfigure",
190
- "type": "object",
191
- "properties": {
192
- "disabled": {
193
- "description": "Indicates if the plugin is disabled or not",
194
- "type": "boolean",
195
- "title": "disabled"
196
- }
197
- }
198
- },
199
- "sup": {
200
- "title": "EditableHtmlButtonConfigure",
201
- "type": "object",
202
- "properties": {
203
- "disabled": {
204
- "description": "Indicates if the plugin is disabled or not",
205
- "type": "boolean",
206
- "title": "disabled"
207
- }
208
- }
209
- },
210
- "table": {
211
- "title": "EditableHtmlButtonConfigure",
212
- "type": "object",
213
- "properties": {
214
- "disabled": {
215
- "description": "Indicates if the plugin is disabled or not",
216
- "type": "boolean",
217
- "title": "disabled"
218
- }
219
- }
220
- },
221
- "ul_list": {
222
- "title": "EditableHtmlButtonConfigure",
223
- "type": "object",
224
- "properties": {
225
- "disabled": {
226
- "description": "Indicates if the plugin is disabled or not",
227
- "type": "boolean",
228
- "title": "disabled"
229
- }
230
- }
231
- },
232
- "underline": {
233
- "title": "EditableHtmlButtonConfigure",
234
- "type": "object",
235
- "properties": {
236
- "disabled": {
237
- "description": "Indicates if the plugin is disabled or not",
238
- "type": "boolean",
239
- "title": "disabled"
240
- }
241
- }
242
- },
243
- "undo": {
244
- "title": "EditableHtmlButtonConfigure",
245
- "type": "object",
246
- "properties": {
247
- "disabled": {
248
- "description": "Indicates if the plugin is disabled or not",
249
- "type": "boolean",
250
- "title": "disabled"
251
- }
252
- }
253
- }
254
- }
255
- },
256
- "settingsPanelDisabled": {
257
- "description": "Indicates if the settings panel is not available",
258
- "type": "boolean",
259
- "title": "settingsPanelDisabled"
260
- },
261
- "showExcludeZero": {
262
- "title": "ConfigureProp",
263
- "type": "object",
264
- "properties": {
265
- "settings": {
266
- "description": "Indicates if the item has to be displayed in the Settings Panel",
267
- "type": "boolean",
268
- "title": "settings"
269
- },
270
- "label": {
271
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
272
- "type": "string",
273
- "title": "label"
274
- }
275
- }
276
- },
277
- "showMaxPoint": {
278
- "title": "ConfigureProp",
279
- "type": "object",
280
- "properties": {
281
- "settings": {
282
- "description": "Indicates if the item has to be displayed in the Settings Panel",
283
- "type": "boolean",
284
- "title": "settings"
285
- },
286
- "label": {
287
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
288
- "type": "string",
289
- "title": "label"
290
- }
291
- }
292
- },
293
- "width": {
294
- "description": "How large can the rubric be",
295
- "type": "string",
296
- "title": "width"
297
- },
298
- "mathMlOptions": {
299
- "title": "ConfigureMathMLProp",
300
- "type": "object",
301
- "properties": {
302
- "mmlOutput": {
303
- "description": "Indicates if model should have mathML output instead of latex",
304
- "type": "number",
305
- "title": "mmlOutput"
306
- },
307
- "mmlEditing": {
308
- "description": "Indicates if mathML that's already in model should be editable",
309
- "type": "number",
310
- "title": "mmlEditing"
311
- }
312
- }
313
- },
314
- "maxMaxPoints": {
315
- "description": "Indicates the max limit for scoring points",
316
- "type": "number",
317
- "title": "maxMaxPoints"
318
- },
319
- "showPrompt": {
320
- "description": "Determines whether prompt field will be displayed or not",
321
- "default": true,
322
- "type": "boolean",
323
- "title": "showPrompt"
324
- },
325
- "promptLabel": {
326
- "description": "The label for the item stem/prompt field",
327
- "default": "Item Stemm",
328
- "type": "string",
329
- "title": "promptLabel"
330
- },
331
- "contentDimensions": {
332
- "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",
333
- "default": ": {}",
334
- "type": "object",
335
- "properties": {
336
- "maxHeight": {
337
- "description": "Indicates the max height of the authoring container",
338
- "default": "undefined",
339
- "type": [
340
- "string",
341
- "number"
342
- ],
343
- "title": "maxHeight"
344
- },
345
- "maxWidth": {
346
- "description": "Indicates the max width of the authoring container",
347
- "default": "undefined",
348
- "type": [
349
- "string",
350
- "number"
351
- ],
352
- "title": "maxWidth"
353
- },
354
- "minHeight": {
355
- "description": "Indicates the min height of the authoring container",
356
- "default": "undefined",
357
- "type": [
358
- "string",
359
- "number"
360
- ],
361
- "title": "minHeight"
362
- },
363
- "minWidth": {
364
- "description": "Indicates the min width of the authoring container",
365
- "default": "undefined",
366
- "type": [
367
- "string",
368
- "number"
369
- ],
370
- "title": "minWidth"
371
- }
372
- },
373
- "title": "contentDimensions"
374
- },
375
- "settingsPartialScoring": {
376
- "description": "Indicates whether the settings panel wil allow the author to modify settings for partial scoring",
377
- "default": true,
378
- "type": "boolean",
379
- "title": "settingsPartialScoring"
380
- }
381
- },
382
- "definitions": {
383
- "EditableHtmlConfigureProp": {
384
- "title": "EditableHtmlConfigureProp",
385
- "type": "object",
386
- "properties": {
387
- "math": {
388
- "title": "EditableHtmlButtonConfigure",
389
- "type": "object",
390
- "properties": {
391
- "disabled": {
392
- "description": "Indicates if the plugin is disabled or not",
393
- "type": "boolean",
394
- "title": "disabled"
395
- }
396
- }
397
- },
398
- "audio": {
399
- "title": "EditableHtmlButtonConfigure",
400
- "type": "object",
401
- "properties": {
402
- "disabled": {
403
- "description": "Indicates if the plugin is disabled or not",
404
- "type": "boolean",
405
- "title": "disabled"
406
- }
407
- }
408
- },
409
- "video": {
410
- "title": "EditableHtmlButtonConfigure",
411
- "type": "object",
412
- "properties": {
413
- "disabled": {
414
- "description": "Indicates if the plugin is disabled or not",
415
- "type": "boolean",
416
- "title": "disabled"
417
- }
418
- }
419
- },
420
- "image": {
421
- "title": "EditableHtmlButtonConfigure",
422
- "type": "object",
423
- "properties": {
424
- "disabled": {
425
- "description": "Indicates if the plugin is disabled or not",
426
- "type": "boolean",
427
- "title": "disabled"
428
- }
429
- }
430
- },
431
- "customPlugins": {
432
- "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.",
433
- "type": "array",
434
- "items": {
435
- "title": "CustomPlugin",
436
- "type": "object",
437
- "properties": {
438
- "event": {
439
- "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\"",
440
- "type": "string",
441
- "title": "event"
442
- },
443
- "iconAlt": {
444
- "description": "The alt for the custom button icon",
445
- "type": "string",
446
- "title": "iconAlt"
447
- },
448
- "iconType": {
449
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
450
- "type": "string",
451
- "title": "iconType"
452
- },
453
- "icon": {
454
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
455
- "type": "string",
456
- "title": "icon"
457
- }
458
- },
459
- "required": [
460
- "event",
461
- "icon",
462
- "iconAlt",
463
- "iconType"
464
- ]
465
- },
466
- "title": "customPlugins"
467
- },
468
- "blockquote": {
469
- "title": "EditableHtmlButtonConfigure",
470
- "type": "object",
471
- "properties": {
472
- "disabled": {
473
- "description": "Indicates if the plugin is disabled or not",
474
- "type": "boolean",
475
- "title": "disabled"
476
- }
477
- }
478
- },
479
- "h3": {
480
- "title": "EditableHtmlButtonConfigure",
481
- "type": "object",
482
- "properties": {
483
- "disabled": {
484
- "description": "Indicates if the plugin is disabled or not",
485
- "type": "boolean",
486
- "title": "disabled"
487
- }
488
- }
489
- },
490
- "characters": {
491
- "title": "EditableHtmlButtonConfigure",
492
- "type": "object",
493
- "properties": {
494
- "disabled": {
495
- "description": "Indicates if the plugin is disabled or not",
496
- "type": "boolean",
497
- "title": "disabled"
498
- }
499
- }
500
- },
501
- "bold": {
502
- "title": "EditableHtmlButtonConfigure",
503
- "type": "object",
504
- "properties": {
505
- "disabled": {
506
- "description": "Indicates if the plugin is disabled or not",
507
- "type": "boolean",
508
- "title": "disabled"
509
- }
510
- }
511
- },
512
- "html": {
513
- "title": "EditableHtmlButtonConfigure",
514
- "type": "object",
515
- "properties": {
516
- "disabled": {
517
- "description": "Indicates if the plugin is disabled or not",
518
- "type": "boolean",
519
- "title": "disabled"
520
- }
521
- }
522
- },
523
- "italic": {
524
- "title": "EditableHtmlButtonConfigure",
525
- "type": "object",
526
- "properties": {
527
- "disabled": {
528
- "description": "Indicates if the plugin is disabled or not",
529
- "type": "boolean",
530
- "title": "disabled"
531
- }
532
- }
533
- },
534
- "ol_list": {
535
- "title": "EditableHtmlButtonConfigure",
536
- "type": "object",
537
- "properties": {
538
- "disabled": {
539
- "description": "Indicates if the plugin is disabled or not",
540
- "type": "boolean",
541
- "title": "disabled"
542
- }
543
- }
544
- },
545
- "redo": {
546
- "title": "EditableHtmlButtonConfigure",
547
- "type": "object",
548
- "properties": {
549
- "disabled": {
550
- "description": "Indicates if the plugin is disabled or not",
551
- "type": "boolean",
552
- "title": "disabled"
553
- }
554
- }
555
- },
556
- "strikethrough": {
557
- "title": "EditableHtmlButtonConfigure",
558
- "type": "object",
559
- "properties": {
560
- "disabled": {
561
- "description": "Indicates if the plugin is disabled or not",
562
- "type": "boolean",
563
- "title": "disabled"
564
- }
565
- }
566
- },
567
- "sub": {
568
- "title": "EditableHtmlButtonConfigure",
569
- "type": "object",
570
- "properties": {
571
- "disabled": {
572
- "description": "Indicates if the plugin is disabled or not",
573
- "type": "boolean",
574
- "title": "disabled"
575
- }
576
- }
577
- },
578
- "sup": {
579
- "title": "EditableHtmlButtonConfigure",
580
- "type": "object",
581
- "properties": {
582
- "disabled": {
583
- "description": "Indicates if the plugin is disabled or not",
584
- "type": "boolean",
585
- "title": "disabled"
586
- }
587
- }
588
- },
589
- "table": {
590
- "title": "EditableHtmlButtonConfigure",
591
- "type": "object",
592
- "properties": {
593
- "disabled": {
594
- "description": "Indicates if the plugin is disabled or not",
595
- "type": "boolean",
596
- "title": "disabled"
597
- }
598
- }
599
- },
600
- "ul_list": {
601
- "title": "EditableHtmlButtonConfigure",
602
- "type": "object",
603
- "properties": {
604
- "disabled": {
605
- "description": "Indicates if the plugin is disabled or not",
606
- "type": "boolean",
607
- "title": "disabled"
608
- }
609
- }
610
- },
611
- "underline": {
612
- "title": "EditableHtmlButtonConfigure",
613
- "type": "object",
614
- "properties": {
615
- "disabled": {
616
- "description": "Indicates if the plugin is disabled or not",
617
- "type": "boolean",
618
- "title": "disabled"
619
- }
620
- }
621
- },
622
- "undo": {
623
- "title": "EditableHtmlButtonConfigure",
624
- "type": "object",
625
- "properties": {
626
- "disabled": {
627
- "description": "Indicates if the plugin is disabled or not",
628
- "type": "boolean",
629
- "title": "disabled"
630
- }
631
- }
632
- }
633
- }
634
- },
635
- "EditableHtmlButtonConfigure": {
636
- "title": "EditableHtmlButtonConfigure",
637
- "type": "object",
638
- "properties": {
639
- "disabled": {
640
- "description": "Indicates if the plugin is disabled or not",
641
- "type": "boolean",
642
- "title": "disabled"
643
- }
644
- }
645
- },
646
- "CustomPlugin": {
647
- "title": "CustomPlugin",
648
- "type": "object",
649
- "properties": {
650
- "event": {
651
- "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\"",
652
- "type": "string",
653
- "title": "event"
654
- },
655
- "iconAlt": {
656
- "description": "The alt for the custom button icon",
657
- "type": "string",
658
- "title": "iconAlt"
659
- },
660
- "iconType": {
661
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
662
- "type": "string",
663
- "title": "iconType"
664
- },
665
- "icon": {
666
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
667
- "type": "string",
668
- "title": "icon"
669
- }
670
- },
671
- "required": [
672
- "event",
673
- "icon",
674
- "iconAlt",
675
- "iconType"
676
- ]
677
- },
678
- "ConfigureProp": {
679
- "title": "ConfigureProp",
680
- "type": "object",
681
- "properties": {
682
- "settings": {
683
- "description": "Indicates if the item has to be displayed in the Settings Panel",
684
- "type": "boolean",
685
- "title": "settings"
686
- },
687
- "label": {
688
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
689
- "type": "string",
690
- "title": "label"
691
- }
692
- }
693
- },
694
- "ConfigureMathMLProp": {
695
- "title": "ConfigureMathMLProp",
696
- "type": "object",
697
- "properties": {
698
- "mmlOutput": {
699
- "description": "Indicates if model should have mathML output instead of latex",
700
- "type": "number",
701
- "title": "mmlOutput"
702
- },
703
- "mmlEditing": {
704
- "description": "Indicates if mathML that's already in model should be editable",
705
- "type": "number",
706
- "title": "mmlEditing"
707
- }
708
- }
709
- }
710
- },
711
- "$schema": "http://json-schema.org/draft-07/schema#"
712
- }