@pie-element/complex-rubric 2.3.4-next.10 → 2.3.4-next.12
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/module/configure.js +2 -3
- package/package.json +4 -4
package/module/configure.js
CHANGED
|
@@ -112705,7 +112705,7 @@ const require$$17$3 = _dll_pie_lib__pie_toolbox_config_ui;
|
|
|
112705
112705
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "onScaleAdded", function () {
|
|
112706
112706
|
var _scales$;
|
|
112707
112707
|
var _this$props = _this.props, model = _this$props.model, onModelChanged = _this$props.onModelChanged, configuration = _this$props.configuration;
|
|
112708
|
-
var _ref2 = model || ({}), scales = _ref2.scales;
|
|
112708
|
+
var _ref2 = model || ({}), scales = _ref2.scales, excludeZero = _ref2.excludeZero;
|
|
112709
112709
|
var _ref3 = configuration || ({}), maxNoOfScales = _ref3.maxNoOfScales;
|
|
112710
112710
|
var _ref4 = configuration || '', defaultTraitLabel = _ref4.defaultTraitLabel;
|
|
112711
112711
|
if (!scales.length) {
|
|
@@ -112720,9 +112720,8 @@ const require$$17$3 = _dll_pie_lib__pie_toolbox_config_ui;
|
|
|
112720
112720
|
return false;
|
|
112721
112721
|
}
|
|
112722
112722
|
scales.push({
|
|
112723
|
-
excludeZero: false,
|
|
112724
112723
|
maxPoints: 1,
|
|
112725
|
-
scorePointsLabels: ['', ''],
|
|
112724
|
+
scorePointsLabels: excludeZero ? [''] : ['', ''],
|
|
112726
112725
|
traitLabel: defaultTraitLabel,
|
|
112727
112726
|
traits: []
|
|
112728
112727
|
});
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/complex-rubric",
|
|
3
3
|
"repository": "pie-framework/pie-elements",
|
|
4
|
-
"version": "2.3.4-next.
|
|
4
|
+
"version": "2.3.4-next.12+e62dbb87e",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@material-ui/core": "^3.9.2",
|
|
10
|
-
"@pie-element/multi-trait-rubric": "^3.3.3-next.
|
|
11
|
-
"@pie-element/rubric": "^3.2.3-next.
|
|
10
|
+
"@pie-element/multi-trait-rubric": "^3.3.3-next.12+e62dbb87e",
|
|
11
|
+
"@pie-element/rubric": "^3.2.3-next.12+e62dbb87e",
|
|
12
12
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
13
13
|
"classnames": "^2.2.5",
|
|
14
14
|
"debug": "^4.1.1",
|
|
15
15
|
"lodash": "^4.17.11",
|
|
16
16
|
"prop-types": "^15.7.2"
|
|
17
17
|
},
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "e62dbb87e08405c6a456e60dc800c1067696ec39",
|
|
19
19
|
"scripts": {
|
|
20
20
|
"postpublish": "../../scripts/postpublish"
|
|
21
21
|
},
|