survey-js-ui 1.12.33 → 1.12.35
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/fesm/survey-js-ui.mjs +30 -10
- package/fesm/survey-js-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-js-ui.js +13 -10
- package/survey-js-ui.js.map +1 -1
- package/survey-js-ui.min.js +4 -4
- package/survey-js-ui.min.js.LICENSE.txt +1 -1
- package/typings/survey-react-ui/entries/react-ui-model.d.ts +1 -0
- package/typings/survey-react-ui/src/buttongroup-dropdown.d.ts +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-js-ui",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.35",
|
|
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",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"typings": "./typings/src/entries/js-ui.d.ts",
|
|
24
24
|
"dependencies": {},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"survey-core": "1.12.
|
|
26
|
+
"survey-core": "1.12.35",
|
|
27
27
|
"@types/react-dom": "*",
|
|
28
28
|
"@types/react": "*"
|
|
29
29
|
}
|
package/survey-js-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
2
|
+
* surveyjs - Survey JavaScript library v1.12.35
|
|
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
|
*/
|
|
@@ -110,7 +110,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
110
110
|
/***/ (function(module, exports, __webpack_require__) {
|
|
111
111
|
|
|
112
112
|
/*!
|
|
113
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
113
|
+
* surveyjs - Survey JavaScript library v1.12.35
|
|
114
114
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
115
115
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
116
116
|
*/
|
|
@@ -1043,7 +1043,7 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
1043
1043
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1044
1044
|
|
|
1045
1045
|
/*!
|
|
1046
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
1046
|
+
* surveyjs - Survey JavaScript library v1.12.35
|
|
1047
1047
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
1048
1048
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
1049
1049
|
*/
|
|
@@ -2913,8 +2913,9 @@ var row_SurveyRow = /** @class */ (function (_super) {
|
|
|
2913
2913
|
this.row.isNeedRender = !this.row.isLazyRendering();
|
|
2914
2914
|
};
|
|
2915
2915
|
SurveyRow.prototype.componentWillUnmount = function () {
|
|
2916
|
+
var isCurrentStateElement = this.isCurrentStateElement(this.getStateElement());
|
|
2916
2917
|
_super.prototype.componentWillUnmount.call(this);
|
|
2917
|
-
if (
|
|
2918
|
+
if (isCurrentStateElement) {
|
|
2918
2919
|
this.row.setRootElement(undefined);
|
|
2919
2920
|
this.stopLazyRendering();
|
|
2920
2921
|
}
|
|
@@ -6562,19 +6563,21 @@ var dropdown_base_SurveyQuestionDropdownBase = /** @class */ (function (_super)
|
|
|
6562
6563
|
return this.questionBase.renderedValue;
|
|
6563
6564
|
};
|
|
6564
6565
|
SurveyQuestionDropdownBase.prototype.renderReadOnlyElement = function () {
|
|
6565
|
-
|
|
6566
|
+
if (this.question.locReadOnlyText) {
|
|
6567
|
+
return this.renderLocString(this.question.locReadOnlyText);
|
|
6568
|
+
}
|
|
6569
|
+
else {
|
|
6570
|
+
return null;
|
|
6571
|
+
}
|
|
6566
6572
|
};
|
|
6567
6573
|
SurveyQuestionDropdownBase.prototype.renderSelect = function (cssClasses) {
|
|
6568
6574
|
var _this = this;
|
|
6569
6575
|
var _a, _b;
|
|
6570
6576
|
var selectElement = null;
|
|
6571
6577
|
if (this.question.isReadOnly) {
|
|
6572
|
-
var text = (this.question.selectedItemLocText) ? this.renderLocString(this.question.selectedItemLocText) : "";
|
|
6573
6578
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
6574
6579
|
// @ts-ignore
|
|
6575
|
-
selectElement = _("div", { id: this.question.inputId, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-describedby": this.question.a11y_input_ariaDescribedBy, tabIndex: this.question.isDisabledAttr ? undefined : 0, className: this.question.getControlClass(), ref: function (div) { return (_this.setControl(div)); } },
|
|
6576
|
-
text,
|
|
6577
|
-
this.renderReadOnlyElement());
|
|
6580
|
+
selectElement = _("div", { id: this.question.inputId, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-describedby": this.question.a11y_input_ariaDescribedBy, tabIndex: this.question.isDisabledAttr ? undefined : 0, className: this.question.getControlClass(), ref: function (div) { return (_this.setControl(div)); } }, this.renderReadOnlyElement());
|
|
6578
6581
|
}
|
|
6579
6582
|
else {
|
|
6580
6583
|
selectElement = _(k, null,
|
|
@@ -11494,7 +11497,7 @@ var preact = compat_module_namespaceObject;
|
|
|
11494
11497
|
|
|
11495
11498
|
|
|
11496
11499
|
|
|
11497
|
-
Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.
|
|
11500
|
+
Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.35", "survey-js-ui");
|
|
11498
11501
|
|
|
11499
11502
|
|
|
11500
11503
|
/***/ }),
|