survey-react-ui 1.12.10 → 1.12.11

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.10",
3
+ "version": "1.12.11",
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.10",
24
+ "survey-core": "1.12.11",
25
25
  "react": "^16.5.0 || ^17.0.1 || ^18.2.0",
26
26
  "react-dom": "^16.5.0 || ^17.0.1 || ^18.2.0"
27
27
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.10
2
+ * surveyjs - Survey JavaScript library v1.12.11
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1301,11 +1301,11 @@ var popup_Popup = /** @class */ (function (_super) {
1301
1301
  return this.model;
1302
1302
  };
1303
1303
  Popup.prototype.createModel = function () {
1304
- this.popup = Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["createPopupViewModel"])(this.props.model, undefined);
1304
+ this.popup = Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["createPopupViewModel"])(this.props.model);
1305
1305
  };
1306
1306
  Popup.prototype.setTargetElement = function () {
1307
1307
  var container = this.containerRef.current;
1308
- this.popup.setComponentElement(container, this.props.getTarget ? this.props.getTarget(container) : undefined, this.props.getArea ? this.props.getArea(container) : undefined);
1308
+ this.popup.setComponentElement(container);
1309
1309
  };
1310
1310
  Popup.prototype.componentDidMount = function () {
1311
1311
  _super.prototype.componentDidMount.call(this);
@@ -1479,7 +1479,7 @@ var action_bar_item_dropdown_SurveyActionBarItemDropdown = /** @class */ (functi
1479
1479
  var button = _super.prototype.renderInnerButton.call(this);
1480
1480
  return (external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.Fragment, null,
1481
1481
  button,
1482
- external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(popup_Popup, { model: this.item.popupModel, getTarget: external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["getActionDropdownButtonTarget"] })));
1482
+ external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(popup_Popup, { model: this.item.popupModel })));
1483
1483
  };
1484
1484
  SurveyActionBarItemDropdown.prototype.componentDidMount = function () {
1485
1485
  this.viewModel = new external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["ActionDropdownViewModel"](this.item);
@@ -9422,7 +9422,7 @@ ReactElementFactory.Instance.registerElement(external_root_Survey_commonjs2_surv
9422
9422
 
9423
9423
 
9424
9424
 
9425
- Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.10", "survey-react-ui");
9425
+ Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.11", "survey-react-ui");
9426
9426
 
9427
9427
 
9428
9428
  /***/ }),