survey-react-ui 1.12.50 → 1.12.52

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-react-ui",
3
- "version": "1.12.50",
3
+ "version": "1.12.52",
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": "./typings/src/entries/react-ui.d.ts",
23
23
  "peerDependencies": {
24
- "survey-core": "1.12.50",
24
+ "survey-core": "1.12.52",
25
25
  "react": "^16.5.0 || ^17.0.1 || ^18.2.0 || ^19.0.0",
26
26
  "react-dom": "^16.5.0 || ^17.0.1 || ^18.2.0 || ^19.0.0"
27
27
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.50
2
+ * surveyjs - Survey JavaScript library v1.12.52
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.50
113
+ * surveyjs - Survey JavaScript library v1.12.52
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.50
1046
+ * surveyjs - Survey JavaScript library v1.12.52
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
  */
@@ -6299,8 +6299,9 @@ var tagbox_filter_TagboxFilterString = /** @class */ (function (_super) {
6299
6299
  }
6300
6300
  };
6301
6301
  TagboxFilterString.prototype.onChange = function (e) {
6302
- var root = external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["settings"].environment.root;
6303
- if (e.target === root.activeElement) {
6302
+ var _a;
6303
+ var activeElement = (_a = e.target.getRootNode()) === null || _a === void 0 ? void 0 : _a.activeElement;
6304
+ if (e.target === activeElement) {
6304
6305
  this.model.inputStringRendered = e.target.value;
6305
6306
  }
6306
6307
  };
@@ -6503,9 +6504,10 @@ var dropdown_base_SurveyQuestionDropdownBase = /** @class */ (function (_super)
6503
6504
  SurveyQuestionDropdownBase.prototype.renderInput = function (dropdownListModel) {
6504
6505
  var _this = this;
6505
6506
  var valueElement = this.renderValueElement(dropdownListModel);
6506
- var root = external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["settings"].environment.root;
6507
6507
  var onInputChange = function (e) {
6508
- if (e.target === root.activeElement) {
6508
+ var _a;
6509
+ var activeElement = (_a = e.target.getRootNode()) === null || _a === void 0 ? void 0 : _a.activeElement;
6510
+ if (e.target === activeElement) {
6509
6511
  dropdownListModel.inputStringRendered = e.target.value;
6510
6512
  }
6511
6513
  };
@@ -9533,7 +9535,6 @@ var list_extends = (undefined && undefined.__extends) || (function () {
9533
9535
 
9534
9536
 
9535
9537
 
9536
-
9537
9538
  var list_List = /** @class */ (function (_super) {
9538
9539
  list_extends(List, _super);
9539
9540
  function List(props) {
@@ -9618,8 +9619,9 @@ var list_List = /** @class */ (function (_super) {
9618
9619
  return null;
9619
9620
  else {
9620
9621
  var onChange = function (e) {
9621
- var root = external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["settings"].environment.root;
9622
- if (e.target === root.activeElement) {
9622
+ var _a;
9623
+ var activeElement = (_a = e.target.getRootNode()) === null || _a === void 0 ? void 0 : _a.activeElement;
9624
+ if (e.target === activeElement) {
9623
9625
  _this.model.filterString = e.target.value;
9624
9626
  }
9625
9627
  };
@@ -11325,7 +11327,7 @@ ReactElementFactory.Instance.registerElement(external_root_Survey_commonjs2_surv
11325
11327
 
11326
11328
 
11327
11329
 
11328
- Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.50", "survey-react-ui");
11330
+ Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.52", "survey-react-ui");
11329
11331
 
11330
11332
 
11331
11333
  /***/ }),