@pie-element/hotspot 4.8.4-next.876 → 4.8.4-next.882
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/docs/config-schema.json +133 -0
- package/docs/config-schema.json.md +105 -0
- package/docs/pie-schema.json +16 -0
- package/docs/pie-schema.json.md +12 -0
- package/package.json +2 -2
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Config Object for @pie-elements/hotspot",
|
|
3
|
+
"additionalProperties": false,
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"multipleCorrect": {
|
|
7
|
+
"title": "ConfigureProp",
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"settings": {
|
|
11
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
12
|
+
"type": "boolean",
|
|
13
|
+
"title": "settings"
|
|
14
|
+
},
|
|
15
|
+
"label": {
|
|
16
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"title": "label"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"partialScoring": {
|
|
23
|
+
"title": "ConfigureProp",
|
|
24
|
+
"type": "object",
|
|
25
|
+
"properties": {
|
|
26
|
+
"settings": {
|
|
27
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"title": "settings"
|
|
30
|
+
},
|
|
31
|
+
"label": {
|
|
32
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"title": "label"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"rationale": {
|
|
39
|
+
"title": "ConfigureProp",
|
|
40
|
+
"type": "object",
|
|
41
|
+
"properties": {
|
|
42
|
+
"settings": {
|
|
43
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
44
|
+
"type": "boolean",
|
|
45
|
+
"title": "settings"
|
|
46
|
+
},
|
|
47
|
+
"label": {
|
|
48
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
49
|
+
"type": "string",
|
|
50
|
+
"title": "label"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"spellCheck": {
|
|
55
|
+
"title": "ConfigureProp",
|
|
56
|
+
"type": "object",
|
|
57
|
+
"properties": {
|
|
58
|
+
"settings": {
|
|
59
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
60
|
+
"type": "boolean",
|
|
61
|
+
"title": "settings"
|
|
62
|
+
},
|
|
63
|
+
"label": {
|
|
64
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
65
|
+
"type": "string",
|
|
66
|
+
"title": "label"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"preserveAspectRatio": {
|
|
71
|
+
"title": "ConfigureProp",
|
|
72
|
+
"type": "object",
|
|
73
|
+
"properties": {
|
|
74
|
+
"settings": {
|
|
75
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
76
|
+
"type": "boolean",
|
|
77
|
+
"title": "settings"
|
|
78
|
+
},
|
|
79
|
+
"label": {
|
|
80
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
81
|
+
"type": "string",
|
|
82
|
+
"title": "label"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"minShapes": {
|
|
87
|
+
"description": "Minimum number of shapes",
|
|
88
|
+
"type": "number",
|
|
89
|
+
"title": "minShapes"
|
|
90
|
+
},
|
|
91
|
+
"maxShapes": {
|
|
92
|
+
"description": "Maximum number of shapes",
|
|
93
|
+
"type": "number",
|
|
94
|
+
"title": "maxShapes"
|
|
95
|
+
},
|
|
96
|
+
"maxSelections": {
|
|
97
|
+
"description": "Maximum number of selected shapes in correct answer",
|
|
98
|
+
"type": "number",
|
|
99
|
+
"title": "maxSelections"
|
|
100
|
+
},
|
|
101
|
+
"showPrompt": {
|
|
102
|
+
"description": "Determines whether prompt field will be displayed or not",
|
|
103
|
+
"default": true,
|
|
104
|
+
"type": "boolean",
|
|
105
|
+
"title": "showPrompt"
|
|
106
|
+
},
|
|
107
|
+
"promptLabel": {
|
|
108
|
+
"description": "The label for the item stem/prompt field",
|
|
109
|
+
"default": "Item Stemm",
|
|
110
|
+
"type": "string",
|
|
111
|
+
"title": "promptLabel"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"definitions": {
|
|
115
|
+
"ConfigureProp": {
|
|
116
|
+
"title": "ConfigureProp",
|
|
117
|
+
"type": "object",
|
|
118
|
+
"properties": {
|
|
119
|
+
"settings": {
|
|
120
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
121
|
+
"type": "boolean",
|
|
122
|
+
"title": "settings"
|
|
123
|
+
},
|
|
124
|
+
"label": {
|
|
125
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
126
|
+
"type": "string",
|
|
127
|
+
"title": "label"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
133
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
Config Object for @pie-elements/hotspot
|
|
2
|
+
|
|
3
|
+
The schema defines the following properties:
|
|
4
|
+
|
|
5
|
+
# `multipleCorrect` (object)
|
|
6
|
+
|
|
7
|
+
Properties of the `multipleCorrect` object:
|
|
8
|
+
|
|
9
|
+
## `settings` (boolean)
|
|
10
|
+
|
|
11
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
12
|
+
|
|
13
|
+
## `label` (string)
|
|
14
|
+
|
|
15
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
16
|
+
|
|
17
|
+
# `partialScoring` (object)
|
|
18
|
+
|
|
19
|
+
Properties of the `partialScoring` object:
|
|
20
|
+
|
|
21
|
+
## `settings` (boolean)
|
|
22
|
+
|
|
23
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
24
|
+
|
|
25
|
+
## `label` (string)
|
|
26
|
+
|
|
27
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
28
|
+
|
|
29
|
+
# `rationale` (object)
|
|
30
|
+
|
|
31
|
+
Properties of the `rationale` object:
|
|
32
|
+
|
|
33
|
+
## `settings` (boolean)
|
|
34
|
+
|
|
35
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
36
|
+
|
|
37
|
+
## `label` (string)
|
|
38
|
+
|
|
39
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
40
|
+
|
|
41
|
+
# `spellCheck` (object)
|
|
42
|
+
|
|
43
|
+
Properties of the `spellCheck` object:
|
|
44
|
+
|
|
45
|
+
## `settings` (boolean)
|
|
46
|
+
|
|
47
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
48
|
+
|
|
49
|
+
## `label` (string)
|
|
50
|
+
|
|
51
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
52
|
+
|
|
53
|
+
# `preserveAspectRatio` (object)
|
|
54
|
+
|
|
55
|
+
Properties of the `preserveAspectRatio` object:
|
|
56
|
+
|
|
57
|
+
## `settings` (boolean)
|
|
58
|
+
|
|
59
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
60
|
+
|
|
61
|
+
## `label` (string)
|
|
62
|
+
|
|
63
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
64
|
+
|
|
65
|
+
# `minShapes` (number)
|
|
66
|
+
|
|
67
|
+
Minimum number of shapes
|
|
68
|
+
|
|
69
|
+
# `maxShapes` (number)
|
|
70
|
+
|
|
71
|
+
Maximum number of shapes
|
|
72
|
+
|
|
73
|
+
# `maxSelections` (number)
|
|
74
|
+
|
|
75
|
+
Maximum number of selected shapes in correct answer
|
|
76
|
+
|
|
77
|
+
# `showPrompt` (boolean)
|
|
78
|
+
|
|
79
|
+
Determines whether prompt field will be displayed or not
|
|
80
|
+
|
|
81
|
+
Default: `true`
|
|
82
|
+
|
|
83
|
+
# `promptLabel` (string)
|
|
84
|
+
|
|
85
|
+
The label for the item stem/prompt field
|
|
86
|
+
|
|
87
|
+
Default: `"Item Stemm"`
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
# Sub Schemas
|
|
92
|
+
|
|
93
|
+
The schema defines the following additional types:
|
|
94
|
+
|
|
95
|
+
## `ConfigureProp` (object)
|
|
96
|
+
|
|
97
|
+
Properties of the `ConfigureProp` object:
|
|
98
|
+
|
|
99
|
+
### `settings` (boolean)
|
|
100
|
+
|
|
101
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
102
|
+
|
|
103
|
+
### `label` (string)
|
|
104
|
+
|
|
105
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
package/docs/pie-schema.json
CHANGED
|
@@ -250,6 +250,22 @@
|
|
|
250
250
|
"teacherInstructionsEnabled"
|
|
251
251
|
],
|
|
252
252
|
"definitions": {
|
|
253
|
+
"ConfigureProp": {
|
|
254
|
+
"title": "ConfigureProp",
|
|
255
|
+
"type": "object",
|
|
256
|
+
"properties": {
|
|
257
|
+
"settings": {
|
|
258
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
259
|
+
"type": "boolean",
|
|
260
|
+
"title": "settings"
|
|
261
|
+
},
|
|
262
|
+
"label": {
|
|
263
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
264
|
+
"type": "string",
|
|
265
|
+
"title": "label"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
},
|
|
253
269
|
"Shape": {
|
|
254
270
|
"title": "Shape",
|
|
255
271
|
"type": "object",
|
package/docs/pie-schema.json.md
CHANGED
|
@@ -175,6 +175,18 @@ The html Element tag name
|
|
|
175
175
|
|
|
176
176
|
The schema defines the following additional types:
|
|
177
177
|
|
|
178
|
+
## `ConfigureProp` (object)
|
|
179
|
+
|
|
180
|
+
Properties of the `ConfigureProp` object:
|
|
181
|
+
|
|
182
|
+
### `settings` (boolean)
|
|
183
|
+
|
|
184
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
185
|
+
|
|
186
|
+
### `label` (string)
|
|
187
|
+
|
|
188
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
189
|
+
|
|
178
190
|
## `Shape` (object)
|
|
179
191
|
|
|
180
192
|
Properties of the `Shape` object:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/hotspot",
|
|
3
|
-
"version": "4.8.4-next.
|
|
3
|
+
"version": "4.8.4-next.882+bb41bf1d8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": "pie-framework/pie-elements",
|
|
6
6
|
"publishConfig": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"author": "pie framework developers",
|
|
21
21
|
"license": "ISC",
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "bb41bf1d814ea45d69faf3ee87798c9676a9df9b",
|
|
23
23
|
"scripts": {
|
|
24
24
|
"postpublish": "../../scripts/postpublish"
|
|
25
25
|
},
|