survey-js-ui 1.12.9 → 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-js-ui",
|
|
3
|
-
"version": "1.12.
|
|
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",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"typings": "./typings/src/entries/js-ui.d.ts",
|
|
24
24
|
"dependencies": {},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"survey-core": "1.12.
|
|
26
|
+
"survey-core": "1.12.11",
|
|
27
27
|
"@types/react-dom": "*",
|
|
28
28
|
"@types/react": "*"
|
|
29
29
|
}
|
package/survey-js-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
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
|
*/
|
|
@@ -1402,11 +1402,11 @@ var popup_Popup = /** @class */ (function (_super) {
|
|
|
1402
1402
|
return this.model;
|
|
1403
1403
|
};
|
|
1404
1404
|
Popup.prototype.createModel = function () {
|
|
1405
|
-
this.popup = Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["createPopupViewModel"])(this.props.model
|
|
1405
|
+
this.popup = Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["createPopupViewModel"])(this.props.model);
|
|
1406
1406
|
};
|
|
1407
1407
|
Popup.prototype.setTargetElement = function () {
|
|
1408
1408
|
var container = this.containerRef.current;
|
|
1409
|
-
this.popup.setComponentElement(container
|
|
1409
|
+
this.popup.setComponentElement(container);
|
|
1410
1410
|
};
|
|
1411
1411
|
Popup.prototype.componentDidMount = function () {
|
|
1412
1412
|
_super.prototype.componentDidMount.call(this);
|
|
@@ -1580,7 +1580,7 @@ var action_bar_item_dropdown_SurveyActionBarItemDropdown = /** @class */ (functi
|
|
|
1580
1580
|
var button = _super.prototype.renderInnerButton.call(this);
|
|
1581
1581
|
return (xn.createElement(xn.Fragment, null,
|
|
1582
1582
|
button,
|
|
1583
|
-
xn.createElement(popup_Popup, { model: this.item.popupModel
|
|
1583
|
+
xn.createElement(popup_Popup, { model: this.item.popupModel })));
|
|
1584
1584
|
};
|
|
1585
1585
|
SurveyActionBarItemDropdown.prototype.componentDidMount = function () {
|
|
1586
1586
|
this.viewModel = new external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["ActionDropdownViewModel"](this.item);
|
|
@@ -1650,17 +1650,14 @@ var action_bar_SurveyActionBar = /** @class */ (function (_super) {
|
|
|
1650
1650
|
};
|
|
1651
1651
|
SurveyActionBar.prototype.componentWillUnmount = function () {
|
|
1652
1652
|
_super.prototype.componentWillUnmount.call(this);
|
|
1653
|
-
|
|
1654
|
-
this.model.resetResponsivityManager();
|
|
1655
|
-
}
|
|
1653
|
+
this.model.resetResponsivityManager();
|
|
1656
1654
|
};
|
|
1657
1655
|
SurveyActionBar.prototype.componentDidUpdate = function (prevProps, prevState) {
|
|
1658
1656
|
_super.prototype.componentDidUpdate.call(this, prevProps, prevState);
|
|
1659
|
-
if (prevProps.model
|
|
1660
|
-
|
|
1657
|
+
if (prevProps.model != this.props.model) {
|
|
1658
|
+
prevProps.model.resetResponsivityManager();
|
|
1661
1659
|
}
|
|
1662
1660
|
if (!!this.model.hasActions) {
|
|
1663
|
-
this.model.resetResponsivityManager();
|
|
1664
1661
|
var container = this.rootRef.current;
|
|
1665
1662
|
if (!!container) {
|
|
1666
1663
|
this.model.initResponsivityManager(container, function (callback) { setTimeout(callback); });
|
|
@@ -9598,7 +9595,7 @@ var preact = compat_module_namespaceObject;
|
|
|
9598
9595
|
|
|
9599
9596
|
|
|
9600
9597
|
|
|
9601
|
-
Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.
|
|
9598
|
+
Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.11", "survey-js-ui");
|
|
9602
9599
|
|
|
9603
9600
|
|
|
9604
9601
|
/***/ }),
|