@pie-element/extended-text-entry 6.5.4-next.899 → 6.5.4-next.907
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/lib/main.js +0 -7
- package/lib/main.js.map +1 -1
- package/module/configure.js +3 -3
- package/module/element.js +14 -20
- package/module/manifest.json +3 -3
- package/module/print.js +14 -20
- package/package.json +2 -2
package/lib/main.js
CHANGED
|
@@ -80,13 +80,6 @@ var Main = /*#__PURE__*/function (_React$Component) {
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
(0, _createClass2["default"])(Main, [{
|
|
83
|
-
key: "componentDidUpdate",
|
|
84
|
-
value: function componentDidUpdate() {
|
|
85
|
-
if (this.containerRef) {
|
|
86
|
-
(0, _mathRendering.renderMath)(this.containerRef);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}, {
|
|
90
83
|
key: "render",
|
|
91
84
|
value: function render() {
|
|
92
85
|
var _this2 = this;
|
package/lib/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/main.jsx"],"names":["log","style","theme","main","backgroundColor","color","background","text","prompt","width","marginBottom","spacing","unit","fontSize","Main","props","onChange","
|
|
1
|
+
{"version":3,"sources":["../src/main.jsx"],"names":["log","style","theme","main","backgroundColor","color","background","text","prompt","width","marginBottom","spacing","unit","fontSize","Main","props","onChange","model","classes","session","dimensions","disabled","feedback","teacherInstructions","mathInput","animationsDisabled","playersToolbarPosition","spellCheckEnabled","value","height","maxHeight","toolbarOpts","teacherInstructionsDiv","position","ref","containerRef","hidden","visible","collapsible","changeSession","toString","math","customKeys","keypadMode","equationEditor","controlledKeypadMode","video","audio","React","Component","PropTypes","func","isRequired","object","shape","string"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,IAAMA,GAAG,GAAG,uBAAM,6BAAN,CAAZ;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typography from '@material-ui/core/Typography';\nimport { withStyles } from '@material-ui/core/styles';\nimport debug from 'debug';\nimport debounce from 'lodash/debounce';\nimport {color, Feedback, Collapsible, PreviewPrompt} from '@pie-lib/render-ui';\nimport { renderMath } from '@pie-lib/math-rendering';\n\nconst log = debug('@pie-ui:extended-text-entry');\n\nconst style = theme => ({\n main: {\n backgroundColor: color.background(),\n color: color.text()\n },\n prompt: {\n width: '100%',\n color: color.text(),\n marginBottom: theme.spacing.unit * 2,\n fontSize: 'inherit'\n }\n});\n\nexport class Main extends React.Component {\n static propTypes = {\n onChange: PropTypes.func.isRequired,\n model: PropTypes.object,\n classes: PropTypes.object.isRequired,\n session: PropTypes.shape({\n value: PropTypes.string\n }).isRequired\n };\n\n changeSession = debounce(this.props.onChange, 1500);\n\n render() {\n const { model, classes, session } = this.props;\n const { dimensions, disabled, feedback, teacherInstructions, mathInput, animationsDisabled, playersToolbarPosition, spellCheckEnabled } = model;\n const { value } = session;\n const { width, height } = dimensions || {};\n const maxHeight = '40vh';\n const toolbarOpts = {};\n\n log('[render] disabled? ', disabled);\n\n const teacherInstructionsDiv = <PreviewPrompt defaultClassName=\"teacher-instructions\" prompt={teacherInstructions} />;\n\n switch (playersToolbarPosition) {\n case 'top':\n toolbarOpts.position = 'top';\n break;\n default:\n toolbarOpts.position = 'bottom';\n break;\n }\n\n return (\n <div\n className={classes.main}\n ref={ref => {\n this.containerRef = ref;\n }}\n >\n {\n teacherInstructions && (\n <div>\n {!animationsDisabled ? (\n <Collapsible\n labels={{hidden: 'Show Teacher Instructions', visible: 'Hide Teacher Instructions'}}\n className={classes.collapsible}\n >\n {teacherInstructionsDiv}\n </Collapsible>\n ) : teacherInstructionsDiv }\n <br/>\n </div>\n )\n }\n {model.prompt && (\n <Typography\n component={'span'}\n className={classes.prompt}\n >\n <PreviewPrompt defaultClassName=\"prompt\" prompt={model.prompt} />\n </Typography>\n )}\n <EditableHTML\n className=\"response-area-editor\"\n onChange={this.changeSession}\n markup={value || ''}\n width={width && width.toString()}\n minHeight={height && height.toString()}\n maxHeight={maxHeight}\n disabled={disabled}\n highlightShape={true}\n toolbarOpts={toolbarOpts}\n spellCheck={spellCheckEnabled}\n pluginProps={{\n math: {\n disabled: !mathInput,\n customKeys: this.props.model.customKeys,\n keypadMode: this.props.model.equationEditor,\n controlledKeypadMode: false\n },\n video: {\n disabled: true\n },\n audio: {\n disabled: true\n }\n }}\n />\n {feedback && (\n <div>\n <br />\n <Feedback correctness=\"correct\" feedback={feedback}/>\n </div>\n )}\n </div>\n );\n }\n}\n\nexport default withStyles(style)(Main);\n"],"file":"main.js"}
|
package/module/configure.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.
|
|
2
|
-
import {_dll_pie_lib__config_ui} from "../../../@pie-lib/config-module@^1.
|
|
3
|
-
import {_dll_pie_lib__editable_html} from "../../../@pie-lib/editable-html-module@^1.5.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.18/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__config_ui} from "../../../@pie-lib/config-module@^1.3.0/module/index.js";
|
|
3
|
+
import {_dll_pie_lib__editable_html} from "../../../@pie-lib/editable-html-module@^1.5.5/module/index.js";
|
|
4
4
|
var lib = {};
|
|
5
5
|
Object.defineProperty(lib, "__esModule", {
|
|
6
6
|
value: true
|
package/module/element.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_debug, _dll_lodash, _dll_pie_lib__render_ui, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.
|
|
2
|
-
import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.1.
|
|
3
|
-
import {_dll_pie_lib__editable_html} from "../../../@pie-lib/editable-html-module@^1.5.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_debug, _dll_lodash, _dll_pie_lib__render_ui, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.18/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.1.6/module/index.js";
|
|
3
|
+
import {_dll_pie_lib__editable_html} from "../../../@pie-lib/editable-html-module@^1.5.5/module/index.js";
|
|
4
4
|
const React$1 = _dll_react;
|
|
5
5
|
const PropTypes = _dll_prop_types;
|
|
6
6
|
const {Typography: Typography} = _dll_material_ui__core;
|
|
@@ -12,7 +12,6 @@ const {Feedback: Feedback} = _dll_pie_lib__render_ui;
|
|
|
12
12
|
const {Collapsible: Collapsible} = _dll_pie_lib__render_ui;
|
|
13
13
|
const {PreviewPrompt: PreviewPrompt} = _dll_pie_lib__render_ui;
|
|
14
14
|
const EditableHTML = _dll_pie_lib__editable_html;
|
|
15
|
-
const {renderMath: renderMath$1} = _dll_pie_lib__math_rendering;
|
|
16
15
|
const _jsxFileName = "/home/circleci/repo/packages/extended-text-entry/src/main.jsx";
|
|
17
16
|
const log$1 = debug$1('@pie-ui:extended-text-entry');
|
|
18
17
|
const style = theme => ({
|
|
@@ -42,11 +41,6 @@ class Main extends React$1.Component {
|
|
|
42
41
|
}).isRequired
|
|
43
42
|
};
|
|
44
43
|
}
|
|
45
|
-
componentDidUpdate() {
|
|
46
|
-
if (this.containerRef) {
|
|
47
|
-
renderMath$1(this.containerRef);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
44
|
__init() {
|
|
51
45
|
this.changeSession = debounce(this.props.onChange, 1500);
|
|
52
46
|
}
|
|
@@ -64,7 +58,7 @@ class Main extends React$1.Component {
|
|
|
64
58
|
__self: this,
|
|
65
59
|
__source: {
|
|
66
60
|
fileName: _jsxFileName,
|
|
67
|
-
lineNumber:
|
|
61
|
+
lineNumber: 48
|
|
68
62
|
}
|
|
69
63
|
});
|
|
70
64
|
switch (playersToolbarPosition) {
|
|
@@ -83,13 +77,13 @@ class Main extends React$1.Component {
|
|
|
83
77
|
__self: this,
|
|
84
78
|
__source: {
|
|
85
79
|
fileName: _jsxFileName,
|
|
86
|
-
lineNumber:
|
|
80
|
+
lineNumber: 60
|
|
87
81
|
}
|
|
88
82
|
}, teacherInstructions && React$1.createElement('div', {
|
|
89
83
|
__self: this,
|
|
90
84
|
__source: {
|
|
91
85
|
fileName: _jsxFileName,
|
|
92
|
-
lineNumber:
|
|
86
|
+
lineNumber: 68
|
|
93
87
|
}
|
|
94
88
|
}, !animationsDisabled ? React$1.createElement(Collapsible, {
|
|
95
89
|
labels: {
|
|
@@ -100,13 +94,13 @@ class Main extends React$1.Component {
|
|
|
100
94
|
__self: this,
|
|
101
95
|
__source: {
|
|
102
96
|
fileName: _jsxFileName,
|
|
103
|
-
lineNumber:
|
|
97
|
+
lineNumber: 70
|
|
104
98
|
}
|
|
105
99
|
}, teacherInstructionsDiv) : teacherInstructionsDiv, React$1.createElement('br', {
|
|
106
100
|
__self: this,
|
|
107
101
|
__source: {
|
|
108
102
|
fileName: _jsxFileName,
|
|
109
|
-
lineNumber:
|
|
103
|
+
lineNumber: 77
|
|
110
104
|
}
|
|
111
105
|
})), model.prompt && React$1.createElement(Typography, {
|
|
112
106
|
component: 'span',
|
|
@@ -114,7 +108,7 @@ class Main extends React$1.Component {
|
|
|
114
108
|
__self: this,
|
|
115
109
|
__source: {
|
|
116
110
|
fileName: _jsxFileName,
|
|
117
|
-
lineNumber:
|
|
111
|
+
lineNumber: 82
|
|
118
112
|
}
|
|
119
113
|
}, React$1.createElement(PreviewPrompt, {
|
|
120
114
|
defaultClassName: "prompt",
|
|
@@ -122,7 +116,7 @@ class Main extends React$1.Component {
|
|
|
122
116
|
__self: this,
|
|
123
117
|
__source: {
|
|
124
118
|
fileName: _jsxFileName,
|
|
125
|
-
lineNumber:
|
|
119
|
+
lineNumber: 86
|
|
126
120
|
}
|
|
127
121
|
})), React$1.createElement(EditableHTML, {
|
|
128
122
|
className: "response-area-editor",
|
|
@@ -152,19 +146,19 @@ class Main extends React$1.Component {
|
|
|
152
146
|
__self: this,
|
|
153
147
|
__source: {
|
|
154
148
|
fileName: _jsxFileName,
|
|
155
|
-
lineNumber:
|
|
149
|
+
lineNumber: 89
|
|
156
150
|
}
|
|
157
151
|
}), feedback && React$1.createElement('div', {
|
|
158
152
|
__self: this,
|
|
159
153
|
__source: {
|
|
160
154
|
fileName: _jsxFileName,
|
|
161
|
-
lineNumber:
|
|
155
|
+
lineNumber: 116
|
|
162
156
|
}
|
|
163
157
|
}, React$1.createElement('br', {
|
|
164
158
|
__self: this,
|
|
165
159
|
__source: {
|
|
166
160
|
fileName: _jsxFileName,
|
|
167
|
-
lineNumber:
|
|
161
|
+
lineNumber: 117
|
|
168
162
|
}
|
|
169
163
|
}), React$1.createElement(Feedback, {
|
|
170
164
|
correctness: "correct",
|
|
@@ -172,7 +166,7 @@ class Main extends React$1.Component {
|
|
|
172
166
|
__self: this,
|
|
173
167
|
__source: {
|
|
174
168
|
fileName: _jsxFileName,
|
|
175
|
-
lineNumber:
|
|
169
|
+
lineNumber: 118
|
|
176
170
|
}
|
|
177
171
|
})));
|
|
178
172
|
}
|
package/module/manifest.json
CHANGED
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
"modules": [
|
|
5
5
|
{
|
|
6
6
|
"name": "@pie-lib/shared-module",
|
|
7
|
-
"version": "^1.4.
|
|
7
|
+
"version": "^1.4.18"
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
"name": "@pie-lib/math-rendering-module",
|
|
11
|
-
"version": "^1.1.
|
|
11
|
+
"version": "^1.1.6"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
"name": "@pie-lib/editable-html-module",
|
|
15
|
-
"version": "^1.5.
|
|
15
|
+
"version": "^1.5.5"
|
|
16
16
|
}
|
|
17
17
|
]
|
|
18
18
|
}
|
package/module/print.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_debug, _dll_lodash, _dll_pie_lib__render_ui, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.
|
|
2
|
-
import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.1.
|
|
3
|
-
import {_dll_pie_lib__editable_html} from "../../../@pie-lib/editable-html-module@^1.5.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_debug, _dll_lodash, _dll_pie_lib__render_ui, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.18/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.1.6/module/index.js";
|
|
3
|
+
import {_dll_pie_lib__editable_html} from "../../../@pie-lib/editable-html-module@^1.5.5/module/index.js";
|
|
4
4
|
const React$1 = _dll_react;
|
|
5
5
|
const PropTypes = _dll_prop_types;
|
|
6
6
|
const {Typography: Typography} = _dll_material_ui__core;
|
|
@@ -12,7 +12,6 @@ const {Feedback: Feedback} = _dll_pie_lib__render_ui;
|
|
|
12
12
|
const {Collapsible: Collapsible} = _dll_pie_lib__render_ui;
|
|
13
13
|
const {PreviewPrompt: PreviewPrompt} = _dll_pie_lib__render_ui;
|
|
14
14
|
const EditableHTML = _dll_pie_lib__editable_html;
|
|
15
|
-
const {renderMath: renderMath$1} = _dll_pie_lib__math_rendering;
|
|
16
15
|
const _jsxFileName = "/home/circleci/repo/packages/extended-text-entry/src/main.jsx";
|
|
17
16
|
const log$1 = debug$1('@pie-ui:extended-text-entry');
|
|
18
17
|
const style = theme => ({
|
|
@@ -42,11 +41,6 @@ class Main extends React$1.Component {
|
|
|
42
41
|
}).isRequired
|
|
43
42
|
};
|
|
44
43
|
}
|
|
45
|
-
componentDidUpdate() {
|
|
46
|
-
if (this.containerRef) {
|
|
47
|
-
renderMath$1(this.containerRef);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
44
|
__init() {
|
|
51
45
|
this.changeSession = debounce$1(this.props.onChange, 1500);
|
|
52
46
|
}
|
|
@@ -64,7 +58,7 @@ class Main extends React$1.Component {
|
|
|
64
58
|
__self: this,
|
|
65
59
|
__source: {
|
|
66
60
|
fileName: _jsxFileName,
|
|
67
|
-
lineNumber:
|
|
61
|
+
lineNumber: 48
|
|
68
62
|
}
|
|
69
63
|
});
|
|
70
64
|
switch (playersToolbarPosition) {
|
|
@@ -83,13 +77,13 @@ class Main extends React$1.Component {
|
|
|
83
77
|
__self: this,
|
|
84
78
|
__source: {
|
|
85
79
|
fileName: _jsxFileName,
|
|
86
|
-
lineNumber:
|
|
80
|
+
lineNumber: 60
|
|
87
81
|
}
|
|
88
82
|
}, teacherInstructions && React$1.createElement('div', {
|
|
89
83
|
__self: this,
|
|
90
84
|
__source: {
|
|
91
85
|
fileName: _jsxFileName,
|
|
92
|
-
lineNumber:
|
|
86
|
+
lineNumber: 68
|
|
93
87
|
}
|
|
94
88
|
}, !animationsDisabled ? React$1.createElement(Collapsible, {
|
|
95
89
|
labels: {
|
|
@@ -100,13 +94,13 @@ class Main extends React$1.Component {
|
|
|
100
94
|
__self: this,
|
|
101
95
|
__source: {
|
|
102
96
|
fileName: _jsxFileName,
|
|
103
|
-
lineNumber:
|
|
97
|
+
lineNumber: 70
|
|
104
98
|
}
|
|
105
99
|
}, teacherInstructionsDiv) : teacherInstructionsDiv, React$1.createElement('br', {
|
|
106
100
|
__self: this,
|
|
107
101
|
__source: {
|
|
108
102
|
fileName: _jsxFileName,
|
|
109
|
-
lineNumber:
|
|
103
|
+
lineNumber: 77
|
|
110
104
|
}
|
|
111
105
|
})), model.prompt && React$1.createElement(Typography, {
|
|
112
106
|
component: 'span',
|
|
@@ -114,7 +108,7 @@ class Main extends React$1.Component {
|
|
|
114
108
|
__self: this,
|
|
115
109
|
__source: {
|
|
116
110
|
fileName: _jsxFileName,
|
|
117
|
-
lineNumber:
|
|
111
|
+
lineNumber: 82
|
|
118
112
|
}
|
|
119
113
|
}, React$1.createElement(PreviewPrompt, {
|
|
120
114
|
defaultClassName: "prompt",
|
|
@@ -122,7 +116,7 @@ class Main extends React$1.Component {
|
|
|
122
116
|
__self: this,
|
|
123
117
|
__source: {
|
|
124
118
|
fileName: _jsxFileName,
|
|
125
|
-
lineNumber:
|
|
119
|
+
lineNumber: 86
|
|
126
120
|
}
|
|
127
121
|
})), React$1.createElement(EditableHTML, {
|
|
128
122
|
className: "response-area-editor",
|
|
@@ -152,19 +146,19 @@ class Main extends React$1.Component {
|
|
|
152
146
|
__self: this,
|
|
153
147
|
__source: {
|
|
154
148
|
fileName: _jsxFileName,
|
|
155
|
-
lineNumber:
|
|
149
|
+
lineNumber: 89
|
|
156
150
|
}
|
|
157
151
|
}), feedback && React$1.createElement('div', {
|
|
158
152
|
__self: this,
|
|
159
153
|
__source: {
|
|
160
154
|
fileName: _jsxFileName,
|
|
161
|
-
lineNumber:
|
|
155
|
+
lineNumber: 116
|
|
162
156
|
}
|
|
163
157
|
}, React$1.createElement('br', {
|
|
164
158
|
__self: this,
|
|
165
159
|
__source: {
|
|
166
160
|
fileName: _jsxFileName,
|
|
167
|
-
lineNumber:
|
|
161
|
+
lineNumber: 117
|
|
168
162
|
}
|
|
169
163
|
}), React$1.createElement(Feedback, {
|
|
170
164
|
correctness: "correct",
|
|
@@ -172,7 +166,7 @@ class Main extends React$1.Component {
|
|
|
172
166
|
__self: this,
|
|
173
167
|
__source: {
|
|
174
168
|
fileName: _jsxFileName,
|
|
175
|
-
lineNumber:
|
|
169
|
+
lineNumber: 118
|
|
176
170
|
}
|
|
177
171
|
})));
|
|
178
172
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/extended-text-entry",
|
|
3
|
-
"version": "6.5.4-next.
|
|
3
|
+
"version": "6.5.4-next.907+498cf1951",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": "pie-framework/pie-elements",
|
|
6
6
|
"publishConfig": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"react": "^16.8.1",
|
|
23
23
|
"react-dom": "^16.8.1"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "498cf1951b046581917de4abcdc89e7efbba7cbc",
|
|
26
26
|
"scripts": {
|
|
27
27
|
"postpublish": "../../scripts/postpublish"
|
|
28
28
|
},
|