survey-creator-react 1.9.117 → 1.9.119
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.
|
|
3
|
+
"version": "1.9.119",
|
|
4
4
|
"description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"survey-core": "1.9.
|
|
38
|
-
"survey-react-ui": "1.9.
|
|
39
|
-
"survey-creator-core": "1.9.
|
|
37
|
+
"survey-core": "1.9.119",
|
|
38
|
+
"survey-react-ui": "1.9.119",
|
|
39
|
+
"survey-creator-core": "1.9.119",
|
|
40
40
|
"react": "^16.5.0 || ^17.0.1 || ^18.1.0",
|
|
41
41
|
"react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0"
|
|
42
42
|
},
|
package/survey-creator-react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator React v1.9.
|
|
2
|
+
* SurveyJS Creator React v1.9.119
|
|
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
|
|
@@ -743,6 +743,9 @@ var SurveyPageNavigator = /** @class */ (function (_super) {
|
|
|
743
743
|
return _this;
|
|
744
744
|
}
|
|
745
745
|
SurveyPageNavigator.prototype.createModel = function () {
|
|
746
|
+
if (this.model) {
|
|
747
|
+
this.model.dispose();
|
|
748
|
+
}
|
|
746
749
|
this.model = new survey_creator_core__WEBPACK_IMPORTED_MODULE_3__["PageNavigatorViewModel"](this.props.pagesController, this.props.pageEditMode);
|
|
747
750
|
};
|
|
748
751
|
SurveyPageNavigator.prototype.getUpdatedModelProps = function () {
|
|
@@ -782,9 +785,9 @@ var SurveyPageNavigator = /** @class */ (function (_super) {
|
|
|
782
785
|
var el = this.containerRef.current;
|
|
783
786
|
if (!!el) {
|
|
784
787
|
el.parentElement.parentElement.parentElement.onscroll = undefined;
|
|
785
|
-
this.model.stopItemsContainerHeightObserver();
|
|
786
788
|
}
|
|
787
|
-
this.model.
|
|
789
|
+
this.model.stopItemsContainerHeightObserver();
|
|
790
|
+
this.model.setScrollableContainer(undefined);
|
|
788
791
|
};
|
|
789
792
|
SurveyPageNavigator.prototype.renderElement = function () {
|
|
790
793
|
var _this = this;
|
|
@@ -1502,9 +1505,7 @@ var SurveyLocStringEditor = /** @class */ (function (_super) {
|
|
|
1502
1505
|
};
|
|
1503
1506
|
SurveyLocStringEditor.prototype.componentWillUnmount = function () {
|
|
1504
1507
|
_super.prototype.componentWillUnmount.call(this);
|
|
1505
|
-
this.baseModel.
|
|
1506
|
-
this.baseModel.blurEditor = undefined;
|
|
1507
|
-
this.baseModel.dispose();
|
|
1508
|
+
this.baseModel.detachFromUI();
|
|
1508
1509
|
if (!this.locString)
|
|
1509
1510
|
return;
|
|
1510
1511
|
this.locString.onStringChanged.remove(this.onChangedHandler);
|
|
@@ -3379,7 +3380,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3379
3380
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
3380
3381
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_52___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_52__);
|
|
3381
3382
|
var Version;
|
|
3382
|
-
Version = "".concat("1.9.
|
|
3383
|
+
Version = "".concat("1.9.119");
|
|
3383
3384
|
// import "@survey/creator/survey-creator-core.css";
|
|
3384
3385
|
|
|
3385
3386
|
|
|
@@ -3441,7 +3442,7 @@ Version = "".concat("1.9.117");
|
|
|
3441
3442
|
|
|
3442
3443
|
|
|
3443
3444
|
|
|
3444
|
-
Object(survey_core__WEBPACK_IMPORTED_MODULE_52__["checkLibraryVersion"])("".concat("1.9.
|
|
3445
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_52__["checkLibraryVersion"])("".concat("1.9.119"), "survey-creator-react");
|
|
3445
3446
|
|
|
3446
3447
|
|
|
3447
3448
|
/***/ }),
|