survey-react-ui 2.3.7 → 2.3.8
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-react-ui",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.8",
|
|
4
4
|
"description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"survey-core": "2.3.
|
|
32
|
+
"survey-core": "2.3.8",
|
|
33
33
|
"react": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
|
|
34
34
|
"react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0"
|
|
35
35
|
}
|
package/survey-react-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
2
|
+
* surveyjs - Survey JavaScript library v2.3.8
|
|
3
3
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -28,7 +28,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28
28
|
/* harmony export */ icons: () => (/* binding */ iconsV1)
|
|
29
29
|
/* harmony export */ });
|
|
30
30
|
/*!
|
|
31
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
31
|
+
* surveyjs - Survey JavaScript library v2.3.8
|
|
32
32
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
33
33
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
34
34
|
*/
|
|
@@ -114,7 +114,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
114
114
|
/* harmony export */ icons: () => (/* binding */ iconsV2)
|
|
115
115
|
/* harmony export */ });
|
|
116
116
|
/*!
|
|
117
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
117
|
+
* surveyjs - Survey JavaScript library v2.3.8
|
|
118
118
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
119
119
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
120
120
|
*/
|
|
@@ -3378,10 +3378,12 @@ var QuestionErrorComponent = /** @class */ (function (_super) {
|
|
|
3378
3378
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
3379
3379
|
}
|
|
3380
3380
|
QuestionErrorComponent.prototype.render = function () {
|
|
3381
|
+
var error = this.props.error;
|
|
3382
|
+
var classes = this.props.cssClasses;
|
|
3381
3383
|
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", null,
|
|
3382
|
-
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className:
|
|
3384
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: error.getCssIcon(classes), "aria-hidden": "true" }),
|
|
3383
3385
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.props.cssClasses.error.item || undefined },
|
|
3384
|
-
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_string_viewer__WEBPACK_IMPORTED_MODULE_2__.SurveyLocStringViewer, { locStr:
|
|
3386
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_string_viewer__WEBPACK_IMPORTED_MODULE_2__.SurveyLocStringViewer, { locStr: error.locText }))));
|
|
3385
3387
|
};
|
|
3386
3388
|
return QuestionErrorComponent;
|
|
3387
3389
|
}(react__WEBPACK_IMPORTED_MODULE_0__.Component));
|
|
@@ -7201,9 +7203,9 @@ var SurveyElementErrors = /** @class */ (function (_super) {
|
|
|
7201
7203
|
};
|
|
7202
7204
|
SurveyElementErrors.prototype.renderElement = function () {
|
|
7203
7205
|
var errors = [];
|
|
7204
|
-
for (var i = 0; i < this.element.
|
|
7206
|
+
for (var i = 0; i < this.element.renderedErrors.length; i++) {
|
|
7205
7207
|
var key = "error" + i;
|
|
7206
|
-
errors.push(this.creator.renderError(key, this.element.
|
|
7208
|
+
errors.push(this.creator.renderError(key, this.element.renderedErrors[i], this.cssClasses, this.element));
|
|
7207
7209
|
}
|
|
7208
7210
|
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.element.cssError, id: this.id }, errors));
|
|
7209
7211
|
};
|
|
@@ -12142,7 +12144,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12142
12144
|
|
|
12143
12145
|
|
|
12144
12146
|
|
|
12145
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_0__.checkLibraryVersion)("".concat("2.3.
|
|
12147
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_0__.checkLibraryVersion)("".concat("2.3.8"), "survey-react-ui");
|
|
12146
12148
|
|
|
12147
12149
|
})();
|
|
12148
12150
|
|