survey-js-ui 1.12.34 → 1.12.36

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.34",
3
+ "version": "1.12.36",
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.34",
26
+ "survey-core": "1.12.36",
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.34
2
+ * surveyjs - Survey JavaScript library v1.12.36
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.34
113
+ * surveyjs - Survey JavaScript library v1.12.36
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.34
1046
+ * surveyjs - Survey JavaScript library v1.12.36
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
  */
@@ -2891,7 +2891,7 @@ var row_SurveyRow = /** @class */ (function (_super) {
2891
2891
  }
2892
2892
  if (!!el && !this.row.isNeedRender) {
2893
2893
  var rowContainerDiv = el;
2894
- setTimeout(function () {
2894
+ this.lazyRenderingTimeout = setTimeout(function () {
2895
2895
  _this.row.startLazyRendering(rowContainerDiv);
2896
2896
  }, 10);
2897
2897
  }
@@ -2909,12 +2909,14 @@ var row_SurveyRow = /** @class */ (function (_super) {
2909
2909
  return true;
2910
2910
  };
2911
2911
  SurveyRow.prototype.stopLazyRendering = function () {
2912
+ clearTimeout(this.lazyRenderingTimeout);
2912
2913
  this.row.stopLazyRendering();
2913
2914
  this.row.isNeedRender = !this.row.isLazyRendering();
2914
2915
  };
2915
2916
  SurveyRow.prototype.componentWillUnmount = function () {
2917
+ var isCurrentStateElement = this.isCurrentStateElement(this.getStateElement());
2916
2918
  _super.prototype.componentWillUnmount.call(this);
2917
- if (this.isCurrentStateElement(this.getStateElement())) {
2919
+ if (isCurrentStateElement) {
2918
2920
  this.row.setRootElement(undefined);
2919
2921
  this.stopLazyRendering();
2920
2922
  }
@@ -11496,7 +11498,7 @@ var preact = compat_module_namespaceObject;
11496
11498
 
11497
11499
 
11498
11500
 
11499
- Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.34", "survey-js-ui");
11501
+ Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.36", "survey-js-ui");
11500
11502
 
11501
11503
 
11502
11504
  /***/ }),