survey-creator-react 1.9.94 → 1.9.96

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-creator-react",
3
- "version": "1.9.94",
3
+ "version": "1.9.96",
4
4
  "description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -29,9 +29,9 @@
29
29
  "ace-builds": "^1.4.12"
30
30
  },
31
31
  "dependencies": {
32
- "survey-core": "1.9.94",
33
- "survey-react-ui": "1.9.94",
34
- "survey-creator-core": "1.9.94",
32
+ "survey-core": "1.9.96",
33
+ "survey-react-ui": "1.9.96",
34
+ "survey-creator-core": "1.9.96",
35
35
  "react": "^16.5.0 || ^17.0.1 || ^18.1.0",
36
36
  "react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0"
37
37
  },
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator React v1.9.94
2
+ * SurveyJS Creator React v1.9.96
3
3
  * (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -3204,7 +3204,7 @@ __webpack_require__.r(__webpack_exports__);
3204
3204
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! survey-core */ "survey-core");
3205
3205
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_50___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_50__);
3206
3206
  var Version;
3207
- Version = "".concat("1.9.94");
3207
+ Version = "".concat("1.9.96");
3208
3208
  // import "@survey/creator/survey-creator-core.css";
3209
3209
 
3210
3210
 
@@ -3264,7 +3264,7 @@ Version = "".concat("1.9.94");
3264
3264
 
3265
3265
 
3266
3266
 
3267
- Object(survey_core__WEBPACK_IMPORTED_MODULE_50__["checkLibraryVersion"])("".concat("1.9.94"), "survey-creator-react");
3267
+ Object(survey_core__WEBPACK_IMPORTED_MODULE_50__["checkLibraryVersion"])("".concat("1.9.96"), "survey-creator-react");
3268
3268
 
3269
3269
 
3270
3270
  /***/ }),
@@ -3850,8 +3850,8 @@ survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.reg
3850
3850
  });
3851
3851
  var TabPreviewSurveyComponent = /** @class */ (function (_super) {
3852
3852
  Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(TabPreviewSurveyComponent, _super);
3853
- function TabPreviewSurveyComponent() {
3854
- return _super !== null && _super.apply(this, arguments) || this;
3853
+ function TabPreviewSurveyComponent(props) {
3854
+ return _super.call(this, props) || this;
3855
3855
  }
3856
3856
  Object.defineProperty(TabPreviewSurveyComponent.prototype, "model", {
3857
3857
  get: function () {
@@ -3864,9 +3864,10 @@ var TabPreviewSurveyComponent = /** @class */ (function (_super) {
3864
3864
  return this.model;
3865
3865
  };
3866
3866
  TabPreviewSurveyComponent.prototype.renderElement = function () {
3867
+ var _this = this;
3867
3868
  var tabContentClassName = "svc-creator-tab__content svc-test-tab__content" + (this.model.isPageToolbarVisible ? " svc-creator-tab__content--with-toolbar" : "");
3868
3869
  return (react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: tabContentClassName },
3869
- react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-plugin-tab__content" },
3870
+ react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-plugin-tab__content", onScroll: function () { return _this.model.onScroll(); } },
3870
3871
  react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_SurveySimulator__WEBPACK_IMPORTED_MODULE_3__["SurveySimulator"], { model: this.model.simulator }),
3871
3872
  !this.model.isRunning ? react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(TabPreviewTestSurveyAgainComponent, { button: this.model.testAgainAction }) : null,
3872
3873
  !this.model.isRunning ? react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_Results__WEBPACK_IMPORTED_MODULE_4__["SurveyResults"], { survey: this.model.simulator.survey }) : null),