survey-react-ui 2.3.15 → 2.3.16
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,16 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-react-ui",
|
|
3
|
-
"version": "2.3.
|
|
4
|
-
"
|
|
3
|
+
"version": "2.3.16",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"author": "DevSoft Baltic OU <info@devsoftbaltic.com>",
|
|
6
|
+
"homepage": "https://surveyjs.io/",
|
|
7
|
+
"description": "A free MIT-licensed React UI component that renders dynamic, interactive JSON-based forms and surveys. You can use it to collect responses from users and send them to your own database.",
|
|
5
8
|
"keywords": [
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
9
|
+
"react",
|
|
10
|
+
"survey",
|
|
11
|
+
"form",
|
|
12
|
+
"surveyjs",
|
|
13
|
+
"survey-library",
|
|
14
|
+
"react-component",
|
|
15
|
+
"form-rendering",
|
|
16
|
+
"survey-renderer",
|
|
17
|
+
"dynamic-form",
|
|
18
|
+
"interactive-form",
|
|
19
|
+
"form-library",
|
|
20
|
+
"form-management",
|
|
21
|
+
"questionnaire",
|
|
22
|
+
"data-collection",
|
|
23
|
+
"data-validation",
|
|
24
|
+
"form-validation",
|
|
25
|
+
"input-validation",
|
|
26
|
+
"ui-component",
|
|
27
|
+
"json",
|
|
28
|
+
"json-schema",
|
|
29
|
+
"react-schema-form",
|
|
30
|
+
"survey-renderer",
|
|
31
|
+
"client-side",
|
|
32
|
+
"frontend",
|
|
33
|
+
"javascript",
|
|
34
|
+
"typescript"
|
|
11
35
|
],
|
|
12
|
-
"homepage": "https://surveyjs.io/",
|
|
13
|
-
"license": "MIT",
|
|
14
36
|
"files": [
|
|
15
37
|
"**/*"
|
|
16
38
|
],
|
|
@@ -29,7 +51,7 @@
|
|
|
29
51
|
}
|
|
30
52
|
},
|
|
31
53
|
"peerDependencies": {
|
|
32
|
-
"survey-core": "2.3.
|
|
54
|
+
"survey-core": "2.3.16",
|
|
33
55
|
"react": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
|
|
34
56
|
"react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0"
|
|
35
57
|
}
|
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.16
|
|
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.16
|
|
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.16
|
|
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
|
*/
|
|
@@ -8483,15 +8483,18 @@ var SurveyQuestionFile = /** @class */ (function (_super) {
|
|
|
8483
8483
|
var video = this.question.isPlayingVideo ? this.renderVideo() : null;
|
|
8484
8484
|
var fileDecorator = this.question.showFileDecorator ? this.renderFileDecorator() : null;
|
|
8485
8485
|
var fileNavigator = this.question.fileNavigatorVisible ? (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_1__.SurveyActionBar, { model: this.question.fileNavigator })) : null;
|
|
8486
|
+
var acceptedTypes = this.question.renderedAcceptedTypes;
|
|
8487
|
+
var className = !this.isDisplayMode ? this.question.cssClasses.fileInput : this.question.getReadOnlyFileCss();
|
|
8488
|
+
var style = this.isDisplayMode ? { color: "transparent" } : {};
|
|
8486
8489
|
var fileInput;
|
|
8487
8490
|
if (this.question.isReadOnlyAttr) {
|
|
8488
|
-
fileInput = react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { readOnly: true, type: "file", className:
|
|
8491
|
+
fileInput = react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { readOnly: true, type: "file", className: className, id: this.question.inputId, ref: function (input) { return (_this.setControl(input)); }, style: style, multiple: this.question.allowMultiple, placeholder: this.question.title, accept: acceptedTypes });
|
|
8489
8492
|
}
|
|
8490
8493
|
else if (this.question.isDisabledAttr) {
|
|
8491
|
-
fileInput = react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { disabled: true, type: "file", className:
|
|
8494
|
+
fileInput = react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { disabled: true, type: "file", className: className, id: this.question.inputId, ref: function (input) { return (_this.setControl(input)); }, style: style, multiple: this.question.allowMultiple, placeholder: this.question.title, accept: acceptedTypes });
|
|
8492
8495
|
}
|
|
8493
8496
|
else if (this.question.hasFileUI) {
|
|
8494
|
-
fileInput = react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { type: "file", disabled: this.isDisplayMode, tabIndex: -1, className:
|
|
8497
|
+
fileInput = react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { type: "file", disabled: this.isDisplayMode, tabIndex: -1, className: className, id: this.question.inputId, ref: function (input) { return (_this.setControl(input)); }, style: style, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage, multiple: this.question.allowMultiple, title: this.question.inputTitle, accept: acceptedTypes, capture: this.question.renderCapture });
|
|
8495
8498
|
}
|
|
8496
8499
|
else {
|
|
8497
8500
|
fileInput = null;
|
|
@@ -12090,7 +12093,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12090
12093
|
|
|
12091
12094
|
|
|
12092
12095
|
|
|
12093
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_0__.checkLibraryVersion)("".concat("2.3.
|
|
12096
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_0__.checkLibraryVersion)("".concat("2.3.16"), "survey-react-ui");
|
|
12094
12097
|
|
|
12095
12098
|
})();
|
|
12096
12099
|
|