@pie-element/drawing-response 7.0.3 → 7.0.4-next.16
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/configure/package.json +1 -1
- package/docs/config-schema.json +25 -25
- package/docs/config-schema.json.md +29 -29
- package/docs/pie-schema.json +10 -10
- package/docs/pie-schema.json.md +12 -12
- package/package.json +3 -3
package/configure/package.json
CHANGED
package/docs/config-schema.json
CHANGED
|
@@ -7,6 +7,11 @@
|
|
|
7
7
|
"title": "ConfigurePropWithEnabled",
|
|
8
8
|
"type": "object",
|
|
9
9
|
"properties": {
|
|
10
|
+
"enabled": {
|
|
11
|
+
"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)",
|
|
12
|
+
"type": "boolean",
|
|
13
|
+
"title": "enabled"
|
|
14
|
+
},
|
|
10
15
|
"settings": {
|
|
11
16
|
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
12
17
|
"type": "boolean",
|
|
@@ -16,11 +21,6 @@
|
|
|
16
21
|
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
17
22
|
"type": "string",
|
|
18
23
|
"title": "label"
|
|
19
|
-
},
|
|
20
|
-
"enabled": {
|
|
21
|
-
"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)",
|
|
22
|
-
"type": "boolean",
|
|
23
|
-
"title": "enabled"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
},
|
|
@@ -139,6 +139,11 @@
|
|
|
139
139
|
"title": "ConfigureWithForceProp",
|
|
140
140
|
"type": "object",
|
|
141
141
|
"properties": {
|
|
142
|
+
"forceEnabled": {
|
|
143
|
+
"description": "Indicates the value for the toggle;\nif true:\n- this property will not be visible in Settings Panel (settings will become automatically false)\n- the model property afferent to it will become automatically false",
|
|
144
|
+
"type": "boolean",
|
|
145
|
+
"title": "forceEnabled"
|
|
146
|
+
},
|
|
142
147
|
"settings": {
|
|
143
148
|
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
144
149
|
"type": "boolean",
|
|
@@ -148,11 +153,6 @@
|
|
|
148
153
|
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
149
154
|
"type": "string",
|
|
150
155
|
"title": "label"
|
|
151
|
-
},
|
|
152
|
-
"forceEnabled": {
|
|
153
|
-
"description": "Indicates the value for the toggle;\nif true:\n- this property will not be visible in Settings Panel (settings will become automatically false)\n- the model property afferent to it will become automatically false",
|
|
154
|
-
"type": "boolean",
|
|
155
|
-
"title": "forceEnabled"
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
},
|
|
@@ -176,6 +176,11 @@
|
|
|
176
176
|
"title": "ConfigurePropWithEnabled",
|
|
177
177
|
"type": "object",
|
|
178
178
|
"properties": {
|
|
179
|
+
"enabled": {
|
|
180
|
+
"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)",
|
|
181
|
+
"type": "boolean",
|
|
182
|
+
"title": "enabled"
|
|
183
|
+
},
|
|
179
184
|
"settings": {
|
|
180
185
|
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
181
186
|
"type": "boolean",
|
|
@@ -185,11 +190,6 @@
|
|
|
185
190
|
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
186
191
|
"type": "string",
|
|
187
192
|
"title": "label"
|
|
188
|
-
},
|
|
189
|
-
"enabled": {
|
|
190
|
-
"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)",
|
|
191
|
-
"type": "boolean",
|
|
192
|
-
"title": "enabled"
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
},
|
|
@@ -300,6 +300,11 @@
|
|
|
300
300
|
"title": "ConfigurePropWithEnabled",
|
|
301
301
|
"type": "object",
|
|
302
302
|
"properties": {
|
|
303
|
+
"enabled": {
|
|
304
|
+
"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)",
|
|
305
|
+
"type": "boolean",
|
|
306
|
+
"title": "enabled"
|
|
307
|
+
},
|
|
303
308
|
"settings": {
|
|
304
309
|
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
305
310
|
"type": "boolean",
|
|
@@ -309,11 +314,6 @@
|
|
|
309
314
|
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
310
315
|
"type": "string",
|
|
311
316
|
"title": "label"
|
|
312
|
-
},
|
|
313
|
-
"enabled": {
|
|
314
|
-
"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)",
|
|
315
|
-
"type": "boolean",
|
|
316
|
-
"title": "enabled"
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
},
|
|
@@ -358,6 +358,11 @@
|
|
|
358
358
|
"title": "ConfigureWithForceProp",
|
|
359
359
|
"type": "object",
|
|
360
360
|
"properties": {
|
|
361
|
+
"forceEnabled": {
|
|
362
|
+
"description": "Indicates the value for the toggle;\nif true:\n- this property will not be visible in Settings Panel (settings will become automatically false)\n- the model property afferent to it will become automatically false",
|
|
363
|
+
"type": "boolean",
|
|
364
|
+
"title": "forceEnabled"
|
|
365
|
+
},
|
|
361
366
|
"settings": {
|
|
362
367
|
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
363
368
|
"type": "boolean",
|
|
@@ -367,11 +372,6 @@
|
|
|
367
372
|
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
368
373
|
"type": "string",
|
|
369
374
|
"title": "label"
|
|
370
|
-
},
|
|
371
|
-
"forceEnabled": {
|
|
372
|
-
"description": "Indicates the value for the toggle;\nif true:\n- this property will not be visible in Settings Panel (settings will become automatically false)\n- the model property afferent to it will become automatically false",
|
|
373
|
-
"type": "boolean",
|
|
374
|
-
"title": "forceEnabled"
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
},
|
|
@@ -6,6 +6,11 @@ The schema defines the following properties:
|
|
|
6
6
|
|
|
7
7
|
Properties of the `backgroundImage` object:
|
|
8
8
|
|
|
9
|
+
## `enabled` (boolean)
|
|
10
|
+
|
|
11
|
+
Indicates the value of the item if it affects config-ui
|
|
12
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
13
|
+
|
|
9
14
|
## `settings` (boolean)
|
|
10
15
|
|
|
11
16
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -14,11 +19,6 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
14
19
|
|
|
15
20
|
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
16
21
|
|
|
17
|
-
## `enabled` (boolean)
|
|
18
|
-
|
|
19
|
-
Indicates the value of the item if it affects config-ui
|
|
20
|
-
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
21
|
-
|
|
22
22
|
# `partialScoring` (object)
|
|
23
23
|
|
|
24
24
|
Properties of the `partialScoring` object:
|
|
@@ -107,6 +107,13 @@ Indicates the max dimension for images in rationale
|
|
|
107
107
|
|
|
108
108
|
Properties of the `withRubric` object:
|
|
109
109
|
|
|
110
|
+
## `forceEnabled` (boolean)
|
|
111
|
+
|
|
112
|
+
Indicates the value for the toggle;
|
|
113
|
+
if true:
|
|
114
|
+
- this property will not be visible in Settings Panel (settings will become automatically false)
|
|
115
|
+
- the model property afferent to it will become automatically false
|
|
116
|
+
|
|
110
117
|
## `settings` (boolean)
|
|
111
118
|
|
|
112
119
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -115,13 +122,6 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
115
122
|
|
|
116
123
|
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
117
124
|
|
|
118
|
-
## `forceEnabled` (boolean)
|
|
119
|
-
|
|
120
|
-
Indicates the value for the toggle;
|
|
121
|
-
if true:
|
|
122
|
-
- this property will not be visible in Settings Panel (settings will become automatically false)
|
|
123
|
-
- the model property afferent to it will become automatically false
|
|
124
|
-
|
|
125
125
|
# `mathMlOptions` (object)
|
|
126
126
|
|
|
127
127
|
Properties of the `mathMlOptions` object:
|
|
@@ -138,6 +138,11 @@ Indicates if mathML that's already in model should be editable
|
|
|
138
138
|
|
|
139
139
|
Properties of the `language` object:
|
|
140
140
|
|
|
141
|
+
## `enabled` (boolean)
|
|
142
|
+
|
|
143
|
+
Indicates the value of the item if it affects config-ui
|
|
144
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
145
|
+
|
|
141
146
|
## `settings` (boolean)
|
|
142
147
|
|
|
143
148
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -146,11 +151,6 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
146
151
|
|
|
147
152
|
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
148
153
|
|
|
149
|
-
## `enabled` (boolean)
|
|
150
|
-
|
|
151
|
-
Indicates the value of the item if it affects config-ui
|
|
152
|
-
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
153
|
-
|
|
154
154
|
# `languageChoices` (object)
|
|
155
155
|
|
|
156
156
|
Language choices configuration
|
|
@@ -236,6 +236,11 @@ The schema defines the following additional types:
|
|
|
236
236
|
|
|
237
237
|
Properties of the `ConfigurePropWithEnabled` object:
|
|
238
238
|
|
|
239
|
+
### `enabled` (boolean)
|
|
240
|
+
|
|
241
|
+
Indicates the value of the item if it affects config-ui
|
|
242
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
243
|
+
|
|
239
244
|
### `settings` (boolean)
|
|
240
245
|
|
|
241
246
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -244,11 +249,6 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
244
249
|
|
|
245
250
|
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
246
251
|
|
|
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
|
-
|
|
252
252
|
## `ConfigureProp` (object)
|
|
253
253
|
|
|
254
254
|
Properties of the `ConfigureProp` object:
|
|
@@ -281,6 +281,13 @@ Indicates the max dimension for images in rationale
|
|
|
281
281
|
|
|
282
282
|
Properties of the `ConfigureWithForceProp` object:
|
|
283
283
|
|
|
284
|
+
### `forceEnabled` (boolean)
|
|
285
|
+
|
|
286
|
+
Indicates the value for the toggle;
|
|
287
|
+
if true:
|
|
288
|
+
- this property will not be visible in Settings Panel (settings will become automatically false)
|
|
289
|
+
- the model property afferent to it will become automatically false
|
|
290
|
+
|
|
284
291
|
### `settings` (boolean)
|
|
285
292
|
|
|
286
293
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -289,13 +296,6 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
289
296
|
|
|
290
297
|
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
291
298
|
|
|
292
|
-
### `forceEnabled` (boolean)
|
|
293
|
-
|
|
294
|
-
Indicates the value for the toggle;
|
|
295
|
-
if true:
|
|
296
|
-
- this property will not be visible in Settings Panel (settings will become automatically false)
|
|
297
|
-
- the model property afferent to it will become automatically false
|
|
298
|
-
|
|
299
299
|
## `ConfigureMathMLProp` (object)
|
|
300
300
|
|
|
301
301
|
Properties of the `ConfigureMathMLProp` object:
|
package/docs/pie-schema.json
CHANGED
|
@@ -119,6 +119,11 @@
|
|
|
119
119
|
"title": "ConfigurePropWithEnabled",
|
|
120
120
|
"type": "object",
|
|
121
121
|
"properties": {
|
|
122
|
+
"enabled": {
|
|
123
|
+
"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)",
|
|
124
|
+
"type": "boolean",
|
|
125
|
+
"title": "enabled"
|
|
126
|
+
},
|
|
122
127
|
"settings": {
|
|
123
128
|
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
124
129
|
"type": "boolean",
|
|
@@ -128,11 +133,6 @@
|
|
|
128
133
|
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
129
134
|
"type": "string",
|
|
130
135
|
"title": "label"
|
|
131
|
-
},
|
|
132
|
-
"enabled": {
|
|
133
|
-
"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)",
|
|
134
|
-
"type": "boolean",
|
|
135
|
-
"title": "enabled"
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
},
|
|
@@ -177,6 +177,11 @@
|
|
|
177
177
|
"title": "ConfigureWithForceProp",
|
|
178
178
|
"type": "object",
|
|
179
179
|
"properties": {
|
|
180
|
+
"forceEnabled": {
|
|
181
|
+
"description": "Indicates the value for the toggle;\nif true:\n- this property will not be visible in Settings Panel (settings will become automatically false)\n- the model property afferent to it will become automatically false",
|
|
182
|
+
"type": "boolean",
|
|
183
|
+
"title": "forceEnabled"
|
|
184
|
+
},
|
|
180
185
|
"settings": {
|
|
181
186
|
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
182
187
|
"type": "boolean",
|
|
@@ -186,11 +191,6 @@
|
|
|
186
191
|
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
187
192
|
"type": "string",
|
|
188
193
|
"title": "label"
|
|
189
|
-
},
|
|
190
|
-
"forceEnabled": {
|
|
191
|
-
"description": "Indicates the value for the toggle;\nif true:\n- this property will not be visible in Settings Panel (settings will become automatically false)\n- the model property afferent to it will become automatically false",
|
|
192
|
-
"type": "boolean",
|
|
193
|
-
"title": "forceEnabled"
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
},
|
package/docs/pie-schema.json.md
CHANGED
|
@@ -92,6 +92,11 @@ The schema defines the following additional types:
|
|
|
92
92
|
|
|
93
93
|
Properties of the `ConfigurePropWithEnabled` object:
|
|
94
94
|
|
|
95
|
+
### `enabled` (boolean)
|
|
96
|
+
|
|
97
|
+
Indicates the value of the item if it affects config-ui
|
|
98
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
99
|
+
|
|
95
100
|
### `settings` (boolean)
|
|
96
101
|
|
|
97
102
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -100,11 +105,6 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
100
105
|
|
|
101
106
|
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
102
107
|
|
|
103
|
-
### `enabled` (boolean)
|
|
104
|
-
|
|
105
|
-
Indicates the value of the item if it affects config-ui
|
|
106
|
-
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
107
|
-
|
|
108
108
|
## `ConfigureProp` (object)
|
|
109
109
|
|
|
110
110
|
Properties of the `ConfigureProp` object:
|
|
@@ -137,6 +137,13 @@ Indicates the max dimension for images in rationale
|
|
|
137
137
|
|
|
138
138
|
Properties of the `ConfigureWithForceProp` object:
|
|
139
139
|
|
|
140
|
+
### `forceEnabled` (boolean)
|
|
141
|
+
|
|
142
|
+
Indicates the value for the toggle;
|
|
143
|
+
if true:
|
|
144
|
+
- this property will not be visible in Settings Panel (settings will become automatically false)
|
|
145
|
+
- the model property afferent to it will become automatically false
|
|
146
|
+
|
|
140
147
|
### `settings` (boolean)
|
|
141
148
|
|
|
142
149
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -145,13 +152,6 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
145
152
|
|
|
146
153
|
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
147
154
|
|
|
148
|
-
### `forceEnabled` (boolean)
|
|
149
|
-
|
|
150
|
-
Indicates the value for the toggle;
|
|
151
|
-
if true:
|
|
152
|
-
- this property will not be visible in Settings Panel (settings will become automatically false)
|
|
153
|
-
- the model property afferent to it will become automatically false
|
|
154
|
-
|
|
155
155
|
## `ConfigureMathMLProp` (object)
|
|
156
156
|
|
|
157
157
|
Properties of the `ConfigureMathMLProp` object:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/drawing-response",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.4-next.16+1d20148ed",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": "pie-framework/pie-elements",
|
|
6
6
|
"publishConfig": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@mdi/js": "^3.6.95",
|
|
12
12
|
"@mdi/react": "^1.1.1",
|
|
13
13
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
14
|
-
"@pie-lib/pie-toolbox": "1.
|
|
14
|
+
"@pie-lib/pie-toolbox": "1.2.0",
|
|
15
15
|
"classnames": "^2.2.6",
|
|
16
16
|
"enzyme-to-json": "^3.3.5",
|
|
17
17
|
"konva": "^3.4.1",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"author": "pie framework developers",
|
|
25
25
|
"license": "ISC",
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "1d20148ed6abb750252b3cf604080abe71af5194",
|
|
27
27
|
"scripts": {
|
|
28
28
|
"postpublish": "../../scripts/postpublish"
|
|
29
29
|
},
|