@pie-element/multiple-choice 8.11.1-next.18 → 8.11.1-next.5

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.
@@ -8,7 +8,7 @@
8
8
  "@material-ui/core": "^3.9.2",
9
9
  "@material-ui/icons": "^3.0.1",
10
10
  "@pie-framework/pie-configure-events": "^1.3.0",
11
- "@pie-lib/pie-toolbox": "1.13.0",
11
+ "@pie-lib/pie-toolbox": "1.12.3",
12
12
  "debug": "^3.1.0",
13
13
  "lodash": "^4.17.15",
14
14
  "prop-types": "^15.6.2",
@@ -8,7 +8,7 @@
8
8
  "author": "",
9
9
  "license": "ISC",
10
10
  "dependencies": {
11
- "@pie-lib/pie-toolbox": "1.13.0",
11
+ "@pie-lib/pie-toolbox": "1.12.3",
12
12
  "debug": "^3.1.0",
13
13
  "lodash": "^4.17.15"
14
14
  }
@@ -73,43 +73,6 @@
73
73
  "title": "disabled"
74
74
  }
75
75
  }
76
- },
77
- "customPlugins": {
78
- "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.",
79
- "type": "array",
80
- "items": {
81
- "title": "CustomPlugin",
82
- "type": "object",
83
- "properties": {
84
- "event": {
85
- "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\"",
86
- "type": "string",
87
- "title": "event"
88
- },
89
- "iconAlt": {
90
- "description": "The alt for the custom button icon",
91
- "type": "string",
92
- "title": "iconAlt"
93
- },
94
- "iconType": {
95
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
96
- "type": "string",
97
- "title": "iconType"
98
- },
99
- "icon": {
100
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
101
- "type": "string",
102
- "title": "icon"
103
- }
104
- },
105
- "required": [
106
- "event",
107
- "icon",
108
- "iconAlt",
109
- "iconType"
110
- ]
111
- },
112
- "title": "customPlugins"
113
76
  }
114
77
  }
115
78
  },
@@ -164,43 +127,6 @@
164
127
  "title": "disabled"
165
128
  }
166
129
  }
167
- },
168
- "customPlugins": {
169
- "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.",
170
- "type": "array",
171
- "items": {
172
- "title": "CustomPlugin",
173
- "type": "object",
174
- "properties": {
175
- "event": {
176
- "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\"",
177
- "type": "string",
178
- "title": "event"
179
- },
180
- "iconAlt": {
181
- "description": "The alt for the custom button icon",
182
- "type": "string",
183
- "title": "iconAlt"
184
- },
185
- "iconType": {
186
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
187
- "type": "string",
188
- "title": "iconType"
189
- },
190
- "icon": {
191
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
192
- "type": "string",
193
- "title": "icon"
194
- }
195
- },
196
- "required": [
197
- "event",
198
- "icon",
199
- "iconAlt",
200
- "iconType"
201
- ]
202
- },
203
- "title": "customPlugins"
204
130
  }
205
131
  }
206
132
  },
@@ -331,43 +257,6 @@
331
257
  "title": "disabled"
332
258
  }
333
259
  }
334
- },
335
- "customPlugins": {
336
- "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.",
337
- "type": "array",
338
- "items": {
339
- "title": "CustomPlugin",
340
- "type": "object",
341
- "properties": {
342
- "event": {
343
- "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\"",
344
- "type": "string",
345
- "title": "event"
346
- },
347
- "iconAlt": {
348
- "description": "The alt for the custom button icon",
349
- "type": "string",
350
- "title": "iconAlt"
351
- },
352
- "iconType": {
353
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
354
- "type": "string",
355
- "title": "iconType"
356
- },
357
- "icon": {
358
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
359
- "type": "string",
360
- "title": "icon"
361
- }
362
- },
363
- "required": [
364
- "event",
365
- "icon",
366
- "iconAlt",
367
- "iconType"
368
- ]
369
- },
370
- "title": "customPlugins"
371
260
  }
372
261
  }
373
262
  },
@@ -519,43 +408,6 @@
519
408
  "title": "disabled"
520
409
  }
521
410
  }
522
- },
523
- "customPlugins": {
524
- "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.",
525
- "type": "array",
526
- "items": {
527
- "title": "CustomPlugin",
528
- "type": "object",
529
- "properties": {
530
- "event": {
531
- "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\"",
532
- "type": "string",
533
- "title": "event"
534
- },
535
- "iconAlt": {
536
- "description": "The alt for the custom button icon",
537
- "type": "string",
538
- "title": "iconAlt"
539
- },
540
- "iconType": {
541
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
542
- "type": "string",
543
- "title": "iconType"
544
- },
545
- "icon": {
546
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
547
- "type": "string",
548
- "title": "icon"
549
- }
550
- },
551
- "required": [
552
- "event",
553
- "icon",
554
- "iconAlt",
555
- "iconType"
556
- ]
557
- },
558
- "title": "customPlugins"
559
411
  }
560
412
  }
561
413
  },
@@ -664,43 +516,6 @@
664
516
  "title": "disabled"
665
517
  }
666
518
  }
667
- },
668
- "customPlugins": {
669
- "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.",
670
- "type": "array",
671
- "items": {
672
- "title": "CustomPlugin",
673
- "type": "object",
674
- "properties": {
675
- "event": {
676
- "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\"",
677
- "type": "string",
678
- "title": "event"
679
- },
680
- "iconAlt": {
681
- "description": "The alt for the custom button icon",
682
- "type": "string",
683
- "title": "iconAlt"
684
- },
685
- "iconType": {
686
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
687
- "type": "string",
688
- "title": "iconType"
689
- },
690
- "icon": {
691
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
692
- "type": "string",
693
- "title": "icon"
694
- }
695
- },
696
- "required": [
697
- "event",
698
- "icon",
699
- "iconAlt",
700
- "iconType"
701
- ]
702
- },
703
- "title": "customPlugins"
704
519
  }
705
520
  }
706
521
  },
@@ -793,43 +608,6 @@
793
608
  "title": "disabled"
794
609
  }
795
610
  }
796
- },
797
- "customPlugins": {
798
- "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.",
799
- "type": "array",
800
- "items": {
801
- "title": "CustomPlugin",
802
- "type": "object",
803
- "properties": {
804
- "event": {
805
- "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\"",
806
- "type": "string",
807
- "title": "event"
808
- },
809
- "iconAlt": {
810
- "description": "The alt for the custom button icon",
811
- "type": "string",
812
- "title": "iconAlt"
813
- },
814
- "iconType": {
815
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
816
- "type": "string",
817
- "title": "iconType"
818
- },
819
- "icon": {
820
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
821
- "type": "string",
822
- "title": "icon"
823
- }
824
- },
825
- "required": [
826
- "event",
827
- "icon",
828
- "iconAlt",
829
- "iconType"
830
- ]
831
- },
832
- "title": "customPlugins"
833
611
  }
834
612
  }
835
613
  },
@@ -1126,43 +904,6 @@
1126
904
  "title": "disabled"
1127
905
  }
1128
906
  }
1129
- },
1130
- "customPlugins": {
1131
- "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.",
1132
- "type": "array",
1133
- "items": {
1134
- "title": "CustomPlugin",
1135
- "type": "object",
1136
- "properties": {
1137
- "event": {
1138
- "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\"",
1139
- "type": "string",
1140
- "title": "event"
1141
- },
1142
- "iconAlt": {
1143
- "description": "The alt for the custom button icon",
1144
- "type": "string",
1145
- "title": "iconAlt"
1146
- },
1147
- "iconType": {
1148
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1149
- "type": "string",
1150
- "title": "iconType"
1151
- },
1152
- "icon": {
1153
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1154
- "type": "string",
1155
- "title": "icon"
1156
- }
1157
- },
1158
- "required": [
1159
- "event",
1160
- "icon",
1161
- "iconAlt",
1162
- "iconType"
1163
- ]
1164
- },
1165
- "title": "customPlugins"
1166
907
  }
1167
908
  }
1168
909
  },
@@ -1177,38 +918,6 @@
1177
918
  }
1178
919
  }
1179
920
  },
1180
- "CustomPlugin": {
1181
- "title": "CustomPlugin",
1182
- "type": "object",
1183
- "properties": {
1184
- "event": {
1185
- "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\"",
1186
- "type": "string",
1187
- "title": "event"
1188
- },
1189
- "iconAlt": {
1190
- "description": "The alt for the custom button icon",
1191
- "type": "string",
1192
- "title": "iconAlt"
1193
- },
1194
- "iconType": {
1195
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1196
- "type": "string",
1197
- "title": "iconType"
1198
- },
1199
- "icon": {
1200
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1201
- "type": "string",
1202
- "title": "icon"
1203
- }
1204
- },
1205
- "required": [
1206
- "event",
1207
- "icon",
1208
- "iconAlt",
1209
- "iconType"
1210
- ]
1211
- },
1212
921
  "EditableHtmlPluginConfigure": {
1213
922
  "title": "EditableHtmlPluginConfigure",
1214
923
  "type": "object",
@@ -1260,43 +969,6 @@
1260
969
  "title": "disabled"
1261
970
  }
1262
971
  }
1263
- },
1264
- "customPlugins": {
1265
- "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.",
1266
- "type": "array",
1267
- "items": {
1268
- "title": "CustomPlugin",
1269
- "type": "object",
1270
- "properties": {
1271
- "event": {
1272
- "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\"",
1273
- "type": "string",
1274
- "title": "event"
1275
- },
1276
- "iconAlt": {
1277
- "description": "The alt for the custom button icon",
1278
- "type": "string",
1279
- "title": "iconAlt"
1280
- },
1281
- "iconType": {
1282
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1283
- "type": "string",
1284
- "title": "iconType"
1285
- },
1286
- "icon": {
1287
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1288
- "type": "string",
1289
- "title": "icon"
1290
- }
1291
- },
1292
- "required": [
1293
- "event",
1294
- "icon",
1295
- "iconAlt",
1296
- "iconType"
1297
- ]
1298
- },
1299
- "title": "customPlugins"
1300
972
  }
1301
973
  }
1302
974
  },
@@ -1363,43 +1035,6 @@
1363
1035
  "title": "disabled"
1364
1036
  }
1365
1037
  }
1366
- },
1367
- "customPlugins": {
1368
- "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.",
1369
- "type": "array",
1370
- "items": {
1371
- "title": "CustomPlugin",
1372
- "type": "object",
1373
- "properties": {
1374
- "event": {
1375
- "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\"",
1376
- "type": "string",
1377
- "title": "event"
1378
- },
1379
- "iconAlt": {
1380
- "description": "The alt for the custom button icon",
1381
- "type": "string",
1382
- "title": "iconAlt"
1383
- },
1384
- "iconType": {
1385
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1386
- "type": "string",
1387
- "title": "iconType"
1388
- },
1389
- "icon": {
1390
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1391
- "type": "string",
1392
- "title": "icon"
1393
- }
1394
- },
1395
- "required": [
1396
- "event",
1397
- "icon",
1398
- "iconAlt",
1399
- "iconType"
1400
- ]
1401
- },
1402
- "title": "customPlugins"
1403
1038
  }
1404
1039
  }
1405
1040
  },
@@ -60,35 +60,6 @@ Properties of the `image` object:
60
60
 
61
61
  Indicates if the plugin is disabled or not
62
62
 
63
- ## `customPlugins` (array)
64
-
65
- An array of objects that determine custom plugins.
66
- 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).
67
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
68
-
69
- The object is an array with all elements of the type `object`.
70
-
71
- The array object has the following properties:
72
-
73
- ### `event` (string, required)
74
-
75
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
76
- PIE will emit the event prefixed with "PIE-".
77
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
78
-
79
- ### `iconAlt` (string, required)
80
-
81
- The alt for the custom button icon
82
-
83
- ### `iconType` (string, required)
84
-
85
- The icon type.
86
- Currently, only "SVG" is supported.
87
-
88
- ### `icon` (string, required)
89
-
90
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
91
-
92
63
  # `choices` (object)
93
64
 
94
65
  Properties of the `choices` object:
@@ -129,35 +100,6 @@ Properties of the `image` object:
129
100
 
130
101
  Indicates if the plugin is disabled or not
131
102
 
132
- ### `customPlugins` (array)
133
-
134
- An array of objects that determine custom plugins.
135
- 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).
136
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
137
-
138
- The object is an array with all elements of the type `object`.
139
-
140
- The array object has the following properties:
141
-
142
- #### `event` (string, required)
143
-
144
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
145
- PIE will emit the event prefixed with "PIE-".
146
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
147
-
148
- #### `iconAlt` (string, required)
149
-
150
- The alt for the custom button icon
151
-
152
- #### `iconType` (string, required)
153
-
154
- The icon type.
155
- Currently, only "SVG" is supported.
156
-
157
- #### `icon` (string, required)
158
-
159
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
160
-
161
103
  ## `settings` (boolean)
162
104
 
163
105
  Indicates if the item has to be displayed in the Settings Panel
@@ -254,35 +196,6 @@ Properties of the `image` object:
254
196
 
255
197
  Indicates if the plugin is disabled or not
256
198
 
257
- ### `customPlugins` (array)
258
-
259
- An array of objects that determine custom plugins.
260
- 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).
261
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
262
-
263
- The object is an array with all elements of the type `object`.
264
-
265
- The array object has the following properties:
266
-
267
- #### `event` (string, required)
268
-
269
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
270
- PIE will emit the event prefixed with "PIE-".
271
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
272
-
273
- #### `iconAlt` (string, required)
274
-
275
- The alt for the custom button icon
276
-
277
- #### `iconType` (string, required)
278
-
279
- The icon type.
280
- Currently, only "SVG" is supported.
281
-
282
- #### `icon` (string, required)
283
-
284
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
285
-
286
199
  ## `required` (boolean)
287
200
 
288
201
  Indicates if the item is required and the value cannot be empty
@@ -395,35 +308,6 @@ Properties of the `image` object:
395
308
 
396
309
  Indicates if the plugin is disabled or not
397
310
 
398
- ### `customPlugins` (array)
399
-
400
- An array of objects that determine custom plugins.
401
- 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).
402
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
403
-
404
- The object is an array with all elements of the type `object`.
405
-
406
- The array object has the following properties:
407
-
408
- #### `event` (string, required)
409
-
410
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
411
- PIE will emit the event prefixed with "PIE-".
412
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
413
-
414
- #### `iconAlt` (string, required)
415
-
416
- The alt for the custom button icon
417
-
418
- #### `iconType` (string, required)
419
-
420
- The icon type.
421
- Currently, only "SVG" is supported.
422
-
423
- #### `icon` (string, required)
424
-
425
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
426
-
427
311
  ## `required` (boolean)
428
312
 
429
313
  Indicates if the item is required and the value cannot be empty
@@ -504,35 +388,6 @@ Properties of the `image` object:
504
388
 
505
389
  Indicates if the plugin is disabled or not
506
390
 
507
- ### `customPlugins` (array)
508
-
509
- An array of objects that determine custom plugins.
510
- 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).
511
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
512
-
513
- The object is an array with all elements of the type `object`.
514
-
515
- The array object has the following properties:
516
-
517
- #### `event` (string, required)
518
-
519
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
520
- PIE will emit the event prefixed with "PIE-".
521
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
522
-
523
- #### `iconAlt` (string, required)
524
-
525
- The alt for the custom button icon
526
-
527
- #### `iconType` (string, required)
528
-
529
- The icon type.
530
- Currently, only "SVG" is supported.
531
-
532
- #### `icon` (string, required)
533
-
534
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
535
-
536
391
  ## `required` (boolean)
537
392
 
538
393
  Indicates if the item is required and the value cannot be empty
@@ -602,35 +457,6 @@ Properties of the `image` object:
602
457
 
603
458
  Indicates if the plugin is disabled or not
604
459
 
605
- ### `customPlugins` (array)
606
-
607
- An array of objects that determine custom plugins.
608
- 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).
609
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
610
-
611
- The object is an array with all elements of the type `object`.
612
-
613
- The array object has the following properties:
614
-
615
- #### `event` (string, required)
616
-
617
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
618
- PIE will emit the event prefixed with "PIE-".
619
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
620
-
621
- #### `iconAlt` (string, required)
622
-
623
- The alt for the custom button icon
624
-
625
- #### `iconType` (string, required)
626
-
627
- The icon type.
628
- Currently, only "SVG" is supported.
629
-
630
- #### `icon` (string, required)
631
-
632
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
633
-
634
460
  ## `settings` (boolean)
635
461
 
636
462
  Indicates if the item has to be displayed in the Settings Panel
@@ -857,35 +683,6 @@ Properties of the `image` object:
857
683
 
858
684
  Indicates if the plugin is disabled or not
859
685
 
860
- ### `customPlugins` (array)
861
-
862
- An array of objects that determine custom plugins.
863
- 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).
864
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
865
-
866
- The object is an array with all elements of the type `object`.
867
-
868
- The array object has the following properties:
869
-
870
- #### `event` (string, required)
871
-
872
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
873
- PIE will emit the event prefixed with "PIE-".
874
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
875
-
876
- #### `iconAlt` (string, required)
877
-
878
- The alt for the custom button icon
879
-
880
- #### `iconType` (string, required)
881
-
882
- The icon type.
883
- Currently, only "SVG" is supported.
884
-
885
- #### `icon` (string, required)
886
-
887
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
888
-
889
686
  ## `EditableHtmlButtonConfigure` (object)
890
687
 
891
688
  Properties of the `EditableHtmlButtonConfigure` object:
@@ -894,29 +691,6 @@ Properties of the `EditableHtmlButtonConfigure` object:
894
691
 
895
692
  Indicates if the plugin is disabled or not
896
693
 
897
- ## `CustomPlugin` (object)
898
-
899
- Properties of the `CustomPlugin` object:
900
-
901
- ### `event` (string, required)
902
-
903
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
904
- PIE will emit the event prefixed with "PIE-".
905
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
906
-
907
- ### `iconAlt` (string, required)
908
-
909
- The alt for the custom button icon
910
-
911
- ### `iconType` (string, required)
912
-
913
- The icon type.
914
- Currently, only "SVG" is supported.
915
-
916
- ### `icon` (string, required)
917
-
918
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
919
-
920
694
  ## `EditableHtmlPluginConfigure` (object)
921
695
 
922
696
  Properties of the `EditableHtmlPluginConfigure` object:
@@ -957,35 +731,6 @@ Properties of the `image` object:
957
731
 
958
732
  Indicates if the plugin is disabled or not
959
733
 
960
- #### `customPlugins` (array)
961
-
962
- An array of objects that determine custom plugins.
963
- 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).
964
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
965
-
966
- The object is an array with all elements of the type `object`.
967
-
968
- The array object has the following properties:
969
-
970
- ##### `event` (string, required)
971
-
972
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
973
- PIE will emit the event prefixed with "PIE-".
974
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
975
-
976
- ##### `iconAlt` (string, required)
977
-
978
- The alt for the custom button icon
979
-
980
- ##### `iconType` (string, required)
981
-
982
- The icon type.
983
- Currently, only "SVG" is supported.
984
-
985
- ##### `icon` (string, required)
986
-
987
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
988
-
989
734
  ### `settings` (boolean)
990
735
 
991
736
  Indicates if the item has to be displayed in the Settings Panel
@@ -1034,35 +779,6 @@ Properties of the `image` object:
1034
779
 
1035
780
  Indicates if the plugin is disabled or not
1036
781
 
1037
- #### `customPlugins` (array)
1038
-
1039
- An array of objects that determine custom plugins.
1040
- 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).
1041
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1042
-
1043
- The object is an array with all elements of the type `object`.
1044
-
1045
- The array object has the following properties:
1046
-
1047
- ##### `event` (string, required)
1048
-
1049
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1050
- PIE will emit the event prefixed with "PIE-".
1051
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1052
-
1053
- ##### `iconAlt` (string, required)
1054
-
1055
- The alt for the custom button icon
1056
-
1057
- ##### `iconType` (string, required)
1058
-
1059
- The icon type.
1060
- Currently, only "SVG" is supported.
1061
-
1062
- ##### `icon` (string, required)
1063
-
1064
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1065
-
1066
782
  ### `required` (boolean)
1067
783
 
1068
784
  Indicates if the item is required and the value cannot be empty
@@ -280,43 +280,6 @@
280
280
  "title": "disabled"
281
281
  }
282
282
  }
283
- },
284
- "customPlugins": {
285
- "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.",
286
- "type": "array",
287
- "items": {
288
- "title": "CustomPlugin",
289
- "type": "object",
290
- "properties": {
291
- "event": {
292
- "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\"",
293
- "type": "string",
294
- "title": "event"
295
- },
296
- "iconAlt": {
297
- "description": "The alt for the custom button icon",
298
- "type": "string",
299
- "title": "iconAlt"
300
- },
301
- "iconType": {
302
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
303
- "type": "string",
304
- "title": "iconType"
305
- },
306
- "icon": {
307
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
308
- "type": "string",
309
- "title": "icon"
310
- }
311
- },
312
- "required": [
313
- "event",
314
- "icon",
315
- "iconAlt",
316
- "iconType"
317
- ]
318
- },
319
- "title": "customPlugins"
320
283
  }
321
284
  }
322
285
  },
@@ -331,38 +294,6 @@
331
294
  }
332
295
  }
333
296
  },
334
- "CustomPlugin": {
335
- "title": "CustomPlugin",
336
- "type": "object",
337
- "properties": {
338
- "event": {
339
- "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\"",
340
- "type": "string",
341
- "title": "event"
342
- },
343
- "iconAlt": {
344
- "description": "The alt for the custom button icon",
345
- "type": "string",
346
- "title": "iconAlt"
347
- },
348
- "iconType": {
349
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
350
- "type": "string",
351
- "title": "iconType"
352
- },
353
- "icon": {
354
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
355
- "type": "string",
356
- "title": "icon"
357
- }
358
- },
359
- "required": [
360
- "event",
361
- "icon",
362
- "iconAlt",
363
- "iconType"
364
- ]
365
- },
366
297
  "EditableHtmlPluginConfigure": {
367
298
  "title": "EditableHtmlPluginConfigure",
368
299
  "type": "object",
@@ -414,43 +345,6 @@
414
345
  "title": "disabled"
415
346
  }
416
347
  }
417
- },
418
- "customPlugins": {
419
- "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.",
420
- "type": "array",
421
- "items": {
422
- "title": "CustomPlugin",
423
- "type": "object",
424
- "properties": {
425
- "event": {
426
- "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\"",
427
- "type": "string",
428
- "title": "event"
429
- },
430
- "iconAlt": {
431
- "description": "The alt for the custom button icon",
432
- "type": "string",
433
- "title": "iconAlt"
434
- },
435
- "iconType": {
436
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
437
- "type": "string",
438
- "title": "iconType"
439
- },
440
- "icon": {
441
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
442
- "type": "string",
443
- "title": "icon"
444
- }
445
- },
446
- "required": [
447
- "event",
448
- "icon",
449
- "iconAlt",
450
- "iconType"
451
- ]
452
- },
453
- "title": "customPlugins"
454
348
  }
455
349
  }
456
350
  },
@@ -517,43 +411,6 @@
517
411
  "title": "disabled"
518
412
  }
519
413
  }
520
- },
521
- "customPlugins": {
522
- "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.",
523
- "type": "array",
524
- "items": {
525
- "title": "CustomPlugin",
526
- "type": "object",
527
- "properties": {
528
- "event": {
529
- "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\"",
530
- "type": "string",
531
- "title": "event"
532
- },
533
- "iconAlt": {
534
- "description": "The alt for the custom button icon",
535
- "type": "string",
536
- "title": "iconAlt"
537
- },
538
- "iconType": {
539
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
540
- "type": "string",
541
- "title": "iconType"
542
- },
543
- "icon": {
544
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
545
- "type": "string",
546
- "title": "icon"
547
- }
548
- },
549
- "required": [
550
- "event",
551
- "icon",
552
- "iconAlt",
553
- "iconType"
554
- ]
555
- },
556
- "title": "customPlugins"
557
414
  }
558
415
  }
559
416
  },
@@ -231,35 +231,6 @@ Properties of the `image` object:
231
231
 
232
232
  Indicates if the plugin is disabled or not
233
233
 
234
- ### `customPlugins` (array)
235
-
236
- An array of objects that determine custom plugins.
237
- 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).
238
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
239
-
240
- The object is an array with all elements of the type `object`.
241
-
242
- The array object has the following properties:
243
-
244
- #### `event` (string, required)
245
-
246
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
247
- PIE will emit the event prefixed with "PIE-".
248
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
249
-
250
- #### `iconAlt` (string, required)
251
-
252
- The alt for the custom button icon
253
-
254
- #### `iconType` (string, required)
255
-
256
- The icon type.
257
- Currently, only "SVG" is supported.
258
-
259
- #### `icon` (string, required)
260
-
261
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
262
-
263
234
  ## `EditableHtmlButtonConfigure` (object)
264
235
 
265
236
  Properties of the `EditableHtmlButtonConfigure` object:
@@ -268,29 +239,6 @@ Properties of the `EditableHtmlButtonConfigure` object:
268
239
 
269
240
  Indicates if the plugin is disabled or not
270
241
 
271
- ## `CustomPlugin` (object)
272
-
273
- Properties of the `CustomPlugin` object:
274
-
275
- ### `event` (string, required)
276
-
277
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
278
- PIE will emit the event prefixed with "PIE-".
279
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
280
-
281
- ### `iconAlt` (string, required)
282
-
283
- The alt for the custom button icon
284
-
285
- ### `iconType` (string, required)
286
-
287
- The icon type.
288
- Currently, only "SVG" is supported.
289
-
290
- ### `icon` (string, required)
291
-
292
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
293
-
294
242
  ## `EditableHtmlPluginConfigure` (object)
295
243
 
296
244
  Properties of the `EditableHtmlPluginConfigure` object:
@@ -331,35 +279,6 @@ Properties of the `image` object:
331
279
 
332
280
  Indicates if the plugin is disabled or not
333
281
 
334
- #### `customPlugins` (array)
335
-
336
- An array of objects that determine custom plugins.
337
- 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).
338
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
339
-
340
- The object is an array with all elements of the type `object`.
341
-
342
- The array object has the following properties:
343
-
344
- ##### `event` (string, required)
345
-
346
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
347
- PIE will emit the event prefixed with "PIE-".
348
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
349
-
350
- ##### `iconAlt` (string, required)
351
-
352
- The alt for the custom button icon
353
-
354
- ##### `iconType` (string, required)
355
-
356
- The icon type.
357
- Currently, only "SVG" is supported.
358
-
359
- ##### `icon` (string, required)
360
-
361
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
362
-
363
282
  ### `settings` (boolean)
364
283
 
365
284
  Indicates if the item has to be displayed in the Settings Panel
@@ -408,35 +327,6 @@ Properties of the `image` object:
408
327
 
409
328
  Indicates if the plugin is disabled or not
410
329
 
411
- #### `customPlugins` (array)
412
-
413
- An array of objects that determine custom plugins.
414
- 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).
415
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
416
-
417
- The object is an array with all elements of the type `object`.
418
-
419
- The array object has the following properties:
420
-
421
- ##### `event` (string, required)
422
-
423
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
424
- PIE will emit the event prefixed with "PIE-".
425
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
426
-
427
- ##### `iconAlt` (string, required)
428
-
429
- The alt for the custom button icon
430
-
431
- ##### `iconType` (string, required)
432
-
433
- The icon type.
434
- Currently, only "SVG" is supported.
435
-
436
- ##### `icon` (string, required)
437
-
438
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
439
-
440
330
  ### `required` (boolean)
441
331
 
442
332
  Indicates if the item is required and the value cannot be empty
@@ -1,4 +1,4 @@
1
- import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_lodash, _dll_debug} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.3/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_lodash, _dll_debug} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.2/module/index.js";
2
2
  import {_dll_pie_lib__pie_toolbox_editable_html, _dll_pie_lib__pie_toolbox_config_ui, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@4.0.0/module/index.js";
3
3
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
4
  function getDefaultExportFromCjs(x) {
package/module/element.js CHANGED
@@ -1,4 +1,4 @@
1
- import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.3/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.2/module/index.js";
2
2
  import {_dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@4.0.0/module/index.js";
3
3
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
4
  function getDefaultExportFromCjs(x) {
@@ -4,7 +4,7 @@
4
4
  "modules": [
5
5
  {
6
6
  "name": "@pie-lib/pie-toolbox-math-rendering-module",
7
- "version": "1.5.3"
7
+ "version": "1.5.2"
8
8
  },
9
9
  {
10
10
  "name": "@pie-lib/pie-toolbox-module",
package/module/print.js CHANGED
@@ -1,4 +1,4 @@
1
- import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_pie_lib__pie_toolbox_math_rendering_accessible, _dll_debug} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.3/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_pie_lib__pie_toolbox_math_rendering_accessible, _dll_debug} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.2/module/index.js";
2
2
  import {_dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@4.0.0/module/index.js";
3
3
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
4
  function getDefaultExportFromCjs(x) {
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@pie-element/multiple-choice",
3
3
  "repository": "pie-framework/pie-elements",
4
- "version": "8.11.1-next.18+867186f22",
4
+ "version": "8.11.1-next.5+579694d54",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
8
  "dependencies": {
9
9
  "@material-ui/core": "^3.9.2",
10
- "@pie-lib/pie-toolbox": "1.13.0",
10
+ "@pie-lib/pie-toolbox": "1.12.3",
11
11
  "classnames": "^2.2.5",
12
12
  "debug": "^4.1.1",
13
13
  "enzyme-to-json": "^3.3.3",
@@ -18,7 +18,7 @@
18
18
  "react-test-renderer": "^16.3.2",
19
19
  "react-transition-group": "^2.3.1"
20
20
  },
21
- "gitHead": "867186f22b1b891c92a74e63fbf81f86d6485632",
21
+ "gitHead": "579694d5468995065657b651f06ec9513d0476b6",
22
22
  "scripts": {
23
23
  "postpublish": "../../scripts/postpublish"
24
24
  },