@pie-element/drag-in-the-blank 5.9.1-next.18 → 5.9.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
  "type-of": "^2.0.1"
@@ -50,43 +50,6 @@
50
50
  "title": "disabled"
51
51
  }
52
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
53
  }
91
54
  }
92
55
  },
@@ -173,43 +136,6 @@
173
136
  "title": "disabled"
174
137
  }
175
138
  }
176
- },
177
- "customPlugins": {
178
- "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.",
179
- "type": "array",
180
- "items": {
181
- "title": "CustomPlugin",
182
- "type": "object",
183
- "properties": {
184
- "event": {
185
- "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\"",
186
- "type": "string",
187
- "title": "event"
188
- },
189
- "iconAlt": {
190
- "description": "The alt for the custom button icon",
191
- "type": "string",
192
- "title": "iconAlt"
193
- },
194
- "iconType": {
195
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
196
- "type": "string",
197
- "title": "iconType"
198
- },
199
- "icon": {
200
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
201
- "type": "string",
202
- "title": "icon"
203
- }
204
- },
205
- "required": [
206
- "event",
207
- "icon",
208
- "iconAlt",
209
- "iconType"
210
- ]
211
- },
212
- "title": "customPlugins"
213
139
  }
214
140
  }
215
141
  },
@@ -302,43 +228,6 @@
302
228
  "title": "disabled"
303
229
  }
304
230
  }
305
- },
306
- "customPlugins": {
307
- "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.",
308
- "type": "array",
309
- "items": {
310
- "title": "CustomPlugin",
311
- "type": "object",
312
- "properties": {
313
- "event": {
314
- "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\"",
315
- "type": "string",
316
- "title": "event"
317
- },
318
- "iconAlt": {
319
- "description": "The alt for the custom button icon",
320
- "type": "string",
321
- "title": "iconAlt"
322
- },
323
- "iconType": {
324
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
325
- "type": "string",
326
- "title": "iconType"
327
- },
328
- "icon": {
329
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
330
- "type": "string",
331
- "title": "icon"
332
- }
333
- },
334
- "required": [
335
- "event",
336
- "icon",
337
- "iconAlt",
338
- "iconType"
339
- ]
340
- },
341
- "title": "customPlugins"
342
231
  }
343
232
  }
344
233
  },
@@ -426,43 +315,6 @@
426
315
  "title": "disabled"
427
316
  }
428
317
  }
429
- },
430
- "customPlugins": {
431
- "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.",
432
- "type": "array",
433
- "items": {
434
- "title": "CustomPlugin",
435
- "type": "object",
436
- "properties": {
437
- "event": {
438
- "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\"",
439
- "type": "string",
440
- "title": "event"
441
- },
442
- "iconAlt": {
443
- "description": "The alt for the custom button icon",
444
- "type": "string",
445
- "title": "iconAlt"
446
- },
447
- "iconType": {
448
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
449
- "type": "string",
450
- "title": "iconType"
451
- },
452
- "icon": {
453
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
454
- "type": "string",
455
- "title": "icon"
456
- }
457
- },
458
- "required": [
459
- "event",
460
- "icon",
461
- "iconAlt",
462
- "iconType"
463
- ]
464
- },
465
- "title": "customPlugins"
466
318
  }
467
319
  }
468
320
  },
@@ -534,43 +386,6 @@
534
386
  "title": "disabled"
535
387
  }
536
388
  }
537
- },
538
- "customPlugins": {
539
- "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.",
540
- "type": "array",
541
- "items": {
542
- "title": "CustomPlugin",
543
- "type": "object",
544
- "properties": {
545
- "event": {
546
- "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\"",
547
- "type": "string",
548
- "title": "event"
549
- },
550
- "iconAlt": {
551
- "description": "The alt for the custom button icon",
552
- "type": "string",
553
- "title": "iconAlt"
554
- },
555
- "iconType": {
556
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
557
- "type": "string",
558
- "title": "iconType"
559
- },
560
- "icon": {
561
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
562
- "type": "string",
563
- "title": "icon"
564
- }
565
- },
566
- "required": [
567
- "event",
568
- "icon",
569
- "iconAlt",
570
- "iconType"
571
- ]
572
- },
573
- "title": "customPlugins"
574
389
  }
575
390
  }
576
391
  },
@@ -862,43 +677,6 @@
862
677
  "title": "disabled"
863
678
  }
864
679
  }
865
- },
866
- "customPlugins": {
867
- "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.",
868
- "type": "array",
869
- "items": {
870
- "title": "CustomPlugin",
871
- "type": "object",
872
- "properties": {
873
- "event": {
874
- "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\"",
875
- "type": "string",
876
- "title": "event"
877
- },
878
- "iconAlt": {
879
- "description": "The alt for the custom button icon",
880
- "type": "string",
881
- "title": "iconAlt"
882
- },
883
- "iconType": {
884
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
885
- "type": "string",
886
- "title": "iconType"
887
- },
888
- "icon": {
889
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
890
- "type": "string",
891
- "title": "icon"
892
- }
893
- },
894
- "required": [
895
- "event",
896
- "icon",
897
- "iconAlt",
898
- "iconType"
899
- ]
900
- },
901
- "title": "customPlugins"
902
680
  }
903
681
  }
904
682
  },
@@ -913,38 +691,6 @@
913
691
  }
914
692
  }
915
693
  },
916
- "CustomPlugin": {
917
- "title": "CustomPlugin",
918
- "type": "object",
919
- "properties": {
920
- "event": {
921
- "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\"",
922
- "type": "string",
923
- "title": "event"
924
- },
925
- "iconAlt": {
926
- "description": "The alt for the custom button icon",
927
- "type": "string",
928
- "title": "iconAlt"
929
- },
930
- "iconType": {
931
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
932
- "type": "string",
933
- "title": "iconType"
934
- },
935
- "icon": {
936
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
937
- "type": "string",
938
- "title": "icon"
939
- }
940
- },
941
- "required": [
942
- "event",
943
- "icon",
944
- "iconAlt",
945
- "iconType"
946
- ]
947
- },
948
694
  "ConfigureProp": {
949
695
  "title": "ConfigureProp",
950
696
  "type": "object",
@@ -1012,43 +758,6 @@
1012
758
  "title": "disabled"
1013
759
  }
1014
760
  }
1015
- },
1016
- "customPlugins": {
1017
- "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.",
1018
- "type": "array",
1019
- "items": {
1020
- "title": "CustomPlugin",
1021
- "type": "object",
1022
- "properties": {
1023
- "event": {
1024
- "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\"",
1025
- "type": "string",
1026
- "title": "event"
1027
- },
1028
- "iconAlt": {
1029
- "description": "The alt for the custom button icon",
1030
- "type": "string",
1031
- "title": "iconAlt"
1032
- },
1033
- "iconType": {
1034
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1035
- "type": "string",
1036
- "title": "iconType"
1037
- },
1038
- "icon": {
1039
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1040
- "type": "string",
1041
- "title": "icon"
1042
- }
1043
- },
1044
- "required": [
1045
- "event",
1046
- "icon",
1047
- "iconAlt",
1048
- "iconType"
1049
- ]
1050
- },
1051
- "title": "customPlugins"
1052
761
  }
1053
762
  }
1054
763
  },
@@ -1120,43 +829,6 @@
1120
829
  "title": "disabled"
1121
830
  }
1122
831
  }
1123
- },
1124
- "customPlugins": {
1125
- "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.",
1126
- "type": "array",
1127
- "items": {
1128
- "title": "CustomPlugin",
1129
- "type": "object",
1130
- "properties": {
1131
- "event": {
1132
- "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\"",
1133
- "type": "string",
1134
- "title": "event"
1135
- },
1136
- "iconAlt": {
1137
- "description": "The alt for the custom button icon",
1138
- "type": "string",
1139
- "title": "iconAlt"
1140
- },
1141
- "iconType": {
1142
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1143
- "type": "string",
1144
- "title": "iconType"
1145
- },
1146
- "icon": {
1147
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1148
- "type": "string",
1149
- "title": "icon"
1150
- }
1151
- },
1152
- "required": [
1153
- "event",
1154
- "icon",
1155
- "iconAlt",
1156
- "iconType"
1157
- ]
1158
- },
1159
- "title": "customPlugins"
1160
832
  }
1161
833
  }
1162
834
  },
@@ -38,35 +38,6 @@ Properties of the `image` object:
38
38
 
39
39
  Indicates if the plugin is disabled or not
40
40
 
41
- ## `customPlugins` (array)
42
-
43
- An array of objects that determine custom plugins.
44
- 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).
45
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
46
-
47
- The object is an array with all elements of the type `object`.
48
-
49
- The array object has the following properties:
50
-
51
- ### `event` (string, required)
52
-
53
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
54
- PIE will emit the event prefixed with "PIE-".
55
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
56
-
57
- ### `iconAlt` (string, required)
58
-
59
- The alt for the custom button icon
60
-
61
- ### `iconType` (string, required)
62
-
63
- The icon type.
64
- Currently, only "SVG" is supported.
65
-
66
- ### `icon` (string, required)
67
-
68
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
69
-
70
41
  # `choices` (object)
71
42
 
72
43
  Properties of the `choices` object:
@@ -131,35 +102,6 @@ Properties of the `image` object:
131
102
 
132
103
  Indicates if the plugin is disabled or not
133
104
 
134
- ### `customPlugins` (array)
135
-
136
- An array of objects that determine custom plugins.
137
- 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).
138
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
139
-
140
- The object is an array with all elements of the type `object`.
141
-
142
- The array object has the following properties:
143
-
144
- #### `event` (string, required)
145
-
146
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
147
- PIE will emit the event prefixed with "PIE-".
148
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
149
-
150
- #### `iconAlt` (string, required)
151
-
152
- The alt for the custom button icon
153
-
154
- #### `iconType` (string, required)
155
-
156
- The icon type.
157
- Currently, only "SVG" is supported.
158
-
159
- #### `icon` (string, required)
160
-
161
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
162
-
163
105
  ## `required` (boolean)
164
106
 
165
107
  Indicates if the item is required and the value cannot be empty
@@ -228,35 +170,6 @@ Properties of the `image` object:
228
170
 
229
171
  Indicates if the plugin is disabled or not
230
172
 
231
- ### `customPlugins` (array)
232
-
233
- An array of objects that determine custom plugins.
234
- 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).
235
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
236
-
237
- The object is an array with all elements of the type `object`.
238
-
239
- The array object has the following properties:
240
-
241
- #### `event` (string, required)
242
-
243
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
244
- PIE will emit the event prefixed with "PIE-".
245
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
246
-
247
- #### `iconAlt` (string, required)
248
-
249
- The alt for the custom button icon
250
-
251
- #### `iconType` (string, required)
252
-
253
- The icon type.
254
- Currently, only "SVG" is supported.
255
-
256
- #### `icon` (string, required)
257
-
258
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
259
-
260
173
  ## `required` (boolean)
261
174
 
262
175
  Indicates if the item is required and the value cannot be empty
@@ -321,35 +234,6 @@ Properties of the `image` object:
321
234
 
322
235
  Indicates if the plugin is disabled or not
323
236
 
324
- ### `customPlugins` (array)
325
-
326
- An array of objects that determine custom plugins.
327
- 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).
328
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
329
-
330
- The object is an array with all elements of the type `object`.
331
-
332
- The array object has the following properties:
333
-
334
- #### `event` (string, required)
335
-
336
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
337
- PIE will emit the event prefixed with "PIE-".
338
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
339
-
340
- #### `iconAlt` (string, required)
341
-
342
- The alt for the custom button icon
343
-
344
- #### `iconType` (string, required)
345
-
346
- The icon type.
347
- Currently, only "SVG" is supported.
348
-
349
- #### `icon` (string, required)
350
-
351
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
352
-
353
237
  ## `required` (boolean)
354
238
 
355
239
  Indicates if the item is required and the value cannot be empty
@@ -402,35 +286,6 @@ Properties of the `image` object:
402
286
 
403
287
  Indicates if the plugin is disabled or not
404
288
 
405
- ### `customPlugins` (array)
406
-
407
- An array of objects that determine custom plugins.
408
- 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).
409
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
410
-
411
- The object is an array with all elements of the type `object`.
412
-
413
- The array object has the following properties:
414
-
415
- #### `event` (string, required)
416
-
417
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
418
- PIE will emit the event prefixed with "PIE-".
419
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
420
-
421
- #### `iconAlt` (string, required)
422
-
423
- The alt for the custom button icon
424
-
425
- #### `iconType` (string, required)
426
-
427
- The icon type.
428
- Currently, only "SVG" is supported.
429
-
430
- #### `icon` (string, required)
431
-
432
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
433
-
434
289
  ## `settings` (boolean)
435
290
 
436
291
  Indicates if the item has to be displayed in the Settings Panel
@@ -653,35 +508,6 @@ Properties of the `image` object:
653
508
 
654
509
  Indicates if the plugin is disabled or not
655
510
 
656
- ### `customPlugins` (array)
657
-
658
- An array of objects that determine custom plugins.
659
- 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).
660
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
661
-
662
- The object is an array with all elements of the type `object`.
663
-
664
- The array object has the following properties:
665
-
666
- #### `event` (string, required)
667
-
668
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
669
- PIE will emit the event prefixed with "PIE-".
670
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
671
-
672
- #### `iconAlt` (string, required)
673
-
674
- The alt for the custom button icon
675
-
676
- #### `iconType` (string, required)
677
-
678
- The icon type.
679
- Currently, only "SVG" is supported.
680
-
681
- #### `icon` (string, required)
682
-
683
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
684
-
685
511
  ## `EditableHtmlButtonConfigure` (object)
686
512
 
687
513
  Properties of the `EditableHtmlButtonConfigure` object:
@@ -690,29 +516,6 @@ Properties of the `EditableHtmlButtonConfigure` object:
690
516
 
691
517
  Indicates if the plugin is disabled or not
692
518
 
693
- ## `CustomPlugin` (object)
694
-
695
- Properties of the `CustomPlugin` object:
696
-
697
- ### `event` (string, required)
698
-
699
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
700
- PIE will emit the event prefixed with "PIE-".
701
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
702
-
703
- ### `iconAlt` (string, required)
704
-
705
- The alt for the custom button icon
706
-
707
- ### `iconType` (string, required)
708
-
709
- The icon type.
710
- Currently, only "SVG" is supported.
711
-
712
- ### `icon` (string, required)
713
-
714
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
715
-
716
519
  ## `ConfigureProp` (object)
717
520
 
718
521
  Properties of the `ConfigureProp` object:
@@ -765,35 +568,6 @@ Properties of the `image` object:
765
568
 
766
569
  Indicates if the plugin is disabled or not
767
570
 
768
- #### `customPlugins` (array)
769
-
770
- An array of objects that determine custom plugins.
771
- 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).
772
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
773
-
774
- The object is an array with all elements of the type `object`.
775
-
776
- The array object has the following properties:
777
-
778
- ##### `event` (string, required)
779
-
780
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
781
- PIE will emit the event prefixed with "PIE-".
782
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
783
-
784
- ##### `iconAlt` (string, required)
785
-
786
- The alt for the custom button icon
787
-
788
- ##### `iconType` (string, required)
789
-
790
- The icon type.
791
- Currently, only "SVG" is supported.
792
-
793
- ##### `icon` (string, required)
794
-
795
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
796
-
797
571
  ### `required` (boolean)
798
572
 
799
573
  Indicates if the item is required and the value cannot be empty
@@ -846,35 +620,6 @@ Properties of the `image` object:
846
620
 
847
621
  Indicates if the plugin is disabled or not
848
622
 
849
- #### `customPlugins` (array)
850
-
851
- An array of objects that determine custom plugins.
852
- 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).
853
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
854
-
855
- The object is an array with all elements of the type `object`.
856
-
857
- The array object has the following properties:
858
-
859
- ##### `event` (string, required)
860
-
861
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
862
- PIE will emit the event prefixed with "PIE-".
863
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
864
-
865
- ##### `iconAlt` (string, required)
866
-
867
- The alt for the custom button icon
868
-
869
- ##### `iconType` (string, required)
870
-
871
- The icon type.
872
- Currently, only "SVG" is supported.
873
-
874
- ##### `icon` (string, required)
875
-
876
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
877
-
878
623
  ### `settings` (boolean)
879
624
 
880
625
  Indicates if the item has to be displayed in the Settings Panel
@@ -224,43 +224,6 @@
224
224
  "title": "disabled"
225
225
  }
226
226
  }
227
- },
228
- "customPlugins": {
229
- "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.",
230
- "type": "array",
231
- "items": {
232
- "title": "CustomPlugin",
233
- "type": "object",
234
- "properties": {
235
- "event": {
236
- "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\"",
237
- "type": "string",
238
- "title": "event"
239
- },
240
- "iconAlt": {
241
- "description": "The alt for the custom button icon",
242
- "type": "string",
243
- "title": "iconAlt"
244
- },
245
- "iconType": {
246
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
247
- "type": "string",
248
- "title": "iconType"
249
- },
250
- "icon": {
251
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
252
- "type": "string",
253
- "title": "icon"
254
- }
255
- },
256
- "required": [
257
- "event",
258
- "icon",
259
- "iconAlt",
260
- "iconType"
261
- ]
262
- },
263
- "title": "customPlugins"
264
227
  }
265
228
  }
266
229
  },
@@ -275,38 +238,6 @@
275
238
  }
276
239
  }
277
240
  },
278
- "CustomPlugin": {
279
- "title": "CustomPlugin",
280
- "type": "object",
281
- "properties": {
282
- "event": {
283
- "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\"",
284
- "type": "string",
285
- "title": "event"
286
- },
287
- "iconAlt": {
288
- "description": "The alt for the custom button icon",
289
- "type": "string",
290
- "title": "iconAlt"
291
- },
292
- "iconType": {
293
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
294
- "type": "string",
295
- "title": "iconType"
296
- },
297
- "icon": {
298
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
299
- "type": "string",
300
- "title": "icon"
301
- }
302
- },
303
- "required": [
304
- "event",
305
- "icon",
306
- "iconAlt",
307
- "iconType"
308
- ]
309
- },
310
241
  "ConfigureProp": {
311
242
  "title": "ConfigureProp",
312
243
  "type": "object",
@@ -374,43 +305,6 @@
374
305
  "title": "disabled"
375
306
  }
376
307
  }
377
- },
378
- "customPlugins": {
379
- "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.",
380
- "type": "array",
381
- "items": {
382
- "title": "CustomPlugin",
383
- "type": "object",
384
- "properties": {
385
- "event": {
386
- "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\"",
387
- "type": "string",
388
- "title": "event"
389
- },
390
- "iconAlt": {
391
- "description": "The alt for the custom button icon",
392
- "type": "string",
393
- "title": "iconAlt"
394
- },
395
- "iconType": {
396
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
397
- "type": "string",
398
- "title": "iconType"
399
- },
400
- "icon": {
401
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
402
- "type": "string",
403
- "title": "icon"
404
- }
405
- },
406
- "required": [
407
- "event",
408
- "icon",
409
- "iconAlt",
410
- "iconType"
411
- ]
412
- },
413
- "title": "customPlugins"
414
308
  }
415
309
  }
416
310
  },
@@ -482,43 +376,6 @@
482
376
  "title": "disabled"
483
377
  }
484
378
  }
485
- },
486
- "customPlugins": {
487
- "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.",
488
- "type": "array",
489
- "items": {
490
- "title": "CustomPlugin",
491
- "type": "object",
492
- "properties": {
493
- "event": {
494
- "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\"",
495
- "type": "string",
496
- "title": "event"
497
- },
498
- "iconAlt": {
499
- "description": "The alt for the custom button icon",
500
- "type": "string",
501
- "title": "iconAlt"
502
- },
503
- "iconType": {
504
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
505
- "type": "string",
506
- "title": "iconType"
507
- },
508
- "icon": {
509
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
510
- "type": "string",
511
- "title": "icon"
512
- }
513
- },
514
- "required": [
515
- "event",
516
- "icon",
517
- "iconAlt",
518
- "iconType"
519
- ]
520
- },
521
- "title": "customPlugins"
522
379
  }
523
380
  }
524
381
  },
@@ -163,35 +163,6 @@ Properties of the `image` object:
163
163
 
164
164
  Indicates if the plugin is disabled or not
165
165
 
166
- ### `customPlugins` (array)
167
-
168
- An array of objects that determine custom plugins.
169
- 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).
170
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
171
-
172
- The object is an array with all elements of the type `object`.
173
-
174
- The array object has the following properties:
175
-
176
- #### `event` (string, required)
177
-
178
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
179
- PIE will emit the event prefixed with "PIE-".
180
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
181
-
182
- #### `iconAlt` (string, required)
183
-
184
- The alt for the custom button icon
185
-
186
- #### `iconType` (string, required)
187
-
188
- The icon type.
189
- Currently, only "SVG" is supported.
190
-
191
- #### `icon` (string, required)
192
-
193
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
194
-
195
166
  ## `EditableHtmlButtonConfigure` (object)
196
167
 
197
168
  Properties of the `EditableHtmlButtonConfigure` object:
@@ -200,29 +171,6 @@ Properties of the `EditableHtmlButtonConfigure` object:
200
171
 
201
172
  Indicates if the plugin is disabled or not
202
173
 
203
- ## `CustomPlugin` (object)
204
-
205
- Properties of the `CustomPlugin` object:
206
-
207
- ### `event` (string, required)
208
-
209
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
210
- PIE will emit the event prefixed with "PIE-".
211
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
212
-
213
- ### `iconAlt` (string, required)
214
-
215
- The alt for the custom button icon
216
-
217
- ### `iconType` (string, required)
218
-
219
- The icon type.
220
- Currently, only "SVG" is supported.
221
-
222
- ### `icon` (string, required)
223
-
224
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
225
-
226
174
  ## `ConfigureProp` (object)
227
175
 
228
176
  Properties of the `ConfigureProp` object:
@@ -275,35 +223,6 @@ Properties of the `image` object:
275
223
 
276
224
  Indicates if the plugin is disabled or not
277
225
 
278
- #### `customPlugins` (array)
279
-
280
- An array of objects that determine custom plugins.
281
- 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).
282
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
283
-
284
- The object is an array with all elements of the type `object`.
285
-
286
- The array object has the following properties:
287
-
288
- ##### `event` (string, required)
289
-
290
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
291
- PIE will emit the event prefixed with "PIE-".
292
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
293
-
294
- ##### `iconAlt` (string, required)
295
-
296
- The alt for the custom button icon
297
-
298
- ##### `iconType` (string, required)
299
-
300
- The icon type.
301
- Currently, only "SVG" is supported.
302
-
303
- ##### `icon` (string, required)
304
-
305
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
306
-
307
226
  ### `required` (boolean)
308
227
 
309
228
  Indicates if the item is required and the value cannot be empty
@@ -356,35 +275,6 @@ Properties of the `image` object:
356
275
 
357
276
  Indicates if the plugin is disabled or not
358
277
 
359
- #### `customPlugins` (array)
360
-
361
- An array of objects that determine custom plugins.
362
- 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).
363
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
364
-
365
- The object is an array with all elements of the type `object`.
366
-
367
- The array object has the following properties:
368
-
369
- ##### `event` (string, required)
370
-
371
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
372
- PIE will emit the event prefixed with "PIE-".
373
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
374
-
375
- ##### `iconAlt` (string, required)
376
-
377
- The alt for the custom button icon
378
-
379
- ##### `iconType` (string, required)
380
-
381
- The icon type.
382
- Currently, only "SVG" is supported.
383
-
384
- ##### `icon` (string, required)
385
-
386
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
387
-
388
278
  ### `settings` (boolean)
389
279
 
390
280
  Indicates if the item has to be displayed in the Settings Panel
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "repository": "pie-framework/pie-elements",
7
- "version": "5.9.1-next.18+867186f22",
7
+ "version": "5.9.1-next.5+579694d54",
8
8
  "description": "",
9
9
  "scripts": {
10
10
  "postpublish": "../../scripts/postpublish"
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "@material-ui/core": "^3.9.2",
14
14
  "@pie-framework/pie-player-events": "^0.1.0",
15
- "@pie-lib/pie-toolbox": "1.13.0",
15
+ "@pie-lib/pie-toolbox": "1.12.3",
16
16
  "classnames": "^2.2.5",
17
17
  "lodash": "^4.17.10",
18
18
  "prop-types": "^15.6.1",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "author": "",
23
23
  "license": "ISC",
24
- "gitHead": "867186f22b1b891c92a74e63fbf81f86d6485632",
24
+ "gitHead": "579694d5468995065657b651f06ec9513d0476b6",
25
25
  "main": "lib/index.js",
26
26
  "module": "src/index.js"
27
27
  }