@pie-element/multi-trait-rubric 3.7.1-next.16 → 3.7.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/docs/config-schema.json +0 -217
- package/docs/config-schema.json.md +0 -168
- package/docs/pie-schema.json +0 -106
- package/docs/pie-schema.json.md +0 -81
- package/package.json +2 -2
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
|
},
|
|
@@ -141,43 +104,6 @@
|
|
|
141
104
|
"title": "disabled"
|
|
142
105
|
}
|
|
143
106
|
}
|
|
144
|
-
},
|
|
145
|
-
"customPlugins": {
|
|
146
|
-
"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.",
|
|
147
|
-
"type": "array",
|
|
148
|
-
"items": {
|
|
149
|
-
"title": "CustomPlugin",
|
|
150
|
-
"type": "object",
|
|
151
|
-
"properties": {
|
|
152
|
-
"event": {
|
|
153
|
-
"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\"",
|
|
154
|
-
"type": "string",
|
|
155
|
-
"title": "event"
|
|
156
|
-
},
|
|
157
|
-
"iconAlt": {
|
|
158
|
-
"description": "The alt for the custom button icon",
|
|
159
|
-
"type": "string",
|
|
160
|
-
"title": "iconAlt"
|
|
161
|
-
},
|
|
162
|
-
"iconType": {
|
|
163
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
164
|
-
"type": "string",
|
|
165
|
-
"title": "iconType"
|
|
166
|
-
},
|
|
167
|
-
"icon": {
|
|
168
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
169
|
-
"type": "string",
|
|
170
|
-
"title": "icon"
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
"required": [
|
|
174
|
-
"event",
|
|
175
|
-
"icon",
|
|
176
|
-
"iconAlt",
|
|
177
|
-
"iconType"
|
|
178
|
-
]
|
|
179
|
-
},
|
|
180
|
-
"title": "customPlugins"
|
|
181
107
|
}
|
|
182
108
|
}
|
|
183
109
|
},
|
|
@@ -244,43 +170,6 @@
|
|
|
244
170
|
"title": "disabled"
|
|
245
171
|
}
|
|
246
172
|
}
|
|
247
|
-
},
|
|
248
|
-
"customPlugins": {
|
|
249
|
-
"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.",
|
|
250
|
-
"type": "array",
|
|
251
|
-
"items": {
|
|
252
|
-
"title": "CustomPlugin",
|
|
253
|
-
"type": "object",
|
|
254
|
-
"properties": {
|
|
255
|
-
"event": {
|
|
256
|
-
"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\"",
|
|
257
|
-
"type": "string",
|
|
258
|
-
"title": "event"
|
|
259
|
-
},
|
|
260
|
-
"iconAlt": {
|
|
261
|
-
"description": "The alt for the custom button icon",
|
|
262
|
-
"type": "string",
|
|
263
|
-
"title": "iconAlt"
|
|
264
|
-
},
|
|
265
|
-
"iconType": {
|
|
266
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
267
|
-
"type": "string",
|
|
268
|
-
"title": "iconType"
|
|
269
|
-
},
|
|
270
|
-
"icon": {
|
|
271
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
272
|
-
"type": "string",
|
|
273
|
-
"title": "icon"
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
|
-
"required": [
|
|
277
|
-
"event",
|
|
278
|
-
"icon",
|
|
279
|
-
"iconAlt",
|
|
280
|
-
"iconType"
|
|
281
|
-
]
|
|
282
|
-
},
|
|
283
|
-
"title": "customPlugins"
|
|
284
173
|
}
|
|
285
174
|
}
|
|
286
175
|
},
|
|
@@ -564,43 +453,6 @@
|
|
|
564
453
|
"title": "disabled"
|
|
565
454
|
}
|
|
566
455
|
}
|
|
567
|
-
},
|
|
568
|
-
"customPlugins": {
|
|
569
|
-
"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.",
|
|
570
|
-
"type": "array",
|
|
571
|
-
"items": {
|
|
572
|
-
"title": "CustomPlugin",
|
|
573
|
-
"type": "object",
|
|
574
|
-
"properties": {
|
|
575
|
-
"event": {
|
|
576
|
-
"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\"",
|
|
577
|
-
"type": "string",
|
|
578
|
-
"title": "event"
|
|
579
|
-
},
|
|
580
|
-
"iconAlt": {
|
|
581
|
-
"description": "The alt for the custom button icon",
|
|
582
|
-
"type": "string",
|
|
583
|
-
"title": "iconAlt"
|
|
584
|
-
},
|
|
585
|
-
"iconType": {
|
|
586
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
587
|
-
"type": "string",
|
|
588
|
-
"title": "iconType"
|
|
589
|
-
},
|
|
590
|
-
"icon": {
|
|
591
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
592
|
-
"type": "string",
|
|
593
|
-
"title": "icon"
|
|
594
|
-
}
|
|
595
|
-
},
|
|
596
|
-
"required": [
|
|
597
|
-
"event",
|
|
598
|
-
"icon",
|
|
599
|
-
"iconAlt",
|
|
600
|
-
"iconType"
|
|
601
|
-
]
|
|
602
|
-
},
|
|
603
|
-
"title": "customPlugins"
|
|
604
456
|
}
|
|
605
457
|
}
|
|
606
458
|
},
|
|
@@ -615,38 +467,6 @@
|
|
|
615
467
|
}
|
|
616
468
|
}
|
|
617
469
|
},
|
|
618
|
-
"CustomPlugin": {
|
|
619
|
-
"title": "CustomPlugin",
|
|
620
|
-
"type": "object",
|
|
621
|
-
"properties": {
|
|
622
|
-
"event": {
|
|
623
|
-
"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\"",
|
|
624
|
-
"type": "string",
|
|
625
|
-
"title": "event"
|
|
626
|
-
},
|
|
627
|
-
"iconAlt": {
|
|
628
|
-
"description": "The alt for the custom button icon",
|
|
629
|
-
"type": "string",
|
|
630
|
-
"title": "iconAlt"
|
|
631
|
-
},
|
|
632
|
-
"iconType": {
|
|
633
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
634
|
-
"type": "string",
|
|
635
|
-
"title": "iconType"
|
|
636
|
-
},
|
|
637
|
-
"icon": {
|
|
638
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
639
|
-
"type": "string",
|
|
640
|
-
"title": "icon"
|
|
641
|
-
}
|
|
642
|
-
},
|
|
643
|
-
"required": [
|
|
644
|
-
"event",
|
|
645
|
-
"icon",
|
|
646
|
-
"iconAlt",
|
|
647
|
-
"iconType"
|
|
648
|
-
]
|
|
649
|
-
},
|
|
650
470
|
"EditableHtmlPluginConfigure": {
|
|
651
471
|
"title": "EditableHtmlPluginConfigure",
|
|
652
472
|
"type": "object",
|
|
@@ -698,43 +518,6 @@
|
|
|
698
518
|
"title": "disabled"
|
|
699
519
|
}
|
|
700
520
|
}
|
|
701
|
-
},
|
|
702
|
-
"customPlugins": {
|
|
703
|
-
"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.",
|
|
704
|
-
"type": "array",
|
|
705
|
-
"items": {
|
|
706
|
-
"title": "CustomPlugin",
|
|
707
|
-
"type": "object",
|
|
708
|
-
"properties": {
|
|
709
|
-
"event": {
|
|
710
|
-
"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\"",
|
|
711
|
-
"type": "string",
|
|
712
|
-
"title": "event"
|
|
713
|
-
},
|
|
714
|
-
"iconAlt": {
|
|
715
|
-
"description": "The alt for the custom button icon",
|
|
716
|
-
"type": "string",
|
|
717
|
-
"title": "iconAlt"
|
|
718
|
-
},
|
|
719
|
-
"iconType": {
|
|
720
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
721
|
-
"type": "string",
|
|
722
|
-
"title": "iconType"
|
|
723
|
-
},
|
|
724
|
-
"icon": {
|
|
725
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
726
|
-
"type": "string",
|
|
727
|
-
"title": "icon"
|
|
728
|
-
}
|
|
729
|
-
},
|
|
730
|
-
"required": [
|
|
731
|
-
"event",
|
|
732
|
-
"icon",
|
|
733
|
-
"iconAlt",
|
|
734
|
-
"iconType"
|
|
735
|
-
]
|
|
736
|
-
},
|
|
737
|
-
"title": "customPlugins"
|
|
738
521
|
}
|
|
739
522
|
}
|
|
740
523
|
},
|
|
@@ -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
|
# `expandedInput` (object)
|
|
71
42
|
|
|
72
43
|
Properties of the `expandedInput` object:
|
|
@@ -107,35 +78,6 @@ Properties of the `image` object:
|
|
|
107
78
|
|
|
108
79
|
Indicates if the plugin is disabled or not
|
|
109
80
|
|
|
110
|
-
### `customPlugins` (array)
|
|
111
|
-
|
|
112
|
-
An array of objects that determine custom plugins.
|
|
113
|
-
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).
|
|
114
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
115
|
-
|
|
116
|
-
The object is an array with all elements of the type `object`.
|
|
117
|
-
|
|
118
|
-
The array object has the following properties:
|
|
119
|
-
|
|
120
|
-
#### `event` (string, required)
|
|
121
|
-
|
|
122
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
123
|
-
PIE will emit the event prefixed with "PIE-".
|
|
124
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
125
|
-
|
|
126
|
-
#### `iconAlt` (string, required)
|
|
127
|
-
|
|
128
|
-
The alt for the custom button icon
|
|
129
|
-
|
|
130
|
-
#### `iconType` (string, required)
|
|
131
|
-
|
|
132
|
-
The icon type.
|
|
133
|
-
Currently, only "SVG" is supported.
|
|
134
|
-
|
|
135
|
-
#### `icon` (string, required)
|
|
136
|
-
|
|
137
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
138
|
-
|
|
139
81
|
## `settings` (boolean)
|
|
140
82
|
|
|
141
83
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -184,35 +126,6 @@ Properties of the `image` object:
|
|
|
184
126
|
|
|
185
127
|
Indicates if the plugin is disabled or not
|
|
186
128
|
|
|
187
|
-
### `customPlugins` (array)
|
|
188
|
-
|
|
189
|
-
An array of objects that determine custom plugins.
|
|
190
|
-
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).
|
|
191
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
192
|
-
|
|
193
|
-
The object is an array with all elements of the type `object`.
|
|
194
|
-
|
|
195
|
-
The array object has the following properties:
|
|
196
|
-
|
|
197
|
-
#### `event` (string, required)
|
|
198
|
-
|
|
199
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
200
|
-
PIE will emit the event prefixed with "PIE-".
|
|
201
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
202
|
-
|
|
203
|
-
#### `iconAlt` (string, required)
|
|
204
|
-
|
|
205
|
-
The alt for the custom button icon
|
|
206
|
-
|
|
207
|
-
#### `iconType` (string, required)
|
|
208
|
-
|
|
209
|
-
The icon type.
|
|
210
|
-
Currently, only "SVG" is supported.
|
|
211
|
-
|
|
212
|
-
#### `icon` (string, required)
|
|
213
|
-
|
|
214
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
215
|
-
|
|
216
129
|
## `settings` (boolean)
|
|
217
130
|
|
|
218
131
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -428,35 +341,6 @@ Properties of the `image` object:
|
|
|
428
341
|
|
|
429
342
|
Indicates if the plugin is disabled or not
|
|
430
343
|
|
|
431
|
-
### `customPlugins` (array)
|
|
432
|
-
|
|
433
|
-
An array of objects that determine custom plugins.
|
|
434
|
-
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).
|
|
435
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
436
|
-
|
|
437
|
-
The object is an array with all elements of the type `object`.
|
|
438
|
-
|
|
439
|
-
The array object has the following properties:
|
|
440
|
-
|
|
441
|
-
#### `event` (string, required)
|
|
442
|
-
|
|
443
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
444
|
-
PIE will emit the event prefixed with "PIE-".
|
|
445
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
446
|
-
|
|
447
|
-
#### `iconAlt` (string, required)
|
|
448
|
-
|
|
449
|
-
The alt for the custom button icon
|
|
450
|
-
|
|
451
|
-
#### `iconType` (string, required)
|
|
452
|
-
|
|
453
|
-
The icon type.
|
|
454
|
-
Currently, only "SVG" is supported.
|
|
455
|
-
|
|
456
|
-
#### `icon` (string, required)
|
|
457
|
-
|
|
458
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
459
|
-
|
|
460
344
|
## `EditableHtmlButtonConfigure` (object)
|
|
461
345
|
|
|
462
346
|
Properties of the `EditableHtmlButtonConfigure` object:
|
|
@@ -465,29 +349,6 @@ Properties of the `EditableHtmlButtonConfigure` object:
|
|
|
465
349
|
|
|
466
350
|
Indicates if the plugin is disabled or not
|
|
467
351
|
|
|
468
|
-
## `CustomPlugin` (object)
|
|
469
|
-
|
|
470
|
-
Properties of the `CustomPlugin` object:
|
|
471
|
-
|
|
472
|
-
### `event` (string, required)
|
|
473
|
-
|
|
474
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
475
|
-
PIE will emit the event prefixed with "PIE-".
|
|
476
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
477
|
-
|
|
478
|
-
### `iconAlt` (string, required)
|
|
479
|
-
|
|
480
|
-
The alt for the custom button icon
|
|
481
|
-
|
|
482
|
-
### `iconType` (string, required)
|
|
483
|
-
|
|
484
|
-
The icon type.
|
|
485
|
-
Currently, only "SVG" is supported.
|
|
486
|
-
|
|
487
|
-
### `icon` (string, required)
|
|
488
|
-
|
|
489
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
490
|
-
|
|
491
352
|
## `EditableHtmlPluginConfigure` (object)
|
|
492
353
|
|
|
493
354
|
Properties of the `EditableHtmlPluginConfigure` object:
|
|
@@ -528,35 +389,6 @@ Properties of the `image` object:
|
|
|
528
389
|
|
|
529
390
|
Indicates if the plugin is disabled or not
|
|
530
391
|
|
|
531
|
-
#### `customPlugins` (array)
|
|
532
|
-
|
|
533
|
-
An array of objects that determine custom plugins.
|
|
534
|
-
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).
|
|
535
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
536
|
-
|
|
537
|
-
The object is an array with all elements of the type `object`.
|
|
538
|
-
|
|
539
|
-
The array object has the following properties:
|
|
540
|
-
|
|
541
|
-
##### `event` (string, required)
|
|
542
|
-
|
|
543
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
544
|
-
PIE will emit the event prefixed with "PIE-".
|
|
545
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
546
|
-
|
|
547
|
-
##### `iconAlt` (string, required)
|
|
548
|
-
|
|
549
|
-
The alt for the custom button icon
|
|
550
|
-
|
|
551
|
-
##### `iconType` (string, required)
|
|
552
|
-
|
|
553
|
-
The icon type.
|
|
554
|
-
Currently, only "SVG" is supported.
|
|
555
|
-
|
|
556
|
-
##### `icon` (string, required)
|
|
557
|
-
|
|
558
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
559
|
-
|
|
560
392
|
### `settings` (boolean)
|
|
561
393
|
|
|
562
394
|
Indicates if the item has to be displayed in the Settings Panel
|
package/docs/pie-schema.json
CHANGED
|
@@ -181,43 +181,6 @@
|
|
|
181
181
|
"title": "disabled"
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
},
|
|
185
|
-
"customPlugins": {
|
|
186
|
-
"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.",
|
|
187
|
-
"type": "array",
|
|
188
|
-
"items": {
|
|
189
|
-
"title": "CustomPlugin",
|
|
190
|
-
"type": "object",
|
|
191
|
-
"properties": {
|
|
192
|
-
"event": {
|
|
193
|
-
"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\"",
|
|
194
|
-
"type": "string",
|
|
195
|
-
"title": "event"
|
|
196
|
-
},
|
|
197
|
-
"iconAlt": {
|
|
198
|
-
"description": "The alt for the custom button icon",
|
|
199
|
-
"type": "string",
|
|
200
|
-
"title": "iconAlt"
|
|
201
|
-
},
|
|
202
|
-
"iconType": {
|
|
203
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
204
|
-
"type": "string",
|
|
205
|
-
"title": "iconType"
|
|
206
|
-
},
|
|
207
|
-
"icon": {
|
|
208
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
209
|
-
"type": "string",
|
|
210
|
-
"title": "icon"
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
"required": [
|
|
214
|
-
"event",
|
|
215
|
-
"icon",
|
|
216
|
-
"iconAlt",
|
|
217
|
-
"iconType"
|
|
218
|
-
]
|
|
219
|
-
},
|
|
220
|
-
"title": "customPlugins"
|
|
221
184
|
}
|
|
222
185
|
}
|
|
223
186
|
},
|
|
@@ -232,38 +195,6 @@
|
|
|
232
195
|
}
|
|
233
196
|
}
|
|
234
197
|
},
|
|
235
|
-
"CustomPlugin": {
|
|
236
|
-
"title": "CustomPlugin",
|
|
237
|
-
"type": "object",
|
|
238
|
-
"properties": {
|
|
239
|
-
"event": {
|
|
240
|
-
"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\"",
|
|
241
|
-
"type": "string",
|
|
242
|
-
"title": "event"
|
|
243
|
-
},
|
|
244
|
-
"iconAlt": {
|
|
245
|
-
"description": "The alt for the custom button icon",
|
|
246
|
-
"type": "string",
|
|
247
|
-
"title": "iconAlt"
|
|
248
|
-
},
|
|
249
|
-
"iconType": {
|
|
250
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
251
|
-
"type": "string",
|
|
252
|
-
"title": "iconType"
|
|
253
|
-
},
|
|
254
|
-
"icon": {
|
|
255
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
256
|
-
"type": "string",
|
|
257
|
-
"title": "icon"
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
"required": [
|
|
261
|
-
"event",
|
|
262
|
-
"icon",
|
|
263
|
-
"iconAlt",
|
|
264
|
-
"iconType"
|
|
265
|
-
]
|
|
266
|
-
},
|
|
267
198
|
"EditableHtmlPluginConfigure": {
|
|
268
199
|
"title": "EditableHtmlPluginConfigure",
|
|
269
200
|
"type": "object",
|
|
@@ -315,43 +246,6 @@
|
|
|
315
246
|
"title": "disabled"
|
|
316
247
|
}
|
|
317
248
|
}
|
|
318
|
-
},
|
|
319
|
-
"customPlugins": {
|
|
320
|
-
"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.",
|
|
321
|
-
"type": "array",
|
|
322
|
-
"items": {
|
|
323
|
-
"title": "CustomPlugin",
|
|
324
|
-
"type": "object",
|
|
325
|
-
"properties": {
|
|
326
|
-
"event": {
|
|
327
|
-
"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\"",
|
|
328
|
-
"type": "string",
|
|
329
|
-
"title": "event"
|
|
330
|
-
},
|
|
331
|
-
"iconAlt": {
|
|
332
|
-
"description": "The alt for the custom button icon",
|
|
333
|
-
"type": "string",
|
|
334
|
-
"title": "iconAlt"
|
|
335
|
-
},
|
|
336
|
-
"iconType": {
|
|
337
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
338
|
-
"type": "string",
|
|
339
|
-
"title": "iconType"
|
|
340
|
-
},
|
|
341
|
-
"icon": {
|
|
342
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
343
|
-
"type": "string",
|
|
344
|
-
"title": "icon"
|
|
345
|
-
}
|
|
346
|
-
},
|
|
347
|
-
"required": [
|
|
348
|
-
"event",
|
|
349
|
-
"icon",
|
|
350
|
-
"iconAlt",
|
|
351
|
-
"iconType"
|
|
352
|
-
]
|
|
353
|
-
},
|
|
354
|
-
"title": "customPlugins"
|
|
355
249
|
}
|
|
356
250
|
}
|
|
357
251
|
},
|
package/docs/pie-schema.json.md
CHANGED
|
@@ -130,35 +130,6 @@ Properties of the `image` object:
|
|
|
130
130
|
|
|
131
131
|
Indicates if the plugin is disabled or not
|
|
132
132
|
|
|
133
|
-
### `customPlugins` (array)
|
|
134
|
-
|
|
135
|
-
An array of objects that determine custom plugins.
|
|
136
|
-
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).
|
|
137
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
138
|
-
|
|
139
|
-
The object is an array with all elements of the type `object`.
|
|
140
|
-
|
|
141
|
-
The array object has the following properties:
|
|
142
|
-
|
|
143
|
-
#### `event` (string, required)
|
|
144
|
-
|
|
145
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
146
|
-
PIE will emit the event prefixed with "PIE-".
|
|
147
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
148
|
-
|
|
149
|
-
#### `iconAlt` (string, required)
|
|
150
|
-
|
|
151
|
-
The alt for the custom button icon
|
|
152
|
-
|
|
153
|
-
#### `iconType` (string, required)
|
|
154
|
-
|
|
155
|
-
The icon type.
|
|
156
|
-
Currently, only "SVG" is supported.
|
|
157
|
-
|
|
158
|
-
#### `icon` (string, required)
|
|
159
|
-
|
|
160
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
161
|
-
|
|
162
133
|
## `EditableHtmlButtonConfigure` (object)
|
|
163
134
|
|
|
164
135
|
Properties of the `EditableHtmlButtonConfigure` object:
|
|
@@ -167,29 +138,6 @@ Properties of the `EditableHtmlButtonConfigure` object:
|
|
|
167
138
|
|
|
168
139
|
Indicates if the plugin is disabled or not
|
|
169
140
|
|
|
170
|
-
## `CustomPlugin` (object)
|
|
171
|
-
|
|
172
|
-
Properties of the `CustomPlugin` object:
|
|
173
|
-
|
|
174
|
-
### `event` (string, required)
|
|
175
|
-
|
|
176
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
177
|
-
PIE will emit the event prefixed with "PIE-".
|
|
178
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
179
|
-
|
|
180
|
-
### `iconAlt` (string, required)
|
|
181
|
-
|
|
182
|
-
The alt for the custom button icon
|
|
183
|
-
|
|
184
|
-
### `iconType` (string, required)
|
|
185
|
-
|
|
186
|
-
The icon type.
|
|
187
|
-
Currently, only "SVG" is supported.
|
|
188
|
-
|
|
189
|
-
### `icon` (string, required)
|
|
190
|
-
|
|
191
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
192
|
-
|
|
193
141
|
## `EditableHtmlPluginConfigure` (object)
|
|
194
142
|
|
|
195
143
|
Properties of the `EditableHtmlPluginConfigure` object:
|
|
@@ -230,35 +178,6 @@ Properties of the `image` object:
|
|
|
230
178
|
|
|
231
179
|
Indicates if the plugin is disabled or not
|
|
232
180
|
|
|
233
|
-
#### `customPlugins` (array)
|
|
234
|
-
|
|
235
|
-
An array of objects that determine custom plugins.
|
|
236
|
-
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).
|
|
237
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
238
|
-
|
|
239
|
-
The object is an array with all elements of the type `object`.
|
|
240
|
-
|
|
241
|
-
The array object has the following properties:
|
|
242
|
-
|
|
243
|
-
##### `event` (string, required)
|
|
244
|
-
|
|
245
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
246
|
-
PIE will emit the event prefixed with "PIE-".
|
|
247
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
248
|
-
|
|
249
|
-
##### `iconAlt` (string, required)
|
|
250
|
-
|
|
251
|
-
The alt for the custom button icon
|
|
252
|
-
|
|
253
|
-
##### `iconType` (string, required)
|
|
254
|
-
|
|
255
|
-
The icon type.
|
|
256
|
-
Currently, only "SVG" is supported.
|
|
257
|
-
|
|
258
|
-
##### `icon` (string, required)
|
|
259
|
-
|
|
260
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
261
|
-
|
|
262
181
|
### `settings` (boolean)
|
|
263
182
|
|
|
264
183
|
Indicates if the item has to be displayed in the Settings Panel
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/multi-trait-rubric",
|
|
3
3
|
"repository": "pie-framework/pie-elements",
|
|
4
|
-
"version": "3.7.1-next.
|
|
4
|
+
"version": "3.7.1-next.5+579694d54",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"react": "^16.8.1",
|
|
16
16
|
"react-dom": "^16.8.1"
|
|
17
17
|
},
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "579694d5468995065657b651f06ec9513d0476b6",
|
|
19
19
|
"scripts": {
|
|
20
20
|
"postpublish": "../../scripts/postpublish"
|
|
21
21
|
},
|