@pie-element/select-text 8.11.0 → 8.11.1-next.1

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.
@@ -8,7 +8,7 @@
8
8
  "dependencies": {
9
9
  "@material-ui/core": "^3.9.2",
10
10
  "@pie-framework/pie-configure-events": "^1.3.0",
11
- "@pie-lib/pie-toolbox": "1.16.0",
11
+ "@pie-lib/pie-toolbox": "1.16.1-next.28",
12
12
  "debug": "^3.1.0",
13
13
  "lodash": "^4.17.15",
14
14
  "prop-types": "^15.6.2",
@@ -6,7 +6,7 @@
6
6
  "main": "lib/index.js",
7
7
  "module": "src/index.js",
8
8
  "dependencies": {
9
- "@pie-lib/pie-toolbox": "1.16.0",
9
+ "@pie-lib/pie-toolbox": "1.16.1-next.28",
10
10
  "debug": "^3.1.0",
11
11
  "lodash": "^4.17.15"
12
12
  },
package/package.json CHANGED
@@ -4,19 +4,19 @@
4
4
  "access": "public"
5
5
  },
6
6
  "repository": "pie-framework/pie-elements",
7
- "version": "8.11.0",
7
+ "version": "8.11.1-next.1+b15abe678",
8
8
  "description": "",
9
9
  "dependencies": {
10
10
  "@material-ui/core": "^3.9.2",
11
11
  "@pie-framework/pie-player-events": "^0.1.0",
12
- "@pie-lib/pie-toolbox": "1.16.0",
12
+ "@pie-lib/pie-toolbox": "1.16.1-next.28",
13
13
  "prop-types": "^15.6.1",
14
14
  "react": "^16.8.1",
15
15
  "react-dom": "^16.8.1"
16
16
  },
17
17
  "author": "",
18
18
  "license": "ISC",
19
- "gitHead": "2a9337c340a3daf729b7a6fb3569b1c0229b7f66",
19
+ "gitHead": "b15abe678bf81101440641728f578317e11a58c1",
20
20
  "scripts": {
21
21
  "postpublish": "../../scripts/postpublish"
22
22
  },
@@ -1,173 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var tokens = function tokens() {
9
- return [{
10
- text: '',
11
- start: 0,
12
- end: 0
13
- }];
14
- };
15
-
16
- var _default = {
17
- model: {
18
- highlightChoices: false,
19
- partialScoring: false,
20
- maxSelections: 2,
21
- mode: 'sentence',
22
- prompt: 'Question Prompt goes here',
23
- text: '',
24
- tokens: tokens(),
25
- scoringType: 'auto',
26
- feedbackEnabled: false,
27
- rationaleEnabled: true,
28
- promptEnabled: true,
29
- teacherInstructionsEnabled: true,
30
- studentInstructionsEnabled: true,
31
- toolbarEditorPosition: 'bottom'
32
- },
33
- configuration: {
34
- baseInputConfiguration: {
35
- audio: {
36
- disabled: false
37
- },
38
- video: {
39
- disabled: false
40
- },
41
- image: {
42
- disabled: false
43
- }
44
- },
45
- selectionCount: {
46
- settings: true,
47
- label: 'Selection count'
48
- },
49
- correctAnswer: {
50
- settings: true,
51
- label: 'Correct Answers'
52
- },
53
- selections: {
54
- settings: true,
55
- label: 'Selections Available'
56
- },
57
- highlightChoices: {
58
- settings: true,
59
- label: 'Highlight choices'
60
- },
61
- rationale: {
62
- settings: true,
63
- label: 'Rationale',
64
- inputConfiguration: {
65
- audio: {
66
- disabled: false
67
- },
68
- video: {
69
- disabled: false
70
- },
71
- image: {
72
- disabled: false
73
- }
74
- },
75
- required: false
76
- },
77
- scoringType: {
78
- settings: false,
79
- label: 'Scoring Type'
80
- },
81
- studentInstructions: {
82
- settings: false,
83
- label: 'Student Instructions'
84
- },
85
- teacherInstructions: {
86
- settings: true,
87
- label: 'Teacher Instructions',
88
- inputConfiguration: {
89
- audio: {
90
- disabled: false
91
- },
92
- video: {
93
- disabled: false
94
- },
95
- image: {
96
- disabled: false
97
- }
98
- },
99
- required: false
100
- },
101
- prompt: {
102
- label: 'Prompt',
103
- settings: true,
104
- inputConfiguration: {
105
- audio: {
106
- disabled: false
107
- },
108
- video: {
109
- disabled: false
110
- },
111
- image: {
112
- disabled: false
113
- }
114
- },
115
- required: false
116
- },
117
- text: {
118
- settings: true,
119
- label: 'Content'
120
- },
121
- tokens: {
122
- settings: true,
123
- label: 'Tokens'
124
- },
125
- feedback: {
126
- settings: true,
127
- label: 'Feedback'
128
- },
129
- spellCheck: {
130
- label: 'Spellcheck',
131
- settings: false,
132
- enabled: true
133
- },
134
- partialScoring: {
135
- settings: false,
136
- label: 'Allow Partial Scoring'
137
- },
138
- mode: {
139
- settings: true,
140
- label: 'Mode'
141
- },
142
- minTokens: 2,
143
- maxImageWidth: {
144
- teacherInstructions: 300,
145
- prompt: 300,
146
- rationale: 300
147
- },
148
- maxImageHeight: {
149
- teacherInstructions: 300,
150
- prompt: 300,
151
- rationale: 300
152
- },
153
- withRubric: {
154
- settings: false,
155
- label: 'Add Rubric'
156
- },
157
- mathMlOptions: {
158
- mmlOutput: false,
159
- mmlEditing: false
160
- },
161
- language: {
162
- settings: false,
163
- label: 'Specify Language',
164
- enabled: false
165
- },
166
- languageChoices: {
167
- label: 'Language Choices',
168
- options: []
169
- }
170
- }
171
- };
172
- exports["default"] = _default;
173
- //# sourceMappingURL=defaultConfiguration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/defaultConfiguration.js"],"names":["tokens","text","start","end","model","highlightChoices","partialScoring","maxSelections","mode","prompt","scoringType","feedbackEnabled","rationaleEnabled","promptEnabled","teacherInstructionsEnabled","studentInstructionsEnabled","toolbarEditorPosition","configuration","baseInputConfiguration","audio","disabled","video","image","selectionCount","settings","label","correctAnswer","selections","rationale","inputConfiguration","required","studentInstructions","teacherInstructions","feedback","spellCheck","enabled","minTokens","maxImageWidth","maxImageHeight","withRubric","mathMlOptions","mmlOutput","mmlEditing","language","languageChoices","options"],"mappings":";;;;;;;AAAA,IAAMA,MAAM,GAAG,SAATA,MAAS;AAAA,SAAM,CACnB;AACEC,IAAAA,IAAI,EAAE,EADR;AAEEC,IAAAA,KAAK,EAAE,CAFT;AAGEC,IAAAA,GAAG,EAAE;AAHP,GADmB,CAAN;AAAA,CAAf;;eAQe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,gBAAgB,EAAE,KADb;AAEL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EAAE;AACfnB,MAAAA,KAAK,EAAE,kBADQ;AAEfoB,MAAAA,OAAO,EAAE;AAFM;AA7GJ;AAjBF,C","sourcesContent":["const tokens = () => [\n {\n text: '',\n start: 0,\n end: 0,\n },\n];\n\nexport default {\n model: {\n highlightChoices: false,\n partialScoring: false,\n maxSelections: 2,\n mode: 'sentence',\n prompt: 'Question Prompt goes here',\n text: '',\n tokens: tokens(),\n scoringType: 'auto',\n feedbackEnabled: false,\n rationaleEnabled: true,\n promptEnabled: true,\n teacherInstructionsEnabled: true,\n studentInstructionsEnabled: true,\n toolbarEditorPosition: 'bottom',\n },\n configuration: {\n baseInputConfiguration: {\n audio: { disabled: false },\n video: { disabled: false },\n image: { disabled: false },\n },\n selectionCount: {\n settings: true,\n label: 'Selection count',\n },\n correctAnswer: {\n settings: true,\n label: 'Correct Answers',\n },\n selections: {\n settings: true,\n label: 'Selections Available',\n },\n highlightChoices: {\n settings: true,\n label: 'Highlight choices',\n },\n rationale: {\n settings: true,\n label: 'Rationale',\n inputConfiguration: {\n audio: { disabled: false },\n video: { disabled: false },\n image: { disabled: false },\n },\n required: false,\n },\n scoringType: {\n settings: false,\n label: 'Scoring Type',\n },\n studentInstructions: {\n settings: false,\n label: 'Student Instructions',\n },\n teacherInstructions: {\n settings: true,\n label: 'Teacher Instructions',\n inputConfiguration: {\n audio: { disabled: false },\n video: { disabled: false },\n image: { disabled: false },\n },\n required: false,\n },\n prompt: {\n label: 'Prompt',\n settings: true,\n inputConfiguration: {\n audio: { disabled: false },\n video: { disabled: false },\n image: { disabled: false },\n },\n required: false,\n },\n text: {\n settings: true,\n label: 'Content',\n },\n tokens: {\n settings: true,\n label: 'Tokens',\n },\n feedback: {\n settings: true,\n label: 'Feedback',\n },\n spellCheck: {\n label: 'Spellcheck',\n settings: false,\n enabled: true,\n },\n partialScoring: {\n settings: false,\n label: 'Allow Partial Scoring',\n },\n mode: {\n settings: true,\n label: 'Mode',\n },\n minTokens: 2,\n maxImageWidth: {\n teacherInstructions: 300,\n prompt: 300,\n rationale: 300,\n },\n maxImageHeight: {\n teacherInstructions: 300,\n prompt: 300,\n rationale: 300,\n },\n withRubric: {\n settings: false,\n label: 'Add Rubric',\n },\n mathMlOptions: {\n mmlOutput: false,\n mmlEditing: false,\n },\n language: {\n settings: false,\n label: 'Specify Language',\n enabled: false,\n },\n languageChoices: {\n label: 'Language Choices',\n options: [],\n },\n },\n};\n"],"file":"defaultConfiguration.js"}