@pie-element/ebsr 9.9.1-next.5 → 9.10.1-next.0

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.
@@ -326,6 +326,35 @@ Properties of the `image` object:
326
326
 
327
327
  Indicates if the plugin is disabled or not
328
328
 
329
+ ##### `customPlugins` (array)
330
+
331
+ An array of objects that determine custom plugins.
332
+ 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).
333
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
334
+
335
+ The object is an array with all elements of the type `object`.
336
+
337
+ The array object has the following properties:
338
+
339
+ ###### `event` (string, required)
340
+
341
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
342
+ PIE will emit the event prefixed with "PIE-".
343
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
344
+
345
+ ###### `iconAlt` (string, required)
346
+
347
+ The alt for the custom button icon
348
+
349
+ ###### `iconType` (string, required)
350
+
351
+ The icon type.
352
+ Currently, only "SVG" is supported.
353
+
354
+ ###### `icon` (string, required)
355
+
356
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
357
+
329
358
  #### `required` (boolean)
330
359
 
331
360
  Indicates if the item is required and the value cannot be empty
@@ -394,6 +423,35 @@ Properties of the `image` object:
394
423
 
395
424
  Indicates if the plugin is disabled or not
396
425
 
426
+ ##### `customPlugins` (array)
427
+
428
+ An array of objects that determine custom plugins.
429
+ 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).
430
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
431
+
432
+ The object is an array with all elements of the type `object`.
433
+
434
+ The array object has the following properties:
435
+
436
+ ###### `event` (string, required)
437
+
438
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
439
+ PIE will emit the event prefixed with "PIE-".
440
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
441
+
442
+ ###### `iconAlt` (string, required)
443
+
444
+ The alt for the custom button icon
445
+
446
+ ###### `iconType` (string, required)
447
+
448
+ The icon type.
449
+ Currently, only "SVG" is supported.
450
+
451
+ ###### `icon` (string, required)
452
+
453
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
454
+
397
455
  #### `required` (boolean)
398
456
 
399
457
  Indicates if the item is required and the value cannot be empty
@@ -458,6 +516,35 @@ Properties of the `image` object:
458
516
 
459
517
  Indicates if the plugin is disabled or not
460
518
 
519
+ ##### `customPlugins` (array)
520
+
521
+ An array of objects that determine custom plugins.
522
+ 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).
523
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
524
+
525
+ The object is an array with all elements of the type `object`.
526
+
527
+ The array object has the following properties:
528
+
529
+ ###### `event` (string, required)
530
+
531
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
532
+ PIE will emit the event prefixed with "PIE-".
533
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
534
+
535
+ ###### `iconAlt` (string, required)
536
+
537
+ The alt for the custom button icon
538
+
539
+ ###### `iconType` (string, required)
540
+
541
+ The icon type.
542
+ Currently, only "SVG" is supported.
543
+
544
+ ###### `icon` (string, required)
545
+
546
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
547
+
461
548
  #### `required` (boolean)
462
549
 
463
550
  Indicates if the item is required and the value cannot be empty
@@ -590,6 +677,35 @@ Properties of the `image` object:
590
677
 
591
678
  Indicates if the plugin is disabled or not
592
679
 
680
+ #### `customPlugins` (array)
681
+
682
+ An array of objects that determine custom plugins.
683
+ 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).
684
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
685
+
686
+ The object is an array with all elements of the type `object`.
687
+
688
+ The array object has the following properties:
689
+
690
+ ##### `event` (string, required)
691
+
692
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
693
+ PIE will emit the event prefixed with "PIE-".
694
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
695
+
696
+ ##### `iconAlt` (string, required)
697
+
698
+ The alt for the custom button icon
699
+
700
+ ##### `iconType` (string, required)
701
+
702
+ The icon type.
703
+ Currently, only "SVG" is supported.
704
+
705
+ ##### `icon` (string, required)
706
+
707
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
708
+
593
709
  ### `choices` (object)
594
710
 
595
711
  Properties of the `choices` object:
@@ -630,6 +746,35 @@ Properties of the `image` object:
630
746
 
631
747
  Indicates if the plugin is disabled or not
632
748
 
749
+ ##### `customPlugins` (array)
750
+
751
+ An array of objects that determine custom plugins.
752
+ 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).
753
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
754
+
755
+ The object is an array with all elements of the type `object`.
756
+
757
+ The array object has the following properties:
758
+
759
+ ###### `event` (string, required)
760
+
761
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
762
+ PIE will emit the event prefixed with "PIE-".
763
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
764
+
765
+ ###### `iconAlt` (string, required)
766
+
767
+ The alt for the custom button icon
768
+
769
+ ###### `iconType` (string, required)
770
+
771
+ The icon type.
772
+ Currently, only "SVG" is supported.
773
+
774
+ ###### `icon` (string, required)
775
+
776
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
777
+
633
778
  #### `settings` (boolean)
634
779
 
635
780
  Indicates if the item has to be displayed in the Settings Panel
@@ -690,6 +835,35 @@ Properties of the `image` object:
690
835
 
691
836
  Indicates if the plugin is disabled or not
692
837
 
838
+ #### `customPlugins` (array)
839
+
840
+ An array of objects that determine custom plugins.
841
+ 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).
842
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
843
+
844
+ The object is an array with all elements of the type `object`.
845
+
846
+ The array object has the following properties:
847
+
848
+ ##### `event` (string, required)
849
+
850
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
851
+ PIE will emit the event prefixed with "PIE-".
852
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
853
+
854
+ ##### `iconAlt` (string, required)
855
+
856
+ The alt for the custom button icon
857
+
858
+ ##### `iconType` (string, required)
859
+
860
+ The icon type.
861
+ Currently, only "SVG" is supported.
862
+
863
+ ##### `icon` (string, required)
864
+
865
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
866
+
693
867
  ### `required` (boolean)
694
868
 
695
869
  Indicates if the item is required and the value cannot be empty
@@ -738,6 +912,35 @@ Properties of the `image` object:
738
912
 
739
913
  Indicates if the plugin is disabled or not
740
914
 
915
+ ### `customPlugins` (array)
916
+
917
+ An array of objects that determine custom plugins.
918
+ 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).
919
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
920
+
921
+ The object is an array with all elements of the type `object`.
922
+
923
+ The array object has the following properties:
924
+
925
+ #### `event` (string, required)
926
+
927
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
928
+ PIE will emit the event prefixed with "PIE-".
929
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
930
+
931
+ #### `iconAlt` (string, required)
932
+
933
+ The alt for the custom button icon
934
+
935
+ #### `iconType` (string, required)
936
+
937
+ The icon type.
938
+ Currently, only "SVG" is supported.
939
+
940
+ #### `icon` (string, required)
941
+
942
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
943
+
741
944
  ## `EditableHtmlButtonConfigure` (object)
742
945
 
743
946
  Properties of the `EditableHtmlButtonConfigure` object:
@@ -746,6 +949,29 @@ Properties of the `EditableHtmlButtonConfigure` object:
746
949
 
747
950
  Indicates if the plugin is disabled or not
748
951
 
952
+ ## `CustomPlugin` (object)
953
+
954
+ Properties of the `CustomPlugin` object:
955
+
956
+ ### `event` (string, required)
957
+
958
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
959
+ PIE will emit the event prefixed with "PIE-".
960
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
961
+
962
+ ### `iconAlt` (string, required)
963
+
964
+ The alt for the custom button icon
965
+
966
+ ### `iconType` (string, required)
967
+
968
+ The icon type.
969
+ Currently, only "SVG" is supported.
970
+
971
+ ### `icon` (string, required)
972
+
973
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
974
+
749
975
  ## `ConfigureMaxImageDimensionsProp` (object)
750
976
 
751
977
  Properties of the `ConfigureMaxImageDimensionsProp` object:
@@ -818,6 +1044,35 @@ Properties of the `image` object:
818
1044
 
819
1045
  Indicates if the plugin is disabled or not
820
1046
 
1047
+ #### `customPlugins` (array)
1048
+
1049
+ An array of objects that determine custom plugins.
1050
+ 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).
1051
+ Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1052
+
1053
+ The object is an array with all elements of the type `object`.
1054
+
1055
+ The array object has the following properties:
1056
+
1057
+ ##### `event` (string, required)
1058
+
1059
+ The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1060
+ PIE will emit the event prefixed with "PIE-".
1061
+ Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1062
+
1063
+ ##### `iconAlt` (string, required)
1064
+
1065
+ The alt for the custom button icon
1066
+
1067
+ ##### `iconType` (string, required)
1068
+
1069
+ The icon type.
1070
+ Currently, only "SVG" is supported.
1071
+
1072
+ ##### `icon` (string, required)
1073
+
1074
+ The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1075
+
821
1076
  ### `settings` (boolean)
822
1077
 
823
1078
  Indicates if the item has to be displayed in the Settings Panel
@@ -1,4 +1,4 @@
1
- import {_dll_react, _dll_prop_types, _dll_lodash, _dll_react_dom} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.2/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_lodash, _dll_react_dom} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.3/module/index.js";
2
2
  import MultipleChoiceConfigure from '@pie-element/multiple-choice/configure/lib';
3
3
  import {_dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@4.0.0/module/index.js";
4
4
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
package/module/element.js CHANGED
@@ -1,4 +1,4 @@
1
- import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.2/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _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_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} 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/index.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <!doctype html>
3
3
  <html>
4
4
  <head>
5
- <title>@pie-element/ebsr@9.9.0</title>
5
+ <title>@pie-element/ebsr@9.10.0</title>
6
6
  <script
7
7
  type="module"
8
8
  src="https://cdn.jsdelivr.net/npm/@pslb/demo-el@^1.0.0/dist/demo-el/demo-el.esm.js"></script>
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@pie-element/ebsr",
3
- "version": "9.9.0",
3
+ "version": "9.10.0",
4
4
  "modules": [
5
5
  {
6
6
  "name": "@pie-lib/pie-toolbox-math-rendering-module",
7
- "version": "1.5.2"
7
+ "version": "1.5.3"
8
8
  },
9
9
  {
10
10
  "name": "@pie-lib/pie-toolbox-module",
package/module/print.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <!doctype html>
3
3
  <html>
4
4
  <head>
5
- <title>@pie-element/ebsr@9.9.0</title>
5
+ <title>@pie-element/ebsr@9.10.0</title>
6
6
  <link
7
7
  href="https://fonts.googleapis.com/css?family=Roboto&display=swap"
8
8
  rel="stylesheet"
package/module/print.js CHANGED
@@ -1,4 +1,4 @@
1
- import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.2/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _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_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} 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,13 +1,13 @@
1
1
  {
2
2
  "name": "@pie-element/ebsr",
3
- "version": "9.9.1-next.5+579694d54",
3
+ "version": "9.10.1-next.0+7612cee2d",
4
4
  "description": "",
5
5
  "repository": "pie-framework/pie-elements",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
9
9
  "dependencies": {
10
- "@pie-element/multiple-choice": "^8.11.1-next.5+579694d54",
10
+ "@pie-element/multiple-choice": "^8.12.1-next.0+7612cee2d",
11
11
  "@pie-framework/pie-player-events": "^0.1.0",
12
12
  "classnames": "^2.2.5",
13
13
  "debug": "^4.1.1",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "author": "pie framework developers",
17
17
  "license": "ISC",
18
- "gitHead": "579694d5468995065657b651f06ec9513d0476b6",
18
+ "gitHead": "7612cee2d409a408cd06a40d0c1190ab9ec70e3c",
19
19
  "scripts": {
20
20
  "postpublish": "../../scripts/postpublish"
21
21
  },