@awell-health/ui-library 0.1.102 → 0.1.103

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -48904,7 +48904,7 @@ var Kr=[{
48904
48904
  return Math.round((currentQuestionIndex + 1) / allQuestions.length * 100);
48905
48905
  };
48906
48906
  var getErrorsForQuestion = function (currentQuestion, formMethods, errorLabels, isValidE164Number, validateDateResponse, validateNumberResponse, validateEmailResponse, validateAttachmentsResponse, validateInputValidationResponse) {
48907
- var _a, _b, _c;
48907
+ var _a;
48908
48908
  if ((currentQuestion === null || currentQuestion === void 0 ? void 0 : currentQuestion.userQuestionType) === exports.UserQuestionType.Description) {
48909
48909
  return [];
48910
48910
  }
@@ -49017,7 +49017,7 @@ var Kr=[{
49017
49017
  return [
49018
49018
  {
49019
49019
  id: currentQuestion.id,
49020
- error: ((_c = (_b = currentQuestion === null || currentQuestion === void 0 ? void 0 : currentQuestion.questionConfig) === null || _b === void 0 ? void 0 : _b.input_validation) === null || _c === void 0 ? void 0 : _c.helper_text) || 'The input value is invalid.' }];}
49020
+ error: "Please check your response to the question ".concat((currentQuestion === null || currentQuestion === void 0 ? void 0 : currentQuestion.title) ? "'" + (currentQuestion === null || currentQuestion === void 0 ? void 0 : currentQuestion.title) + "'" : '') }];}
49021
49021
 
49022
49022
 
49023
49023
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awell-health/ui-library",
3
- "version": "0.1.102",
3
+ "version": "0.1.103",
4
4
  "description": "UI components to integrate with Awell Health",
5
5
  "repository": {
6
6
  "type": "git",