@pie-element/passage 2.15.1-next.12 → 2.15.1-next.3

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.
@@ -1,477 +0,0 @@
1
- Config Object for @pie-elements/passage-configure
2
-
3
- The schema defines the following properties:
4
-
5
- # `settingsPanelDisabled` (boolean)
6
-
7
- Indicates if the settings panel is not available
8
-
9
- # `teacherInstructions` (object)
10
-
11
- Properties of the `teacherInstructions` object:
12
-
13
- ## `inputConfiguration` (object)
14
-
15
- Properties of the `inputConfiguration` object:
16
-
17
- ### `math` (object)
18
-
19
- Properties of the `math` object:
20
-
21
- #### `disabled` (boolean)
22
-
23
- Indicates if the plugin is disabled or not
24
-
25
- ### `audio` (object)
26
-
27
- Properties of the `audio` object:
28
-
29
- #### `disabled` (boolean)
30
-
31
- Indicates if the plugin is disabled or not
32
-
33
- ### `video` (object)
34
-
35
- Properties of the `video` object:
36
-
37
- #### `disabled` (boolean)
38
-
39
- Indicates if the plugin is disabled or not
40
-
41
- ### `image` (object)
42
-
43
- Properties of the `image` object:
44
-
45
- #### `disabled` (boolean)
46
-
47
- Indicates if the plugin is disabled or not
48
-
49
- ### `customPlugins` (array)
50
-
51
- An array of objects that determine custom plugins.
52
- 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).
53
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
54
-
55
- The object is an array with all elements of the type `object`.
56
-
57
- The array object has the following properties:
58
-
59
- #### `event` (string, required)
60
-
61
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
62
- PIE will emit the event prefixed with "PIE-".
63
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
64
-
65
- #### `iconAlt` (string, required)
66
-
67
- The alt for the custom button icon
68
-
69
- #### `iconType` (string, required)
70
-
71
- The icon type.
72
- Currently, only "SVG" is supported.
73
-
74
- #### `icon` (string, required)
75
-
76
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
77
-
78
- ## `required` (boolean)
79
-
80
- Indicates if the item is required and the value cannot be empty
81
-
82
- ## `settings` (boolean)
83
-
84
- Indicates if the item has to be displayed in the Settings Panel
85
-
86
- ## `label` (string)
87
-
88
- Indicates the label for the item that has to be displayed in the Settings Panel
89
-
90
- # `maxImageWidth` (object)
91
-
92
- Properties of the `maxImageWidth` object:
93
-
94
- ## `teacherInstructions` (number)
95
-
96
- Indicates the max dimension for images in teacher instructions
97
-
98
- ## `prompt` (number)
99
-
100
- Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
101
-
102
- ## `rationale` (number)
103
-
104
- Indicates the max dimension for images in rationale
105
-
106
- # `maxImageHeight` (object)
107
-
108
- Properties of the `maxImageHeight` object:
109
-
110
- ## `teacherInstructions` (number)
111
-
112
- Indicates the max dimension for images in teacher instructions
113
-
114
- ## `prompt` (number)
115
-
116
- Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
117
-
118
- ## `rationale` (number)
119
-
120
- Indicates the max dimension for images in rationale
121
-
122
- # `mathMlOptions` (object)
123
-
124
- Properties of the `mathMlOptions` object:
125
-
126
- ## `mmlOutput` (number)
127
-
128
- Indicates if model should have mathML output instead of latex
129
-
130
- ## `mmlEditing` (number)
131
-
132
- Indicates if mathML that's already in model should be editable
133
-
134
- # `baseInputConfiguration` (object)
135
-
136
- Properties of the `baseInputConfiguration` object:
137
-
138
- ## `math` (object)
139
-
140
- Properties of the `math` object:
141
-
142
- ### `disabled` (boolean)
143
-
144
- Indicates if the plugin is disabled or not
145
-
146
- ## `audio` (object)
147
-
148
- Properties of the `audio` object:
149
-
150
- ### `disabled` (boolean)
151
-
152
- Indicates if the plugin is disabled or not
153
-
154
- ## `video` (object)
155
-
156
- Properties of the `video` object:
157
-
158
- ### `disabled` (boolean)
159
-
160
- Indicates if the plugin is disabled or not
161
-
162
- ## `image` (object)
163
-
164
- Properties of the `image` object:
165
-
166
- ### `disabled` (boolean)
167
-
168
- Indicates if the plugin is disabled or not
169
-
170
- ## `customPlugins` (array)
171
-
172
- An array of objects that determine custom plugins.
173
- 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).
174
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
175
-
176
- The object is an array with all elements of the type `object`.
177
-
178
- The array object has the following properties:
179
-
180
- ### `event` (string, required)
181
-
182
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
183
- PIE will emit the event prefixed with "PIE-".
184
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
185
-
186
- ### `iconAlt` (string, required)
187
-
188
- The alt for the custom button icon
189
-
190
- ### `iconType` (string, required)
191
-
192
- The icon type.
193
- Currently, only "SVG" is supported.
194
-
195
- ### `icon` (string, required)
196
-
197
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
198
-
199
- # `language` (object)
200
-
201
- Properties of the `language` object:
202
-
203
- ## `enabled` (boolean)
204
-
205
- Indicates the value of the item if it affects config-ui
206
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
207
-
208
- ## `settings` (boolean)
209
-
210
- Indicates if the item has to be displayed in the Settings Panel
211
-
212
- ## `label` (string)
213
-
214
- Indicates the label for the item that has to be displayed in the Settings Panel
215
-
216
- # `languageChoices` (object)
217
-
218
- Language choices configuration
219
- Only available if language is enabled
220
-
221
- Properties of the `languageChoices` object:
222
-
223
- ## `label` (string, required)
224
-
225
- ## `options` (array, required)
226
-
227
- The object is an array with all elements of the type `object`.
228
-
229
- The array object has the following properties:
230
-
231
- ### `value` (string, required)
232
-
233
- Value of the language option
234
-
235
- ### `label` (string, required)
236
-
237
- Label of the language option
238
-
239
- ---
240
-
241
- # Sub Schemas
242
-
243
- The schema defines the following additional types:
244
-
245
- ## `EditableHtmlPluginConfigureRequired` (object)
246
-
247
- Properties of the `EditableHtmlPluginConfigureRequired` object:
248
-
249
- ### `inputConfiguration` (object)
250
-
251
- Properties of the `inputConfiguration` object:
252
-
253
- #### `math` (object)
254
-
255
- Properties of the `math` object:
256
-
257
- ##### `disabled` (boolean)
258
-
259
- Indicates if the plugin is disabled or not
260
-
261
- #### `audio` (object)
262
-
263
- Properties of the `audio` object:
264
-
265
- ##### `disabled` (boolean)
266
-
267
- Indicates if the plugin is disabled or not
268
-
269
- #### `video` (object)
270
-
271
- Properties of the `video` object:
272
-
273
- ##### `disabled` (boolean)
274
-
275
- Indicates if the plugin is disabled or not
276
-
277
- #### `image` (object)
278
-
279
- Properties of the `image` object:
280
-
281
- ##### `disabled` (boolean)
282
-
283
- Indicates if the plugin is disabled or not
284
-
285
- #### `customPlugins` (array)
286
-
287
- An array of objects that determine custom plugins.
288
- 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).
289
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
290
-
291
- The object is an array with all elements of the type `object`.
292
-
293
- The array object has the following properties:
294
-
295
- ##### `event` (string, required)
296
-
297
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
298
- PIE will emit the event prefixed with "PIE-".
299
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
300
-
301
- ##### `iconAlt` (string, required)
302
-
303
- The alt for the custom button icon
304
-
305
- ##### `iconType` (string, required)
306
-
307
- The icon type.
308
- Currently, only "SVG" is supported.
309
-
310
- ##### `icon` (string, required)
311
-
312
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
313
-
314
- ### `required` (boolean)
315
-
316
- Indicates if the item is required and the value cannot be empty
317
-
318
- ### `settings` (boolean)
319
-
320
- Indicates if the item has to be displayed in the Settings Panel
321
-
322
- ### `label` (string)
323
-
324
- Indicates the label for the item that has to be displayed in the Settings Panel
325
-
326
- ## `EditableHtmlConfigureProp` (object)
327
-
328
- Properties of the `EditableHtmlConfigureProp` object:
329
-
330
- ### `math` (object)
331
-
332
- Properties of the `math` object:
333
-
334
- #### `disabled` (boolean)
335
-
336
- Indicates if the plugin is disabled or not
337
-
338
- ### `audio` (object)
339
-
340
- Properties of the `audio` object:
341
-
342
- #### `disabled` (boolean)
343
-
344
- Indicates if the plugin is disabled or not
345
-
346
- ### `video` (object)
347
-
348
- Properties of the `video` object:
349
-
350
- #### `disabled` (boolean)
351
-
352
- Indicates if the plugin is disabled or not
353
-
354
- ### `image` (object)
355
-
356
- Properties of the `image` object:
357
-
358
- #### `disabled` (boolean)
359
-
360
- Indicates if the plugin is disabled or not
361
-
362
- ### `customPlugins` (array)
363
-
364
- An array of objects that determine custom plugins.
365
- 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).
366
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
367
-
368
- The object is an array with all elements of the type `object`.
369
-
370
- The array object has the following properties:
371
-
372
- #### `event` (string, required)
373
-
374
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
375
- PIE will emit the event prefixed with "PIE-".
376
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
377
-
378
- #### `iconAlt` (string, required)
379
-
380
- The alt for the custom button icon
381
-
382
- #### `iconType` (string, required)
383
-
384
- The icon type.
385
- Currently, only "SVG" is supported.
386
-
387
- #### `icon` (string, required)
388
-
389
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
390
-
391
- ## `EditableHtmlButtonConfigure` (object)
392
-
393
- Properties of the `EditableHtmlButtonConfigure` object:
394
-
395
- ### `disabled` (boolean)
396
-
397
- Indicates if the plugin is disabled or not
398
-
399
- ## `CustomPlugin` (object)
400
-
401
- Properties of the `CustomPlugin` object:
402
-
403
- ### `event` (string, required)
404
-
405
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
406
- PIE will emit the event prefixed with "PIE-".
407
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
408
-
409
- ### `iconAlt` (string, required)
410
-
411
- The alt for the custom button icon
412
-
413
- ### `iconType` (string, required)
414
-
415
- The icon type.
416
- Currently, only "SVG" is supported.
417
-
418
- ### `icon` (string, required)
419
-
420
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
421
-
422
- ## `ConfigureMaxImageDimensionsProp` (object)
423
-
424
- Properties of the `ConfigureMaxImageDimensionsProp` object:
425
-
426
- ### `teacherInstructions` (number)
427
-
428
- Indicates the max dimension for images in teacher instructions
429
-
430
- ### `prompt` (number)
431
-
432
- Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
433
-
434
- ### `rationale` (number)
435
-
436
- Indicates the max dimension for images in rationale
437
-
438
- ## `ConfigureMathMLProp` (object)
439
-
440
- Properties of the `ConfigureMathMLProp` object:
441
-
442
- ### `mmlOutput` (number)
443
-
444
- Indicates if model should have mathML output instead of latex
445
-
446
- ### `mmlEditing` (number)
447
-
448
- Indicates if mathML that's already in model should be editable
449
-
450
- ## `ConfigurePropWithEnabled` (object)
451
-
452
- Properties of the `ConfigurePropWithEnabled` object:
453
-
454
- ### `enabled` (boolean)
455
-
456
- Indicates the value of the item if it affects config-ui
457
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
458
-
459
- ### `settings` (boolean)
460
-
461
- Indicates if the item has to be displayed in the Settings Panel
462
-
463
- ### `label` (string)
464
-
465
- Indicates the label for the item that has to be displayed in the Settings Panel
466
-
467
- ## `ConfigureLanguageOptionsProp` (object)
468
-
469
- Properties of the `ConfigureLanguageOptionsProp` object:
470
-
471
- ### `value` (string, required)
472
-
473
- Value of the language option
474
-
475
- ### `label` (string, required)
476
-
477
- Label of the language option