@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,1628 +0,0 @@
1
- {
2
- "description": "Config Object for @pie-elements/multi-trait-rubric",
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
- "expandedInput": {
259
- "title": "EditableHtmlPluginConfigure",
260
- "type": "object",
261
- "properties": {
262
- "inputConfiguration": {
263
- "title": "EditableHtmlConfigureProp",
264
- "type": "object",
265
- "properties": {
266
- "math": {
267
- "title": "EditableHtmlButtonConfigure",
268
- "type": "object",
269
- "properties": {
270
- "disabled": {
271
- "description": "Indicates if the plugin is disabled or not",
272
- "type": "boolean",
273
- "title": "disabled"
274
- }
275
- }
276
- },
277
- "audio": {
278
- "title": "EditableHtmlButtonConfigure",
279
- "type": "object",
280
- "properties": {
281
- "disabled": {
282
- "description": "Indicates if the plugin is disabled or not",
283
- "type": "boolean",
284
- "title": "disabled"
285
- }
286
- }
287
- },
288
- "video": {
289
- "title": "EditableHtmlButtonConfigure",
290
- "type": "object",
291
- "properties": {
292
- "disabled": {
293
- "description": "Indicates if the plugin is disabled or not",
294
- "type": "boolean",
295
- "title": "disabled"
296
- }
297
- }
298
- },
299
- "image": {
300
- "title": "EditableHtmlButtonConfigure",
301
- "type": "object",
302
- "properties": {
303
- "disabled": {
304
- "description": "Indicates if the plugin is disabled or not",
305
- "type": "boolean",
306
- "title": "disabled"
307
- }
308
- }
309
- },
310
- "customPlugins": {
311
- "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
312
- "type": "array",
313
- "items": {
314
- "title": "CustomPlugin",
315
- "type": "object",
316
- "properties": {
317
- "event": {
318
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
319
- "type": "string",
320
- "title": "event"
321
- },
322
- "iconAlt": {
323
- "description": "The alt for the custom button icon",
324
- "type": "string",
325
- "title": "iconAlt"
326
- },
327
- "iconType": {
328
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
329
- "type": "string",
330
- "title": "iconType"
331
- },
332
- "icon": {
333
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
334
- "type": "string",
335
- "title": "icon"
336
- }
337
- },
338
- "required": [
339
- "event",
340
- "icon",
341
- "iconAlt",
342
- "iconType"
343
- ]
344
- },
345
- "title": "customPlugins"
346
- },
347
- "blockquote": {
348
- "title": "EditableHtmlButtonConfigure",
349
- "type": "object",
350
- "properties": {
351
- "disabled": {
352
- "description": "Indicates if the plugin is disabled or not",
353
- "type": "boolean",
354
- "title": "disabled"
355
- }
356
- }
357
- },
358
- "h3": {
359
- "title": "EditableHtmlButtonConfigure",
360
- "type": "object",
361
- "properties": {
362
- "disabled": {
363
- "description": "Indicates if the plugin is disabled or not",
364
- "type": "boolean",
365
- "title": "disabled"
366
- }
367
- }
368
- },
369
- "characters": {
370
- "title": "EditableHtmlButtonConfigure",
371
- "type": "object",
372
- "properties": {
373
- "disabled": {
374
- "description": "Indicates if the plugin is disabled or not",
375
- "type": "boolean",
376
- "title": "disabled"
377
- }
378
- }
379
- },
380
- "bold": {
381
- "title": "EditableHtmlButtonConfigure",
382
- "type": "object",
383
- "properties": {
384
- "disabled": {
385
- "description": "Indicates if the plugin is disabled or not",
386
- "type": "boolean",
387
- "title": "disabled"
388
- }
389
- }
390
- },
391
- "html": {
392
- "title": "EditableHtmlButtonConfigure",
393
- "type": "object",
394
- "properties": {
395
- "disabled": {
396
- "description": "Indicates if the plugin is disabled or not",
397
- "type": "boolean",
398
- "title": "disabled"
399
- }
400
- }
401
- },
402
- "italic": {
403
- "title": "EditableHtmlButtonConfigure",
404
- "type": "object",
405
- "properties": {
406
- "disabled": {
407
- "description": "Indicates if the plugin is disabled or not",
408
- "type": "boolean",
409
- "title": "disabled"
410
- }
411
- }
412
- },
413
- "ol_list": {
414
- "title": "EditableHtmlButtonConfigure",
415
- "type": "object",
416
- "properties": {
417
- "disabled": {
418
- "description": "Indicates if the plugin is disabled or not",
419
- "type": "boolean",
420
- "title": "disabled"
421
- }
422
- }
423
- },
424
- "redo": {
425
- "title": "EditableHtmlButtonConfigure",
426
- "type": "object",
427
- "properties": {
428
- "disabled": {
429
- "description": "Indicates if the plugin is disabled or not",
430
- "type": "boolean",
431
- "title": "disabled"
432
- }
433
- }
434
- },
435
- "strikethrough": {
436
- "title": "EditableHtmlButtonConfigure",
437
- "type": "object",
438
- "properties": {
439
- "disabled": {
440
- "description": "Indicates if the plugin is disabled or not",
441
- "type": "boolean",
442
- "title": "disabled"
443
- }
444
- }
445
- },
446
- "sub": {
447
- "title": "EditableHtmlButtonConfigure",
448
- "type": "object",
449
- "properties": {
450
- "disabled": {
451
- "description": "Indicates if the plugin is disabled or not",
452
- "type": "boolean",
453
- "title": "disabled"
454
- }
455
- }
456
- },
457
- "sup": {
458
- "title": "EditableHtmlButtonConfigure",
459
- "type": "object",
460
- "properties": {
461
- "disabled": {
462
- "description": "Indicates if the plugin is disabled or not",
463
- "type": "boolean",
464
- "title": "disabled"
465
- }
466
- }
467
- },
468
- "table": {
469
- "title": "EditableHtmlButtonConfigure",
470
- "type": "object",
471
- "properties": {
472
- "disabled": {
473
- "description": "Indicates if the plugin is disabled or not",
474
- "type": "boolean",
475
- "title": "disabled"
476
- }
477
- }
478
- },
479
- "ul_list": {
480
- "title": "EditableHtmlButtonConfigure",
481
- "type": "object",
482
- "properties": {
483
- "disabled": {
484
- "description": "Indicates if the plugin is disabled or not",
485
- "type": "boolean",
486
- "title": "disabled"
487
- }
488
- }
489
- },
490
- "underline": {
491
- "title": "EditableHtmlButtonConfigure",
492
- "type": "object",
493
- "properties": {
494
- "disabled": {
495
- "description": "Indicates if the plugin is disabled or not",
496
- "type": "boolean",
497
- "title": "disabled"
498
- }
499
- }
500
- },
501
- "undo": {
502
- "title": "EditableHtmlButtonConfigure",
503
- "type": "object",
504
- "properties": {
505
- "disabled": {
506
- "description": "Indicates if the plugin is disabled or not",
507
- "type": "boolean",
508
- "title": "disabled"
509
- }
510
- }
511
- }
512
- }
513
- },
514
- "settings": {
515
- "description": "Indicates if the item has to be displayed in the Settings Panel",
516
- "type": "boolean",
517
- "title": "settings"
518
- },
519
- "label": {
520
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
521
- "type": "string",
522
- "title": "label"
523
- }
524
- }
525
- },
526
- "labelInput": {
527
- "title": "EditableHtmlPluginConfigure",
528
- "type": "object",
529
- "properties": {
530
- "inputConfiguration": {
531
- "title": "EditableHtmlConfigureProp",
532
- "type": "object",
533
- "properties": {
534
- "math": {
535
- "title": "EditableHtmlButtonConfigure",
536
- "type": "object",
537
- "properties": {
538
- "disabled": {
539
- "description": "Indicates if the plugin is disabled or not",
540
- "type": "boolean",
541
- "title": "disabled"
542
- }
543
- }
544
- },
545
- "audio": {
546
- "title": "EditableHtmlButtonConfigure",
547
- "type": "object",
548
- "properties": {
549
- "disabled": {
550
- "description": "Indicates if the plugin is disabled or not",
551
- "type": "boolean",
552
- "title": "disabled"
553
- }
554
- }
555
- },
556
- "video": {
557
- "title": "EditableHtmlButtonConfigure",
558
- "type": "object",
559
- "properties": {
560
- "disabled": {
561
- "description": "Indicates if the plugin is disabled or not",
562
- "type": "boolean",
563
- "title": "disabled"
564
- }
565
- }
566
- },
567
- "image": {
568
- "title": "EditableHtmlButtonConfigure",
569
- "type": "object",
570
- "properties": {
571
- "disabled": {
572
- "description": "Indicates if the plugin is disabled or not",
573
- "type": "boolean",
574
- "title": "disabled"
575
- }
576
- }
577
- },
578
- "customPlugins": {
579
- "description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
580
- "type": "array",
581
- "items": {
582
- "title": "CustomPlugin",
583
- "type": "object",
584
- "properties": {
585
- "event": {
586
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
587
- "type": "string",
588
- "title": "event"
589
- },
590
- "iconAlt": {
591
- "description": "The alt for the custom button icon",
592
- "type": "string",
593
- "title": "iconAlt"
594
- },
595
- "iconType": {
596
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
597
- "type": "string",
598
- "title": "iconType"
599
- },
600
- "icon": {
601
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
602
- "type": "string",
603
- "title": "icon"
604
- }
605
- },
606
- "required": [
607
- "event",
608
- "icon",
609
- "iconAlt",
610
- "iconType"
611
- ]
612
- },
613
- "title": "customPlugins"
614
- },
615
- "blockquote": {
616
- "title": "EditableHtmlButtonConfigure",
617
- "type": "object",
618
- "properties": {
619
- "disabled": {
620
- "description": "Indicates if the plugin is disabled or not",
621
- "type": "boolean",
622
- "title": "disabled"
623
- }
624
- }
625
- },
626
- "h3": {
627
- "title": "EditableHtmlButtonConfigure",
628
- "type": "object",
629
- "properties": {
630
- "disabled": {
631
- "description": "Indicates if the plugin is disabled or not",
632
- "type": "boolean",
633
- "title": "disabled"
634
- }
635
- }
636
- },
637
- "characters": {
638
- "title": "EditableHtmlButtonConfigure",
639
- "type": "object",
640
- "properties": {
641
- "disabled": {
642
- "description": "Indicates if the plugin is disabled or not",
643
- "type": "boolean",
644
- "title": "disabled"
645
- }
646
- }
647
- },
648
- "bold": {
649
- "title": "EditableHtmlButtonConfigure",
650
- "type": "object",
651
- "properties": {
652
- "disabled": {
653
- "description": "Indicates if the plugin is disabled or not",
654
- "type": "boolean",
655
- "title": "disabled"
656
- }
657
- }
658
- },
659
- "html": {
660
- "title": "EditableHtmlButtonConfigure",
661
- "type": "object",
662
- "properties": {
663
- "disabled": {
664
- "description": "Indicates if the plugin is disabled or not",
665
- "type": "boolean",
666
- "title": "disabled"
667
- }
668
- }
669
- },
670
- "italic": {
671
- "title": "EditableHtmlButtonConfigure",
672
- "type": "object",
673
- "properties": {
674
- "disabled": {
675
- "description": "Indicates if the plugin is disabled or not",
676
- "type": "boolean",
677
- "title": "disabled"
678
- }
679
- }
680
- },
681
- "ol_list": {
682
- "title": "EditableHtmlButtonConfigure",
683
- "type": "object",
684
- "properties": {
685
- "disabled": {
686
- "description": "Indicates if the plugin is disabled or not",
687
- "type": "boolean",
688
- "title": "disabled"
689
- }
690
- }
691
- },
692
- "redo": {
693
- "title": "EditableHtmlButtonConfigure",
694
- "type": "object",
695
- "properties": {
696
- "disabled": {
697
- "description": "Indicates if the plugin is disabled or not",
698
- "type": "boolean",
699
- "title": "disabled"
700
- }
701
- }
702
- },
703
- "strikethrough": {
704
- "title": "EditableHtmlButtonConfigure",
705
- "type": "object",
706
- "properties": {
707
- "disabled": {
708
- "description": "Indicates if the plugin is disabled or not",
709
- "type": "boolean",
710
- "title": "disabled"
711
- }
712
- }
713
- },
714
- "sub": {
715
- "title": "EditableHtmlButtonConfigure",
716
- "type": "object",
717
- "properties": {
718
- "disabled": {
719
- "description": "Indicates if the plugin is disabled or not",
720
- "type": "boolean",
721
- "title": "disabled"
722
- }
723
- }
724
- },
725
- "sup": {
726
- "title": "EditableHtmlButtonConfigure",
727
- "type": "object",
728
- "properties": {
729
- "disabled": {
730
- "description": "Indicates if the plugin is disabled or not",
731
- "type": "boolean",
732
- "title": "disabled"
733
- }
734
- }
735
- },
736
- "table": {
737
- "title": "EditableHtmlButtonConfigure",
738
- "type": "object",
739
- "properties": {
740
- "disabled": {
741
- "description": "Indicates if the plugin is disabled or not",
742
- "type": "boolean",
743
- "title": "disabled"
744
- }
745
- }
746
- },
747
- "ul_list": {
748
- "title": "EditableHtmlButtonConfigure",
749
- "type": "object",
750
- "properties": {
751
- "disabled": {
752
- "description": "Indicates if the plugin is disabled or not",
753
- "type": "boolean",
754
- "title": "disabled"
755
- }
756
- }
757
- },
758
- "underline": {
759
- "title": "EditableHtmlButtonConfigure",
760
- "type": "object",
761
- "properties": {
762
- "disabled": {
763
- "description": "Indicates if the plugin is disabled or not",
764
- "type": "boolean",
765
- "title": "disabled"
766
- }
767
- }
768
- },
769
- "undo": {
770
- "title": "EditableHtmlButtonConfigure",
771
- "type": "object",
772
- "properties": {
773
- "disabled": {
774
- "description": "Indicates if the plugin is disabled or not",
775
- "type": "boolean",
776
- "title": "disabled"
777
- }
778
- }
779
- }
780
- }
781
- },
782
- "settings": {
783
- "description": "Indicates if the item has to be displayed in the Settings Panel",
784
- "type": "boolean",
785
- "title": "settings"
786
- },
787
- "label": {
788
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
789
- "type": "string",
790
- "title": "label"
791
- }
792
- }
793
- },
794
- "excludeZeroDialogBoxContent": {
795
- "title": "DialogContent",
796
- "type": "object",
797
- "properties": {
798
- "title": {
799
- "description": "Dialog box title",
800
- "type": "string",
801
- "title": "title"
802
- },
803
- "text": {
804
- "description": "Dialog box text",
805
- "type": "string",
806
- "title": "text"
807
- }
808
- }
809
- },
810
- "includeZeroDialogBoxContent": {
811
- "title": "DialogContent",
812
- "type": "object",
813
- "properties": {
814
- "title": {
815
- "description": "Dialog box title",
816
- "type": "string",
817
- "title": "title"
818
- },
819
- "text": {
820
- "description": "Dialog box text",
821
- "type": "string",
822
- "title": "text"
823
- }
824
- }
825
- },
826
- "deleteScaleDialogBoxContent": {
827
- "title": "DialogContent",
828
- "type": "object",
829
- "properties": {
830
- "title": {
831
- "description": "Dialog box title",
832
- "type": "string",
833
- "title": "title"
834
- },
835
- "text": {
836
- "description": "Dialog box text",
837
- "type": "string",
838
- "title": "text"
839
- }
840
- }
841
- },
842
- "maxPointsDialogBoxContent": {
843
- "title": "DialogContent",
844
- "type": "object",
845
- "properties": {
846
- "title": {
847
- "description": "Dialog box title",
848
- "type": "string",
849
- "title": "title"
850
- },
851
- "text": {
852
- "description": "Dialog box text",
853
- "type": "string",
854
- "title": "text"
855
- }
856
- }
857
- },
858
- "settingsPanelDisabled": {
859
- "description": "Indicates if the settings panel is not available",
860
- "type": "boolean",
861
- "title": "settingsPanelDisabled"
862
- },
863
- "showExcludeZero": {
864
- "title": "ConfigureProp",
865
- "type": "object",
866
- "properties": {
867
- "settings": {
868
- "description": "Indicates if the item has to be displayed in the Settings Panel",
869
- "type": "boolean",
870
- "title": "settings"
871
- },
872
- "label": {
873
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
874
- "type": "string",
875
- "title": "label"
876
- }
877
- }
878
- },
879
- "showScorePointLabels": {
880
- "title": "ConfigureProp",
881
- "type": "object",
882
- "properties": {
883
- "settings": {
884
- "description": "Indicates if the item has to be displayed in the Settings Panel",
885
- "type": "boolean",
886
- "title": "settings"
887
- },
888
- "label": {
889
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
890
- "type": "string",
891
- "title": "label"
892
- }
893
- }
894
- },
895
- "showDescription": {
896
- "title": "ConfigureProp",
897
- "type": "object",
898
- "properties": {
899
- "settings": {
900
- "description": "Indicates if the item has to be displayed in the Settings Panel",
901
- "type": "boolean",
902
- "title": "settings"
903
- },
904
- "label": {
905
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
906
- "type": "string",
907
- "title": "label"
908
- }
909
- }
910
- },
911
- "showVisibleToStudent": {
912
- "title": "ConfigureProp",
913
- "type": "object",
914
- "properties": {
915
- "settings": {
916
- "description": "Indicates if the item has to be displayed in the Settings Panel",
917
- "type": "boolean",
918
- "title": "settings"
919
- },
920
- "label": {
921
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
922
- "type": "string",
923
- "title": "label"
924
- }
925
- }
926
- },
927
- "showHalfScoring": {
928
- "title": "ConfigureProp",
929
- "type": "object",
930
- "properties": {
931
- "settings": {
932
- "description": "Indicates if the item has to be displayed in the Settings Panel",
933
- "type": "boolean",
934
- "title": "settings"
935
- },
936
- "label": {
937
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
938
- "type": "string",
939
- "title": "label"
940
- }
941
- }
942
- },
943
- "spellCheck": {
944
- "title": "ConfigureProp",
945
- "type": "object",
946
- "properties": {
947
- "settings": {
948
- "description": "Indicates if the item has to be displayed in the Settings Panel",
949
- "type": "boolean",
950
- "title": "settings"
951
- },
952
- "label": {
953
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
954
- "type": "string",
955
- "title": "label"
956
- }
957
- }
958
- },
959
- "width": {
960
- "description": "How large (in px) should multi-trait-rubric be",
961
- "type": "string",
962
- "title": "width"
963
- },
964
- "minNoOfTraits": {
965
- "description": "Minimum number of traits",
966
- "type": "number",
967
- "title": "minNoOfTraits"
968
- },
969
- "maxNoOfTraits": {
970
- "description": "Maximum number of traits",
971
- "type": "number",
972
- "title": "maxNoOfTraits"
973
- },
974
- "minNoOfScales": {
975
- "description": "Minimum number of scales",
976
- "type": "number",
977
- "title": "minNoOfScales"
978
- },
979
- "maxNoOfScales": {
980
- "description": "Maximum number of scales",
981
- "type": "number",
982
- "title": "maxNoOfScales"
983
- },
984
- "defaultTraitLabel": {
985
- "description": "The default trait label for new created scales.\nIf it's not defined, it will default to the label of the first trait.",
986
- "type": "string",
987
- "title": "defaultTraitLabel"
988
- },
989
- "mathMlOptions": {
990
- "title": "ConfigureMathMLProp",
991
- "type": "object",
992
- "properties": {
993
- "mmlOutput": {
994
- "description": "Indicates if model should have mathML output instead of latex",
995
- "type": "number",
996
- "title": "mmlOutput"
997
- },
998
- "mmlEditing": {
999
- "description": "Indicates if mathML that's already in model should be editable",
1000
- "type": "number",
1001
- "title": "mmlEditing"
1002
- }
1003
- }
1004
- },
1005
- "maxMaxPoints": {
1006
- "description": "Indicates the max limit for scoring points",
1007
- "type": "number",
1008
- "title": "maxMaxPoints"
1009
- }
1010
- },
1011
- "required": [
1012
- "width"
1013
- ],
1014
- "definitions": {
1015
- "EditableHtmlConfigureProp": {
1016
- "title": "EditableHtmlConfigureProp",
1017
- "type": "object",
1018
- "properties": {
1019
- "math": {
1020
- "title": "EditableHtmlButtonConfigure",
1021
- "type": "object",
1022
- "properties": {
1023
- "disabled": {
1024
- "description": "Indicates if the plugin is disabled or not",
1025
- "type": "boolean",
1026
- "title": "disabled"
1027
- }
1028
- }
1029
- },
1030
- "audio": {
1031
- "title": "EditableHtmlButtonConfigure",
1032
- "type": "object",
1033
- "properties": {
1034
- "disabled": {
1035
- "description": "Indicates if the plugin is disabled or not",
1036
- "type": "boolean",
1037
- "title": "disabled"
1038
- }
1039
- }
1040
- },
1041
- "video": {
1042
- "title": "EditableHtmlButtonConfigure",
1043
- "type": "object",
1044
- "properties": {
1045
- "disabled": {
1046
- "description": "Indicates if the plugin is disabled or not",
1047
- "type": "boolean",
1048
- "title": "disabled"
1049
- }
1050
- }
1051
- },
1052
- "image": {
1053
- "title": "EditableHtmlButtonConfigure",
1054
- "type": "object",
1055
- "properties": {
1056
- "disabled": {
1057
- "description": "Indicates if the plugin is disabled or not",
1058
- "type": "boolean",
1059
- "title": "disabled"
1060
- }
1061
- }
1062
- },
1063
- "customPlugins": {
1064
- "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.",
1065
- "type": "array",
1066
- "items": {
1067
- "title": "CustomPlugin",
1068
- "type": "object",
1069
- "properties": {
1070
- "event": {
1071
- "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\"",
1072
- "type": "string",
1073
- "title": "event"
1074
- },
1075
- "iconAlt": {
1076
- "description": "The alt for the custom button icon",
1077
- "type": "string",
1078
- "title": "iconAlt"
1079
- },
1080
- "iconType": {
1081
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1082
- "type": "string",
1083
- "title": "iconType"
1084
- },
1085
- "icon": {
1086
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1087
- "type": "string",
1088
- "title": "icon"
1089
- }
1090
- },
1091
- "required": [
1092
- "event",
1093
- "icon",
1094
- "iconAlt",
1095
- "iconType"
1096
- ]
1097
- },
1098
- "title": "customPlugins"
1099
- },
1100
- "blockquote": {
1101
- "title": "EditableHtmlButtonConfigure",
1102
- "type": "object",
1103
- "properties": {
1104
- "disabled": {
1105
- "description": "Indicates if the plugin is disabled or not",
1106
- "type": "boolean",
1107
- "title": "disabled"
1108
- }
1109
- }
1110
- },
1111
- "h3": {
1112
- "title": "EditableHtmlButtonConfigure",
1113
- "type": "object",
1114
- "properties": {
1115
- "disabled": {
1116
- "description": "Indicates if the plugin is disabled or not",
1117
- "type": "boolean",
1118
- "title": "disabled"
1119
- }
1120
- }
1121
- },
1122
- "characters": {
1123
- "title": "EditableHtmlButtonConfigure",
1124
- "type": "object",
1125
- "properties": {
1126
- "disabled": {
1127
- "description": "Indicates if the plugin is disabled or not",
1128
- "type": "boolean",
1129
- "title": "disabled"
1130
- }
1131
- }
1132
- },
1133
- "bold": {
1134
- "title": "EditableHtmlButtonConfigure",
1135
- "type": "object",
1136
- "properties": {
1137
- "disabled": {
1138
- "description": "Indicates if the plugin is disabled or not",
1139
- "type": "boolean",
1140
- "title": "disabled"
1141
- }
1142
- }
1143
- },
1144
- "html": {
1145
- "title": "EditableHtmlButtonConfigure",
1146
- "type": "object",
1147
- "properties": {
1148
- "disabled": {
1149
- "description": "Indicates if the plugin is disabled or not",
1150
- "type": "boolean",
1151
- "title": "disabled"
1152
- }
1153
- }
1154
- },
1155
- "italic": {
1156
- "title": "EditableHtmlButtonConfigure",
1157
- "type": "object",
1158
- "properties": {
1159
- "disabled": {
1160
- "description": "Indicates if the plugin is disabled or not",
1161
- "type": "boolean",
1162
- "title": "disabled"
1163
- }
1164
- }
1165
- },
1166
- "ol_list": {
1167
- "title": "EditableHtmlButtonConfigure",
1168
- "type": "object",
1169
- "properties": {
1170
- "disabled": {
1171
- "description": "Indicates if the plugin is disabled or not",
1172
- "type": "boolean",
1173
- "title": "disabled"
1174
- }
1175
- }
1176
- },
1177
- "redo": {
1178
- "title": "EditableHtmlButtonConfigure",
1179
- "type": "object",
1180
- "properties": {
1181
- "disabled": {
1182
- "description": "Indicates if the plugin is disabled or not",
1183
- "type": "boolean",
1184
- "title": "disabled"
1185
- }
1186
- }
1187
- },
1188
- "strikethrough": {
1189
- "title": "EditableHtmlButtonConfigure",
1190
- "type": "object",
1191
- "properties": {
1192
- "disabled": {
1193
- "description": "Indicates if the plugin is disabled or not",
1194
- "type": "boolean",
1195
- "title": "disabled"
1196
- }
1197
- }
1198
- },
1199
- "sub": {
1200
- "title": "EditableHtmlButtonConfigure",
1201
- "type": "object",
1202
- "properties": {
1203
- "disabled": {
1204
- "description": "Indicates if the plugin is disabled or not",
1205
- "type": "boolean",
1206
- "title": "disabled"
1207
- }
1208
- }
1209
- },
1210
- "sup": {
1211
- "title": "EditableHtmlButtonConfigure",
1212
- "type": "object",
1213
- "properties": {
1214
- "disabled": {
1215
- "description": "Indicates if the plugin is disabled or not",
1216
- "type": "boolean",
1217
- "title": "disabled"
1218
- }
1219
- }
1220
- },
1221
- "table": {
1222
- "title": "EditableHtmlButtonConfigure",
1223
- "type": "object",
1224
- "properties": {
1225
- "disabled": {
1226
- "description": "Indicates if the plugin is disabled or not",
1227
- "type": "boolean",
1228
- "title": "disabled"
1229
- }
1230
- }
1231
- },
1232
- "ul_list": {
1233
- "title": "EditableHtmlButtonConfigure",
1234
- "type": "object",
1235
- "properties": {
1236
- "disabled": {
1237
- "description": "Indicates if the plugin is disabled or not",
1238
- "type": "boolean",
1239
- "title": "disabled"
1240
- }
1241
- }
1242
- },
1243
- "underline": {
1244
- "title": "EditableHtmlButtonConfigure",
1245
- "type": "object",
1246
- "properties": {
1247
- "disabled": {
1248
- "description": "Indicates if the plugin is disabled or not",
1249
- "type": "boolean",
1250
- "title": "disabled"
1251
- }
1252
- }
1253
- },
1254
- "undo": {
1255
- "title": "EditableHtmlButtonConfigure",
1256
- "type": "object",
1257
- "properties": {
1258
- "disabled": {
1259
- "description": "Indicates if the plugin is disabled or not",
1260
- "type": "boolean",
1261
- "title": "disabled"
1262
- }
1263
- }
1264
- }
1265
- }
1266
- },
1267
- "EditableHtmlButtonConfigure": {
1268
- "title": "EditableHtmlButtonConfigure",
1269
- "type": "object",
1270
- "properties": {
1271
- "disabled": {
1272
- "description": "Indicates if the plugin is disabled or not",
1273
- "type": "boolean",
1274
- "title": "disabled"
1275
- }
1276
- }
1277
- },
1278
- "CustomPlugin": {
1279
- "title": "CustomPlugin",
1280
- "type": "object",
1281
- "properties": {
1282
- "event": {
1283
- "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\"",
1284
- "type": "string",
1285
- "title": "event"
1286
- },
1287
- "iconAlt": {
1288
- "description": "The alt for the custom button icon",
1289
- "type": "string",
1290
- "title": "iconAlt"
1291
- },
1292
- "iconType": {
1293
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1294
- "type": "string",
1295
- "title": "iconType"
1296
- },
1297
- "icon": {
1298
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1299
- "type": "string",
1300
- "title": "icon"
1301
- }
1302
- },
1303
- "required": [
1304
- "event",
1305
- "icon",
1306
- "iconAlt",
1307
- "iconType"
1308
- ]
1309
- },
1310
- "EditableHtmlPluginConfigure": {
1311
- "title": "EditableHtmlPluginConfigure",
1312
- "type": "object",
1313
- "properties": {
1314
- "inputConfiguration": {
1315
- "title": "EditableHtmlConfigureProp",
1316
- "type": "object",
1317
- "properties": {
1318
- "math": {
1319
- "title": "EditableHtmlButtonConfigure",
1320
- "type": "object",
1321
- "properties": {
1322
- "disabled": {
1323
- "description": "Indicates if the plugin is disabled or not",
1324
- "type": "boolean",
1325
- "title": "disabled"
1326
- }
1327
- }
1328
- },
1329
- "audio": {
1330
- "title": "EditableHtmlButtonConfigure",
1331
- "type": "object",
1332
- "properties": {
1333
- "disabled": {
1334
- "description": "Indicates if the plugin is disabled or not",
1335
- "type": "boolean",
1336
- "title": "disabled"
1337
- }
1338
- }
1339
- },
1340
- "video": {
1341
- "title": "EditableHtmlButtonConfigure",
1342
- "type": "object",
1343
- "properties": {
1344
- "disabled": {
1345
- "description": "Indicates if the plugin is disabled or not",
1346
- "type": "boolean",
1347
- "title": "disabled"
1348
- }
1349
- }
1350
- },
1351
- "image": {
1352
- "title": "EditableHtmlButtonConfigure",
1353
- "type": "object",
1354
- "properties": {
1355
- "disabled": {
1356
- "description": "Indicates if the plugin is disabled or not",
1357
- "type": "boolean",
1358
- "title": "disabled"
1359
- }
1360
- }
1361
- },
1362
- "customPlugins": {
1363
- "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.",
1364
- "type": "array",
1365
- "items": {
1366
- "title": "CustomPlugin",
1367
- "type": "object",
1368
- "properties": {
1369
- "event": {
1370
- "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\"",
1371
- "type": "string",
1372
- "title": "event"
1373
- },
1374
- "iconAlt": {
1375
- "description": "The alt for the custom button icon",
1376
- "type": "string",
1377
- "title": "iconAlt"
1378
- },
1379
- "iconType": {
1380
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1381
- "type": "string",
1382
- "title": "iconType"
1383
- },
1384
- "icon": {
1385
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1386
- "type": "string",
1387
- "title": "icon"
1388
- }
1389
- },
1390
- "required": [
1391
- "event",
1392
- "icon",
1393
- "iconAlt",
1394
- "iconType"
1395
- ]
1396
- },
1397
- "title": "customPlugins"
1398
- },
1399
- "blockquote": {
1400
- "title": "EditableHtmlButtonConfigure",
1401
- "type": "object",
1402
- "properties": {
1403
- "disabled": {
1404
- "description": "Indicates if the plugin is disabled or not",
1405
- "type": "boolean",
1406
- "title": "disabled"
1407
- }
1408
- }
1409
- },
1410
- "h3": {
1411
- "title": "EditableHtmlButtonConfigure",
1412
- "type": "object",
1413
- "properties": {
1414
- "disabled": {
1415
- "description": "Indicates if the plugin is disabled or not",
1416
- "type": "boolean",
1417
- "title": "disabled"
1418
- }
1419
- }
1420
- },
1421
- "characters": {
1422
- "title": "EditableHtmlButtonConfigure",
1423
- "type": "object",
1424
- "properties": {
1425
- "disabled": {
1426
- "description": "Indicates if the plugin is disabled or not",
1427
- "type": "boolean",
1428
- "title": "disabled"
1429
- }
1430
- }
1431
- },
1432
- "bold": {
1433
- "title": "EditableHtmlButtonConfigure",
1434
- "type": "object",
1435
- "properties": {
1436
- "disabled": {
1437
- "description": "Indicates if the plugin is disabled or not",
1438
- "type": "boolean",
1439
- "title": "disabled"
1440
- }
1441
- }
1442
- },
1443
- "html": {
1444
- "title": "EditableHtmlButtonConfigure",
1445
- "type": "object",
1446
- "properties": {
1447
- "disabled": {
1448
- "description": "Indicates if the plugin is disabled or not",
1449
- "type": "boolean",
1450
- "title": "disabled"
1451
- }
1452
- }
1453
- },
1454
- "italic": {
1455
- "title": "EditableHtmlButtonConfigure",
1456
- "type": "object",
1457
- "properties": {
1458
- "disabled": {
1459
- "description": "Indicates if the plugin is disabled or not",
1460
- "type": "boolean",
1461
- "title": "disabled"
1462
- }
1463
- }
1464
- },
1465
- "ol_list": {
1466
- "title": "EditableHtmlButtonConfigure",
1467
- "type": "object",
1468
- "properties": {
1469
- "disabled": {
1470
- "description": "Indicates if the plugin is disabled or not",
1471
- "type": "boolean",
1472
- "title": "disabled"
1473
- }
1474
- }
1475
- },
1476
- "redo": {
1477
- "title": "EditableHtmlButtonConfigure",
1478
- "type": "object",
1479
- "properties": {
1480
- "disabled": {
1481
- "description": "Indicates if the plugin is disabled or not",
1482
- "type": "boolean",
1483
- "title": "disabled"
1484
- }
1485
- }
1486
- },
1487
- "strikethrough": {
1488
- "title": "EditableHtmlButtonConfigure",
1489
- "type": "object",
1490
- "properties": {
1491
- "disabled": {
1492
- "description": "Indicates if the plugin is disabled or not",
1493
- "type": "boolean",
1494
- "title": "disabled"
1495
- }
1496
- }
1497
- },
1498
- "sub": {
1499
- "title": "EditableHtmlButtonConfigure",
1500
- "type": "object",
1501
- "properties": {
1502
- "disabled": {
1503
- "description": "Indicates if the plugin is disabled or not",
1504
- "type": "boolean",
1505
- "title": "disabled"
1506
- }
1507
- }
1508
- },
1509
- "sup": {
1510
- "title": "EditableHtmlButtonConfigure",
1511
- "type": "object",
1512
- "properties": {
1513
- "disabled": {
1514
- "description": "Indicates if the plugin is disabled or not",
1515
- "type": "boolean",
1516
- "title": "disabled"
1517
- }
1518
- }
1519
- },
1520
- "table": {
1521
- "title": "EditableHtmlButtonConfigure",
1522
- "type": "object",
1523
- "properties": {
1524
- "disabled": {
1525
- "description": "Indicates if the plugin is disabled or not",
1526
- "type": "boolean",
1527
- "title": "disabled"
1528
- }
1529
- }
1530
- },
1531
- "ul_list": {
1532
- "title": "EditableHtmlButtonConfigure",
1533
- "type": "object",
1534
- "properties": {
1535
- "disabled": {
1536
- "description": "Indicates if the plugin is disabled or not",
1537
- "type": "boolean",
1538
- "title": "disabled"
1539
- }
1540
- }
1541
- },
1542
- "underline": {
1543
- "title": "EditableHtmlButtonConfigure",
1544
- "type": "object",
1545
- "properties": {
1546
- "disabled": {
1547
- "description": "Indicates if the plugin is disabled or not",
1548
- "type": "boolean",
1549
- "title": "disabled"
1550
- }
1551
- }
1552
- },
1553
- "undo": {
1554
- "title": "EditableHtmlButtonConfigure",
1555
- "type": "object",
1556
- "properties": {
1557
- "disabled": {
1558
- "description": "Indicates if the plugin is disabled or not",
1559
- "type": "boolean",
1560
- "title": "disabled"
1561
- }
1562
- }
1563
- }
1564
- }
1565
- },
1566
- "settings": {
1567
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1568
- "type": "boolean",
1569
- "title": "settings"
1570
- },
1571
- "label": {
1572
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1573
- "type": "string",
1574
- "title": "label"
1575
- }
1576
- }
1577
- },
1578
- "DialogContent": {
1579
- "title": "DialogContent",
1580
- "type": "object",
1581
- "properties": {
1582
- "title": {
1583
- "description": "Dialog box title",
1584
- "type": "string",
1585
- "title": "title"
1586
- },
1587
- "text": {
1588
- "description": "Dialog box text",
1589
- "type": "string",
1590
- "title": "text"
1591
- }
1592
- }
1593
- },
1594
- "ConfigureProp": {
1595
- "title": "ConfigureProp",
1596
- "type": "object",
1597
- "properties": {
1598
- "settings": {
1599
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1600
- "type": "boolean",
1601
- "title": "settings"
1602
- },
1603
- "label": {
1604
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1605
- "type": "string",
1606
- "title": "label"
1607
- }
1608
- }
1609
- },
1610
- "ConfigureMathMLProp": {
1611
- "title": "ConfigureMathMLProp",
1612
- "type": "object",
1613
- "properties": {
1614
- "mmlOutput": {
1615
- "description": "Indicates if model should have mathML output instead of latex",
1616
- "type": "number",
1617
- "title": "mmlOutput"
1618
- },
1619
- "mmlEditing": {
1620
- "description": "Indicates if mathML that's already in model should be editable",
1621
- "type": "number",
1622
- "title": "mmlEditing"
1623
- }
1624
- }
1625
- }
1626
- },
1627
- "$schema": "http://json-schema.org/draft-07/schema#"
1628
- }