survey-react-ui 1.9.115 → 1.9.116
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 +2 -2
- package/survey-react-ui.js +5 -5
- package/survey-react-ui.js.map +1 -1
- package/survey-react-ui.min.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-react-ui",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.116",
|
|
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",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"typings": "survey-react-ui.d.ts",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"survey-core": "1.9.
|
|
24
|
+
"survey-core": "1.9.116",
|
|
25
25
|
"react": "^16.5.0 || ^17.0.1 || ^18.1.0",
|
|
26
26
|
"react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0"
|
|
27
27
|
}
|
package/survey-react-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v1.9.
|
|
2
|
+
* surveyjs - Survey JavaScript library v1.9.116
|
|
3
3
|
* Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -2560,7 +2560,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2560
2560
|
|
|
2561
2561
|
|
|
2562
2562
|
|
|
2563
|
-
Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["checkLibraryVersion"])("" + "1.9.
|
|
2563
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["checkLibraryVersion"])("" + "1.9.116", "survey-react-ui");
|
|
2564
2564
|
|
|
2565
2565
|
|
|
2566
2566
|
/***/ }),
|
|
@@ -10241,7 +10241,7 @@ var SurveyActionBarItem = /** @class */ (function (_super) {
|
|
|
10241
10241
|
var title = this.item.tooltip || this.item.title;
|
|
10242
10242
|
var buttonContent = this.renderButtonContent();
|
|
10243
10243
|
var tabIndex = this.item.disableTabStop ? -1 : undefined;
|
|
10244
|
-
var button = Object(_reactSurvey__WEBPACK_IMPORTED_MODULE_3__["attachKey2click"])(react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("button", { className: className, type: "button", disabled: this.item.disabled, onClick: function (args) { return _this.item.action(_this.item, _this.item.getIsTrusted(args)); }, title: title, tabIndex: tabIndex, "aria-checked": this.item.ariaChecked, "aria-expanded": this.item.ariaExpanded, role: this.item.ariaRole }, buttonContent),
|
|
10244
|
+
var button = Object(_reactSurvey__WEBPACK_IMPORTED_MODULE_3__["attachKey2click"])(react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("button", { className: className, type: "button", disabled: this.item.disabled, onClick: function (args) { return _this.item.action(_this.item, _this.item.getIsTrusted(args)); }, title: title, tabIndex: tabIndex, "aria-checked": this.item.ariaChecked, "aria-expanded": this.item.ariaExpanded, role: this.item.ariaRole }, buttonContent), this.item, { processEsc: false });
|
|
10245
10245
|
return button;
|
|
10246
10246
|
};
|
|
10247
10247
|
return SurveyActionBarItem;
|
|
@@ -19177,7 +19177,7 @@ var SurveyQuestionSignaturePad = /** @class */ (function (_super) {
|
|
|
19177
19177
|
var _this = this;
|
|
19178
19178
|
var cssClasses = this.question.cssClasses;
|
|
19179
19179
|
var clearButton = this.renderCleanButton();
|
|
19180
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: cssClasses.root, ref: function (root) { return (_this.setControl(root)); }, style: {
|
|
19180
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: cssClasses.root, ref: function (root) { return (_this.setControl(root)); }, style: { width: this.question.renderedCanvasWidth } },
|
|
19181
19181
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: cssClasses.placeholder, style: { display: this.question.needShowPlaceholder() ? "" : "none" } }, this.renderLocString(this.question.locPlaceholder)),
|
|
19182
19182
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", null,
|
|
19183
19183
|
this.renderBackgroundImage(),
|
|
@@ -19187,7 +19187,7 @@ var SurveyQuestionSignaturePad = /** @class */ (function (_super) {
|
|
|
19187
19187
|
SurveyQuestionSignaturePad.prototype.renderBackgroundImage = function () {
|
|
19188
19188
|
if (!this.question.backgroundImage)
|
|
19189
19189
|
return null;
|
|
19190
|
-
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("img", { className: this.question.cssClasses.backgroundImage, src: this.question.backgroundImage,
|
|
19190
|
+
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("img", { className: this.question.cssClasses.backgroundImage, src: this.question.backgroundImage, style: { width: this.question.renderedCanvasWidth } });
|
|
19191
19191
|
};
|
|
19192
19192
|
SurveyQuestionSignaturePad.prototype.renderCleanButton = function () {
|
|
19193
19193
|
var _this = this;
|