survey-react-ui 2.3.6 → 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
|
};
|
|
@@ -9353,7 +9355,7 @@ var SurveyQuestionMatrixDropdownBase = /** @class */ (function (_super) {
|
|
|
9353
9355
|
};
|
|
9354
9356
|
SurveyQuestionMatrixDropdownBase.prototype.renderTableDiv = function () {
|
|
9355
9357
|
var _this = this;
|
|
9356
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.tableWrapper, ref: function (root) { return (_this.setControl(root)); } },
|
|
9358
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.tableWrapper, "data-sv-drop-target-matrix-row": this.question.renderedTable.wrapperDropTargetId, ref: function (root) { return (_this.setControl(root)); } },
|
|
9357
9359
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyQuestionMatrixTable, { question: this.question, creator: this.creator, wrapCell: function (cell, element, reason) { return _this.wrapCell(cell, element, reason); } })));
|
|
9358
9360
|
};
|
|
9359
9361
|
return SurveyQuestionMatrixDropdownBase;
|
|
@@ -11454,7 +11456,9 @@ var SurveyQuestionSignaturePad = /** @class */ (function (_super) {
|
|
|
11454
11456
|
return null;
|
|
11455
11457
|
var cssClasses = this.question.cssClasses;
|
|
11456
11458
|
return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.controls },
|
|
11457
|
-
react__WEBPACK_IMPORTED_MODULE_0__.createElement("button", { type: "button", className: cssClasses.clearButton, title: this.question.clearButtonCaption, onClick: function () { return _this.question.clearValue(true); } },
|
|
11459
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("button", { type: "button", className: cssClasses.clearButton, title: this.question.clearButtonCaption, onClick: function () { return _this.question.clearValue(true); } },
|
|
11460
|
+
this.question.cssClasses.clearButtonIconId ? react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { iconName: this.question.cssClasses.clearButtonIconId, size: "auto" }) : react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", null, "\u2716"),
|
|
11461
|
+
" "));
|
|
11458
11462
|
};
|
|
11459
11463
|
return SurveyQuestionSignaturePad;
|
|
11460
11464
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__.SurveyQuestionElementBase));
|
|
@@ -12140,7 +12144,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12140
12144
|
|
|
12141
12145
|
|
|
12142
12146
|
|
|
12143
|
-
(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");
|
|
12144
12148
|
|
|
12145
12149
|
})();
|
|
12146
12150
|
|