@pie-element/extended-text-entry 10.9.1-next.0 → 10.9.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 +217 -0
- package/docs/config-schema.json.md +168 -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
|
@@ -160,6 +160,43 @@
|
|
|
160
160
|
"title": "disabled"
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
+
},
|
|
164
|
+
"customPlugins": {
|
|
165
|
+
"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.",
|
|
166
|
+
"type": "array",
|
|
167
|
+
"items": {
|
|
168
|
+
"title": "CustomPlugin",
|
|
169
|
+
"type": "object",
|
|
170
|
+
"properties": {
|
|
171
|
+
"event": {
|
|
172
|
+
"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\"",
|
|
173
|
+
"type": "string",
|
|
174
|
+
"title": "event"
|
|
175
|
+
},
|
|
176
|
+
"iconAlt": {
|
|
177
|
+
"description": "The alt for the custom button icon",
|
|
178
|
+
"type": "string",
|
|
179
|
+
"title": "iconAlt"
|
|
180
|
+
},
|
|
181
|
+
"iconType": {
|
|
182
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
183
|
+
"type": "string",
|
|
184
|
+
"title": "iconType"
|
|
185
|
+
},
|
|
186
|
+
"icon": {
|
|
187
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
188
|
+
"type": "string",
|
|
189
|
+
"title": "icon"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"required": [
|
|
193
|
+
"event",
|
|
194
|
+
"icon",
|
|
195
|
+
"iconAlt",
|
|
196
|
+
"iconType"
|
|
197
|
+
]
|
|
198
|
+
},
|
|
199
|
+
"title": "customPlugins"
|
|
163
200
|
}
|
|
164
201
|
}
|
|
165
202
|
},
|
|
@@ -231,6 +268,43 @@
|
|
|
231
268
|
"title": "disabled"
|
|
232
269
|
}
|
|
233
270
|
}
|
|
271
|
+
},
|
|
272
|
+
"customPlugins": {
|
|
273
|
+
"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.",
|
|
274
|
+
"type": "array",
|
|
275
|
+
"items": {
|
|
276
|
+
"title": "CustomPlugin",
|
|
277
|
+
"type": "object",
|
|
278
|
+
"properties": {
|
|
279
|
+
"event": {
|
|
280
|
+
"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\"",
|
|
281
|
+
"type": "string",
|
|
282
|
+
"title": "event"
|
|
283
|
+
},
|
|
284
|
+
"iconAlt": {
|
|
285
|
+
"description": "The alt for the custom button icon",
|
|
286
|
+
"type": "string",
|
|
287
|
+
"title": "iconAlt"
|
|
288
|
+
},
|
|
289
|
+
"iconType": {
|
|
290
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
291
|
+
"type": "string",
|
|
292
|
+
"title": "iconType"
|
|
293
|
+
},
|
|
294
|
+
"icon": {
|
|
295
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
296
|
+
"type": "string",
|
|
297
|
+
"title": "icon"
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"required": [
|
|
301
|
+
"event",
|
|
302
|
+
"icon",
|
|
303
|
+
"iconAlt",
|
|
304
|
+
"iconType"
|
|
305
|
+
]
|
|
306
|
+
},
|
|
307
|
+
"title": "customPlugins"
|
|
234
308
|
}
|
|
235
309
|
}
|
|
236
310
|
},
|
|
@@ -425,6 +499,43 @@
|
|
|
425
499
|
"title": "disabled"
|
|
426
500
|
}
|
|
427
501
|
}
|
|
502
|
+
},
|
|
503
|
+
"customPlugins": {
|
|
504
|
+
"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.",
|
|
505
|
+
"type": "array",
|
|
506
|
+
"items": {
|
|
507
|
+
"title": "CustomPlugin",
|
|
508
|
+
"type": "object",
|
|
509
|
+
"properties": {
|
|
510
|
+
"event": {
|
|
511
|
+
"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\"",
|
|
512
|
+
"type": "string",
|
|
513
|
+
"title": "event"
|
|
514
|
+
},
|
|
515
|
+
"iconAlt": {
|
|
516
|
+
"description": "The alt for the custom button icon",
|
|
517
|
+
"type": "string",
|
|
518
|
+
"title": "iconAlt"
|
|
519
|
+
},
|
|
520
|
+
"iconType": {
|
|
521
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
522
|
+
"type": "string",
|
|
523
|
+
"title": "iconType"
|
|
524
|
+
},
|
|
525
|
+
"icon": {
|
|
526
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
527
|
+
"type": "string",
|
|
528
|
+
"title": "icon"
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
"required": [
|
|
532
|
+
"event",
|
|
533
|
+
"icon",
|
|
534
|
+
"iconAlt",
|
|
535
|
+
"iconType"
|
|
536
|
+
]
|
|
537
|
+
},
|
|
538
|
+
"title": "customPlugins"
|
|
428
539
|
}
|
|
429
540
|
}
|
|
430
541
|
},
|
|
@@ -580,6 +691,43 @@
|
|
|
580
691
|
"title": "disabled"
|
|
581
692
|
}
|
|
582
693
|
}
|
|
694
|
+
},
|
|
695
|
+
"customPlugins": {
|
|
696
|
+
"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.",
|
|
697
|
+
"type": "array",
|
|
698
|
+
"items": {
|
|
699
|
+
"title": "CustomPlugin",
|
|
700
|
+
"type": "object",
|
|
701
|
+
"properties": {
|
|
702
|
+
"event": {
|
|
703
|
+
"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\"",
|
|
704
|
+
"type": "string",
|
|
705
|
+
"title": "event"
|
|
706
|
+
},
|
|
707
|
+
"iconAlt": {
|
|
708
|
+
"description": "The alt for the custom button icon",
|
|
709
|
+
"type": "string",
|
|
710
|
+
"title": "iconAlt"
|
|
711
|
+
},
|
|
712
|
+
"iconType": {
|
|
713
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
714
|
+
"type": "string",
|
|
715
|
+
"title": "iconType"
|
|
716
|
+
},
|
|
717
|
+
"icon": {
|
|
718
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
719
|
+
"type": "string",
|
|
720
|
+
"title": "icon"
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
"required": [
|
|
724
|
+
"event",
|
|
725
|
+
"icon",
|
|
726
|
+
"iconAlt",
|
|
727
|
+
"iconType"
|
|
728
|
+
]
|
|
729
|
+
},
|
|
730
|
+
"title": "customPlugins"
|
|
583
731
|
}
|
|
584
732
|
}
|
|
585
733
|
},
|
|
@@ -647,6 +795,43 @@
|
|
|
647
795
|
"title": "disabled"
|
|
648
796
|
}
|
|
649
797
|
}
|
|
798
|
+
},
|
|
799
|
+
"customPlugins": {
|
|
800
|
+
"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.",
|
|
801
|
+
"type": "array",
|
|
802
|
+
"items": {
|
|
803
|
+
"title": "CustomPlugin",
|
|
804
|
+
"type": "object",
|
|
805
|
+
"properties": {
|
|
806
|
+
"event": {
|
|
807
|
+
"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\"",
|
|
808
|
+
"type": "string",
|
|
809
|
+
"title": "event"
|
|
810
|
+
},
|
|
811
|
+
"iconAlt": {
|
|
812
|
+
"description": "The alt for the custom button icon",
|
|
813
|
+
"type": "string",
|
|
814
|
+
"title": "iconAlt"
|
|
815
|
+
},
|
|
816
|
+
"iconType": {
|
|
817
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
818
|
+
"type": "string",
|
|
819
|
+
"title": "iconType"
|
|
820
|
+
},
|
|
821
|
+
"icon": {
|
|
822
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
823
|
+
"type": "string",
|
|
824
|
+
"title": "icon"
|
|
825
|
+
}
|
|
826
|
+
},
|
|
827
|
+
"required": [
|
|
828
|
+
"event",
|
|
829
|
+
"icon",
|
|
830
|
+
"iconAlt",
|
|
831
|
+
"iconType"
|
|
832
|
+
]
|
|
833
|
+
},
|
|
834
|
+
"title": "customPlugins"
|
|
650
835
|
}
|
|
651
836
|
}
|
|
652
837
|
},
|
|
@@ -661,6 +846,38 @@
|
|
|
661
846
|
}
|
|
662
847
|
}
|
|
663
848
|
},
|
|
849
|
+
"CustomPlugin": {
|
|
850
|
+
"title": "CustomPlugin",
|
|
851
|
+
"type": "object",
|
|
852
|
+
"properties": {
|
|
853
|
+
"event": {
|
|
854
|
+
"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\"",
|
|
855
|
+
"type": "string",
|
|
856
|
+
"title": "event"
|
|
857
|
+
},
|
|
858
|
+
"iconAlt": {
|
|
859
|
+
"description": "The alt for the custom button icon",
|
|
860
|
+
"type": "string",
|
|
861
|
+
"title": "iconAlt"
|
|
862
|
+
},
|
|
863
|
+
"iconType": {
|
|
864
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
865
|
+
"type": "string",
|
|
866
|
+
"title": "iconType"
|
|
867
|
+
},
|
|
868
|
+
"icon": {
|
|
869
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
870
|
+
"type": "string",
|
|
871
|
+
"title": "icon"
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
"required": [
|
|
875
|
+
"event",
|
|
876
|
+
"icon",
|
|
877
|
+
"iconAlt",
|
|
878
|
+
"iconType"
|
|
879
|
+
]
|
|
880
|
+
},
|
|
664
881
|
"ConfigureMaxImageDimensionsProp": {
|
|
665
882
|
"title": "ConfigureMaxImageDimensionsProp",
|
|
666
883
|
"type": "object",
|
|
@@ -123,6 +123,35 @@ Properties of the `image` object:
|
|
|
123
123
|
|
|
124
124
|
Indicates if the plugin is disabled or not
|
|
125
125
|
|
|
126
|
+
### `customPlugins` (array)
|
|
127
|
+
|
|
128
|
+
An array of objects that determine custom plugins.
|
|
129
|
+
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).
|
|
130
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
131
|
+
|
|
132
|
+
The object is an array with all elements of the type `object`.
|
|
133
|
+
|
|
134
|
+
The array object has the following properties:
|
|
135
|
+
|
|
136
|
+
#### `event` (string, required)
|
|
137
|
+
|
|
138
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
139
|
+
PIE will emit the event prefixed with "PIE-".
|
|
140
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
141
|
+
|
|
142
|
+
#### `iconAlt` (string, required)
|
|
143
|
+
|
|
144
|
+
The alt for the custom button icon
|
|
145
|
+
|
|
146
|
+
#### `iconType` (string, required)
|
|
147
|
+
|
|
148
|
+
The icon type.
|
|
149
|
+
Currently, only "SVG" is supported.
|
|
150
|
+
|
|
151
|
+
#### `icon` (string, required)
|
|
152
|
+
|
|
153
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
154
|
+
|
|
126
155
|
## `required` (boolean)
|
|
127
156
|
|
|
128
157
|
Indicates if the item is required and the value cannot be empty
|
|
@@ -175,6 +204,35 @@ Properties of the `image` object:
|
|
|
175
204
|
|
|
176
205
|
Indicates if the plugin is disabled or not
|
|
177
206
|
|
|
207
|
+
### `customPlugins` (array)
|
|
208
|
+
|
|
209
|
+
An array of objects that determine custom plugins.
|
|
210
|
+
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).
|
|
211
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
212
|
+
|
|
213
|
+
The object is an array with all elements of the type `object`.
|
|
214
|
+
|
|
215
|
+
The array object has the following properties:
|
|
216
|
+
|
|
217
|
+
#### `event` (string, required)
|
|
218
|
+
|
|
219
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
220
|
+
PIE will emit the event prefixed with "PIE-".
|
|
221
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
222
|
+
|
|
223
|
+
#### `iconAlt` (string, required)
|
|
224
|
+
|
|
225
|
+
The alt for the custom button icon
|
|
226
|
+
|
|
227
|
+
#### `iconType` (string, required)
|
|
228
|
+
|
|
229
|
+
The icon type.
|
|
230
|
+
Currently, only "SVG" is supported.
|
|
231
|
+
|
|
232
|
+
#### `icon` (string, required)
|
|
233
|
+
|
|
234
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
235
|
+
|
|
178
236
|
## `required` (boolean)
|
|
179
237
|
|
|
180
238
|
Indicates if the item is required and the value cannot be empty
|
|
@@ -322,6 +380,35 @@ Properties of the `image` object:
|
|
|
322
380
|
|
|
323
381
|
Indicates if the plugin is disabled or not
|
|
324
382
|
|
|
383
|
+
## `customPlugins` (array)
|
|
384
|
+
|
|
385
|
+
An array of objects that determine custom plugins.
|
|
386
|
+
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).
|
|
387
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
388
|
+
|
|
389
|
+
The object is an array with all elements of the type `object`.
|
|
390
|
+
|
|
391
|
+
The array object has the following properties:
|
|
392
|
+
|
|
393
|
+
### `event` (string, required)
|
|
394
|
+
|
|
395
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
396
|
+
PIE will emit the event prefixed with "PIE-".
|
|
397
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
398
|
+
|
|
399
|
+
### `iconAlt` (string, required)
|
|
400
|
+
|
|
401
|
+
The alt for the custom button icon
|
|
402
|
+
|
|
403
|
+
### `iconType` (string, required)
|
|
404
|
+
|
|
405
|
+
The icon type.
|
|
406
|
+
Currently, only "SVG" is supported.
|
|
407
|
+
|
|
408
|
+
### `icon` (string, required)
|
|
409
|
+
|
|
410
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
411
|
+
|
|
325
412
|
# `showPrompt` (boolean)
|
|
326
413
|
|
|
327
414
|
Determines whether prompt field will be displayed or not
|
|
@@ -449,6 +536,35 @@ Properties of the `image` object:
|
|
|
449
536
|
|
|
450
537
|
Indicates if the plugin is disabled or not
|
|
451
538
|
|
|
539
|
+
#### `customPlugins` (array)
|
|
540
|
+
|
|
541
|
+
An array of objects that determine custom plugins.
|
|
542
|
+
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).
|
|
543
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
544
|
+
|
|
545
|
+
The object is an array with all elements of the type `object`.
|
|
546
|
+
|
|
547
|
+
The array object has the following properties:
|
|
548
|
+
|
|
549
|
+
##### `event` (string, required)
|
|
550
|
+
|
|
551
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
552
|
+
PIE will emit the event prefixed with "PIE-".
|
|
553
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
554
|
+
|
|
555
|
+
##### `iconAlt` (string, required)
|
|
556
|
+
|
|
557
|
+
The alt for the custom button icon
|
|
558
|
+
|
|
559
|
+
##### `iconType` (string, required)
|
|
560
|
+
|
|
561
|
+
The icon type.
|
|
562
|
+
Currently, only "SVG" is supported.
|
|
563
|
+
|
|
564
|
+
##### `icon` (string, required)
|
|
565
|
+
|
|
566
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
567
|
+
|
|
452
568
|
### `required` (boolean)
|
|
453
569
|
|
|
454
570
|
Indicates if the item is required and the value cannot be empty
|
|
@@ -497,6 +613,35 @@ Properties of the `image` object:
|
|
|
497
613
|
|
|
498
614
|
Indicates if the plugin is disabled or not
|
|
499
615
|
|
|
616
|
+
### `customPlugins` (array)
|
|
617
|
+
|
|
618
|
+
An array of objects that determine custom plugins.
|
|
619
|
+
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).
|
|
620
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
621
|
+
|
|
622
|
+
The object is an array with all elements of the type `object`.
|
|
623
|
+
|
|
624
|
+
The array object has the following properties:
|
|
625
|
+
|
|
626
|
+
#### `event` (string, required)
|
|
627
|
+
|
|
628
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
629
|
+
PIE will emit the event prefixed with "PIE-".
|
|
630
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
631
|
+
|
|
632
|
+
#### `iconAlt` (string, required)
|
|
633
|
+
|
|
634
|
+
The alt for the custom button icon
|
|
635
|
+
|
|
636
|
+
#### `iconType` (string, required)
|
|
637
|
+
|
|
638
|
+
The icon type.
|
|
639
|
+
Currently, only "SVG" is supported.
|
|
640
|
+
|
|
641
|
+
#### `icon` (string, required)
|
|
642
|
+
|
|
643
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
644
|
+
|
|
500
645
|
## `EditableHtmlButtonConfigure` (object)
|
|
501
646
|
|
|
502
647
|
Properties of the `EditableHtmlButtonConfigure` object:
|
|
@@ -505,6 +650,29 @@ Properties of the `EditableHtmlButtonConfigure` object:
|
|
|
505
650
|
|
|
506
651
|
Indicates if the plugin is disabled or not
|
|
507
652
|
|
|
653
|
+
## `CustomPlugin` (object)
|
|
654
|
+
|
|
655
|
+
Properties of the `CustomPlugin` object:
|
|
656
|
+
|
|
657
|
+
### `event` (string, required)
|
|
658
|
+
|
|
659
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
660
|
+
PIE will emit the event prefixed with "PIE-".
|
|
661
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
662
|
+
|
|
663
|
+
### `iconAlt` (string, required)
|
|
664
|
+
|
|
665
|
+
The alt for the custom button icon
|
|
666
|
+
|
|
667
|
+
### `iconType` (string, required)
|
|
668
|
+
|
|
669
|
+
The icon type.
|
|
670
|
+
Currently, only "SVG" is supported.
|
|
671
|
+
|
|
672
|
+
### `icon` (string, required)
|
|
673
|
+
|
|
674
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
675
|
+
|
|
508
676
|
## `ConfigureMaxImageDimensionsProp` (object)
|
|
509
677
|
|
|
510
678
|
Properties of the `ConfigureMaxImageDimensionsProp` object:
|
package/docs/pie-schema.json
CHANGED
|
@@ -265,6 +265,43 @@
|
|
|
265
265
|
"title": "disabled"
|
|
266
266
|
}
|
|
267
267
|
}
|
|
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"
|
|
268
305
|
}
|
|
269
306
|
}
|
|
270
307
|
},
|
|
@@ -332,6 +369,43 @@
|
|
|
332
369
|
"title": "disabled"
|
|
333
370
|
}
|
|
334
371
|
}
|
|
372
|
+
},
|
|
373
|
+
"customPlugins": {
|
|
374
|
+
"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.",
|
|
375
|
+
"type": "array",
|
|
376
|
+
"items": {
|
|
377
|
+
"title": "CustomPlugin",
|
|
378
|
+
"type": "object",
|
|
379
|
+
"properties": {
|
|
380
|
+
"event": {
|
|
381
|
+
"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\"",
|
|
382
|
+
"type": "string",
|
|
383
|
+
"title": "event"
|
|
384
|
+
},
|
|
385
|
+
"iconAlt": {
|
|
386
|
+
"description": "The alt for the custom button icon",
|
|
387
|
+
"type": "string",
|
|
388
|
+
"title": "iconAlt"
|
|
389
|
+
},
|
|
390
|
+
"iconType": {
|
|
391
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
392
|
+
"type": "string",
|
|
393
|
+
"title": "iconType"
|
|
394
|
+
},
|
|
395
|
+
"icon": {
|
|
396
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
397
|
+
"type": "string",
|
|
398
|
+
"title": "icon"
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"required": [
|
|
402
|
+
"event",
|
|
403
|
+
"icon",
|
|
404
|
+
"iconAlt",
|
|
405
|
+
"iconType"
|
|
406
|
+
]
|
|
407
|
+
},
|
|
408
|
+
"title": "customPlugins"
|
|
335
409
|
}
|
|
336
410
|
}
|
|
337
411
|
},
|
|
@@ -346,6 +420,38 @@
|
|
|
346
420
|
}
|
|
347
421
|
}
|
|
348
422
|
},
|
|
423
|
+
"CustomPlugin": {
|
|
424
|
+
"title": "CustomPlugin",
|
|
425
|
+
"type": "object",
|
|
426
|
+
"properties": {
|
|
427
|
+
"event": {
|
|
428
|
+
"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\"",
|
|
429
|
+
"type": "string",
|
|
430
|
+
"title": "event"
|
|
431
|
+
},
|
|
432
|
+
"iconAlt": {
|
|
433
|
+
"description": "The alt for the custom button icon",
|
|
434
|
+
"type": "string",
|
|
435
|
+
"title": "iconAlt"
|
|
436
|
+
},
|
|
437
|
+
"iconType": {
|
|
438
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
439
|
+
"type": "string",
|
|
440
|
+
"title": "iconType"
|
|
441
|
+
},
|
|
442
|
+
"icon": {
|
|
443
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
444
|
+
"type": "string",
|
|
445
|
+
"title": "icon"
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
"required": [
|
|
449
|
+
"event",
|
|
450
|
+
"icon",
|
|
451
|
+
"iconAlt",
|
|
452
|
+
"iconType"
|
|
453
|
+
]
|
|
454
|
+
},
|
|
349
455
|
"ConfigureMaxImageDimensionsProp": {
|
|
350
456
|
"title": "ConfigureMaxImageDimensionsProp",
|
|
351
457
|
"type": "object",
|
package/docs/pie-schema.json.md
CHANGED
|
@@ -213,6 +213,35 @@ Properties of the `image` object:
|
|
|
213
213
|
|
|
214
214
|
Indicates if the plugin is disabled or not
|
|
215
215
|
|
|
216
|
+
#### `customPlugins` (array)
|
|
217
|
+
|
|
218
|
+
An array of objects that determine custom plugins.
|
|
219
|
+
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).
|
|
220
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
221
|
+
|
|
222
|
+
The object is an array with all elements of the type `object`.
|
|
223
|
+
|
|
224
|
+
The array object has the following properties:
|
|
225
|
+
|
|
226
|
+
##### `event` (string, required)
|
|
227
|
+
|
|
228
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
229
|
+
PIE will emit the event prefixed with "PIE-".
|
|
230
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
231
|
+
|
|
232
|
+
##### `iconAlt` (string, required)
|
|
233
|
+
|
|
234
|
+
The alt for the custom button icon
|
|
235
|
+
|
|
236
|
+
##### `iconType` (string, required)
|
|
237
|
+
|
|
238
|
+
The icon type.
|
|
239
|
+
Currently, only "SVG" is supported.
|
|
240
|
+
|
|
241
|
+
##### `icon` (string, required)
|
|
242
|
+
|
|
243
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
244
|
+
|
|
216
245
|
### `required` (boolean)
|
|
217
246
|
|
|
218
247
|
Indicates if the item is required and the value cannot be empty
|
|
@@ -261,6 +290,35 @@ Properties of the `image` object:
|
|
|
261
290
|
|
|
262
291
|
Indicates if the plugin is disabled or not
|
|
263
292
|
|
|
293
|
+
### `customPlugins` (array)
|
|
294
|
+
|
|
295
|
+
An array of objects that determine custom plugins.
|
|
296
|
+
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).
|
|
297
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
298
|
+
|
|
299
|
+
The object is an array with all elements of the type `object`.
|
|
300
|
+
|
|
301
|
+
The array object has the following properties:
|
|
302
|
+
|
|
303
|
+
#### `event` (string, required)
|
|
304
|
+
|
|
305
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
306
|
+
PIE will emit the event prefixed with "PIE-".
|
|
307
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
308
|
+
|
|
309
|
+
#### `iconAlt` (string, required)
|
|
310
|
+
|
|
311
|
+
The alt for the custom button icon
|
|
312
|
+
|
|
313
|
+
#### `iconType` (string, required)
|
|
314
|
+
|
|
315
|
+
The icon type.
|
|
316
|
+
Currently, only "SVG" is supported.
|
|
317
|
+
|
|
318
|
+
#### `icon` (string, required)
|
|
319
|
+
|
|
320
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
321
|
+
|
|
264
322
|
## `EditableHtmlButtonConfigure` (object)
|
|
265
323
|
|
|
266
324
|
Properties of the `EditableHtmlButtonConfigure` object:
|
|
@@ -269,6 +327,29 @@ Properties of the `EditableHtmlButtonConfigure` object:
|
|
|
269
327
|
|
|
270
328
|
Indicates if the plugin is disabled or not
|
|
271
329
|
|
|
330
|
+
## `CustomPlugin` (object)
|
|
331
|
+
|
|
332
|
+
Properties of the `CustomPlugin` object:
|
|
333
|
+
|
|
334
|
+
### `event` (string, required)
|
|
335
|
+
|
|
336
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
337
|
+
PIE will emit the event prefixed with "PIE-".
|
|
338
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
339
|
+
|
|
340
|
+
### `iconAlt` (string, required)
|
|
341
|
+
|
|
342
|
+
The alt for the custom button icon
|
|
343
|
+
|
|
344
|
+
### `iconType` (string, required)
|
|
345
|
+
|
|
346
|
+
The icon type.
|
|
347
|
+
Currently, only "SVG" is supported.
|
|
348
|
+
|
|
349
|
+
### `icon` (string, required)
|
|
350
|
+
|
|
351
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
352
|
+
|
|
272
353
|
## `ConfigureMaxImageDimensionsProp` (object)
|
|
273
354
|
|
|
274
355
|
Properties of the `ConfigureMaxImageDimensionsProp` object:
|
package/module/configure.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom} 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_classnames, _dll_debug, _dll_lodash, _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_classnames, _dll_debug, _dll_lodash, _dll_react_dom, _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_editable_html, _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_classnames, _dll_debug, _dll_lodash, _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_classnames, _dll_debug, _dll_lodash, _dll_react_dom, _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_editable_html, _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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/extended-text-entry",
|
|
3
|
-
"version": "10.9.1-next.
|
|
3
|
+
"version": "10.9.1-next.16+44cb8eb36",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": "pie-framework/pie-elements",
|
|
6
6
|
"publishConfig": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"react": "^16.8.1",
|
|
21
21
|
"react-dom": "^16.8.1"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "44cb8eb36e997cd5218007c604c8d94137022f6e",
|
|
24
24
|
"scripts": {
|
|
25
25
|
"postpublish": "../../scripts/postpublish"
|
|
26
26
|
},
|