@pie-element/explicit-constructed-response 7.1.5-next.13 → 7.1.5-next.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.
@@ -24792,7 +24792,6 @@ function model(question, session, env) {
24792
24792
  responseCorrect: env.mode === 'evaluate' ? getScore(normalizedQuestion, session) === 1 : undefined,
24793
24793
  showNote,
24794
24794
  teacherInstructions: defaults.teacherInstructions,
24795
- responseAreaInputConfiguration: normalizedQuestion.responseAreaInputConfiguration
24796
24795
  };
24797
24796
 
24798
24797
  if (env.role === 'instructor' && (env.mode === 'view' || env.mode === 'evaluate')) {
package/module/element.js CHANGED
@@ -1,5 +1,5 @@
1
- import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_react_dom, _dll_classnames, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@2.0.14/module/index.js";
2
- import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.0.13/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_react_dom, _dll_classnames, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@2.0.13/module/index.js";
2
+ import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.0.12/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;
@@ -84657,8 +84657,7 @@ class Main extends React$1.Component {
84657
84657
  role: PropTypes.string,
84658
84658
  showNote: PropTypes.bool,
84659
84659
  teacherInstructions: PropTypes.string,
84660
- value: PropTypes.object,
84661
- responseAreaInputConfiguration: PropTypes.object
84660
+ value: PropTypes.object
84662
84661
  };
84663
84662
  }
84664
84663
  static __initStatic2() {
@@ -84721,7 +84720,7 @@ class Main extends React$1.Component {
84721
84720
  }
84722
84721
  render() {
84723
84722
  const {showCorrectAnswer, value} = this.state;
84724
- const {alwaysShowCorrect, animationsDisabled, classes, mode, displayType, role, language, maxLengthPerChoice, maxLengthPerChoiceEnabled, note, playerSpellCheckEnabled, prompt, rationale, showNote, teacherInstructions, responseAreaInputConfiguration} = this.props;
84723
+ const {alwaysShowCorrect, animationsDisabled, classes, mode, displayType, role, language, maxLengthPerChoice, maxLengthPerChoiceEnabled, note, playerSpellCheckEnabled, prompt, rationale, showNote, teacherInstructions} = this.props;
84725
84724
  const displayNote = (showCorrectAnswer || mode === 'view' && role === 'instructor') && showNote && note;
84726
84725
  const mainClasses = classNames([classes.mainContainer, {
84727
84726
  [classes.noBorderColor]: alwaysShowCorrect
@@ -84732,7 +84731,7 @@ class Main extends React$1.Component {
84732
84731
  __self: this,
84733
84732
  __source: {
84734
84733
  fileName: _jsxFileName,
84735
- lineNumber: 126
84734
+ lineNumber: 124
84736
84735
  }
84737
84736
  });
84738
84737
  const rationaleDiv = React$1.createElement(PreviewPrompt, {
@@ -84740,7 +84739,7 @@ class Main extends React$1.Component {
84740
84739
  __self: this,
84741
84740
  __source: {
84742
84741
  fileName: _jsxFileName,
84743
- lineNumber: 129
84742
+ lineNumber: 127
84744
84743
  }
84745
84744
  });
84746
84745
  return React$1.createElement('div', {
@@ -84751,21 +84750,21 @@ class Main extends React$1.Component {
84751
84750
  __self: this,
84752
84751
  __source: {
84753
84752
  fileName: _jsxFileName,
84754
- lineNumber: 132
84753
+ lineNumber: 130
84755
84754
  }
84756
84755
  }, mode === 'gather' && React$1.createElement('h2', {
84757
84756
  className: classes.srOnly,
84758
84757
  __self: this,
84759
84758
  __source: {
84760
84759
  fileName: _jsxFileName,
84761
- lineNumber: 133
84760
+ lineNumber: 131
84762
84761
  }
84763
84762
  }, "Fill in the Blank Question"), teacherInstructions && hasText(teacherInstructions) && React$1.createElement('div', {
84764
84763
  className: classes.collapsible,
84765
84764
  __self: this,
84766
84765
  __source: {
84767
84766
  fileName: _jsxFileName,
84768
- lineNumber: 136
84767
+ lineNumber: 134
84769
84768
  }
84770
84769
  }, !animationsDisabled ? React$1.createElement(Collapsible, {
84771
84770
  labels: {
@@ -84775,14 +84774,14 @@ class Main extends React$1.Component {
84775
84774
  __self: this,
84776
84775
  __source: {
84777
84776
  fileName: _jsxFileName,
84778
- lineNumber: 138
84777
+ lineNumber: 136
84779
84778
  }
84780
84779
  }, teacherInstructionsDiv) : teacherInstructionsDiv), prompt && React$1.createElement(PreviewPrompt, {
84781
84780
  prompt: prompt,
84782
84781
  __self: this,
84783
84782
  __source: {
84784
84783
  fileName: _jsxFileName,
84785
- lineNumber: 147
84784
+ lineNumber: 145
84786
84785
  }
84787
84786
  }), !alwaysShowCorrect && React$1.createElement(CorrectAnswerToggle, {
84788
84787
  show: mode === 'evaluate',
@@ -84792,7 +84791,7 @@ class Main extends React$1.Component {
84792
84791
  __self: this,
84793
84792
  __source: {
84794
84793
  fileName: _jsxFileName,
84795
- lineNumber: 150
84794
+ lineNumber: 148
84796
84795
  }
84797
84796
  }), React$1.createElement(maskMarkup$1.ConstructedResponse, {
84798
84797
  ...this.props,
@@ -84802,11 +84801,10 @@ class Main extends React$1.Component {
84802
84801
  maxLength: maxLengthPerChoice,
84803
84802
  adjustedLimit: maxLengthPerChoiceEnabled,
84804
84803
  spellCheck: playerSpellCheckEnabled,
84805
- pluginProps: responseAreaInputConfiguration,
84806
84804
  __self: this,
84807
84805
  __source: {
84808
84806
  fileName: _jsxFileName,
84809
- lineNumber: 158
84807
+ lineNumber: 156
84810
84808
  }
84811
84809
  }), displayNote && React$1.createElement('div', {
84812
84810
  className: classNames(classes.note, 'note'),
@@ -84816,14 +84814,14 @@ class Main extends React$1.Component {
84816
84814
  __self: this,
84817
84815
  __source: {
84818
84816
  fileName: _jsxFileName,
84819
- lineNumber: 169
84817
+ lineNumber: 166
84820
84818
  }
84821
84819
  }), rationale && hasText(rationale) && React$1.createElement('div', {
84822
84820
  className: classes.collapsible,
84823
84821
  __self: this,
84824
84822
  __source: {
84825
84823
  fileName: _jsxFileName,
84826
- lineNumber: 172
84824
+ lineNumber: 169
84827
84825
  }
84828
84826
  }, !animationsDisabled ? React$1.createElement(Collapsible, {
84829
84827
  labels: {
@@ -84833,7 +84831,7 @@ class Main extends React$1.Component {
84833
84831
  __self: this,
84834
84832
  __source: {
84835
84833
  fileName: _jsxFileName,
84836
- lineNumber: 174
84834
+ lineNumber: 171
84837
84835
  }
84838
84836
  }, rationaleDiv) : rationaleDiv));
84839
84837
  }
@@ -84923,8 +84921,7 @@ class InlineDropdown extends HTMLElement {
84923
84921
  role: this._model.role,
84924
84922
  showNote: this._model.showNote,
84925
84923
  teacherInstructions: this._model.teacherInstructions,
84926
- value: this._session.value,
84927
- responseAreaInputConfiguration: this._model.responseAreaInputConfiguration
84924
+ value: this._session.value
84928
84925
  });
84929
84926
  ReactDOM.render(elem, this, () => {
84930
84927
  renderMath(this);
@@ -4,11 +4,11 @@
4
4
  "modules": [
5
5
  {
6
6
  "name": "@pie-lib/pie-toolbox-math-rendering-module",
7
- "version": "2.0.14"
7
+ "version": "2.0.13"
8
8
  },
9
9
  {
10
10
  "name": "@pie-lib/pie-toolbox-module",
11
- "version": "5.0.13"
11
+ "version": "5.0.12"
12
12
  }
13
13
  ]
14
14
  }
package/module/print.js CHANGED
@@ -1,5 +1,5 @@
1
- import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_react_dom, _dll_classnames, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@2.0.14/module/index.js";
2
- import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.0.13/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_react_dom, _dll_classnames, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@2.0.13/module/index.js";
2
+ import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.0.12/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;
@@ -84620,8 +84620,7 @@ class Main extends React$1.Component {
84620
84620
  role: PropTypes.string,
84621
84621
  showNote: PropTypes.bool,
84622
84622
  teacherInstructions: PropTypes.string,
84623
- value: PropTypes.object,
84624
- responseAreaInputConfiguration: PropTypes.object
84623
+ value: PropTypes.object
84625
84624
  };
84626
84625
  }
84627
84626
  static __initStatic2() {
@@ -84684,7 +84683,7 @@ class Main extends React$1.Component {
84684
84683
  }
84685
84684
  render() {
84686
84685
  const {showCorrectAnswer, value} = this.state;
84687
- const {alwaysShowCorrect, animationsDisabled, classes, mode, displayType, role, language, maxLengthPerChoice, maxLengthPerChoiceEnabled, note, playerSpellCheckEnabled, prompt, rationale, showNote, teacherInstructions, responseAreaInputConfiguration} = this.props;
84686
+ const {alwaysShowCorrect, animationsDisabled, classes, mode, displayType, role, language, maxLengthPerChoice, maxLengthPerChoiceEnabled, note, playerSpellCheckEnabled, prompt, rationale, showNote, teacherInstructions} = this.props;
84688
84687
  const displayNote = (showCorrectAnswer || mode === 'view' && role === 'instructor') && showNote && note;
84689
84688
  const mainClasses = classNames([classes.mainContainer, {
84690
84689
  [classes.noBorderColor]: alwaysShowCorrect
@@ -84695,7 +84694,7 @@ class Main extends React$1.Component {
84695
84694
  __self: this,
84696
84695
  __source: {
84697
84696
  fileName: _jsxFileName,
84698
- lineNumber: 126
84697
+ lineNumber: 124
84699
84698
  }
84700
84699
  });
84701
84700
  const rationaleDiv = React$1.createElement(PreviewPrompt, {
@@ -84703,7 +84702,7 @@ class Main extends React$1.Component {
84703
84702
  __self: this,
84704
84703
  __source: {
84705
84704
  fileName: _jsxFileName,
84706
- lineNumber: 129
84705
+ lineNumber: 127
84707
84706
  }
84708
84707
  });
84709
84708
  return React$1.createElement('div', {
@@ -84714,21 +84713,21 @@ class Main extends React$1.Component {
84714
84713
  __self: this,
84715
84714
  __source: {
84716
84715
  fileName: _jsxFileName,
84717
- lineNumber: 132
84716
+ lineNumber: 130
84718
84717
  }
84719
84718
  }, mode === 'gather' && React$1.createElement('h2', {
84720
84719
  className: classes.srOnly,
84721
84720
  __self: this,
84722
84721
  __source: {
84723
84722
  fileName: _jsxFileName,
84724
- lineNumber: 133
84723
+ lineNumber: 131
84725
84724
  }
84726
84725
  }, "Fill in the Blank Question"), teacherInstructions && hasText(teacherInstructions) && React$1.createElement('div', {
84727
84726
  className: classes.collapsible,
84728
84727
  __self: this,
84729
84728
  __source: {
84730
84729
  fileName: _jsxFileName,
84731
- lineNumber: 136
84730
+ lineNumber: 134
84732
84731
  }
84733
84732
  }, !animationsDisabled ? React$1.createElement(Collapsible, {
84734
84733
  labels: {
@@ -84738,14 +84737,14 @@ class Main extends React$1.Component {
84738
84737
  __self: this,
84739
84738
  __source: {
84740
84739
  fileName: _jsxFileName,
84741
- lineNumber: 138
84740
+ lineNumber: 136
84742
84741
  }
84743
84742
  }, teacherInstructionsDiv) : teacherInstructionsDiv), prompt && React$1.createElement(PreviewPrompt, {
84744
84743
  prompt: prompt,
84745
84744
  __self: this,
84746
84745
  __source: {
84747
84746
  fileName: _jsxFileName,
84748
- lineNumber: 147
84747
+ lineNumber: 145
84749
84748
  }
84750
84749
  }), !alwaysShowCorrect && React$1.createElement(CorrectAnswerToggle, {
84751
84750
  show: mode === 'evaluate',
@@ -84755,7 +84754,7 @@ class Main extends React$1.Component {
84755
84754
  __self: this,
84756
84755
  __source: {
84757
84756
  fileName: _jsxFileName,
84758
- lineNumber: 150
84757
+ lineNumber: 148
84759
84758
  }
84760
84759
  }), React$1.createElement(maskMarkup$1.ConstructedResponse, {
84761
84760
  ...this.props,
@@ -84765,11 +84764,10 @@ class Main extends React$1.Component {
84765
84764
  maxLength: maxLengthPerChoice,
84766
84765
  adjustedLimit: maxLengthPerChoiceEnabled,
84767
84766
  spellCheck: playerSpellCheckEnabled,
84768
- pluginProps: responseAreaInputConfiguration,
84769
84767
  __self: this,
84770
84768
  __source: {
84771
84769
  fileName: _jsxFileName,
84772
- lineNumber: 158
84770
+ lineNumber: 156
84773
84771
  }
84774
84772
  }), displayNote && React$1.createElement('div', {
84775
84773
  className: classNames(classes.note, 'note'),
@@ -84779,14 +84777,14 @@ class Main extends React$1.Component {
84779
84777
  __self: this,
84780
84778
  __source: {
84781
84779
  fileName: _jsxFileName,
84782
- lineNumber: 169
84780
+ lineNumber: 166
84783
84781
  }
84784
84782
  }), rationale && hasText(rationale) && React$1.createElement('div', {
84785
84783
  className: classes.collapsible,
84786
84784
  __self: this,
84787
84785
  __source: {
84788
84786
  fileName: _jsxFileName,
84789
- lineNumber: 172
84787
+ lineNumber: 169
84790
84788
  }
84791
84789
  }, !animationsDisabled ? React$1.createElement(Collapsible, {
84792
84790
  labels: {
@@ -84796,7 +84794,7 @@ class Main extends React$1.Component {
84796
84794
  __self: this,
84797
84795
  __source: {
84798
84796
  fileName: _jsxFileName,
84799
- lineNumber: 174
84797
+ lineNumber: 171
84800
84798
  }
84801
84799
  }, rationaleDiv) : rationaleDiv));
84802
84800
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "repository": "pie-framework/pie-elements",
7
- "version": "7.1.5-next.13+a7dcb3a97",
7
+ "version": "7.1.5-next.3+59535a35f",
8
8
  "description": "",
9
9
  "scripts": {
10
10
  "postpublish": "../../scripts/postpublish"
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "author": "",
23
23
  "license": "ISC",
24
- "gitHead": "a7dcb3a97ec930d8d015f4e1ac9db4634895f6d7",
24
+ "gitHead": "59535a35fed818c74f3d6d6cc41b352c1ed939eb",
25
25
  "main": "lib/index.js",
26
26
  "module": "src/index.js",
27
27
  "exports": {