@pie-element/placement-ordering 8.7.1-beta.3 → 8.7.1-beta.4

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.
@@ -0,0 +1,242 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ var _typeof = require("@babel/runtime/helpers/typeof");
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = exports.ChoiceTile = void 0;
9
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
10
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
11
+ var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
12
+ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
13
+ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
14
+ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
15
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
16
+ var _editableHtml = _interopRequireWildcard(require("@pie-lib/editable-html"));
17
+ var _CardActions = _interopRequireDefault(require("@material-ui/core/CardActions"));
18
+ var _DragHandle = _interopRequireDefault(require("@material-ui/icons/DragHandle"));
19
+ var _reactDnd = require("react-dnd");
20
+ var _classnames = _interopRequireDefault(require("classnames"));
21
+ var _IconButton = _interopRequireDefault(require("@material-ui/core/IconButton"));
22
+ var _propTypes = _interopRequireDefault(require("prop-types"));
23
+ var _react = _interopRequireDefault(require("react"));
24
+ var _RemoveCircle = _interopRequireDefault(require("@material-ui/icons/RemoveCircle"));
25
+ var _debug = _interopRequireDefault(require("debug"));
26
+ var _styles = require("@material-ui/core/styles");
27
+ var _renderUi = require("@pie-lib/render-ui");
28
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
29
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
30
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
31
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
32
+ var log = (0, _debug["default"])('@pie-element:placement-ordering:configure:choice-tile');
33
+ var ChoiceTile = /*#__PURE__*/function (_React$Component) {
34
+ (0, _inherits2["default"])(ChoiceTile, _React$Component);
35
+ var _super = _createSuper(ChoiceTile);
36
+ function ChoiceTile() {
37
+ var _this;
38
+ (0, _classCallCheck2["default"])(this, ChoiceTile);
39
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
40
+ args[_key] = arguments[_key];
41
+ }
42
+ _this = _super.call.apply(_super, [this].concat(args));
43
+ (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "onLabelChange", function (label) {
44
+ var _this$props = _this.props,
45
+ choice = _this$props.choice,
46
+ onChoiceChange = _this$props.onChoiceChange;
47
+ choice.label = label;
48
+ onChoiceChange(choice);
49
+ });
50
+ return _this;
51
+ }
52
+ (0, _createClass2["default"])(ChoiceTile, [{
53
+ key: "render",
54
+ value: function render() {
55
+ var _this$props2 = this.props,
56
+ _this$props2$choice = _this$props2.choice,
57
+ label = _this$props2$choice.label,
58
+ editable = _this$props2$choice.editable,
59
+ isDragging = _this$props2.isDragging,
60
+ connectDragSource = _this$props2.connectDragSource,
61
+ connectDropTarget = _this$props2.connectDropTarget,
62
+ classes = _this$props2.classes,
63
+ onDelete = _this$props2.onDelete,
64
+ imageSupport = _this$props2.imageSupport,
65
+ disableImages = _this$props2.disableImages,
66
+ spellCheck = _this$props2.spellCheck,
67
+ toolbarOpts = _this$props2.toolbarOpts,
68
+ maxImageWidth = _this$props2.maxImageWidth,
69
+ maxImageHeight = _this$props2.maxImageHeight,
70
+ error = _this$props2.error;
71
+ var dragSourceOpts = {}; //dropEffect: moveOnDrag ? 'move' : 'copy'};
72
+
73
+ var choicePlugins = {
74
+ image: {
75
+ disabled: disableImages
76
+ },
77
+ audio: {
78
+ disabled: true
79
+ },
80
+ video: {
81
+ disabled: true
82
+ }
83
+ };
84
+ var filteredDefaultPlugins = (_editableHtml.DEFAULT_PLUGINS || []).filter(function (p) {
85
+ return p !== 'bulleted-list' && p !== 'numbered-list';
86
+ });
87
+ var opacity = isDragging ? 0 : 1;
88
+ var markup = /*#__PURE__*/_react["default"].createElement("div", {
89
+ className: classes.choiceTile,
90
+ style: {
91
+ opacity: opacity,
92
+ width: '100%'
93
+ }
94
+ }, /*#__PURE__*/_react["default"].createElement("div", {
95
+ style: {
96
+ width: '100%',
97
+ display: 'flex'
98
+ }
99
+ }, /*#__PURE__*/_react["default"].createElement(_CardActions["default"], null, /*#__PURE__*/_react["default"].createElement("span", {
100
+ className: (0, _classnames["default"])(classes.dragHandle)
101
+ }, /*#__PURE__*/_react["default"].createElement(_DragHandle["default"], {
102
+ className: classes.actions
103
+ }))), /*#__PURE__*/_react["default"].createElement(_editableHtml["default"], {
104
+ disabled: !editable,
105
+ className: (0, _classnames["default"])(classes.prompt, !editable && classes.targetPrompt),
106
+ placeholder: "Enter a choice",
107
+ markup: label,
108
+ imageSupport: imageSupport || undefined,
109
+ onChange: this.onLabelChange,
110
+ pluginProps: choicePlugins,
111
+ toolbarOpts: toolbarOpts,
112
+ activePlugins: filteredDefaultPlugins,
113
+ spellCheck: spellCheck,
114
+ maxImageWidth: maxImageWidth,
115
+ maxImageHeight: maxImageHeight,
116
+ languageCharactersProps: [{
117
+ language: 'spanish'
118
+ }, {
119
+ language: 'special'
120
+ }],
121
+ error: editable && error
122
+ }), editable && /*#__PURE__*/_react["default"].createElement("div", {
123
+ className: classes.controls
124
+ }, /*#__PURE__*/_react["default"].createElement(_IconButton["default"], {
125
+ color: "default",
126
+ onClick: onDelete
127
+ }, /*#__PURE__*/_react["default"].createElement(_RemoveCircle["default"], {
128
+ classes: {
129
+ root: classes.removeCircle
130
+ }
131
+ })))), editable && error && /*#__PURE__*/_react["default"].createElement("div", {
132
+ className: classes.errorText
133
+ }, error));
134
+ return connectDragSource(connectDropTarget( /*#__PURE__*/_react["default"].createElement("div", null, markup)), dragSourceOpts);
135
+ }
136
+ }]);
137
+ return ChoiceTile;
138
+ }(_react["default"].Component);
139
+ exports.ChoiceTile = ChoiceTile;
140
+ (0, _defineProperty2["default"])(ChoiceTile, "propTypes", {
141
+ connectDragSource: _propTypes["default"].func.isRequired,
142
+ connectDropTarget: _propTypes["default"].func.isRequired,
143
+ isDragging: _propTypes["default"].bool.isRequired,
144
+ id: _propTypes["default"].any,
145
+ label: _propTypes["default"].string,
146
+ isOver: _propTypes["default"].bool,
147
+ classes: _propTypes["default"].object.isRequired,
148
+ type: _propTypes["default"].string,
149
+ empty: _propTypes["default"].bool,
150
+ disabled: _propTypes["default"].bool,
151
+ outcome: _propTypes["default"].object,
152
+ index: _propTypes["default"].number,
153
+ imageSupport: _propTypes["default"].shape({
154
+ add: _propTypes["default"].func.isRequired,
155
+ "delete": _propTypes["default"].func.isRequired
156
+ }),
157
+ choice: _propTypes["default"].object,
158
+ choices: _propTypes["default"].array.isRequired,
159
+ onChoiceChange: _propTypes["default"].func.isRequired,
160
+ onDelete: _propTypes["default"].func.isRequired,
161
+ disableImages: _propTypes["default"].bool,
162
+ toolbarOpts: _propTypes["default"].object,
163
+ choicesLabel: _propTypes["default"].string,
164
+ error: _propTypes["default"].string
165
+ });
166
+ var Styled = (0, _styles.withStyles)(function (theme) {
167
+ return {
168
+ removeCircle: {
169
+ fill: theme.palette.error[500]
170
+ },
171
+ choiceTile: {
172
+ cursor: 'move',
173
+ backgroundColor: 'white',
174
+ margin: "".concat(theme.spacing.unit, "px 0"),
175
+ display: 'flex',
176
+ flexDirection: 'column'
177
+ },
178
+ controls: {
179
+ display: 'flex',
180
+ justifyContent: 'flex-end'
181
+ },
182
+ prompt: {
183
+ width: '80%',
184
+ border: 'none',
185
+ borderRadius: '4px'
186
+ },
187
+ targetPrompt: {
188
+ backgroundColor: '#D7D7D7'
189
+ },
190
+ actions: {
191
+ color: '#B1B1B1'
192
+ },
193
+ errorText: {
194
+ fontSize: theme.typography.fontSize - 2,
195
+ color: 'red',
196
+ marginLeft: theme.spacing.unit * 5,
197
+ marginTop: theme.spacing.unit
198
+ },
199
+ correctOrder: {
200
+ position: 'absolute',
201
+ top: 0,
202
+ fontSize: theme.typography.fontSize - 2,
203
+ color: _renderUi.color.disabled()
204
+ }
205
+ };
206
+ })(ChoiceTile);
207
+ var NAME = 'choice-config';
208
+ var choiceSource = {
209
+ beginDrag: function beginDrag(props) {
210
+ return {
211
+ id: props.choice.id,
212
+ index: props.index,
213
+ type: props.choice.type,
214
+ instanceId: props.choice.instanceId
215
+ };
216
+ }
217
+ };
218
+ var StyledSource = (0, _reactDnd.DragSource)(NAME, choiceSource, function (connect, monitor) {
219
+ return {
220
+ connectDragSource: connect.dragSource(),
221
+ isDragging: monitor.isDragging()
222
+ };
223
+ })(Styled);
224
+ var choiceTarget = {
225
+ hover: function hover() {
226
+ log('[hover]');
227
+ },
228
+ drop: function drop(props, monitor) {
229
+ var item = monitor.getItem();
230
+ log('[drop] item: ', item, 'didDrop?', monitor.didDrop());
231
+ props.onDropChoice(item, props.index);
232
+ }
233
+ };
234
+ var StyledSourceAndTarget = (0, _reactDnd.DropTarget)(NAME, choiceTarget, function (connect, monitor) {
235
+ return {
236
+ connectDropTarget: connect.dropTarget(),
237
+ isOver: monitor.isOver()
238
+ };
239
+ })(StyledSource);
240
+ var _default = StyledSourceAndTarget;
241
+ exports["default"] = _default;
242
+ //# sourceMappingURL=choice-tile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"choice-tile.js","names":["_editableHtml","_interopRequireWildcard","require","_CardActions","_interopRequireDefault","_DragHandle","_reactDnd","_classnames","_IconButton","_propTypes","_react","_RemoveCircle","_debug","_styles","_renderUi","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","valueOf","e","log","debug","ChoiceTile","_React$Component","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","concat","_defineProperty2","_assertThisInitialized2","label","_this$props","props","choice","onChoiceChange","_createClass2","value","render","_this$props2","_this$props2$choice","editable","isDragging","connectDragSource","connectDropTarget","classes","onDelete","imageSupport","disableImages","spellCheck","toolbarOpts","maxImageWidth","maxImageHeight","error","dragSourceOpts","choicePlugins","image","disabled","audio","video","filteredDefaultPlugins","DEFAULT_PLUGINS","filter","p","opacity","markup","createElement","className","choiceTile","style","width","display","classNames","dragHandle","actions","prompt","targetPrompt","placeholder","undefined","onChange","onLabelChange","pluginProps","activePlugins","languageCharactersProps","language","controls","color","onClick","root","removeCircle","errorText","React","Component","exports","PropTypes","func","isRequired","bool","id","any","string","isOver","object","type","empty","outcome","index","number","shape","add","choices","array","choicesLabel","Styled","withStyles","theme","fill","palette","cursor","backgroundColor","margin","spacing","unit","flexDirection","justifyContent","border","borderRadius","fontSize","typography","marginLeft","marginTop","correctOrder","position","top","NAME","choiceSource","beginDrag","instanceId","StyledSource","DragSource","connect","monitor","dragSource","choiceTarget","hover","drop","item","getItem","didDrop","onDropChoice","StyledSourceAndTarget","DropTarget","dropTarget","_default"],"sources":["../src/choice-tile.jsx"],"sourcesContent":["import EditableHtml, { DEFAULT_PLUGINS } from '@pie-lib/editable-html';\nimport CardActions from '@material-ui/core/CardActions';\nimport DragHandle from '@material-ui/icons/DragHandle';\n\nimport { DragSource, DropTarget } from 'react-dnd';\nimport classNames from 'classnames';\n\nimport IconButton from '@material-ui/core/IconButton';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport RemoveCircle from '@material-ui/icons/RemoveCircle';\nimport debug from 'debug';\nimport { withStyles } from '@material-ui/core/styles';\nimport { color } from '@pie-lib/render-ui';\n\nconst log = debug('@pie-element:placement-ordering:configure:choice-tile');\n\nexport class ChoiceTile extends React.Component {\n static propTypes = {\n connectDragSource: PropTypes.func.isRequired,\n connectDropTarget: PropTypes.func.isRequired,\n isDragging: PropTypes.bool.isRequired,\n id: PropTypes.any,\n label: PropTypes.string,\n isOver: PropTypes.bool,\n classes: PropTypes.object.isRequired,\n type: PropTypes.string,\n empty: PropTypes.bool,\n disabled: PropTypes.bool,\n outcome: PropTypes.object,\n index: PropTypes.number,\n imageSupport: PropTypes.shape({\n add: PropTypes.func.isRequired,\n delete: PropTypes.func.isRequired,\n }),\n choice: PropTypes.object,\n choices: PropTypes.array.isRequired,\n onChoiceChange: PropTypes.func.isRequired,\n onDelete: PropTypes.func.isRequired,\n disableImages: PropTypes.bool,\n toolbarOpts: PropTypes.object,\n choicesLabel: PropTypes.string,\n error: PropTypes.string,\n };\n\n onLabelChange = (label) => {\n const { choice, onChoiceChange } = this.props;\n\n choice.label = label;\n onChoiceChange(choice);\n };\n\n render() {\n const {\n choice: { label, editable },\n isDragging,\n connectDragSource,\n connectDropTarget,\n classes,\n onDelete,\n imageSupport,\n disableImages,\n spellCheck,\n toolbarOpts,\n maxImageWidth,\n maxImageHeight,\n error,\n } = this.props;\n\n const dragSourceOpts = {}; //dropEffect: moveOnDrag ? 'move' : 'copy'};\n\n const choicePlugins = {\n image: { disabled: disableImages },\n audio: { disabled: true },\n video: { disabled: true },\n };\n const filteredDefaultPlugins = (DEFAULT_PLUGINS || []).filter(\n (p) => p !== 'bulleted-list' && p !== 'numbered-list',\n );\n\n const opacity = isDragging ? 0 : 1;\n const markup = (\n <div className={classes.choiceTile} style={{ opacity: opacity, width: '100%' }}>\n <div style={{ width: '100%', display: 'flex' }}>\n <CardActions>\n <span className={classNames(classes.dragHandle)}>\n <DragHandle className={classes.actions} />\n </span>\n </CardActions>\n\n <EditableHtml\n disabled={!editable}\n className={classNames(classes.prompt, !editable && classes.targetPrompt)}\n placeholder=\"Enter a choice\"\n markup={label}\n imageSupport={imageSupport || undefined}\n onChange={this.onLabelChange}\n pluginProps={choicePlugins}\n toolbarOpts={toolbarOpts}\n activePlugins={filteredDefaultPlugins}\n spellCheck={spellCheck}\n maxImageWidth={maxImageWidth}\n maxImageHeight={maxImageHeight}\n languageCharactersProps={[{ language: 'spanish' }, { language: 'special' }]}\n error={editable && error}\n />\n\n {editable && (\n <div className={classes.controls}>\n <IconButton color=\"default\" onClick={onDelete}>\n <RemoveCircle classes={{ root: classes.removeCircle }} />\n </IconButton>\n </div>\n )}\n </div>\n\n {editable && error && <div className={classes.errorText}>{error}</div>}\n </div>\n );\n\n return connectDragSource(connectDropTarget(<div>{markup}</div>), dragSourceOpts);\n }\n}\n\nconst Styled = withStyles((theme) => ({\n removeCircle: {\n fill: theme.palette.error[500],\n },\n choiceTile: {\n cursor: 'move',\n backgroundColor: 'white',\n margin: `${theme.spacing.unit}px 0`,\n display: 'flex',\n flexDirection: 'column',\n },\n controls: {\n display: 'flex',\n justifyContent: 'flex-end',\n },\n prompt: {\n width: '80%',\n border: 'none',\n borderRadius: '4px',\n },\n targetPrompt: {\n backgroundColor: '#D7D7D7',\n },\n actions: {\n color: '#B1B1B1',\n },\n errorText: {\n fontSize: theme.typography.fontSize - 2,\n color: 'red',\n marginLeft: theme.spacing.unit * 5,\n marginTop: theme.spacing.unit,\n },\n correctOrder: {\n position: 'absolute',\n top: 0,\n fontSize: theme.typography.fontSize - 2,\n color: color.disabled(),\n },\n}))(ChoiceTile);\n\nconst NAME = 'choice-config';\n\nconst choiceSource = {\n beginDrag(props) {\n return {\n id: props.choice.id,\n index: props.index,\n type: props.choice.type,\n instanceId: props.choice.instanceId,\n };\n },\n};\n\nconst StyledSource = DragSource(NAME, choiceSource, (connect, monitor) => ({\n connectDragSource: connect.dragSource(),\n isDragging: monitor.isDragging(),\n}))(Styled);\n\nconst choiceTarget = {\n hover() {\n log('[hover]');\n },\n drop(props, monitor) {\n const item = monitor.getItem();\n log('[drop] item: ', item, 'didDrop?', monitor.didDrop());\n\n props.onDropChoice(item, props.index);\n },\n};\n\nconst StyledSourceAndTarget = DropTarget(NAME, choiceTarget, (connect, monitor) => ({\n connectDropTarget: connect.dropTarget(),\n isOver: monitor.isOver(),\n}))(StyledSource);\n\nexport default StyledSourceAndTarget;\n"],"mappings":";;;;;;;;;;;;;;;AAAA,IAAAA,aAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,WAA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,IAAI,EAAEC,YAAY,EAAE,UAACK,OAAO,EAAEC,OAAO;EAAA,OAAM;IACzElG,iBAAiB,EAAEiG,OAAO,CAACE,UAAU,CAAC,CAAC;IACvCpG,UAAU,EAAEmG,OAAO,CAACnG,UAAU,CAAC;EACjC,CAAC;AAAA,CAAC,CAAC,CAACuE,MAAM,CAAC;AAEX,IAAM8B,YAAY,GAAG;EACnBC,KAAK,WAAAA,MAAA,EAAG;IACNjI,GAAG,CAAC,SAAS,CAAC;EAChB,CAAC;EACDkI,IAAI,WAAAA,KAAChH,KAAK,EAAE4G,OAAO,EAAE;IACnB,IAAMK,IAAI,GAAGL,OAAO,CAACM,OAAO,CAAC,CAAC;IAC9BpI,GAAG,CAAC,eAAe,EAAEmI,IAAI,EAAE,UAAU,EAAEL,OAAO,CAACO,OAAO,CAAC,CAAC,CAAC;IAEzDnH,KAAK,CAACoH,YAAY,CAACH,IAAI,EAAEjH,KAAK,CAACyE,KAAK,CAAC;EACvC;AACF,CAAC;AAED,IAAM4C,qBAAqB,GAAG,IAAAC,oBAAU,EAACjB,IAAI,EAAES,YAAY,EAAE,UAACH,OAAO,EAAEC,OAAO;EAAA,OAAM;IAClFjG,iBAAiB,EAAEgG,OAAO,CAACY,UAAU,CAAC,CAAC;IACvCnD,MAAM,EAAEwC,OAAO,CAACxC,MAAM,CAAC;EACzB,CAAC;AAAA,CAAC,CAAC,CAACqC,YAAY,CAAC;AAAC,IAAAe,QAAA,GAEHH,qBAAqB;AAAAzD,OAAA,cAAA4D,QAAA"}
@@ -0,0 +1,121 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ /** NOTE: teacherInstructions, studentInstructions, rationale & scoringType
8
+ * functionalities are not defined yet - the value for those can belong to
9
+ * model or to configuration
10
+ */
11
+ var _default = {
12
+ model: {
13
+ choiceLabel: '',
14
+ choices: [],
15
+ correctResponse: [],
16
+ enableImages: false,
17
+ prompt: 'Item Stem goes here',
18
+ numberedGuides: false,
19
+ orientation: 'vertical',
20
+ partialScoring: true,
21
+ placementArea: false,
22
+ removeTilesAfterPlacing: true,
23
+ choiceLabelEnabled: true,
24
+ scoringType: 'auto',
25
+ targetLabel: '',
26
+ rationaleEnabled: true,
27
+ feedbackEnabled: true,
28
+ promptEnabled: true,
29
+ teacherInstructionsEnabled: true,
30
+ studentInstructionsEnabled: true,
31
+ toolbarEditorPosition: 'bottom'
32
+ },
33
+ configuration: {
34
+ choiceLabel: {
35
+ settings: true,
36
+ label: 'Choice label'
37
+ },
38
+ choices: {
39
+ settings: true,
40
+ label: 'Choices'
41
+ },
42
+ enableImages: {
43
+ settings: true,
44
+ label: 'Enable Images'
45
+ },
46
+ feedback: {
47
+ settings: true,
48
+ label: 'Feedback',
49
+ enabled: true
50
+ },
51
+ prompt: {
52
+ settings: true,
53
+ label: 'Item Stem'
54
+ },
55
+ numberedGuides: {
56
+ settings: true,
57
+ label: 'Numbered guides'
58
+ },
59
+ orientation: {
60
+ settings: true,
61
+ label: 'Orientation'
62
+ },
63
+ partialScoring: {
64
+ settings: false,
65
+ label: 'Allow Partial Scoring'
66
+ },
67
+ placementArea: {
68
+ settings: true,
69
+ label: 'Placement Area'
70
+ },
71
+ rationale: {
72
+ settings: true,
73
+ label: 'Rationale'
74
+ },
75
+ removeTilesAfterPlacing: {
76
+ settings: false,
77
+ label: 'Remove Tiles after placing'
78
+ },
79
+ settingsPanelDisabled: false,
80
+ scoringType: {
81
+ settings: false,
82
+ label: 'Scoring Type'
83
+ },
84
+ studentInstructions: {
85
+ settings: false,
86
+ label: 'Student Instructions'
87
+ },
88
+ targetLabel: {
89
+ settings: true,
90
+ label: 'Target label'
91
+ },
92
+ spellCheck: {
93
+ label: 'Spellcheck',
94
+ settings: false,
95
+ enabled: true
96
+ },
97
+ teacherInstructions: {
98
+ settings: true,
99
+ label: 'Teacher Instructions'
100
+ },
101
+ maxImageWidth: {
102
+ teacherInstructions: 300,
103
+ prompt: 300,
104
+ rationale: 300,
105
+ choicesWithPlacementArea: 240,
106
+ choicesWithoutPlacementArea: 300
107
+ },
108
+ maxImageHeight: {
109
+ teacherInstructions: 300,
110
+ prompt: 300,
111
+ rationale: 300,
112
+ choices: 150
113
+ },
114
+ withRubric: {
115
+ settings: false,
116
+ label: 'Add Rubric'
117
+ }
118
+ }
119
+ };
120
+ exports["default"] = _default;
121
+ //# sourceMappingURL=defaults.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaults.js","names":["_default","model","choiceLabel","choices","correctResponse","enableImages","prompt","numberedGuides","orientation","partialScoring","placementArea","removeTilesAfterPlacing","choiceLabelEnabled","scoringType","targetLabel","rationaleEnabled","feedbackEnabled","promptEnabled","teacherInstructionsEnabled","studentInstructionsEnabled","toolbarEditorPosition","configuration","settings","label","feedback","enabled","rationale","settingsPanelDisabled","studentInstructions","spellCheck","teacherInstructions","maxImageWidth","choicesWithPlacementArea","choicesWithoutPlacementArea","maxImageHeight","withRubric","exports"],"sources":["../src/defaults.js"],"sourcesContent":["/** NOTE: teacherInstructions, studentInstructions, rationale & scoringType\n * functionalities are not defined yet - the value for those can belong to\n * model or to configuration\n */\n\nexport default {\n model: {\n choiceLabel: '',\n choices: [],\n correctResponse: [],\n enableImages: false,\n prompt: 'Item Stem goes here',\n numberedGuides: false,\n orientation: 'vertical',\n partialScoring: true,\n placementArea: false,\n removeTilesAfterPlacing: true,\n choiceLabelEnabled: true,\n scoringType: 'auto',\n targetLabel: '',\n rationaleEnabled: true,\n feedbackEnabled: true,\n promptEnabled: true,\n teacherInstructionsEnabled: true,\n studentInstructionsEnabled: true,\n toolbarEditorPosition: 'bottom',\n },\n configuration: {\n choiceLabel: {\n settings: true,\n label: 'Choice label',\n },\n choices: {\n settings: true,\n label: 'Choices',\n },\n enableImages: {\n settings: true,\n label: 'Enable Images',\n },\n feedback: {\n settings: true,\n label: 'Feedback',\n enabled: true,\n },\n prompt: {\n settings: true,\n label: 'Item Stem',\n },\n numberedGuides: {\n settings: true,\n label: 'Numbered guides',\n },\n orientation: {\n settings: true,\n label: 'Orientation',\n },\n partialScoring: {\n settings: false,\n label: 'Allow Partial Scoring',\n },\n placementArea: {\n settings: true,\n label: 'Placement Area',\n },\n rationale: {\n settings: true,\n label: 'Rationale',\n },\n removeTilesAfterPlacing: {\n settings: false,\n label: 'Remove Tiles after placing',\n },\n settingsPanelDisabled: false,\n scoringType: {\n settings: false,\n label: 'Scoring Type',\n },\n studentInstructions: {\n settings: false,\n label: 'Student Instructions',\n },\n targetLabel: {\n settings: true,\n label: 'Target label',\n },\n spellCheck: {\n label: 'Spellcheck',\n settings: false,\n enabled: true,\n },\n teacherInstructions: {\n settings: true,\n label: 'Teacher Instructions',\n },\n maxImageWidth: {\n teacherInstructions: 300,\n prompt: 300,\n rationale: 300,\n choicesWithPlacementArea: 240,\n choicesWithoutPlacementArea: 300,\n },\n maxImageHeight: {\n teacherInstructions: 300,\n prompt: 300,\n rationale: 300,\n choices: 150,\n },\n withRubric: {\n settings: false,\n label: 'Add Rubric',\n },\n },\n};\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AAHA,IAAAA,QAAA,GAKe;EACbC,KAAK,EAAE;IACLC,WAAW,EAAE,EAAE;IACfC,OAAO,EAAE,EAAE;IACXC,eAAe,EAAE,EAAE;IACnBC,YAAY,EAAE,KAAK;IACnBC,MAAM,EAAE,qBAAqB;IAC7BC,cAAc,EAAE,KAAK;IACrBC,WAAW,EAAE,UAAU;IACvBC,cAAc,EAAE,IAAI;IACpBC,aAAa,EAAE,KAAK;IACpBC,uBAAuB,EAAE,IAAI;IAC7BC,kBAAkB,EAAE,IAAI;IACxBC,WAAW,EAAE,MAAM;IACnBC,WAAW,EAAE,EAAE;IACfC,gBAAgB,EAAE,IAAI;IACtBC,eAAe,EAAE,IAAI;IACrBC,aAAa,EAAE,IAAI;IACnBC,0BAA0B,EAAE,IAAI;IAChCC,0BAA0B,EAAE,IAAI;IAChCC,qBAAqB,EAAE;EAC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