@pie-element/explicit-constructed-response 3.9.3-next.917 → 3.9.3-next.968

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 @@ exports.generateValidationMessage = void 0;
7
7
 
8
8
  var generateValidationMessage = function generateValidationMessage(config) {
9
9
  var maxResponseAreas = config.maxResponseAreas;
10
- var responseAreasMessage = '\nThe response area content should ' + 'not be empty and should be unique.\nThere should be at least 1 ' + (maxResponseAreas ? "and at most ".concat(maxResponseAreas, " ") : '') + 'response area' + (maxResponseAreas ? 's' : '') + ' defined.';
10
+ var responseAreasMessage = '\nCorrect answers should not be blank.' + '\nEach answer defined for a response area should be unique.' + '\nThere should be at least 1 ' + (maxResponseAreas ? "and at most ".concat(maxResponseAreas, " ") : '') + 'response area' + (maxResponseAreas ? 's' : '') + ' defined.';
11
11
  return 'Validation requirements:' + responseAreasMessage;
12
12
  };
13
13
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/utils.js"],"names":["generateValidationMessage","config","maxResponseAreas","responseAreasMessage"],"mappings":";;;;;;;AAAO,IAAMA,yBAAyB,GAAG,SAA5BA,yBAA4B,CAAAC,MAAM,EAAI;AACjD,MAAQC,gBAAR,GAA6BD,MAA7B,CAAQC,gBAAR;AAEA,MAAMC,oBAAoB,GAAG,wCAC3B,iEAD2B,IAE1BD,gBAAgB,yBAAkBA,gBAAlB,SAAwC,EAF9B,IAG3B,eAH2B,IAGRA,gBAAgB,GAAG,GAAH,GAAS,EAHjB,IAGuB,WAHpD;AAKA,SAAO,6BAA6BC,oBAApC;AACD,CATM","sourcesContent":["export const generateValidationMessage = config => {\n const { maxResponseAreas } = config;\n\n const responseAreasMessage = '\\nThe response area content should ' +\n 'not be empty and should be unique.\\nThere should be at least 1 ' +\n (maxResponseAreas ? `and at most ${maxResponseAreas} ` : '') +\n 'response area' + (maxResponseAreas ? 's' : '') + ' defined.';\n\n return 'Validation requirements:' + responseAreasMessage;\n};\n"],"file":"utils.js"}
1
+ {"version":3,"sources":["../src/utils.js"],"names":["generateValidationMessage","config","maxResponseAreas","responseAreasMessage"],"mappings":";;;;;;;AAAO,IAAMA,yBAAyB,GAAG,SAA5BA,yBAA4B,CAAAC,MAAM,EAAI;AACjD,MAAQC,gBAAR,GAA6BD,MAA7B,CAAQC,gBAAR;AAEA,MAAMC,oBAAoB,GAAG,2CAC3B,6DAD2B,GAE3B,+BAF2B,IAG1BD,gBAAgB,yBAAkBA,gBAAlB,SAAwC,EAH9B,IAI3B,eAJ2B,IAIRA,gBAAgB,GAAG,GAAH,GAAS,EAJjB,IAIuB,WAJpD;AAMA,SAAO,6BAA6BC,oBAApC;AACD,CAVM","sourcesContent":["export const generateValidationMessage = config => {\n const { maxResponseAreas } = config;\n\n const responseAreasMessage = '\\nCorrect answers should not be blank.' +\n '\\nEach answer defined for a response area should be unique.' +\n '\\nThere should be at least 1 ' +\n (maxResponseAreas ? `and at most ${maxResponseAreas} ` : '') +\n 'response area' + (maxResponseAreas ? 's' : '') + ' defined.';\n\n return 'Validation requirements:' + responseAreasMessage;\n};\n"],"file":"utils.js"}
@@ -8,8 +8,8 @@
8
8
  "@material-ui/core": "^3.9.2",
9
9
  "@material-ui/icons": "^3.0.1",
10
10
  "@pie-framework/pie-configure-events": "^1.2.0",
11
- "@pie-lib/config-ui": "^10.13.2",
12
- "@pie-lib/editable-html": "^7.22.5",
11
+ "@pie-lib/config-ui": "^10.13.3",
12
+ "@pie-lib/editable-html": "^7.22.6",
13
13
  "classnames": "^2.2.6",
14
14
  "debug": "^3.1.0",
15
15
  "lodash": "^4.17.15",
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "repository": "pie-framework/pie-elements",
7
- "version": "3.9.3-next.917+752e77c53",
7
+ "version": "3.9.3-next.968+6e3bc7158",
8
8
  "description": "",
9
9
  "scripts": {
10
10
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -13,10 +13,10 @@
13
13
  "dependencies": {
14
14
  "@material-ui/core": "^3.9.2",
15
15
  "@pie-framework/pie-player-events": "^0.1.0",
16
- "@pie-lib/correct-answer-toggle": "^2.3.38",
17
- "@pie-lib/mask-markup": "^1.12.6",
18
- "@pie-lib/math-rendering": "^2.4.2",
19
- "@pie-lib/render-ui": "^4.12.8",
16
+ "@pie-lib/correct-answer-toggle": "^2.3.39",
17
+ "@pie-lib/mask-markup": "^1.12.7",
18
+ "@pie-lib/math-rendering": "^2.4.3",
19
+ "@pie-lib/render-ui": "^4.12.9",
20
20
  "classnames": "^2.2.5",
21
21
  "lodash": "^4.17.10",
22
22
  "prop-types": "^15.6.1",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "author": "",
27
27
  "license": "ISC",
28
- "gitHead": "752e77c539be63c45f92128f8aa2acad5d1c6acc",
28
+ "gitHead": "6e3bc71587825ca01c15d6edb7a478988f8be439",
29
29
  "main": "lib/index.js",
30
30
  "module": "src/index.js",
31
31
  "exports": {