survey-react 1.12.49 → 1.12.51

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/defaultV2.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.49
2
+ * surveyjs - Survey JavaScript library v1.12.51
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
  */
package/defaultV2.min.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.49
2
+ * surveyjs - Survey JavaScript library v1.12.51
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
  */
package/modern.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.49
2
+ * surveyjs - Survey JavaScript library v1.12.51
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
  */
package/modern.min.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.49
2
+ * surveyjs - Survey JavaScript library v1.12.51
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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-react",
3
- "version": "1.12.49",
3
+ "version": "1.12.51",
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",
package/survey.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.49
2
+ * surveyjs - Survey JavaScript library v1.12.51
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
  */
package/survey.min.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.49
2
+ * surveyjs - Survey JavaScript library v1.12.51
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
  */
package/survey.react.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.49
2
+ * surveyjs - Survey JavaScript library v1.12.51
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
  */
@@ -29678,7 +29678,7 @@ var question_matrixdropdownbase_MatrixDropdownRowModelBase = /** @class */ (func
29678
29678
  };
29679
29679
  MatrixDropdownRowModelBase.prototype.getEditingSurveyElement = function () { return undefined; };
29680
29680
  MatrixDropdownRowModelBase.prototype.setValueCore = function (name, newColumnValue, isComment) {
29681
- if (this.isSettingValue)
29681
+ if (this.isSettingValue || this.isCreatingDetailPanel)
29682
29682
  return;
29683
29683
  this.updateQuestionsValue(name, newColumnValue, isComment);
29684
29684
  if (!isComment) {
@@ -43276,12 +43276,17 @@ var survey_SurveyModel = /** @class */ (function (_super) {
43276
43276
  * [View Demo](https://surveyjs.io/form-library/examples/survey-changenavigation/ (linkStyle))
43277
43277
  */
43278
43278
  SurveyModel.prototype.addNavigationItem = function (val) {
43279
+ var _this = this;
43279
43280
  if (!val.component) {
43280
43281
  val.component = "sv-nav-btn";
43281
43282
  }
43282
43283
  if (!val.innerCss) {
43283
43284
  val.innerCss = this.cssSurveyNavigationButton;
43284
43285
  }
43286
+ var originalActionFunc = val.action;
43287
+ val.action = function () {
43288
+ _this.taskManager.waitAndExecute(function () { return originalActionFunc(); });
43289
+ };
43285
43290
  return this.navigationBar.addAction(val);
43286
43291
  };
43287
43292
  Object.defineProperty(SurveyModel.prototype, "startSurveyText", {
@@ -73347,9 +73352,9 @@ Serializer.addClass("currencymask", [
73347
73352
 
73348
73353
  var Version;
73349
73354
  var ReleaseDate;
73350
- Version = "" + "1.12.49";
73355
+ Version = "" + "1.12.51";
73351
73356
  settings.version = Version;
73352
- ReleaseDate = "" + "2025-08-11";
73357
+ ReleaseDate = "" + "2025-08-26";
73353
73358
  function checkLibraryVersion(ver, libraryName) {
73354
73359
  if (Version != ver) {
73355
73360
  var str = "survey-core has version '" + Version + "' and " + libraryName
@@ -87703,8 +87708,9 @@ var tagbox_filter_TagboxFilterString = /** @class */ (function (_super) {
87703
87708
  }
87704
87709
  };
87705
87710
  TagboxFilterString.prototype.onChange = function (e) {
87706
- var root = settings.environment.root;
87707
- if (e.target === root.activeElement) {
87711
+ var _a;
87712
+ var activeElement = (_a = e.target.getRootNode()) === null || _a === void 0 ? void 0 : _a.activeElement;
87713
+ if (e.target === activeElement) {
87708
87714
  this.model.inputStringRendered = e.target.value;
87709
87715
  }
87710
87716
  };
@@ -87907,9 +87913,10 @@ var dropdown_base_SurveyQuestionDropdownBase = /** @class */ (function (_super)
87907
87913
  SurveyQuestionDropdownBase.prototype.renderInput = function (dropdownListModel) {
87908
87914
  var _this = this;
87909
87915
  var valueElement = this.renderValueElement(dropdownListModel);
87910
- var root = settings.environment.root;
87911
87916
  var onInputChange = function (e) {
87912
- if (e.target === root.activeElement) {
87917
+ var _a;
87918
+ var activeElement = (_a = e.target.getRootNode()) === null || _a === void 0 ? void 0 : _a.activeElement;
87919
+ if (e.target === activeElement) {
87913
87920
  dropdownListModel.inputStringRendered = e.target.value;
87914
87921
  }
87915
87922
  };
@@ -90937,7 +90944,6 @@ var list_list_extends = (undefined && undefined.__extends) || (function () {
90937
90944
 
90938
90945
 
90939
90946
 
90940
-
90941
90947
  var list_List = /** @class */ (function (_super) {
90942
90948
  list_list_extends(List, _super);
90943
90949
  function List(props) {
@@ -91022,8 +91028,9 @@ var list_List = /** @class */ (function (_super) {
91022
91028
  return null;
91023
91029
  else {
91024
91030
  var onChange = function (e) {
91025
- var root = settings.environment.root;
91026
- if (e.target === root.activeElement) {
91031
+ var _a;
91032
+ var activeElement = (_a = e.target.getRootNode()) === null || _a === void 0 ? void 0 : _a.activeElement;
91033
+ if (e.target === activeElement) {
91027
91034
  _this.model.filterString = e.target.value;
91028
91035
  }
91029
91036
  };