survey-creator-react 1.9.128 → 1.9.130
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.130",
|
|
4
4
|
"description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"survey-core": "1.9.
|
|
40
|
-
"survey-react-ui": "1.9.
|
|
41
|
-
"survey-creator-core": "1.9.
|
|
39
|
+
"survey-core": "1.9.130",
|
|
40
|
+
"survey-react-ui": "1.9.130",
|
|
41
|
+
"survey-creator-core": "1.9.130"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {}
|
|
44
44
|
}
|
package/survey-creator-react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator React v1.9.
|
|
2
|
+
* SurveyJS Creator React v1.9.130
|
|
3
3
|
* (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* Github: https://github.com/surveyjs/survey-creator
|
|
5
5
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
@@ -1612,7 +1612,7 @@ var SurveyCreatorComponent = /** @class */ (function (_super) {
|
|
|
1612
1612
|
configurable: true
|
|
1613
1613
|
});
|
|
1614
1614
|
SurveyCreatorComponent.prototype.getStateElement = function () {
|
|
1615
|
-
return this.
|
|
1615
|
+
return this.creator;
|
|
1616
1616
|
};
|
|
1617
1617
|
Object.defineProperty(SurveyCreatorComponent.prototype, "style", {
|
|
1618
1618
|
get: function () {
|
|
@@ -1621,6 +1621,17 @@ var SurveyCreatorComponent = /** @class */ (function (_super) {
|
|
|
1621
1621
|
enumerable: false,
|
|
1622
1622
|
configurable: true
|
|
1623
1623
|
});
|
|
1624
|
+
SurveyCreatorComponent.prototype.componentDidUpdate = function (prevProps, prevState) {
|
|
1625
|
+
_super.prototype.componentDidUpdate.call(this, prevProps, prevState);
|
|
1626
|
+
if (this.creator !== prevProps.creator) {
|
|
1627
|
+
if (prevProps.creator) {
|
|
1628
|
+
prevProps.creator.unsubscribeRootElement();
|
|
1629
|
+
}
|
|
1630
|
+
if (this.creator && this.rootNode.current) {
|
|
1631
|
+
this.creator.setRootElement(this.rootNode.current);
|
|
1632
|
+
}
|
|
1633
|
+
}
|
|
1634
|
+
};
|
|
1624
1635
|
SurveyCreatorComponent.prototype.componentDidMount = function () {
|
|
1625
1636
|
_super.prototype.componentDidMount.call(this);
|
|
1626
1637
|
this.creator.setRootElement(this.rootNode.current);
|
|
@@ -3404,7 +3415,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3404
3415
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
3405
3416
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_53___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_53__);
|
|
3406
3417
|
var Version;
|
|
3407
|
-
Version = "".concat("1.9.
|
|
3418
|
+
Version = "".concat("1.9.130");
|
|
3408
3419
|
// import "@survey/creator/survey-creator-core.css";
|
|
3409
3420
|
|
|
3410
3421
|
|
|
@@ -3467,7 +3478,7 @@ Version = "".concat("1.9.128");
|
|
|
3467
3478
|
|
|
3468
3479
|
|
|
3469
3480
|
|
|
3470
|
-
Object(survey_core__WEBPACK_IMPORTED_MODULE_53__["checkLibraryVersion"])("".concat("1.9.
|
|
3481
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_53__["checkLibraryVersion"])("".concat("1.9.130"), "survey-creator-react");
|
|
3471
3482
|
|
|
3472
3483
|
|
|
3473
3484
|
/***/ }),
|