@pie-element/select-text 8.8.1-next.18 → 8.8.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 -254
- package/docs/config-schema.json.md +0 -197
- package/docs/pie-schema.json +0 -106
- package/docs/pie-schema.json.md +0 -81
- 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 +3 -3
package/configure/package.json
CHANGED
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
|
},
|
|
@@ -253,43 +216,6 @@
|
|
|
253
216
|
"title": "disabled"
|
|
254
217
|
}
|
|
255
218
|
}
|
|
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"
|
|
293
219
|
}
|
|
294
220
|
}
|
|
295
221
|
},
|
|
@@ -377,43 +303,6 @@
|
|
|
377
303
|
"title": "disabled"
|
|
378
304
|
}
|
|
379
305
|
}
|
|
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"
|
|
417
306
|
}
|
|
418
307
|
}
|
|
419
308
|
},
|
|
@@ -538,43 +427,6 @@
|
|
|
538
427
|
"title": "disabled"
|
|
539
428
|
}
|
|
540
429
|
}
|
|
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"
|
|
578
430
|
}
|
|
579
431
|
}
|
|
580
432
|
},
|
|
@@ -855,43 +707,6 @@
|
|
|
855
707
|
"title": "disabled"
|
|
856
708
|
}
|
|
857
709
|
}
|
|
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"
|
|
895
710
|
}
|
|
896
711
|
}
|
|
897
712
|
},
|
|
@@ -906,38 +721,6 @@
|
|
|
906
721
|
}
|
|
907
722
|
}
|
|
908
723
|
},
|
|
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
|
-
},
|
|
941
724
|
"ConfigureProp": {
|
|
942
725
|
"title": "ConfigureProp",
|
|
943
726
|
"type": "object",
|
|
@@ -1005,43 +788,6 @@
|
|
|
1005
788
|
"title": "disabled"
|
|
1006
789
|
}
|
|
1007
790
|
}
|
|
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"
|
|
1045
791
|
}
|
|
1046
792
|
}
|
|
1047
793
|
},
|
|
@@ -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
|
# `selectionCount` (object)
|
|
71
42
|
|
|
72
43
|
Properties of the `selectionCount` object:
|
|
@@ -191,35 +162,6 @@ Properties of the `image` object:
|
|
|
191
162
|
|
|
192
163
|
Indicates if the plugin is disabled or not
|
|
193
164
|
|
|
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
|
-
|
|
223
165
|
## `required` (boolean)
|
|
224
166
|
|
|
225
167
|
Indicates if the item is required and the value cannot be empty
|
|
@@ -284,35 +226,6 @@ Properties of the `image` object:
|
|
|
284
226
|
|
|
285
227
|
Indicates if the plugin is disabled or not
|
|
286
228
|
|
|
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
|
-
|
|
316
229
|
## `required` (boolean)
|
|
317
230
|
|
|
318
231
|
Indicates if the item is required and the value cannot be empty
|
|
@@ -405,35 +318,6 @@ Properties of the `image` object:
|
|
|
405
318
|
|
|
406
319
|
Indicates if the plugin is disabled or not
|
|
407
320
|
|
|
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
|
-
|
|
437
321
|
## `required` (boolean)
|
|
438
322
|
|
|
439
323
|
Indicates if the item is required and the value cannot be empty
|
|
@@ -648,35 +532,6 @@ Properties of the `image` object:
|
|
|
648
532
|
|
|
649
533
|
Indicates if the plugin is disabled or not
|
|
650
534
|
|
|
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
|
-
|
|
680
535
|
## `EditableHtmlButtonConfigure` (object)
|
|
681
536
|
|
|
682
537
|
Properties of the `EditableHtmlButtonConfigure` object:
|
|
@@ -685,29 +540,6 @@ Properties of the `EditableHtmlButtonConfigure` object:
|
|
|
685
540
|
|
|
686
541
|
Indicates if the plugin is disabled or not
|
|
687
542
|
|
|
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
|
-
|
|
711
543
|
## `ConfigureProp` (object)
|
|
712
544
|
|
|
713
545
|
Properties of the `ConfigureProp` object:
|
|
@@ -760,35 +592,6 @@ Properties of the `image` object:
|
|
|
760
592
|
|
|
761
593
|
Indicates if the plugin is disabled or not
|
|
762
594
|
|
|
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
|
-
|
|
792
595
|
### `required` (boolean)
|
|
793
596
|
|
|
794
597
|
Indicates if the item is required and the value cannot be empty
|
package/docs/pie-schema.json
CHANGED
|
@@ -386,43 +386,6 @@
|
|
|
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"
|
|
426
389
|
}
|
|
427
390
|
}
|
|
428
391
|
},
|
|
@@ -437,38 +400,6 @@
|
|
|
437
400
|
}
|
|
438
401
|
}
|
|
439
402
|
},
|
|
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
|
-
},
|
|
472
403
|
"ConfigureProp": {
|
|
473
404
|
"title": "ConfigureProp",
|
|
474
405
|
"type": "object",
|
|
@@ -536,43 +467,6 @@
|
|
|
536
467
|
"title": "disabled"
|
|
537
468
|
}
|
|
538
469
|
}
|
|
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"
|
|
576
470
|
}
|
|
577
471
|
}
|
|
578
472
|
},
|
package/docs/pie-schema.json.md
CHANGED
|
@@ -191,35 +191,6 @@ 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
|
-
|
|
223
194
|
## `EditableHtmlButtonConfigure` (object)
|
|
224
195
|
|
|
225
196
|
Properties of the `EditableHtmlButtonConfigure` object:
|
|
@@ -228,29 +199,6 @@ Properties of the `EditableHtmlButtonConfigure` object:
|
|
|
228
199
|
|
|
229
200
|
Indicates if the plugin is disabled or not
|
|
230
201
|
|
|
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
|
-
|
|
254
202
|
## `ConfigureProp` (object)
|
|
255
203
|
|
|
256
204
|
Properties of the `ConfigureProp` object:
|
|
@@ -303,35 +251,6 @@ Properties of the `image` object:
|
|
|
303
251
|
|
|
304
252
|
Indicates if the plugin is disabled or not
|
|
305
253
|
|
|
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
|
-
|
|
335
254
|
### `required` (boolean)
|
|
336
255
|
|
|
337
256
|
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.2/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.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) {
|
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.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) {
|
package/package.json
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
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.5+579694d54",
|
|
8
8
|
"description": "",
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@material-ui/core": "^3.9.2",
|
|
11
11
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
12
|
-
"@pie-lib/pie-toolbox": "1.
|
|
12
|
+
"@pie-lib/pie-toolbox": "1.12.3",
|
|
13
13
|
"prop-types": "^15.6.1",
|
|
14
14
|
"react": "^16.8.1",
|
|
15
15
|
"react-dom": "^16.8.1"
|
|
16
16
|
},
|
|
17
17
|
"author": "",
|
|
18
18
|
"license": "ISC",
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "579694d5468995065657b651f06ec9513d0476b6",
|
|
20
20
|
"scripts": {
|
|
21
21
|
"postpublish": "../../scripts/postpublish"
|
|
22
22
|
},
|