@pie-element/math-templated 3.4.1-next.5 → 3.4.1
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/package.json +2 -2
- package/controller/CHANGELOG.md +11 -0
- package/controller/package.json +2 -2
- package/module/configure.js +2 -2
- package/module/controller.js +8 -6
- package/module/element.js +14 -5
- package/module/manifest.json +2 -2
- package/module/print.js +14 -5
- 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
|
+
## [3.4.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/math-templated@3.4.0...@pie-element/math-templated@3.4.1) (2025-02-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update pie-lib/pie-toolbox PD-4753, PD-4618, PD-4641 ([f73f2be](https://github.com/pie-framework/pie-elements/commit/f73f2bec76321a677fff71e575d19c0f2e5b1d9c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.4.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/math-templated@3.3.8...@pie-element/math-templated@3.4.0) (2025-01-27)
|
|
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
|
+
## [2.3.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/math-templated-configure@2.3.0...@pie-element/math-templated-configure@2.3.1) (2025-02-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update pie-lib/pie-toolbox PD-4753, PD-4618, PD-4641 ([f73f2be](https://github.com/pie-framework/pie-elements/commit/f73f2bec76321a677fff71e575d19c0f2e5b1d9c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [2.3.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/math-templated-configure@2.2.8...@pie-element/math-templated-configure@2.3.0) (2025-01-27)
|
|
7
18
|
|
|
8
19
|
|
package/configure/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/math-templated-configure",
|
|
3
3
|
"private": true,
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.1",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "src/index.js",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@material-ui/core": "^3.9.2",
|
|
10
10
|
"@pie-framework/pie-configure-events": "^1.3.0",
|
|
11
|
-
"@pie-lib/pie-toolbox": "2.
|
|
11
|
+
"@pie-lib/pie-toolbox": "2.9.0",
|
|
12
12
|
"debug": "^3.1.0",
|
|
13
13
|
"lodash": "^4.17.15",
|
|
14
14
|
"prop-types": "^15.6.2",
|
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
|
+
## [3.1.12](https://github.com/pie-framework/pie-elements/compare/@pie-element/math-templated-controller@3.1.11...@pie-element/math-templated-controller@3.1.12) (2025-02-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update pie-lib/pie-toolbox PD-4753, PD-4618, PD-4641 ([f73f2be](https://github.com/pie-framework/pie-elements/commit/f73f2bec76321a677fff71e575d19c0f2e5b1d9c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [3.1.11](https://github.com/pie-framework/pie-elements/compare/@pie-element/math-templated-controller@3.1.10...@pie-element/math-templated-controller@3.1.11) (2025-01-27)
|
|
7
18
|
|
|
8
19
|
|
package/controller/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/math-templated-controller",
|
|
3
3
|
"private": true,
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.12",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "src/index.js",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@pie-framework/math-validation": "^1.2.3",
|
|
10
|
-
"@pie-lib/pie-toolbox": "2.
|
|
10
|
+
"@pie-lib/pie-toolbox": "2.9.0",
|
|
11
11
|
"debug": "^3.1.0",
|
|
12
12
|
"lodash": "^4.17.15"
|
|
13
13
|
},
|
package/module/configure.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.
|
|
2
|
-
import {_dll_pie_lib__pie_toolbox_config_ui, _dll_pie_lib__pie_toolbox_math_toolbar, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_editable_html} from "../../../@pie-lib/pie-toolbox-module@5.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.2.0/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__pie_toolbox_config_ui, _dll_pie_lib__pie_toolbox_math_toolbar, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_editable_html} from "../../../@pie-lib/pie-toolbox-module@5.9.0/module/index.js";
|
|
3
3
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
4
|
function getDefaultExportFromCjs(x) {
|
|
5
5
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
package/module/controller.js
CHANGED
|
@@ -3838,10 +3838,11 @@ var _default = {
|
|
|
3838
3838
|
primaryCorrectWithAlternates: 'Note: The answer shown above is the primary correct answer specified by the author for this item, but other answers may also be recognized as correct.'
|
|
3839
3839
|
},
|
|
3840
3840
|
multipleChoice: {
|
|
3841
|
-
|
|
3842
|
-
minSelections_other: 'This question requires at least {{minSelections}} answers.',
|
|
3841
|
+
minSelections: 'Select at least {{minSelections}}.',
|
|
3843
3842
|
maxSelections_one: 'Only {{maxSelections}} answer is allowed.',
|
|
3844
|
-
maxSelections_other: 'Only {{maxSelections}} answers are allowed.'
|
|
3843
|
+
maxSelections_other: 'Only {{maxSelections}} answers are allowed.',
|
|
3844
|
+
minmaxSelections_equal: 'Select {{minSelections}}.',
|
|
3845
|
+
minmaxSelections_range: 'Select between {{minSelections}} and {{maxSelections}}.'
|
|
3845
3846
|
},
|
|
3846
3847
|
selectText: {
|
|
3847
3848
|
correctAnswerSelected: 'Correct answer selected',
|
|
@@ -3934,10 +3935,11 @@ var _default = {
|
|
|
3934
3935
|
primaryCorrectWithAlternates: 'Nota: La respuesta que se muestra arriba es la respuesta correcta principal especificada por el autor para esta pregunta, pero también se pueden reconocer otras respuestas como correctas.'
|
|
3935
3936
|
},
|
|
3936
3937
|
multipleChoice: {
|
|
3937
|
-
|
|
3938
|
-
minSelections_other: 'Esta pregunta requiere al menos {{minSelections}} respuestas.',
|
|
3938
|
+
minSelections: 'Seleccione al menos {{minSelections}}.',
|
|
3939
3939
|
maxSelections_one: 'Sólo se permite {{maxSelections}} respuesta.',
|
|
3940
|
-
maxSelections_other: 'Sólo se permiten {{maxSelections}} respuestas.'
|
|
3940
|
+
maxSelections_other: 'Sólo se permiten {{maxSelections}} respuestas.',
|
|
3941
|
+
minmaxSelections_equal: 'Seleccione {{minSelections}}.',
|
|
3942
|
+
minmaxSelections_range: 'Seleccione entre {{minSelections}} y {{maxSelections}}.'
|
|
3941
3943
|
},
|
|
3942
3944
|
selectText: {
|
|
3943
3945
|
correctAnswerSelected: 'Respuesta correcta seleccionada',
|
package/module/element.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.
|
|
2
|
-
import {_dll_pie_lib__pie_toolbox_math_input, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@5.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.2.0/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__pie_toolbox_math_input, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@5.9.0/module/index.js";
|
|
3
3
|
function _mergeNamespaces(n, m) {
|
|
4
4
|
m.forEach(function (e) {
|
|
5
5
|
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
@@ -146277,6 +146277,9 @@ const require$$13$6 = _dll_react_dom;
|
|
|
146277
146277
|
'& img': {
|
|
146278
146278
|
display: 'block',
|
|
146279
146279
|
padding: '2px 0'
|
|
146280
|
+
},
|
|
146281
|
+
'& mjx-frac': {
|
|
146282
|
+
fontSize: '120% !important'
|
|
146280
146283
|
}
|
|
146281
146284
|
},
|
|
146282
146285
|
disabled: {
|
|
@@ -146557,6 +146560,9 @@ const require$$18$3 = _dll_classnames;
|
|
|
146557
146560
|
'& p': {
|
|
146558
146561
|
marginTop: '0',
|
|
146559
146562
|
marginBottom: '0'
|
|
146563
|
+
},
|
|
146564
|
+
'& mjx-frac': {
|
|
146565
|
+
fontSize: '120% !important'
|
|
146560
146566
|
}
|
|
146561
146567
|
},
|
|
146562
146568
|
hidden: {
|
|
@@ -175035,7 +175041,10 @@ const require$$16$1 = _dll_classnames;
|
|
|
175035
175041
|
var useStyles = (0, _styles.withStyles)(function (theme) {
|
|
175036
175042
|
return {
|
|
175037
175043
|
content: {
|
|
175038
|
-
border: ("solid 0px ").concat(theme.palette.primary.main)
|
|
175044
|
+
border: ("solid 0px ").concat(theme.palette.primary.main),
|
|
175045
|
+
'& mjx-frac': {
|
|
175046
|
+
fontSize: '120% !important'
|
|
175047
|
+
}
|
|
175039
175048
|
},
|
|
175040
175049
|
chip: {
|
|
175041
175050
|
minWidth: '90px'
|
|
@@ -179567,7 +179576,7 @@ const require$$21 = _dll_debug;
|
|
|
179567
179576
|
if (typeof v === 'string') {
|
|
179568
179577
|
if (v.endsWith('%')) {
|
|
179569
179578
|
return undefined;
|
|
179570
|
-
} else if (v.endsWith('px') || v.endsWith('vh') || v.endsWith('vw') || v.endsWith('ch') || v.match(calcRegex)) {
|
|
179579
|
+
} else if (v.endsWith('px') || v.endsWith('vh') || v.endsWith('vw') || v.endsWith('ch') || v.endsWith('em') || v.match(calcRegex)) {
|
|
179571
179580
|
return v;
|
|
179572
179581
|
} else {
|
|
179573
179582
|
var value = parseInt(v, 10);
|
|
@@ -180546,7 +180555,7 @@ const require$$6 = _dll_classnames;
|
|
|
180546
180555
|
language: 'spanish'
|
|
180547
180556
|
}],
|
|
180548
180557
|
spellCheck: spellCheck,
|
|
180549
|
-
width: ("calc(").concat(width, "
|
|
180558
|
+
width: ("calc(").concat(width, "em + 42px)"),
|
|
180550
180559
|
onKeyDown: handleKeyDown,
|
|
180551
180560
|
autoWidthToolbar: true,
|
|
180552
180561
|
toolbarOpts: {
|
package/module/manifest.json
CHANGED
package/module/print.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.
|
|
2
|
-
import {_dll_pie_lib__pie_toolbox_math_input, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@5.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.2.0/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__pie_toolbox_math_input, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@5.9.0/module/index.js";
|
|
3
3
|
function _mergeNamespaces(n, m) {
|
|
4
4
|
m.forEach(function (e) {
|
|
5
5
|
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
@@ -146240,6 +146240,9 @@ const require$$13$6 = _dll_react_dom;
|
|
|
146240
146240
|
'& img': {
|
|
146241
146241
|
display: 'block',
|
|
146242
146242
|
padding: '2px 0'
|
|
146243
|
+
},
|
|
146244
|
+
'& mjx-frac': {
|
|
146245
|
+
fontSize: '120% !important'
|
|
146243
146246
|
}
|
|
146244
146247
|
},
|
|
146245
146248
|
disabled: {
|
|
@@ -146520,6 +146523,9 @@ const require$$18$3 = _dll_classnames;
|
|
|
146520
146523
|
'& p': {
|
|
146521
146524
|
marginTop: '0',
|
|
146522
146525
|
marginBottom: '0'
|
|
146526
|
+
},
|
|
146527
|
+
'& mjx-frac': {
|
|
146528
|
+
fontSize: '120% !important'
|
|
146523
146529
|
}
|
|
146524
146530
|
},
|
|
146525
146531
|
hidden: {
|
|
@@ -174998,7 +175004,10 @@ const require$$16$1 = _dll_classnames;
|
|
|
174998
175004
|
var useStyles = (0, _styles.withStyles)(function (theme) {
|
|
174999
175005
|
return {
|
|
175000
175006
|
content: {
|
|
175001
|
-
border: ("solid 0px ").concat(theme.palette.primary.main)
|
|
175007
|
+
border: ("solid 0px ").concat(theme.palette.primary.main),
|
|
175008
|
+
'& mjx-frac': {
|
|
175009
|
+
fontSize: '120% !important'
|
|
175010
|
+
}
|
|
175002
175011
|
},
|
|
175003
175012
|
chip: {
|
|
175004
175013
|
minWidth: '90px'
|
|
@@ -179530,7 +179539,7 @@ const require$$21 = _dll_debug;
|
|
|
179530
179539
|
if (typeof v === 'string') {
|
|
179531
179540
|
if (v.endsWith('%')) {
|
|
179532
179541
|
return undefined;
|
|
179533
|
-
} else if (v.endsWith('px') || v.endsWith('vh') || v.endsWith('vw') || v.endsWith('ch') || v.match(calcRegex)) {
|
|
179542
|
+
} else if (v.endsWith('px') || v.endsWith('vh') || v.endsWith('vw') || v.endsWith('ch') || v.endsWith('em') || v.match(calcRegex)) {
|
|
179534
179543
|
return v;
|
|
179535
179544
|
} else {
|
|
179536
179545
|
var value = parseInt(v, 10);
|
|
@@ -180509,7 +180518,7 @@ const require$$6 = _dll_classnames;
|
|
|
180509
180518
|
language: 'spanish'
|
|
180510
180519
|
}],
|
|
180511
180520
|
spellCheck: spellCheck,
|
|
180512
|
-
width: ("calc(").concat(width, "
|
|
180521
|
+
width: ("calc(").concat(width, "em + 42px)"),
|
|
180513
180522
|
onKeyDown: handleKeyDown,
|
|
180514
180523
|
autoWidthToolbar: true,
|
|
180515
180524
|
toolbarOpts: {
|
package/package.json
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"repository": "pie-framework/pie-elements",
|
|
7
|
-
"version": "3.4.1
|
|
7
|
+
"version": "3.4.1",
|
|
8
8
|
"description": "",
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@material-ui/core": "^3.9.2",
|
|
11
11
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
12
|
-
"@pie-lib/pie-toolbox": "2.
|
|
12
|
+
"@pie-lib/pie-toolbox": "2.9.0",
|
|
13
13
|
"prop-types": "^15.6.1",
|
|
14
14
|
"react": "^16.8.1",
|
|
15
15
|
"react-dom": "^16.8.1"
|
|
16
16
|
},
|
|
17
17
|
"author": "",
|
|
18
18
|
"license": "ISC",
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "ebc70b9965c6e6ad3d608fec5dfe79b97dde72af",
|
|
20
20
|
"scripts": {
|
|
21
21
|
"postpublish": "../../scripts/postpublish"
|
|
22
22
|
},
|