@pie-element/explicit-constructed-response 6.9.1-next.18 → 6.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.
- package/configure/package.json +1 -1
- package/controller/package.json +1 -1
- package/docs/config-schema.json +0 -328
- package/docs/config-schema.json.md +0 -255
- package/docs/pie-schema.json +0 -143
- package/docs/pie-schema.json.md +0 -110
- package/module/configure.js +1 -1
- package/module/element.js +5 -22
- package/module/manifest.json +1 -1
- package/module/print.js +5 -22
- package/package.json +3 -3
package/configure/package.json
CHANGED
|
@@ -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.
|
|
11
|
+
"@pie-lib/pie-toolbox": "1.12.3",
|
|
12
12
|
"classnames": "^2.2.6",
|
|
13
13
|
"debug": "^3.1.0",
|
|
14
14
|
"lodash": "^4.17.15",
|
package/controller/package.json
CHANGED
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
|
},
|
|
@@ -265,43 +191,6 @@
|
|
|
265
191
|
"title": "disabled"
|
|
266
192
|
}
|
|
267
193
|
}
|
|
268
|
-
},
|
|
269
|
-
"customPlugins": {
|
|
270
|
-
"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.",
|
|
271
|
-
"type": "array",
|
|
272
|
-
"items": {
|
|
273
|
-
"title": "CustomPlugin",
|
|
274
|
-
"type": "object",
|
|
275
|
-
"properties": {
|
|
276
|
-
"event": {
|
|
277
|
-
"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\"",
|
|
278
|
-
"type": "string",
|
|
279
|
-
"title": "event"
|
|
280
|
-
},
|
|
281
|
-
"iconAlt": {
|
|
282
|
-
"description": "The alt for the custom button icon",
|
|
283
|
-
"type": "string",
|
|
284
|
-
"title": "iconAlt"
|
|
285
|
-
},
|
|
286
|
-
"iconType": {
|
|
287
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
288
|
-
"type": "string",
|
|
289
|
-
"title": "iconType"
|
|
290
|
-
},
|
|
291
|
-
"icon": {
|
|
292
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
293
|
-
"type": "string",
|
|
294
|
-
"title": "icon"
|
|
295
|
-
}
|
|
296
|
-
},
|
|
297
|
-
"required": [
|
|
298
|
-
"event",
|
|
299
|
-
"icon",
|
|
300
|
-
"iconAlt",
|
|
301
|
-
"iconType"
|
|
302
|
-
]
|
|
303
|
-
},
|
|
304
|
-
"title": "customPlugins"
|
|
305
194
|
}
|
|
306
195
|
}
|
|
307
196
|
},
|
|
@@ -442,43 +331,6 @@
|
|
|
442
331
|
"title": "disabled"
|
|
443
332
|
}
|
|
444
333
|
}
|
|
445
|
-
},
|
|
446
|
-
"customPlugins": {
|
|
447
|
-
"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.",
|
|
448
|
-
"type": "array",
|
|
449
|
-
"items": {
|
|
450
|
-
"title": "CustomPlugin",
|
|
451
|
-
"type": "object",
|
|
452
|
-
"properties": {
|
|
453
|
-
"event": {
|
|
454
|
-
"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\"",
|
|
455
|
-
"type": "string",
|
|
456
|
-
"title": "event"
|
|
457
|
-
},
|
|
458
|
-
"iconAlt": {
|
|
459
|
-
"description": "The alt for the custom button icon",
|
|
460
|
-
"type": "string",
|
|
461
|
-
"title": "iconAlt"
|
|
462
|
-
},
|
|
463
|
-
"iconType": {
|
|
464
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
465
|
-
"type": "string",
|
|
466
|
-
"title": "iconType"
|
|
467
|
-
},
|
|
468
|
-
"icon": {
|
|
469
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
470
|
-
"type": "string",
|
|
471
|
-
"title": "icon"
|
|
472
|
-
}
|
|
473
|
-
},
|
|
474
|
-
"required": [
|
|
475
|
-
"event",
|
|
476
|
-
"icon",
|
|
477
|
-
"iconAlt",
|
|
478
|
-
"iconType"
|
|
479
|
-
]
|
|
480
|
-
},
|
|
481
|
-
"title": "customPlugins"
|
|
482
334
|
}
|
|
483
335
|
}
|
|
484
336
|
},
|
|
@@ -550,43 +402,6 @@
|
|
|
550
402
|
"title": "disabled"
|
|
551
403
|
}
|
|
552
404
|
}
|
|
553
|
-
},
|
|
554
|
-
"customPlugins": {
|
|
555
|
-
"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.",
|
|
556
|
-
"type": "array",
|
|
557
|
-
"items": {
|
|
558
|
-
"title": "CustomPlugin",
|
|
559
|
-
"type": "object",
|
|
560
|
-
"properties": {
|
|
561
|
-
"event": {
|
|
562
|
-
"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\"",
|
|
563
|
-
"type": "string",
|
|
564
|
-
"title": "event"
|
|
565
|
-
},
|
|
566
|
-
"iconAlt": {
|
|
567
|
-
"description": "The alt for the custom button icon",
|
|
568
|
-
"type": "string",
|
|
569
|
-
"title": "iconAlt"
|
|
570
|
-
},
|
|
571
|
-
"iconType": {
|
|
572
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
573
|
-
"type": "string",
|
|
574
|
-
"title": "iconType"
|
|
575
|
-
},
|
|
576
|
-
"icon": {
|
|
577
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
578
|
-
"type": "string",
|
|
579
|
-
"title": "icon"
|
|
580
|
-
}
|
|
581
|
-
},
|
|
582
|
-
"required": [
|
|
583
|
-
"event",
|
|
584
|
-
"icon",
|
|
585
|
-
"iconAlt",
|
|
586
|
-
"iconType"
|
|
587
|
-
]
|
|
588
|
-
},
|
|
589
|
-
"title": "customPlugins"
|
|
590
405
|
}
|
|
591
406
|
}
|
|
592
407
|
},
|
|
@@ -900,43 +715,6 @@
|
|
|
900
715
|
"title": "disabled"
|
|
901
716
|
}
|
|
902
717
|
}
|
|
903
|
-
},
|
|
904
|
-
"customPlugins": {
|
|
905
|
-
"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.",
|
|
906
|
-
"type": "array",
|
|
907
|
-
"items": {
|
|
908
|
-
"title": "CustomPlugin",
|
|
909
|
-
"type": "object",
|
|
910
|
-
"properties": {
|
|
911
|
-
"event": {
|
|
912
|
-
"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\"",
|
|
913
|
-
"type": "string",
|
|
914
|
-
"title": "event"
|
|
915
|
-
},
|
|
916
|
-
"iconAlt": {
|
|
917
|
-
"description": "The alt for the custom button icon",
|
|
918
|
-
"type": "string",
|
|
919
|
-
"title": "iconAlt"
|
|
920
|
-
},
|
|
921
|
-
"iconType": {
|
|
922
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
923
|
-
"type": "string",
|
|
924
|
-
"title": "iconType"
|
|
925
|
-
},
|
|
926
|
-
"icon": {
|
|
927
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
928
|
-
"type": "string",
|
|
929
|
-
"title": "icon"
|
|
930
|
-
}
|
|
931
|
-
},
|
|
932
|
-
"required": [
|
|
933
|
-
"event",
|
|
934
|
-
"icon",
|
|
935
|
-
"iconAlt",
|
|
936
|
-
"iconType"
|
|
937
|
-
]
|
|
938
|
-
},
|
|
939
|
-
"title": "customPlugins"
|
|
940
718
|
}
|
|
941
719
|
}
|
|
942
720
|
},
|
|
@@ -951,38 +729,6 @@
|
|
|
951
729
|
}
|
|
952
730
|
}
|
|
953
731
|
},
|
|
954
|
-
"CustomPlugin": {
|
|
955
|
-
"title": "CustomPlugin",
|
|
956
|
-
"type": "object",
|
|
957
|
-
"properties": {
|
|
958
|
-
"event": {
|
|
959
|
-
"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\"",
|
|
960
|
-
"type": "string",
|
|
961
|
-
"title": "event"
|
|
962
|
-
},
|
|
963
|
-
"iconAlt": {
|
|
964
|
-
"description": "The alt for the custom button icon",
|
|
965
|
-
"type": "string",
|
|
966
|
-
"title": "iconAlt"
|
|
967
|
-
},
|
|
968
|
-
"iconType": {
|
|
969
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
970
|
-
"type": "string",
|
|
971
|
-
"title": "iconType"
|
|
972
|
-
},
|
|
973
|
-
"icon": {
|
|
974
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
975
|
-
"type": "string",
|
|
976
|
-
"title": "icon"
|
|
977
|
-
}
|
|
978
|
-
},
|
|
979
|
-
"required": [
|
|
980
|
-
"event",
|
|
981
|
-
"icon",
|
|
982
|
-
"iconAlt",
|
|
983
|
-
"iconType"
|
|
984
|
-
]
|
|
985
|
-
},
|
|
986
732
|
"ConfigureProp": {
|
|
987
733
|
"title": "ConfigureProp",
|
|
988
734
|
"type": "object",
|
|
@@ -1050,43 +796,6 @@
|
|
|
1050
796
|
"title": "disabled"
|
|
1051
797
|
}
|
|
1052
798
|
}
|
|
1053
|
-
},
|
|
1054
|
-
"customPlugins": {
|
|
1055
|
-
"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.",
|
|
1056
|
-
"type": "array",
|
|
1057
|
-
"items": {
|
|
1058
|
-
"title": "CustomPlugin",
|
|
1059
|
-
"type": "object",
|
|
1060
|
-
"properties": {
|
|
1061
|
-
"event": {
|
|
1062
|
-
"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\"",
|
|
1063
|
-
"type": "string",
|
|
1064
|
-
"title": "event"
|
|
1065
|
-
},
|
|
1066
|
-
"iconAlt": {
|
|
1067
|
-
"description": "The alt for the custom button icon",
|
|
1068
|
-
"type": "string",
|
|
1069
|
-
"title": "iconAlt"
|
|
1070
|
-
},
|
|
1071
|
-
"iconType": {
|
|
1072
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
1073
|
-
"type": "string",
|
|
1074
|
-
"title": "iconType"
|
|
1075
|
-
},
|
|
1076
|
-
"icon": {
|
|
1077
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
1078
|
-
"type": "string",
|
|
1079
|
-
"title": "icon"
|
|
1080
|
-
}
|
|
1081
|
-
},
|
|
1082
|
-
"required": [
|
|
1083
|
-
"event",
|
|
1084
|
-
"icon",
|
|
1085
|
-
"iconAlt",
|
|
1086
|
-
"iconType"
|
|
1087
|
-
]
|
|
1088
|
-
},
|
|
1089
|
-
"title": "customPlugins"
|
|
1090
799
|
}
|
|
1091
800
|
}
|
|
1092
801
|
},
|
|
@@ -1158,43 +867,6 @@
|
|
|
1158
867
|
"title": "disabled"
|
|
1159
868
|
}
|
|
1160
869
|
}
|
|
1161
|
-
},
|
|
1162
|
-
"customPlugins": {
|
|
1163
|
-
"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.",
|
|
1164
|
-
"type": "array",
|
|
1165
|
-
"items": {
|
|
1166
|
-
"title": "CustomPlugin",
|
|
1167
|
-
"type": "object",
|
|
1168
|
-
"properties": {
|
|
1169
|
-
"event": {
|
|
1170
|
-
"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\"",
|
|
1171
|
-
"type": "string",
|
|
1172
|
-
"title": "event"
|
|
1173
|
-
},
|
|
1174
|
-
"iconAlt": {
|
|
1175
|
-
"description": "The alt for the custom button icon",
|
|
1176
|
-
"type": "string",
|
|
1177
|
-
"title": "iconAlt"
|
|
1178
|
-
},
|
|
1179
|
-
"iconType": {
|
|
1180
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
1181
|
-
"type": "string",
|
|
1182
|
-
"title": "iconType"
|
|
1183
|
-
},
|
|
1184
|
-
"icon": {
|
|
1185
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
1186
|
-
"type": "string",
|
|
1187
|
-
"title": "icon"
|
|
1188
|
-
}
|
|
1189
|
-
},
|
|
1190
|
-
"required": [
|
|
1191
|
-
"event",
|
|
1192
|
-
"icon",
|
|
1193
|
-
"iconAlt",
|
|
1194
|
-
"iconType"
|
|
1195
|
-
]
|
|
1196
|
-
},
|
|
1197
|
-
"title": "customPlugins"
|
|
1198
870
|
}
|
|
1199
871
|
}
|
|
1200
872
|
},
|
|
@@ -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:
|
|
@@ -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
|
|
@@ -200,35 +142,6 @@ Properties of the `image` object:
|
|
|
200
142
|
|
|
201
143
|
Indicates if the plugin is disabled or not
|
|
202
144
|
|
|
203
|
-
### `customPlugins` (array)
|
|
204
|
-
|
|
205
|
-
An array of objects that determine custom plugins.
|
|
206
|
-
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).
|
|
207
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
208
|
-
|
|
209
|
-
The object is an array with all elements of the type `object`.
|
|
210
|
-
|
|
211
|
-
The array object has the following properties:
|
|
212
|
-
|
|
213
|
-
#### `event` (string, required)
|
|
214
|
-
|
|
215
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
216
|
-
PIE will emit the event prefixed with "PIE-".
|
|
217
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
218
|
-
|
|
219
|
-
#### `iconAlt` (string, required)
|
|
220
|
-
|
|
221
|
-
The alt for the custom button icon
|
|
222
|
-
|
|
223
|
-
#### `iconType` (string, required)
|
|
224
|
-
|
|
225
|
-
The icon type.
|
|
226
|
-
Currently, only "SVG" is supported.
|
|
227
|
-
|
|
228
|
-
#### `icon` (string, required)
|
|
229
|
-
|
|
230
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
231
|
-
|
|
232
145
|
## `required` (boolean)
|
|
233
146
|
|
|
234
147
|
Indicates if the item is required and the value cannot be empty
|
|
@@ -333,35 +246,6 @@ Properties of the `image` object:
|
|
|
333
246
|
|
|
334
247
|
Indicates if the plugin is disabled or not
|
|
335
248
|
|
|
336
|
-
### `customPlugins` (array)
|
|
337
|
-
|
|
338
|
-
An array of objects that determine custom plugins.
|
|
339
|
-
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).
|
|
340
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
341
|
-
|
|
342
|
-
The object is an array with all elements of the type `object`.
|
|
343
|
-
|
|
344
|
-
The array object has the following properties:
|
|
345
|
-
|
|
346
|
-
#### `event` (string, required)
|
|
347
|
-
|
|
348
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
349
|
-
PIE will emit the event prefixed with "PIE-".
|
|
350
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
351
|
-
|
|
352
|
-
#### `iconAlt` (string, required)
|
|
353
|
-
|
|
354
|
-
The alt for the custom button icon
|
|
355
|
-
|
|
356
|
-
#### `iconType` (string, required)
|
|
357
|
-
|
|
358
|
-
The icon type.
|
|
359
|
-
Currently, only "SVG" is supported.
|
|
360
|
-
|
|
361
|
-
#### `icon` (string, required)
|
|
362
|
-
|
|
363
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
364
|
-
|
|
365
249
|
## `required` (boolean)
|
|
366
250
|
|
|
367
251
|
Indicates if the item is required and the value cannot be empty
|
|
@@ -414,35 +298,6 @@ Properties of the `image` object:
|
|
|
414
298
|
|
|
415
299
|
Indicates if the plugin is disabled or not
|
|
416
300
|
|
|
417
|
-
### `customPlugins` (array)
|
|
418
|
-
|
|
419
|
-
An array of objects that determine custom plugins.
|
|
420
|
-
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).
|
|
421
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
422
|
-
|
|
423
|
-
The object is an array with all elements of the type `object`.
|
|
424
|
-
|
|
425
|
-
The array object has the following properties:
|
|
426
|
-
|
|
427
|
-
#### `event` (string, required)
|
|
428
|
-
|
|
429
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
430
|
-
PIE will emit the event prefixed with "PIE-".
|
|
431
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
432
|
-
|
|
433
|
-
#### `iconAlt` (string, required)
|
|
434
|
-
|
|
435
|
-
The alt for the custom button icon
|
|
436
|
-
|
|
437
|
-
#### `iconType` (string, required)
|
|
438
|
-
|
|
439
|
-
The icon type.
|
|
440
|
-
Currently, only "SVG" is supported.
|
|
441
|
-
|
|
442
|
-
#### `icon` (string, required)
|
|
443
|
-
|
|
444
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
445
|
-
|
|
446
301
|
## `settings` (boolean)
|
|
447
302
|
|
|
448
303
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -681,35 +536,6 @@ Properties of the `image` object:
|
|
|
681
536
|
|
|
682
537
|
Indicates if the plugin is disabled or not
|
|
683
538
|
|
|
684
|
-
### `customPlugins` (array)
|
|
685
|
-
|
|
686
|
-
An array of objects that determine custom plugins.
|
|
687
|
-
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).
|
|
688
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
689
|
-
|
|
690
|
-
The object is an array with all elements of the type `object`.
|
|
691
|
-
|
|
692
|
-
The array object has the following properties:
|
|
693
|
-
|
|
694
|
-
#### `event` (string, required)
|
|
695
|
-
|
|
696
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
697
|
-
PIE will emit the event prefixed with "PIE-".
|
|
698
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
699
|
-
|
|
700
|
-
#### `iconAlt` (string, required)
|
|
701
|
-
|
|
702
|
-
The alt for the custom button icon
|
|
703
|
-
|
|
704
|
-
#### `iconType` (string, required)
|
|
705
|
-
|
|
706
|
-
The icon type.
|
|
707
|
-
Currently, only "SVG" is supported.
|
|
708
|
-
|
|
709
|
-
#### `icon` (string, required)
|
|
710
|
-
|
|
711
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
712
|
-
|
|
713
539
|
## `EditableHtmlButtonConfigure` (object)
|
|
714
540
|
|
|
715
541
|
Properties of the `EditableHtmlButtonConfigure` object:
|
|
@@ -718,29 +544,6 @@ Properties of the `EditableHtmlButtonConfigure` object:
|
|
|
718
544
|
|
|
719
545
|
Indicates if the plugin is disabled or not
|
|
720
546
|
|
|
721
|
-
## `CustomPlugin` (object)
|
|
722
|
-
|
|
723
|
-
Properties of the `CustomPlugin` object:
|
|
724
|
-
|
|
725
|
-
### `event` (string, required)
|
|
726
|
-
|
|
727
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
728
|
-
PIE will emit the event prefixed with "PIE-".
|
|
729
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
730
|
-
|
|
731
|
-
### `iconAlt` (string, required)
|
|
732
|
-
|
|
733
|
-
The alt for the custom button icon
|
|
734
|
-
|
|
735
|
-
### `iconType` (string, required)
|
|
736
|
-
|
|
737
|
-
The icon type.
|
|
738
|
-
Currently, only "SVG" is supported.
|
|
739
|
-
|
|
740
|
-
### `icon` (string, required)
|
|
741
|
-
|
|
742
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
743
|
-
|
|
744
547
|
## `ConfigureProp` (object)
|
|
745
548
|
|
|
746
549
|
Properties of the `ConfigureProp` object:
|
|
@@ -793,35 +596,6 @@ Properties of the `image` object:
|
|
|
793
596
|
|
|
794
597
|
Indicates if the plugin is disabled or not
|
|
795
598
|
|
|
796
|
-
#### `customPlugins` (array)
|
|
797
|
-
|
|
798
|
-
An array of objects that determine custom plugins.
|
|
799
|
-
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).
|
|
800
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
801
|
-
|
|
802
|
-
The object is an array with all elements of the type `object`.
|
|
803
|
-
|
|
804
|
-
The array object has the following properties:
|
|
805
|
-
|
|
806
|
-
##### `event` (string, required)
|
|
807
|
-
|
|
808
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
809
|
-
PIE will emit the event prefixed with "PIE-".
|
|
810
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
811
|
-
|
|
812
|
-
##### `iconAlt` (string, required)
|
|
813
|
-
|
|
814
|
-
The alt for the custom button icon
|
|
815
|
-
|
|
816
|
-
##### `iconType` (string, required)
|
|
817
|
-
|
|
818
|
-
The icon type.
|
|
819
|
-
Currently, only "SVG" is supported.
|
|
820
|
-
|
|
821
|
-
##### `icon` (string, required)
|
|
822
|
-
|
|
823
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
824
|
-
|
|
825
599
|
### `required` (boolean)
|
|
826
600
|
|
|
827
601
|
Indicates if the item is required and the value cannot be empty
|
|
@@ -874,35 +648,6 @@ Properties of the `image` object:
|
|
|
874
648
|
|
|
875
649
|
Indicates if the plugin is disabled or not
|
|
876
650
|
|
|
877
|
-
#### `customPlugins` (array)
|
|
878
|
-
|
|
879
|
-
An array of objects that determine custom plugins.
|
|
880
|
-
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).
|
|
881
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
882
|
-
|
|
883
|
-
The object is an array with all elements of the type `object`.
|
|
884
|
-
|
|
885
|
-
The array object has the following properties:
|
|
886
|
-
|
|
887
|
-
##### `event` (string, required)
|
|
888
|
-
|
|
889
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
890
|
-
PIE will emit the event prefixed with "PIE-".
|
|
891
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
892
|
-
|
|
893
|
-
##### `iconAlt` (string, required)
|
|
894
|
-
|
|
895
|
-
The alt for the custom button icon
|
|
896
|
-
|
|
897
|
-
##### `iconType` (string, required)
|
|
898
|
-
|
|
899
|
-
The icon type.
|
|
900
|
-
Currently, only "SVG" is supported.
|
|
901
|
-
|
|
902
|
-
##### `icon` (string, required)
|
|
903
|
-
|
|
904
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
905
|
-
|
|
906
651
|
### `settings` (boolean)
|
|
907
652
|
|
|
908
653
|
Indicates if the item has to be displayed in the Settings Panel
|
package/docs/pie-schema.json
CHANGED
|
@@ -216,43 +216,6 @@
|
|
|
216
216
|
"title": "disabled"
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
},
|
|
220
|
-
"customPlugins": {
|
|
221
|
-
"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.",
|
|
222
|
-
"type": "array",
|
|
223
|
-
"items": {
|
|
224
|
-
"title": "CustomPlugin",
|
|
225
|
-
"type": "object",
|
|
226
|
-
"properties": {
|
|
227
|
-
"event": {
|
|
228
|
-
"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\"",
|
|
229
|
-
"type": "string",
|
|
230
|
-
"title": "event"
|
|
231
|
-
},
|
|
232
|
-
"iconAlt": {
|
|
233
|
-
"description": "The alt for the custom button icon",
|
|
234
|
-
"type": "string",
|
|
235
|
-
"title": "iconAlt"
|
|
236
|
-
},
|
|
237
|
-
"iconType": {
|
|
238
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
239
|
-
"type": "string",
|
|
240
|
-
"title": "iconType"
|
|
241
|
-
},
|
|
242
|
-
"icon": {
|
|
243
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
244
|
-
"type": "string",
|
|
245
|
-
"title": "icon"
|
|
246
|
-
}
|
|
247
|
-
},
|
|
248
|
-
"required": [
|
|
249
|
-
"event",
|
|
250
|
-
"icon",
|
|
251
|
-
"iconAlt",
|
|
252
|
-
"iconType"
|
|
253
|
-
]
|
|
254
|
-
},
|
|
255
|
-
"title": "customPlugins"
|
|
256
219
|
}
|
|
257
220
|
}
|
|
258
221
|
},
|
|
@@ -267,38 +230,6 @@
|
|
|
267
230
|
}
|
|
268
231
|
}
|
|
269
232
|
},
|
|
270
|
-
"CustomPlugin": {
|
|
271
|
-
"title": "CustomPlugin",
|
|
272
|
-
"type": "object",
|
|
273
|
-
"properties": {
|
|
274
|
-
"event": {
|
|
275
|
-
"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\"",
|
|
276
|
-
"type": "string",
|
|
277
|
-
"title": "event"
|
|
278
|
-
},
|
|
279
|
-
"iconAlt": {
|
|
280
|
-
"description": "The alt for the custom button icon",
|
|
281
|
-
"type": "string",
|
|
282
|
-
"title": "iconAlt"
|
|
283
|
-
},
|
|
284
|
-
"iconType": {
|
|
285
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
286
|
-
"type": "string",
|
|
287
|
-
"title": "iconType"
|
|
288
|
-
},
|
|
289
|
-
"icon": {
|
|
290
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
291
|
-
"type": "string",
|
|
292
|
-
"title": "icon"
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
"required": [
|
|
296
|
-
"event",
|
|
297
|
-
"icon",
|
|
298
|
-
"iconAlt",
|
|
299
|
-
"iconType"
|
|
300
|
-
]
|
|
301
|
-
},
|
|
302
233
|
"ConfigureProp": {
|
|
303
234
|
"title": "ConfigureProp",
|
|
304
235
|
"type": "object",
|
|
@@ -366,43 +297,6 @@
|
|
|
366
297
|
"title": "disabled"
|
|
367
298
|
}
|
|
368
299
|
}
|
|
369
|
-
},
|
|
370
|
-
"customPlugins": {
|
|
371
|
-
"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.",
|
|
372
|
-
"type": "array",
|
|
373
|
-
"items": {
|
|
374
|
-
"title": "CustomPlugin",
|
|
375
|
-
"type": "object",
|
|
376
|
-
"properties": {
|
|
377
|
-
"event": {
|
|
378
|
-
"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\"",
|
|
379
|
-
"type": "string",
|
|
380
|
-
"title": "event"
|
|
381
|
-
},
|
|
382
|
-
"iconAlt": {
|
|
383
|
-
"description": "The alt for the custom button icon",
|
|
384
|
-
"type": "string",
|
|
385
|
-
"title": "iconAlt"
|
|
386
|
-
},
|
|
387
|
-
"iconType": {
|
|
388
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
389
|
-
"type": "string",
|
|
390
|
-
"title": "iconType"
|
|
391
|
-
},
|
|
392
|
-
"icon": {
|
|
393
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
394
|
-
"type": "string",
|
|
395
|
-
"title": "icon"
|
|
396
|
-
}
|
|
397
|
-
},
|
|
398
|
-
"required": [
|
|
399
|
-
"event",
|
|
400
|
-
"icon",
|
|
401
|
-
"iconAlt",
|
|
402
|
-
"iconType"
|
|
403
|
-
]
|
|
404
|
-
},
|
|
405
|
-
"title": "customPlugins"
|
|
406
300
|
}
|
|
407
301
|
}
|
|
408
302
|
},
|
|
@@ -474,43 +368,6 @@
|
|
|
474
368
|
"title": "disabled"
|
|
475
369
|
}
|
|
476
370
|
}
|
|
477
|
-
},
|
|
478
|
-
"customPlugins": {
|
|
479
|
-
"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.",
|
|
480
|
-
"type": "array",
|
|
481
|
-
"items": {
|
|
482
|
-
"title": "CustomPlugin",
|
|
483
|
-
"type": "object",
|
|
484
|
-
"properties": {
|
|
485
|
-
"event": {
|
|
486
|
-
"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\"",
|
|
487
|
-
"type": "string",
|
|
488
|
-
"title": "event"
|
|
489
|
-
},
|
|
490
|
-
"iconAlt": {
|
|
491
|
-
"description": "The alt for the custom button icon",
|
|
492
|
-
"type": "string",
|
|
493
|
-
"title": "iconAlt"
|
|
494
|
-
},
|
|
495
|
-
"iconType": {
|
|
496
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
497
|
-
"type": "string",
|
|
498
|
-
"title": "iconType"
|
|
499
|
-
},
|
|
500
|
-
"icon": {
|
|
501
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
502
|
-
"type": "string",
|
|
503
|
-
"title": "icon"
|
|
504
|
-
}
|
|
505
|
-
},
|
|
506
|
-
"required": [
|
|
507
|
-
"event",
|
|
508
|
-
"icon",
|
|
509
|
-
"iconAlt",
|
|
510
|
-
"iconType"
|
|
511
|
-
]
|
|
512
|
-
},
|
|
513
|
-
"title": "customPlugins"
|
|
514
371
|
}
|
|
515
372
|
}
|
|
516
373
|
},
|
package/docs/pie-schema.json.md
CHANGED
|
@@ -148,35 +148,6 @@ Properties of the `image` object:
|
|
|
148
148
|
|
|
149
149
|
Indicates if the plugin is disabled or not
|
|
150
150
|
|
|
151
|
-
### `customPlugins` (array)
|
|
152
|
-
|
|
153
|
-
An array of objects that determine custom plugins.
|
|
154
|
-
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).
|
|
155
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
156
|
-
|
|
157
|
-
The object is an array with all elements of the type `object`.
|
|
158
|
-
|
|
159
|
-
The array object has the following properties:
|
|
160
|
-
|
|
161
|
-
#### `event` (string, required)
|
|
162
|
-
|
|
163
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
164
|
-
PIE will emit the event prefixed with "PIE-".
|
|
165
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
166
|
-
|
|
167
|
-
#### `iconAlt` (string, required)
|
|
168
|
-
|
|
169
|
-
The alt for the custom button icon
|
|
170
|
-
|
|
171
|
-
#### `iconType` (string, required)
|
|
172
|
-
|
|
173
|
-
The icon type.
|
|
174
|
-
Currently, only "SVG" is supported.
|
|
175
|
-
|
|
176
|
-
#### `icon` (string, required)
|
|
177
|
-
|
|
178
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
179
|
-
|
|
180
151
|
## `EditableHtmlButtonConfigure` (object)
|
|
181
152
|
|
|
182
153
|
Properties of the `EditableHtmlButtonConfigure` object:
|
|
@@ -185,29 +156,6 @@ Properties of the `EditableHtmlButtonConfigure` object:
|
|
|
185
156
|
|
|
186
157
|
Indicates if the plugin is disabled or not
|
|
187
158
|
|
|
188
|
-
## `CustomPlugin` (object)
|
|
189
|
-
|
|
190
|
-
Properties of the `CustomPlugin` object:
|
|
191
|
-
|
|
192
|
-
### `event` (string, required)
|
|
193
|
-
|
|
194
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
195
|
-
PIE will emit the event prefixed with "PIE-".
|
|
196
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
197
|
-
|
|
198
|
-
### `iconAlt` (string, required)
|
|
199
|
-
|
|
200
|
-
The alt for the custom button icon
|
|
201
|
-
|
|
202
|
-
### `iconType` (string, required)
|
|
203
|
-
|
|
204
|
-
The icon type.
|
|
205
|
-
Currently, only "SVG" is supported.
|
|
206
|
-
|
|
207
|
-
### `icon` (string, required)
|
|
208
|
-
|
|
209
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
210
|
-
|
|
211
159
|
## `ConfigureProp` (object)
|
|
212
160
|
|
|
213
161
|
Properties of the `ConfigureProp` object:
|
|
@@ -260,35 +208,6 @@ Properties of the `image` object:
|
|
|
260
208
|
|
|
261
209
|
Indicates if the plugin is disabled or not
|
|
262
210
|
|
|
263
|
-
#### `customPlugins` (array)
|
|
264
|
-
|
|
265
|
-
An array of objects that determine custom plugins.
|
|
266
|
-
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).
|
|
267
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
268
|
-
|
|
269
|
-
The object is an array with all elements of the type `object`.
|
|
270
|
-
|
|
271
|
-
The array object has the following properties:
|
|
272
|
-
|
|
273
|
-
##### `event` (string, required)
|
|
274
|
-
|
|
275
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
276
|
-
PIE will emit the event prefixed with "PIE-".
|
|
277
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
278
|
-
|
|
279
|
-
##### `iconAlt` (string, required)
|
|
280
|
-
|
|
281
|
-
The alt for the custom button icon
|
|
282
|
-
|
|
283
|
-
##### `iconType` (string, required)
|
|
284
|
-
|
|
285
|
-
The icon type.
|
|
286
|
-
Currently, only "SVG" is supported.
|
|
287
|
-
|
|
288
|
-
##### `icon` (string, required)
|
|
289
|
-
|
|
290
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
291
|
-
|
|
292
211
|
### `required` (boolean)
|
|
293
212
|
|
|
294
213
|
Indicates if the item is required and the value cannot be empty
|
|
@@ -341,35 +260,6 @@ Properties of the `image` object:
|
|
|
341
260
|
|
|
342
261
|
Indicates if the plugin is disabled or not
|
|
343
262
|
|
|
344
|
-
#### `customPlugins` (array)
|
|
345
|
-
|
|
346
|
-
An array of objects that determine custom plugins.
|
|
347
|
-
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).
|
|
348
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
349
|
-
|
|
350
|
-
The object is an array with all elements of the type `object`.
|
|
351
|
-
|
|
352
|
-
The array object has the following properties:
|
|
353
|
-
|
|
354
|
-
##### `event` (string, required)
|
|
355
|
-
|
|
356
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
357
|
-
PIE will emit the event prefixed with "PIE-".
|
|
358
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
359
|
-
|
|
360
|
-
##### `iconAlt` (string, required)
|
|
361
|
-
|
|
362
|
-
The alt for the custom button icon
|
|
363
|
-
|
|
364
|
-
##### `iconType` (string, required)
|
|
365
|
-
|
|
366
|
-
The icon type.
|
|
367
|
-
Currently, only "SVG" is supported.
|
|
368
|
-
|
|
369
|
-
##### `icon` (string, required)
|
|
370
|
-
|
|
371
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
372
|
-
|
|
373
263
|
### `settings` (boolean)
|
|
374
264
|
|
|
375
265
|
Indicates if the item has to be displayed in the Settings Panel
|
package/module/configure.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _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} 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_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _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_correct_answer_toggle, _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) {
|
|
@@ -125157,7 +125157,6 @@ const require$$9 = _dll_prop_types;
|
|
|
125157
125157
|
var _react = _interopRequireDefault(require$$8);
|
|
125158
125158
|
var _propTypes = _interopRequireDefault(require$$9);
|
|
125159
125159
|
var _Select = _interopRequireDefault(Select$2);
|
|
125160
|
-
var _InputLabel = _interopRequireDefault(InputLabel$2);
|
|
125161
125160
|
var _MenuItem = _interopRequireDefault(MenuItem$2);
|
|
125162
125161
|
var _correctInput = _interopRequireDefault(correctInput);
|
|
125163
125162
|
var _styles = styles$s;
|
|
@@ -125214,16 +125213,9 @@ const require$$9 = _dll_prop_types;
|
|
|
125214
125213
|
(0, _createClass2["default"])(Dropdown, [{
|
|
125215
125214
|
key: "render",
|
|
125216
125215
|
value: function render() {
|
|
125217
|
-
var _this$props = this.props, classes = _this$props.classes, id = _this$props.id, correct = _this$props.correct, disabled = _this$props.disabled, value = _this$props.value, _onChange = _this$props.onChange, choices = _this$props.choices, showCorrectAnswer = _this$props.showCorrectAnswer
|
|
125216
|
+
var _this$props = this.props, classes = _this$props.classes, id = _this$props.id, correct = _this$props.correct, disabled = _this$props.disabled, value = _this$props.value, _onChange = _this$props.onChange, choices = _this$props.choices, showCorrectAnswer = _this$props.showCorrectAnswer;
|
|
125218
125217
|
var _this$state = this.state, showCheckmark = _this$state.showCheckmark, open = _this$state.open;
|
|
125219
|
-
|
|
125220
|
-
var labelId = singleQuery ? 'Query-label' : ("Query-label-").concat(incrementedId);
|
|
125221
|
-
var labelText = singleQuery ? 'Query' : ("Query ").concat(incrementedId);
|
|
125222
|
-
return _react["default"].createElement(_react["default"].Fragment, null, _react["default"].createElement(_InputLabel["default"], {
|
|
125223
|
-
className: classes.srOnly,
|
|
125224
|
-
id: labelId
|
|
125225
|
-
}, labelText), _react["default"].createElement(_Select["default"], {
|
|
125226
|
-
labelId: labelId,
|
|
125218
|
+
return _react["default"].createElement(_Select["default"], {
|
|
125227
125219
|
classes: {
|
|
125228
125220
|
root: classes.root,
|
|
125229
125221
|
icon: classes.icon,
|
|
@@ -125264,7 +125256,7 @@ const require$$9 = _dll_prop_types;
|
|
|
125264
125256
|
__html: c.value === value ? ' ✓' : ''
|
|
125265
125257
|
}
|
|
125266
125258
|
}));
|
|
125267
|
-
}))
|
|
125259
|
+
}));
|
|
125268
125260
|
}
|
|
125269
125261
|
}]);
|
|
125270
125262
|
return Dropdown;
|
|
@@ -125344,14 +125336,6 @@ const require$$9 = _dll_prop_types;
|
|
|
125344
125336
|
},
|
|
125345
125337
|
label: {
|
|
125346
125338
|
fontSize: 'max(1rem, 14px)'
|
|
125347
|
-
},
|
|
125348
|
-
srOnly: {
|
|
125349
|
-
position: 'absolute',
|
|
125350
|
-
left: '-10000px',
|
|
125351
|
-
top: 'auto',
|
|
125352
|
-
width: '1px',
|
|
125353
|
-
height: '1px',
|
|
125354
|
-
overflow: 'hidden'
|
|
125355
125339
|
}
|
|
125356
125340
|
};
|
|
125357
125341
|
};
|
|
@@ -125386,8 +125370,7 @@ const require$$1 = _dll_react;
|
|
|
125386
125370
|
id: dataset.id,
|
|
125387
125371
|
onChange: onChange,
|
|
125388
125372
|
choices: choices[dataset.id],
|
|
125389
|
-
showCorrectAnswer: showCorrectAnswer
|
|
125390
|
-
singleQuery: Object.keys(choices).length == 1
|
|
125373
|
+
showCorrectAnswer: showCorrectAnswer
|
|
125391
125374
|
});
|
|
125392
125375
|
}
|
|
125393
125376
|
};
|
package/module/manifest.json
CHANGED
package/module/print.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _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_correct_answer_toggle, _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) {
|
|
@@ -125120,7 +125120,6 @@ const require$$9 = _dll_prop_types;
|
|
|
125120
125120
|
var _react = _interopRequireDefault(require$$8);
|
|
125121
125121
|
var _propTypes = _interopRequireDefault(require$$9);
|
|
125122
125122
|
var _Select = _interopRequireDefault(Select$2);
|
|
125123
|
-
var _InputLabel = _interopRequireDefault(InputLabel$2);
|
|
125124
125123
|
var _MenuItem = _interopRequireDefault(MenuItem$2);
|
|
125125
125124
|
var _correctInput = _interopRequireDefault(correctInput);
|
|
125126
125125
|
var _styles = styles$s;
|
|
@@ -125177,16 +125176,9 @@ const require$$9 = _dll_prop_types;
|
|
|
125177
125176
|
(0, _createClass2["default"])(Dropdown, [{
|
|
125178
125177
|
key: "render",
|
|
125179
125178
|
value: function render() {
|
|
125180
|
-
var _this$props = this.props, classes = _this$props.classes, id = _this$props.id, correct = _this$props.correct, disabled = _this$props.disabled, value = _this$props.value, _onChange = _this$props.onChange, choices = _this$props.choices, showCorrectAnswer = _this$props.showCorrectAnswer
|
|
125179
|
+
var _this$props = this.props, classes = _this$props.classes, id = _this$props.id, correct = _this$props.correct, disabled = _this$props.disabled, value = _this$props.value, _onChange = _this$props.onChange, choices = _this$props.choices, showCorrectAnswer = _this$props.showCorrectAnswer;
|
|
125181
125180
|
var _this$state = this.state, showCheckmark = _this$state.showCheckmark, open = _this$state.open;
|
|
125182
|
-
|
|
125183
|
-
var labelId = singleQuery ? 'Query-label' : ("Query-label-").concat(incrementedId);
|
|
125184
|
-
var labelText = singleQuery ? 'Query' : ("Query ").concat(incrementedId);
|
|
125185
|
-
return _react["default"].createElement(_react["default"].Fragment, null, _react["default"].createElement(_InputLabel["default"], {
|
|
125186
|
-
className: classes.srOnly,
|
|
125187
|
-
id: labelId
|
|
125188
|
-
}, labelText), _react["default"].createElement(_Select["default"], {
|
|
125189
|
-
labelId: labelId,
|
|
125181
|
+
return _react["default"].createElement(_Select["default"], {
|
|
125190
125182
|
classes: {
|
|
125191
125183
|
root: classes.root,
|
|
125192
125184
|
icon: classes.icon,
|
|
@@ -125227,7 +125219,7 @@ const require$$9 = _dll_prop_types;
|
|
|
125227
125219
|
__html: c.value === value ? ' ✓' : ''
|
|
125228
125220
|
}
|
|
125229
125221
|
}));
|
|
125230
|
-
}))
|
|
125222
|
+
}));
|
|
125231
125223
|
}
|
|
125232
125224
|
}]);
|
|
125233
125225
|
return Dropdown;
|
|
@@ -125307,14 +125299,6 @@ const require$$9 = _dll_prop_types;
|
|
|
125307
125299
|
},
|
|
125308
125300
|
label: {
|
|
125309
125301
|
fontSize: 'max(1rem, 14px)'
|
|
125310
|
-
},
|
|
125311
|
-
srOnly: {
|
|
125312
|
-
position: 'absolute',
|
|
125313
|
-
left: '-10000px',
|
|
125314
|
-
top: 'auto',
|
|
125315
|
-
width: '1px',
|
|
125316
|
-
height: '1px',
|
|
125317
|
-
overflow: 'hidden'
|
|
125318
125302
|
}
|
|
125319
125303
|
};
|
|
125320
125304
|
};
|
|
@@ -125349,8 +125333,7 @@ const require$$1 = _dll_react;
|
|
|
125349
125333
|
id: dataset.id,
|
|
125350
125334
|
onChange: onChange,
|
|
125351
125335
|
choices: choices[dataset.id],
|
|
125352
|
-
showCorrectAnswer: showCorrectAnswer
|
|
125353
|
-
singleQuery: Object.keys(choices).length == 1
|
|
125336
|
+
showCorrectAnswer: showCorrectAnswer
|
|
125354
125337
|
});
|
|
125355
125338
|
}
|
|
125356
125339
|
};
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"repository": "pie-framework/pie-elements",
|
|
7
|
-
"version": "6.9.1-next.
|
|
7
|
+
"version": "6.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.
|
|
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": "
|
|
24
|
+
"gitHead": "579694d5468995065657b651f06ec9513d0476b6",
|
|
25
25
|
"main": "lib/index.js",
|
|
26
26
|
"module": "src/index.js",
|
|
27
27
|
"exports": {
|