@pie-element/complex-rubric 2.7.0 → 2.7.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 +476 -0
- package/docs/config-schema.json.md +371 -0
- package/docs/pie-schema.json +291 -0
- package/docs/pie-schema.json.md +226 -0
- package/module/configure.js +1 -1
- package/module/element.js +1 -1
- package/module/index.html +1 -1
- package/module/manifest.json +2 -2
- package/module/print.html +1 -1
- package/module/print.js +1 -1
- package/package.json +4 -4
package/docs/pie-schema.json
CHANGED
|
@@ -327,6 +327,43 @@
|
|
|
327
327
|
"title": "disabled"
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
+
},
|
|
331
|
+
"customPlugins": {
|
|
332
|
+
"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.",
|
|
333
|
+
"type": "array",
|
|
334
|
+
"items": {
|
|
335
|
+
"title": "CustomPlugin",
|
|
336
|
+
"type": "object",
|
|
337
|
+
"properties": {
|
|
338
|
+
"event": {
|
|
339
|
+
"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\"",
|
|
340
|
+
"type": "string",
|
|
341
|
+
"title": "event"
|
|
342
|
+
},
|
|
343
|
+
"iconAlt": {
|
|
344
|
+
"description": "The alt for the custom button icon",
|
|
345
|
+
"type": "string",
|
|
346
|
+
"title": "iconAlt"
|
|
347
|
+
},
|
|
348
|
+
"iconType": {
|
|
349
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
350
|
+
"type": "string",
|
|
351
|
+
"title": "iconType"
|
|
352
|
+
},
|
|
353
|
+
"icon": {
|
|
354
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
355
|
+
"type": "string",
|
|
356
|
+
"title": "icon"
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
"required": [
|
|
360
|
+
"event",
|
|
361
|
+
"icon",
|
|
362
|
+
"iconAlt",
|
|
363
|
+
"iconType"
|
|
364
|
+
]
|
|
365
|
+
},
|
|
366
|
+
"title": "customPlugins"
|
|
330
367
|
}
|
|
331
368
|
}
|
|
332
369
|
},
|
|
@@ -504,6 +541,43 @@
|
|
|
504
541
|
"title": "disabled"
|
|
505
542
|
}
|
|
506
543
|
}
|
|
544
|
+
},
|
|
545
|
+
"customPlugins": {
|
|
546
|
+
"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.",
|
|
547
|
+
"type": "array",
|
|
548
|
+
"items": {
|
|
549
|
+
"title": "CustomPlugin",
|
|
550
|
+
"type": "object",
|
|
551
|
+
"properties": {
|
|
552
|
+
"event": {
|
|
553
|
+
"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\"",
|
|
554
|
+
"type": "string",
|
|
555
|
+
"title": "event"
|
|
556
|
+
},
|
|
557
|
+
"iconAlt": {
|
|
558
|
+
"description": "The alt for the custom button icon",
|
|
559
|
+
"type": "string",
|
|
560
|
+
"title": "iconAlt"
|
|
561
|
+
},
|
|
562
|
+
"iconType": {
|
|
563
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
564
|
+
"type": "string",
|
|
565
|
+
"title": "iconType"
|
|
566
|
+
},
|
|
567
|
+
"icon": {
|
|
568
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
569
|
+
"type": "string",
|
|
570
|
+
"title": "icon"
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
"required": [
|
|
574
|
+
"event",
|
|
575
|
+
"icon",
|
|
576
|
+
"iconAlt",
|
|
577
|
+
"iconType"
|
|
578
|
+
]
|
|
579
|
+
},
|
|
580
|
+
"title": "customPlugins"
|
|
507
581
|
}
|
|
508
582
|
}
|
|
509
583
|
},
|
|
@@ -518,6 +592,38 @@
|
|
|
518
592
|
}
|
|
519
593
|
}
|
|
520
594
|
},
|
|
595
|
+
"CustomPlugin": {
|
|
596
|
+
"title": "CustomPlugin",
|
|
597
|
+
"type": "object",
|
|
598
|
+
"properties": {
|
|
599
|
+
"event": {
|
|
600
|
+
"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\"",
|
|
601
|
+
"type": "string",
|
|
602
|
+
"title": "event"
|
|
603
|
+
},
|
|
604
|
+
"iconAlt": {
|
|
605
|
+
"description": "The alt for the custom button icon",
|
|
606
|
+
"type": "string",
|
|
607
|
+
"title": "iconAlt"
|
|
608
|
+
},
|
|
609
|
+
"iconType": {
|
|
610
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
611
|
+
"type": "string",
|
|
612
|
+
"title": "iconType"
|
|
613
|
+
},
|
|
614
|
+
"icon": {
|
|
615
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
616
|
+
"type": "string",
|
|
617
|
+
"title": "icon"
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
"required": [
|
|
621
|
+
"event",
|
|
622
|
+
"icon",
|
|
623
|
+
"iconAlt",
|
|
624
|
+
"iconType"
|
|
625
|
+
]
|
|
626
|
+
},
|
|
521
627
|
"ConfigureProp": {
|
|
522
628
|
"title": "ConfigureProp",
|
|
523
629
|
"type": "object",
|
|
@@ -603,6 +709,43 @@
|
|
|
603
709
|
"title": "disabled"
|
|
604
710
|
}
|
|
605
711
|
}
|
|
712
|
+
},
|
|
713
|
+
"customPlugins": {
|
|
714
|
+
"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.",
|
|
715
|
+
"type": "array",
|
|
716
|
+
"items": {
|
|
717
|
+
"title": "CustomPlugin",
|
|
718
|
+
"type": "object",
|
|
719
|
+
"properties": {
|
|
720
|
+
"event": {
|
|
721
|
+
"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\"",
|
|
722
|
+
"type": "string",
|
|
723
|
+
"title": "event"
|
|
724
|
+
},
|
|
725
|
+
"iconAlt": {
|
|
726
|
+
"description": "The alt for the custom button icon",
|
|
727
|
+
"type": "string",
|
|
728
|
+
"title": "iconAlt"
|
|
729
|
+
},
|
|
730
|
+
"iconType": {
|
|
731
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
732
|
+
"type": "string",
|
|
733
|
+
"title": "iconType"
|
|
734
|
+
},
|
|
735
|
+
"icon": {
|
|
736
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
737
|
+
"type": "string",
|
|
738
|
+
"title": "icon"
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
"required": [
|
|
742
|
+
"event",
|
|
743
|
+
"icon",
|
|
744
|
+
"iconAlt",
|
|
745
|
+
"iconType"
|
|
746
|
+
]
|
|
747
|
+
},
|
|
748
|
+
"title": "customPlugins"
|
|
606
749
|
}
|
|
607
750
|
}
|
|
608
751
|
},
|
|
@@ -657,6 +800,43 @@
|
|
|
657
800
|
"title": "disabled"
|
|
658
801
|
}
|
|
659
802
|
}
|
|
803
|
+
},
|
|
804
|
+
"customPlugins": {
|
|
805
|
+
"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.",
|
|
806
|
+
"type": "array",
|
|
807
|
+
"items": {
|
|
808
|
+
"title": "CustomPlugin",
|
|
809
|
+
"type": "object",
|
|
810
|
+
"properties": {
|
|
811
|
+
"event": {
|
|
812
|
+
"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\"",
|
|
813
|
+
"type": "string",
|
|
814
|
+
"title": "event"
|
|
815
|
+
},
|
|
816
|
+
"iconAlt": {
|
|
817
|
+
"description": "The alt for the custom button icon",
|
|
818
|
+
"type": "string",
|
|
819
|
+
"title": "iconAlt"
|
|
820
|
+
},
|
|
821
|
+
"iconType": {
|
|
822
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
823
|
+
"type": "string",
|
|
824
|
+
"title": "iconType"
|
|
825
|
+
},
|
|
826
|
+
"icon": {
|
|
827
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
828
|
+
"type": "string",
|
|
829
|
+
"title": "icon"
|
|
830
|
+
}
|
|
831
|
+
},
|
|
832
|
+
"required": [
|
|
833
|
+
"event",
|
|
834
|
+
"icon",
|
|
835
|
+
"iconAlt",
|
|
836
|
+
"iconType"
|
|
837
|
+
]
|
|
838
|
+
},
|
|
839
|
+
"title": "customPlugins"
|
|
660
840
|
}
|
|
661
841
|
}
|
|
662
842
|
},
|
|
@@ -723,6 +903,43 @@
|
|
|
723
903
|
"title": "disabled"
|
|
724
904
|
}
|
|
725
905
|
}
|
|
906
|
+
},
|
|
907
|
+
"customPlugins": {
|
|
908
|
+
"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.",
|
|
909
|
+
"type": "array",
|
|
910
|
+
"items": {
|
|
911
|
+
"title": "CustomPlugin",
|
|
912
|
+
"type": "object",
|
|
913
|
+
"properties": {
|
|
914
|
+
"event": {
|
|
915
|
+
"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\"",
|
|
916
|
+
"type": "string",
|
|
917
|
+
"title": "event"
|
|
918
|
+
},
|
|
919
|
+
"iconAlt": {
|
|
920
|
+
"description": "The alt for the custom button icon",
|
|
921
|
+
"type": "string",
|
|
922
|
+
"title": "iconAlt"
|
|
923
|
+
},
|
|
924
|
+
"iconType": {
|
|
925
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
926
|
+
"type": "string",
|
|
927
|
+
"title": "iconType"
|
|
928
|
+
},
|
|
929
|
+
"icon": {
|
|
930
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
931
|
+
"type": "string",
|
|
932
|
+
"title": "icon"
|
|
933
|
+
}
|
|
934
|
+
},
|
|
935
|
+
"required": [
|
|
936
|
+
"event",
|
|
937
|
+
"icon",
|
|
938
|
+
"iconAlt",
|
|
939
|
+
"iconType"
|
|
940
|
+
]
|
|
941
|
+
},
|
|
942
|
+
"title": "customPlugins"
|
|
726
943
|
}
|
|
727
944
|
}
|
|
728
945
|
},
|
|
@@ -1010,6 +1227,43 @@
|
|
|
1010
1227
|
"title": "disabled"
|
|
1011
1228
|
}
|
|
1012
1229
|
}
|
|
1230
|
+
},
|
|
1231
|
+
"customPlugins": {
|
|
1232
|
+
"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.",
|
|
1233
|
+
"type": "array",
|
|
1234
|
+
"items": {
|
|
1235
|
+
"title": "CustomPlugin",
|
|
1236
|
+
"type": "object",
|
|
1237
|
+
"properties": {
|
|
1238
|
+
"event": {
|
|
1239
|
+
"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\"",
|
|
1240
|
+
"type": "string",
|
|
1241
|
+
"title": "event"
|
|
1242
|
+
},
|
|
1243
|
+
"iconAlt": {
|
|
1244
|
+
"description": "The alt for the custom button icon",
|
|
1245
|
+
"type": "string",
|
|
1246
|
+
"title": "iconAlt"
|
|
1247
|
+
},
|
|
1248
|
+
"iconType": {
|
|
1249
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
1250
|
+
"type": "string",
|
|
1251
|
+
"title": "iconType"
|
|
1252
|
+
},
|
|
1253
|
+
"icon": {
|
|
1254
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
1255
|
+
"type": "string",
|
|
1256
|
+
"title": "icon"
|
|
1257
|
+
}
|
|
1258
|
+
},
|
|
1259
|
+
"required": [
|
|
1260
|
+
"event",
|
|
1261
|
+
"icon",
|
|
1262
|
+
"iconAlt",
|
|
1263
|
+
"iconType"
|
|
1264
|
+
]
|
|
1265
|
+
},
|
|
1266
|
+
"title": "customPlugins"
|
|
1013
1267
|
}
|
|
1014
1268
|
}
|
|
1015
1269
|
},
|
|
@@ -1167,6 +1421,43 @@
|
|
|
1167
1421
|
"title": "disabled"
|
|
1168
1422
|
}
|
|
1169
1423
|
}
|
|
1424
|
+
},
|
|
1425
|
+
"customPlugins": {
|
|
1426
|
+
"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.",
|
|
1427
|
+
"type": "array",
|
|
1428
|
+
"items": {
|
|
1429
|
+
"title": "CustomPlugin",
|
|
1430
|
+
"type": "object",
|
|
1431
|
+
"properties": {
|
|
1432
|
+
"event": {
|
|
1433
|
+
"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\"",
|
|
1434
|
+
"type": "string",
|
|
1435
|
+
"title": "event"
|
|
1436
|
+
},
|
|
1437
|
+
"iconAlt": {
|
|
1438
|
+
"description": "The alt for the custom button icon",
|
|
1439
|
+
"type": "string",
|
|
1440
|
+
"title": "iconAlt"
|
|
1441
|
+
},
|
|
1442
|
+
"iconType": {
|
|
1443
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
1444
|
+
"type": "string",
|
|
1445
|
+
"title": "iconType"
|
|
1446
|
+
},
|
|
1447
|
+
"icon": {
|
|
1448
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
1449
|
+
"type": "string",
|
|
1450
|
+
"title": "icon"
|
|
1451
|
+
}
|
|
1452
|
+
},
|
|
1453
|
+
"required": [
|
|
1454
|
+
"event",
|
|
1455
|
+
"icon",
|
|
1456
|
+
"iconAlt",
|
|
1457
|
+
"iconType"
|
|
1458
|
+
]
|
|
1459
|
+
},
|
|
1460
|
+
"title": "customPlugins"
|
|
1170
1461
|
}
|
|
1171
1462
|
}
|
|
1172
1463
|
},
|
package/docs/pie-schema.json.md
CHANGED
|
@@ -222,6 +222,35 @@ Properties of the `image` object:
|
|
|
222
222
|
|
|
223
223
|
Indicates if the plugin is disabled or not
|
|
224
224
|
|
|
225
|
+
#### `customPlugins` (array)
|
|
226
|
+
|
|
227
|
+
An array of objects that determine custom plugins.
|
|
228
|
+
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).
|
|
229
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
230
|
+
|
|
231
|
+
The object is an array with all elements of the type `object`.
|
|
232
|
+
|
|
233
|
+
The array object has the following properties:
|
|
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
|
+
|
|
225
254
|
### `settingsPanelDisabled` (boolean)
|
|
226
255
|
|
|
227
256
|
Indicates if the settings panel is not available
|
|
@@ -358,6 +387,35 @@ Properties of the `image` object:
|
|
|
358
387
|
|
|
359
388
|
Indicates if the plugin is disabled or not
|
|
360
389
|
|
|
390
|
+
### `customPlugins` (array)
|
|
391
|
+
|
|
392
|
+
An array of objects that determine custom plugins.
|
|
393
|
+
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).
|
|
394
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
395
|
+
|
|
396
|
+
The object is an array with all elements of the type `object`.
|
|
397
|
+
|
|
398
|
+
The array object has the following properties:
|
|
399
|
+
|
|
400
|
+
#### `event` (string, required)
|
|
401
|
+
|
|
402
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
403
|
+
PIE will emit the event prefixed with "PIE-".
|
|
404
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
405
|
+
|
|
406
|
+
#### `iconAlt` (string, required)
|
|
407
|
+
|
|
408
|
+
The alt for the custom button icon
|
|
409
|
+
|
|
410
|
+
#### `iconType` (string, required)
|
|
411
|
+
|
|
412
|
+
The icon type.
|
|
413
|
+
Currently, only "SVG" is supported.
|
|
414
|
+
|
|
415
|
+
#### `icon` (string, required)
|
|
416
|
+
|
|
417
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
418
|
+
|
|
361
419
|
## `EditableHtmlButtonConfigure` (object)
|
|
362
420
|
|
|
363
421
|
Properties of the `EditableHtmlButtonConfigure` object:
|
|
@@ -366,6 +424,29 @@ Properties of the `EditableHtmlButtonConfigure` object:
|
|
|
366
424
|
|
|
367
425
|
Indicates if the plugin is disabled or not
|
|
368
426
|
|
|
427
|
+
## `CustomPlugin` (object)
|
|
428
|
+
|
|
429
|
+
Properties of the `CustomPlugin` object:
|
|
430
|
+
|
|
431
|
+
### `event` (string, required)
|
|
432
|
+
|
|
433
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
434
|
+
PIE will emit the event prefixed with "PIE-".
|
|
435
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
436
|
+
|
|
437
|
+
### `iconAlt` (string, required)
|
|
438
|
+
|
|
439
|
+
The alt for the custom button icon
|
|
440
|
+
|
|
441
|
+
### `iconType` (string, required)
|
|
442
|
+
|
|
443
|
+
The icon type.
|
|
444
|
+
Currently, only "SVG" is supported.
|
|
445
|
+
|
|
446
|
+
### `icon` (string, required)
|
|
447
|
+
|
|
448
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
449
|
+
|
|
369
450
|
## `ConfigureProp` (object)
|
|
370
451
|
|
|
371
452
|
Properties of the `ConfigureProp` object:
|
|
@@ -432,6 +513,35 @@ Properties of the `image` object:
|
|
|
432
513
|
|
|
433
514
|
Indicates if the plugin is disabled or not
|
|
434
515
|
|
|
516
|
+
#### `customPlugins` (array)
|
|
517
|
+
|
|
518
|
+
An array of objects that determine custom plugins.
|
|
519
|
+
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).
|
|
520
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
521
|
+
|
|
522
|
+
The object is an array with all elements of the type `object`.
|
|
523
|
+
|
|
524
|
+
The array object has the following properties:
|
|
525
|
+
|
|
526
|
+
##### `event` (string, required)
|
|
527
|
+
|
|
528
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
529
|
+
PIE will emit the event prefixed with "PIE-".
|
|
530
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
531
|
+
|
|
532
|
+
##### `iconAlt` (string, required)
|
|
533
|
+
|
|
534
|
+
The alt for the custom button icon
|
|
535
|
+
|
|
536
|
+
##### `iconType` (string, required)
|
|
537
|
+
|
|
538
|
+
The icon type.
|
|
539
|
+
Currently, only "SVG" is supported.
|
|
540
|
+
|
|
541
|
+
##### `icon` (string, required)
|
|
542
|
+
|
|
543
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
544
|
+
|
|
435
545
|
### `expandedInput` (object)
|
|
436
546
|
|
|
437
547
|
Properties of the `expandedInput` object:
|
|
@@ -472,6 +582,35 @@ Properties of the `image` object:
|
|
|
472
582
|
|
|
473
583
|
Indicates if the plugin is disabled or not
|
|
474
584
|
|
|
585
|
+
##### `customPlugins` (array)
|
|
586
|
+
|
|
587
|
+
An array of objects that determine custom plugins.
|
|
588
|
+
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).
|
|
589
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
590
|
+
|
|
591
|
+
The object is an array with all elements of the type `object`.
|
|
592
|
+
|
|
593
|
+
The array object has the following properties:
|
|
594
|
+
|
|
595
|
+
###### `event` (string, required)
|
|
596
|
+
|
|
597
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
598
|
+
PIE will emit the event prefixed with "PIE-".
|
|
599
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
600
|
+
|
|
601
|
+
###### `iconAlt` (string, required)
|
|
602
|
+
|
|
603
|
+
The alt for the custom button icon
|
|
604
|
+
|
|
605
|
+
###### `iconType` (string, required)
|
|
606
|
+
|
|
607
|
+
The icon type.
|
|
608
|
+
Currently, only "SVG" is supported.
|
|
609
|
+
|
|
610
|
+
###### `icon` (string, required)
|
|
611
|
+
|
|
612
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
613
|
+
|
|
475
614
|
#### `settings` (boolean)
|
|
476
615
|
|
|
477
616
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -520,6 +659,35 @@ Properties of the `image` object:
|
|
|
520
659
|
|
|
521
660
|
Indicates if the plugin is disabled or not
|
|
522
661
|
|
|
662
|
+
##### `customPlugins` (array)
|
|
663
|
+
|
|
664
|
+
An array of objects that determine custom plugins.
|
|
665
|
+
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).
|
|
666
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
667
|
+
|
|
668
|
+
The object is an array with all elements of the type `object`.
|
|
669
|
+
|
|
670
|
+
The array object has the following properties:
|
|
671
|
+
|
|
672
|
+
###### `event` (string, required)
|
|
673
|
+
|
|
674
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
675
|
+
PIE will emit the event prefixed with "PIE-".
|
|
676
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
677
|
+
|
|
678
|
+
###### `iconAlt` (string, required)
|
|
679
|
+
|
|
680
|
+
The alt for the custom button icon
|
|
681
|
+
|
|
682
|
+
###### `iconType` (string, required)
|
|
683
|
+
|
|
684
|
+
The icon type.
|
|
685
|
+
Currently, only "SVG" is supported.
|
|
686
|
+
|
|
687
|
+
###### `icon` (string, required)
|
|
688
|
+
|
|
689
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
690
|
+
|
|
523
691
|
#### `settings` (boolean)
|
|
524
692
|
|
|
525
693
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -733,6 +901,35 @@ Properties of the `image` object:
|
|
|
733
901
|
|
|
734
902
|
Indicates if the plugin is disabled or not
|
|
735
903
|
|
|
904
|
+
#### `customPlugins` (array)
|
|
905
|
+
|
|
906
|
+
An array of objects that determine custom plugins.
|
|
907
|
+
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).
|
|
908
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
909
|
+
|
|
910
|
+
The object is an array with all elements of the type `object`.
|
|
911
|
+
|
|
912
|
+
The array object has the following properties:
|
|
913
|
+
|
|
914
|
+
##### `event` (string, required)
|
|
915
|
+
|
|
916
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
917
|
+
PIE will emit the event prefixed with "PIE-".
|
|
918
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
919
|
+
|
|
920
|
+
##### `iconAlt` (string, required)
|
|
921
|
+
|
|
922
|
+
The alt for the custom button icon
|
|
923
|
+
|
|
924
|
+
##### `iconType` (string, required)
|
|
925
|
+
|
|
926
|
+
The icon type.
|
|
927
|
+
Currently, only "SVG" is supported.
|
|
928
|
+
|
|
929
|
+
##### `icon` (string, required)
|
|
930
|
+
|
|
931
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
932
|
+
|
|
736
933
|
### `settings` (boolean)
|
|
737
934
|
|
|
738
935
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -853,6 +1050,35 @@ Properties of the `image` object:
|
|
|
853
1050
|
|
|
854
1051
|
Indicates if the plugin is disabled or not
|
|
855
1052
|
|
|
1053
|
+
##### `customPlugins` (array)
|
|
1054
|
+
|
|
1055
|
+
An array of objects that determine custom plugins.
|
|
1056
|
+
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).
|
|
1057
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
1058
|
+
|
|
1059
|
+
The object is an array with all elements of the type `object`.
|
|
1060
|
+
|
|
1061
|
+
The array object has the following properties:
|
|
1062
|
+
|
|
1063
|
+
###### `event` (string, required)
|
|
1064
|
+
|
|
1065
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
1066
|
+
PIE will emit the event prefixed with "PIE-".
|
|
1067
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
1068
|
+
|
|
1069
|
+
###### `iconAlt` (string, required)
|
|
1070
|
+
|
|
1071
|
+
The alt for the custom button icon
|
|
1072
|
+
|
|
1073
|
+
###### `iconType` (string, required)
|
|
1074
|
+
|
|
1075
|
+
The icon type.
|
|
1076
|
+
Currently, only "SVG" is supported.
|
|
1077
|
+
|
|
1078
|
+
###### `icon` (string, required)
|
|
1079
|
+
|
|
1080
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
1081
|
+
|
|
856
1082
|
#### `settings` (boolean)
|
|
857
1083
|
|
|
858
1084
|
Indicates if the item has to be displayed in the Settings Panel
|
package/module/configure.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.3/module/index.js";
|
|
2
2
|
import RubricConfigure from '@pie-element/rubric/configure/lib';
|
|
3
3
|
import {_dll_pie_lib__pie_toolbox_editable_html, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@4.0.0/module/index.js";
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
package/module/element.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.3/module/index.js";
|
|
2
2
|
import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@4.0.0/module/index.js";
|
|
3
3
|
function _mergeNamespaces(n, m) {
|
|
4
4
|
m.forEach(function (e) {
|
package/module/index.html
CHANGED
package/module/manifest.json
CHANGED
package/module/print.html
CHANGED
package/module/print.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.3/module/index.js";
|
|
2
2
|
import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@4.0.0/module/index.js";
|
|
3
3
|
function _mergeNamespaces(n, m) {
|
|
4
4
|
m.forEach(function (e) {
|