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

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 (108) hide show
  1. package/CHANGELOG.md +0 -11
  2. package/configure/CHANGELOG.md +0 -11
  3. package/configure/package.json +6 -6
  4. package/configure/src/__tests__/index.test.js +15 -0
  5. package/configure/src/__tests__/main.test.jsx +7 -0
  6. package/package.json +5 -5
  7. package/configure/node_modules/@pie-element/multi-trait-rubric/CHANGELOG.json +0 -1
  8. package/configure/node_modules/@pie-element/multi-trait-rubric/CHANGELOG.md +0 -2491
  9. package/configure/node_modules/@pie-element/multi-trait-rubric/README.md +0 -55
  10. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/CHANGELOG.json +0 -1
  11. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/CHANGELOG.md +0 -2333
  12. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js +0 -429
  13. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/common.js.map +0 -1
  14. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js +0 -181
  15. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/defaults.js.map +0 -1
  16. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/index.js +0 -157
  17. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/index.js.map +0 -1
  18. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js +0 -455
  19. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/main.js.map +0 -1
  20. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js +0 -206
  21. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/modals.js.map +0 -1
  22. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js +0 -451
  23. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/scale.js.map +0 -1
  24. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js +0 -275
  25. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/trait.js.map +0 -1
  26. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js +0 -233
  27. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/traitsHeader.js.map +0 -1
  28. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js +0 -87
  29. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/lib/utils.js.map +0 -1
  30. package/configure/node_modules/@pie-element/multi-trait-rubric/configure/package.json +0 -24
  31. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/CHANGELOG.json +0 -1
  32. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/CHANGELOG.md +0 -1571
  33. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/defaults.js +0 -18
  34. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/defaults.js.map +0 -1
  35. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js +0 -158
  36. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/index.js.map +0 -1
  37. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/utils.js +0 -11
  38. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/lib/utils.js.map +0 -1
  39. package/configure/node_modules/@pie-element/multi-trait-rubric/controller/package.json +0 -14
  40. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json +0 -1628
  41. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/config-schema.json.md +0 -1202
  42. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/config.js +0 -8
  43. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/generate.js +0 -117
  44. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/index.html +0 -1
  45. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/demo/session.js +0 -6
  46. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/pie-schema.json +0 -861
  47. package/configure/node_modules/@pie-element/multi-trait-rubric/docs/pie-schema.json.md +0 -614
  48. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/index.js +0 -54
  49. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/index.js.map +0 -1
  50. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js +0 -123
  51. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/main.js.map +0 -1
  52. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js +0 -248
  53. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/scale.js.map +0 -1
  54. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js +0 -83
  55. package/configure/node_modules/@pie-element/multi-trait-rubric/lib/trait.js.map +0 -1
  56. package/configure/node_modules/@pie-element/multi-trait-rubric/package.json +0 -32
  57. package/configure/node_modules/@pie-element/rubric/CHANGELOG.json +0 -257
  58. package/configure/node_modules/@pie-element/rubric/CHANGELOG.md +0 -2774
  59. package/configure/node_modules/@pie-element/rubric/README.md +0 -3
  60. package/configure/node_modules/@pie-element/rubric/configure/CHANGELOG.json +0 -197
  61. package/configure/node_modules/@pie-element/rubric/configure/CHANGELOG.md +0 -2541
  62. package/configure/node_modules/@pie-element/rubric/configure/lib/defaults.js +0 -67
  63. package/configure/node_modules/@pie-element/rubric/configure/lib/defaults.js.map +0 -1
  64. package/configure/node_modules/@pie-element/rubric/configure/lib/index.js +0 -135
  65. package/configure/node_modules/@pie-element/rubric/configure/lib/index.js.map +0 -1
  66. package/configure/node_modules/@pie-element/rubric/configure/lib/main.js +0 -103
  67. package/configure/node_modules/@pie-element/rubric/configure/lib/main.js.map +0 -1
  68. package/configure/node_modules/@pie-element/rubric/configure/package.json +0 -24
  69. package/configure/node_modules/@pie-element/rubric/configure/src/__tests__/index.test.jsx +0 -178
  70. package/configure/node_modules/@pie-element/rubric/configure/src/defaults.js +0 -42
  71. package/configure/node_modules/@pie-element/rubric/configure/src/index.js +0 -139
  72. package/configure/node_modules/@pie-element/rubric/configure/src/main.jsx +0 -87
  73. package/configure/node_modules/@pie-element/rubric/controller/CHANGELOG.json +0 -17
  74. package/configure/node_modules/@pie-element/rubric/controller/CHANGELOG.md +0 -1564
  75. package/configure/node_modules/@pie-element/rubric/controller/lib/defaults.js +0 -15
  76. package/configure/node_modules/@pie-element/rubric/controller/lib/defaults.js.map +0 -1
  77. package/configure/node_modules/@pie-element/rubric/controller/lib/index.js +0 -46
  78. package/configure/node_modules/@pie-element/rubric/controller/lib/index.js.map +0 -1
  79. package/configure/node_modules/@pie-element/rubric/controller/package.json +0 -12
  80. package/configure/node_modules/@pie-element/rubric/controller/src/__tests__/index.test.js +0 -33
  81. package/configure/node_modules/@pie-element/rubric/controller/src/defaults.js +0 -8
  82. package/configure/node_modules/@pie-element/rubric/controller/src/index.js +0 -41
  83. package/configure/node_modules/@pie-element/rubric/docs/config-schema.json +0 -712
  84. package/configure/node_modules/@pie-element/rubric/docs/config-schema.json.md +0 -532
  85. package/configure/node_modules/@pie-element/rubric/docs/demo/config.js +0 -8
  86. package/configure/node_modules/@pie-element/rubric/docs/demo/generate.js +0 -8
  87. package/configure/node_modules/@pie-element/rubric/docs/demo/index.html +0 -2
  88. package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json +0 -391
  89. package/configure/node_modules/@pie-element/rubric/docs/pie-schema.json.md +0 -281
  90. package/configure/node_modules/@pie-element/rubric/lib/index.js +0 -52
  91. package/configure/node_modules/@pie-element/rubric/lib/index.js.map +0 -1
  92. package/configure/node_modules/@pie-element/rubric/lib/main.js +0 -210
  93. package/configure/node_modules/@pie-element/rubric/lib/main.js.map +0 -1
  94. package/configure/node_modules/@pie-element/rubric/lib/print.js +0 -71
  95. package/configure/node_modules/@pie-element/rubric/lib/print.js.map +0 -1
  96. package/configure/node_modules/@pie-element/rubric/package.json +0 -30
  97. package/configure/node_modules/@pie-element/rubric/src/__tests__/__snapshots__/rubric-view.test.jsx.snap +0 -2641
  98. package/configure/node_modules/@pie-element/rubric/src/__tests__/rubric-view.test.jsx +0 -49
  99. package/configure/node_modules/@pie-element/rubric/src/index.js +0 -48
  100. package/configure/node_modules/@pie-element/rubric/src/main.jsx +0 -226
  101. package/configure/node_modules/@pie-element/rubric/src/print.js +0 -74
  102. package/configure/node_modules/clsx/clsx.d.ts +0 -6
  103. package/configure/node_modules/clsx/dist/clsx.js +0 -1
  104. package/configure/node_modules/clsx/dist/clsx.m.js +0 -1
  105. package/configure/node_modules/clsx/dist/clsx.min.js +0 -1
  106. package/configure/node_modules/clsx/license +0 -9
  107. package/configure/node_modules/clsx/package.json +0 -37
  108. package/configure/node_modules/clsx/readme.md +0 -88
@@ -1,391 +0,0 @@
1
- {
2
- "description": "Model for the RubricPie Interaction",
3
- "additionalProperties": false,
4
- "type": "object",
5
- "properties": {
6
- "points": {
7
- "description": "Indicates the score points labels. Starting from 0 to max",
8
- "type": "array",
9
- "items": {
10
- "description": "Allows manipulation and formatting of text strings and determination and location of substrings within strings.",
11
- "type": "object",
12
- "additionalProperties": false,
13
- "patternProperties": {
14
- "^[0-9]+$": {
15
- "type": "string"
16
- }
17
- }
18
- },
19
- "title": "points"
20
- },
21
- "sampleAnswers": {
22
- "description": "Indicates the sample answers labels. Starting from 0 to max",
23
- "type": "array",
24
- "items": {
25
- "description": "Allows manipulation and formatting of text strings and determination and location of substrings within strings.",
26
- "type": "object",
27
- "additionalProperties": false,
28
- "patternProperties": {
29
- "^[0-9]+$": {
30
- "type": "string"
31
- }
32
- }
33
- },
34
- "title": "sampleAnswers"
35
- },
36
- "maxPoints": {
37
- "description": "Indicates the max limit for scoring points",
38
- "type": "number",
39
- "title": "maxPoints"
40
- },
41
- "excludeZeros": {
42
- "description": "Indicates if point 0 should be shown",
43
- "type": "boolean",
44
- "title": "excludeZeros"
45
- },
46
- "id": {
47
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
48
- "type": "string",
49
- "title": "id"
50
- },
51
- "element": {
52
- "description": "The html Element tag name",
53
- "type": "string",
54
- "title": "element"
55
- }
56
- },
57
- "required": [
58
- "element",
59
- "id"
60
- ],
61
- "definitions": {
62
- "EditableHtmlConfigureProp": {
63
- "title": "EditableHtmlConfigureProp",
64
- "type": "object",
65
- "properties": {
66
- "math": {
67
- "title": "EditableHtmlButtonConfigure",
68
- "type": "object",
69
- "properties": {
70
- "disabled": {
71
- "description": "Indicates if the plugin is disabled or not",
72
- "type": "boolean",
73
- "title": "disabled"
74
- }
75
- }
76
- },
77
- "audio": {
78
- "title": "EditableHtmlButtonConfigure",
79
- "type": "object",
80
- "properties": {
81
- "disabled": {
82
- "description": "Indicates if the plugin is disabled or not",
83
- "type": "boolean",
84
- "title": "disabled"
85
- }
86
- }
87
- },
88
- "video": {
89
- "title": "EditableHtmlButtonConfigure",
90
- "type": "object",
91
- "properties": {
92
- "disabled": {
93
- "description": "Indicates if the plugin is disabled or not",
94
- "type": "boolean",
95
- "title": "disabled"
96
- }
97
- }
98
- },
99
- "image": {
100
- "title": "EditableHtmlButtonConfigure",
101
- "type": "object",
102
- "properties": {
103
- "disabled": {
104
- "description": "Indicates if the plugin is disabled or not",
105
- "type": "boolean",
106
- "title": "disabled"
107
- }
108
- }
109
- },
110
- "customPlugins": {
111
- "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.",
112
- "type": "array",
113
- "items": {
114
- "title": "CustomPlugin",
115
- "type": "object",
116
- "properties": {
117
- "event": {
118
- "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\"",
119
- "type": "string",
120
- "title": "event"
121
- },
122
- "iconAlt": {
123
- "description": "The alt for the custom button icon",
124
- "type": "string",
125
- "title": "iconAlt"
126
- },
127
- "iconType": {
128
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
129
- "type": "string",
130
- "title": "iconType"
131
- },
132
- "icon": {
133
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
134
- "type": "string",
135
- "title": "icon"
136
- }
137
- },
138
- "required": [
139
- "event",
140
- "icon",
141
- "iconAlt",
142
- "iconType"
143
- ]
144
- },
145
- "title": "customPlugins"
146
- },
147
- "blockquote": {
148
- "title": "EditableHtmlButtonConfigure",
149
- "type": "object",
150
- "properties": {
151
- "disabled": {
152
- "description": "Indicates if the plugin is disabled or not",
153
- "type": "boolean",
154
- "title": "disabled"
155
- }
156
- }
157
- },
158
- "h3": {
159
- "title": "EditableHtmlButtonConfigure",
160
- "type": "object",
161
- "properties": {
162
- "disabled": {
163
- "description": "Indicates if the plugin is disabled or not",
164
- "type": "boolean",
165
- "title": "disabled"
166
- }
167
- }
168
- },
169
- "characters": {
170
- "title": "EditableHtmlButtonConfigure",
171
- "type": "object",
172
- "properties": {
173
- "disabled": {
174
- "description": "Indicates if the plugin is disabled or not",
175
- "type": "boolean",
176
- "title": "disabled"
177
- }
178
- }
179
- },
180
- "bold": {
181
- "title": "EditableHtmlButtonConfigure",
182
- "type": "object",
183
- "properties": {
184
- "disabled": {
185
- "description": "Indicates if the plugin is disabled or not",
186
- "type": "boolean",
187
- "title": "disabled"
188
- }
189
- }
190
- },
191
- "html": {
192
- "title": "EditableHtmlButtonConfigure",
193
- "type": "object",
194
- "properties": {
195
- "disabled": {
196
- "description": "Indicates if the plugin is disabled or not",
197
- "type": "boolean",
198
- "title": "disabled"
199
- }
200
- }
201
- },
202
- "italic": {
203
- "title": "EditableHtmlButtonConfigure",
204
- "type": "object",
205
- "properties": {
206
- "disabled": {
207
- "description": "Indicates if the plugin is disabled or not",
208
- "type": "boolean",
209
- "title": "disabled"
210
- }
211
- }
212
- },
213
- "ol_list": {
214
- "title": "EditableHtmlButtonConfigure",
215
- "type": "object",
216
- "properties": {
217
- "disabled": {
218
- "description": "Indicates if the plugin is disabled or not",
219
- "type": "boolean",
220
- "title": "disabled"
221
- }
222
- }
223
- },
224
- "redo": {
225
- "title": "EditableHtmlButtonConfigure",
226
- "type": "object",
227
- "properties": {
228
- "disabled": {
229
- "description": "Indicates if the plugin is disabled or not",
230
- "type": "boolean",
231
- "title": "disabled"
232
- }
233
- }
234
- },
235
- "strikethrough": {
236
- "title": "EditableHtmlButtonConfigure",
237
- "type": "object",
238
- "properties": {
239
- "disabled": {
240
- "description": "Indicates if the plugin is disabled or not",
241
- "type": "boolean",
242
- "title": "disabled"
243
- }
244
- }
245
- },
246
- "sub": {
247
- "title": "EditableHtmlButtonConfigure",
248
- "type": "object",
249
- "properties": {
250
- "disabled": {
251
- "description": "Indicates if the plugin is disabled or not",
252
- "type": "boolean",
253
- "title": "disabled"
254
- }
255
- }
256
- },
257
- "sup": {
258
- "title": "EditableHtmlButtonConfigure",
259
- "type": "object",
260
- "properties": {
261
- "disabled": {
262
- "description": "Indicates if the plugin is disabled or not",
263
- "type": "boolean",
264
- "title": "disabled"
265
- }
266
- }
267
- },
268
- "table": {
269
- "title": "EditableHtmlButtonConfigure",
270
- "type": "object",
271
- "properties": {
272
- "disabled": {
273
- "description": "Indicates if the plugin is disabled or not",
274
- "type": "boolean",
275
- "title": "disabled"
276
- }
277
- }
278
- },
279
- "ul_list": {
280
- "title": "EditableHtmlButtonConfigure",
281
- "type": "object",
282
- "properties": {
283
- "disabled": {
284
- "description": "Indicates if the plugin is disabled or not",
285
- "type": "boolean",
286
- "title": "disabled"
287
- }
288
- }
289
- },
290
- "underline": {
291
- "title": "EditableHtmlButtonConfigure",
292
- "type": "object",
293
- "properties": {
294
- "disabled": {
295
- "description": "Indicates if the plugin is disabled or not",
296
- "type": "boolean",
297
- "title": "disabled"
298
- }
299
- }
300
- },
301
- "undo": {
302
- "title": "EditableHtmlButtonConfigure",
303
- "type": "object",
304
- "properties": {
305
- "disabled": {
306
- "description": "Indicates if the plugin is disabled or not",
307
- "type": "boolean",
308
- "title": "disabled"
309
- }
310
- }
311
- }
312
- }
313
- },
314
- "EditableHtmlButtonConfigure": {
315
- "title": "EditableHtmlButtonConfigure",
316
- "type": "object",
317
- "properties": {
318
- "disabled": {
319
- "description": "Indicates if the plugin is disabled or not",
320
- "type": "boolean",
321
- "title": "disabled"
322
- }
323
- }
324
- },
325
- "CustomPlugin": {
326
- "title": "CustomPlugin",
327
- "type": "object",
328
- "properties": {
329
- "event": {
330
- "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\"",
331
- "type": "string",
332
- "title": "event"
333
- },
334
- "iconAlt": {
335
- "description": "The alt for the custom button icon",
336
- "type": "string",
337
- "title": "iconAlt"
338
- },
339
- "iconType": {
340
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
341
- "type": "string",
342
- "title": "iconType"
343
- },
344
- "icon": {
345
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
346
- "type": "string",
347
- "title": "icon"
348
- }
349
- },
350
- "required": [
351
- "event",
352
- "icon",
353
- "iconAlt",
354
- "iconType"
355
- ]
356
- },
357
- "ConfigureProp": {
358
- "title": "ConfigureProp",
359
- "type": "object",
360
- "properties": {
361
- "settings": {
362
- "description": "Indicates if the item has to be displayed in the Settings Panel",
363
- "type": "boolean",
364
- "title": "settings"
365
- },
366
- "label": {
367
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
368
- "type": "string",
369
- "title": "label"
370
- }
371
- }
372
- },
373
- "ConfigureMathMLProp": {
374
- "title": "ConfigureMathMLProp",
375
- "type": "object",
376
- "properties": {
377
- "mmlOutput": {
378
- "description": "Indicates if model should have mathML output instead of latex",
379
- "type": "number",
380
- "title": "mmlOutput"
381
- },
382
- "mmlEditing": {
383
- "description": "Indicates if mathML that's already in model should be editable",
384
- "type": "number",
385
- "title": "mmlEditing"
386
- }
387
- }
388
- }
389
- },
390
- "$schema": "http://json-schema.org/draft-07/schema#"
391
- }
@@ -1,281 +0,0 @@
1
- Model for the RubricPie Interaction
2
-
3
- The schema defines the following properties:
4
-
5
- # `points` (array)
6
-
7
- Indicates the score points labels. Starting from 0 to max
8
-
9
- The object is an array with all elements of the type `object`.
10
-
11
- The array object has the following properties:
12
-
13
- # `sampleAnswers` (array)
14
-
15
- Indicates the sample answers labels. Starting from 0 to max
16
-
17
- The object is an array with all elements of the type `object`.
18
-
19
- The array object has the following properties:
20
-
21
- # `maxPoints` (number)
22
-
23
- Indicates the max limit for scoring points
24
-
25
- # `excludeZeros` (boolean)
26
-
27
- Indicates if point 0 should be shown
28
-
29
- # `id` (string, required)
30
-
31
- Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
32
-
33
- # `element` (string, required)
34
-
35
- The html Element tag name
36
-
37
- ---
38
-
39
- # Sub Schemas
40
-
41
- The schema defines the following additional types:
42
-
43
- ## `EditableHtmlConfigureProp` (object)
44
-
45
- Properties of the `EditableHtmlConfigureProp` object:
46
-
47
- ### `math` (object)
48
-
49
- Properties of the `math` object:
50
-
51
- #### `disabled` (boolean)
52
-
53
- Indicates if the plugin is disabled or not
54
-
55
- ### `audio` (object)
56
-
57
- Properties of the `audio` object:
58
-
59
- #### `disabled` (boolean)
60
-
61
- Indicates if the plugin is disabled or not
62
-
63
- ### `video` (object)
64
-
65
- Properties of the `video` object:
66
-
67
- #### `disabled` (boolean)
68
-
69
- Indicates if the plugin is disabled or not
70
-
71
- ### `image` (object)
72
-
73
- Properties of the `image` object:
74
-
75
- #### `disabled` (boolean)
76
-
77
- Indicates if the plugin is disabled or not
78
-
79
- ### `customPlugins` (array)
80
-
81
- An array of objects that determine custom plugins.
82
- A 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).
83
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
84
-
85
- The object is an array with all elements of the type `object`.
86
-
87
- The array object has the following properties:
88
-
89
- #### `event` (string, required)
90
-
91
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
92
- PIE will emit the event prefixed with "PIE-".
93
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
94
-
95
- #### `iconAlt` (string, required)
96
-
97
- The alt for the custom button icon
98
-
99
- #### `iconType` (string, required)
100
-
101
- The icon type.
102
- Currently, only "SVG" is supported.
103
-
104
- #### `icon` (string, required)
105
-
106
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
107
-
108
- ### `blockquote` (object)
109
-
110
- Properties of the `blockquote` object:
111
-
112
- #### `disabled` (boolean)
113
-
114
- Indicates if the plugin is disabled or not
115
-
116
- ### `h3` (object)
117
-
118
- Properties of the `h3` object:
119
-
120
- #### `disabled` (boolean)
121
-
122
- Indicates if the plugin is disabled or not
123
-
124
- ### `characters` (object)
125
-
126
- Properties of the `characters` object:
127
-
128
- #### `disabled` (boolean)
129
-
130
- Indicates if the plugin is disabled or not
131
-
132
- ### `bold` (object)
133
-
134
- Properties of the `bold` object:
135
-
136
- #### `disabled` (boolean)
137
-
138
- Indicates if the plugin is disabled or not
139
-
140
- ### `html` (object)
141
-
142
- Properties of the `html` object:
143
-
144
- #### `disabled` (boolean)
145
-
146
- Indicates if the plugin is disabled or not
147
-
148
- ### `italic` (object)
149
-
150
- Properties of the `italic` object:
151
-
152
- #### `disabled` (boolean)
153
-
154
- Indicates if the plugin is disabled or not
155
-
156
- ### `ol_list` (object)
157
-
158
- Properties of the `ol_list` object:
159
-
160
- #### `disabled` (boolean)
161
-
162
- Indicates if the plugin is disabled or not
163
-
164
- ### `redo` (object)
165
-
166
- Properties of the `redo` object:
167
-
168
- #### `disabled` (boolean)
169
-
170
- Indicates if the plugin is disabled or not
171
-
172
- ### `strikethrough` (object)
173
-
174
- Properties of the `strikethrough` object:
175
-
176
- #### `disabled` (boolean)
177
-
178
- Indicates if the plugin is disabled or not
179
-
180
- ### `sub` (object)
181
-
182
- Properties of the `sub` object:
183
-
184
- #### `disabled` (boolean)
185
-
186
- Indicates if the plugin is disabled or not
187
-
188
- ### `sup` (object)
189
-
190
- Properties of the `sup` object:
191
-
192
- #### `disabled` (boolean)
193
-
194
- Indicates if the plugin is disabled or not
195
-
196
- ### `table` (object)
197
-
198
- Properties of the `table` object:
199
-
200
- #### `disabled` (boolean)
201
-
202
- Indicates if the plugin is disabled or not
203
-
204
- ### `ul_list` (object)
205
-
206
- Properties of the `ul_list` object:
207
-
208
- #### `disabled` (boolean)
209
-
210
- Indicates if the plugin is disabled or not
211
-
212
- ### `underline` (object)
213
-
214
- Properties of the `underline` object:
215
-
216
- #### `disabled` (boolean)
217
-
218
- Indicates if the plugin is disabled or not
219
-
220
- ### `undo` (object)
221
-
222
- Properties of the `undo` object:
223
-
224
- #### `disabled` (boolean)
225
-
226
- Indicates if the plugin is disabled or not
227
-
228
- ## `EditableHtmlButtonConfigure` (object)
229
-
230
- Properties of the `EditableHtmlButtonConfigure` object:
231
-
232
- ### `disabled` (boolean)
233
-
234
- Indicates if the plugin is disabled or not
235
-
236
- ## `CustomPlugin` (object)
237
-
238
- Properties of the `CustomPlugin` object:
239
-
240
- ### `event` (string, required)
241
-
242
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
243
- PIE will emit the event prefixed with "PIE-".
244
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
245
-
246
- ### `iconAlt` (string, required)
247
-
248
- The alt for the custom button icon
249
-
250
- ### `iconType` (string, required)
251
-
252
- The icon type.
253
- Currently, only "SVG" is supported.
254
-
255
- ### `icon` (string, required)
256
-
257
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
258
-
259
- ## `ConfigureProp` (object)
260
-
261
- Properties of the `ConfigureProp` object:
262
-
263
- ### `settings` (boolean)
264
-
265
- Indicates if the item has to be displayed in the Settings Panel
266
-
267
- ### `label` (string)
268
-
269
- Indicates the label for the item that has to be displayed in the Settings Panel
270
-
271
- ## `ConfigureMathMLProp` (object)
272
-
273
- Properties of the `ConfigureMathMLProp` object:
274
-
275
- ### `mmlOutput` (number)
276
-
277
- Indicates if model should have mathML output instead of latex
278
-
279
- ### `mmlEditing` (number)
280
-
281
- Indicates if mathML that's already in model should be editable