@pie-element/graphing 10.1.2-next.1 → 10.1.2
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/CHANGELOG.json +652 -0
- package/CHANGELOG.md +2049 -0
- package/LICENSE.md +5 -0
- package/README.md +1 -0
- package/configure/CHANGELOG.json +382 -0
- package/configure/CHANGELOG.md +1840 -0
- package/configure/lib/configure.js +328 -0
- package/configure/lib/configure.js.map +1 -0
- package/configure/lib/correct-response.js +484 -0
- package/configure/lib/correct-response.js.map +1 -0
- package/configure/lib/defaults.js +448 -0
- package/configure/lib/defaults.js.map +1 -0
- package/configure/lib/graphing-config.js +388 -0
- package/configure/lib/graphing-config.js.map +1 -0
- package/configure/lib/index.js +173 -0
- package/configure/lib/index.js.map +1 -0
- package/configure/lib/utils.js +122 -0
- package/configure/lib/utils.js.map +1 -0
- package/configure/package.json +30 -0
- package/controller/CHANGELOG.json +412 -0
- package/controller/CHANGELOG.md +1267 -0
- package/controller/lib/defaults.js +64 -0
- package/controller/lib/defaults.js.map +1 -0
- package/controller/lib/index.js +459 -0
- package/controller/lib/index.js.map +1 -0
- package/controller/lib/utils.js +451 -0
- package/controller/lib/utils.js.map +1 -0
- package/controller/package.json +24 -0
- package/docs/config-schema.json +3164 -0
- package/docs/config-schema.json.md +2293 -0
- package/docs/demo/config.js +8 -0
- package/docs/demo/generate.js +200 -0
- package/docs/demo/index.html +1 -0
- package/docs/demo/session.js +20 -0
- package/docs/pie-schema.json +3495 -0
- package/docs/pie-schema.json.md +1345 -0
- package/lib/index.js +69 -0
- package/lib/index.js.map +1 -0
- package/lib/main.js +161 -0
- package/lib/main.js.map +1 -0
- package/lib/utils.js +24 -0
- package/lib/utils.js.map +1 -0
- package/package.json +21 -88
- package/configure.js +0 -2
- package/controller.js +0 -1
- package/dist/author/configure.d.ts +0 -26
- package/dist/author/configure.js +0 -208
- package/dist/author/correct-response.d.ts +0 -54
- package/dist/author/correct-response.js +0 -303
- package/dist/author/defaults.d.ts +0 -294
- package/dist/author/defaults.js +0 -415
- package/dist/author/graphing-config.d.ts +0 -34
- package/dist/author/graphing-config.js +0 -244
- package/dist/author/index.d.ts +0 -59
- package/dist/author/index.js +0 -96
- package/dist/author/utils.d.ts +0 -43
- package/dist/author/utils.js +0 -260
- package/dist/browser/author/index.js +0 -4480
- package/dist/browser/author/index.js.map +0 -1
- package/dist/browser/container-DaIvr1Vu.js +0 -57966
- package/dist/browser/container-DaIvr1Vu.js.map +0 -1
- package/dist/browser/controller/index.js +0 -353
- package/dist/browser/controller/index.js.map +0 -1
- package/dist/browser/delivery/index.js +0 -683
- package/dist/browser/delivery/index.js.map +0 -1
- package/dist/browser/dist-BrN2xZtM.js +0 -547
- package/dist/browser/dist-BrN2xZtM.js.map +0 -1
- package/dist/browser/graphing.css +0 -2
- package/dist/controller/defaults.d.ts +0 -59
- package/dist/controller/defaults.js +0 -61
- package/dist/controller/index.d.ts +0 -34
- package/dist/controller/index.js +0 -179
- package/dist/controller/utils.d.ts +0 -37
- package/dist/controller/utils.js +0 -111
- package/dist/delivery/index.d.ts +0 -21
- package/dist/delivery/index.js +0 -43
- package/dist/delivery/main.d.ts +0 -23
- package/dist/delivery/main.js +0 -107
- package/dist/delivery/utils.d.ts +0 -22
- package/dist/graphing.css +0 -2
- package/dist/index.d.ts +0 -1
- package/dist/index.iife.d.ts +0 -8
- package/dist/index.iife.js +0 -406
- package/dist/index.js +0 -2
- package/dist/runtime-support.d.ts +0 -12
- package/dist/runtime-support.js +0 -12
|
@@ -0,0 +1,1345 @@
|
|
|
1
|
+
Model Object for @pie-elements/graphing
|
|
2
|
+
|
|
3
|
+
The schema defines the following properties:
|
|
4
|
+
|
|
5
|
+
# `answers` (object, required)
|
|
6
|
+
|
|
7
|
+
Indicates marks that are set as answers; Note: alternates can be added having this form: alternateIndex
|
|
8
|
+
|
|
9
|
+
Properties of the `answers` object:
|
|
10
|
+
|
|
11
|
+
## `correctAnswer` (object, required)
|
|
12
|
+
|
|
13
|
+
Properties of the `correctAnswer` object:
|
|
14
|
+
|
|
15
|
+
### `name` (string, required)
|
|
16
|
+
|
|
17
|
+
Indicates name of answer
|
|
18
|
+
|
|
19
|
+
### `marks` (array, required)
|
|
20
|
+
|
|
21
|
+
Indicates marks for the answer
|
|
22
|
+
|
|
23
|
+
Additional restrictions:
|
|
24
|
+
|
|
25
|
+
* Minimum items: `1`
|
|
26
|
+
|
|
27
|
+
## `alternate1` (object, required)
|
|
28
|
+
|
|
29
|
+
Properties of the `alternate1` object:
|
|
30
|
+
|
|
31
|
+
### `name` (string, required)
|
|
32
|
+
|
|
33
|
+
Indicates name of answer
|
|
34
|
+
|
|
35
|
+
### `marks` (array, required)
|
|
36
|
+
|
|
37
|
+
Indicates marks for the answer
|
|
38
|
+
|
|
39
|
+
Additional restrictions:
|
|
40
|
+
|
|
41
|
+
* Minimum items: `1`
|
|
42
|
+
|
|
43
|
+
# `arrows` (object)
|
|
44
|
+
|
|
45
|
+
Properties of the `arrows` object:
|
|
46
|
+
|
|
47
|
+
## `left` (boolean, required)
|
|
48
|
+
|
|
49
|
+
Indicates if left arrow is enabled
|
|
50
|
+
|
|
51
|
+
## `right` (boolean, required)
|
|
52
|
+
|
|
53
|
+
Indicates if right arrow is enabled
|
|
54
|
+
|
|
55
|
+
## `up` (boolean, required)
|
|
56
|
+
|
|
57
|
+
Indicates if up arrow is enabled
|
|
58
|
+
|
|
59
|
+
## `down` (boolean, required)
|
|
60
|
+
|
|
61
|
+
Indicates if down arrow is enabled
|
|
62
|
+
|
|
63
|
+
# `backgroundMarks` (array, required)
|
|
64
|
+
|
|
65
|
+
Indicates marks that have to be displayed in background
|
|
66
|
+
|
|
67
|
+
Additional restrictions:
|
|
68
|
+
|
|
69
|
+
* Minimum items: `1`
|
|
70
|
+
|
|
71
|
+
# `defaultGridConfiguration` (object, required)
|
|
72
|
+
|
|
73
|
+
An object that represents a number of any kind. All JavaScript numbers are 64-bit floating-point numbers.
|
|
74
|
+
|
|
75
|
+
# `coordinatesOnHover` (boolean)
|
|
76
|
+
|
|
77
|
+
Indicates if coordinates of a point are displayed on hover
|
|
78
|
+
|
|
79
|
+
# `defaultTool` (string, enum, required)
|
|
80
|
+
|
|
81
|
+
Indicates the default selected tool for the graph
|
|
82
|
+
|
|
83
|
+
This element must be one of the following enum values:
|
|
84
|
+
|
|
85
|
+
* `circle`
|
|
86
|
+
* `line`
|
|
87
|
+
* `parabola`
|
|
88
|
+
* `point`
|
|
89
|
+
* `polygon`
|
|
90
|
+
* `ray`
|
|
91
|
+
* `segment`
|
|
92
|
+
* `sine`
|
|
93
|
+
* `vector`
|
|
94
|
+
|
|
95
|
+
# `domain` (object, required)
|
|
96
|
+
|
|
97
|
+
Properties of the `domain` object:
|
|
98
|
+
|
|
99
|
+
## `min` (number, required)
|
|
100
|
+
|
|
101
|
+
Min value
|
|
102
|
+
|
|
103
|
+
## `max` (number, required)
|
|
104
|
+
|
|
105
|
+
Max value
|
|
106
|
+
|
|
107
|
+
## `padding` (number, required)
|
|
108
|
+
|
|
109
|
+
Padding value
|
|
110
|
+
|
|
111
|
+
## `step` (number, required)
|
|
112
|
+
|
|
113
|
+
Step value
|
|
114
|
+
|
|
115
|
+
## `labelStep` (number, required)
|
|
116
|
+
|
|
117
|
+
Label step value
|
|
118
|
+
|
|
119
|
+
## `axisLabel` (string, required)
|
|
120
|
+
|
|
121
|
+
Axis Label
|
|
122
|
+
|
|
123
|
+
# `graph` (object, required)
|
|
124
|
+
|
|
125
|
+
Properties of the `graph` object:
|
|
126
|
+
|
|
127
|
+
## `width` (number, required)
|
|
128
|
+
|
|
129
|
+
Width for graph representation
|
|
130
|
+
|
|
131
|
+
## `height` (number, required)
|
|
132
|
+
|
|
133
|
+
Height for graph representation
|
|
134
|
+
|
|
135
|
+
# `includeAxes` (boolean)
|
|
136
|
+
|
|
137
|
+
Indicates if the graph axes and labels are enabled
|
|
138
|
+
|
|
139
|
+
# `labels` (object)
|
|
140
|
+
|
|
141
|
+
Properties of the `labels` object:
|
|
142
|
+
|
|
143
|
+
## `top` (string, required)
|
|
144
|
+
|
|
145
|
+
Label for top side of the graph
|
|
146
|
+
|
|
147
|
+
## `bottom` (string, required)
|
|
148
|
+
|
|
149
|
+
Label for bottom side of the graph
|
|
150
|
+
|
|
151
|
+
## `left` (string, required)
|
|
152
|
+
|
|
153
|
+
Label for left side of the graph
|
|
154
|
+
|
|
155
|
+
## `right` (string, required)
|
|
156
|
+
|
|
157
|
+
Label for right side of the graph
|
|
158
|
+
|
|
159
|
+
# `language` (string)
|
|
160
|
+
|
|
161
|
+
Indicates the language of the component
|
|
162
|
+
Supported options: en, es, en_US, en-US, es_ES, es-ES, es_MX, es-MX
|
|
163
|
+
|
|
164
|
+
# `padding` (boolean)
|
|
165
|
+
|
|
166
|
+
Indicates if padding is enabled
|
|
167
|
+
|
|
168
|
+
# `prompt` (string)
|
|
169
|
+
|
|
170
|
+
Indicates prompt value
|
|
171
|
+
|
|
172
|
+
# `promptEnabled` (boolean)
|
|
173
|
+
|
|
174
|
+
Indicates if the prompt is enabled
|
|
175
|
+
|
|
176
|
+
# `range` (object, required)
|
|
177
|
+
|
|
178
|
+
Properties of the `range` object:
|
|
179
|
+
|
|
180
|
+
## `min` (number, required)
|
|
181
|
+
|
|
182
|
+
Min value
|
|
183
|
+
|
|
184
|
+
## `max` (number, required)
|
|
185
|
+
|
|
186
|
+
Max value
|
|
187
|
+
|
|
188
|
+
## `padding` (number, required)
|
|
189
|
+
|
|
190
|
+
Padding value
|
|
191
|
+
|
|
192
|
+
## `step` (number, required)
|
|
193
|
+
|
|
194
|
+
Step value
|
|
195
|
+
|
|
196
|
+
## `labelStep` (number, required)
|
|
197
|
+
|
|
198
|
+
Label step value
|
|
199
|
+
|
|
200
|
+
## `axisLabel` (string, required)
|
|
201
|
+
|
|
202
|
+
Axis Label
|
|
203
|
+
|
|
204
|
+
# `rationale` (string)
|
|
205
|
+
|
|
206
|
+
Indicates rationale for the answer
|
|
207
|
+
|
|
208
|
+
# `scoringType` (string, enum)
|
|
209
|
+
|
|
210
|
+
Indicates scoring type
|
|
211
|
+
|
|
212
|
+
This element must be one of the following enum values:
|
|
213
|
+
|
|
214
|
+
* `dichotomous`
|
|
215
|
+
* `partial scoring`
|
|
216
|
+
|
|
217
|
+
# `studentInstructions` (string)
|
|
218
|
+
|
|
219
|
+
Indicates student instructions
|
|
220
|
+
|
|
221
|
+
# `teacherInstructions` (string)
|
|
222
|
+
|
|
223
|
+
Indicates teacher instructions
|
|
224
|
+
|
|
225
|
+
# `title` (string)
|
|
226
|
+
|
|
227
|
+
Indicates graph title
|
|
228
|
+
|
|
229
|
+
# `labelsEnabled` (boolean)
|
|
230
|
+
|
|
231
|
+
Indicates if the graph labels are displayed
|
|
232
|
+
|
|
233
|
+
# `dimensionsEnabled` (boolean)
|
|
234
|
+
|
|
235
|
+
Indicates if the graph dimensions are displayed
|
|
236
|
+
|
|
237
|
+
# `titleEnabled` (boolean)
|
|
238
|
+
|
|
239
|
+
Indicates if the graph title is displayed
|
|
240
|
+
|
|
241
|
+
# `toolbarTools` (array)
|
|
242
|
+
|
|
243
|
+
Indicates the tools that have to be displayed in toolbar
|
|
244
|
+
|
|
245
|
+
Additional restrictions:
|
|
246
|
+
|
|
247
|
+
* Minimum items: `1`
|
|
248
|
+
|
|
249
|
+
# `rationaleEnabled` (boolean, required)
|
|
250
|
+
|
|
251
|
+
Indicates if Rationale are enabled
|
|
252
|
+
|
|
253
|
+
# `spellCheckEnabled` (boolean, required)
|
|
254
|
+
|
|
255
|
+
Indicates if spellcheck is enabled for the author. Default value is true
|
|
256
|
+
|
|
257
|
+
# `standardGrid` (boolean)
|
|
258
|
+
|
|
259
|
+
Indicates if some domain values will be synched to the range values
|
|
260
|
+
|
|
261
|
+
# `studentInstructionsEnabled` (boolean, required)
|
|
262
|
+
|
|
263
|
+
Indicates if Student Instructions are enabled
|
|
264
|
+
|
|
265
|
+
# `teacherInstructionsEnabled` (boolean, required)
|
|
266
|
+
|
|
267
|
+
Indicates if Teacher Instructions are enabled
|
|
268
|
+
|
|
269
|
+
# `rubricEnabled` (boolean, required)
|
|
270
|
+
|
|
271
|
+
Indicates if Rubric is enabled
|
|
272
|
+
|
|
273
|
+
# `id` (string, required)
|
|
274
|
+
|
|
275
|
+
Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
|
|
276
|
+
|
|
277
|
+
# `element` (string, required)
|
|
278
|
+
|
|
279
|
+
The html Element tag name
|
|
280
|
+
|
|
281
|
+
---
|
|
282
|
+
|
|
283
|
+
# Sub Schemas
|
|
284
|
+
|
|
285
|
+
The schema defines the following additional types:
|
|
286
|
+
|
|
287
|
+
## `EditableHtmlConfigureProp` (object)
|
|
288
|
+
|
|
289
|
+
Properties of the `EditableHtmlConfigureProp` object:
|
|
290
|
+
|
|
291
|
+
### `math` (object)
|
|
292
|
+
|
|
293
|
+
Properties of the `math` object:
|
|
294
|
+
|
|
295
|
+
#### `disabled` (boolean)
|
|
296
|
+
|
|
297
|
+
Indicates if the plugin is disabled or not
|
|
298
|
+
|
|
299
|
+
### `audio` (object)
|
|
300
|
+
|
|
301
|
+
Properties of the `audio` object:
|
|
302
|
+
|
|
303
|
+
#### `disabled` (boolean)
|
|
304
|
+
|
|
305
|
+
Indicates if the plugin is disabled or not
|
|
306
|
+
|
|
307
|
+
### `video` (object)
|
|
308
|
+
|
|
309
|
+
Properties of the `video` object:
|
|
310
|
+
|
|
311
|
+
#### `disabled` (boolean)
|
|
312
|
+
|
|
313
|
+
Indicates if the plugin is disabled or not
|
|
314
|
+
|
|
315
|
+
### `image` (object)
|
|
316
|
+
|
|
317
|
+
Properties of the `image` object:
|
|
318
|
+
|
|
319
|
+
#### `disabled` (boolean)
|
|
320
|
+
|
|
321
|
+
Indicates if the plugin is disabled or not
|
|
322
|
+
|
|
323
|
+
### `customPlugins` (array)
|
|
324
|
+
|
|
325
|
+
An array of objects that determine custom plugins.
|
|
326
|
+
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).
|
|
327
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
328
|
+
|
|
329
|
+
The object is an array with all elements of the type `object`.
|
|
330
|
+
|
|
331
|
+
The array object has the following properties:
|
|
332
|
+
|
|
333
|
+
#### `event` (string, required)
|
|
334
|
+
|
|
335
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
336
|
+
PIE will emit the event prefixed with "PIE-".
|
|
337
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
338
|
+
|
|
339
|
+
#### `iconAlt` (string, required)
|
|
340
|
+
|
|
341
|
+
The alt for the custom button icon
|
|
342
|
+
|
|
343
|
+
#### `iconType` (string, required)
|
|
344
|
+
|
|
345
|
+
The icon type.
|
|
346
|
+
Currently, only "SVG" is supported.
|
|
347
|
+
|
|
348
|
+
#### `icon` (string, required)
|
|
349
|
+
|
|
350
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
351
|
+
|
|
352
|
+
### `blockquote` (object)
|
|
353
|
+
|
|
354
|
+
Properties of the `blockquote` object:
|
|
355
|
+
|
|
356
|
+
#### `disabled` (boolean)
|
|
357
|
+
|
|
358
|
+
Indicates if the plugin is disabled or not
|
|
359
|
+
|
|
360
|
+
### `h3` (object)
|
|
361
|
+
|
|
362
|
+
Properties of the `h3` object:
|
|
363
|
+
|
|
364
|
+
#### `disabled` (boolean)
|
|
365
|
+
|
|
366
|
+
Indicates if the plugin is disabled or not
|
|
367
|
+
|
|
368
|
+
### `characters` (object)
|
|
369
|
+
|
|
370
|
+
Properties of the `characters` object:
|
|
371
|
+
|
|
372
|
+
#### `disabled` (boolean)
|
|
373
|
+
|
|
374
|
+
Indicates if the plugin is disabled or not
|
|
375
|
+
|
|
376
|
+
### `bold` (object)
|
|
377
|
+
|
|
378
|
+
Properties of the `bold` object:
|
|
379
|
+
|
|
380
|
+
#### `disabled` (boolean)
|
|
381
|
+
|
|
382
|
+
Indicates if the plugin is disabled or not
|
|
383
|
+
|
|
384
|
+
### `html` (object)
|
|
385
|
+
|
|
386
|
+
Properties of the `html` object:
|
|
387
|
+
|
|
388
|
+
#### `disabled` (boolean)
|
|
389
|
+
|
|
390
|
+
Indicates if the plugin is disabled or not
|
|
391
|
+
|
|
392
|
+
### `italic` (object)
|
|
393
|
+
|
|
394
|
+
Properties of the `italic` object:
|
|
395
|
+
|
|
396
|
+
#### `disabled` (boolean)
|
|
397
|
+
|
|
398
|
+
Indicates if the plugin is disabled or not
|
|
399
|
+
|
|
400
|
+
### `ol_list` (object)
|
|
401
|
+
|
|
402
|
+
Properties of the `ol_list` object:
|
|
403
|
+
|
|
404
|
+
#### `disabled` (boolean)
|
|
405
|
+
|
|
406
|
+
Indicates if the plugin is disabled or not
|
|
407
|
+
|
|
408
|
+
### `redo` (object)
|
|
409
|
+
|
|
410
|
+
Properties of the `redo` object:
|
|
411
|
+
|
|
412
|
+
#### `disabled` (boolean)
|
|
413
|
+
|
|
414
|
+
Indicates if the plugin is disabled or not
|
|
415
|
+
|
|
416
|
+
### `strikethrough` (object)
|
|
417
|
+
|
|
418
|
+
Properties of the `strikethrough` object:
|
|
419
|
+
|
|
420
|
+
#### `disabled` (boolean)
|
|
421
|
+
|
|
422
|
+
Indicates if the plugin is disabled or not
|
|
423
|
+
|
|
424
|
+
### `sub` (object)
|
|
425
|
+
|
|
426
|
+
Properties of the `sub` object:
|
|
427
|
+
|
|
428
|
+
#### `disabled` (boolean)
|
|
429
|
+
|
|
430
|
+
Indicates if the plugin is disabled or not
|
|
431
|
+
|
|
432
|
+
### `sup` (object)
|
|
433
|
+
|
|
434
|
+
Properties of the `sup` object:
|
|
435
|
+
|
|
436
|
+
#### `disabled` (boolean)
|
|
437
|
+
|
|
438
|
+
Indicates if the plugin is disabled or not
|
|
439
|
+
|
|
440
|
+
### `table` (object)
|
|
441
|
+
|
|
442
|
+
Properties of the `table` object:
|
|
443
|
+
|
|
444
|
+
#### `disabled` (boolean)
|
|
445
|
+
|
|
446
|
+
Indicates if the plugin is disabled or not
|
|
447
|
+
|
|
448
|
+
### `ul_list` (object)
|
|
449
|
+
|
|
450
|
+
Properties of the `ul_list` object:
|
|
451
|
+
|
|
452
|
+
#### `disabled` (boolean)
|
|
453
|
+
|
|
454
|
+
Indicates if the plugin is disabled or not
|
|
455
|
+
|
|
456
|
+
### `underline` (object)
|
|
457
|
+
|
|
458
|
+
Properties of the `underline` object:
|
|
459
|
+
|
|
460
|
+
#### `disabled` (boolean)
|
|
461
|
+
|
|
462
|
+
Indicates if the plugin is disabled or not
|
|
463
|
+
|
|
464
|
+
### `undo` (object)
|
|
465
|
+
|
|
466
|
+
Properties of the `undo` object:
|
|
467
|
+
|
|
468
|
+
#### `disabled` (boolean)
|
|
469
|
+
|
|
470
|
+
Indicates if the plugin is disabled or not
|
|
471
|
+
|
|
472
|
+
## `EditableHtmlButtonConfigure` (object)
|
|
473
|
+
|
|
474
|
+
Properties of the `EditableHtmlButtonConfigure` object:
|
|
475
|
+
|
|
476
|
+
### `disabled` (boolean)
|
|
477
|
+
|
|
478
|
+
Indicates if the plugin is disabled or not
|
|
479
|
+
|
|
480
|
+
## `CustomPlugin` (object)
|
|
481
|
+
|
|
482
|
+
Properties of the `CustomPlugin` object:
|
|
483
|
+
|
|
484
|
+
### `event` (string, required)
|
|
485
|
+
|
|
486
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
487
|
+
PIE will emit the event prefixed with "PIE-".
|
|
488
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
489
|
+
|
|
490
|
+
### `iconAlt` (string, required)
|
|
491
|
+
|
|
492
|
+
The alt for the custom button icon
|
|
493
|
+
|
|
494
|
+
### `iconType` (string, required)
|
|
495
|
+
|
|
496
|
+
The icon type.
|
|
497
|
+
Currently, only "SVG" is supported.
|
|
498
|
+
|
|
499
|
+
### `icon` (string, required)
|
|
500
|
+
|
|
501
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
502
|
+
|
|
503
|
+
## `AuthoringConfigProp` (object)
|
|
504
|
+
|
|
505
|
+
Properties of the `AuthoringConfigProp` object:
|
|
506
|
+
|
|
507
|
+
### `settings` (boolean)
|
|
508
|
+
|
|
509
|
+
Indicates if the item is displayed in the Settings Panel
|
|
510
|
+
|
|
511
|
+
### `label` (string)
|
|
512
|
+
|
|
513
|
+
Indicates the label for the item that is displayed in the Settings Panel
|
|
514
|
+
|
|
515
|
+
### `enabled` (boolean)
|
|
516
|
+
|
|
517
|
+
Indicates if the Grid Setup Panel is displayed
|
|
518
|
+
|
|
519
|
+
### `includeAxesEnabled` (boolean)
|
|
520
|
+
|
|
521
|
+
Indicates if the "includeAxes" toggle is displayed in the Grid Setup Panel
|
|
522
|
+
|
|
523
|
+
### `standardGridEnabled` (boolean)
|
|
524
|
+
|
|
525
|
+
Indicates if the "standardGrid" toggle is displayed in the Grid Setup Panel
|
|
526
|
+
|
|
527
|
+
### `min` (object)
|
|
528
|
+
|
|
529
|
+
Properties of the `min` object:
|
|
530
|
+
|
|
531
|
+
#### `label` (string)
|
|
532
|
+
|
|
533
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
534
|
+
|
|
535
|
+
#### `enabled` (boolean)
|
|
536
|
+
|
|
537
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
538
|
+
|
|
539
|
+
### `max` (object)
|
|
540
|
+
|
|
541
|
+
Properties of the `max` object:
|
|
542
|
+
|
|
543
|
+
#### `label` (string)
|
|
544
|
+
|
|
545
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
546
|
+
|
|
547
|
+
#### `enabled` (boolean)
|
|
548
|
+
|
|
549
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
550
|
+
|
|
551
|
+
### `axisLabel` (object)
|
|
552
|
+
|
|
553
|
+
Properties of the `axisLabel` object:
|
|
554
|
+
|
|
555
|
+
#### `label` (string)
|
|
556
|
+
|
|
557
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
558
|
+
|
|
559
|
+
#### `enabled` (boolean)
|
|
560
|
+
|
|
561
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
562
|
+
|
|
563
|
+
### `step` (object)
|
|
564
|
+
|
|
565
|
+
Properties of the `step` object:
|
|
566
|
+
|
|
567
|
+
#### `label` (string)
|
|
568
|
+
|
|
569
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
570
|
+
|
|
571
|
+
#### `enabled` (boolean)
|
|
572
|
+
|
|
573
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
574
|
+
|
|
575
|
+
### `labelStep` (object)
|
|
576
|
+
|
|
577
|
+
Properties of the `labelStep` object:
|
|
578
|
+
|
|
579
|
+
#### `label` (string)
|
|
580
|
+
|
|
581
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
582
|
+
|
|
583
|
+
#### `enabled` (boolean)
|
|
584
|
+
|
|
585
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
586
|
+
|
|
587
|
+
## `GridPanelConfigProp` (object)
|
|
588
|
+
|
|
589
|
+
Properties of the `GridPanelConfigProp` object:
|
|
590
|
+
|
|
591
|
+
### `label` (string)
|
|
592
|
+
|
|
593
|
+
Indicates the label for the item that is displayed in the Grid Setup Panel
|
|
594
|
+
|
|
595
|
+
### `enabled` (boolean)
|
|
596
|
+
|
|
597
|
+
Indicates if the item is displayed in the Grid Setup Panel
|
|
598
|
+
|
|
599
|
+
## `ArrowsConfigProp` (object)
|
|
600
|
+
|
|
601
|
+
Properties of the `ArrowsConfigProp` object:
|
|
602
|
+
|
|
603
|
+
### `settings` (boolean)
|
|
604
|
+
|
|
605
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
606
|
+
|
|
607
|
+
### `label` (string)
|
|
608
|
+
|
|
609
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
610
|
+
|
|
611
|
+
### `left` (object)
|
|
612
|
+
|
|
613
|
+
Properties of the `left` object:
|
|
614
|
+
|
|
615
|
+
#### `label` (string)
|
|
616
|
+
|
|
617
|
+
Indicates the label for the arrow that has to be displayed in the Settings Panel
|
|
618
|
+
|
|
619
|
+
### `right` (object)
|
|
620
|
+
|
|
621
|
+
Properties of the `right` object:
|
|
622
|
+
|
|
623
|
+
#### `label` (string)
|
|
624
|
+
|
|
625
|
+
Indicates the label for the arrow that has to be displayed in the Settings Panel
|
|
626
|
+
|
|
627
|
+
### `up` (object)
|
|
628
|
+
|
|
629
|
+
Properties of the `up` object:
|
|
630
|
+
|
|
631
|
+
#### `label` (string)
|
|
632
|
+
|
|
633
|
+
Indicates the label for the arrow that has to be displayed in the Settings Panel
|
|
634
|
+
|
|
635
|
+
### `down` (object)
|
|
636
|
+
|
|
637
|
+
Properties of the `down` object:
|
|
638
|
+
|
|
639
|
+
#### `label` (string)
|
|
640
|
+
|
|
641
|
+
Indicates the label for the arrow that has to be displayed in the Settings Panel
|
|
642
|
+
|
|
643
|
+
## `ArrowsProp` (object)
|
|
644
|
+
|
|
645
|
+
Properties of the `ArrowsProp` object:
|
|
646
|
+
|
|
647
|
+
### `label` (string)
|
|
648
|
+
|
|
649
|
+
Indicates the label for the arrow that has to be displayed in the Settings Panel
|
|
650
|
+
|
|
651
|
+
## `ConfigureProp` (object)
|
|
652
|
+
|
|
653
|
+
Properties of the `ConfigureProp` object:
|
|
654
|
+
|
|
655
|
+
### `settings` (boolean)
|
|
656
|
+
|
|
657
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
658
|
+
|
|
659
|
+
### `label` (string)
|
|
660
|
+
|
|
661
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
662
|
+
|
|
663
|
+
## `DimensionsConfigProp` (object)
|
|
664
|
+
|
|
665
|
+
Properties of the `DimensionsConfigProp` object:
|
|
666
|
+
|
|
667
|
+
### `settings` (boolean)
|
|
668
|
+
|
|
669
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
670
|
+
|
|
671
|
+
### `label` (string)
|
|
672
|
+
|
|
673
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
674
|
+
|
|
675
|
+
### `enabled` (boolean)
|
|
676
|
+
|
|
677
|
+
Indicates if the graph dimensions are included in the Grid Setup Panel
|
|
678
|
+
|
|
679
|
+
### `min` (number)
|
|
680
|
+
|
|
681
|
+
Indicates the minimum value for the graph width and height
|
|
682
|
+
|
|
683
|
+
### `max` (number)
|
|
684
|
+
|
|
685
|
+
Indicates the maximum value for the graph width and height
|
|
686
|
+
|
|
687
|
+
### `step` (number)
|
|
688
|
+
|
|
689
|
+
Indicates the increase/decrease value for the graph width and height
|
|
690
|
+
|
|
691
|
+
## `GridConfigurationsProp` (object)
|
|
692
|
+
|
|
693
|
+
Properties of the `GridConfigurationsProp` object:
|
|
694
|
+
|
|
695
|
+
### `label` (string)
|
|
696
|
+
|
|
697
|
+
Indicates the label for the configuration
|
|
698
|
+
|
|
699
|
+
### `arrows` (object)
|
|
700
|
+
|
|
701
|
+
Properties of the `arrows` object:
|
|
702
|
+
|
|
703
|
+
#### `left` (boolean, required)
|
|
704
|
+
|
|
705
|
+
Indicates if left arrow is enabled
|
|
706
|
+
|
|
707
|
+
#### `right` (boolean, required)
|
|
708
|
+
|
|
709
|
+
Indicates if right arrow is enabled
|
|
710
|
+
|
|
711
|
+
#### `up` (boolean, required)
|
|
712
|
+
|
|
713
|
+
Indicates if up arrow is enabled
|
|
714
|
+
|
|
715
|
+
#### `down` (boolean, required)
|
|
716
|
+
|
|
717
|
+
Indicates if down arrow is enabled
|
|
718
|
+
|
|
719
|
+
### `domain` (object, required)
|
|
720
|
+
|
|
721
|
+
Properties of the `domain` object:
|
|
722
|
+
|
|
723
|
+
#### `min` (number, required)
|
|
724
|
+
|
|
725
|
+
Min value
|
|
726
|
+
|
|
727
|
+
#### `max` (number, required)
|
|
728
|
+
|
|
729
|
+
Max value
|
|
730
|
+
|
|
731
|
+
#### `padding` (number, required)
|
|
732
|
+
|
|
733
|
+
Padding value
|
|
734
|
+
|
|
735
|
+
#### `step` (number, required)
|
|
736
|
+
|
|
737
|
+
Step value
|
|
738
|
+
|
|
739
|
+
#### `labelStep` (number, required)
|
|
740
|
+
|
|
741
|
+
Label step value
|
|
742
|
+
|
|
743
|
+
#### `axisLabel` (string, required)
|
|
744
|
+
|
|
745
|
+
Axis Label
|
|
746
|
+
|
|
747
|
+
### `graph` (object, required)
|
|
748
|
+
|
|
749
|
+
Properties of the `graph` object:
|
|
750
|
+
|
|
751
|
+
#### `width` (number, required)
|
|
752
|
+
|
|
753
|
+
Width for graph representation
|
|
754
|
+
|
|
755
|
+
#### `height` (number, required)
|
|
756
|
+
|
|
757
|
+
Height for graph representation
|
|
758
|
+
|
|
759
|
+
### `includeAxes` (boolean)
|
|
760
|
+
|
|
761
|
+
Indicates if the graph axes and labels are enabled
|
|
762
|
+
|
|
763
|
+
### `labels` (object)
|
|
764
|
+
|
|
765
|
+
Properties of the `labels` object:
|
|
766
|
+
|
|
767
|
+
#### `top` (string, required)
|
|
768
|
+
|
|
769
|
+
Label for top side of the graph
|
|
770
|
+
|
|
771
|
+
#### `bottom` (string, required)
|
|
772
|
+
|
|
773
|
+
Label for bottom side of the graph
|
|
774
|
+
|
|
775
|
+
#### `left` (string, required)
|
|
776
|
+
|
|
777
|
+
Label for left side of the graph
|
|
778
|
+
|
|
779
|
+
#### `right` (string, required)
|
|
780
|
+
|
|
781
|
+
Label for right side of the graph
|
|
782
|
+
|
|
783
|
+
### `padding` (boolean)
|
|
784
|
+
|
|
785
|
+
Indicates if padding is enabled
|
|
786
|
+
|
|
787
|
+
### `range` (object, required)
|
|
788
|
+
|
|
789
|
+
Properties of the `range` object:
|
|
790
|
+
|
|
791
|
+
#### `min` (number, required)
|
|
792
|
+
|
|
793
|
+
Min value
|
|
794
|
+
|
|
795
|
+
#### `max` (number, required)
|
|
796
|
+
|
|
797
|
+
Max value
|
|
798
|
+
|
|
799
|
+
#### `padding` (number, required)
|
|
800
|
+
|
|
801
|
+
Padding value
|
|
802
|
+
|
|
803
|
+
#### `step` (number, required)
|
|
804
|
+
|
|
805
|
+
Step value
|
|
806
|
+
|
|
807
|
+
#### `labelStep` (number, required)
|
|
808
|
+
|
|
809
|
+
Label step value
|
|
810
|
+
|
|
811
|
+
#### `axisLabel` (string, required)
|
|
812
|
+
|
|
813
|
+
Axis Label
|
|
814
|
+
|
|
815
|
+
### `standardGrid` (boolean)
|
|
816
|
+
|
|
817
|
+
Indicates if some domain values will be synched to the range values
|
|
818
|
+
|
|
819
|
+
### `title` (string)
|
|
820
|
+
|
|
821
|
+
Indicates graph title
|
|
822
|
+
|
|
823
|
+
## `Arrows` (object)
|
|
824
|
+
|
|
825
|
+
Properties of the `Arrows` object:
|
|
826
|
+
|
|
827
|
+
### `left` (boolean, required)
|
|
828
|
+
|
|
829
|
+
Indicates if left arrow is enabled
|
|
830
|
+
|
|
831
|
+
### `right` (boolean, required)
|
|
832
|
+
|
|
833
|
+
Indicates if right arrow is enabled
|
|
834
|
+
|
|
835
|
+
### `up` (boolean, required)
|
|
836
|
+
|
|
837
|
+
Indicates if up arrow is enabled
|
|
838
|
+
|
|
839
|
+
### `down` (boolean, required)
|
|
840
|
+
|
|
841
|
+
Indicates if down arrow is enabled
|
|
842
|
+
|
|
843
|
+
## `GraphSettings` (object)
|
|
844
|
+
|
|
845
|
+
Properties of the `GraphSettings` object:
|
|
846
|
+
|
|
847
|
+
### `min` (number, required)
|
|
848
|
+
|
|
849
|
+
Min value
|
|
850
|
+
|
|
851
|
+
### `max` (number, required)
|
|
852
|
+
|
|
853
|
+
Max value
|
|
854
|
+
|
|
855
|
+
### `padding` (number, required)
|
|
856
|
+
|
|
857
|
+
Padding value
|
|
858
|
+
|
|
859
|
+
### `step` (number, required)
|
|
860
|
+
|
|
861
|
+
Step value
|
|
862
|
+
|
|
863
|
+
### `labelStep` (number, required)
|
|
864
|
+
|
|
865
|
+
Label step value
|
|
866
|
+
|
|
867
|
+
### `axisLabel` (string, required)
|
|
868
|
+
|
|
869
|
+
Axis Label
|
|
870
|
+
|
|
871
|
+
## `Graph` (object)
|
|
872
|
+
|
|
873
|
+
Properties of the `Graph` object:
|
|
874
|
+
|
|
875
|
+
### `width` (number, required)
|
|
876
|
+
|
|
877
|
+
Width for graph representation
|
|
878
|
+
|
|
879
|
+
### `height` (number, required)
|
|
880
|
+
|
|
881
|
+
Height for graph representation
|
|
882
|
+
|
|
883
|
+
## `Labels` (object)
|
|
884
|
+
|
|
885
|
+
Properties of the `Labels` object:
|
|
886
|
+
|
|
887
|
+
### `top` (string, required)
|
|
888
|
+
|
|
889
|
+
Label for top side of the graph
|
|
890
|
+
|
|
891
|
+
### `bottom` (string, required)
|
|
892
|
+
|
|
893
|
+
Label for bottom side of the graph
|
|
894
|
+
|
|
895
|
+
### `left` (string, required)
|
|
896
|
+
|
|
897
|
+
Label for left side of the graph
|
|
898
|
+
|
|
899
|
+
### `right` (string, required)
|
|
900
|
+
|
|
901
|
+
Label for right side of the graph
|
|
902
|
+
|
|
903
|
+
## `LabelsConfigProp` (object)
|
|
904
|
+
|
|
905
|
+
Properties of the `LabelsConfigProp` object:
|
|
906
|
+
|
|
907
|
+
### `top` (string)
|
|
908
|
+
|
|
909
|
+
Indicates the placeholder for the top label
|
|
910
|
+
|
|
911
|
+
### `right` (string)
|
|
912
|
+
|
|
913
|
+
Indicates the placeholder for the right label
|
|
914
|
+
|
|
915
|
+
### `bottom` (string)
|
|
916
|
+
|
|
917
|
+
Indicates the placeholder for the bottom label
|
|
918
|
+
|
|
919
|
+
### `left` (string)
|
|
920
|
+
|
|
921
|
+
Indicates the placeholder for the left label
|
|
922
|
+
|
|
923
|
+
### `enabled` (boolean)
|
|
924
|
+
|
|
925
|
+
Indicates the value of the item if it affects config-ui
|
|
926
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
927
|
+
|
|
928
|
+
### `settings` (boolean)
|
|
929
|
+
|
|
930
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
931
|
+
|
|
932
|
+
### `label` (string)
|
|
933
|
+
|
|
934
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
935
|
+
|
|
936
|
+
## `ConfigurePropWithEnabled` (object)
|
|
937
|
+
|
|
938
|
+
Properties of the `ConfigurePropWithEnabled` object:
|
|
939
|
+
|
|
940
|
+
### `enabled` (boolean)
|
|
941
|
+
|
|
942
|
+
Indicates the value of the item if it affects config-ui
|
|
943
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
944
|
+
|
|
945
|
+
### `settings` (boolean)
|
|
946
|
+
|
|
947
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
948
|
+
|
|
949
|
+
### `label` (string)
|
|
950
|
+
|
|
951
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
952
|
+
|
|
953
|
+
## `ConfigureLanguageOptionsProp` (object)
|
|
954
|
+
|
|
955
|
+
Properties of the `ConfigureLanguageOptionsProp` object:
|
|
956
|
+
|
|
957
|
+
### `value` (string, required)
|
|
958
|
+
|
|
959
|
+
Value of the language option
|
|
960
|
+
|
|
961
|
+
### `label` (string, required)
|
|
962
|
+
|
|
963
|
+
Label of the language option
|
|
964
|
+
|
|
965
|
+
## `EditableHtmlPluginConfigureRequired` (object)
|
|
966
|
+
|
|
967
|
+
Properties of the `EditableHtmlPluginConfigureRequired` object:
|
|
968
|
+
|
|
969
|
+
### `inputConfiguration` (object)
|
|
970
|
+
|
|
971
|
+
Properties of the `inputConfiguration` object:
|
|
972
|
+
|
|
973
|
+
#### `math` (object)
|
|
974
|
+
|
|
975
|
+
Properties of the `math` object:
|
|
976
|
+
|
|
977
|
+
##### `disabled` (boolean)
|
|
978
|
+
|
|
979
|
+
Indicates if the plugin is disabled or not
|
|
980
|
+
|
|
981
|
+
#### `audio` (object)
|
|
982
|
+
|
|
983
|
+
Properties of the `audio` object:
|
|
984
|
+
|
|
985
|
+
##### `disabled` (boolean)
|
|
986
|
+
|
|
987
|
+
Indicates if the plugin is disabled or not
|
|
988
|
+
|
|
989
|
+
#### `video` (object)
|
|
990
|
+
|
|
991
|
+
Properties of the `video` object:
|
|
992
|
+
|
|
993
|
+
##### `disabled` (boolean)
|
|
994
|
+
|
|
995
|
+
Indicates if the plugin is disabled or not
|
|
996
|
+
|
|
997
|
+
#### `image` (object)
|
|
998
|
+
|
|
999
|
+
Properties of the `image` object:
|
|
1000
|
+
|
|
1001
|
+
##### `disabled` (boolean)
|
|
1002
|
+
|
|
1003
|
+
Indicates if the plugin is disabled or not
|
|
1004
|
+
|
|
1005
|
+
#### `customPlugins` (array)
|
|
1006
|
+
|
|
1007
|
+
An array of objects that determine custom plugins.
|
|
1008
|
+
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).
|
|
1009
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
1010
|
+
|
|
1011
|
+
The object is an array with all elements of the type `object`.
|
|
1012
|
+
|
|
1013
|
+
The array object has the following properties:
|
|
1014
|
+
|
|
1015
|
+
##### `event` (string, required)
|
|
1016
|
+
|
|
1017
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
1018
|
+
PIE will emit the event prefixed with "PIE-".
|
|
1019
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
1020
|
+
|
|
1021
|
+
##### `iconAlt` (string, required)
|
|
1022
|
+
|
|
1023
|
+
The alt for the custom button icon
|
|
1024
|
+
|
|
1025
|
+
##### `iconType` (string, required)
|
|
1026
|
+
|
|
1027
|
+
The icon type.
|
|
1028
|
+
Currently, only "SVG" is supported.
|
|
1029
|
+
|
|
1030
|
+
##### `icon` (string, required)
|
|
1031
|
+
|
|
1032
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
1033
|
+
|
|
1034
|
+
#### `blockquote` (object)
|
|
1035
|
+
|
|
1036
|
+
Properties of the `blockquote` object:
|
|
1037
|
+
|
|
1038
|
+
##### `disabled` (boolean)
|
|
1039
|
+
|
|
1040
|
+
Indicates if the plugin is disabled or not
|
|
1041
|
+
|
|
1042
|
+
#### `h3` (object)
|
|
1043
|
+
|
|
1044
|
+
Properties of the `h3` object:
|
|
1045
|
+
|
|
1046
|
+
##### `disabled` (boolean)
|
|
1047
|
+
|
|
1048
|
+
Indicates if the plugin is disabled or not
|
|
1049
|
+
|
|
1050
|
+
#### `characters` (object)
|
|
1051
|
+
|
|
1052
|
+
Properties of the `characters` object:
|
|
1053
|
+
|
|
1054
|
+
##### `disabled` (boolean)
|
|
1055
|
+
|
|
1056
|
+
Indicates if the plugin is disabled or not
|
|
1057
|
+
|
|
1058
|
+
#### `bold` (object)
|
|
1059
|
+
|
|
1060
|
+
Properties of the `bold` object:
|
|
1061
|
+
|
|
1062
|
+
##### `disabled` (boolean)
|
|
1063
|
+
|
|
1064
|
+
Indicates if the plugin is disabled or not
|
|
1065
|
+
|
|
1066
|
+
#### `html` (object)
|
|
1067
|
+
|
|
1068
|
+
Properties of the `html` object:
|
|
1069
|
+
|
|
1070
|
+
##### `disabled` (boolean)
|
|
1071
|
+
|
|
1072
|
+
Indicates if the plugin is disabled or not
|
|
1073
|
+
|
|
1074
|
+
#### `italic` (object)
|
|
1075
|
+
|
|
1076
|
+
Properties of the `italic` object:
|
|
1077
|
+
|
|
1078
|
+
##### `disabled` (boolean)
|
|
1079
|
+
|
|
1080
|
+
Indicates if the plugin is disabled or not
|
|
1081
|
+
|
|
1082
|
+
#### `ol_list` (object)
|
|
1083
|
+
|
|
1084
|
+
Properties of the `ol_list` object:
|
|
1085
|
+
|
|
1086
|
+
##### `disabled` (boolean)
|
|
1087
|
+
|
|
1088
|
+
Indicates if the plugin is disabled or not
|
|
1089
|
+
|
|
1090
|
+
#### `redo` (object)
|
|
1091
|
+
|
|
1092
|
+
Properties of the `redo` object:
|
|
1093
|
+
|
|
1094
|
+
##### `disabled` (boolean)
|
|
1095
|
+
|
|
1096
|
+
Indicates if the plugin is disabled or not
|
|
1097
|
+
|
|
1098
|
+
#### `strikethrough` (object)
|
|
1099
|
+
|
|
1100
|
+
Properties of the `strikethrough` object:
|
|
1101
|
+
|
|
1102
|
+
##### `disabled` (boolean)
|
|
1103
|
+
|
|
1104
|
+
Indicates if the plugin is disabled or not
|
|
1105
|
+
|
|
1106
|
+
#### `sub` (object)
|
|
1107
|
+
|
|
1108
|
+
Properties of the `sub` object:
|
|
1109
|
+
|
|
1110
|
+
##### `disabled` (boolean)
|
|
1111
|
+
|
|
1112
|
+
Indicates if the plugin is disabled or not
|
|
1113
|
+
|
|
1114
|
+
#### `sup` (object)
|
|
1115
|
+
|
|
1116
|
+
Properties of the `sup` object:
|
|
1117
|
+
|
|
1118
|
+
##### `disabled` (boolean)
|
|
1119
|
+
|
|
1120
|
+
Indicates if the plugin is disabled or not
|
|
1121
|
+
|
|
1122
|
+
#### `table` (object)
|
|
1123
|
+
|
|
1124
|
+
Properties of the `table` object:
|
|
1125
|
+
|
|
1126
|
+
##### `disabled` (boolean)
|
|
1127
|
+
|
|
1128
|
+
Indicates if the plugin is disabled or not
|
|
1129
|
+
|
|
1130
|
+
#### `ul_list` (object)
|
|
1131
|
+
|
|
1132
|
+
Properties of the `ul_list` object:
|
|
1133
|
+
|
|
1134
|
+
##### `disabled` (boolean)
|
|
1135
|
+
|
|
1136
|
+
Indicates if the plugin is disabled or not
|
|
1137
|
+
|
|
1138
|
+
#### `underline` (object)
|
|
1139
|
+
|
|
1140
|
+
Properties of the `underline` object:
|
|
1141
|
+
|
|
1142
|
+
##### `disabled` (boolean)
|
|
1143
|
+
|
|
1144
|
+
Indicates if the plugin is disabled or not
|
|
1145
|
+
|
|
1146
|
+
#### `undo` (object)
|
|
1147
|
+
|
|
1148
|
+
Properties of the `undo` object:
|
|
1149
|
+
|
|
1150
|
+
##### `disabled` (boolean)
|
|
1151
|
+
|
|
1152
|
+
Indicates if the plugin is disabled or not
|
|
1153
|
+
|
|
1154
|
+
### `required` (boolean)
|
|
1155
|
+
|
|
1156
|
+
Indicates if the item is required and the value cannot be empty
|
|
1157
|
+
|
|
1158
|
+
### `settings` (boolean)
|
|
1159
|
+
|
|
1160
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
1161
|
+
|
|
1162
|
+
### `label` (string)
|
|
1163
|
+
|
|
1164
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
1165
|
+
|
|
1166
|
+
## `TitleConfigProp` (object)
|
|
1167
|
+
|
|
1168
|
+
Properties of the `TitleConfigProp` object:
|
|
1169
|
+
|
|
1170
|
+
### `placeholder` (string)
|
|
1171
|
+
|
|
1172
|
+
Indicates the placeholder for the title label
|
|
1173
|
+
|
|
1174
|
+
### `enabled` (boolean)
|
|
1175
|
+
|
|
1176
|
+
Indicates the value of the item if it affects config-ui
|
|
1177
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
1178
|
+
|
|
1179
|
+
### `settings` (boolean)
|
|
1180
|
+
|
|
1181
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
1182
|
+
|
|
1183
|
+
### `label` (string)
|
|
1184
|
+
|
|
1185
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
1186
|
+
|
|
1187
|
+
## `ConfigureMaxImageDimensionsProp` (object)
|
|
1188
|
+
|
|
1189
|
+
Properties of the `ConfigureMaxImageDimensionsProp` object:
|
|
1190
|
+
|
|
1191
|
+
### `teacherInstructions` (number)
|
|
1192
|
+
|
|
1193
|
+
Indicates the max dimension for images in teacher instructions
|
|
1194
|
+
|
|
1195
|
+
### `prompt` (number)
|
|
1196
|
+
|
|
1197
|
+
Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
|
|
1198
|
+
|
|
1199
|
+
### `rationale` (number)
|
|
1200
|
+
|
|
1201
|
+
Indicates the max dimension for images in rationale
|
|
1202
|
+
|
|
1203
|
+
## `ConfigureMathMLProp` (object)
|
|
1204
|
+
|
|
1205
|
+
Properties of the `ConfigureMathMLProp` object:
|
|
1206
|
+
|
|
1207
|
+
### `mmlOutput` (number)
|
|
1208
|
+
|
|
1209
|
+
Indicates if model should have mathML output instead of latex
|
|
1210
|
+
|
|
1211
|
+
### `mmlEditing` (number)
|
|
1212
|
+
|
|
1213
|
+
Indicates if mathML that's already in model should be editable
|
|
1214
|
+
|
|
1215
|
+
## `Answer` (object)
|
|
1216
|
+
|
|
1217
|
+
Properties of the `Answer` object:
|
|
1218
|
+
|
|
1219
|
+
### `name` (string, required)
|
|
1220
|
+
|
|
1221
|
+
Indicates name of answer
|
|
1222
|
+
|
|
1223
|
+
### `marks` (array, required)
|
|
1224
|
+
|
|
1225
|
+
Indicates marks for the answer
|
|
1226
|
+
|
|
1227
|
+
Additional restrictions:
|
|
1228
|
+
|
|
1229
|
+
* Minimum items: `1`
|
|
1230
|
+
|
|
1231
|
+
## `Mark` (object)
|
|
1232
|
+
|
|
1233
|
+
Properties of the `Mark` object:
|
|
1234
|
+
|
|
1235
|
+
### `type` (string, enum, required)
|
|
1236
|
+
|
|
1237
|
+
Indicates type of mark
|
|
1238
|
+
|
|
1239
|
+
This element must be one of the following enum values:
|
|
1240
|
+
|
|
1241
|
+
* `circle`
|
|
1242
|
+
* `line`
|
|
1243
|
+
* `parabola`
|
|
1244
|
+
* `point`
|
|
1245
|
+
* `polygon`
|
|
1246
|
+
* `ray`
|
|
1247
|
+
* `segment`
|
|
1248
|
+
* `sine`
|
|
1249
|
+
* `vector`
|
|
1250
|
+
|
|
1251
|
+
### `showLabel` (boolean)
|
|
1252
|
+
|
|
1253
|
+
Indicates if label should be visible
|
|
1254
|
+
|
|
1255
|
+
### `label` (string)
|
|
1256
|
+
|
|
1257
|
+
Indicates label value for mark
|
|
1258
|
+
|
|
1259
|
+
### `building` (boolean, required)
|
|
1260
|
+
|
|
1261
|
+
Indicates if mark is in build process
|
|
1262
|
+
|
|
1263
|
+
### `x` (number)
|
|
1264
|
+
|
|
1265
|
+
Indicates x coordinate if type is point
|
|
1266
|
+
|
|
1267
|
+
### `y` (number)
|
|
1268
|
+
|
|
1269
|
+
Indicates y coordinate if type is point
|
|
1270
|
+
|
|
1271
|
+
### `from` (object)
|
|
1272
|
+
|
|
1273
|
+
Properties of the `from` object:
|
|
1274
|
+
|
|
1275
|
+
#### `x` (number, required)
|
|
1276
|
+
|
|
1277
|
+
Indicates x coordinate
|
|
1278
|
+
|
|
1279
|
+
#### `y` (number, required)
|
|
1280
|
+
|
|
1281
|
+
Indicates y coordinate
|
|
1282
|
+
|
|
1283
|
+
### `to` (object)
|
|
1284
|
+
|
|
1285
|
+
Properties of the `to` object:
|
|
1286
|
+
|
|
1287
|
+
#### `x` (number, required)
|
|
1288
|
+
|
|
1289
|
+
Indicates x coordinate
|
|
1290
|
+
|
|
1291
|
+
#### `y` (number, required)
|
|
1292
|
+
|
|
1293
|
+
Indicates y coordinate
|
|
1294
|
+
|
|
1295
|
+
### `closed` (boolean)
|
|
1296
|
+
|
|
1297
|
+
Indicates if mark is closed if type is polygon, sine
|
|
1298
|
+
|
|
1299
|
+
### `points` (array)
|
|
1300
|
+
|
|
1301
|
+
Indicates all mark's points if type is polygon
|
|
1302
|
+
|
|
1303
|
+
Additional restrictions:
|
|
1304
|
+
|
|
1305
|
+
* Minimum items: `1`
|
|
1306
|
+
|
|
1307
|
+
### `root` (object)
|
|
1308
|
+
|
|
1309
|
+
Properties of the `root` object:
|
|
1310
|
+
|
|
1311
|
+
#### `x` (number, required)
|
|
1312
|
+
|
|
1313
|
+
Indicates x coordinate
|
|
1314
|
+
|
|
1315
|
+
#### `y` (number, required)
|
|
1316
|
+
|
|
1317
|
+
Indicates y coordinate
|
|
1318
|
+
|
|
1319
|
+
### `edge` (object)
|
|
1320
|
+
|
|
1321
|
+
Properties of the `edge` object:
|
|
1322
|
+
|
|
1323
|
+
#### `x` (number, required)
|
|
1324
|
+
|
|
1325
|
+
Indicates x coordinate
|
|
1326
|
+
|
|
1327
|
+
#### `y` (number, required)
|
|
1328
|
+
|
|
1329
|
+
Indicates y coordinate
|
|
1330
|
+
|
|
1331
|
+
## `Point` (object)
|
|
1332
|
+
|
|
1333
|
+
Properties of the `Point` object:
|
|
1334
|
+
|
|
1335
|
+
### `x` (number, required)
|
|
1336
|
+
|
|
1337
|
+
Indicates x coordinate
|
|
1338
|
+
|
|
1339
|
+
### `y` (number, required)
|
|
1340
|
+
|
|
1341
|
+
Indicates y coordinate
|
|
1342
|
+
|
|
1343
|
+
## `Number` (object)
|
|
1344
|
+
|
|
1345
|
+
An object that represents a number of any kind. All JavaScript numbers are 64-bit floating-point numbers.
|