survey-react-ui 1.12.9 → 1.12.10
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 +2 -2
- package/survey-react-ui.js +5 -8
- package/survey-react-ui.js.map +1 -1
- package/survey-react-ui.min.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-react-ui",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.10",
|
|
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.
|
|
24
|
+
"survey-core": "1.12.10",
|
|
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
|
}
|
package/survey-react-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
2
|
+
* surveyjs - Survey JavaScript library v1.12.10
|
|
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
|
*/
|
|
@@ -1549,17 +1549,14 @@ var action_bar_SurveyActionBar = /** @class */ (function (_super) {
|
|
|
1549
1549
|
};
|
|
1550
1550
|
SurveyActionBar.prototype.componentWillUnmount = function () {
|
|
1551
1551
|
_super.prototype.componentWillUnmount.call(this);
|
|
1552
|
-
|
|
1553
|
-
this.model.resetResponsivityManager();
|
|
1554
|
-
}
|
|
1552
|
+
this.model.resetResponsivityManager();
|
|
1555
1553
|
};
|
|
1556
1554
|
SurveyActionBar.prototype.componentDidUpdate = function (prevProps, prevState) {
|
|
1557
1555
|
_super.prototype.componentDidUpdate.call(this, prevProps, prevState);
|
|
1558
|
-
if (prevProps.model
|
|
1559
|
-
|
|
1556
|
+
if (prevProps.model != this.props.model) {
|
|
1557
|
+
prevProps.model.resetResponsivityManager();
|
|
1560
1558
|
}
|
|
1561
1559
|
if (!!this.model.hasActions) {
|
|
1562
|
-
this.model.resetResponsivityManager();
|
|
1563
1560
|
var container = this.rootRef.current;
|
|
1564
1561
|
if (!!container) {
|
|
1565
1562
|
this.model.initResponsivityManager(container, function (callback) { setTimeout(callback); });
|
|
@@ -9425,7 +9422,7 @@ ReactElementFactory.Instance.registerElement(external_root_Survey_commonjs2_surv
|
|
|
9425
9422
|
|
|
9426
9423
|
|
|
9427
9424
|
|
|
9428
|
-
Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.
|
|
9425
|
+
Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.10", "survey-react-ui");
|
|
9429
9426
|
|
|
9430
9427
|
|
|
9431
9428
|
/***/ }),
|