@pie-element/placement-ordering 9.8.1-next.5 → 9.9.1-next.4

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.
@@ -3,10 +3,184 @@
3
3
  "additionalProperties": false,
4
4
  "type": "object",
5
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
+ }
92
+ },
6
93
  "choiceLabel": {
7
- "title": "ConfigureProp",
94
+ "title": "EditableHtmlPluginConfigure",
8
95
  "type": "object",
9
96
  "properties": {
97
+ "inputConfiguration": {
98
+ "title": "EditableHtmlConfigureProp",
99
+ "type": "object",
100
+ "properties": {
101
+ "math": {
102
+ "title": "EditableHtmlButtonConfigure",
103
+ "type": "object",
104
+ "properties": {
105
+ "disabled": {
106
+ "description": "Indicates if the plugin is disabled or not",
107
+ "type": "boolean",
108
+ "title": "disabled"
109
+ }
110
+ }
111
+ },
112
+ "audio": {
113
+ "title": "EditableHtmlButtonConfigure",
114
+ "type": "object",
115
+ "properties": {
116
+ "disabled": {
117
+ "description": "Indicates if the plugin is disabled or not",
118
+ "type": "boolean",
119
+ "title": "disabled"
120
+ }
121
+ }
122
+ },
123
+ "video": {
124
+ "title": "EditableHtmlButtonConfigure",
125
+ "type": "object",
126
+ "properties": {
127
+ "disabled": {
128
+ "description": "Indicates if the plugin is disabled or not",
129
+ "type": "boolean",
130
+ "title": "disabled"
131
+ }
132
+ }
133
+ },
134
+ "image": {
135
+ "title": "EditableHtmlButtonConfigure",
136
+ "type": "object",
137
+ "properties": {
138
+ "disabled": {
139
+ "description": "Indicates if the plugin is disabled or not",
140
+ "type": "boolean",
141
+ "title": "disabled"
142
+ }
143
+ }
144
+ },
145
+ "customPlugins": {
146
+ "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.",
147
+ "type": "array",
148
+ "items": {
149
+ "title": "CustomPlugin",
150
+ "type": "object",
151
+ "properties": {
152
+ "event": {
153
+ "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\"",
154
+ "type": "string",
155
+ "title": "event"
156
+ },
157
+ "iconAlt": {
158
+ "description": "The alt for the custom button icon",
159
+ "type": "string",
160
+ "title": "iconAlt"
161
+ },
162
+ "iconType": {
163
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
164
+ "type": "string",
165
+ "title": "iconType"
166
+ },
167
+ "icon": {
168
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
169
+ "type": "string",
170
+ "title": "icon"
171
+ }
172
+ },
173
+ "required": [
174
+ "event",
175
+ "icon",
176
+ "iconAlt",
177
+ "iconType"
178
+ ]
179
+ },
180
+ "title": "customPlugins"
181
+ }
182
+ }
183
+ },
10
184
  "settings": {
11
185
  "description": "Indicates if the item has to be displayed in the Settings Panel",
12
186
  "type": "boolean",
@@ -20,9 +194,96 @@
20
194
  }
21
195
  },
22
196
  "choices": {
23
- "title": "ConfigureProp",
197
+ "title": "EditableHtmlPluginConfigure",
24
198
  "type": "object",
25
199
  "properties": {
200
+ "inputConfiguration": {
201
+ "title": "EditableHtmlConfigureProp",
202
+ "type": "object",
203
+ "properties": {
204
+ "math": {
205
+ "title": "EditableHtmlButtonConfigure",
206
+ "type": "object",
207
+ "properties": {
208
+ "disabled": {
209
+ "description": "Indicates if the plugin is disabled or not",
210
+ "type": "boolean",
211
+ "title": "disabled"
212
+ }
213
+ }
214
+ },
215
+ "audio": {
216
+ "title": "EditableHtmlButtonConfigure",
217
+ "type": "object",
218
+ "properties": {
219
+ "disabled": {
220
+ "description": "Indicates if the plugin is disabled or not",
221
+ "type": "boolean",
222
+ "title": "disabled"
223
+ }
224
+ }
225
+ },
226
+ "video": {
227
+ "title": "EditableHtmlButtonConfigure",
228
+ "type": "object",
229
+ "properties": {
230
+ "disabled": {
231
+ "description": "Indicates if the plugin is disabled or not",
232
+ "type": "boolean",
233
+ "title": "disabled"
234
+ }
235
+ }
236
+ },
237
+ "image": {
238
+ "title": "EditableHtmlButtonConfigure",
239
+ "type": "object",
240
+ "properties": {
241
+ "disabled": {
242
+ "description": "Indicates if the plugin is disabled or not",
243
+ "type": "boolean",
244
+ "title": "disabled"
245
+ }
246
+ }
247
+ },
248
+ "customPlugins": {
249
+ "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.",
250
+ "type": "array",
251
+ "items": {
252
+ "title": "CustomPlugin",
253
+ "type": "object",
254
+ "properties": {
255
+ "event": {
256
+ "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\"",
257
+ "type": "string",
258
+ "title": "event"
259
+ },
260
+ "iconAlt": {
261
+ "description": "The alt for the custom button icon",
262
+ "type": "string",
263
+ "title": "iconAlt"
264
+ },
265
+ "iconType": {
266
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
267
+ "type": "string",
268
+ "title": "iconType"
269
+ },
270
+ "icon": {
271
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
272
+ "type": "string",
273
+ "title": "icon"
274
+ }
275
+ },
276
+ "required": [
277
+ "event",
278
+ "icon",
279
+ "iconAlt",
280
+ "iconType"
281
+ ]
282
+ },
283
+ "title": "customPlugins"
284
+ }
285
+ }
286
+ },
26
287
  "settings": {
27
288
  "description": "Indicates if the item has to be displayed in the Settings Panel",
28
289
  "type": "boolean",
@@ -68,13 +329,95 @@
68
329
  }
69
330
  },
70
331
  "prompt": {
71
- "title": "ConfigureRequiredProp",
332
+ "title": "EditableHtmlPluginConfigure",
72
333
  "type": "object",
73
334
  "properties": {
74
- "required": {
75
- "description": "Indicates if the item is required and the value cannot be empty",
76
- "type": "boolean",
77
- "title": "required"
335
+ "inputConfiguration": {
336
+ "title": "EditableHtmlConfigureProp",
337
+ "type": "object",
338
+ "properties": {
339
+ "math": {
340
+ "title": "EditableHtmlButtonConfigure",
341
+ "type": "object",
342
+ "properties": {
343
+ "disabled": {
344
+ "description": "Indicates if the plugin is disabled or not",
345
+ "type": "boolean",
346
+ "title": "disabled"
347
+ }
348
+ }
349
+ },
350
+ "audio": {
351
+ "title": "EditableHtmlButtonConfigure",
352
+ "type": "object",
353
+ "properties": {
354
+ "disabled": {
355
+ "description": "Indicates if the plugin is disabled or not",
356
+ "type": "boolean",
357
+ "title": "disabled"
358
+ }
359
+ }
360
+ },
361
+ "video": {
362
+ "title": "EditableHtmlButtonConfigure",
363
+ "type": "object",
364
+ "properties": {
365
+ "disabled": {
366
+ "description": "Indicates if the plugin is disabled or not",
367
+ "type": "boolean",
368
+ "title": "disabled"
369
+ }
370
+ }
371
+ },
372
+ "image": {
373
+ "title": "EditableHtmlButtonConfigure",
374
+ "type": "object",
375
+ "properties": {
376
+ "disabled": {
377
+ "description": "Indicates if the plugin is disabled or not",
378
+ "type": "boolean",
379
+ "title": "disabled"
380
+ }
381
+ }
382
+ },
383
+ "customPlugins": {
384
+ "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.",
385
+ "type": "array",
386
+ "items": {
387
+ "title": "CustomPlugin",
388
+ "type": "object",
389
+ "properties": {
390
+ "event": {
391
+ "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\"",
392
+ "type": "string",
393
+ "title": "event"
394
+ },
395
+ "iconAlt": {
396
+ "description": "The alt for the custom button icon",
397
+ "type": "string",
398
+ "title": "iconAlt"
399
+ },
400
+ "iconType": {
401
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
402
+ "type": "string",
403
+ "title": "iconType"
404
+ },
405
+ "icon": {
406
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
407
+ "type": "string",
408
+ "title": "icon"
409
+ }
410
+ },
411
+ "required": [
412
+ "event",
413
+ "icon",
414
+ "iconAlt",
415
+ "iconType"
416
+ ]
417
+ },
418
+ "title": "customPlugins"
419
+ }
420
+ }
78
421
  },
79
422
  "settings": {
80
423
  "description": "Indicates if the item has to be displayed in the Settings Panel",
@@ -169,9 +512,96 @@
169
512
  }
170
513
  },
171
514
  "rationale": {
172
- "title": "ConfigureRequiredProp",
515
+ "title": "EditableHtmlPluginConfigureRequired",
173
516
  "type": "object",
174
517
  "properties": {
518
+ "inputConfiguration": {
519
+ "title": "EditableHtmlConfigureProp",
520
+ "type": "object",
521
+ "properties": {
522
+ "math": {
523
+ "title": "EditableHtmlButtonConfigure",
524
+ "type": "object",
525
+ "properties": {
526
+ "disabled": {
527
+ "description": "Indicates if the plugin is disabled or not",
528
+ "type": "boolean",
529
+ "title": "disabled"
530
+ }
531
+ }
532
+ },
533
+ "audio": {
534
+ "title": "EditableHtmlButtonConfigure",
535
+ "type": "object",
536
+ "properties": {
537
+ "disabled": {
538
+ "description": "Indicates if the plugin is disabled or not",
539
+ "type": "boolean",
540
+ "title": "disabled"
541
+ }
542
+ }
543
+ },
544
+ "video": {
545
+ "title": "EditableHtmlButtonConfigure",
546
+ "type": "object",
547
+ "properties": {
548
+ "disabled": {
549
+ "description": "Indicates if the plugin is disabled or not",
550
+ "type": "boolean",
551
+ "title": "disabled"
552
+ }
553
+ }
554
+ },
555
+ "image": {
556
+ "title": "EditableHtmlButtonConfigure",
557
+ "type": "object",
558
+ "properties": {
559
+ "disabled": {
560
+ "description": "Indicates if the plugin is disabled or not",
561
+ "type": "boolean",
562
+ "title": "disabled"
563
+ }
564
+ }
565
+ },
566
+ "customPlugins": {
567
+ "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.",
568
+ "type": "array",
569
+ "items": {
570
+ "title": "CustomPlugin",
571
+ "type": "object",
572
+ "properties": {
573
+ "event": {
574
+ "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\"",
575
+ "type": "string",
576
+ "title": "event"
577
+ },
578
+ "iconAlt": {
579
+ "description": "The alt for the custom button icon",
580
+ "type": "string",
581
+ "title": "iconAlt"
582
+ },
583
+ "iconType": {
584
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
585
+ "type": "string",
586
+ "title": "iconType"
587
+ },
588
+ "icon": {
589
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
590
+ "type": "string",
591
+ "title": "icon"
592
+ }
593
+ },
594
+ "required": [
595
+ "event",
596
+ "icon",
597
+ "iconAlt",
598
+ "iconType"
599
+ ]
600
+ },
601
+ "title": "customPlugins"
602
+ }
603
+ }
604
+ },
175
605
  "required": {
176
606
  "description": "Indicates if the item is required and the value cannot be empty",
177
607
  "type": "boolean",
@@ -275,9 +705,96 @@
275
705
  }
276
706
  },
277
707
  "teacherInstructions": {
278
- "title": "ConfigureRequiredProp",
708
+ "title": "EditableHtmlPluginConfigureRequired",
279
709
  "type": "object",
280
710
  "properties": {
711
+ "inputConfiguration": {
712
+ "title": "EditableHtmlConfigureProp",
713
+ "type": "object",
714
+ "properties": {
715
+ "math": {
716
+ "title": "EditableHtmlButtonConfigure",
717
+ "type": "object",
718
+ "properties": {
719
+ "disabled": {
720
+ "description": "Indicates if the plugin is disabled or not",
721
+ "type": "boolean",
722
+ "title": "disabled"
723
+ }
724
+ }
725
+ },
726
+ "audio": {
727
+ "title": "EditableHtmlButtonConfigure",
728
+ "type": "object",
729
+ "properties": {
730
+ "disabled": {
731
+ "description": "Indicates if the plugin is disabled or not",
732
+ "type": "boolean",
733
+ "title": "disabled"
734
+ }
735
+ }
736
+ },
737
+ "video": {
738
+ "title": "EditableHtmlButtonConfigure",
739
+ "type": "object",
740
+ "properties": {
741
+ "disabled": {
742
+ "description": "Indicates if the plugin is disabled or not",
743
+ "type": "boolean",
744
+ "title": "disabled"
745
+ }
746
+ }
747
+ },
748
+ "image": {
749
+ "title": "EditableHtmlButtonConfigure",
750
+ "type": "object",
751
+ "properties": {
752
+ "disabled": {
753
+ "description": "Indicates if the plugin is disabled or not",
754
+ "type": "boolean",
755
+ "title": "disabled"
756
+ }
757
+ }
758
+ },
759
+ "customPlugins": {
760
+ "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.",
761
+ "type": "array",
762
+ "items": {
763
+ "title": "CustomPlugin",
764
+ "type": "object",
765
+ "properties": {
766
+ "event": {
767
+ "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\"",
768
+ "type": "string",
769
+ "title": "event"
770
+ },
771
+ "iconAlt": {
772
+ "description": "The alt for the custom button icon",
773
+ "type": "string",
774
+ "title": "iconAlt"
775
+ },
776
+ "iconType": {
777
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
778
+ "type": "string",
779
+ "title": "iconType"
780
+ },
781
+ "icon": {
782
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
783
+ "type": "string",
784
+ "title": "icon"
785
+ }
786
+ },
787
+ "required": [
788
+ "event",
789
+ "icon",
790
+ "iconAlt",
791
+ "iconType"
792
+ ]
793
+ },
794
+ "title": "customPlugins"
795
+ }
796
+ }
797
+ },
281
798
  "required": {
282
799
  "description": "Indicates if the item is required and the value cannot be empty",
283
800
  "type": "boolean",
@@ -523,6 +1040,239 @@
523
1040
  }
524
1041
  },
525
1042
  "definitions": {
1043
+ "EditableHtmlConfigureProp": {
1044
+ "title": "EditableHtmlConfigureProp",
1045
+ "type": "object",
1046
+ "properties": {
1047
+ "math": {
1048
+ "title": "EditableHtmlButtonConfigure",
1049
+ "type": "object",
1050
+ "properties": {
1051
+ "disabled": {
1052
+ "description": "Indicates if the plugin is disabled or not",
1053
+ "type": "boolean",
1054
+ "title": "disabled"
1055
+ }
1056
+ }
1057
+ },
1058
+ "audio": {
1059
+ "title": "EditableHtmlButtonConfigure",
1060
+ "type": "object",
1061
+ "properties": {
1062
+ "disabled": {
1063
+ "description": "Indicates if the plugin is disabled or not",
1064
+ "type": "boolean",
1065
+ "title": "disabled"
1066
+ }
1067
+ }
1068
+ },
1069
+ "video": {
1070
+ "title": "EditableHtmlButtonConfigure",
1071
+ "type": "object",
1072
+ "properties": {
1073
+ "disabled": {
1074
+ "description": "Indicates if the plugin is disabled or not",
1075
+ "type": "boolean",
1076
+ "title": "disabled"
1077
+ }
1078
+ }
1079
+ },
1080
+ "image": {
1081
+ "title": "EditableHtmlButtonConfigure",
1082
+ "type": "object",
1083
+ "properties": {
1084
+ "disabled": {
1085
+ "description": "Indicates if the plugin is disabled or not",
1086
+ "type": "boolean",
1087
+ "title": "disabled"
1088
+ }
1089
+ }
1090
+ },
1091
+ "customPlugins": {
1092
+ "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.",
1093
+ "type": "array",
1094
+ "items": {
1095
+ "title": "CustomPlugin",
1096
+ "type": "object",
1097
+ "properties": {
1098
+ "event": {
1099
+ "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\"",
1100
+ "type": "string",
1101
+ "title": "event"
1102
+ },
1103
+ "iconAlt": {
1104
+ "description": "The alt for the custom button icon",
1105
+ "type": "string",
1106
+ "title": "iconAlt"
1107
+ },
1108
+ "iconType": {
1109
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1110
+ "type": "string",
1111
+ "title": "iconType"
1112
+ },
1113
+ "icon": {
1114
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1115
+ "type": "string",
1116
+ "title": "icon"
1117
+ }
1118
+ },
1119
+ "required": [
1120
+ "event",
1121
+ "icon",
1122
+ "iconAlt",
1123
+ "iconType"
1124
+ ]
1125
+ },
1126
+ "title": "customPlugins"
1127
+ }
1128
+ }
1129
+ },
1130
+ "EditableHtmlButtonConfigure": {
1131
+ "title": "EditableHtmlButtonConfigure",
1132
+ "type": "object",
1133
+ "properties": {
1134
+ "disabled": {
1135
+ "description": "Indicates if the plugin is disabled or not",
1136
+ "type": "boolean",
1137
+ "title": "disabled"
1138
+ }
1139
+ }
1140
+ },
1141
+ "CustomPlugin": {
1142
+ "title": "CustomPlugin",
1143
+ "type": "object",
1144
+ "properties": {
1145
+ "event": {
1146
+ "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\"",
1147
+ "type": "string",
1148
+ "title": "event"
1149
+ },
1150
+ "iconAlt": {
1151
+ "description": "The alt for the custom button icon",
1152
+ "type": "string",
1153
+ "title": "iconAlt"
1154
+ },
1155
+ "iconType": {
1156
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1157
+ "type": "string",
1158
+ "title": "iconType"
1159
+ },
1160
+ "icon": {
1161
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1162
+ "type": "string",
1163
+ "title": "icon"
1164
+ }
1165
+ },
1166
+ "required": [
1167
+ "event",
1168
+ "icon",
1169
+ "iconAlt",
1170
+ "iconType"
1171
+ ]
1172
+ },
1173
+ "EditableHtmlPluginConfigure": {
1174
+ "title": "EditableHtmlPluginConfigure",
1175
+ "type": "object",
1176
+ "properties": {
1177
+ "inputConfiguration": {
1178
+ "title": "EditableHtmlConfigureProp",
1179
+ "type": "object",
1180
+ "properties": {
1181
+ "math": {
1182
+ "title": "EditableHtmlButtonConfigure",
1183
+ "type": "object",
1184
+ "properties": {
1185
+ "disabled": {
1186
+ "description": "Indicates if the plugin is disabled or not",
1187
+ "type": "boolean",
1188
+ "title": "disabled"
1189
+ }
1190
+ }
1191
+ },
1192
+ "audio": {
1193
+ "title": "EditableHtmlButtonConfigure",
1194
+ "type": "object",
1195
+ "properties": {
1196
+ "disabled": {
1197
+ "description": "Indicates if the plugin is disabled or not",
1198
+ "type": "boolean",
1199
+ "title": "disabled"
1200
+ }
1201
+ }
1202
+ },
1203
+ "video": {
1204
+ "title": "EditableHtmlButtonConfigure",
1205
+ "type": "object",
1206
+ "properties": {
1207
+ "disabled": {
1208
+ "description": "Indicates if the plugin is disabled or not",
1209
+ "type": "boolean",
1210
+ "title": "disabled"
1211
+ }
1212
+ }
1213
+ },
1214
+ "image": {
1215
+ "title": "EditableHtmlButtonConfigure",
1216
+ "type": "object",
1217
+ "properties": {
1218
+ "disabled": {
1219
+ "description": "Indicates if the plugin is disabled or not",
1220
+ "type": "boolean",
1221
+ "title": "disabled"
1222
+ }
1223
+ }
1224
+ },
1225
+ "customPlugins": {
1226
+ "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.",
1227
+ "type": "array",
1228
+ "items": {
1229
+ "title": "CustomPlugin",
1230
+ "type": "object",
1231
+ "properties": {
1232
+ "event": {
1233
+ "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\"",
1234
+ "type": "string",
1235
+ "title": "event"
1236
+ },
1237
+ "iconAlt": {
1238
+ "description": "The alt for the custom button icon",
1239
+ "type": "string",
1240
+ "title": "iconAlt"
1241
+ },
1242
+ "iconType": {
1243
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1244
+ "type": "string",
1245
+ "title": "iconType"
1246
+ },
1247
+ "icon": {
1248
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1249
+ "type": "string",
1250
+ "title": "icon"
1251
+ }
1252
+ },
1253
+ "required": [
1254
+ "event",
1255
+ "icon",
1256
+ "iconAlt",
1257
+ "iconType"
1258
+ ]
1259
+ },
1260
+ "title": "customPlugins"
1261
+ }
1262
+ }
1263
+ },
1264
+ "settings": {
1265
+ "description": "Indicates if the item has to be displayed in the Settings Panel",
1266
+ "type": "boolean",
1267
+ "title": "settings"
1268
+ },
1269
+ "label": {
1270
+ "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1271
+ "type": "string",
1272
+ "title": "label"
1273
+ }
1274
+ }
1275
+ },
526
1276
  "ConfigureProp": {
527
1277
  "title": "ConfigureProp",
528
1278
  "type": "object",
@@ -539,10 +1289,97 @@
539
1289
  }
540
1290
  }
541
1291
  },
542
- "ConfigureRequiredProp": {
543
- "title": "ConfigureRequiredProp",
1292
+ "EditableHtmlPluginConfigureRequired": {
1293
+ "title": "EditableHtmlPluginConfigureRequired",
544
1294
  "type": "object",
545
1295
  "properties": {
1296
+ "inputConfiguration": {
1297
+ "title": "EditableHtmlConfigureProp",
1298
+ "type": "object",
1299
+ "properties": {
1300
+ "math": {
1301
+ "title": "EditableHtmlButtonConfigure",
1302
+ "type": "object",
1303
+ "properties": {
1304
+ "disabled": {
1305
+ "description": "Indicates if the plugin is disabled or not",
1306
+ "type": "boolean",
1307
+ "title": "disabled"
1308
+ }
1309
+ }
1310
+ },
1311
+ "audio": {
1312
+ "title": "EditableHtmlButtonConfigure",
1313
+ "type": "object",
1314
+ "properties": {
1315
+ "disabled": {
1316
+ "description": "Indicates if the plugin is disabled or not",
1317
+ "type": "boolean",
1318
+ "title": "disabled"
1319
+ }
1320
+ }
1321
+ },
1322
+ "video": {
1323
+ "title": "EditableHtmlButtonConfigure",
1324
+ "type": "object",
1325
+ "properties": {
1326
+ "disabled": {
1327
+ "description": "Indicates if the plugin is disabled or not",
1328
+ "type": "boolean",
1329
+ "title": "disabled"
1330
+ }
1331
+ }
1332
+ },
1333
+ "image": {
1334
+ "title": "EditableHtmlButtonConfigure",
1335
+ "type": "object",
1336
+ "properties": {
1337
+ "disabled": {
1338
+ "description": "Indicates if the plugin is disabled or not",
1339
+ "type": "boolean",
1340
+ "title": "disabled"
1341
+ }
1342
+ }
1343
+ },
1344
+ "customPlugins": {
1345
+ "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.",
1346
+ "type": "array",
1347
+ "items": {
1348
+ "title": "CustomPlugin",
1349
+ "type": "object",
1350
+ "properties": {
1351
+ "event": {
1352
+ "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\"",
1353
+ "type": "string",
1354
+ "title": "event"
1355
+ },
1356
+ "iconAlt": {
1357
+ "description": "The alt for the custom button icon",
1358
+ "type": "string",
1359
+ "title": "iconAlt"
1360
+ },
1361
+ "iconType": {
1362
+ "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1363
+ "type": "string",
1364
+ "title": "iconType"
1365
+ },
1366
+ "icon": {
1367
+ "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1368
+ "type": "string",
1369
+ "title": "icon"
1370
+ }
1371
+ },
1372
+ "required": [
1373
+ "event",
1374
+ "icon",
1375
+ "iconAlt",
1376
+ "iconType"
1377
+ ]
1378
+ },
1379
+ "title": "customPlugins"
1380
+ }
1381
+ }
1382
+ },
546
1383
  "required": {
547
1384
  "description": "Indicates if the item is required and the value cannot be empty",
548
1385
  "type": "boolean",