@pie-element/number-line 13.1.2-next.5 → 13.1.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.
- package/CHANGELOG.json +1247 -0
- package/CHANGELOG.md +2447 -0
- package/LICENSE.md +5 -0
- package/README.md +28 -0
- package/configure/CHANGELOG.json +827 -0
- package/configure/CHANGELOG.md +2094 -0
- package/configure/lib/arrows.js +89 -0
- package/configure/lib/arrows.js.map +1 -0
- package/configure/lib/card-bar.js +57 -0
- package/configure/lib/card-bar.js.map +1 -0
- package/configure/lib/defaults.js +177 -0
- package/configure/lib/defaults.js.map +1 -0
- package/configure/lib/domain.js +87 -0
- package/configure/lib/domain.js.map +1 -0
- package/configure/lib/index.js +176 -0
- package/configure/lib/index.js.map +1 -0
- package/configure/lib/main.js +815 -0
- package/configure/lib/main.js.map +1 -0
- package/configure/lib/number-text-field.js +26 -0
- package/configure/lib/number-text-field.js.map +1 -0
- package/configure/lib/point-config.js +84 -0
- package/configure/lib/point-config.js.map +1 -0
- package/configure/lib/size.js +66 -0
- package/configure/lib/size.js.map +1 -0
- package/configure/lib/ticks.js +234 -0
- package/configure/lib/ticks.js.map +1 -0
- package/configure/lib/utils.js +12 -0
- package/configure/lib/utils.js.map +1 -0
- package/configure/package.json +20 -0
- package/controller/CHANGELOG.json +332 -0
- package/controller/CHANGELOG.md +1360 -0
- package/controller/lib/defaults.js +56 -0
- package/controller/lib/defaults.js.map +1 -0
- package/controller/lib/index.js +430 -0
- package/controller/lib/index.js.map +1 -0
- package/controller/lib/tickUtils.js +294 -0
- package/controller/lib/tickUtils.js.map +1 -0
- package/controller/lib/utils.js +168 -0
- package/controller/lib/utils.js.map +1 -0
- package/controller/package.json +20 -0
- package/demo.gif +0 -0
- package/docs/config-schema.json +2532 -0
- package/docs/config-schema.json.md +1844 -0
- package/docs/demo/config.js +8 -0
- package/docs/demo/generate.js +39 -0
- package/docs/demo/index.html +1 -0
- package/docs/pie-schema.json +2461 -0
- package/docs/pie-schema.json.md +1228 -0
- package/docs/schemas/config.json +256 -0
- package/lib/data-converter.js +96 -0
- package/lib/data-converter.js.map +1 -0
- package/lib/draggable/index.js +114 -0
- package/lib/draggable/index.js.map +1 -0
- package/lib/index.js +196 -0
- package/lib/index.js.map +1 -0
- package/lib/number-line/colors.js +11 -0
- package/lib/number-line/colors.js.map +1 -0
- package/lib/number-line/feedback.js +92 -0
- package/lib/number-line/feedback.js.map +1 -0
- package/lib/number-line/graph/arrow.js +44 -0
- package/lib/number-line/graph/arrow.js.map +1 -0
- package/lib/number-line/graph/elements/base.js +20 -0
- package/lib/number-line/graph/elements/base.js.map +1 -0
- package/lib/number-line/graph/elements/builder.js +37 -0
- package/lib/number-line/graph/elements/builder.js.map +1 -0
- package/lib/number-line/graph/elements/line.js +259 -0
- package/lib/number-line/graph/elements/line.js.map +1 -0
- package/lib/number-line/graph/elements/point.js +204 -0
- package/lib/number-line/graph/elements/point.js.map +1 -0
- package/lib/number-line/graph/elements/ray.js +190 -0
- package/lib/number-line/graph/elements/ray.js.map +1 -0
- package/lib/number-line/graph/index.js +262 -0
- package/lib/number-line/graph/index.js.map +1 -0
- package/lib/number-line/graph/line.js +38 -0
- package/lib/number-line/graph/line.js.map +1 -0
- package/lib/number-line/graph/stacks.js +78 -0
- package/lib/number-line/graph/stacks.js.map +1 -0
- package/lib/number-line/graph/tick-utils.js +347 -0
- package/lib/number-line/graph/tick-utils.js.map +1 -0
- package/lib/number-line/graph/ticks.js +188 -0
- package/lib/number-line/graph/ticks.js.map +1 -0
- package/lib/number-line/index.js +384 -0
- package/lib/number-line/index.js.map +1 -0
- package/lib/number-line/point-chooser/button.js +49 -0
- package/lib/number-line/point-chooser/button.js.map +1 -0
- package/lib/number-line/point-chooser/img.js +8 -0
- package/lib/number-line/point-chooser/img.js.map +1 -0
- package/lib/number-line/point-chooser/index.js +197 -0
- package/lib/number-line/point-chooser/index.js.map +1 -0
- package/lib/number-line/point-chooser/styles.js +77 -0
- package/lib/number-line/point-chooser/styles.js.map +1 -0
- package/lib/number-line/transitions/fade.js +88 -0
- package/lib/number-line/transitions/fade.js.map +1 -0
- package/lib/number-line/transitions/index.js +14 -0
- package/lib/number-line/transitions/index.js.map +1 -0
- package/package.json +22 -87
- package/configure.js +0 -2
- package/controller.js +0 -1
- package/dist/_virtual/_rolldown/runtime.js +0 -11
- package/dist/author/arrows.d.ts +0 -28
- package/dist/author/arrows.js +0 -69
- package/dist/author/card-bar.d.ts +0 -20
- package/dist/author/card-bar.js +0 -41
- package/dist/author/defaults.d.ts +0 -178
- package/dist/author/defaults.js +0 -144
- package/dist/author/domain.d.ts +0 -15
- package/dist/author/domain.js +0 -54
- package/dist/author/index.d.ts +0 -23
- package/dist/author/index.js +0 -89
- package/dist/author/main.d.ts +0 -44
- package/dist/author/main.js +0 -485
- package/dist/author/number-text-field.d.ts +0 -13
- package/dist/author/number-text-field.js +0 -13
- package/dist/author/point-config.d.ts +0 -25
- package/dist/author/point-config.js +0 -69
- package/dist/author/size.d.ts +0 -24
- package/dist/author/size.js +0 -48
- package/dist/author/ticks.d.ts +0 -22
- package/dist/author/ticks.js +0 -115
- package/dist/author/utils.d.ts +0 -9
- package/dist/author/utils.js +0 -4
- package/dist/browser/author/index.js +0 -46162
- package/dist/browser/author/index.js.map +0 -1
- package/dist/browser/controller/index.js +0 -569
- package/dist/browser/controller/index.js.map +0 -1
- package/dist/browser/delivery/index.js +0 -2
- package/dist/browser/delivery-bcOQIdko.js +0 -17953
- package/dist/browser/delivery-bcOQIdko.js.map +0 -1
- package/dist/browser/dist-BnIaVPcz.js +0 -19042
- package/dist/browser/dist-BnIaVPcz.js.map +0 -1
- package/dist/browser/impureFunctionsAny.generated-BwG6hrJc.js +0 -10162
- package/dist/browser/impureFunctionsAny.generated-BwG6hrJc.js.map +0 -1
- package/dist/browser/number-line.css +0 -2
- package/dist/controller/defaults.d.ts +0 -58
- package/dist/controller/defaults.js +0 -50
- package/dist/controller/index.d.ts +0 -47
- package/dist/controller/index.js +0 -165
- package/dist/controller/tickUtils.d.ts +0 -21
- package/dist/controller/tickUtils.js +0 -252
- package/dist/controller/utils.d.ts +0 -9
- package/dist/controller/utils.js +0 -68
- package/dist/delivery/data-converter.d.ts +0 -64
- package/dist/delivery/data-converter.js +0 -70
- package/dist/delivery/draggable/index.d.ts +0 -33
- package/dist/delivery/draggable/index.js +0 -39
- package/dist/delivery/index.d.ts +0 -35
- package/dist/delivery/index.js +0 -109
- package/dist/delivery/number-line/colors.d.ts +0 -11
- package/dist/delivery/number-line/colors.js +0 -5
- package/dist/delivery/number-line/feedback.d.ts +0 -19
- package/dist/delivery/number-line/feedback.js +0 -57
- package/dist/delivery/number-line/graph/arrow.d.ts +0 -30
- package/dist/delivery/number-line/graph/arrow.js +0 -27
- package/dist/delivery/number-line/graph/elements/base.d.ts +0 -16
- package/dist/delivery/number-line/graph/elements/base.js +0 -11
- package/dist/delivery/number-line/graph/elements/builder.d.ts +0 -33
- package/dist/delivery/number-line/graph/elements/builder.js +0 -30
- package/dist/delivery/number-line/graph/elements/line.d.ts +0 -51
- package/dist/delivery/number-line/graph/elements/line.js +0 -188
- package/dist/delivery/number-line/graph/elements/point.d.ts +0 -43
- package/dist/delivery/number-line/graph/elements/point.js +0 -127
- package/dist/delivery/number-line/graph/elements/ray.d.ts +0 -43
- package/dist/delivery/number-line/graph/elements/ray.js +0 -130
- package/dist/delivery/number-line/graph/index.d.ts +0 -59
- package/dist/delivery/number-line/graph/index.js +0 -196
- package/dist/delivery/number-line/graph/line.d.ts +0 -46
- package/dist/delivery/number-line/graph/line.js +0 -27
- package/dist/delivery/number-line/graph/stacks.d.ts +0 -10
- package/dist/delivery/number-line/graph/stacks.js +0 -40
- package/dist/delivery/number-line/graph/tick-utils.d.ts +0 -80
- package/dist/delivery/number-line/graph/tick-utils.js +0 -295
- package/dist/delivery/number-line/graph/ticks.d.ts +0 -46
- package/dist/delivery/number-line/graph/ticks.js +0 -115
- package/dist/delivery/number-line/index.d.ts +0 -35
- package/dist/delivery/number-line/index.js +0 -215
- package/dist/delivery/number-line/point-chooser/button.d.ts +0 -31
- package/dist/delivery/number-line/point-chooser/button.js +0 -36
- package/dist/delivery/number-line/point-chooser/img.d.ts +0 -10
- package/dist/delivery/number-line/point-chooser/img.js +0 -4
- package/dist/delivery/number-line/point-chooser/index.d.ts +0 -37
- package/dist/delivery/number-line/point-chooser/index.js +0 -154
- package/dist/delivery/number-line/point-chooser/styles.d.ts +0 -192
- package/dist/delivery/number-line/transitions/fade.d.ts +0 -34
- package/dist/delivery/number-line/transitions/fade.js +0 -75
- package/dist/delivery/number-line/transitions/index.d.ts +0 -10
- package/dist/index.d.ts +0 -1
- package/dist/index.iife.d.ts +0 -8
- package/dist/index.iife.js +0 -197
- package/dist/index.js +0 -2
- package/dist/runtime-support.d.ts +0 -12
- package/dist/runtime-support.js +0 -12
|
@@ -0,0 +1,2461 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Model Object for @pie-elements/number-line",
|
|
3
|
+
"additionalProperties": false,
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"feedback": {
|
|
7
|
+
"title": "ComplexFeedbackType",
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"correct": {
|
|
11
|
+
"description": "Indicates the configuration for feedback when answer is correct",
|
|
12
|
+
"anyOf": [
|
|
13
|
+
{
|
|
14
|
+
"title": "DefaultFeedbackType",
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"type": {
|
|
18
|
+
"description": "Indicates the feedback type",
|
|
19
|
+
"enum": [
|
|
20
|
+
"default",
|
|
21
|
+
"none"
|
|
22
|
+
],
|
|
23
|
+
"type": "string",
|
|
24
|
+
"title": "type"
|
|
25
|
+
},
|
|
26
|
+
"default": {
|
|
27
|
+
"description": "Indicates the feedback value",
|
|
28
|
+
"type": "string",
|
|
29
|
+
"title": "default"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"required": [
|
|
33
|
+
"type"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"title": "CustomFeedbackType",
|
|
38
|
+
"type": "object",
|
|
39
|
+
"properties": {
|
|
40
|
+
"type": {
|
|
41
|
+
"description": "Indicates the feedback type",
|
|
42
|
+
"type": "string",
|
|
43
|
+
"enum": [
|
|
44
|
+
"custom"
|
|
45
|
+
],
|
|
46
|
+
"title": "type"
|
|
47
|
+
},
|
|
48
|
+
"custom": {
|
|
49
|
+
"description": "Indicates the feedback custom value",
|
|
50
|
+
"type": "string",
|
|
51
|
+
"title": "custom"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"required": [
|
|
55
|
+
"custom",
|
|
56
|
+
"type"
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"title": "correct"
|
|
61
|
+
},
|
|
62
|
+
"incorrect": {
|
|
63
|
+
"description": "Indicates the configuration for feedback when answer is incorrect",
|
|
64
|
+
"anyOf": [
|
|
65
|
+
{
|
|
66
|
+
"title": "DefaultFeedbackType",
|
|
67
|
+
"type": "object",
|
|
68
|
+
"properties": {
|
|
69
|
+
"type": {
|
|
70
|
+
"description": "Indicates the feedback type",
|
|
71
|
+
"enum": [
|
|
72
|
+
"default",
|
|
73
|
+
"none"
|
|
74
|
+
],
|
|
75
|
+
"type": "string",
|
|
76
|
+
"title": "type"
|
|
77
|
+
},
|
|
78
|
+
"default": {
|
|
79
|
+
"description": "Indicates the feedback value",
|
|
80
|
+
"type": "string",
|
|
81
|
+
"title": "default"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"required": [
|
|
85
|
+
"type"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"title": "CustomFeedbackType",
|
|
90
|
+
"type": "object",
|
|
91
|
+
"properties": {
|
|
92
|
+
"type": {
|
|
93
|
+
"description": "Indicates the feedback type",
|
|
94
|
+
"type": "string",
|
|
95
|
+
"enum": [
|
|
96
|
+
"custom"
|
|
97
|
+
],
|
|
98
|
+
"title": "type"
|
|
99
|
+
},
|
|
100
|
+
"custom": {
|
|
101
|
+
"description": "Indicates the feedback custom value",
|
|
102
|
+
"type": "string",
|
|
103
|
+
"title": "custom"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"required": [
|
|
107
|
+
"custom",
|
|
108
|
+
"type"
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"title": "incorrect"
|
|
113
|
+
},
|
|
114
|
+
"partial": {
|
|
115
|
+
"description": "Indicates the configuration for feedback when answer is partially correct",
|
|
116
|
+
"anyOf": [
|
|
117
|
+
{
|
|
118
|
+
"title": "DefaultFeedbackType",
|
|
119
|
+
"type": "object",
|
|
120
|
+
"properties": {
|
|
121
|
+
"type": {
|
|
122
|
+
"description": "Indicates the feedback type",
|
|
123
|
+
"enum": [
|
|
124
|
+
"default",
|
|
125
|
+
"none"
|
|
126
|
+
],
|
|
127
|
+
"type": "string",
|
|
128
|
+
"title": "type"
|
|
129
|
+
},
|
|
130
|
+
"default": {
|
|
131
|
+
"description": "Indicates the feedback value",
|
|
132
|
+
"type": "string",
|
|
133
|
+
"title": "default"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"required": [
|
|
137
|
+
"type"
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"title": "CustomFeedbackType",
|
|
142
|
+
"type": "object",
|
|
143
|
+
"properties": {
|
|
144
|
+
"type": {
|
|
145
|
+
"description": "Indicates the feedback type",
|
|
146
|
+
"type": "string",
|
|
147
|
+
"enum": [
|
|
148
|
+
"custom"
|
|
149
|
+
],
|
|
150
|
+
"title": "type"
|
|
151
|
+
},
|
|
152
|
+
"custom": {
|
|
153
|
+
"description": "Indicates the feedback custom value",
|
|
154
|
+
"type": "string",
|
|
155
|
+
"title": "custom"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"required": [
|
|
159
|
+
"custom",
|
|
160
|
+
"type"
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
"title": "partial"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"required": [
|
|
168
|
+
"correct",
|
|
169
|
+
"incorrect"
|
|
170
|
+
]
|
|
171
|
+
},
|
|
172
|
+
"correctResponse": {
|
|
173
|
+
"description": "Array that returns responses",
|
|
174
|
+
"type": "object",
|
|
175
|
+
"additionalProperties": false,
|
|
176
|
+
"patternProperties": {
|
|
177
|
+
"^[0-9]+$": {
|
|
178
|
+
"anyOf": [
|
|
179
|
+
{
|
|
180
|
+
"title": "ResponsePoint",
|
|
181
|
+
"type": "object",
|
|
182
|
+
"properties": {
|
|
183
|
+
"pointType": {
|
|
184
|
+
"description": "Indicates point type",
|
|
185
|
+
"enum": [
|
|
186
|
+
"empty",
|
|
187
|
+
"full"
|
|
188
|
+
],
|
|
189
|
+
"type": "string",
|
|
190
|
+
"title": "pointType"
|
|
191
|
+
},
|
|
192
|
+
"type": {
|
|
193
|
+
"description": "Indicates the response type",
|
|
194
|
+
"enum": [
|
|
195
|
+
"line",
|
|
196
|
+
"point",
|
|
197
|
+
"ray"
|
|
198
|
+
],
|
|
199
|
+
"type": "string",
|
|
200
|
+
"title": "type"
|
|
201
|
+
},
|
|
202
|
+
"domainPosition": {
|
|
203
|
+
"description": "Indicates response domain position",
|
|
204
|
+
"type": "number",
|
|
205
|
+
"title": "domainPosition"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"required": [
|
|
209
|
+
"domainPosition",
|
|
210
|
+
"pointType",
|
|
211
|
+
"type"
|
|
212
|
+
]
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"title": "ResponseLine",
|
|
216
|
+
"type": "object",
|
|
217
|
+
"properties": {
|
|
218
|
+
"leftPoint": {
|
|
219
|
+
"description": "Indicates left point (left limit for the line) type",
|
|
220
|
+
"enum": [
|
|
221
|
+
"empty",
|
|
222
|
+
"full"
|
|
223
|
+
],
|
|
224
|
+
"type": "string",
|
|
225
|
+
"title": "leftPoint"
|
|
226
|
+
},
|
|
227
|
+
"rightPoint": {
|
|
228
|
+
"description": "Indicates right point (left limit for the line) type",
|
|
229
|
+
"enum": [
|
|
230
|
+
"empty",
|
|
231
|
+
"full"
|
|
232
|
+
],
|
|
233
|
+
"type": "string",
|
|
234
|
+
"title": "rightPoint"
|
|
235
|
+
},
|
|
236
|
+
"size": {
|
|
237
|
+
"description": "Indicates line size",
|
|
238
|
+
"type": "number",
|
|
239
|
+
"title": "size"
|
|
240
|
+
},
|
|
241
|
+
"type": {
|
|
242
|
+
"description": "Indicates the response type",
|
|
243
|
+
"enum": [
|
|
244
|
+
"line",
|
|
245
|
+
"point",
|
|
246
|
+
"ray"
|
|
247
|
+
],
|
|
248
|
+
"type": "string",
|
|
249
|
+
"title": "type"
|
|
250
|
+
},
|
|
251
|
+
"domainPosition": {
|
|
252
|
+
"description": "Indicates response domain position",
|
|
253
|
+
"type": "number",
|
|
254
|
+
"title": "domainPosition"
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"required": [
|
|
258
|
+
"domainPosition",
|
|
259
|
+
"leftPoint",
|
|
260
|
+
"rightPoint",
|
|
261
|
+
"size",
|
|
262
|
+
"type"
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"title": "ResponseRay",
|
|
267
|
+
"type": "object",
|
|
268
|
+
"properties": {
|
|
269
|
+
"pointType": {
|
|
270
|
+
"description": "Indicates point type",
|
|
271
|
+
"enum": [
|
|
272
|
+
"empty",
|
|
273
|
+
"full"
|
|
274
|
+
],
|
|
275
|
+
"type": "string",
|
|
276
|
+
"title": "pointType"
|
|
277
|
+
},
|
|
278
|
+
"direction": {
|
|
279
|
+
"description": "Indicates ray direction",
|
|
280
|
+
"enum": [
|
|
281
|
+
"negative",
|
|
282
|
+
"positive"
|
|
283
|
+
],
|
|
284
|
+
"type": "string",
|
|
285
|
+
"title": "direction"
|
|
286
|
+
},
|
|
287
|
+
"type": {
|
|
288
|
+
"description": "Indicates the response type",
|
|
289
|
+
"enum": [
|
|
290
|
+
"line",
|
|
291
|
+
"point",
|
|
292
|
+
"ray"
|
|
293
|
+
],
|
|
294
|
+
"type": "string",
|
|
295
|
+
"title": "type"
|
|
296
|
+
},
|
|
297
|
+
"domainPosition": {
|
|
298
|
+
"description": "Indicates response domain position",
|
|
299
|
+
"type": "number",
|
|
300
|
+
"title": "domainPosition"
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"required": [
|
|
304
|
+
"direction",
|
|
305
|
+
"domainPosition",
|
|
306
|
+
"pointType",
|
|
307
|
+
"type"
|
|
308
|
+
]
|
|
309
|
+
}
|
|
310
|
+
]
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"title": "correctResponse"
|
|
314
|
+
},
|
|
315
|
+
"partialScoring": {
|
|
316
|
+
"description": "Indicates if partial scoring is enabled",
|
|
317
|
+
"type": "boolean",
|
|
318
|
+
"title": "partialScoring"
|
|
319
|
+
},
|
|
320
|
+
"graph": {
|
|
321
|
+
"title": "NumberLineDomainConfiguration",
|
|
322
|
+
"type": "object",
|
|
323
|
+
"properties": {
|
|
324
|
+
"arrows": {
|
|
325
|
+
"title": "Arrows",
|
|
326
|
+
"type": "object",
|
|
327
|
+
"properties": {
|
|
328
|
+
"left": {
|
|
329
|
+
"type": "boolean",
|
|
330
|
+
"title": "left"
|
|
331
|
+
},
|
|
332
|
+
"right": {
|
|
333
|
+
"type": "boolean",
|
|
334
|
+
"title": "right"
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"required": [
|
|
338
|
+
"left",
|
|
339
|
+
"right"
|
|
340
|
+
]
|
|
341
|
+
},
|
|
342
|
+
"width": {
|
|
343
|
+
"description": "Indicates domain representation width",
|
|
344
|
+
"type": "number",
|
|
345
|
+
"title": "width"
|
|
346
|
+
},
|
|
347
|
+
"domain": {
|
|
348
|
+
"title": "Domain",
|
|
349
|
+
"type": "object",
|
|
350
|
+
"properties": {
|
|
351
|
+
"min": {
|
|
352
|
+
"type": "number",
|
|
353
|
+
"title": "min"
|
|
354
|
+
},
|
|
355
|
+
"max": {
|
|
356
|
+
"type": "number",
|
|
357
|
+
"title": "max"
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
"required": [
|
|
361
|
+
"max",
|
|
362
|
+
"min"
|
|
363
|
+
]
|
|
364
|
+
},
|
|
365
|
+
"maxNumberOfPoints": {
|
|
366
|
+
"description": "Indicates the maximum number of correct response values",
|
|
367
|
+
"type": "number",
|
|
368
|
+
"title": "maxNumberOfPoints"
|
|
369
|
+
},
|
|
370
|
+
"tick": {
|
|
371
|
+
"title": "Ticks",
|
|
372
|
+
"type": "object",
|
|
373
|
+
"properties": {
|
|
374
|
+
"minor": {
|
|
375
|
+
"description": "smallest tick - These ticks don't have labels.",
|
|
376
|
+
"type": "number",
|
|
377
|
+
"title": "minor"
|
|
378
|
+
},
|
|
379
|
+
"major": {
|
|
380
|
+
"description": "larger tick - These ticks have labels.",
|
|
381
|
+
"type": "number",
|
|
382
|
+
"title": "major"
|
|
383
|
+
},
|
|
384
|
+
"tickIntervalType": {
|
|
385
|
+
"description": "Contains tick interval type Integer, Fraction, Decimal",
|
|
386
|
+
"type": "string",
|
|
387
|
+
"title": "tickIntervalType"
|
|
388
|
+
},
|
|
389
|
+
"integerTick": {
|
|
390
|
+
"description": "Integer representation of minor.",
|
|
391
|
+
"type": "number",
|
|
392
|
+
"title": "integerTick"
|
|
393
|
+
},
|
|
394
|
+
"decimalTick": {
|
|
395
|
+
"description": "Decimal representation of minor.",
|
|
396
|
+
"type": "number",
|
|
397
|
+
"title": "decimalTick"
|
|
398
|
+
},
|
|
399
|
+
"fractionTick": {
|
|
400
|
+
"description": "Fraction representation of minor.",
|
|
401
|
+
"type": "string",
|
|
402
|
+
"title": "fractionTick"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
"required": [
|
|
406
|
+
"decimalTick",
|
|
407
|
+
"fractionTick",
|
|
408
|
+
"integerTick",
|
|
409
|
+
"major",
|
|
410
|
+
"minor",
|
|
411
|
+
"tickIntervalType"
|
|
412
|
+
]
|
|
413
|
+
},
|
|
414
|
+
"title": {
|
|
415
|
+
"description": "the title under the graph",
|
|
416
|
+
"type": "string",
|
|
417
|
+
"title": "title"
|
|
418
|
+
},
|
|
419
|
+
"exhibitOnly": {
|
|
420
|
+
"description": "Indicates if the exhibit mode is enabled",
|
|
421
|
+
"type": "boolean",
|
|
422
|
+
"title": "exhibitOnly"
|
|
423
|
+
},
|
|
424
|
+
"initialType": {
|
|
425
|
+
"description": "Indicates the initial type of response",
|
|
426
|
+
"enum": [
|
|
427
|
+
"LEE",
|
|
428
|
+
"LEF",
|
|
429
|
+
"LFE",
|
|
430
|
+
"LFF",
|
|
431
|
+
"PF",
|
|
432
|
+
"REN",
|
|
433
|
+
"REP",
|
|
434
|
+
"RFN",
|
|
435
|
+
"RFP"
|
|
436
|
+
],
|
|
437
|
+
"type": "string",
|
|
438
|
+
"title": "initialType"
|
|
439
|
+
},
|
|
440
|
+
"availableTypes": {
|
|
441
|
+
"description": "Indicates the available types of responses",
|
|
442
|
+
"type": "object",
|
|
443
|
+
"properties": {
|
|
444
|
+
"PF": {
|
|
445
|
+
"description": "Indicates if full point is available",
|
|
446
|
+
"type": "boolean",
|
|
447
|
+
"title": "PF"
|
|
448
|
+
},
|
|
449
|
+
"LFF": {
|
|
450
|
+
"description": "Indicates if line with full left & right point is available",
|
|
451
|
+
"type": "boolean",
|
|
452
|
+
"title": "LFF"
|
|
453
|
+
},
|
|
454
|
+
"LEF": {
|
|
455
|
+
"description": "Indicates if line with empty left & full right point is available",
|
|
456
|
+
"type": "boolean",
|
|
457
|
+
"title": "LEF"
|
|
458
|
+
},
|
|
459
|
+
"LFE": {
|
|
460
|
+
"description": "Indicates if line with full left & empty right point is available",
|
|
461
|
+
"type": "boolean",
|
|
462
|
+
"title": "LFE"
|
|
463
|
+
},
|
|
464
|
+
"LEE": {
|
|
465
|
+
"description": "Indicates if line with empty left & right point is available",
|
|
466
|
+
"type": "boolean",
|
|
467
|
+
"title": "LEE"
|
|
468
|
+
},
|
|
469
|
+
"RFN": {
|
|
470
|
+
"description": "Indicates if ray with full point and negative direction is available",
|
|
471
|
+
"type": "boolean",
|
|
472
|
+
"title": "RFN"
|
|
473
|
+
},
|
|
474
|
+
"REN": {
|
|
475
|
+
"description": "Indicates if ray with empty point and negative direction is available",
|
|
476
|
+
"type": "boolean",
|
|
477
|
+
"title": "REN"
|
|
478
|
+
},
|
|
479
|
+
"RFP": {
|
|
480
|
+
"description": "Indicates if ray with full point and positive direction is available",
|
|
481
|
+
"type": "boolean",
|
|
482
|
+
"title": "RFP"
|
|
483
|
+
},
|
|
484
|
+
"REP": {
|
|
485
|
+
"description": "Indicates if ray with empty point and positive direction is available",
|
|
486
|
+
"type": "boolean",
|
|
487
|
+
"title": "REP"
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
"required": [
|
|
491
|
+
"LEE",
|
|
492
|
+
"LEF",
|
|
493
|
+
"LFE",
|
|
494
|
+
"LFF",
|
|
495
|
+
"PF",
|
|
496
|
+
"REN",
|
|
497
|
+
"REP",
|
|
498
|
+
"RFN",
|
|
499
|
+
"RFP"
|
|
500
|
+
],
|
|
501
|
+
"title": "availableTypes"
|
|
502
|
+
},
|
|
503
|
+
"widthEnabled": {
|
|
504
|
+
"description": "If enabled, allows user to set width for number line.",
|
|
505
|
+
"type": "boolean",
|
|
506
|
+
"title": "widthEnabled"
|
|
507
|
+
},
|
|
508
|
+
"initialElements": {
|
|
509
|
+
"description": "Array that returns responses",
|
|
510
|
+
"type": "object",
|
|
511
|
+
"additionalProperties": false,
|
|
512
|
+
"patternProperties": {
|
|
513
|
+
"^[0-9]+$": {
|
|
514
|
+
"anyOf": [
|
|
515
|
+
{
|
|
516
|
+
"title": "ResponsePoint",
|
|
517
|
+
"type": "object",
|
|
518
|
+
"properties": {
|
|
519
|
+
"pointType": {
|
|
520
|
+
"description": "Indicates point type",
|
|
521
|
+
"enum": [
|
|
522
|
+
"empty",
|
|
523
|
+
"full"
|
|
524
|
+
],
|
|
525
|
+
"type": "string",
|
|
526
|
+
"title": "pointType"
|
|
527
|
+
},
|
|
528
|
+
"type": {
|
|
529
|
+
"description": "Indicates the response type",
|
|
530
|
+
"enum": [
|
|
531
|
+
"line",
|
|
532
|
+
"point",
|
|
533
|
+
"ray"
|
|
534
|
+
],
|
|
535
|
+
"type": "string",
|
|
536
|
+
"title": "type"
|
|
537
|
+
},
|
|
538
|
+
"domainPosition": {
|
|
539
|
+
"description": "Indicates response domain position",
|
|
540
|
+
"type": "number",
|
|
541
|
+
"title": "domainPosition"
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
"required": [
|
|
545
|
+
"domainPosition",
|
|
546
|
+
"pointType",
|
|
547
|
+
"type"
|
|
548
|
+
]
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"title": "ResponseLine",
|
|
552
|
+
"type": "object",
|
|
553
|
+
"properties": {
|
|
554
|
+
"leftPoint": {
|
|
555
|
+
"description": "Indicates left point (left limit for the line) type",
|
|
556
|
+
"enum": [
|
|
557
|
+
"empty",
|
|
558
|
+
"full"
|
|
559
|
+
],
|
|
560
|
+
"type": "string",
|
|
561
|
+
"title": "leftPoint"
|
|
562
|
+
},
|
|
563
|
+
"rightPoint": {
|
|
564
|
+
"description": "Indicates right point (left limit for the line) type",
|
|
565
|
+
"enum": [
|
|
566
|
+
"empty",
|
|
567
|
+
"full"
|
|
568
|
+
],
|
|
569
|
+
"type": "string",
|
|
570
|
+
"title": "rightPoint"
|
|
571
|
+
},
|
|
572
|
+
"size": {
|
|
573
|
+
"description": "Indicates line size",
|
|
574
|
+
"type": "number",
|
|
575
|
+
"title": "size"
|
|
576
|
+
},
|
|
577
|
+
"type": {
|
|
578
|
+
"description": "Indicates the response type",
|
|
579
|
+
"enum": [
|
|
580
|
+
"line",
|
|
581
|
+
"point",
|
|
582
|
+
"ray"
|
|
583
|
+
],
|
|
584
|
+
"type": "string",
|
|
585
|
+
"title": "type"
|
|
586
|
+
},
|
|
587
|
+
"domainPosition": {
|
|
588
|
+
"description": "Indicates response domain position",
|
|
589
|
+
"type": "number",
|
|
590
|
+
"title": "domainPosition"
|
|
591
|
+
}
|
|
592
|
+
},
|
|
593
|
+
"required": [
|
|
594
|
+
"domainPosition",
|
|
595
|
+
"leftPoint",
|
|
596
|
+
"rightPoint",
|
|
597
|
+
"size",
|
|
598
|
+
"type"
|
|
599
|
+
]
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"title": "ResponseRay",
|
|
603
|
+
"type": "object",
|
|
604
|
+
"properties": {
|
|
605
|
+
"pointType": {
|
|
606
|
+
"description": "Indicates point type",
|
|
607
|
+
"enum": [
|
|
608
|
+
"empty",
|
|
609
|
+
"full"
|
|
610
|
+
],
|
|
611
|
+
"type": "string",
|
|
612
|
+
"title": "pointType"
|
|
613
|
+
},
|
|
614
|
+
"direction": {
|
|
615
|
+
"description": "Indicates ray direction",
|
|
616
|
+
"enum": [
|
|
617
|
+
"negative",
|
|
618
|
+
"positive"
|
|
619
|
+
],
|
|
620
|
+
"type": "string",
|
|
621
|
+
"title": "direction"
|
|
622
|
+
},
|
|
623
|
+
"type": {
|
|
624
|
+
"description": "Indicates the response type",
|
|
625
|
+
"enum": [
|
|
626
|
+
"line",
|
|
627
|
+
"point",
|
|
628
|
+
"ray"
|
|
629
|
+
],
|
|
630
|
+
"type": "string",
|
|
631
|
+
"title": "type"
|
|
632
|
+
},
|
|
633
|
+
"domainPosition": {
|
|
634
|
+
"description": "Indicates response domain position",
|
|
635
|
+
"type": "number",
|
|
636
|
+
"title": "domainPosition"
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
"required": [
|
|
640
|
+
"direction",
|
|
641
|
+
"domainPosition",
|
|
642
|
+
"pointType",
|
|
643
|
+
"type"
|
|
644
|
+
]
|
|
645
|
+
}
|
|
646
|
+
]
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
"title": "initialElements"
|
|
650
|
+
},
|
|
651
|
+
"labelStep": {
|
|
652
|
+
"description": "Indicates the fractional step between 2 labeled ticks",
|
|
653
|
+
"type": "string",
|
|
654
|
+
"title": "labelStep"
|
|
655
|
+
}
|
|
656
|
+
},
|
|
657
|
+
"required": [
|
|
658
|
+
"arrows",
|
|
659
|
+
"availableTypes",
|
|
660
|
+
"domain",
|
|
661
|
+
"exhibitOnly",
|
|
662
|
+
"initialElements",
|
|
663
|
+
"initialType",
|
|
664
|
+
"labelStep",
|
|
665
|
+
"maxNumberOfPoints",
|
|
666
|
+
"tick",
|
|
667
|
+
"width",
|
|
668
|
+
"widthEnabled"
|
|
669
|
+
]
|
|
670
|
+
},
|
|
671
|
+
"prompt": {
|
|
672
|
+
"description": "The question prompt or item stem",
|
|
673
|
+
"type": "string",
|
|
674
|
+
"title": "prompt"
|
|
675
|
+
},
|
|
676
|
+
"spellCheckEnabled": {
|
|
677
|
+
"description": "Indicates if spellcheck is enabled for the author. Default value is true",
|
|
678
|
+
"type": "boolean",
|
|
679
|
+
"title": "spellCheckEnabled"
|
|
680
|
+
},
|
|
681
|
+
"promptEnabled": {
|
|
682
|
+
"description": "Indicates if the prompt is enabled",
|
|
683
|
+
"type": "boolean",
|
|
684
|
+
"title": "promptEnabled"
|
|
685
|
+
},
|
|
686
|
+
"rationale": {
|
|
687
|
+
"description": "Indicates rationale for the answer",
|
|
688
|
+
"type": "string",
|
|
689
|
+
"title": "rationale"
|
|
690
|
+
},
|
|
691
|
+
"rationaleEnabled": {
|
|
692
|
+
"description": "Indicates if Rationale are enabled",
|
|
693
|
+
"type": "boolean",
|
|
694
|
+
"title": "rationaleEnabled"
|
|
695
|
+
},
|
|
696
|
+
"teacherInstructionsEnabled": {
|
|
697
|
+
"description": "Indicates if Teacher Instructions are enabled",
|
|
698
|
+
"type": "boolean",
|
|
699
|
+
"title": "teacherInstructionsEnabled"
|
|
700
|
+
},
|
|
701
|
+
"toolbarEditorPosition": {
|
|
702
|
+
"description": "Indicates the editor's toolbar position which can be 'bottom' or 'top'",
|
|
703
|
+
"default": ": 'bottom'",
|
|
704
|
+
"enum": [
|
|
705
|
+
"bottom",
|
|
706
|
+
"top"
|
|
707
|
+
],
|
|
708
|
+
"type": "string",
|
|
709
|
+
"title": "toolbarEditorPosition"
|
|
710
|
+
},
|
|
711
|
+
"language": {
|
|
712
|
+
"description": "Indicates the language of the component\nSupported options: en, es, en_US, en-US, es_ES, es-ES, es_MX, es-MX",
|
|
713
|
+
"type": "string",
|
|
714
|
+
"title": "language"
|
|
715
|
+
},
|
|
716
|
+
"id": {
|
|
717
|
+
"description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
|
|
718
|
+
"type": "string",
|
|
719
|
+
"title": "id"
|
|
720
|
+
},
|
|
721
|
+
"element": {
|
|
722
|
+
"description": "The html Element tag name",
|
|
723
|
+
"type": "string",
|
|
724
|
+
"title": "element"
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
"required": [
|
|
728
|
+
"correctResponse",
|
|
729
|
+
"element",
|
|
730
|
+
"graph",
|
|
731
|
+
"id",
|
|
732
|
+
"partialScoring",
|
|
733
|
+
"rationaleEnabled",
|
|
734
|
+
"spellCheckEnabled",
|
|
735
|
+
"teacherInstructionsEnabled"
|
|
736
|
+
],
|
|
737
|
+
"definitions": {
|
|
738
|
+
"EditableHtmlConfigureProp": {
|
|
739
|
+
"title": "EditableHtmlConfigureProp",
|
|
740
|
+
"type": "object",
|
|
741
|
+
"properties": {
|
|
742
|
+
"math": {
|
|
743
|
+
"title": "EditableHtmlButtonConfigure",
|
|
744
|
+
"type": "object",
|
|
745
|
+
"properties": {
|
|
746
|
+
"disabled": {
|
|
747
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
748
|
+
"type": "boolean",
|
|
749
|
+
"title": "disabled"
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
"audio": {
|
|
754
|
+
"title": "EditableHtmlButtonConfigure",
|
|
755
|
+
"type": "object",
|
|
756
|
+
"properties": {
|
|
757
|
+
"disabled": {
|
|
758
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
759
|
+
"type": "boolean",
|
|
760
|
+
"title": "disabled"
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
"video": {
|
|
765
|
+
"title": "EditableHtmlButtonConfigure",
|
|
766
|
+
"type": "object",
|
|
767
|
+
"properties": {
|
|
768
|
+
"disabled": {
|
|
769
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
770
|
+
"type": "boolean",
|
|
771
|
+
"title": "disabled"
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
"image": {
|
|
776
|
+
"title": "EditableHtmlButtonConfigure",
|
|
777
|
+
"type": "object",
|
|
778
|
+
"properties": {
|
|
779
|
+
"disabled": {
|
|
780
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
781
|
+
"type": "boolean",
|
|
782
|
+
"title": "disabled"
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
},
|
|
786
|
+
"customPlugins": {
|
|
787
|
+
"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.",
|
|
788
|
+
"type": "array",
|
|
789
|
+
"items": {
|
|
790
|
+
"title": "CustomPlugin",
|
|
791
|
+
"type": "object",
|
|
792
|
+
"properties": {
|
|
793
|
+
"event": {
|
|
794
|
+
"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\"",
|
|
795
|
+
"type": "string",
|
|
796
|
+
"title": "event"
|
|
797
|
+
},
|
|
798
|
+
"iconAlt": {
|
|
799
|
+
"description": "The alt for the custom button icon",
|
|
800
|
+
"type": "string",
|
|
801
|
+
"title": "iconAlt"
|
|
802
|
+
},
|
|
803
|
+
"iconType": {
|
|
804
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
805
|
+
"type": "string",
|
|
806
|
+
"title": "iconType"
|
|
807
|
+
},
|
|
808
|
+
"icon": {
|
|
809
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
810
|
+
"type": "string",
|
|
811
|
+
"title": "icon"
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
"required": [
|
|
815
|
+
"event",
|
|
816
|
+
"icon",
|
|
817
|
+
"iconAlt",
|
|
818
|
+
"iconType"
|
|
819
|
+
]
|
|
820
|
+
},
|
|
821
|
+
"title": "customPlugins"
|
|
822
|
+
},
|
|
823
|
+
"blockquote": {
|
|
824
|
+
"title": "EditableHtmlButtonConfigure",
|
|
825
|
+
"type": "object",
|
|
826
|
+
"properties": {
|
|
827
|
+
"disabled": {
|
|
828
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
829
|
+
"type": "boolean",
|
|
830
|
+
"title": "disabled"
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
},
|
|
834
|
+
"h3": {
|
|
835
|
+
"title": "EditableHtmlButtonConfigure",
|
|
836
|
+
"type": "object",
|
|
837
|
+
"properties": {
|
|
838
|
+
"disabled": {
|
|
839
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
840
|
+
"type": "boolean",
|
|
841
|
+
"title": "disabled"
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
},
|
|
845
|
+
"characters": {
|
|
846
|
+
"title": "EditableHtmlButtonConfigure",
|
|
847
|
+
"type": "object",
|
|
848
|
+
"properties": {
|
|
849
|
+
"disabled": {
|
|
850
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
851
|
+
"type": "boolean",
|
|
852
|
+
"title": "disabled"
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
},
|
|
856
|
+
"bold": {
|
|
857
|
+
"title": "EditableHtmlButtonConfigure",
|
|
858
|
+
"type": "object",
|
|
859
|
+
"properties": {
|
|
860
|
+
"disabled": {
|
|
861
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
862
|
+
"type": "boolean",
|
|
863
|
+
"title": "disabled"
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
},
|
|
867
|
+
"html": {
|
|
868
|
+
"title": "EditableHtmlButtonConfigure",
|
|
869
|
+
"type": "object",
|
|
870
|
+
"properties": {
|
|
871
|
+
"disabled": {
|
|
872
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
873
|
+
"type": "boolean",
|
|
874
|
+
"title": "disabled"
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
"italic": {
|
|
879
|
+
"title": "EditableHtmlButtonConfigure",
|
|
880
|
+
"type": "object",
|
|
881
|
+
"properties": {
|
|
882
|
+
"disabled": {
|
|
883
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
884
|
+
"type": "boolean",
|
|
885
|
+
"title": "disabled"
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
},
|
|
889
|
+
"ol_list": {
|
|
890
|
+
"title": "EditableHtmlButtonConfigure",
|
|
891
|
+
"type": "object",
|
|
892
|
+
"properties": {
|
|
893
|
+
"disabled": {
|
|
894
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
895
|
+
"type": "boolean",
|
|
896
|
+
"title": "disabled"
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
},
|
|
900
|
+
"redo": {
|
|
901
|
+
"title": "EditableHtmlButtonConfigure",
|
|
902
|
+
"type": "object",
|
|
903
|
+
"properties": {
|
|
904
|
+
"disabled": {
|
|
905
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
906
|
+
"type": "boolean",
|
|
907
|
+
"title": "disabled"
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
},
|
|
911
|
+
"strikethrough": {
|
|
912
|
+
"title": "EditableHtmlButtonConfigure",
|
|
913
|
+
"type": "object",
|
|
914
|
+
"properties": {
|
|
915
|
+
"disabled": {
|
|
916
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
917
|
+
"type": "boolean",
|
|
918
|
+
"title": "disabled"
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
"sub": {
|
|
923
|
+
"title": "EditableHtmlButtonConfigure",
|
|
924
|
+
"type": "object",
|
|
925
|
+
"properties": {
|
|
926
|
+
"disabled": {
|
|
927
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
928
|
+
"type": "boolean",
|
|
929
|
+
"title": "disabled"
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
},
|
|
933
|
+
"sup": {
|
|
934
|
+
"title": "EditableHtmlButtonConfigure",
|
|
935
|
+
"type": "object",
|
|
936
|
+
"properties": {
|
|
937
|
+
"disabled": {
|
|
938
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
939
|
+
"type": "boolean",
|
|
940
|
+
"title": "disabled"
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
},
|
|
944
|
+
"table": {
|
|
945
|
+
"title": "EditableHtmlButtonConfigure",
|
|
946
|
+
"type": "object",
|
|
947
|
+
"properties": {
|
|
948
|
+
"disabled": {
|
|
949
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
950
|
+
"type": "boolean",
|
|
951
|
+
"title": "disabled"
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
},
|
|
955
|
+
"ul_list": {
|
|
956
|
+
"title": "EditableHtmlButtonConfigure",
|
|
957
|
+
"type": "object",
|
|
958
|
+
"properties": {
|
|
959
|
+
"disabled": {
|
|
960
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
961
|
+
"type": "boolean",
|
|
962
|
+
"title": "disabled"
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
},
|
|
966
|
+
"underline": {
|
|
967
|
+
"title": "EditableHtmlButtonConfigure",
|
|
968
|
+
"type": "object",
|
|
969
|
+
"properties": {
|
|
970
|
+
"disabled": {
|
|
971
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
972
|
+
"type": "boolean",
|
|
973
|
+
"title": "disabled"
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
},
|
|
977
|
+
"undo": {
|
|
978
|
+
"title": "EditableHtmlButtonConfigure",
|
|
979
|
+
"type": "object",
|
|
980
|
+
"properties": {
|
|
981
|
+
"disabled": {
|
|
982
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
983
|
+
"type": "boolean",
|
|
984
|
+
"title": "disabled"
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
},
|
|
990
|
+
"EditableHtmlButtonConfigure": {
|
|
991
|
+
"title": "EditableHtmlButtonConfigure",
|
|
992
|
+
"type": "object",
|
|
993
|
+
"properties": {
|
|
994
|
+
"disabled": {
|
|
995
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
996
|
+
"type": "boolean",
|
|
997
|
+
"title": "disabled"
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
},
|
|
1001
|
+
"CustomPlugin": {
|
|
1002
|
+
"title": "CustomPlugin",
|
|
1003
|
+
"type": "object",
|
|
1004
|
+
"properties": {
|
|
1005
|
+
"event": {
|
|
1006
|
+
"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\"",
|
|
1007
|
+
"type": "string",
|
|
1008
|
+
"title": "event"
|
|
1009
|
+
},
|
|
1010
|
+
"iconAlt": {
|
|
1011
|
+
"description": "The alt for the custom button icon",
|
|
1012
|
+
"type": "string",
|
|
1013
|
+
"title": "iconAlt"
|
|
1014
|
+
},
|
|
1015
|
+
"iconType": {
|
|
1016
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
1017
|
+
"type": "string",
|
|
1018
|
+
"title": "iconType"
|
|
1019
|
+
},
|
|
1020
|
+
"icon": {
|
|
1021
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
1022
|
+
"type": "string",
|
|
1023
|
+
"title": "icon"
|
|
1024
|
+
}
|
|
1025
|
+
},
|
|
1026
|
+
"required": [
|
|
1027
|
+
"event",
|
|
1028
|
+
"icon",
|
|
1029
|
+
"iconAlt",
|
|
1030
|
+
"iconType"
|
|
1031
|
+
]
|
|
1032
|
+
},
|
|
1033
|
+
"ConfigurePropWithEnabled": {
|
|
1034
|
+
"title": "ConfigurePropWithEnabled",
|
|
1035
|
+
"type": "object",
|
|
1036
|
+
"properties": {
|
|
1037
|
+
"enabled": {
|
|
1038
|
+
"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)",
|
|
1039
|
+
"type": "boolean",
|
|
1040
|
+
"title": "enabled"
|
|
1041
|
+
},
|
|
1042
|
+
"settings": {
|
|
1043
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
1044
|
+
"type": "boolean",
|
|
1045
|
+
"title": "settings"
|
|
1046
|
+
},
|
|
1047
|
+
"label": {
|
|
1048
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
1049
|
+
"type": "string",
|
|
1050
|
+
"title": "label"
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
},
|
|
1054
|
+
"EditableHtmlPluginConfigureRequired": {
|
|
1055
|
+
"title": "EditableHtmlPluginConfigureRequired",
|
|
1056
|
+
"type": "object",
|
|
1057
|
+
"properties": {
|
|
1058
|
+
"inputConfiguration": {
|
|
1059
|
+
"title": "EditableHtmlConfigureProp",
|
|
1060
|
+
"type": "object",
|
|
1061
|
+
"properties": {
|
|
1062
|
+
"math": {
|
|
1063
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1064
|
+
"type": "object",
|
|
1065
|
+
"properties": {
|
|
1066
|
+
"disabled": {
|
|
1067
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1068
|
+
"type": "boolean",
|
|
1069
|
+
"title": "disabled"
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
},
|
|
1073
|
+
"audio": {
|
|
1074
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1075
|
+
"type": "object",
|
|
1076
|
+
"properties": {
|
|
1077
|
+
"disabled": {
|
|
1078
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1079
|
+
"type": "boolean",
|
|
1080
|
+
"title": "disabled"
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
},
|
|
1084
|
+
"video": {
|
|
1085
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1086
|
+
"type": "object",
|
|
1087
|
+
"properties": {
|
|
1088
|
+
"disabled": {
|
|
1089
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1090
|
+
"type": "boolean",
|
|
1091
|
+
"title": "disabled"
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
},
|
|
1095
|
+
"image": {
|
|
1096
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1097
|
+
"type": "object",
|
|
1098
|
+
"properties": {
|
|
1099
|
+
"disabled": {
|
|
1100
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1101
|
+
"type": "boolean",
|
|
1102
|
+
"title": "disabled"
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
},
|
|
1106
|
+
"customPlugins": {
|
|
1107
|
+
"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.",
|
|
1108
|
+
"type": "array",
|
|
1109
|
+
"items": {
|
|
1110
|
+
"title": "CustomPlugin",
|
|
1111
|
+
"type": "object",
|
|
1112
|
+
"properties": {
|
|
1113
|
+
"event": {
|
|
1114
|
+
"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\"",
|
|
1115
|
+
"type": "string",
|
|
1116
|
+
"title": "event"
|
|
1117
|
+
},
|
|
1118
|
+
"iconAlt": {
|
|
1119
|
+
"description": "The alt for the custom button icon",
|
|
1120
|
+
"type": "string",
|
|
1121
|
+
"title": "iconAlt"
|
|
1122
|
+
},
|
|
1123
|
+
"iconType": {
|
|
1124
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
1125
|
+
"type": "string",
|
|
1126
|
+
"title": "iconType"
|
|
1127
|
+
},
|
|
1128
|
+
"icon": {
|
|
1129
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
1130
|
+
"type": "string",
|
|
1131
|
+
"title": "icon"
|
|
1132
|
+
}
|
|
1133
|
+
},
|
|
1134
|
+
"required": [
|
|
1135
|
+
"event",
|
|
1136
|
+
"icon",
|
|
1137
|
+
"iconAlt",
|
|
1138
|
+
"iconType"
|
|
1139
|
+
]
|
|
1140
|
+
},
|
|
1141
|
+
"title": "customPlugins"
|
|
1142
|
+
},
|
|
1143
|
+
"blockquote": {
|
|
1144
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1145
|
+
"type": "object",
|
|
1146
|
+
"properties": {
|
|
1147
|
+
"disabled": {
|
|
1148
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1149
|
+
"type": "boolean",
|
|
1150
|
+
"title": "disabled"
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
},
|
|
1154
|
+
"h3": {
|
|
1155
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1156
|
+
"type": "object",
|
|
1157
|
+
"properties": {
|
|
1158
|
+
"disabled": {
|
|
1159
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1160
|
+
"type": "boolean",
|
|
1161
|
+
"title": "disabled"
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
},
|
|
1165
|
+
"characters": {
|
|
1166
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1167
|
+
"type": "object",
|
|
1168
|
+
"properties": {
|
|
1169
|
+
"disabled": {
|
|
1170
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1171
|
+
"type": "boolean",
|
|
1172
|
+
"title": "disabled"
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
},
|
|
1176
|
+
"bold": {
|
|
1177
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1178
|
+
"type": "object",
|
|
1179
|
+
"properties": {
|
|
1180
|
+
"disabled": {
|
|
1181
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1182
|
+
"type": "boolean",
|
|
1183
|
+
"title": "disabled"
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
},
|
|
1187
|
+
"html": {
|
|
1188
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1189
|
+
"type": "object",
|
|
1190
|
+
"properties": {
|
|
1191
|
+
"disabled": {
|
|
1192
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1193
|
+
"type": "boolean",
|
|
1194
|
+
"title": "disabled"
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1197
|
+
},
|
|
1198
|
+
"italic": {
|
|
1199
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1200
|
+
"type": "object",
|
|
1201
|
+
"properties": {
|
|
1202
|
+
"disabled": {
|
|
1203
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1204
|
+
"type": "boolean",
|
|
1205
|
+
"title": "disabled"
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
},
|
|
1209
|
+
"ol_list": {
|
|
1210
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1211
|
+
"type": "object",
|
|
1212
|
+
"properties": {
|
|
1213
|
+
"disabled": {
|
|
1214
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1215
|
+
"type": "boolean",
|
|
1216
|
+
"title": "disabled"
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
},
|
|
1220
|
+
"redo": {
|
|
1221
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1222
|
+
"type": "object",
|
|
1223
|
+
"properties": {
|
|
1224
|
+
"disabled": {
|
|
1225
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1226
|
+
"type": "boolean",
|
|
1227
|
+
"title": "disabled"
|
|
1228
|
+
}
|
|
1229
|
+
}
|
|
1230
|
+
},
|
|
1231
|
+
"strikethrough": {
|
|
1232
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1233
|
+
"type": "object",
|
|
1234
|
+
"properties": {
|
|
1235
|
+
"disabled": {
|
|
1236
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1237
|
+
"type": "boolean",
|
|
1238
|
+
"title": "disabled"
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
},
|
|
1242
|
+
"sub": {
|
|
1243
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1244
|
+
"type": "object",
|
|
1245
|
+
"properties": {
|
|
1246
|
+
"disabled": {
|
|
1247
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1248
|
+
"type": "boolean",
|
|
1249
|
+
"title": "disabled"
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
},
|
|
1253
|
+
"sup": {
|
|
1254
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1255
|
+
"type": "object",
|
|
1256
|
+
"properties": {
|
|
1257
|
+
"disabled": {
|
|
1258
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1259
|
+
"type": "boolean",
|
|
1260
|
+
"title": "disabled"
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
},
|
|
1264
|
+
"table": {
|
|
1265
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1266
|
+
"type": "object",
|
|
1267
|
+
"properties": {
|
|
1268
|
+
"disabled": {
|
|
1269
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1270
|
+
"type": "boolean",
|
|
1271
|
+
"title": "disabled"
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
},
|
|
1275
|
+
"ul_list": {
|
|
1276
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1277
|
+
"type": "object",
|
|
1278
|
+
"properties": {
|
|
1279
|
+
"disabled": {
|
|
1280
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1281
|
+
"type": "boolean",
|
|
1282
|
+
"title": "disabled"
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
},
|
|
1286
|
+
"underline": {
|
|
1287
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1288
|
+
"type": "object",
|
|
1289
|
+
"properties": {
|
|
1290
|
+
"disabled": {
|
|
1291
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1292
|
+
"type": "boolean",
|
|
1293
|
+
"title": "disabled"
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
},
|
|
1297
|
+
"undo": {
|
|
1298
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1299
|
+
"type": "object",
|
|
1300
|
+
"properties": {
|
|
1301
|
+
"disabled": {
|
|
1302
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1303
|
+
"type": "boolean",
|
|
1304
|
+
"title": "disabled"
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
},
|
|
1310
|
+
"required": {
|
|
1311
|
+
"description": "Indicates if the item is required and the value cannot be empty",
|
|
1312
|
+
"type": "boolean",
|
|
1313
|
+
"title": "required"
|
|
1314
|
+
},
|
|
1315
|
+
"settings": {
|
|
1316
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
1317
|
+
"type": "boolean",
|
|
1318
|
+
"title": "settings"
|
|
1319
|
+
},
|
|
1320
|
+
"label": {
|
|
1321
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
1322
|
+
"type": "string",
|
|
1323
|
+
"title": "label"
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
},
|
|
1327
|
+
"EditableHtmlPluginConfigure": {
|
|
1328
|
+
"title": "EditableHtmlPluginConfigure",
|
|
1329
|
+
"type": "object",
|
|
1330
|
+
"properties": {
|
|
1331
|
+
"inputConfiguration": {
|
|
1332
|
+
"title": "EditableHtmlConfigureProp",
|
|
1333
|
+
"type": "object",
|
|
1334
|
+
"properties": {
|
|
1335
|
+
"math": {
|
|
1336
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1337
|
+
"type": "object",
|
|
1338
|
+
"properties": {
|
|
1339
|
+
"disabled": {
|
|
1340
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1341
|
+
"type": "boolean",
|
|
1342
|
+
"title": "disabled"
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
},
|
|
1346
|
+
"audio": {
|
|
1347
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1348
|
+
"type": "object",
|
|
1349
|
+
"properties": {
|
|
1350
|
+
"disabled": {
|
|
1351
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1352
|
+
"type": "boolean",
|
|
1353
|
+
"title": "disabled"
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
},
|
|
1357
|
+
"video": {
|
|
1358
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1359
|
+
"type": "object",
|
|
1360
|
+
"properties": {
|
|
1361
|
+
"disabled": {
|
|
1362
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1363
|
+
"type": "boolean",
|
|
1364
|
+
"title": "disabled"
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
},
|
|
1368
|
+
"image": {
|
|
1369
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1370
|
+
"type": "object",
|
|
1371
|
+
"properties": {
|
|
1372
|
+
"disabled": {
|
|
1373
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1374
|
+
"type": "boolean",
|
|
1375
|
+
"title": "disabled"
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
},
|
|
1379
|
+
"customPlugins": {
|
|
1380
|
+
"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.",
|
|
1381
|
+
"type": "array",
|
|
1382
|
+
"items": {
|
|
1383
|
+
"title": "CustomPlugin",
|
|
1384
|
+
"type": "object",
|
|
1385
|
+
"properties": {
|
|
1386
|
+
"event": {
|
|
1387
|
+
"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\"",
|
|
1388
|
+
"type": "string",
|
|
1389
|
+
"title": "event"
|
|
1390
|
+
},
|
|
1391
|
+
"iconAlt": {
|
|
1392
|
+
"description": "The alt for the custom button icon",
|
|
1393
|
+
"type": "string",
|
|
1394
|
+
"title": "iconAlt"
|
|
1395
|
+
},
|
|
1396
|
+
"iconType": {
|
|
1397
|
+
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
1398
|
+
"type": "string",
|
|
1399
|
+
"title": "iconType"
|
|
1400
|
+
},
|
|
1401
|
+
"icon": {
|
|
1402
|
+
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
1403
|
+
"type": "string",
|
|
1404
|
+
"title": "icon"
|
|
1405
|
+
}
|
|
1406
|
+
},
|
|
1407
|
+
"required": [
|
|
1408
|
+
"event",
|
|
1409
|
+
"icon",
|
|
1410
|
+
"iconAlt",
|
|
1411
|
+
"iconType"
|
|
1412
|
+
]
|
|
1413
|
+
},
|
|
1414
|
+
"title": "customPlugins"
|
|
1415
|
+
},
|
|
1416
|
+
"blockquote": {
|
|
1417
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1418
|
+
"type": "object",
|
|
1419
|
+
"properties": {
|
|
1420
|
+
"disabled": {
|
|
1421
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1422
|
+
"type": "boolean",
|
|
1423
|
+
"title": "disabled"
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
},
|
|
1427
|
+
"h3": {
|
|
1428
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1429
|
+
"type": "object",
|
|
1430
|
+
"properties": {
|
|
1431
|
+
"disabled": {
|
|
1432
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1433
|
+
"type": "boolean",
|
|
1434
|
+
"title": "disabled"
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
},
|
|
1438
|
+
"characters": {
|
|
1439
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1440
|
+
"type": "object",
|
|
1441
|
+
"properties": {
|
|
1442
|
+
"disabled": {
|
|
1443
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1444
|
+
"type": "boolean",
|
|
1445
|
+
"title": "disabled"
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
},
|
|
1449
|
+
"bold": {
|
|
1450
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1451
|
+
"type": "object",
|
|
1452
|
+
"properties": {
|
|
1453
|
+
"disabled": {
|
|
1454
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1455
|
+
"type": "boolean",
|
|
1456
|
+
"title": "disabled"
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
},
|
|
1460
|
+
"html": {
|
|
1461
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1462
|
+
"type": "object",
|
|
1463
|
+
"properties": {
|
|
1464
|
+
"disabled": {
|
|
1465
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1466
|
+
"type": "boolean",
|
|
1467
|
+
"title": "disabled"
|
|
1468
|
+
}
|
|
1469
|
+
}
|
|
1470
|
+
},
|
|
1471
|
+
"italic": {
|
|
1472
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1473
|
+
"type": "object",
|
|
1474
|
+
"properties": {
|
|
1475
|
+
"disabled": {
|
|
1476
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1477
|
+
"type": "boolean",
|
|
1478
|
+
"title": "disabled"
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
},
|
|
1482
|
+
"ol_list": {
|
|
1483
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1484
|
+
"type": "object",
|
|
1485
|
+
"properties": {
|
|
1486
|
+
"disabled": {
|
|
1487
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1488
|
+
"type": "boolean",
|
|
1489
|
+
"title": "disabled"
|
|
1490
|
+
}
|
|
1491
|
+
}
|
|
1492
|
+
},
|
|
1493
|
+
"redo": {
|
|
1494
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1495
|
+
"type": "object",
|
|
1496
|
+
"properties": {
|
|
1497
|
+
"disabled": {
|
|
1498
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1499
|
+
"type": "boolean",
|
|
1500
|
+
"title": "disabled"
|
|
1501
|
+
}
|
|
1502
|
+
}
|
|
1503
|
+
},
|
|
1504
|
+
"strikethrough": {
|
|
1505
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1506
|
+
"type": "object",
|
|
1507
|
+
"properties": {
|
|
1508
|
+
"disabled": {
|
|
1509
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1510
|
+
"type": "boolean",
|
|
1511
|
+
"title": "disabled"
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
},
|
|
1515
|
+
"sub": {
|
|
1516
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1517
|
+
"type": "object",
|
|
1518
|
+
"properties": {
|
|
1519
|
+
"disabled": {
|
|
1520
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1521
|
+
"type": "boolean",
|
|
1522
|
+
"title": "disabled"
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
},
|
|
1526
|
+
"sup": {
|
|
1527
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1528
|
+
"type": "object",
|
|
1529
|
+
"properties": {
|
|
1530
|
+
"disabled": {
|
|
1531
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1532
|
+
"type": "boolean",
|
|
1533
|
+
"title": "disabled"
|
|
1534
|
+
}
|
|
1535
|
+
}
|
|
1536
|
+
},
|
|
1537
|
+
"table": {
|
|
1538
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1539
|
+
"type": "object",
|
|
1540
|
+
"properties": {
|
|
1541
|
+
"disabled": {
|
|
1542
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1543
|
+
"type": "boolean",
|
|
1544
|
+
"title": "disabled"
|
|
1545
|
+
}
|
|
1546
|
+
}
|
|
1547
|
+
},
|
|
1548
|
+
"ul_list": {
|
|
1549
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1550
|
+
"type": "object",
|
|
1551
|
+
"properties": {
|
|
1552
|
+
"disabled": {
|
|
1553
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1554
|
+
"type": "boolean",
|
|
1555
|
+
"title": "disabled"
|
|
1556
|
+
}
|
|
1557
|
+
}
|
|
1558
|
+
},
|
|
1559
|
+
"underline": {
|
|
1560
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1561
|
+
"type": "object",
|
|
1562
|
+
"properties": {
|
|
1563
|
+
"disabled": {
|
|
1564
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1565
|
+
"type": "boolean",
|
|
1566
|
+
"title": "disabled"
|
|
1567
|
+
}
|
|
1568
|
+
}
|
|
1569
|
+
},
|
|
1570
|
+
"undo": {
|
|
1571
|
+
"title": "EditableHtmlButtonConfigure",
|
|
1572
|
+
"type": "object",
|
|
1573
|
+
"properties": {
|
|
1574
|
+
"disabled": {
|
|
1575
|
+
"description": "Indicates if the plugin is disabled or not",
|
|
1576
|
+
"type": "boolean",
|
|
1577
|
+
"title": "disabled"
|
|
1578
|
+
}
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
},
|
|
1583
|
+
"settings": {
|
|
1584
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
1585
|
+
"type": "boolean",
|
|
1586
|
+
"title": "settings"
|
|
1587
|
+
},
|
|
1588
|
+
"label": {
|
|
1589
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
1590
|
+
"type": "string",
|
|
1591
|
+
"title": "label"
|
|
1592
|
+
}
|
|
1593
|
+
}
|
|
1594
|
+
},
|
|
1595
|
+
"NumberLineDimensions": {
|
|
1596
|
+
"title": "NumberLineDimensions",
|
|
1597
|
+
"type": "object",
|
|
1598
|
+
"properties": {
|
|
1599
|
+
"settings": {
|
|
1600
|
+
"type": "boolean",
|
|
1601
|
+
"title": "settings"
|
|
1602
|
+
},
|
|
1603
|
+
"label": {
|
|
1604
|
+
"type": "string",
|
|
1605
|
+
"title": "label"
|
|
1606
|
+
},
|
|
1607
|
+
"enabled": {
|
|
1608
|
+
"type": "boolean",
|
|
1609
|
+
"title": "enabled"
|
|
1610
|
+
},
|
|
1611
|
+
"min": {
|
|
1612
|
+
"type": "number",
|
|
1613
|
+
"title": "min"
|
|
1614
|
+
},
|
|
1615
|
+
"max": {
|
|
1616
|
+
"type": "number",
|
|
1617
|
+
"title": "max"
|
|
1618
|
+
},
|
|
1619
|
+
"step": {
|
|
1620
|
+
"type": "number",
|
|
1621
|
+
"title": "step"
|
|
1622
|
+
}
|
|
1623
|
+
},
|
|
1624
|
+
"required": [
|
|
1625
|
+
"enabled",
|
|
1626
|
+
"label",
|
|
1627
|
+
"max",
|
|
1628
|
+
"min",
|
|
1629
|
+
"settings",
|
|
1630
|
+
"step"
|
|
1631
|
+
]
|
|
1632
|
+
},
|
|
1633
|
+
"ConfigureProp": {
|
|
1634
|
+
"title": "ConfigureProp",
|
|
1635
|
+
"type": "object",
|
|
1636
|
+
"properties": {
|
|
1637
|
+
"settings": {
|
|
1638
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
1639
|
+
"type": "boolean",
|
|
1640
|
+
"title": "settings"
|
|
1641
|
+
},
|
|
1642
|
+
"label": {
|
|
1643
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
1644
|
+
"type": "string",
|
|
1645
|
+
"title": "label"
|
|
1646
|
+
}
|
|
1647
|
+
}
|
|
1648
|
+
},
|
|
1649
|
+
"ConfigureMathMLProp": {
|
|
1650
|
+
"title": "ConfigureMathMLProp",
|
|
1651
|
+
"type": "object",
|
|
1652
|
+
"properties": {
|
|
1653
|
+
"mmlOutput": {
|
|
1654
|
+
"description": "Indicates if model should have mathML output instead of latex",
|
|
1655
|
+
"type": "number",
|
|
1656
|
+
"title": "mmlOutput"
|
|
1657
|
+
},
|
|
1658
|
+
"mmlEditing": {
|
|
1659
|
+
"description": "Indicates if mathML that's already in model should be editable",
|
|
1660
|
+
"type": "number",
|
|
1661
|
+
"title": "mmlEditing"
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
},
|
|
1665
|
+
"ConfigureLanguageOptionsProp": {
|
|
1666
|
+
"title": "ConfigureLanguageOptionsProp",
|
|
1667
|
+
"type": "object",
|
|
1668
|
+
"properties": {
|
|
1669
|
+
"value": {
|
|
1670
|
+
"description": "Value of the language option",
|
|
1671
|
+
"type": "string",
|
|
1672
|
+
"title": "value"
|
|
1673
|
+
},
|
|
1674
|
+
"label": {
|
|
1675
|
+
"description": "Label of the language option",
|
|
1676
|
+
"type": "string",
|
|
1677
|
+
"title": "label"
|
|
1678
|
+
}
|
|
1679
|
+
},
|
|
1680
|
+
"required": [
|
|
1681
|
+
"label",
|
|
1682
|
+
"value"
|
|
1683
|
+
]
|
|
1684
|
+
},
|
|
1685
|
+
"ComplexFeedbackType": {
|
|
1686
|
+
"title": "ComplexFeedbackType",
|
|
1687
|
+
"type": "object",
|
|
1688
|
+
"properties": {
|
|
1689
|
+
"correct": {
|
|
1690
|
+
"description": "Indicates the configuration for feedback when answer is correct",
|
|
1691
|
+
"anyOf": [
|
|
1692
|
+
{
|
|
1693
|
+
"title": "DefaultFeedbackType",
|
|
1694
|
+
"type": "object",
|
|
1695
|
+
"properties": {
|
|
1696
|
+
"type": {
|
|
1697
|
+
"description": "Indicates the feedback type",
|
|
1698
|
+
"enum": [
|
|
1699
|
+
"default",
|
|
1700
|
+
"none"
|
|
1701
|
+
],
|
|
1702
|
+
"type": "string",
|
|
1703
|
+
"title": "type"
|
|
1704
|
+
},
|
|
1705
|
+
"default": {
|
|
1706
|
+
"description": "Indicates the feedback value",
|
|
1707
|
+
"type": "string",
|
|
1708
|
+
"title": "default"
|
|
1709
|
+
}
|
|
1710
|
+
},
|
|
1711
|
+
"required": [
|
|
1712
|
+
"type"
|
|
1713
|
+
]
|
|
1714
|
+
},
|
|
1715
|
+
{
|
|
1716
|
+
"title": "CustomFeedbackType",
|
|
1717
|
+
"type": "object",
|
|
1718
|
+
"properties": {
|
|
1719
|
+
"type": {
|
|
1720
|
+
"description": "Indicates the feedback type",
|
|
1721
|
+
"type": "string",
|
|
1722
|
+
"enum": [
|
|
1723
|
+
"custom"
|
|
1724
|
+
],
|
|
1725
|
+
"title": "type"
|
|
1726
|
+
},
|
|
1727
|
+
"custom": {
|
|
1728
|
+
"description": "Indicates the feedback custom value",
|
|
1729
|
+
"type": "string",
|
|
1730
|
+
"title": "custom"
|
|
1731
|
+
}
|
|
1732
|
+
},
|
|
1733
|
+
"required": [
|
|
1734
|
+
"custom",
|
|
1735
|
+
"type"
|
|
1736
|
+
]
|
|
1737
|
+
}
|
|
1738
|
+
],
|
|
1739
|
+
"title": "correct"
|
|
1740
|
+
},
|
|
1741
|
+
"incorrect": {
|
|
1742
|
+
"description": "Indicates the configuration for feedback when answer is incorrect",
|
|
1743
|
+
"anyOf": [
|
|
1744
|
+
{
|
|
1745
|
+
"title": "DefaultFeedbackType",
|
|
1746
|
+
"type": "object",
|
|
1747
|
+
"properties": {
|
|
1748
|
+
"type": {
|
|
1749
|
+
"description": "Indicates the feedback type",
|
|
1750
|
+
"enum": [
|
|
1751
|
+
"default",
|
|
1752
|
+
"none"
|
|
1753
|
+
],
|
|
1754
|
+
"type": "string",
|
|
1755
|
+
"title": "type"
|
|
1756
|
+
},
|
|
1757
|
+
"default": {
|
|
1758
|
+
"description": "Indicates the feedback value",
|
|
1759
|
+
"type": "string",
|
|
1760
|
+
"title": "default"
|
|
1761
|
+
}
|
|
1762
|
+
},
|
|
1763
|
+
"required": [
|
|
1764
|
+
"type"
|
|
1765
|
+
]
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"title": "CustomFeedbackType",
|
|
1769
|
+
"type": "object",
|
|
1770
|
+
"properties": {
|
|
1771
|
+
"type": {
|
|
1772
|
+
"description": "Indicates the feedback type",
|
|
1773
|
+
"type": "string",
|
|
1774
|
+
"enum": [
|
|
1775
|
+
"custom"
|
|
1776
|
+
],
|
|
1777
|
+
"title": "type"
|
|
1778
|
+
},
|
|
1779
|
+
"custom": {
|
|
1780
|
+
"description": "Indicates the feedback custom value",
|
|
1781
|
+
"type": "string",
|
|
1782
|
+
"title": "custom"
|
|
1783
|
+
}
|
|
1784
|
+
},
|
|
1785
|
+
"required": [
|
|
1786
|
+
"custom",
|
|
1787
|
+
"type"
|
|
1788
|
+
]
|
|
1789
|
+
}
|
|
1790
|
+
],
|
|
1791
|
+
"title": "incorrect"
|
|
1792
|
+
},
|
|
1793
|
+
"partial": {
|
|
1794
|
+
"description": "Indicates the configuration for feedback when answer is partially correct",
|
|
1795
|
+
"anyOf": [
|
|
1796
|
+
{
|
|
1797
|
+
"title": "DefaultFeedbackType",
|
|
1798
|
+
"type": "object",
|
|
1799
|
+
"properties": {
|
|
1800
|
+
"type": {
|
|
1801
|
+
"description": "Indicates the feedback type",
|
|
1802
|
+
"enum": [
|
|
1803
|
+
"default",
|
|
1804
|
+
"none"
|
|
1805
|
+
],
|
|
1806
|
+
"type": "string",
|
|
1807
|
+
"title": "type"
|
|
1808
|
+
},
|
|
1809
|
+
"default": {
|
|
1810
|
+
"description": "Indicates the feedback value",
|
|
1811
|
+
"type": "string",
|
|
1812
|
+
"title": "default"
|
|
1813
|
+
}
|
|
1814
|
+
},
|
|
1815
|
+
"required": [
|
|
1816
|
+
"type"
|
|
1817
|
+
]
|
|
1818
|
+
},
|
|
1819
|
+
{
|
|
1820
|
+
"title": "CustomFeedbackType",
|
|
1821
|
+
"type": "object",
|
|
1822
|
+
"properties": {
|
|
1823
|
+
"type": {
|
|
1824
|
+
"description": "Indicates the feedback type",
|
|
1825
|
+
"type": "string",
|
|
1826
|
+
"enum": [
|
|
1827
|
+
"custom"
|
|
1828
|
+
],
|
|
1829
|
+
"title": "type"
|
|
1830
|
+
},
|
|
1831
|
+
"custom": {
|
|
1832
|
+
"description": "Indicates the feedback custom value",
|
|
1833
|
+
"type": "string",
|
|
1834
|
+
"title": "custom"
|
|
1835
|
+
}
|
|
1836
|
+
},
|
|
1837
|
+
"required": [
|
|
1838
|
+
"custom",
|
|
1839
|
+
"type"
|
|
1840
|
+
]
|
|
1841
|
+
}
|
|
1842
|
+
],
|
|
1843
|
+
"title": "partial"
|
|
1844
|
+
}
|
|
1845
|
+
},
|
|
1846
|
+
"required": [
|
|
1847
|
+
"correct",
|
|
1848
|
+
"incorrect"
|
|
1849
|
+
]
|
|
1850
|
+
},
|
|
1851
|
+
"DefaultFeedbackType": {
|
|
1852
|
+
"title": "DefaultFeedbackType",
|
|
1853
|
+
"type": "object",
|
|
1854
|
+
"properties": {
|
|
1855
|
+
"type": {
|
|
1856
|
+
"description": "Indicates the feedback type",
|
|
1857
|
+
"enum": [
|
|
1858
|
+
"default",
|
|
1859
|
+
"none"
|
|
1860
|
+
],
|
|
1861
|
+
"type": "string",
|
|
1862
|
+
"title": "type"
|
|
1863
|
+
},
|
|
1864
|
+
"default": {
|
|
1865
|
+
"description": "Indicates the feedback value",
|
|
1866
|
+
"type": "string",
|
|
1867
|
+
"title": "default"
|
|
1868
|
+
}
|
|
1869
|
+
},
|
|
1870
|
+
"required": [
|
|
1871
|
+
"type"
|
|
1872
|
+
]
|
|
1873
|
+
},
|
|
1874
|
+
"CustomFeedbackType": {
|
|
1875
|
+
"title": "CustomFeedbackType",
|
|
1876
|
+
"type": "object",
|
|
1877
|
+
"properties": {
|
|
1878
|
+
"type": {
|
|
1879
|
+
"description": "Indicates the feedback type",
|
|
1880
|
+
"type": "string",
|
|
1881
|
+
"enum": [
|
|
1882
|
+
"custom"
|
|
1883
|
+
],
|
|
1884
|
+
"title": "type"
|
|
1885
|
+
},
|
|
1886
|
+
"custom": {
|
|
1887
|
+
"description": "Indicates the feedback custom value",
|
|
1888
|
+
"type": "string",
|
|
1889
|
+
"title": "custom"
|
|
1890
|
+
}
|
|
1891
|
+
},
|
|
1892
|
+
"required": [
|
|
1893
|
+
"custom",
|
|
1894
|
+
"type"
|
|
1895
|
+
]
|
|
1896
|
+
},
|
|
1897
|
+
"ResponsePoint": {
|
|
1898
|
+
"title": "ResponsePoint",
|
|
1899
|
+
"type": "object",
|
|
1900
|
+
"properties": {
|
|
1901
|
+
"pointType": {
|
|
1902
|
+
"description": "Indicates point type",
|
|
1903
|
+
"enum": [
|
|
1904
|
+
"empty",
|
|
1905
|
+
"full"
|
|
1906
|
+
],
|
|
1907
|
+
"type": "string",
|
|
1908
|
+
"title": "pointType"
|
|
1909
|
+
},
|
|
1910
|
+
"type": {
|
|
1911
|
+
"description": "Indicates the response type",
|
|
1912
|
+
"enum": [
|
|
1913
|
+
"line",
|
|
1914
|
+
"point",
|
|
1915
|
+
"ray"
|
|
1916
|
+
],
|
|
1917
|
+
"type": "string",
|
|
1918
|
+
"title": "type"
|
|
1919
|
+
},
|
|
1920
|
+
"domainPosition": {
|
|
1921
|
+
"description": "Indicates response domain position",
|
|
1922
|
+
"type": "number",
|
|
1923
|
+
"title": "domainPosition"
|
|
1924
|
+
}
|
|
1925
|
+
},
|
|
1926
|
+
"required": [
|
|
1927
|
+
"domainPosition",
|
|
1928
|
+
"pointType",
|
|
1929
|
+
"type"
|
|
1930
|
+
]
|
|
1931
|
+
},
|
|
1932
|
+
"ResponseLine": {
|
|
1933
|
+
"title": "ResponseLine",
|
|
1934
|
+
"type": "object",
|
|
1935
|
+
"properties": {
|
|
1936
|
+
"leftPoint": {
|
|
1937
|
+
"description": "Indicates left point (left limit for the line) type",
|
|
1938
|
+
"enum": [
|
|
1939
|
+
"empty",
|
|
1940
|
+
"full"
|
|
1941
|
+
],
|
|
1942
|
+
"type": "string",
|
|
1943
|
+
"title": "leftPoint"
|
|
1944
|
+
},
|
|
1945
|
+
"rightPoint": {
|
|
1946
|
+
"description": "Indicates right point (left limit for the line) type",
|
|
1947
|
+
"enum": [
|
|
1948
|
+
"empty",
|
|
1949
|
+
"full"
|
|
1950
|
+
],
|
|
1951
|
+
"type": "string",
|
|
1952
|
+
"title": "rightPoint"
|
|
1953
|
+
},
|
|
1954
|
+
"size": {
|
|
1955
|
+
"description": "Indicates line size",
|
|
1956
|
+
"type": "number",
|
|
1957
|
+
"title": "size"
|
|
1958
|
+
},
|
|
1959
|
+
"type": {
|
|
1960
|
+
"description": "Indicates the response type",
|
|
1961
|
+
"enum": [
|
|
1962
|
+
"line",
|
|
1963
|
+
"point",
|
|
1964
|
+
"ray"
|
|
1965
|
+
],
|
|
1966
|
+
"type": "string",
|
|
1967
|
+
"title": "type"
|
|
1968
|
+
},
|
|
1969
|
+
"domainPosition": {
|
|
1970
|
+
"description": "Indicates response domain position",
|
|
1971
|
+
"type": "number",
|
|
1972
|
+
"title": "domainPosition"
|
|
1973
|
+
}
|
|
1974
|
+
},
|
|
1975
|
+
"required": [
|
|
1976
|
+
"domainPosition",
|
|
1977
|
+
"leftPoint",
|
|
1978
|
+
"rightPoint",
|
|
1979
|
+
"size",
|
|
1980
|
+
"type"
|
|
1981
|
+
]
|
|
1982
|
+
},
|
|
1983
|
+
"ResponseRay": {
|
|
1984
|
+
"title": "ResponseRay",
|
|
1985
|
+
"type": "object",
|
|
1986
|
+
"properties": {
|
|
1987
|
+
"pointType": {
|
|
1988
|
+
"description": "Indicates point type",
|
|
1989
|
+
"enum": [
|
|
1990
|
+
"empty",
|
|
1991
|
+
"full"
|
|
1992
|
+
],
|
|
1993
|
+
"type": "string",
|
|
1994
|
+
"title": "pointType"
|
|
1995
|
+
},
|
|
1996
|
+
"direction": {
|
|
1997
|
+
"description": "Indicates ray direction",
|
|
1998
|
+
"enum": [
|
|
1999
|
+
"negative",
|
|
2000
|
+
"positive"
|
|
2001
|
+
],
|
|
2002
|
+
"type": "string",
|
|
2003
|
+
"title": "direction"
|
|
2004
|
+
},
|
|
2005
|
+
"type": {
|
|
2006
|
+
"description": "Indicates the response type",
|
|
2007
|
+
"enum": [
|
|
2008
|
+
"line",
|
|
2009
|
+
"point",
|
|
2010
|
+
"ray"
|
|
2011
|
+
],
|
|
2012
|
+
"type": "string",
|
|
2013
|
+
"title": "type"
|
|
2014
|
+
},
|
|
2015
|
+
"domainPosition": {
|
|
2016
|
+
"description": "Indicates response domain position",
|
|
2017
|
+
"type": "number",
|
|
2018
|
+
"title": "domainPosition"
|
|
2019
|
+
}
|
|
2020
|
+
},
|
|
2021
|
+
"required": [
|
|
2022
|
+
"direction",
|
|
2023
|
+
"domainPosition",
|
|
2024
|
+
"pointType",
|
|
2025
|
+
"type"
|
|
2026
|
+
]
|
|
2027
|
+
},
|
|
2028
|
+
"NumberLineDomainConfiguration": {
|
|
2029
|
+
"title": "NumberLineDomainConfiguration",
|
|
2030
|
+
"type": "object",
|
|
2031
|
+
"properties": {
|
|
2032
|
+
"arrows": {
|
|
2033
|
+
"title": "Arrows",
|
|
2034
|
+
"type": "object",
|
|
2035
|
+
"properties": {
|
|
2036
|
+
"left": {
|
|
2037
|
+
"type": "boolean",
|
|
2038
|
+
"title": "left"
|
|
2039
|
+
},
|
|
2040
|
+
"right": {
|
|
2041
|
+
"type": "boolean",
|
|
2042
|
+
"title": "right"
|
|
2043
|
+
}
|
|
2044
|
+
},
|
|
2045
|
+
"required": [
|
|
2046
|
+
"left",
|
|
2047
|
+
"right"
|
|
2048
|
+
]
|
|
2049
|
+
},
|
|
2050
|
+
"width": {
|
|
2051
|
+
"description": "Indicates domain representation width",
|
|
2052
|
+
"type": "number",
|
|
2053
|
+
"title": "width"
|
|
2054
|
+
},
|
|
2055
|
+
"domain": {
|
|
2056
|
+
"title": "Domain",
|
|
2057
|
+
"type": "object",
|
|
2058
|
+
"properties": {
|
|
2059
|
+
"min": {
|
|
2060
|
+
"type": "number",
|
|
2061
|
+
"title": "min"
|
|
2062
|
+
},
|
|
2063
|
+
"max": {
|
|
2064
|
+
"type": "number",
|
|
2065
|
+
"title": "max"
|
|
2066
|
+
}
|
|
2067
|
+
},
|
|
2068
|
+
"required": [
|
|
2069
|
+
"max",
|
|
2070
|
+
"min"
|
|
2071
|
+
]
|
|
2072
|
+
},
|
|
2073
|
+
"maxNumberOfPoints": {
|
|
2074
|
+
"description": "Indicates the maximum number of correct response values",
|
|
2075
|
+
"type": "number",
|
|
2076
|
+
"title": "maxNumberOfPoints"
|
|
2077
|
+
},
|
|
2078
|
+
"tick": {
|
|
2079
|
+
"title": "Ticks",
|
|
2080
|
+
"type": "object",
|
|
2081
|
+
"properties": {
|
|
2082
|
+
"minor": {
|
|
2083
|
+
"description": "smallest tick - These ticks don't have labels.",
|
|
2084
|
+
"type": "number",
|
|
2085
|
+
"title": "minor"
|
|
2086
|
+
},
|
|
2087
|
+
"major": {
|
|
2088
|
+
"description": "larger tick - These ticks have labels.",
|
|
2089
|
+
"type": "number",
|
|
2090
|
+
"title": "major"
|
|
2091
|
+
},
|
|
2092
|
+
"tickIntervalType": {
|
|
2093
|
+
"description": "Contains tick interval type Integer, Fraction, Decimal",
|
|
2094
|
+
"type": "string",
|
|
2095
|
+
"title": "tickIntervalType"
|
|
2096
|
+
},
|
|
2097
|
+
"integerTick": {
|
|
2098
|
+
"description": "Integer representation of minor.",
|
|
2099
|
+
"type": "number",
|
|
2100
|
+
"title": "integerTick"
|
|
2101
|
+
},
|
|
2102
|
+
"decimalTick": {
|
|
2103
|
+
"description": "Decimal representation of minor.",
|
|
2104
|
+
"type": "number",
|
|
2105
|
+
"title": "decimalTick"
|
|
2106
|
+
},
|
|
2107
|
+
"fractionTick": {
|
|
2108
|
+
"description": "Fraction representation of minor.",
|
|
2109
|
+
"type": "string",
|
|
2110
|
+
"title": "fractionTick"
|
|
2111
|
+
}
|
|
2112
|
+
},
|
|
2113
|
+
"required": [
|
|
2114
|
+
"decimalTick",
|
|
2115
|
+
"fractionTick",
|
|
2116
|
+
"integerTick",
|
|
2117
|
+
"major",
|
|
2118
|
+
"minor",
|
|
2119
|
+
"tickIntervalType"
|
|
2120
|
+
]
|
|
2121
|
+
},
|
|
2122
|
+
"title": {
|
|
2123
|
+
"description": "the title under the graph",
|
|
2124
|
+
"type": "string",
|
|
2125
|
+
"title": "title"
|
|
2126
|
+
},
|
|
2127
|
+
"exhibitOnly": {
|
|
2128
|
+
"description": "Indicates if the exhibit mode is enabled",
|
|
2129
|
+
"type": "boolean",
|
|
2130
|
+
"title": "exhibitOnly"
|
|
2131
|
+
},
|
|
2132
|
+
"initialType": {
|
|
2133
|
+
"description": "Indicates the initial type of response",
|
|
2134
|
+
"enum": [
|
|
2135
|
+
"LEE",
|
|
2136
|
+
"LEF",
|
|
2137
|
+
"LFE",
|
|
2138
|
+
"LFF",
|
|
2139
|
+
"PF",
|
|
2140
|
+
"REN",
|
|
2141
|
+
"REP",
|
|
2142
|
+
"RFN",
|
|
2143
|
+
"RFP"
|
|
2144
|
+
],
|
|
2145
|
+
"type": "string",
|
|
2146
|
+
"title": "initialType"
|
|
2147
|
+
},
|
|
2148
|
+
"availableTypes": {
|
|
2149
|
+
"description": "Indicates the available types of responses",
|
|
2150
|
+
"type": "object",
|
|
2151
|
+
"properties": {
|
|
2152
|
+
"PF": {
|
|
2153
|
+
"description": "Indicates if full point is available",
|
|
2154
|
+
"type": "boolean",
|
|
2155
|
+
"title": "PF"
|
|
2156
|
+
},
|
|
2157
|
+
"LFF": {
|
|
2158
|
+
"description": "Indicates if line with full left & right point is available",
|
|
2159
|
+
"type": "boolean",
|
|
2160
|
+
"title": "LFF"
|
|
2161
|
+
},
|
|
2162
|
+
"LEF": {
|
|
2163
|
+
"description": "Indicates if line with empty left & full right point is available",
|
|
2164
|
+
"type": "boolean",
|
|
2165
|
+
"title": "LEF"
|
|
2166
|
+
},
|
|
2167
|
+
"LFE": {
|
|
2168
|
+
"description": "Indicates if line with full left & empty right point is available",
|
|
2169
|
+
"type": "boolean",
|
|
2170
|
+
"title": "LFE"
|
|
2171
|
+
},
|
|
2172
|
+
"LEE": {
|
|
2173
|
+
"description": "Indicates if line with empty left & right point is available",
|
|
2174
|
+
"type": "boolean",
|
|
2175
|
+
"title": "LEE"
|
|
2176
|
+
},
|
|
2177
|
+
"RFN": {
|
|
2178
|
+
"description": "Indicates if ray with full point and negative direction is available",
|
|
2179
|
+
"type": "boolean",
|
|
2180
|
+
"title": "RFN"
|
|
2181
|
+
},
|
|
2182
|
+
"REN": {
|
|
2183
|
+
"description": "Indicates if ray with empty point and negative direction is available",
|
|
2184
|
+
"type": "boolean",
|
|
2185
|
+
"title": "REN"
|
|
2186
|
+
},
|
|
2187
|
+
"RFP": {
|
|
2188
|
+
"description": "Indicates if ray with full point and positive direction is available",
|
|
2189
|
+
"type": "boolean",
|
|
2190
|
+
"title": "RFP"
|
|
2191
|
+
},
|
|
2192
|
+
"REP": {
|
|
2193
|
+
"description": "Indicates if ray with empty point and positive direction is available",
|
|
2194
|
+
"type": "boolean",
|
|
2195
|
+
"title": "REP"
|
|
2196
|
+
}
|
|
2197
|
+
},
|
|
2198
|
+
"required": [
|
|
2199
|
+
"LEE",
|
|
2200
|
+
"LEF",
|
|
2201
|
+
"LFE",
|
|
2202
|
+
"LFF",
|
|
2203
|
+
"PF",
|
|
2204
|
+
"REN",
|
|
2205
|
+
"REP",
|
|
2206
|
+
"RFN",
|
|
2207
|
+
"RFP"
|
|
2208
|
+
],
|
|
2209
|
+
"title": "availableTypes"
|
|
2210
|
+
},
|
|
2211
|
+
"widthEnabled": {
|
|
2212
|
+
"description": "If enabled, allows user to set width for number line.",
|
|
2213
|
+
"type": "boolean",
|
|
2214
|
+
"title": "widthEnabled"
|
|
2215
|
+
},
|
|
2216
|
+
"initialElements": {
|
|
2217
|
+
"description": "Array that returns responses",
|
|
2218
|
+
"type": "object",
|
|
2219
|
+
"additionalProperties": false,
|
|
2220
|
+
"patternProperties": {
|
|
2221
|
+
"^[0-9]+$": {
|
|
2222
|
+
"anyOf": [
|
|
2223
|
+
{
|
|
2224
|
+
"title": "ResponsePoint",
|
|
2225
|
+
"type": "object",
|
|
2226
|
+
"properties": {
|
|
2227
|
+
"pointType": {
|
|
2228
|
+
"description": "Indicates point type",
|
|
2229
|
+
"enum": [
|
|
2230
|
+
"empty",
|
|
2231
|
+
"full"
|
|
2232
|
+
],
|
|
2233
|
+
"type": "string",
|
|
2234
|
+
"title": "pointType"
|
|
2235
|
+
},
|
|
2236
|
+
"type": {
|
|
2237
|
+
"description": "Indicates the response type",
|
|
2238
|
+
"enum": [
|
|
2239
|
+
"line",
|
|
2240
|
+
"point",
|
|
2241
|
+
"ray"
|
|
2242
|
+
],
|
|
2243
|
+
"type": "string",
|
|
2244
|
+
"title": "type"
|
|
2245
|
+
},
|
|
2246
|
+
"domainPosition": {
|
|
2247
|
+
"description": "Indicates response domain position",
|
|
2248
|
+
"type": "number",
|
|
2249
|
+
"title": "domainPosition"
|
|
2250
|
+
}
|
|
2251
|
+
},
|
|
2252
|
+
"required": [
|
|
2253
|
+
"domainPosition",
|
|
2254
|
+
"pointType",
|
|
2255
|
+
"type"
|
|
2256
|
+
]
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
"title": "ResponseLine",
|
|
2260
|
+
"type": "object",
|
|
2261
|
+
"properties": {
|
|
2262
|
+
"leftPoint": {
|
|
2263
|
+
"description": "Indicates left point (left limit for the line) type",
|
|
2264
|
+
"enum": [
|
|
2265
|
+
"empty",
|
|
2266
|
+
"full"
|
|
2267
|
+
],
|
|
2268
|
+
"type": "string",
|
|
2269
|
+
"title": "leftPoint"
|
|
2270
|
+
},
|
|
2271
|
+
"rightPoint": {
|
|
2272
|
+
"description": "Indicates right point (left limit for the line) type",
|
|
2273
|
+
"enum": [
|
|
2274
|
+
"empty",
|
|
2275
|
+
"full"
|
|
2276
|
+
],
|
|
2277
|
+
"type": "string",
|
|
2278
|
+
"title": "rightPoint"
|
|
2279
|
+
},
|
|
2280
|
+
"size": {
|
|
2281
|
+
"description": "Indicates line size",
|
|
2282
|
+
"type": "number",
|
|
2283
|
+
"title": "size"
|
|
2284
|
+
},
|
|
2285
|
+
"type": {
|
|
2286
|
+
"description": "Indicates the response type",
|
|
2287
|
+
"enum": [
|
|
2288
|
+
"line",
|
|
2289
|
+
"point",
|
|
2290
|
+
"ray"
|
|
2291
|
+
],
|
|
2292
|
+
"type": "string",
|
|
2293
|
+
"title": "type"
|
|
2294
|
+
},
|
|
2295
|
+
"domainPosition": {
|
|
2296
|
+
"description": "Indicates response domain position",
|
|
2297
|
+
"type": "number",
|
|
2298
|
+
"title": "domainPosition"
|
|
2299
|
+
}
|
|
2300
|
+
},
|
|
2301
|
+
"required": [
|
|
2302
|
+
"domainPosition",
|
|
2303
|
+
"leftPoint",
|
|
2304
|
+
"rightPoint",
|
|
2305
|
+
"size",
|
|
2306
|
+
"type"
|
|
2307
|
+
]
|
|
2308
|
+
},
|
|
2309
|
+
{
|
|
2310
|
+
"title": "ResponseRay",
|
|
2311
|
+
"type": "object",
|
|
2312
|
+
"properties": {
|
|
2313
|
+
"pointType": {
|
|
2314
|
+
"description": "Indicates point type",
|
|
2315
|
+
"enum": [
|
|
2316
|
+
"empty",
|
|
2317
|
+
"full"
|
|
2318
|
+
],
|
|
2319
|
+
"type": "string",
|
|
2320
|
+
"title": "pointType"
|
|
2321
|
+
},
|
|
2322
|
+
"direction": {
|
|
2323
|
+
"description": "Indicates ray direction",
|
|
2324
|
+
"enum": [
|
|
2325
|
+
"negative",
|
|
2326
|
+
"positive"
|
|
2327
|
+
],
|
|
2328
|
+
"type": "string",
|
|
2329
|
+
"title": "direction"
|
|
2330
|
+
},
|
|
2331
|
+
"type": {
|
|
2332
|
+
"description": "Indicates the response type",
|
|
2333
|
+
"enum": [
|
|
2334
|
+
"line",
|
|
2335
|
+
"point",
|
|
2336
|
+
"ray"
|
|
2337
|
+
],
|
|
2338
|
+
"type": "string",
|
|
2339
|
+
"title": "type"
|
|
2340
|
+
},
|
|
2341
|
+
"domainPosition": {
|
|
2342
|
+
"description": "Indicates response domain position",
|
|
2343
|
+
"type": "number",
|
|
2344
|
+
"title": "domainPosition"
|
|
2345
|
+
}
|
|
2346
|
+
},
|
|
2347
|
+
"required": [
|
|
2348
|
+
"direction",
|
|
2349
|
+
"domainPosition",
|
|
2350
|
+
"pointType",
|
|
2351
|
+
"type"
|
|
2352
|
+
]
|
|
2353
|
+
}
|
|
2354
|
+
]
|
|
2355
|
+
}
|
|
2356
|
+
},
|
|
2357
|
+
"title": "initialElements"
|
|
2358
|
+
},
|
|
2359
|
+
"labelStep": {
|
|
2360
|
+
"description": "Indicates the fractional step between 2 labeled ticks",
|
|
2361
|
+
"type": "string",
|
|
2362
|
+
"title": "labelStep"
|
|
2363
|
+
}
|
|
2364
|
+
},
|
|
2365
|
+
"required": [
|
|
2366
|
+
"arrows",
|
|
2367
|
+
"availableTypes",
|
|
2368
|
+
"domain",
|
|
2369
|
+
"exhibitOnly",
|
|
2370
|
+
"initialElements",
|
|
2371
|
+
"initialType",
|
|
2372
|
+
"labelStep",
|
|
2373
|
+
"maxNumberOfPoints",
|
|
2374
|
+
"tick",
|
|
2375
|
+
"width",
|
|
2376
|
+
"widthEnabled"
|
|
2377
|
+
]
|
|
2378
|
+
},
|
|
2379
|
+
"Arrows": {
|
|
2380
|
+
"title": "Arrows",
|
|
2381
|
+
"type": "object",
|
|
2382
|
+
"properties": {
|
|
2383
|
+
"left": {
|
|
2384
|
+
"type": "boolean",
|
|
2385
|
+
"title": "left"
|
|
2386
|
+
},
|
|
2387
|
+
"right": {
|
|
2388
|
+
"type": "boolean",
|
|
2389
|
+
"title": "right"
|
|
2390
|
+
}
|
|
2391
|
+
},
|
|
2392
|
+
"required": [
|
|
2393
|
+
"left",
|
|
2394
|
+
"right"
|
|
2395
|
+
]
|
|
2396
|
+
},
|
|
2397
|
+
"Domain": {
|
|
2398
|
+
"title": "Domain",
|
|
2399
|
+
"type": "object",
|
|
2400
|
+
"properties": {
|
|
2401
|
+
"min": {
|
|
2402
|
+
"type": "number",
|
|
2403
|
+
"title": "min"
|
|
2404
|
+
},
|
|
2405
|
+
"max": {
|
|
2406
|
+
"type": "number",
|
|
2407
|
+
"title": "max"
|
|
2408
|
+
}
|
|
2409
|
+
},
|
|
2410
|
+
"required": [
|
|
2411
|
+
"max",
|
|
2412
|
+
"min"
|
|
2413
|
+
]
|
|
2414
|
+
},
|
|
2415
|
+
"Ticks": {
|
|
2416
|
+
"title": "Ticks",
|
|
2417
|
+
"type": "object",
|
|
2418
|
+
"properties": {
|
|
2419
|
+
"minor": {
|
|
2420
|
+
"description": "smallest tick - These ticks don't have labels.",
|
|
2421
|
+
"type": "number",
|
|
2422
|
+
"title": "minor"
|
|
2423
|
+
},
|
|
2424
|
+
"major": {
|
|
2425
|
+
"description": "larger tick - These ticks have labels.",
|
|
2426
|
+
"type": "number",
|
|
2427
|
+
"title": "major"
|
|
2428
|
+
},
|
|
2429
|
+
"tickIntervalType": {
|
|
2430
|
+
"description": "Contains tick interval type Integer, Fraction, Decimal",
|
|
2431
|
+
"type": "string",
|
|
2432
|
+
"title": "tickIntervalType"
|
|
2433
|
+
},
|
|
2434
|
+
"integerTick": {
|
|
2435
|
+
"description": "Integer representation of minor.",
|
|
2436
|
+
"type": "number",
|
|
2437
|
+
"title": "integerTick"
|
|
2438
|
+
},
|
|
2439
|
+
"decimalTick": {
|
|
2440
|
+
"description": "Decimal representation of minor.",
|
|
2441
|
+
"type": "number",
|
|
2442
|
+
"title": "decimalTick"
|
|
2443
|
+
},
|
|
2444
|
+
"fractionTick": {
|
|
2445
|
+
"description": "Fraction representation of minor.",
|
|
2446
|
+
"type": "string",
|
|
2447
|
+
"title": "fractionTick"
|
|
2448
|
+
}
|
|
2449
|
+
},
|
|
2450
|
+
"required": [
|
|
2451
|
+
"decimalTick",
|
|
2452
|
+
"fractionTick",
|
|
2453
|
+
"integerTick",
|
|
2454
|
+
"major",
|
|
2455
|
+
"minor",
|
|
2456
|
+
"tickIntervalType"
|
|
2457
|
+
]
|
|
2458
|
+
}
|
|
2459
|
+
},
|
|
2460
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2461
|
+
}
|