@pie-element/charting 2.7.3-next.137 → 2.7.3-next.1370
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.md +287 -0
- package/configure/CHANGELOG.md +240 -0
- package/configure/lib/charting-config.js +123 -19
- package/configure/lib/charting-config.js.map +1 -1
- package/configure/lib/configure.js +131 -64
- package/configure/lib/configure.js.map +1 -1
- package/configure/lib/correct-response.js +182 -44
- package/configure/lib/correct-response.js.map +1 -1
- package/configure/lib/defaults.js +46 -5
- package/configure/lib/defaults.js.map +1 -1
- package/configure/lib/index.js +24 -4
- package/configure/lib/index.js.map +1 -1
- package/configure/lib/utils.js +95 -0
- package/configure/lib/utils.js.map +1 -0
- package/configure/package.json +6 -5
- package/controller/CHANGELOG.md +62 -0
- package/controller/lib/index.js +40 -21
- package/controller/lib/index.js.map +1 -1
- package/controller/package.json +1 -1
- package/docs/config-schema.json +193 -0
- package/docs/config-schema.json.md +151 -1
- package/docs/demo/generate.js +7 -26
- package/docs/demo/session.js +3 -9
- package/docs/pie-schema.json +114 -48
- package/docs/pie-schema.json.md +82 -9
- package/lib/index.js +4 -1
- package/lib/index.js.map +1 -1
- package/lib/main.js +12 -23
- package/lib/main.js.map +1 -1
- package/package.json +6 -6
- package/configure/lib/chart-type.js +0 -72
- package/configure/lib/chart-type.js.map +0 -1
|
@@ -26,6 +26,63 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
26
26
|
|
|
27
27
|
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
28
28
|
|
|
29
|
+
# `spellCheck` (object)
|
|
30
|
+
|
|
31
|
+
Properties of the `spellCheck` object:
|
|
32
|
+
|
|
33
|
+
## `settings` (boolean)
|
|
34
|
+
|
|
35
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
36
|
+
|
|
37
|
+
## `label` (string)
|
|
38
|
+
|
|
39
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
40
|
+
|
|
41
|
+
# `titlePlaceholder` (object)
|
|
42
|
+
|
|
43
|
+
Properties of the `titlePlaceholder` object:
|
|
44
|
+
|
|
45
|
+
## `settings` (boolean)
|
|
46
|
+
|
|
47
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
48
|
+
|
|
49
|
+
## `label` (string)
|
|
50
|
+
|
|
51
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
52
|
+
|
|
53
|
+
# `labelsPlaceholders` (object)
|
|
54
|
+
|
|
55
|
+
Properties of the `labelsPlaceholders` object:
|
|
56
|
+
|
|
57
|
+
## `top` (string)
|
|
58
|
+
|
|
59
|
+
This value is empty for charting. The property exist in order to be consistent with graphing configuration.
|
|
60
|
+
|
|
61
|
+
## `right` (string)
|
|
62
|
+
|
|
63
|
+
This value is empty for charting. The property exist in order to be consistent with graphing configuration.
|
|
64
|
+
|
|
65
|
+
## `bottom` (string)
|
|
66
|
+
|
|
67
|
+
Indicates the placeholder for the bottom label
|
|
68
|
+
|
|
69
|
+
## `left` (string)
|
|
70
|
+
|
|
71
|
+
Indicates the placeholder for the left label
|
|
72
|
+
|
|
73
|
+
## `settings` (boolean)
|
|
74
|
+
|
|
75
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
76
|
+
|
|
77
|
+
## `label` (string)
|
|
78
|
+
|
|
79
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
80
|
+
|
|
81
|
+
## `enabled` (boolean)
|
|
82
|
+
|
|
83
|
+
Indicates the value of the item if it affects config-ui
|
|
84
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
85
|
+
|
|
29
86
|
# `scoringType` (object)
|
|
30
87
|
|
|
31
88
|
Properties of the `scoringType` object:
|
|
@@ -79,6 +136,50 @@ Indicates the label for the item that has to be displayed in the Settings Panel
|
|
|
79
136
|
Indicates the value of the item if it affects config-ui
|
|
80
137
|
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
81
138
|
|
|
139
|
+
# `maxImageWidth` (object)
|
|
140
|
+
|
|
141
|
+
Properties of the `maxImageWidth` object:
|
|
142
|
+
|
|
143
|
+
## `teacherInstructions` (number)
|
|
144
|
+
|
|
145
|
+
Indicates the max dimension for images in teacher instructions
|
|
146
|
+
|
|
147
|
+
## `prompt` (number)
|
|
148
|
+
|
|
149
|
+
Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
|
|
150
|
+
|
|
151
|
+
## `rationale` (number)
|
|
152
|
+
|
|
153
|
+
Indicates the max dimension for images in rationale
|
|
154
|
+
|
|
155
|
+
# `maxImageHeight` (object)
|
|
156
|
+
|
|
157
|
+
Properties of the `maxImageHeight` object:
|
|
158
|
+
|
|
159
|
+
## `teacherInstructions` (number)
|
|
160
|
+
|
|
161
|
+
Indicates the max dimension for images in teacher instructions
|
|
162
|
+
|
|
163
|
+
## `prompt` (number)
|
|
164
|
+
|
|
165
|
+
Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
|
|
166
|
+
|
|
167
|
+
## `rationale` (number)
|
|
168
|
+
|
|
169
|
+
Indicates the max dimension for images in rationale
|
|
170
|
+
|
|
171
|
+
# `withRubric` (object)
|
|
172
|
+
|
|
173
|
+
Properties of the `withRubric` object:
|
|
174
|
+
|
|
175
|
+
## `settings` (boolean)
|
|
176
|
+
|
|
177
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
178
|
+
|
|
179
|
+
## `label` (string)
|
|
180
|
+
|
|
181
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
182
|
+
|
|
82
183
|
# `showPrompt` (boolean)
|
|
83
184
|
|
|
84
185
|
Determines whether prompt field will be displayed or not
|
|
@@ -115,6 +216,39 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
115
216
|
|
|
116
217
|
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
117
218
|
|
|
219
|
+
## `LabelsPlaceholderConfigProp` (object)
|
|
220
|
+
|
|
221
|
+
Properties of the `LabelsPlaceholderConfigProp` object:
|
|
222
|
+
|
|
223
|
+
### `top` (string)
|
|
224
|
+
|
|
225
|
+
This value is empty for charting. The property exist in order to be consistent with graphing configuration.
|
|
226
|
+
|
|
227
|
+
### `right` (string)
|
|
228
|
+
|
|
229
|
+
This value is empty for charting. The property exist in order to be consistent with graphing configuration.
|
|
230
|
+
|
|
231
|
+
### `bottom` (string)
|
|
232
|
+
|
|
233
|
+
Indicates the placeholder for the bottom label
|
|
234
|
+
|
|
235
|
+
### `left` (string)
|
|
236
|
+
|
|
237
|
+
Indicates the placeholder for the left label
|
|
238
|
+
|
|
239
|
+
### `settings` (boolean)
|
|
240
|
+
|
|
241
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
242
|
+
|
|
243
|
+
### `label` (string)
|
|
244
|
+
|
|
245
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
246
|
+
|
|
247
|
+
### `enabled` (boolean)
|
|
248
|
+
|
|
249
|
+
Indicates the value of the item if it affects config-ui
|
|
250
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
251
|
+
|
|
118
252
|
## `ConfigurePropWithEnabled` (object)
|
|
119
253
|
|
|
120
254
|
Properties of the `ConfigurePropWithEnabled` object:
|
|
@@ -130,4 +264,20 @@ Indicates the label for the item that has to be displayed in the Settings Panel
|
|
|
130
264
|
### `enabled` (boolean)
|
|
131
265
|
|
|
132
266
|
Indicates the value of the item if it affects config-ui
|
|
133
|
-
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
267
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
268
|
+
|
|
269
|
+
## `ConfigureMaxImageDimensionsProp` (object)
|
|
270
|
+
|
|
271
|
+
Properties of the `ConfigureMaxImageDimensionsProp` object:
|
|
272
|
+
|
|
273
|
+
### `teacherInstructions` (number)
|
|
274
|
+
|
|
275
|
+
Indicates the max dimension for images in teacher instructions
|
|
276
|
+
|
|
277
|
+
### `prompt` (number)
|
|
278
|
+
|
|
279
|
+
Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
|
|
280
|
+
|
|
281
|
+
### `rationale` (number)
|
|
282
|
+
|
|
283
|
+
Indicates the max dimension for images in rationale
|
package/docs/demo/generate.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
exports.model = (id, element) => ({
|
|
2
2
|
id,
|
|
3
3
|
element,
|
|
4
|
-
|
|
5
4
|
addCategoryEnabled: true,
|
|
6
5
|
categoryDefaultLabel: 'Category',
|
|
7
6
|
chartType: 'bar',
|
|
@@ -9,27 +8,15 @@ exports.model = (id, element) => ({
|
|
|
9
8
|
data: [
|
|
10
9
|
{
|
|
11
10
|
label: 'A',
|
|
12
|
-
value: 1
|
|
13
|
-
initial: true,
|
|
14
|
-
interactive: false,
|
|
15
|
-
editable: true,
|
|
16
|
-
deletable: true
|
|
11
|
+
value: 1
|
|
17
12
|
},
|
|
18
13
|
{
|
|
19
14
|
label: 'B',
|
|
20
|
-
value: 1
|
|
21
|
-
initial: true,
|
|
22
|
-
interactive: true,
|
|
23
|
-
editable: true,
|
|
24
|
-
deletable: true
|
|
15
|
+
value: 1
|
|
25
16
|
},
|
|
26
17
|
{
|
|
27
18
|
label: 'C',
|
|
28
|
-
value: 1
|
|
29
|
-
initial: true,
|
|
30
|
-
interactive: true,
|
|
31
|
-
editable: true,
|
|
32
|
-
deletable: true
|
|
19
|
+
value: 1
|
|
33
20
|
},
|
|
34
21
|
]
|
|
35
22
|
},
|
|
@@ -37,32 +24,25 @@ exports.model = (id, element) => ({
|
|
|
37
24
|
{
|
|
38
25
|
label: 'A',
|
|
39
26
|
value: 1,
|
|
40
|
-
initial: true,
|
|
41
27
|
interactive: false,
|
|
42
|
-
editable:
|
|
43
|
-
deletable: true
|
|
28
|
+
editable: false
|
|
44
29
|
},
|
|
45
30
|
{
|
|
46
31
|
label: 'B',
|
|
47
32
|
value: 1,
|
|
48
|
-
initial: true,
|
|
49
33
|
interactive: true,
|
|
50
|
-
editable:
|
|
51
|
-
deletable: true
|
|
34
|
+
editable: false
|
|
52
35
|
},
|
|
53
36
|
{
|
|
54
37
|
label: 'D',
|
|
55
38
|
value: 2,
|
|
56
|
-
initial: true,
|
|
57
39
|
interactive: true,
|
|
58
|
-
editable:
|
|
59
|
-
deletable: true
|
|
40
|
+
editable: false
|
|
60
41
|
},
|
|
61
42
|
],
|
|
62
43
|
domain: {
|
|
63
44
|
label: 'Characters',
|
|
64
45
|
},
|
|
65
|
-
editCategoryEnabled: true,
|
|
66
46
|
graph: {
|
|
67
47
|
width: 480,
|
|
68
48
|
height: 480
|
|
@@ -77,4 +57,5 @@ exports.model = (id, element) => ({
|
|
|
77
57
|
labelStep: 1,
|
|
78
58
|
},
|
|
79
59
|
title: 'This is a chart!',
|
|
60
|
+
rubricEnabled: false
|
|
80
61
|
});
|
package/docs/demo/session.js
CHANGED
|
@@ -6,26 +6,20 @@ module.exports = [
|
|
|
6
6
|
// {
|
|
7
7
|
// label: 'A',
|
|
8
8
|
// value: 1,
|
|
9
|
-
// initial: true,
|
|
10
9
|
// interactive: false,
|
|
11
|
-
// editable: true
|
|
12
|
-
// deletable: true
|
|
10
|
+
// editable: true
|
|
13
11
|
// },
|
|
14
12
|
// {
|
|
15
13
|
// label: 'B',
|
|
16
14
|
// value: 1,
|
|
17
|
-
// initial: true,
|
|
18
15
|
// interactive: true,
|
|
19
|
-
// editable: true
|
|
20
|
-
// deletable: true
|
|
16
|
+
// editable: true
|
|
21
17
|
// },
|
|
22
18
|
// {
|
|
23
19
|
// label: 'C',
|
|
24
20
|
// value: 1,
|
|
25
|
-
// initial: true,
|
|
26
21
|
// interactive: true,
|
|
27
|
-
// editable: true
|
|
28
|
-
// deletable: true
|
|
22
|
+
// editable: true
|
|
29
23
|
// }
|
|
30
24
|
// ]
|
|
31
25
|
},
|
package/docs/pie-schema.json
CHANGED
|
@@ -52,11 +52,6 @@
|
|
|
52
52
|
"type": "number",
|
|
53
53
|
"title": "value"
|
|
54
54
|
},
|
|
55
|
-
"initial": {
|
|
56
|
-
"description": "Indicates if category is default category",
|
|
57
|
-
"type": "boolean",
|
|
58
|
-
"title": "initial"
|
|
59
|
-
},
|
|
60
55
|
"interactive": {
|
|
61
56
|
"description": "Indicates if category label & value are interactive",
|
|
62
57
|
"type": "boolean",
|
|
@@ -104,7 +99,6 @@
|
|
|
104
99
|
"correctness",
|
|
105
100
|
"deletable",
|
|
106
101
|
"editable",
|
|
107
|
-
"initial",
|
|
108
102
|
"interactive",
|
|
109
103
|
"label",
|
|
110
104
|
"value"
|
|
@@ -128,11 +122,6 @@
|
|
|
128
122
|
"type": "number",
|
|
129
123
|
"title": "value"
|
|
130
124
|
},
|
|
131
|
-
"initial": {
|
|
132
|
-
"description": "Indicates if category is default category",
|
|
133
|
-
"type": "boolean",
|
|
134
|
-
"title": "initial"
|
|
135
|
-
},
|
|
136
125
|
"interactive": {
|
|
137
126
|
"description": "Indicates if category label & value are interactive",
|
|
138
127
|
"type": "boolean",
|
|
@@ -180,7 +169,6 @@
|
|
|
180
169
|
"correctness",
|
|
181
170
|
"deletable",
|
|
182
171
|
"editable",
|
|
183
|
-
"initial",
|
|
184
172
|
"interactive",
|
|
185
173
|
"label",
|
|
186
174
|
"value"
|
|
@@ -214,11 +202,6 @@
|
|
|
214
202
|
"type": "number",
|
|
215
203
|
"title": "value"
|
|
216
204
|
},
|
|
217
|
-
"initial": {
|
|
218
|
-
"description": "Indicates if category is default category",
|
|
219
|
-
"type": "boolean",
|
|
220
|
-
"title": "initial"
|
|
221
|
-
},
|
|
222
205
|
"interactive": {
|
|
223
206
|
"description": "Indicates if category label & value are interactive",
|
|
224
207
|
"type": "boolean",
|
|
@@ -266,7 +249,6 @@
|
|
|
266
249
|
"correctness",
|
|
267
250
|
"deletable",
|
|
268
251
|
"editable",
|
|
269
|
-
"initial",
|
|
270
252
|
"interactive",
|
|
271
253
|
"label",
|
|
272
254
|
"value"
|
|
@@ -290,11 +272,6 @@
|
|
|
290
272
|
"type": "number",
|
|
291
273
|
"title": "value"
|
|
292
274
|
},
|
|
293
|
-
"initial": {
|
|
294
|
-
"description": "Indicates if category is default category",
|
|
295
|
-
"type": "boolean",
|
|
296
|
-
"title": "initial"
|
|
297
|
-
},
|
|
298
275
|
"interactive": {
|
|
299
276
|
"description": "Indicates if category label & value are interactive",
|
|
300
277
|
"type": "boolean",
|
|
@@ -342,7 +319,6 @@
|
|
|
342
319
|
"correctness",
|
|
343
320
|
"deletable",
|
|
344
321
|
"editable",
|
|
345
|
-
"initial",
|
|
346
322
|
"interactive",
|
|
347
323
|
"label",
|
|
348
324
|
"value"
|
|
@@ -390,11 +366,6 @@
|
|
|
390
366
|
"step"
|
|
391
367
|
]
|
|
392
368
|
},
|
|
393
|
-
"editCategoryEnabled": {
|
|
394
|
-
"description": "Indicates if user can edit default categories",
|
|
395
|
-
"type": "boolean",
|
|
396
|
-
"title": "editCategoryEnabled"
|
|
397
|
-
},
|
|
398
369
|
"graph": {
|
|
399
370
|
"title": "Chart",
|
|
400
371
|
"type": "object",
|
|
@@ -492,11 +463,36 @@
|
|
|
492
463
|
"type": "string",
|
|
493
464
|
"title": "title"
|
|
494
465
|
},
|
|
466
|
+
"placeholderMessages": {
|
|
467
|
+
"title": "Placeholder",
|
|
468
|
+
"type": "object",
|
|
469
|
+
"properties": {
|
|
470
|
+
"title": {
|
|
471
|
+
"description": "Indicates placeholder message if title is not defined",
|
|
472
|
+
"type": "string",
|
|
473
|
+
"title": "title"
|
|
474
|
+
},
|
|
475
|
+
"labels": {
|
|
476
|
+
"description": "Indicates placeholder message if labels for range or domain are not defined",
|
|
477
|
+
"type": "string",
|
|
478
|
+
"title": "labels"
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
"required": [
|
|
482
|
+
"labels",
|
|
483
|
+
"title"
|
|
484
|
+
]
|
|
485
|
+
},
|
|
495
486
|
"rationaleEnabled": {
|
|
496
487
|
"description": "Indicates if Rationale are enabled",
|
|
497
488
|
"type": "boolean",
|
|
498
489
|
"title": "rationaleEnabled"
|
|
499
490
|
},
|
|
491
|
+
"spellCheckEnabled": {
|
|
492
|
+
"description": "Indicates if spellcheck is enabled for the author. Default value is true",
|
|
493
|
+
"type": "boolean",
|
|
494
|
+
"title": "spellCheckEnabled"
|
|
495
|
+
},
|
|
500
496
|
"studentInstructionsEnabled": {
|
|
501
497
|
"description": "Indicates if Student Instructions are enabled",
|
|
502
498
|
"type": "boolean",
|
|
@@ -507,6 +503,11 @@
|
|
|
507
503
|
"type": "boolean",
|
|
508
504
|
"title": "teacherInstructionsEnabled"
|
|
509
505
|
},
|
|
506
|
+
"rubricEnabled": {
|
|
507
|
+
"description": "Indicates if Rubric is enabled",
|
|
508
|
+
"type": "boolean",
|
|
509
|
+
"title": "rubricEnabled"
|
|
510
|
+
},
|
|
510
511
|
"id": {
|
|
511
512
|
"description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
|
|
512
513
|
"type": "string",
|
|
@@ -525,12 +526,13 @@
|
|
|
525
526
|
"correctAnswer",
|
|
526
527
|
"data",
|
|
527
528
|
"domain",
|
|
528
|
-
"editCategoryEnabled",
|
|
529
529
|
"element",
|
|
530
530
|
"graph",
|
|
531
531
|
"id",
|
|
532
532
|
"range",
|
|
533
533
|
"rationaleEnabled",
|
|
534
|
+
"rubricEnabled",
|
|
535
|
+
"spellCheckEnabled",
|
|
534
536
|
"studentInstructionsEnabled",
|
|
535
537
|
"teacherInstructionsEnabled"
|
|
536
538
|
],
|
|
@@ -551,6 +553,47 @@
|
|
|
551
553
|
}
|
|
552
554
|
}
|
|
553
555
|
},
|
|
556
|
+
"LabelsPlaceholderConfigProp": {
|
|
557
|
+
"title": "LabelsPlaceholderConfigProp",
|
|
558
|
+
"type": "object",
|
|
559
|
+
"properties": {
|
|
560
|
+
"top": {
|
|
561
|
+
"description": "This value is empty for charting. The property exist in order to be consistent with graphing configuration.",
|
|
562
|
+
"type": "string",
|
|
563
|
+
"title": "top"
|
|
564
|
+
},
|
|
565
|
+
"right": {
|
|
566
|
+
"description": "This value is empty for charting. The property exist in order to be consistent with graphing configuration.",
|
|
567
|
+
"type": "string",
|
|
568
|
+
"title": "right"
|
|
569
|
+
},
|
|
570
|
+
"bottom": {
|
|
571
|
+
"description": "Indicates the placeholder for the bottom label",
|
|
572
|
+
"type": "string",
|
|
573
|
+
"title": "bottom"
|
|
574
|
+
},
|
|
575
|
+
"left": {
|
|
576
|
+
"description": "Indicates the placeholder for the left label",
|
|
577
|
+
"type": "string",
|
|
578
|
+
"title": "left"
|
|
579
|
+
},
|
|
580
|
+
"settings": {
|
|
581
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
582
|
+
"type": "boolean",
|
|
583
|
+
"title": "settings"
|
|
584
|
+
},
|
|
585
|
+
"label": {
|
|
586
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
587
|
+
"type": "string",
|
|
588
|
+
"title": "label"
|
|
589
|
+
},
|
|
590
|
+
"enabled": {
|
|
591
|
+
"description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
|
|
592
|
+
"type": "boolean",
|
|
593
|
+
"title": "enabled"
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
},
|
|
554
597
|
"ConfigurePropWithEnabled": {
|
|
555
598
|
"title": "ConfigurePropWithEnabled",
|
|
556
599
|
"type": "object",
|
|
@@ -572,6 +615,27 @@
|
|
|
572
615
|
}
|
|
573
616
|
}
|
|
574
617
|
},
|
|
618
|
+
"ConfigureMaxImageDimensionsProp": {
|
|
619
|
+
"title": "ConfigureMaxImageDimensionsProp",
|
|
620
|
+
"type": "object",
|
|
621
|
+
"properties": {
|
|
622
|
+
"teacherInstructions": {
|
|
623
|
+
"description": "Indicates the max dimension for images in teacher instructions",
|
|
624
|
+
"type": "number",
|
|
625
|
+
"title": "teacherInstructions"
|
|
626
|
+
},
|
|
627
|
+
"prompt": {
|
|
628
|
+
"description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
|
|
629
|
+
"type": "number",
|
|
630
|
+
"title": "prompt"
|
|
631
|
+
},
|
|
632
|
+
"rationale": {
|
|
633
|
+
"description": "Indicates the max dimension for images in rationale",
|
|
634
|
+
"type": "number",
|
|
635
|
+
"title": "rationale"
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
},
|
|
575
639
|
"Answer": {
|
|
576
640
|
"title": "Answer",
|
|
577
641
|
"type": "object",
|
|
@@ -599,11 +663,6 @@
|
|
|
599
663
|
"type": "number",
|
|
600
664
|
"title": "value"
|
|
601
665
|
},
|
|
602
|
-
"initial": {
|
|
603
|
-
"description": "Indicates if category is default category",
|
|
604
|
-
"type": "boolean",
|
|
605
|
-
"title": "initial"
|
|
606
|
-
},
|
|
607
666
|
"interactive": {
|
|
608
667
|
"description": "Indicates if category label & value are interactive",
|
|
609
668
|
"type": "boolean",
|
|
@@ -651,7 +710,6 @@
|
|
|
651
710
|
"correctness",
|
|
652
711
|
"deletable",
|
|
653
712
|
"editable",
|
|
654
|
-
"initial",
|
|
655
713
|
"interactive",
|
|
656
714
|
"label",
|
|
657
715
|
"value"
|
|
@@ -675,11 +733,6 @@
|
|
|
675
733
|
"type": "number",
|
|
676
734
|
"title": "value"
|
|
677
735
|
},
|
|
678
|
-
"initial": {
|
|
679
|
-
"description": "Indicates if category is default category",
|
|
680
|
-
"type": "boolean",
|
|
681
|
-
"title": "initial"
|
|
682
|
-
},
|
|
683
736
|
"interactive": {
|
|
684
737
|
"description": "Indicates if category label & value are interactive",
|
|
685
738
|
"type": "boolean",
|
|
@@ -727,7 +780,6 @@
|
|
|
727
780
|
"correctness",
|
|
728
781
|
"deletable",
|
|
729
782
|
"editable",
|
|
730
|
-
"initial",
|
|
731
783
|
"interactive",
|
|
732
784
|
"label",
|
|
733
785
|
"value"
|
|
@@ -757,11 +809,6 @@
|
|
|
757
809
|
"type": "number",
|
|
758
810
|
"title": "value"
|
|
759
811
|
},
|
|
760
|
-
"initial": {
|
|
761
|
-
"description": "Indicates if category is default category",
|
|
762
|
-
"type": "boolean",
|
|
763
|
-
"title": "initial"
|
|
764
|
-
},
|
|
765
812
|
"interactive": {
|
|
766
813
|
"description": "Indicates if category label & value are interactive",
|
|
767
814
|
"type": "boolean",
|
|
@@ -809,7 +856,6 @@
|
|
|
809
856
|
"correctness",
|
|
810
857
|
"deletable",
|
|
811
858
|
"editable",
|
|
812
|
-
"initial",
|
|
813
859
|
"interactive",
|
|
814
860
|
"label",
|
|
815
861
|
"value"
|
|
@@ -872,6 +918,26 @@
|
|
|
872
918
|
"height",
|
|
873
919
|
"width"
|
|
874
920
|
]
|
|
921
|
+
},
|
|
922
|
+
"Placeholder": {
|
|
923
|
+
"title": "Placeholder",
|
|
924
|
+
"type": "object",
|
|
925
|
+
"properties": {
|
|
926
|
+
"title": {
|
|
927
|
+
"description": "Indicates placeholder message if title is not defined",
|
|
928
|
+
"type": "string",
|
|
929
|
+
"title": "title"
|
|
930
|
+
},
|
|
931
|
+
"labels": {
|
|
932
|
+
"description": "Indicates placeholder message if labels for range or domain are not defined",
|
|
933
|
+
"type": "string",
|
|
934
|
+
"title": "labels"
|
|
935
|
+
}
|
|
936
|
+
},
|
|
937
|
+
"required": [
|
|
938
|
+
"labels",
|
|
939
|
+
"title"
|
|
940
|
+
]
|
|
875
941
|
}
|
|
876
942
|
},
|
|
877
943
|
"$schema": "http://json-schema.org/draft-07/schema#"
|