@pie-element/categorize 8.12.1-next.16 → 8.12.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.
- package/docs/config-schema.json +0 -365
- package/docs/config-schema.json.md +0 -284
- package/docs/pie-schema.json +0 -143
- package/docs/pie-schema.json.md +0 -110
- package/package.json +2 -2
package/docs/config-schema.json
CHANGED
|
@@ -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
|
},
|
|
@@ -157,43 +120,6 @@
|
|
|
157
120
|
"title": "disabled"
|
|
158
121
|
}
|
|
159
122
|
}
|
|
160
|
-
},
|
|
161
|
-
"customPlugins": {
|
|
162
|
-
"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.",
|
|
163
|
-
"type": "array",
|
|
164
|
-
"items": {
|
|
165
|
-
"title": "CustomPlugin",
|
|
166
|
-
"type": "object",
|
|
167
|
-
"properties": {
|
|
168
|
-
"event": {
|
|
169
|
-
"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\"",
|
|
170
|
-
"type": "string",
|
|
171
|
-
"title": "event"
|
|
172
|
-
},
|
|
173
|
-
"iconAlt": {
|
|
174
|
-
"description": "The alt for the custom button icon",
|
|
175
|
-
"type": "string",
|
|
176
|
-
"title": "iconAlt"
|
|
177
|
-
},
|
|
178
|
-
"iconType": {
|
|
179
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
180
|
-
"type": "string",
|
|
181
|
-
"title": "iconType"
|
|
182
|
-
},
|
|
183
|
-
"icon": {
|
|
184
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
185
|
-
"type": "string",
|
|
186
|
-
"title": "icon"
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
"required": [
|
|
190
|
-
"event",
|
|
191
|
-
"icon",
|
|
192
|
-
"iconAlt",
|
|
193
|
-
"iconType"
|
|
194
|
-
]
|
|
195
|
-
},
|
|
196
|
-
"title": "customPlugins"
|
|
197
123
|
}
|
|
198
124
|
}
|
|
199
125
|
},
|
|
@@ -318,43 +244,6 @@
|
|
|
318
244
|
"title": "disabled"
|
|
319
245
|
}
|
|
320
246
|
}
|
|
321
|
-
},
|
|
322
|
-
"customPlugins": {
|
|
323
|
-
"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.",
|
|
324
|
-
"type": "array",
|
|
325
|
-
"items": {
|
|
326
|
-
"title": "CustomPlugin",
|
|
327
|
-
"type": "object",
|
|
328
|
-
"properties": {
|
|
329
|
-
"event": {
|
|
330
|
-
"description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
|
|
331
|
-
"type": "string",
|
|
332
|
-
"title": "event"
|
|
333
|
-
},
|
|
334
|
-
"iconAlt": {
|
|
335
|
-
"description": "The alt for the custom button icon",
|
|
336
|
-
"type": "string",
|
|
337
|
-
"title": "iconAlt"
|
|
338
|
-
},
|
|
339
|
-
"iconType": {
|
|
340
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
341
|
-
"type": "string",
|
|
342
|
-
"title": "iconType"
|
|
343
|
-
},
|
|
344
|
-
"icon": {
|
|
345
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
346
|
-
"type": "string",
|
|
347
|
-
"title": "icon"
|
|
348
|
-
}
|
|
349
|
-
},
|
|
350
|
-
"required": [
|
|
351
|
-
"event",
|
|
352
|
-
"icon",
|
|
353
|
-
"iconAlt",
|
|
354
|
-
"iconType"
|
|
355
|
-
]
|
|
356
|
-
},
|
|
357
|
-
"title": "customPlugins"
|
|
358
247
|
}
|
|
359
248
|
}
|
|
360
249
|
},
|
|
@@ -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
|
},
|
|
@@ -637,43 +452,6 @@
|
|
|
637
452
|
"title": "disabled"
|
|
638
453
|
}
|
|
639
454
|
}
|
|
640
|
-
},
|
|
641
|
-
"customPlugins": {
|
|
642
|
-
"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.",
|
|
643
|
-
"type": "array",
|
|
644
|
-
"items": {
|
|
645
|
-
"title": "CustomPlugin",
|
|
646
|
-
"type": "object",
|
|
647
|
-
"properties": {
|
|
648
|
-
"event": {
|
|
649
|
-
"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\"",
|
|
650
|
-
"type": "string",
|
|
651
|
-
"title": "event"
|
|
652
|
-
},
|
|
653
|
-
"iconAlt": {
|
|
654
|
-
"description": "The alt for the custom button icon",
|
|
655
|
-
"type": "string",
|
|
656
|
-
"title": "iconAlt"
|
|
657
|
-
},
|
|
658
|
-
"iconType": {
|
|
659
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
660
|
-
"type": "string",
|
|
661
|
-
"title": "iconType"
|
|
662
|
-
},
|
|
663
|
-
"icon": {
|
|
664
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
665
|
-
"type": "string",
|
|
666
|
-
"title": "icon"
|
|
667
|
-
}
|
|
668
|
-
},
|
|
669
|
-
"required": [
|
|
670
|
-
"event",
|
|
671
|
-
"icon",
|
|
672
|
-
"iconAlt",
|
|
673
|
-
"iconType"
|
|
674
|
-
]
|
|
675
|
-
},
|
|
676
|
-
"title": "customPlugins"
|
|
677
455
|
}
|
|
678
456
|
}
|
|
679
457
|
},
|
|
@@ -988,43 +766,6 @@
|
|
|
988
766
|
"title": "disabled"
|
|
989
767
|
}
|
|
990
768
|
}
|
|
991
|
-
},
|
|
992
|
-
"customPlugins": {
|
|
993
|
-
"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.",
|
|
994
|
-
"type": "array",
|
|
995
|
-
"items": {
|
|
996
|
-
"title": "CustomPlugin",
|
|
997
|
-
"type": "object",
|
|
998
|
-
"properties": {
|
|
999
|
-
"event": {
|
|
1000
|
-
"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\"",
|
|
1001
|
-
"type": "string",
|
|
1002
|
-
"title": "event"
|
|
1003
|
-
},
|
|
1004
|
-
"iconAlt": {
|
|
1005
|
-
"description": "The alt for the custom button icon",
|
|
1006
|
-
"type": "string",
|
|
1007
|
-
"title": "iconAlt"
|
|
1008
|
-
},
|
|
1009
|
-
"iconType": {
|
|
1010
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
1011
|
-
"type": "string",
|
|
1012
|
-
"title": "iconType"
|
|
1013
|
-
},
|
|
1014
|
-
"icon": {
|
|
1015
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
1016
|
-
"type": "string",
|
|
1017
|
-
"title": "icon"
|
|
1018
|
-
}
|
|
1019
|
-
},
|
|
1020
|
-
"required": [
|
|
1021
|
-
"event",
|
|
1022
|
-
"icon",
|
|
1023
|
-
"iconAlt",
|
|
1024
|
-
"iconType"
|
|
1025
|
-
]
|
|
1026
|
-
},
|
|
1027
|
-
"title": "customPlugins"
|
|
1028
769
|
}
|
|
1029
770
|
}
|
|
1030
771
|
},
|
|
@@ -1039,38 +780,6 @@
|
|
|
1039
780
|
}
|
|
1040
781
|
}
|
|
1041
782
|
},
|
|
1042
|
-
"CustomPlugin": {
|
|
1043
|
-
"title": "CustomPlugin",
|
|
1044
|
-
"type": "object",
|
|
1045
|
-
"properties": {
|
|
1046
|
-
"event": {
|
|
1047
|
-
"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\"",
|
|
1048
|
-
"type": "string",
|
|
1049
|
-
"title": "event"
|
|
1050
|
-
},
|
|
1051
|
-
"iconAlt": {
|
|
1052
|
-
"description": "The alt for the custom button icon",
|
|
1053
|
-
"type": "string",
|
|
1054
|
-
"title": "iconAlt"
|
|
1055
|
-
},
|
|
1056
|
-
"iconType": {
|
|
1057
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
1058
|
-
"type": "string",
|
|
1059
|
-
"title": "iconType"
|
|
1060
|
-
},
|
|
1061
|
-
"icon": {
|
|
1062
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
1063
|
-
"type": "string",
|
|
1064
|
-
"title": "icon"
|
|
1065
|
-
}
|
|
1066
|
-
},
|
|
1067
|
-
"required": [
|
|
1068
|
-
"event",
|
|
1069
|
-
"icon",
|
|
1070
|
-
"iconAlt",
|
|
1071
|
-
"iconType"
|
|
1072
|
-
]
|
|
1073
|
-
},
|
|
1074
783
|
"ConfigureProp": {
|
|
1075
784
|
"title": "ConfigureProp",
|
|
1076
785
|
"type": "object",
|
|
@@ -1138,43 +847,6 @@
|
|
|
1138
847
|
"title": "disabled"
|
|
1139
848
|
}
|
|
1140
849
|
}
|
|
1141
|
-
},
|
|
1142
|
-
"customPlugins": {
|
|
1143
|
-
"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.",
|
|
1144
|
-
"type": "array",
|
|
1145
|
-
"items": {
|
|
1146
|
-
"title": "CustomPlugin",
|
|
1147
|
-
"type": "object",
|
|
1148
|
-
"properties": {
|
|
1149
|
-
"event": {
|
|
1150
|
-
"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\"",
|
|
1151
|
-
"type": "string",
|
|
1152
|
-
"title": "event"
|
|
1153
|
-
},
|
|
1154
|
-
"iconAlt": {
|
|
1155
|
-
"description": "The alt for the custom button icon",
|
|
1156
|
-
"type": "string",
|
|
1157
|
-
"title": "iconAlt"
|
|
1158
|
-
},
|
|
1159
|
-
"iconType": {
|
|
1160
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
1161
|
-
"type": "string",
|
|
1162
|
-
"title": "iconType"
|
|
1163
|
-
},
|
|
1164
|
-
"icon": {
|
|
1165
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
1166
|
-
"type": "string",
|
|
1167
|
-
"title": "icon"
|
|
1168
|
-
}
|
|
1169
|
-
},
|
|
1170
|
-
"required": [
|
|
1171
|
-
"event",
|
|
1172
|
-
"icon",
|
|
1173
|
-
"iconAlt",
|
|
1174
|
-
"iconType"
|
|
1175
|
-
]
|
|
1176
|
-
},
|
|
1177
|
-
"title": "customPlugins"
|
|
1178
850
|
}
|
|
1179
851
|
}
|
|
1180
852
|
},
|
|
@@ -1246,43 +918,6 @@
|
|
|
1246
918
|
"title": "disabled"
|
|
1247
919
|
}
|
|
1248
920
|
}
|
|
1249
|
-
},
|
|
1250
|
-
"customPlugins": {
|
|
1251
|
-
"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.",
|
|
1252
|
-
"type": "array",
|
|
1253
|
-
"items": {
|
|
1254
|
-
"title": "CustomPlugin",
|
|
1255
|
-
"type": "object",
|
|
1256
|
-
"properties": {
|
|
1257
|
-
"event": {
|
|
1258
|
-
"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\"",
|
|
1259
|
-
"type": "string",
|
|
1260
|
-
"title": "event"
|
|
1261
|
-
},
|
|
1262
|
-
"iconAlt": {
|
|
1263
|
-
"description": "The alt for the custom button icon",
|
|
1264
|
-
"type": "string",
|
|
1265
|
-
"title": "iconAlt"
|
|
1266
|
-
},
|
|
1267
|
-
"iconType": {
|
|
1268
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
1269
|
-
"type": "string",
|
|
1270
|
-
"title": "iconType"
|
|
1271
|
-
},
|
|
1272
|
-
"icon": {
|
|
1273
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
1274
|
-
"type": "string",
|
|
1275
|
-
"title": "icon"
|
|
1276
|
-
}
|
|
1277
|
-
},
|
|
1278
|
-
"required": [
|
|
1279
|
-
"event",
|
|
1280
|
-
"icon",
|
|
1281
|
-
"iconAlt",
|
|
1282
|
-
"iconType"
|
|
1283
|
-
]
|
|
1284
|
-
},
|
|
1285
|
-
"title": "customPlugins"
|
|
1286
921
|
}
|
|
1287
922
|
}
|
|
1288
923
|
},
|
|
@@ -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
|
# `partialScoring` (object)
|
|
71
42
|
|
|
72
43
|
Properties of the `partialScoring` object:
|
|
@@ -119,35 +90,6 @@ Properties of the `image` object:
|
|
|
119
90
|
|
|
120
91
|
Indicates if the plugin is disabled or not
|
|
121
92
|
|
|
122
|
-
### `customPlugins` (array)
|
|
123
|
-
|
|
124
|
-
An array of objects that determine custom plugins.
|
|
125
|
-
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).
|
|
126
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
127
|
-
|
|
128
|
-
The object is an array with all elements of the type `object`.
|
|
129
|
-
|
|
130
|
-
The array object has the following properties:
|
|
131
|
-
|
|
132
|
-
#### `event` (string, required)
|
|
133
|
-
|
|
134
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
135
|
-
PIE will emit the event prefixed with "PIE-".
|
|
136
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
137
|
-
|
|
138
|
-
#### `iconAlt` (string, required)
|
|
139
|
-
|
|
140
|
-
The alt for the custom button icon
|
|
141
|
-
|
|
142
|
-
#### `iconType` (string, required)
|
|
143
|
-
|
|
144
|
-
The icon type.
|
|
145
|
-
Currently, only "SVG" is supported.
|
|
146
|
-
|
|
147
|
-
#### `icon` (string, required)
|
|
148
|
-
|
|
149
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
150
|
-
|
|
151
93
|
## `required` (boolean)
|
|
152
94
|
|
|
153
95
|
Indicates if the item is required and the value cannot be empty
|
|
@@ -240,35 +182,6 @@ Properties of the `image` object:
|
|
|
240
182
|
|
|
241
183
|
Indicates if the plugin is disabled or not
|
|
242
184
|
|
|
243
|
-
### `customPlugins` (array)
|
|
244
|
-
|
|
245
|
-
An array of objects that determine custom plugins.
|
|
246
|
-
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).
|
|
247
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
248
|
-
|
|
249
|
-
The object is an array with all elements of the type `object`.
|
|
250
|
-
|
|
251
|
-
The array object has the following properties:
|
|
252
|
-
|
|
253
|
-
#### `event` (string, required)
|
|
254
|
-
|
|
255
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
256
|
-
PIE will emit the event prefixed with "PIE-".
|
|
257
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
258
|
-
|
|
259
|
-
#### `iconAlt` (string, required)
|
|
260
|
-
|
|
261
|
-
The alt for the custom button icon
|
|
262
|
-
|
|
263
|
-
#### `iconType` (string, required)
|
|
264
|
-
|
|
265
|
-
The icon type.
|
|
266
|
-
Currently, only "SVG" is supported.
|
|
267
|
-
|
|
268
|
-
#### `icon` (string, required)
|
|
269
|
-
|
|
270
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
271
|
-
|
|
272
185
|
## `required` (boolean)
|
|
273
186
|
|
|
274
187
|
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
|
|
@@ -479,35 +334,6 @@ Properties of the `image` object:
|
|
|
479
334
|
|
|
480
335
|
Indicates if the plugin is disabled or not
|
|
481
336
|
|
|
482
|
-
### `customPlugins` (array)
|
|
483
|
-
|
|
484
|
-
An array of objects that determine custom plugins.
|
|
485
|
-
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).
|
|
486
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
487
|
-
|
|
488
|
-
The object is an array with all elements of the type `object`.
|
|
489
|
-
|
|
490
|
-
The array object has the following properties:
|
|
491
|
-
|
|
492
|
-
#### `event` (string, required)
|
|
493
|
-
|
|
494
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
495
|
-
PIE will emit the event prefixed with "PIE-".
|
|
496
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
497
|
-
|
|
498
|
-
#### `iconAlt` (string, required)
|
|
499
|
-
|
|
500
|
-
The alt for the custom button icon
|
|
501
|
-
|
|
502
|
-
#### `iconType` (string, required)
|
|
503
|
-
|
|
504
|
-
The icon type.
|
|
505
|
-
Currently, only "SVG" is supported.
|
|
506
|
-
|
|
507
|
-
#### `icon` (string, required)
|
|
508
|
-
|
|
509
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
510
|
-
|
|
511
337
|
## `settings` (boolean)
|
|
512
338
|
|
|
513
339
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -746,35 +572,6 @@ Properties of the `image` object:
|
|
|
746
572
|
|
|
747
573
|
Indicates if the plugin is disabled or not
|
|
748
574
|
|
|
749
|
-
### `customPlugins` (array)
|
|
750
|
-
|
|
751
|
-
An array of objects that determine custom plugins.
|
|
752
|
-
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).
|
|
753
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
754
|
-
|
|
755
|
-
The object is an array with all elements of the type `object`.
|
|
756
|
-
|
|
757
|
-
The array object has the following properties:
|
|
758
|
-
|
|
759
|
-
#### `event` (string, required)
|
|
760
|
-
|
|
761
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
762
|
-
PIE will emit the event prefixed with "PIE-".
|
|
763
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
764
|
-
|
|
765
|
-
#### `iconAlt` (string, required)
|
|
766
|
-
|
|
767
|
-
The alt for the custom button icon
|
|
768
|
-
|
|
769
|
-
#### `iconType` (string, required)
|
|
770
|
-
|
|
771
|
-
The icon type.
|
|
772
|
-
Currently, only "SVG" is supported.
|
|
773
|
-
|
|
774
|
-
#### `icon` (string, required)
|
|
775
|
-
|
|
776
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
777
|
-
|
|
778
575
|
## `EditableHtmlButtonConfigure` (object)
|
|
779
576
|
|
|
780
577
|
Properties of the `EditableHtmlButtonConfigure` object:
|
|
@@ -783,29 +580,6 @@ Properties of the `EditableHtmlButtonConfigure` object:
|
|
|
783
580
|
|
|
784
581
|
Indicates if the plugin is disabled or not
|
|
785
582
|
|
|
786
|
-
## `CustomPlugin` (object)
|
|
787
|
-
|
|
788
|
-
Properties of the `CustomPlugin` object:
|
|
789
|
-
|
|
790
|
-
### `event` (string, required)
|
|
791
|
-
|
|
792
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
793
|
-
PIE will emit the event prefixed with "PIE-".
|
|
794
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
795
|
-
|
|
796
|
-
### `iconAlt` (string, required)
|
|
797
|
-
|
|
798
|
-
The alt for the custom button icon
|
|
799
|
-
|
|
800
|
-
### `iconType` (string, required)
|
|
801
|
-
|
|
802
|
-
The icon type.
|
|
803
|
-
Currently, only "SVG" is supported.
|
|
804
|
-
|
|
805
|
-
### `icon` (string, required)
|
|
806
|
-
|
|
807
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
808
|
-
|
|
809
583
|
## `ConfigureProp` (object)
|
|
810
584
|
|
|
811
585
|
Properties of the `ConfigureProp` object:
|
|
@@ -858,35 +632,6 @@ Properties of the `image` object:
|
|
|
858
632
|
|
|
859
633
|
Indicates if the plugin is disabled or not
|
|
860
634
|
|
|
861
|
-
#### `customPlugins` (array)
|
|
862
|
-
|
|
863
|
-
An array of objects that determine custom plugins.
|
|
864
|
-
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).
|
|
865
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
866
|
-
|
|
867
|
-
The object is an array with all elements of the type `object`.
|
|
868
|
-
|
|
869
|
-
The array object has the following properties:
|
|
870
|
-
|
|
871
|
-
##### `event` (string, required)
|
|
872
|
-
|
|
873
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
874
|
-
PIE will emit the event prefixed with "PIE-".
|
|
875
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
876
|
-
|
|
877
|
-
##### `iconAlt` (string, required)
|
|
878
|
-
|
|
879
|
-
The alt for the custom button icon
|
|
880
|
-
|
|
881
|
-
##### `iconType` (string, required)
|
|
882
|
-
|
|
883
|
-
The icon type.
|
|
884
|
-
Currently, only "SVG" is supported.
|
|
885
|
-
|
|
886
|
-
##### `icon` (string, required)
|
|
887
|
-
|
|
888
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
889
|
-
|
|
890
635
|
### `required` (boolean)
|
|
891
636
|
|
|
892
637
|
Indicates if the item is required and the value cannot be empty
|
|
@@ -939,35 +684,6 @@ Properties of the `image` object:
|
|
|
939
684
|
|
|
940
685
|
Indicates if the plugin is disabled or not
|
|
941
686
|
|
|
942
|
-
#### `customPlugins` (array)
|
|
943
|
-
|
|
944
|
-
An array of objects that determine custom plugins.
|
|
945
|
-
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).
|
|
946
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
947
|
-
|
|
948
|
-
The object is an array with all elements of the type `object`.
|
|
949
|
-
|
|
950
|
-
The array object has the following properties:
|
|
951
|
-
|
|
952
|
-
##### `event` (string, required)
|
|
953
|
-
|
|
954
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
955
|
-
PIE will emit the event prefixed with "PIE-".
|
|
956
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
957
|
-
|
|
958
|
-
##### `iconAlt` (string, required)
|
|
959
|
-
|
|
960
|
-
The alt for the custom button icon
|
|
961
|
-
|
|
962
|
-
##### `iconType` (string, required)
|
|
963
|
-
|
|
964
|
-
The icon type.
|
|
965
|
-
Currently, only "SVG" is supported.
|
|
966
|
-
|
|
967
|
-
##### `icon` (string, required)
|
|
968
|
-
|
|
969
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
970
|
-
|
|
971
687
|
### `settings` (boolean)
|
|
972
688
|
|
|
973
689
|
Indicates if the item has to be displayed in the Settings Panel
|
package/docs/pie-schema.json
CHANGED
|
@@ -492,43 +492,6 @@
|
|
|
492
492
|
"title": "disabled"
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
},
|
|
496
|
-
"customPlugins": {
|
|
497
|
-
"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.",
|
|
498
|
-
"type": "array",
|
|
499
|
-
"items": {
|
|
500
|
-
"title": "CustomPlugin",
|
|
501
|
-
"type": "object",
|
|
502
|
-
"properties": {
|
|
503
|
-
"event": {
|
|
504
|
-
"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\"",
|
|
505
|
-
"type": "string",
|
|
506
|
-
"title": "event"
|
|
507
|
-
},
|
|
508
|
-
"iconAlt": {
|
|
509
|
-
"description": "The alt for the custom button icon",
|
|
510
|
-
"type": "string",
|
|
511
|
-
"title": "iconAlt"
|
|
512
|
-
},
|
|
513
|
-
"iconType": {
|
|
514
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
515
|
-
"type": "string",
|
|
516
|
-
"title": "iconType"
|
|
517
|
-
},
|
|
518
|
-
"icon": {
|
|
519
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
520
|
-
"type": "string",
|
|
521
|
-
"title": "icon"
|
|
522
|
-
}
|
|
523
|
-
},
|
|
524
|
-
"required": [
|
|
525
|
-
"event",
|
|
526
|
-
"icon",
|
|
527
|
-
"iconAlt",
|
|
528
|
-
"iconType"
|
|
529
|
-
]
|
|
530
|
-
},
|
|
531
|
-
"title": "customPlugins"
|
|
532
495
|
}
|
|
533
496
|
}
|
|
534
497
|
},
|
|
@@ -543,38 +506,6 @@
|
|
|
543
506
|
}
|
|
544
507
|
}
|
|
545
508
|
},
|
|
546
|
-
"CustomPlugin": {
|
|
547
|
-
"title": "CustomPlugin",
|
|
548
|
-
"type": "object",
|
|
549
|
-
"properties": {
|
|
550
|
-
"event": {
|
|
551
|
-
"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\"",
|
|
552
|
-
"type": "string",
|
|
553
|
-
"title": "event"
|
|
554
|
-
},
|
|
555
|
-
"iconAlt": {
|
|
556
|
-
"description": "The alt for the custom button icon",
|
|
557
|
-
"type": "string",
|
|
558
|
-
"title": "iconAlt"
|
|
559
|
-
},
|
|
560
|
-
"iconType": {
|
|
561
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
562
|
-
"type": "string",
|
|
563
|
-
"title": "iconType"
|
|
564
|
-
},
|
|
565
|
-
"icon": {
|
|
566
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
567
|
-
"type": "string",
|
|
568
|
-
"title": "icon"
|
|
569
|
-
}
|
|
570
|
-
},
|
|
571
|
-
"required": [
|
|
572
|
-
"event",
|
|
573
|
-
"icon",
|
|
574
|
-
"iconAlt",
|
|
575
|
-
"iconType"
|
|
576
|
-
]
|
|
577
|
-
},
|
|
578
509
|
"ConfigureProp": {
|
|
579
510
|
"title": "ConfigureProp",
|
|
580
511
|
"type": "object",
|
|
@@ -642,43 +573,6 @@
|
|
|
642
573
|
"title": "disabled"
|
|
643
574
|
}
|
|
644
575
|
}
|
|
645
|
-
},
|
|
646
|
-
"customPlugins": {
|
|
647
|
-
"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.",
|
|
648
|
-
"type": "array",
|
|
649
|
-
"items": {
|
|
650
|
-
"title": "CustomPlugin",
|
|
651
|
-
"type": "object",
|
|
652
|
-
"properties": {
|
|
653
|
-
"event": {
|
|
654
|
-
"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\"",
|
|
655
|
-
"type": "string",
|
|
656
|
-
"title": "event"
|
|
657
|
-
},
|
|
658
|
-
"iconAlt": {
|
|
659
|
-
"description": "The alt for the custom button icon",
|
|
660
|
-
"type": "string",
|
|
661
|
-
"title": "iconAlt"
|
|
662
|
-
},
|
|
663
|
-
"iconType": {
|
|
664
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
665
|
-
"type": "string",
|
|
666
|
-
"title": "iconType"
|
|
667
|
-
},
|
|
668
|
-
"icon": {
|
|
669
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
670
|
-
"type": "string",
|
|
671
|
-
"title": "icon"
|
|
672
|
-
}
|
|
673
|
-
},
|
|
674
|
-
"required": [
|
|
675
|
-
"event",
|
|
676
|
-
"icon",
|
|
677
|
-
"iconAlt",
|
|
678
|
-
"iconType"
|
|
679
|
-
]
|
|
680
|
-
},
|
|
681
|
-
"title": "customPlugins"
|
|
682
576
|
}
|
|
683
577
|
}
|
|
684
578
|
},
|
|
@@ -750,43 +644,6 @@
|
|
|
750
644
|
"title": "disabled"
|
|
751
645
|
}
|
|
752
646
|
}
|
|
753
|
-
},
|
|
754
|
-
"customPlugins": {
|
|
755
|
-
"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.",
|
|
756
|
-
"type": "array",
|
|
757
|
-
"items": {
|
|
758
|
-
"title": "CustomPlugin",
|
|
759
|
-
"type": "object",
|
|
760
|
-
"properties": {
|
|
761
|
-
"event": {
|
|
762
|
-
"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\"",
|
|
763
|
-
"type": "string",
|
|
764
|
-
"title": "event"
|
|
765
|
-
},
|
|
766
|
-
"iconAlt": {
|
|
767
|
-
"description": "The alt for the custom button icon",
|
|
768
|
-
"type": "string",
|
|
769
|
-
"title": "iconAlt"
|
|
770
|
-
},
|
|
771
|
-
"iconType": {
|
|
772
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
773
|
-
"type": "string",
|
|
774
|
-
"title": "iconType"
|
|
775
|
-
},
|
|
776
|
-
"icon": {
|
|
777
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
778
|
-
"type": "string",
|
|
779
|
-
"title": "icon"
|
|
780
|
-
}
|
|
781
|
-
},
|
|
782
|
-
"required": [
|
|
783
|
-
"event",
|
|
784
|
-
"icon",
|
|
785
|
-
"iconAlt",
|
|
786
|
-
"iconType"
|
|
787
|
-
]
|
|
788
|
-
},
|
|
789
|
-
"title": "customPlugins"
|
|
790
647
|
}
|
|
791
648
|
}
|
|
792
649
|
},
|
package/docs/pie-schema.json.md
CHANGED
|
@@ -239,35 +239,6 @@ Properties of the `image` object:
|
|
|
239
239
|
|
|
240
240
|
Indicates if the plugin is disabled or not
|
|
241
241
|
|
|
242
|
-
### `customPlugins` (array)
|
|
243
|
-
|
|
244
|
-
An array of objects that determine custom plugins.
|
|
245
|
-
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).
|
|
246
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
247
|
-
|
|
248
|
-
The object is an array with all elements of the type `object`.
|
|
249
|
-
|
|
250
|
-
The array object has the following properties:
|
|
251
|
-
|
|
252
|
-
#### `event` (string, required)
|
|
253
|
-
|
|
254
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
255
|
-
PIE will emit the event prefixed with "PIE-".
|
|
256
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
257
|
-
|
|
258
|
-
#### `iconAlt` (string, required)
|
|
259
|
-
|
|
260
|
-
The alt for the custom button icon
|
|
261
|
-
|
|
262
|
-
#### `iconType` (string, required)
|
|
263
|
-
|
|
264
|
-
The icon type.
|
|
265
|
-
Currently, only "SVG" is supported.
|
|
266
|
-
|
|
267
|
-
#### `icon` (string, required)
|
|
268
|
-
|
|
269
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
270
|
-
|
|
271
242
|
## `EditableHtmlButtonConfigure` (object)
|
|
272
243
|
|
|
273
244
|
Properties of the `EditableHtmlButtonConfigure` object:
|
|
@@ -276,29 +247,6 @@ Properties of the `EditableHtmlButtonConfigure` object:
|
|
|
276
247
|
|
|
277
248
|
Indicates if the plugin is disabled or not
|
|
278
249
|
|
|
279
|
-
## `CustomPlugin` (object)
|
|
280
|
-
|
|
281
|
-
Properties of the `CustomPlugin` object:
|
|
282
|
-
|
|
283
|
-
### `event` (string, required)
|
|
284
|
-
|
|
285
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
286
|
-
PIE will emit the event prefixed with "PIE-".
|
|
287
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
288
|
-
|
|
289
|
-
### `iconAlt` (string, required)
|
|
290
|
-
|
|
291
|
-
The alt for the custom button icon
|
|
292
|
-
|
|
293
|
-
### `iconType` (string, required)
|
|
294
|
-
|
|
295
|
-
The icon type.
|
|
296
|
-
Currently, only "SVG" is supported.
|
|
297
|
-
|
|
298
|
-
### `icon` (string, required)
|
|
299
|
-
|
|
300
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
301
|
-
|
|
302
250
|
## `ConfigureProp` (object)
|
|
303
251
|
|
|
304
252
|
Properties of the `ConfigureProp` object:
|
|
@@ -351,35 +299,6 @@ Properties of the `image` object:
|
|
|
351
299
|
|
|
352
300
|
Indicates if the plugin is disabled or not
|
|
353
301
|
|
|
354
|
-
#### `customPlugins` (array)
|
|
355
|
-
|
|
356
|
-
An array of objects that determine custom plugins.
|
|
357
|
-
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).
|
|
358
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
359
|
-
|
|
360
|
-
The object is an array with all elements of the type `object`.
|
|
361
|
-
|
|
362
|
-
The array object has the following properties:
|
|
363
|
-
|
|
364
|
-
##### `event` (string, required)
|
|
365
|
-
|
|
366
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
367
|
-
PIE will emit the event prefixed with "PIE-".
|
|
368
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
369
|
-
|
|
370
|
-
##### `iconAlt` (string, required)
|
|
371
|
-
|
|
372
|
-
The alt for the custom button icon
|
|
373
|
-
|
|
374
|
-
##### `iconType` (string, required)
|
|
375
|
-
|
|
376
|
-
The icon type.
|
|
377
|
-
Currently, only "SVG" is supported.
|
|
378
|
-
|
|
379
|
-
##### `icon` (string, required)
|
|
380
|
-
|
|
381
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
382
|
-
|
|
383
302
|
### `required` (boolean)
|
|
384
303
|
|
|
385
304
|
Indicates if the item is required and the value cannot be empty
|
|
@@ -432,35 +351,6 @@ Properties of the `image` object:
|
|
|
432
351
|
|
|
433
352
|
Indicates if the plugin is disabled or not
|
|
434
353
|
|
|
435
|
-
#### `customPlugins` (array)
|
|
436
|
-
|
|
437
|
-
An array of objects that determine custom plugins.
|
|
438
|
-
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).
|
|
439
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
440
|
-
|
|
441
|
-
The object is an array with all elements of the type `object`.
|
|
442
|
-
|
|
443
|
-
The array object has the following properties:
|
|
444
|
-
|
|
445
|
-
##### `event` (string, required)
|
|
446
|
-
|
|
447
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
448
|
-
PIE will emit the event prefixed with "PIE-".
|
|
449
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
450
|
-
|
|
451
|
-
##### `iconAlt` (string, required)
|
|
452
|
-
|
|
453
|
-
The alt for the custom button icon
|
|
454
|
-
|
|
455
|
-
##### `iconType` (string, required)
|
|
456
|
-
|
|
457
|
-
The icon type.
|
|
458
|
-
Currently, only "SVG" is supported.
|
|
459
|
-
|
|
460
|
-
##### `icon` (string, required)
|
|
461
|
-
|
|
462
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
463
|
-
|
|
464
354
|
### `settings` (boolean)
|
|
465
355
|
|
|
466
356
|
Indicates if the item has to be displayed in the Settings Panel
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "8.12.1-next.
|
|
7
|
+
"version": "8.12.1-next.5+579694d54",
|
|
8
8
|
"description": "",
|
|
9
9
|
"author": "pie framework developers",
|
|
10
10
|
"license": "ISC",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"react-dnd": "^14.0.5",
|
|
21
21
|
"react-dom": "^16.8.1"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "579694d5468995065657b651f06ec9513d0476b6",
|
|
24
24
|
"scripts": {
|
|
25
25
|
"postpublish": "../../scripts/postpublish"
|
|
26
26
|
},
|