@pie-element/complex-rubric 2.3.2-next.2 → 2.3.2-next.8

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.
@@ -7,7 +7,7 @@
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
8
8
  },
9
9
  "dependencies": {
10
- "@pie-lib/pie-toolbox": "1.6.0",
10
+ "@pie-lib/pie-toolbox": "1.7.0",
11
11
  "lodash": "^4.17.15"
12
12
  },
13
13
  "author": "",
@@ -229634,7 +229634,7 @@ const require$$16 = _dll_classnames;
229634
229634
  }
229635
229635
  };
229636
229636
  })(function (_ref) {
229637
- var label = _ref.label, classes = _ref.classes, onChange = _ref.onChange, value = _ref.value, className = _ref.className, imageSupport = _ref.imageSupport, disableImageAlignmentButtons = _ref.disableImageAlignmentButtons, disabled = _ref.disabled, spellCheck = _ref.spellCheck, nonEmpty = _ref.nonEmpty, toolbarOpts = _ref.toolbarOpts, error = _ref.error, maxImageWidth = _ref.maxImageWidth, maxImageHeight = _ref.maxImageHeight, uploadSoundSupport = _ref.uploadSoundSupport, _ref$mathMlOptions = _ref.mathMlOptions, mathMlOptions = _ref$mathMlOptions === void 0 ? {} : _ref$mathMlOptions;
229637
+ var label = _ref.label, classes = _ref.classes, onChange = _ref.onChange, value = _ref.value, className = _ref.className, imageSupport = _ref.imageSupport, disableImageAlignmentButtons = _ref.disableImageAlignmentButtons, disabled = _ref.disabled, spellCheck = _ref.spellCheck, nonEmpty = _ref.nonEmpty, pluginOpts = _ref.pluginOpts, toolbarOpts = _ref.toolbarOpts, error = _ref.error, maxImageWidth = _ref.maxImageWidth, maxImageHeight = _ref.maxImageHeight, uploadSoundSupport = _ref.uploadSoundSupport, _ref$mathMlOptions = _ref.mathMlOptions, mathMlOptions = _ref$mathMlOptions === void 0 ? {} : _ref$mathMlOptions;
229638
229638
  var names = (0, _classnames["default"])(classes.labelContainer, className);
229639
229639
  return _react["default"].createElement(_renderUi.InputContainer, {
229640
229640
  label: label,
@@ -229650,6 +229650,7 @@ const require$$16 = _dll_classnames;
229650
229650
  imageSupport: imageSupport,
229651
229651
  disableImageAlignmentButtons: disableImageAlignmentButtons,
229652
229652
  className: classes.editor,
229653
+ pluginProps: pluginOpts || ({}),
229653
229654
  toolbarOpts: toolbarOpts,
229654
229655
  error: error,
229655
229656
  maxImageWidth: maxImageWidth,
@@ -229764,7 +229765,7 @@ const require$$16 = _dll_classnames;
229764
229765
  (0, _createClass2["default"])(ChoiceConfiguration, [{
229765
229766
  key: "render",
229766
229767
  value: function render() {
229767
- var _this$props5 = this.props, data = _this$props5.data, classes = _this$props5.classes, mode = _this$props5.mode, onDelete = _this$props5.onDelete, defaultFeedback = _this$props5.defaultFeedback, index = _this$props5.index, className = _this$props5.className, noLabels = _this$props5.noLabels, useLetterOrdering = _this$props5.useLetterOrdering, imageSupport = _this$props5.imageSupport, disableImageAlignmentButtons = _this$props5.disableImageAlignmentButtons, disabled = _this$props5.disabled, spellCheck = _this$props5.spellCheck, nonEmpty = _this$props5.nonEmpty, allowFeedBack = _this$props5.allowFeedBack, allowDelete = _this$props5.allowDelete, toolbarOpts = _this$props5.toolbarOpts, error = _this$props5.error, noCorrectAnswerError = _this$props5.noCorrectAnswerError, uploadSoundSupport = _this$props5.uploadSoundSupport, maxImageWidth = _this$props5.maxImageWidth, maxImageHeight = _this$props5.maxImageHeight, _this$props5$mathMlOp = _this$props5.mathMlOptions, mathMlOptions = _this$props5$mathMlOp === void 0 ? {} : _this$props5$mathMlOp;
229768
+ var _this$props5 = this.props, data = _this$props5.data, classes = _this$props5.classes, mode = _this$props5.mode, onDelete = _this$props5.onDelete, defaultFeedback = _this$props5.defaultFeedback, index = _this$props5.index, className = _this$props5.className, noLabels = _this$props5.noLabels, useLetterOrdering = _this$props5.useLetterOrdering, imageSupport = _this$props5.imageSupport, disableImageAlignmentButtons = _this$props5.disableImageAlignmentButtons, disabled = _this$props5.disabled, spellCheck = _this$props5.spellCheck, nonEmpty = _this$props5.nonEmpty, allowFeedBack = _this$props5.allowFeedBack, allowDelete = _this$props5.allowDelete, pluginOpts = _this$props5.pluginOpts, toolbarOpts = _this$props5.toolbarOpts, error = _this$props5.error, noCorrectAnswerError = _this$props5.noCorrectAnswerError, uploadSoundSupport = _this$props5.uploadSoundSupport, maxImageWidth = _this$props5.maxImageWidth, maxImageHeight = _this$props5.maxImageHeight, _this$props5$mathMlOp = _this$props5.mathMlOptions, mathMlOptions = _this$props5$mathMlOp === void 0 ? {} : _this$props5$mathMlOp;
229768
229769
  var InputToggle = mode === 'checkbox' ? _inputs.InputCheckbox : _inputs.InputRadio;
229769
229770
  var names = (0, _classnames["default"])(classes.choiceConfiguration, className);
229770
229771
  return _react["default"].createElement("div", {
@@ -229792,6 +229793,7 @@ const require$$16 = _dll_classnames;
229792
229793
  disabled: disabled,
229793
229794
  spellCheck: spellCheck,
229794
229795
  nonEmpty: nonEmpty,
229796
+ pluginOpts: pluginOpts,
229795
229797
  toolbarOpts: toolbarOpts,
229796
229798
  error: error,
229797
229799
  uploadSoundSupport: uploadSoundSupport,
@@ -229858,6 +229860,7 @@ const require$$16 = _dll_classnames;
229858
229860
  allowDelete: _propTypes["default"].bool,
229859
229861
  noCorrectAnswerError: _propTypes["default"].string,
229860
229862
  spellCheck: _propTypes["default"].bool,
229863
+ pluginOpts: _propTypes["default"].object,
229861
229864
  toolbarOpts: _propTypes["default"].object,
229862
229865
  uploadSoundSupport: _propTypes["default"].object,
229863
229866
  maxImageWidth: _propTypes["default"].number,
package/module/element.js CHANGED
@@ -227882,7 +227882,7 @@ const require$$16 = _dll_classnames;
227882
227882
  }
227883
227883
  };
227884
227884
  })(function (_ref) {
227885
- var label = _ref.label, classes = _ref.classes, onChange = _ref.onChange, value = _ref.value, className = _ref.className, imageSupport = _ref.imageSupport, disableImageAlignmentButtons = _ref.disableImageAlignmentButtons, disabled = _ref.disabled, spellCheck = _ref.spellCheck, nonEmpty = _ref.nonEmpty, toolbarOpts = _ref.toolbarOpts, error = _ref.error, maxImageWidth = _ref.maxImageWidth, maxImageHeight = _ref.maxImageHeight, uploadSoundSupport = _ref.uploadSoundSupport, _ref$mathMlOptions = _ref.mathMlOptions, mathMlOptions = _ref$mathMlOptions === void 0 ? {} : _ref$mathMlOptions;
227885
+ var label = _ref.label, classes = _ref.classes, onChange = _ref.onChange, value = _ref.value, className = _ref.className, imageSupport = _ref.imageSupport, disableImageAlignmentButtons = _ref.disableImageAlignmentButtons, disabled = _ref.disabled, spellCheck = _ref.spellCheck, nonEmpty = _ref.nonEmpty, pluginOpts = _ref.pluginOpts, toolbarOpts = _ref.toolbarOpts, error = _ref.error, maxImageWidth = _ref.maxImageWidth, maxImageHeight = _ref.maxImageHeight, uploadSoundSupport = _ref.uploadSoundSupport, _ref$mathMlOptions = _ref.mathMlOptions, mathMlOptions = _ref$mathMlOptions === void 0 ? {} : _ref$mathMlOptions;
227886
227886
  var names = (0, _classnames["default"])(classes.labelContainer, className);
227887
227887
  return _react["default"].createElement(_renderUi.InputContainer, {
227888
227888
  label: label,
@@ -227898,6 +227898,7 @@ const require$$16 = _dll_classnames;
227898
227898
  imageSupport: imageSupport,
227899
227899
  disableImageAlignmentButtons: disableImageAlignmentButtons,
227900
227900
  className: classes.editor,
227901
+ pluginProps: pluginOpts || ({}),
227901
227902
  toolbarOpts: toolbarOpts,
227902
227903
  error: error,
227903
227904
  maxImageWidth: maxImageWidth,
@@ -228012,7 +228013,7 @@ const require$$16 = _dll_classnames;
228012
228013
  (0, _createClass2["default"])(ChoiceConfiguration, [{
228013
228014
  key: "render",
228014
228015
  value: function render() {
228015
- var _this$props5 = this.props, data = _this$props5.data, classes = _this$props5.classes, mode = _this$props5.mode, onDelete = _this$props5.onDelete, defaultFeedback = _this$props5.defaultFeedback, index = _this$props5.index, className = _this$props5.className, noLabels = _this$props5.noLabels, useLetterOrdering = _this$props5.useLetterOrdering, imageSupport = _this$props5.imageSupport, disableImageAlignmentButtons = _this$props5.disableImageAlignmentButtons, disabled = _this$props5.disabled, spellCheck = _this$props5.spellCheck, nonEmpty = _this$props5.nonEmpty, allowFeedBack = _this$props5.allowFeedBack, allowDelete = _this$props5.allowDelete, toolbarOpts = _this$props5.toolbarOpts, error = _this$props5.error, noCorrectAnswerError = _this$props5.noCorrectAnswerError, uploadSoundSupport = _this$props5.uploadSoundSupport, maxImageWidth = _this$props5.maxImageWidth, maxImageHeight = _this$props5.maxImageHeight, _this$props5$mathMlOp = _this$props5.mathMlOptions, mathMlOptions = _this$props5$mathMlOp === void 0 ? {} : _this$props5$mathMlOp;
228016
+ var _this$props5 = this.props, data = _this$props5.data, classes = _this$props5.classes, mode = _this$props5.mode, onDelete = _this$props5.onDelete, defaultFeedback = _this$props5.defaultFeedback, index = _this$props5.index, className = _this$props5.className, noLabels = _this$props5.noLabels, useLetterOrdering = _this$props5.useLetterOrdering, imageSupport = _this$props5.imageSupport, disableImageAlignmentButtons = _this$props5.disableImageAlignmentButtons, disabled = _this$props5.disabled, spellCheck = _this$props5.spellCheck, nonEmpty = _this$props5.nonEmpty, allowFeedBack = _this$props5.allowFeedBack, allowDelete = _this$props5.allowDelete, pluginOpts = _this$props5.pluginOpts, toolbarOpts = _this$props5.toolbarOpts, error = _this$props5.error, noCorrectAnswerError = _this$props5.noCorrectAnswerError, uploadSoundSupport = _this$props5.uploadSoundSupport, maxImageWidth = _this$props5.maxImageWidth, maxImageHeight = _this$props5.maxImageHeight, _this$props5$mathMlOp = _this$props5.mathMlOptions, mathMlOptions = _this$props5$mathMlOp === void 0 ? {} : _this$props5$mathMlOp;
228016
228017
  var InputToggle = mode === 'checkbox' ? _inputs.InputCheckbox : _inputs.InputRadio;
228017
228018
  var names = (0, _classnames["default"])(classes.choiceConfiguration, className);
228018
228019
  return _react["default"].createElement("div", {
@@ -228040,6 +228041,7 @@ const require$$16 = _dll_classnames;
228040
228041
  disabled: disabled,
228041
228042
  spellCheck: spellCheck,
228042
228043
  nonEmpty: nonEmpty,
228044
+ pluginOpts: pluginOpts,
228043
228045
  toolbarOpts: toolbarOpts,
228044
228046
  error: error,
228045
228047
  uploadSoundSupport: uploadSoundSupport,
@@ -228106,6 +228108,7 @@ const require$$16 = _dll_classnames;
228106
228108
  allowDelete: _propTypes["default"].bool,
228107
228109
  noCorrectAnswerError: _propTypes["default"].string,
228108
228110
  spellCheck: _propTypes["default"].bool,
228111
+ pluginOpts: _propTypes["default"].object,
228109
228112
  toolbarOpts: _propTypes["default"].object,
228110
228113
  uploadSoundSupport: _propTypes["default"].object,
228111
228114
  maxImageWidth: _propTypes["default"].number,
package/module/print.js CHANGED
@@ -227882,7 +227882,7 @@ const require$$16 = _dll_classnames;
227882
227882
  }
227883
227883
  };
227884
227884
  })(function (_ref) {
227885
- var label = _ref.label, classes = _ref.classes, onChange = _ref.onChange, value = _ref.value, className = _ref.className, imageSupport = _ref.imageSupport, disableImageAlignmentButtons = _ref.disableImageAlignmentButtons, disabled = _ref.disabled, spellCheck = _ref.spellCheck, nonEmpty = _ref.nonEmpty, toolbarOpts = _ref.toolbarOpts, error = _ref.error, maxImageWidth = _ref.maxImageWidth, maxImageHeight = _ref.maxImageHeight, uploadSoundSupport = _ref.uploadSoundSupport, _ref$mathMlOptions = _ref.mathMlOptions, mathMlOptions = _ref$mathMlOptions === void 0 ? {} : _ref$mathMlOptions;
227885
+ var label = _ref.label, classes = _ref.classes, onChange = _ref.onChange, value = _ref.value, className = _ref.className, imageSupport = _ref.imageSupport, disableImageAlignmentButtons = _ref.disableImageAlignmentButtons, disabled = _ref.disabled, spellCheck = _ref.spellCheck, nonEmpty = _ref.nonEmpty, pluginOpts = _ref.pluginOpts, toolbarOpts = _ref.toolbarOpts, error = _ref.error, maxImageWidth = _ref.maxImageWidth, maxImageHeight = _ref.maxImageHeight, uploadSoundSupport = _ref.uploadSoundSupport, _ref$mathMlOptions = _ref.mathMlOptions, mathMlOptions = _ref$mathMlOptions === void 0 ? {} : _ref$mathMlOptions;
227886
227886
  var names = (0, _classnames["default"])(classes.labelContainer, className);
227887
227887
  return _react["default"].createElement(_renderUi.InputContainer, {
227888
227888
  label: label,
@@ -227898,6 +227898,7 @@ const require$$16 = _dll_classnames;
227898
227898
  imageSupport: imageSupport,
227899
227899
  disableImageAlignmentButtons: disableImageAlignmentButtons,
227900
227900
  className: classes.editor,
227901
+ pluginProps: pluginOpts || ({}),
227901
227902
  toolbarOpts: toolbarOpts,
227902
227903
  error: error,
227903
227904
  maxImageWidth: maxImageWidth,
@@ -228012,7 +228013,7 @@ const require$$16 = _dll_classnames;
228012
228013
  (0, _createClass2["default"])(ChoiceConfiguration, [{
228013
228014
  key: "render",
228014
228015
  value: function render() {
228015
- var _this$props5 = this.props, data = _this$props5.data, classes = _this$props5.classes, mode = _this$props5.mode, onDelete = _this$props5.onDelete, defaultFeedback = _this$props5.defaultFeedback, index = _this$props5.index, className = _this$props5.className, noLabels = _this$props5.noLabels, useLetterOrdering = _this$props5.useLetterOrdering, imageSupport = _this$props5.imageSupport, disableImageAlignmentButtons = _this$props5.disableImageAlignmentButtons, disabled = _this$props5.disabled, spellCheck = _this$props5.spellCheck, nonEmpty = _this$props5.nonEmpty, allowFeedBack = _this$props5.allowFeedBack, allowDelete = _this$props5.allowDelete, toolbarOpts = _this$props5.toolbarOpts, error = _this$props5.error, noCorrectAnswerError = _this$props5.noCorrectAnswerError, uploadSoundSupport = _this$props5.uploadSoundSupport, maxImageWidth = _this$props5.maxImageWidth, maxImageHeight = _this$props5.maxImageHeight, _this$props5$mathMlOp = _this$props5.mathMlOptions, mathMlOptions = _this$props5$mathMlOp === void 0 ? {} : _this$props5$mathMlOp;
228016
+ var _this$props5 = this.props, data = _this$props5.data, classes = _this$props5.classes, mode = _this$props5.mode, onDelete = _this$props5.onDelete, defaultFeedback = _this$props5.defaultFeedback, index = _this$props5.index, className = _this$props5.className, noLabels = _this$props5.noLabels, useLetterOrdering = _this$props5.useLetterOrdering, imageSupport = _this$props5.imageSupport, disableImageAlignmentButtons = _this$props5.disableImageAlignmentButtons, disabled = _this$props5.disabled, spellCheck = _this$props5.spellCheck, nonEmpty = _this$props5.nonEmpty, allowFeedBack = _this$props5.allowFeedBack, allowDelete = _this$props5.allowDelete, pluginOpts = _this$props5.pluginOpts, toolbarOpts = _this$props5.toolbarOpts, error = _this$props5.error, noCorrectAnswerError = _this$props5.noCorrectAnswerError, uploadSoundSupport = _this$props5.uploadSoundSupport, maxImageWidth = _this$props5.maxImageWidth, maxImageHeight = _this$props5.maxImageHeight, _this$props5$mathMlOp = _this$props5.mathMlOptions, mathMlOptions = _this$props5$mathMlOp === void 0 ? {} : _this$props5$mathMlOp;
228016
228017
  var InputToggle = mode === 'checkbox' ? _inputs.InputCheckbox : _inputs.InputRadio;
228017
228018
  var names = (0, _classnames["default"])(classes.choiceConfiguration, className);
228018
228019
  return _react["default"].createElement("div", {
@@ -228040,6 +228041,7 @@ const require$$16 = _dll_classnames;
228040
228041
  disabled: disabled,
228041
228042
  spellCheck: spellCheck,
228042
228043
  nonEmpty: nonEmpty,
228044
+ pluginOpts: pluginOpts,
228043
228045
  toolbarOpts: toolbarOpts,
228044
228046
  error: error,
228045
228047
  uploadSoundSupport: uploadSoundSupport,
@@ -228106,6 +228108,7 @@ const require$$16 = _dll_classnames;
228106
228108
  allowDelete: _propTypes["default"].bool,
228107
228109
  noCorrectAnswerError: _propTypes["default"].string,
228108
228110
  spellCheck: _propTypes["default"].bool,
228111
+ pluginOpts: _propTypes["default"].object,
228109
228112
  toolbarOpts: _propTypes["default"].object,
228110
228113
  uploadSoundSupport: _propTypes["default"].object,
228111
228114
  maxImageWidth: _propTypes["default"].number,
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.2-next.2+efde27a11",
4
+ "version": "2.3.2-next.8+996c55d23",
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.1-next.19+efde27a11",
11
- "@pie-element/rubric": "^3.2.1-next.19+efde27a11",
10
+ "@pie-element/multi-trait-rubric": "^3.3.1-next.25+996c55d23",
11
+ "@pie-element/rubric": "^3.2.1-next.25+996c55d23",
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": "efde27a11b960b26ebc53dd422f3f6f7d6e5aac5",
18
+ "gitHead": "996c55d238af06a6c2b3b7011ecc2ebcf7983519",
19
19
  "scripts": {
20
20
  "postpublish": "../../scripts/postpublish"
21
21
  },