@pie-element/hotspot 7.1.3-next.3 → 7.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.md +11 -0
- package/configure/CHANGELOG.md +11 -0
- package/configure/lib/defaults.js +13 -12
- package/configure/lib/defaults.js.map +1 -1
- package/configure/package.json +2 -2
- package/configure/src/defaults.js +10 -16
- package/controller/CHANGELOG.md +11 -0
- package/controller/lib/defaults.js +13 -12
- package/controller/lib/defaults.js.map +1 -1
- package/controller/package.json +2 -2
- package/controller/src/defaults.js +10 -16
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [7.1.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/hotspot@7.1.2...@pie-element/hotspot@7.1.3) (2024-10-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update pie-toolbox PD-4220, PD-4194, PD-4201, PD-4189, PD-4193, PD-4018, PD-4187 ([47b14fb](https://github.com/pie-framework/pie-elements/commit/47b14fbd80a04494511bc0ae44196b4e0175f0bb))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [7.1.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/hotspot@7.1.1...@pie-element/hotspot@7.1.2) (2024-10-15)
|
|
7
18
|
|
|
8
19
|
|
package/configure/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [7.0.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/hotspot-configure@7.0.4...@pie-element/hotspot-configure@7.0.5) (2024-10-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update pie-toolbox PD-4220, PD-4194, PD-4201, PD-4189, PD-4193, PD-4018, PD-4187 ([47b14fb](https://github.com/pie-framework/pie-elements/commit/47b14fbd80a04494511bc0ae44196b4e0175f0bb))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [7.0.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/hotspot-configure@7.0.3...@pie-element/hotspot-configure@7.0.4) (2024-10-15)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -6,29 +6,30 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _default = {
|
|
8
8
|
model: {
|
|
9
|
-
prompt: '',
|
|
10
|
-
toolbarEditorPosition: 'bottom',
|
|
11
|
-
imageUrl: '',
|
|
12
|
-
shapes: {
|
|
13
|
-
rectangles: [],
|
|
14
|
-
polygons: [],
|
|
15
|
-
circles: []
|
|
16
|
-
},
|
|
17
|
-
multipleCorrect: true,
|
|
18
|
-
partialScoring: false,
|
|
19
9
|
dimensions: {
|
|
20
10
|
height: 0,
|
|
21
11
|
width: 0
|
|
22
12
|
},
|
|
23
13
|
hotspotColor: 'rgba(137, 183, 244, 0.25)',
|
|
24
14
|
hotspotList: ['rgba(137, 183, 244, 0.25)'],
|
|
15
|
+
imageUrl: '',
|
|
16
|
+
multipleCorrect: true,
|
|
25
17
|
outlineColor: 'blue',
|
|
26
18
|
outlineList: ['blue'],
|
|
19
|
+
partialScoring: false,
|
|
20
|
+
prompt: '',
|
|
27
21
|
promptEnabled: true,
|
|
28
22
|
rationaleEnabled: true,
|
|
29
|
-
|
|
23
|
+
shapes: {
|
|
24
|
+
rectangles: [],
|
|
25
|
+
polygons: [],
|
|
26
|
+
circles: []
|
|
27
|
+
},
|
|
28
|
+
strokeWidth: 5,
|
|
30
29
|
studentInstructionsEnabled: true,
|
|
31
|
-
|
|
30
|
+
teacherInstructions: '',
|
|
31
|
+
teacherInstructionsEnabled: true,
|
|
32
|
+
toolbarEditorPosition: 'bottom'
|
|
32
33
|
},
|
|
33
34
|
configuration: {
|
|
34
35
|
baseInputConfiguration: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/defaults.js"],"names":["model","
|
|
1
|
+
{"version":3,"sources":["../src/defaults.js"],"names":["model","dimensions","height","width","hotspotColor","hotspotList","imageUrl","multipleCorrect","outlineColor","outlineList","partialScoring","prompt","promptEnabled","rationaleEnabled","shapes","rectangles","polygons","circles","strokeWidth","studentInstructionsEnabled","teacherInstructions","teacherInstructionsEnabled","toolbarEditorPosition","configuration","baseInputConfiguration","audio","disabled","video","image","settings","label","rationale","inputConfiguration","required","settingsPanelDisabled","spellCheck","enabled","preserveAspectRatio","minShapes","maxImageWidth","maxImageHeight","withRubric","mathMlOptions","mmlOutput","mmlEditing","language","languageChoices","options"],"mappings":";;;;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,UAAU,EAAE;AAAEC,MAAAA,MAAM,EAAE,CAAV;AAAaC,MAAAA,KAAK,EAAE;AAApB,KADP;AAELC,IAAAA,YAAY,EAAE,2BAFT;AAGLC,IAAAA,WAAW,EAAE,CAAC,2BAAD,CAHR;AAILC,IAAAA,QAAQ,EAAE,EAJL;AAKLC,IAAAA,eAAe,EAAE,IALZ;AAMLC,IAAAA,YAAY,EAAE,MANT;AAOLC,IAAAA,WAAW,EAAE,CAAC,MAAD,CAPR;AAQLC,IAAAA,cAAc,EAAE,KARX;AASLC,IAAAA,MAAM,EAAE,EATH;AAULC,IAAAA,aAAa,EAAE,IAVV;AAWLC,IAAAA,gBAAgB,EAAE,IAXb;AAYLC,IAAAA,MAAM,EAAE;AAAEC,MAAAA,UAAU,EAAE,EAAd;AAAkBC,MAAAA,QAAQ,EAAE,EAA5B;AAAg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AAEVC,MAAAA,KAAK,EAAE;AAFG,KAlEC;AAsEbY,IAAAA,aAAa,EAAE;AACbC,MAAAA,SAAS,EAAE,KADE;AAEbC,MAAAA,UAAU,EAAE;AAFC,KAtEF;AA0EbC,IAAAA,QAAQ,EAAE;AACRhB,MAAAA,QAAQ,EAAE,KADF;AAERC,MAAAA,KAAK,EAAE,kBAFC;AAGRM,MAAAA,OAAO,EAAE;AAHD,KA1EG;AA+EbU,IAAAA,eAAe,EAAE;AACfhB,MAAAA,KAAK,EAAE,kBADQ;AAEfiB,MAAAA,OAAO,EAAE;AAFM;AA/EJ;AApBF,C","sourcesContent":["export default {\n model: {\n dimensions: { height: 0, width: 0 },\n hotspotColor: 'rgba(137, 183, 244, 0.25)',\n hotspotList: ['rgba(137, 183, 244, 0.25)'],\n imageUrl: '',\n multipleCorrect: true,\n outlineColor: 'blue',\n outlineList: ['blue'],\n partialScoring: false,\n prompt: '',\n promptEnabled: true,\n rationaleEnabled: true,\n shapes: { rectangles: [], polygons: [], circles: [] },\n strokeWidth: 5,\n studentInstructionsEnabled: true,\n teacherInstructions: '',\n teacherInstructionsEnabled: true,\n toolbarEditorPosition: 'bottom',\n },\n configuration: {\n baseInputConfiguration: {\n audio: { disabled: false },\n video: { disabled: false },\n image: { disabled: false },\n },\n multipleCorrect: {\n settings: true,\n label: 'Multiple Correct Responses',\n },\n partialScoring: {\n settings: false,\n label: 'Allow Partial Scoring',\n },\n rationale: {\n settings: true,\n label: 'Rationale',\n inputConfiguration: {\n audio: { disabled: false },\n video: { disabled: false },\n image: { disabled: false },\n },\n required: false,\n },\n prompt: {\n settings: true,\n label: 'Prompt',\n inputConfiguration: {\n audio: { disabled: false },\n video: { disabled: false },\n image: { disabled: false },\n },\n required: false,\n },\n settingsPanelDisabled: false,\n spellCheck: {\n label: 'Spellcheck',\n settings: false,\n enabled: true,\n },\n teacherInstructions: {\n settings: true,\n label: 'Teacher Instructions',\n inputConfiguration: {\n audio: { disabled: false },\n video: { disabled: false },\n image: { disabled: false },\n },\n required: false,\n },\n preserveAspectRatio: {\n settings: false,\n enabled: true,\n label: 'Preserve aspect ratio',\n },\n minShapes: 2,\n maxImageWidth: {\n teacherInstructions: 300,\n prompt: 300,\n rationale: 300,\n },\n maxImageHeight: {\n teacherInstructions: 300,\n prompt: 300,\n rationale: 300,\n },\n withRubric: {\n settings: false,\n label: 'Add Rubric',\n },\n mathMlOptions: {\n mmlOutput: false,\n mmlEditing: false,\n },\n language: {\n settings: false,\n label: 'Specify Language',\n enabled: false,\n },\n languageChoices: {\n label: 'Language Choices',\n options: [],\n },\n },\n};\n"],"file":"defaults.js"}
|
package/configure/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/hotspot-configure",
|
|
3
3
|
"private": true,
|
|
4
|
-
"version": "7.0.
|
|
4
|
+
"version": "7.0.5",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "src/index.js",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"@material-ui/core": "^3.9.2",
|
|
11
11
|
"@material-ui/icons": "^3.0.2",
|
|
12
12
|
"@pie-framework/pie-configure-events": "^1.3.0",
|
|
13
|
-
"@pie-lib/pie-toolbox": "2.0.
|
|
13
|
+
"@pie-lib/pie-toolbox": "2.0.14",
|
|
14
14
|
"classnames": "^2.2.6",
|
|
15
15
|
"debug": "^3.1.0",
|
|
16
16
|
"konva": "^3.2.4",
|
|
@@ -1,28 +1,22 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
model: {
|
|
3
|
-
|
|
4
|
-
toolbarEditorPosition: 'bottom',
|
|
5
|
-
imageUrl: '',
|
|
6
|
-
shapes: {
|
|
7
|
-
rectangles: [],
|
|
8
|
-
polygons: [],
|
|
9
|
-
circles: [],
|
|
10
|
-
},
|
|
11
|
-
multipleCorrect: true,
|
|
12
|
-
partialScoring: false,
|
|
13
|
-
dimensions: {
|
|
14
|
-
height: 0,
|
|
15
|
-
width: 0,
|
|
16
|
-
},
|
|
3
|
+
dimensions: { height: 0, width: 0 },
|
|
17
4
|
hotspotColor: 'rgba(137, 183, 244, 0.25)',
|
|
18
5
|
hotspotList: ['rgba(137, 183, 244, 0.25)'],
|
|
6
|
+
imageUrl: '',
|
|
7
|
+
multipleCorrect: true,
|
|
19
8
|
outlineColor: 'blue',
|
|
20
9
|
outlineList: ['blue'],
|
|
10
|
+
partialScoring: false,
|
|
11
|
+
prompt: '',
|
|
21
12
|
promptEnabled: true,
|
|
22
13
|
rationaleEnabled: true,
|
|
23
|
-
|
|
24
|
-
studentInstructionsEnabled: true,
|
|
14
|
+
shapes: { rectangles: [], polygons: [], circles: [] },
|
|
25
15
|
strokeWidth: 5,
|
|
16
|
+
studentInstructionsEnabled: true,
|
|
17
|
+
teacherInstructions: '',
|
|
18
|
+
teacherInstructionsEnabled: true,
|
|
19
|
+
toolbarEditorPosition: 'bottom',
|
|
26
20
|
},
|
|
27
21
|
configuration: {
|
|
28
22
|
baseInputConfiguration: {
|
package/controller/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.0.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/hotspot-controller@5.0.5...@pie-element/hotspot-controller@5.0.6) (2024-10-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update pie-toolbox PD-4220, PD-4194, PD-4201, PD-4189, PD-4193, PD-4018, PD-4187 ([47b14fb](https://github.com/pie-framework/pie-elements/commit/47b14fbd80a04494511bc0ae44196b4e0175f0bb))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [5.0.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/hotspot-controller@5.0.4...@pie-element/hotspot-controller@5.0.5) (2024-10-15)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -5,29 +5,30 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _default = {
|
|
8
|
-
prompt: '',
|
|
9
|
-
toolbarEditorPosition: 'bottom',
|
|
10
|
-
imageUrl: '',
|
|
11
|
-
shapes: {
|
|
12
|
-
rectangles: [],
|
|
13
|
-
polygons: [],
|
|
14
|
-
circles: []
|
|
15
|
-
},
|
|
16
|
-
multipleCorrect: true,
|
|
17
|
-
partialScoring: false,
|
|
18
8
|
dimensions: {
|
|
19
9
|
height: 0,
|
|
20
10
|
width: 0
|
|
21
11
|
},
|
|
22
12
|
hotspotColor: 'rgba(137, 183, 244, 0.25)',
|
|
23
13
|
hotspotList: ['rgba(137, 183, 244, 0.25)'],
|
|
14
|
+
imageUrl: '',
|
|
15
|
+
multipleCorrect: true,
|
|
24
16
|
outlineColor: 'blue',
|
|
25
17
|
outlineList: ['blue'],
|
|
18
|
+
partialScoring: false,
|
|
19
|
+
prompt: '',
|
|
26
20
|
promptEnabled: true,
|
|
27
21
|
rationaleEnabled: true,
|
|
28
|
-
|
|
22
|
+
shapes: {
|
|
23
|
+
rectangles: [],
|
|
24
|
+
polygons: [],
|
|
25
|
+
circles: []
|
|
26
|
+
},
|
|
27
|
+
strokeWidth: 5,
|
|
29
28
|
studentInstructionsEnabled: true,
|
|
30
|
-
|
|
29
|
+
teacherInstructions: '',
|
|
30
|
+
teacherInstructionsEnabled: true,
|
|
31
|
+
toolbarEditorPosition: 'bottom'
|
|
31
32
|
};
|
|
32
33
|
exports["default"] = _default;
|
|
33
34
|
//# sourceMappingURL=defaults.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/defaults.js"],"names":["
|
|
1
|
+
{"version":3,"sources":["../src/defaults.js"],"names":["dimensions","height","width","hotspotColor","hotspotList","imageUrl","multipleCorrect","outlineColor","outlineList","partialScoring","prompt","promptEnabled","rationaleEnabled","shapes","rectangles","polygons","circles","strokeWidth","studentInstructionsEnabled","teacherInstructions","teacherInstructionsEnabled","toolbarEditorPosition"],"mappings":";;;;;;eAAe;AACbA,EAAAA,UAAU,EAAE;AAAEC,IAAAA,MAAM,EAAE,CAAV;AAAaC,IAAAA,KAAK,EAAE;AAApB,GADC;AAEbC,EAAAA,YAAY,EAAE,2BAFD;AAGbC,EAAAA,WAAW,EAAE,CAAC,2BAAD,CAHA;AAIbC,EAAAA,QAAQ,EAAE,EAJG;AAKbC,EAAAA,eAAe,EAAE,IALJ;AAMbC,EAAAA,YAAY,EAAE,MAND;AAObC,EAAAA,WAAW,EAAE,CAAC,MAAD,CAPA;AAQbC,EAAAA,cAAc,EAAE,KARH;AASbC,EAAAA,MAAM,EAAE,EATK;AAUbC,EAAAA,aAAa,EAAE,IAVF;AAWbC,EAAAA,gBAAgB,EAAE,IAXL;AAYbC,EAAAA,MAAM,EAAE;AAAEC,IAAAA,UAAU,EAAE,EAAd;AAAkBC,IAAAA,QAAQ,EAAE,EAA5B;AAAgCC,IAAAA,OAAO,EAAE;AAAzC,GAZK;AAabC,EAAAA,WAAW,EAAE,CAbA;AAcbC,EAAAA,0BAA0B,EAAE,IAdf;AAebC,EAAAA,mBAAmB,EAAE,EAfR;AAgBbC,EAAAA,0BAA0B,EAAE,IAhBf;AAiBbC,EAAAA,qBAAqB,EAAE;AAjBV,C","sourcesContent":["export default {\n dimensions: { height: 0, width: 0 },\n hotspotColor: 'rgba(137, 183, 244, 0.25)',\n hotspotList: ['rgba(137, 183, 244, 0.25)'],\n imageUrl: '',\n multipleCorrect: true,\n outlineColor: 'blue',\n outlineList: ['blue'],\n partialScoring: false,\n prompt: '',\n promptEnabled: true,\n rationaleEnabled: true,\n shapes: { rectangles: [], polygons: [], circles: [] },\n strokeWidth: 5,\n studentInstructionsEnabled: true,\n teacherInstructions: '',\n teacherInstructionsEnabled: true,\n toolbarEditorPosition: 'bottom',\n};\n"],"file":"defaults.js"}
|
package/controller/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/hotspot-controller",
|
|
3
3
|
"private": true,
|
|
4
|
-
"version": "5.0.
|
|
4
|
+
"version": "5.0.6",
|
|
5
5
|
"description": "",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"main": "lib/index.js",
|
|
12
12
|
"module": "src/index.js",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@pie-lib/pie-toolbox": "2.0.
|
|
14
|
+
"@pie-lib/pie-toolbox": "2.0.14",
|
|
15
15
|
"debug": "^4.1.1",
|
|
16
16
|
"lodash": "^4.17.15"
|
|
17
17
|
}
|
|
@@ -1,25 +1,19 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
|
|
3
|
-
toolbarEditorPosition: 'bottom',
|
|
4
|
-
imageUrl: '',
|
|
5
|
-
shapes: {
|
|
6
|
-
rectangles: [],
|
|
7
|
-
polygons: [],
|
|
8
|
-
circles: [],
|
|
9
|
-
},
|
|
10
|
-
multipleCorrect: true,
|
|
11
|
-
partialScoring: false,
|
|
12
|
-
dimensions: {
|
|
13
|
-
height: 0,
|
|
14
|
-
width: 0,
|
|
15
|
-
},
|
|
2
|
+
dimensions: { height: 0, width: 0 },
|
|
16
3
|
hotspotColor: 'rgba(137, 183, 244, 0.25)',
|
|
17
4
|
hotspotList: ['rgba(137, 183, 244, 0.25)'],
|
|
5
|
+
imageUrl: '',
|
|
6
|
+
multipleCorrect: true,
|
|
18
7
|
outlineColor: 'blue',
|
|
19
8
|
outlineList: ['blue'],
|
|
9
|
+
partialScoring: false,
|
|
10
|
+
prompt: '',
|
|
20
11
|
promptEnabled: true,
|
|
21
12
|
rationaleEnabled: true,
|
|
22
|
-
|
|
23
|
-
studentInstructionsEnabled: true,
|
|
13
|
+
shapes: { rectangles: [], polygons: [], circles: [] },
|
|
24
14
|
strokeWidth: 5,
|
|
15
|
+
studentInstructionsEnabled: true,
|
|
16
|
+
teacherInstructions: '',
|
|
17
|
+
teacherInstructionsEnabled: true,
|
|
18
|
+
toolbarEditorPosition: 'bottom',
|
|
25
19
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/hotspot",
|
|
3
|
-
"version": "7.1.3
|
|
3
|
+
"version": "7.1.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": "pie-framework/pie-elements",
|
|
6
6
|
"publishConfig": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@material-ui/core": "^3.9.3",
|
|
11
11
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
12
|
-
"@pie-lib/pie-toolbox": "2.0.
|
|
12
|
+
"@pie-lib/pie-toolbox": "2.0.14",
|
|
13
13
|
"konva": "^3.2.5",
|
|
14
14
|
"prop-types": "^15.6.1",
|
|
15
15
|
"react": "^16.8.1",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"author": "pie framework developers",
|
|
20
20
|
"license": "ISC",
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "e017f0f51cfcabb6300719a2fa2309277404ce01",
|
|
22
22
|
"scripts": {
|
|
23
23
|
"postpublish": "../../scripts/postpublish"
|
|
24
24
|
},
|