@pie-element/select-text 8.8.1-next.0 → 8.8.1-next.16
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 +254 -0
- package/docs/config-schema.json.md +197 -0
- package/docs/pie-schema.json +106 -0
- package/docs/pie-schema.json.md +81 -0
- package/module/configure.js +1 -1
- package/module/element.js +1 -1
- package/module/manifest.json +1 -1
- package/module/print.js +1 -1
- package/package.json +2 -2
package/docs/config-schema.json
CHANGED
|
@@ -50,6 +50,43 @@
|
|
|
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"
|
|
53
90
|
}
|
|
54
91
|
}
|
|
55
92
|
},
|
|
@@ -216,6 +253,43 @@
|
|
|
216
253
|
"title": "disabled"
|
|
217
254
|
}
|
|
218
255
|
}
|
|
256
|
+
},
|
|
257
|
+
"customPlugins": {
|
|
258
|
+
"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.",
|
|
259
|
+
"type": "array",
|
|
260
|
+
"items": {
|
|
261
|
+
"title": "CustomPlugin",
|
|
262
|
+
"type": "object",
|
|
263
|
+
"properties": {
|
|
264
|
+
"event": {
|
|
265
|
+
"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\"",
|
|
266
|
+
"type": "string",
|
|
267
|
+
"title": "event"
|
|
268
|
+
},
|
|
269
|
+
"iconAlt": {
|
|
270
|
+
"description": "The alt for the custom button icon",
|
|
271
|
+
"type": "string",
|
|
272
|
+
"title": "iconAlt"
|
|
273
|
+
},
|
|
274
|
+
"iconType": {
|
|
275
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
276
|
+
"type": "string",
|
|
277
|
+
"title": "iconType"
|
|
278
|
+
},
|
|
279
|
+
"icon": {
|
|
280
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
281
|
+
"type": "string",
|
|
282
|
+
"title": "icon"
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
"required": [
|
|
286
|
+
"event",
|
|
287
|
+
"icon",
|
|
288
|
+
"iconAlt",
|
|
289
|
+
"iconType"
|
|
290
|
+
]
|
|
291
|
+
},
|
|
292
|
+
"title": "customPlugins"
|
|
219
293
|
}
|
|
220
294
|
}
|
|
221
295
|
},
|
|
@@ -303,6 +377,43 @@
|
|
|
303
377
|
"title": "disabled"
|
|
304
378
|
}
|
|
305
379
|
}
|
|
380
|
+
},
|
|
381
|
+
"customPlugins": {
|
|
382
|
+
"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.",
|
|
383
|
+
"type": "array",
|
|
384
|
+
"items": {
|
|
385
|
+
"title": "CustomPlugin",
|
|
386
|
+
"type": "object",
|
|
387
|
+
"properties": {
|
|
388
|
+
"event": {
|
|
389
|
+
"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\"",
|
|
390
|
+
"type": "string",
|
|
391
|
+
"title": "event"
|
|
392
|
+
},
|
|
393
|
+
"iconAlt": {
|
|
394
|
+
"description": "The alt for the custom button icon",
|
|
395
|
+
"type": "string",
|
|
396
|
+
"title": "iconAlt"
|
|
397
|
+
},
|
|
398
|
+
"iconType": {
|
|
399
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
400
|
+
"type": "string",
|
|
401
|
+
"title": "iconType"
|
|
402
|
+
},
|
|
403
|
+
"icon": {
|
|
404
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
405
|
+
"type": "string",
|
|
406
|
+
"title": "icon"
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"required": [
|
|
410
|
+
"event",
|
|
411
|
+
"icon",
|
|
412
|
+
"iconAlt",
|
|
413
|
+
"iconType"
|
|
414
|
+
]
|
|
415
|
+
},
|
|
416
|
+
"title": "customPlugins"
|
|
306
417
|
}
|
|
307
418
|
}
|
|
308
419
|
},
|
|
@@ -427,6 +538,43 @@
|
|
|
427
538
|
"title": "disabled"
|
|
428
539
|
}
|
|
429
540
|
}
|
|
541
|
+
},
|
|
542
|
+
"customPlugins": {
|
|
543
|
+
"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.",
|
|
544
|
+
"type": "array",
|
|
545
|
+
"items": {
|
|
546
|
+
"title": "CustomPlugin",
|
|
547
|
+
"type": "object",
|
|
548
|
+
"properties": {
|
|
549
|
+
"event": {
|
|
550
|
+
"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\"",
|
|
551
|
+
"type": "string",
|
|
552
|
+
"title": "event"
|
|
553
|
+
},
|
|
554
|
+
"iconAlt": {
|
|
555
|
+
"description": "The alt for the custom button icon",
|
|
556
|
+
"type": "string",
|
|
557
|
+
"title": "iconAlt"
|
|
558
|
+
},
|
|
559
|
+
"iconType": {
|
|
560
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
561
|
+
"type": "string",
|
|
562
|
+
"title": "iconType"
|
|
563
|
+
},
|
|
564
|
+
"icon": {
|
|
565
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
566
|
+
"type": "string",
|
|
567
|
+
"title": "icon"
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
"required": [
|
|
571
|
+
"event",
|
|
572
|
+
"icon",
|
|
573
|
+
"iconAlt",
|
|
574
|
+
"iconType"
|
|
575
|
+
]
|
|
576
|
+
},
|
|
577
|
+
"title": "customPlugins"
|
|
430
578
|
}
|
|
431
579
|
}
|
|
432
580
|
},
|
|
@@ -707,6 +855,43 @@
|
|
|
707
855
|
"title": "disabled"
|
|
708
856
|
}
|
|
709
857
|
}
|
|
858
|
+
},
|
|
859
|
+
"customPlugins": {
|
|
860
|
+
"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.",
|
|
861
|
+
"type": "array",
|
|
862
|
+
"items": {
|
|
863
|
+
"title": "CustomPlugin",
|
|
864
|
+
"type": "object",
|
|
865
|
+
"properties": {
|
|
866
|
+
"event": {
|
|
867
|
+
"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\"",
|
|
868
|
+
"type": "string",
|
|
869
|
+
"title": "event"
|
|
870
|
+
},
|
|
871
|
+
"iconAlt": {
|
|
872
|
+
"description": "The alt for the custom button icon",
|
|
873
|
+
"type": "string",
|
|
874
|
+
"title": "iconAlt"
|
|
875
|
+
},
|
|
876
|
+
"iconType": {
|
|
877
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
878
|
+
"type": "string",
|
|
879
|
+
"title": "iconType"
|
|
880
|
+
},
|
|
881
|
+
"icon": {
|
|
882
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
883
|
+
"type": "string",
|
|
884
|
+
"title": "icon"
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
"required": [
|
|
888
|
+
"event",
|
|
889
|
+
"icon",
|
|
890
|
+
"iconAlt",
|
|
891
|
+
"iconType"
|
|
892
|
+
]
|
|
893
|
+
},
|
|
894
|
+
"title": "customPlugins"
|
|
710
895
|
}
|
|
711
896
|
}
|
|
712
897
|
},
|
|
@@ -721,6 +906,38 @@
|
|
|
721
906
|
}
|
|
722
907
|
}
|
|
723
908
|
},
|
|
909
|
+
"CustomPlugin": {
|
|
910
|
+
"title": "CustomPlugin",
|
|
911
|
+
"type": "object",
|
|
912
|
+
"properties": {
|
|
913
|
+
"event": {
|
|
914
|
+
"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\"",
|
|
915
|
+
"type": "string",
|
|
916
|
+
"title": "event"
|
|
917
|
+
},
|
|
918
|
+
"iconAlt": {
|
|
919
|
+
"description": "The alt for the custom button icon",
|
|
920
|
+
"type": "string",
|
|
921
|
+
"title": "iconAlt"
|
|
922
|
+
},
|
|
923
|
+
"iconType": {
|
|
924
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
925
|
+
"type": "string",
|
|
926
|
+
"title": "iconType"
|
|
927
|
+
},
|
|
928
|
+
"icon": {
|
|
929
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
930
|
+
"type": "string",
|
|
931
|
+
"title": "icon"
|
|
932
|
+
}
|
|
933
|
+
},
|
|
934
|
+
"required": [
|
|
935
|
+
"event",
|
|
936
|
+
"icon",
|
|
937
|
+
"iconAlt",
|
|
938
|
+
"iconType"
|
|
939
|
+
]
|
|
940
|
+
},
|
|
724
941
|
"ConfigureProp": {
|
|
725
942
|
"title": "ConfigureProp",
|
|
726
943
|
"type": "object",
|
|
@@ -788,6 +1005,43 @@
|
|
|
788
1005
|
"title": "disabled"
|
|
789
1006
|
}
|
|
790
1007
|
}
|
|
1008
|
+
},
|
|
1009
|
+
"customPlugins": {
|
|
1010
|
+
"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.",
|
|
1011
|
+
"type": "array",
|
|
1012
|
+
"items": {
|
|
1013
|
+
"title": "CustomPlugin",
|
|
1014
|
+
"type": "object",
|
|
1015
|
+
"properties": {
|
|
1016
|
+
"event": {
|
|
1017
|
+
"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\"",
|
|
1018
|
+
"type": "string",
|
|
1019
|
+
"title": "event"
|
|
1020
|
+
},
|
|
1021
|
+
"iconAlt": {
|
|
1022
|
+
"description": "The alt for the custom button icon",
|
|
1023
|
+
"type": "string",
|
|
1024
|
+
"title": "iconAlt"
|
|
1025
|
+
},
|
|
1026
|
+
"iconType": {
|
|
1027
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
1028
|
+
"type": "string",
|
|
1029
|
+
"title": "iconType"
|
|
1030
|
+
},
|
|
1031
|
+
"icon": {
|
|
1032
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
1033
|
+
"type": "string",
|
|
1034
|
+
"title": "icon"
|
|
1035
|
+
}
|
|
1036
|
+
},
|
|
1037
|
+
"required": [
|
|
1038
|
+
"event",
|
|
1039
|
+
"icon",
|
|
1040
|
+
"iconAlt",
|
|
1041
|
+
"iconType"
|
|
1042
|
+
]
|
|
1043
|
+
},
|
|
1044
|
+
"title": "customPlugins"
|
|
791
1045
|
}
|
|
792
1046
|
}
|
|
793
1047
|
},
|
|
@@ -38,6 +38,35 @@ 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
|
+
|
|
41
70
|
# `selectionCount` (object)
|
|
42
71
|
|
|
43
72
|
Properties of the `selectionCount` object:
|
|
@@ -162,6 +191,35 @@ Properties of the `image` object:
|
|
|
162
191
|
|
|
163
192
|
Indicates if the plugin is disabled or not
|
|
164
193
|
|
|
194
|
+
### `customPlugins` (array)
|
|
195
|
+
|
|
196
|
+
An array of objects that determine custom plugins.
|
|
197
|
+
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).
|
|
198
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
199
|
+
|
|
200
|
+
The object is an array with all elements of the type `object`.
|
|
201
|
+
|
|
202
|
+
The array object has the following properties:
|
|
203
|
+
|
|
204
|
+
#### `event` (string, required)
|
|
205
|
+
|
|
206
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
207
|
+
PIE will emit the event prefixed with "PIE-".
|
|
208
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
209
|
+
|
|
210
|
+
#### `iconAlt` (string, required)
|
|
211
|
+
|
|
212
|
+
The alt for the custom button icon
|
|
213
|
+
|
|
214
|
+
#### `iconType` (string, required)
|
|
215
|
+
|
|
216
|
+
The icon type.
|
|
217
|
+
Currently, only "SVG" is supported.
|
|
218
|
+
|
|
219
|
+
#### `icon` (string, required)
|
|
220
|
+
|
|
221
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
222
|
+
|
|
165
223
|
## `required` (boolean)
|
|
166
224
|
|
|
167
225
|
Indicates if the item is required and the value cannot be empty
|
|
@@ -226,6 +284,35 @@ Properties of the `image` object:
|
|
|
226
284
|
|
|
227
285
|
Indicates if the plugin is disabled or not
|
|
228
286
|
|
|
287
|
+
### `customPlugins` (array)
|
|
288
|
+
|
|
289
|
+
An array of objects that determine custom plugins.
|
|
290
|
+
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).
|
|
291
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
292
|
+
|
|
293
|
+
The object is an array with all elements of the type `object`.
|
|
294
|
+
|
|
295
|
+
The array object has the following properties:
|
|
296
|
+
|
|
297
|
+
#### `event` (string, required)
|
|
298
|
+
|
|
299
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
300
|
+
PIE will emit the event prefixed with "PIE-".
|
|
301
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
302
|
+
|
|
303
|
+
#### `iconAlt` (string, required)
|
|
304
|
+
|
|
305
|
+
The alt for the custom button icon
|
|
306
|
+
|
|
307
|
+
#### `iconType` (string, required)
|
|
308
|
+
|
|
309
|
+
The icon type.
|
|
310
|
+
Currently, only "SVG" is supported.
|
|
311
|
+
|
|
312
|
+
#### `icon` (string, required)
|
|
313
|
+
|
|
314
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
315
|
+
|
|
229
316
|
## `required` (boolean)
|
|
230
317
|
|
|
231
318
|
Indicates if the item is required and the value cannot be empty
|
|
@@ -318,6 +405,35 @@ Properties of the `image` object:
|
|
|
318
405
|
|
|
319
406
|
Indicates if the plugin is disabled or not
|
|
320
407
|
|
|
408
|
+
### `customPlugins` (array)
|
|
409
|
+
|
|
410
|
+
An array of objects that determine custom plugins.
|
|
411
|
+
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).
|
|
412
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
413
|
+
|
|
414
|
+
The object is an array with all elements of the type `object`.
|
|
415
|
+
|
|
416
|
+
The array object has the following properties:
|
|
417
|
+
|
|
418
|
+
#### `event` (string, required)
|
|
419
|
+
|
|
420
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
421
|
+
PIE will emit the event prefixed with "PIE-".
|
|
422
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
423
|
+
|
|
424
|
+
#### `iconAlt` (string, required)
|
|
425
|
+
|
|
426
|
+
The alt for the custom button icon
|
|
427
|
+
|
|
428
|
+
#### `iconType` (string, required)
|
|
429
|
+
|
|
430
|
+
The icon type.
|
|
431
|
+
Currently, only "SVG" is supported.
|
|
432
|
+
|
|
433
|
+
#### `icon` (string, required)
|
|
434
|
+
|
|
435
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
436
|
+
|
|
321
437
|
## `required` (boolean)
|
|
322
438
|
|
|
323
439
|
Indicates if the item is required and the value cannot be empty
|
|
@@ -532,6 +648,35 @@ Properties of the `image` object:
|
|
|
532
648
|
|
|
533
649
|
Indicates if the plugin is disabled or not
|
|
534
650
|
|
|
651
|
+
### `customPlugins` (array)
|
|
652
|
+
|
|
653
|
+
An array of objects that determine custom plugins.
|
|
654
|
+
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).
|
|
655
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
656
|
+
|
|
657
|
+
The object is an array with all elements of the type `object`.
|
|
658
|
+
|
|
659
|
+
The array object has the following properties:
|
|
660
|
+
|
|
661
|
+
#### `event` (string, required)
|
|
662
|
+
|
|
663
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
664
|
+
PIE will emit the event prefixed with "PIE-".
|
|
665
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
666
|
+
|
|
667
|
+
#### `iconAlt` (string, required)
|
|
668
|
+
|
|
669
|
+
The alt for the custom button icon
|
|
670
|
+
|
|
671
|
+
#### `iconType` (string, required)
|
|
672
|
+
|
|
673
|
+
The icon type.
|
|
674
|
+
Currently, only "SVG" is supported.
|
|
675
|
+
|
|
676
|
+
#### `icon` (string, required)
|
|
677
|
+
|
|
678
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
679
|
+
|
|
535
680
|
## `EditableHtmlButtonConfigure` (object)
|
|
536
681
|
|
|
537
682
|
Properties of the `EditableHtmlButtonConfigure` object:
|
|
@@ -540,6 +685,29 @@ Properties of the `EditableHtmlButtonConfigure` object:
|
|
|
540
685
|
|
|
541
686
|
Indicates if the plugin is disabled or not
|
|
542
687
|
|
|
688
|
+
## `CustomPlugin` (object)
|
|
689
|
+
|
|
690
|
+
Properties of the `CustomPlugin` object:
|
|
691
|
+
|
|
692
|
+
### `event` (string, required)
|
|
693
|
+
|
|
694
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
695
|
+
PIE will emit the event prefixed with "PIE-".
|
|
696
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
697
|
+
|
|
698
|
+
### `iconAlt` (string, required)
|
|
699
|
+
|
|
700
|
+
The alt for the custom button icon
|
|
701
|
+
|
|
702
|
+
### `iconType` (string, required)
|
|
703
|
+
|
|
704
|
+
The icon type.
|
|
705
|
+
Currently, only "SVG" is supported.
|
|
706
|
+
|
|
707
|
+
### `icon` (string, required)
|
|
708
|
+
|
|
709
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
710
|
+
|
|
543
711
|
## `ConfigureProp` (object)
|
|
544
712
|
|
|
545
713
|
Properties of the `ConfigureProp` object:
|
|
@@ -592,6 +760,35 @@ Properties of the `image` object:
|
|
|
592
760
|
|
|
593
761
|
Indicates if the plugin is disabled or not
|
|
594
762
|
|
|
763
|
+
#### `customPlugins` (array)
|
|
764
|
+
|
|
765
|
+
An array of objects that determine custom plugins.
|
|
766
|
+
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).
|
|
767
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
768
|
+
|
|
769
|
+
The object is an array with all elements of the type `object`.
|
|
770
|
+
|
|
771
|
+
The array object has the following properties:
|
|
772
|
+
|
|
773
|
+
##### `event` (string, required)
|
|
774
|
+
|
|
775
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
776
|
+
PIE will emit the event prefixed with "PIE-".
|
|
777
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
778
|
+
|
|
779
|
+
##### `iconAlt` (string, required)
|
|
780
|
+
|
|
781
|
+
The alt for the custom button icon
|
|
782
|
+
|
|
783
|
+
##### `iconType` (string, required)
|
|
784
|
+
|
|
785
|
+
The icon type.
|
|
786
|
+
Currently, only "SVG" is supported.
|
|
787
|
+
|
|
788
|
+
##### `icon` (string, required)
|
|
789
|
+
|
|
790
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
791
|
+
|
|
595
792
|
### `required` (boolean)
|
|
596
793
|
|
|
597
794
|
Indicates if the item is required and the value cannot be empty
|
package/docs/pie-schema.json
CHANGED
|
@@ -386,6 +386,43 @@
|
|
|
386
386
|
"title": "disabled"
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
|
+
},
|
|
390
|
+
"customPlugins": {
|
|
391
|
+
"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.",
|
|
392
|
+
"type": "array",
|
|
393
|
+
"items": {
|
|
394
|
+
"title": "CustomPlugin",
|
|
395
|
+
"type": "object",
|
|
396
|
+
"properties": {
|
|
397
|
+
"event": {
|
|
398
|
+
"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\"",
|
|
399
|
+
"type": "string",
|
|
400
|
+
"title": "event"
|
|
401
|
+
},
|
|
402
|
+
"iconAlt": {
|
|
403
|
+
"description": "The alt for the custom button icon",
|
|
404
|
+
"type": "string",
|
|
405
|
+
"title": "iconAlt"
|
|
406
|
+
},
|
|
407
|
+
"iconType": {
|
|
408
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
409
|
+
"type": "string",
|
|
410
|
+
"title": "iconType"
|
|
411
|
+
},
|
|
412
|
+
"icon": {
|
|
413
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
414
|
+
"type": "string",
|
|
415
|
+
"title": "icon"
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
"required": [
|
|
419
|
+
"event",
|
|
420
|
+
"icon",
|
|
421
|
+
"iconAlt",
|
|
422
|
+
"iconType"
|
|
423
|
+
]
|
|
424
|
+
},
|
|
425
|
+
"title": "customPlugins"
|
|
389
426
|
}
|
|
390
427
|
}
|
|
391
428
|
},
|
|
@@ -400,6 +437,38 @@
|
|
|
400
437
|
}
|
|
401
438
|
}
|
|
402
439
|
},
|
|
440
|
+
"CustomPlugin": {
|
|
441
|
+
"title": "CustomPlugin",
|
|
442
|
+
"type": "object",
|
|
443
|
+
"properties": {
|
|
444
|
+
"event": {
|
|
445
|
+
"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\"",
|
|
446
|
+
"type": "string",
|
|
447
|
+
"title": "event"
|
|
448
|
+
},
|
|
449
|
+
"iconAlt": {
|
|
450
|
+
"description": "The alt for the custom button icon",
|
|
451
|
+
"type": "string",
|
|
452
|
+
"title": "iconAlt"
|
|
453
|
+
},
|
|
454
|
+
"iconType": {
|
|
455
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
456
|
+
"type": "string",
|
|
457
|
+
"title": "iconType"
|
|
458
|
+
},
|
|
459
|
+
"icon": {
|
|
460
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
461
|
+
"type": "string",
|
|
462
|
+
"title": "icon"
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
"required": [
|
|
466
|
+
"event",
|
|
467
|
+
"icon",
|
|
468
|
+
"iconAlt",
|
|
469
|
+
"iconType"
|
|
470
|
+
]
|
|
471
|
+
},
|
|
403
472
|
"ConfigureProp": {
|
|
404
473
|
"title": "ConfigureProp",
|
|
405
474
|
"type": "object",
|
|
@@ -467,6 +536,43 @@
|
|
|
467
536
|
"title": "disabled"
|
|
468
537
|
}
|
|
469
538
|
}
|
|
539
|
+
},
|
|
540
|
+
"customPlugins": {
|
|
541
|
+
"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.",
|
|
542
|
+
"type": "array",
|
|
543
|
+
"items": {
|
|
544
|
+
"title": "CustomPlugin",
|
|
545
|
+
"type": "object",
|
|
546
|
+
"properties": {
|
|
547
|
+
"event": {
|
|
548
|
+
"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\"",
|
|
549
|
+
"type": "string",
|
|
550
|
+
"title": "event"
|
|
551
|
+
},
|
|
552
|
+
"iconAlt": {
|
|
553
|
+
"description": "The alt for the custom button icon",
|
|
554
|
+
"type": "string",
|
|
555
|
+
"title": "iconAlt"
|
|
556
|
+
},
|
|
557
|
+
"iconType": {
|
|
558
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
559
|
+
"type": "string",
|
|
560
|
+
"title": "iconType"
|
|
561
|
+
},
|
|
562
|
+
"icon": {
|
|
563
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
564
|
+
"type": "string",
|
|
565
|
+
"title": "icon"
|
|
566
|
+
}
|
|
567
|
+
},
|
|
568
|
+
"required": [
|
|
569
|
+
"event",
|
|
570
|
+
"icon",
|
|
571
|
+
"iconAlt",
|
|
572
|
+
"iconType"
|
|
573
|
+
]
|
|
574
|
+
},
|
|
575
|
+
"title": "customPlugins"
|
|
470
576
|
}
|
|
471
577
|
}
|
|
472
578
|
},
|
package/docs/pie-schema.json.md
CHANGED
|
@@ -191,6 +191,35 @@ Properties of the `image` object:
|
|
|
191
191
|
|
|
192
192
|
Indicates if the plugin is disabled or not
|
|
193
193
|
|
|
194
|
+
### `customPlugins` (array)
|
|
195
|
+
|
|
196
|
+
An array of objects that determine custom plugins.
|
|
197
|
+
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).
|
|
198
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
199
|
+
|
|
200
|
+
The object is an array with all elements of the type `object`.
|
|
201
|
+
|
|
202
|
+
The array object has the following properties:
|
|
203
|
+
|
|
204
|
+
#### `event` (string, required)
|
|
205
|
+
|
|
206
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
207
|
+
PIE will emit the event prefixed with "PIE-".
|
|
208
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
209
|
+
|
|
210
|
+
#### `iconAlt` (string, required)
|
|
211
|
+
|
|
212
|
+
The alt for the custom button icon
|
|
213
|
+
|
|
214
|
+
#### `iconType` (string, required)
|
|
215
|
+
|
|
216
|
+
The icon type.
|
|
217
|
+
Currently, only "SVG" is supported.
|
|
218
|
+
|
|
219
|
+
#### `icon` (string, required)
|
|
220
|
+
|
|
221
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
222
|
+
|
|
194
223
|
## `EditableHtmlButtonConfigure` (object)
|
|
195
224
|
|
|
196
225
|
Properties of the `EditableHtmlButtonConfigure` object:
|
|
@@ -199,6 +228,29 @@ Properties of the `EditableHtmlButtonConfigure` object:
|
|
|
199
228
|
|
|
200
229
|
Indicates if the plugin is disabled or not
|
|
201
230
|
|
|
231
|
+
## `CustomPlugin` (object)
|
|
232
|
+
|
|
233
|
+
Properties of the `CustomPlugin` object:
|
|
234
|
+
|
|
235
|
+
### `event` (string, required)
|
|
236
|
+
|
|
237
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
238
|
+
PIE will emit the event prefixed with "PIE-".
|
|
239
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
240
|
+
|
|
241
|
+
### `iconAlt` (string, required)
|
|
242
|
+
|
|
243
|
+
The alt for the custom button icon
|
|
244
|
+
|
|
245
|
+
### `iconType` (string, required)
|
|
246
|
+
|
|
247
|
+
The icon type.
|
|
248
|
+
Currently, only "SVG" is supported.
|
|
249
|
+
|
|
250
|
+
### `icon` (string, required)
|
|
251
|
+
|
|
252
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
253
|
+
|
|
202
254
|
## `ConfigureProp` (object)
|
|
203
255
|
|
|
204
256
|
Properties of the `ConfigureProp` object:
|
|
@@ -251,6 +303,35 @@ Properties of the `image` object:
|
|
|
251
303
|
|
|
252
304
|
Indicates if the plugin is disabled or not
|
|
253
305
|
|
|
306
|
+
#### `customPlugins` (array)
|
|
307
|
+
|
|
308
|
+
An array of objects that determine custom plugins.
|
|
309
|
+
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).
|
|
310
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
311
|
+
|
|
312
|
+
The object is an array with all elements of the type `object`.
|
|
313
|
+
|
|
314
|
+
The array object has the following properties:
|
|
315
|
+
|
|
316
|
+
##### `event` (string, required)
|
|
317
|
+
|
|
318
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
319
|
+
PIE will emit the event prefixed with "PIE-".
|
|
320
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
321
|
+
|
|
322
|
+
##### `iconAlt` (string, required)
|
|
323
|
+
|
|
324
|
+
The alt for the custom button icon
|
|
325
|
+
|
|
326
|
+
##### `iconType` (string, required)
|
|
327
|
+
|
|
328
|
+
The icon type.
|
|
329
|
+
Currently, only "SVG" is supported.
|
|
330
|
+
|
|
331
|
+
##### `icon` (string, required)
|
|
332
|
+
|
|
333
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
334
|
+
|
|
254
335
|
### `required` (boolean)
|
|
255
336
|
|
|
256
337
|
Indicates if the item is required and the value cannot be empty
|
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, _dll_react_dom_server} 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, _dll_react_dom_server} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.3/module/index.js";
|
|
2
2
|
import {_dll_pie_lib__pie_toolbox_config_ui, _dll_pie_lib__pie_toolbox_editable_html} 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_react_dom, _dll_classnames, _dll_lodash, _dll_debug, _dll_react_dom_server, _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_react_dom, _dll_classnames, _dll_lodash, _dll_debug, _dll_react_dom_server, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.3/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) {
|
package/module/manifest.json
CHANGED
package/module/print.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_lodash, _dll_debug, _dll_react_dom_server, _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_react_dom, _dll_classnames, _dll_lodash, _dll_debug, _dll_react_dom_server, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.3/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) {
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"repository": "pie-framework/pie-elements",
|
|
7
|
-
"version": "8.8.1-next.
|
|
7
|
+
"version": "8.8.1-next.16+44cb8eb36",
|
|
8
8
|
"description": "",
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@material-ui/core": "^3.9.2",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"author": "",
|
|
18
18
|
"license": "ISC",
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "44cb8eb36e997cd5218007c604c8d94137022f6e",
|
|
20
20
|
"scripts": {
|
|
21
21
|
"postpublish": "../../scripts/postpublish"
|
|
22
22
|
},
|