survey-js-ui 1.12.33 → 1.12.34

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-js-ui",
3
- "version": "1.12.33",
3
+ "version": "1.12.34",
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.33",
26
+ "survey-core": "1.12.34",
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.33
2
+ * surveyjs - Survey JavaScript library v1.12.34
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.33
113
+ * surveyjs - Survey JavaScript library v1.12.34
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.33
1046
+ * surveyjs - Survey JavaScript library v1.12.34
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
  */
@@ -6562,19 +6562,21 @@ var dropdown_base_SurveyQuestionDropdownBase = /** @class */ (function (_super)
6562
6562
  return this.questionBase.renderedValue;
6563
6563
  };
6564
6564
  SurveyQuestionDropdownBase.prototype.renderReadOnlyElement = function () {
6565
- return _("div", null, this.question.readOnlyText);
6565
+ if (this.question.locReadOnlyText) {
6566
+ return this.renderLocString(this.question.locReadOnlyText);
6567
+ }
6568
+ else {
6569
+ return null;
6570
+ }
6566
6571
  };
6567
6572
  SurveyQuestionDropdownBase.prototype.renderSelect = function (cssClasses) {
6568
6573
  var _this = this;
6569
6574
  var _a, _b;
6570
6575
  var selectElement = null;
6571
6576
  if (this.question.isReadOnly) {
6572
- var text = (this.question.selectedItemLocText) ? this.renderLocString(this.question.selectedItemLocText) : "";
6573
6577
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
6574
6578
  // @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());
6579
+ 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
6580
  }
6579
6581
  else {
6580
6582
  selectElement = _(k, null,
@@ -11494,7 +11496,7 @@ var preact = compat_module_namespaceObject;
11494
11496
 
11495
11497
 
11496
11498
 
11497
- Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.33", "survey-js-ui");
11499
+ Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.34", "survey-js-ui");
11498
11500
 
11499
11501
 
11500
11502
  /***/ }),