survey-react-ui 1.11.11 → 1.11.12
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 +11 -5
- 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.11.
|
|
3
|
+
"version": "1.11.12",
|
|
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.11.
|
|
24
|
+
"survey-core": "1.11.12",
|
|
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.11.
|
|
2
|
+
* surveyjs - Survey JavaScript library v1.11.12
|
|
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
|
*/
|
|
@@ -2984,7 +2984,6 @@ var reactSurvey_Survey = /** @class */ (function (_super) {
|
|
|
2984
2984
|
external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](components_container_ComponentsContainer, { survey: this.survey, container: "header", needRenderWrapper: false }),
|
|
2985
2985
|
renderResult,
|
|
2986
2986
|
external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](components_container_ComponentsContainer, { survey: this.survey, container: "footer", needRenderWrapper: false }))),
|
|
2987
|
-
this.survey.showBrandInfo ? external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](brand_info_BrandInfo, null) : null,
|
|
2988
2987
|
external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](notifier_NotifierComponent, { notifier: this.survey.notifier }))));
|
|
2989
2988
|
};
|
|
2990
2989
|
Survey.prototype.renderElement = function () {
|
|
@@ -3034,7 +3033,8 @@ var reactSurvey_Survey = /** @class */ (function (_super) {
|
|
|
3034
3033
|
external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("div", { id: pageId, className: className, style: style },
|
|
3035
3034
|
external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](components_container_ComponentsContainer, { survey: this.survey, container: "contentTop" }),
|
|
3036
3035
|
activePage,
|
|
3037
|
-
external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](components_container_ComponentsContainer, { survey: this.survey, container: "contentBottom" })
|
|
3036
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](components_container_ComponentsContainer, { survey: this.survey, container: "contentBottom" }),
|
|
3037
|
+
this.survey.showBrandInfo ? external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](brand_info_BrandInfo, null) : null)),
|
|
3038
3038
|
external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](components_container_ComponentsContainer, { survey: this.survey, container: "right" })));
|
|
3039
3039
|
};
|
|
3040
3040
|
Survey.prototype.renderPage = function (page) {
|
|
@@ -7740,7 +7740,13 @@ var react_popup_survey_PopupSurvey = /** @class */ (function (_super) {
|
|
|
7740
7740
|
return external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](svg_icon_SvgIcon, { iconName: "icon-minimize_16x16", size: 16 });
|
|
7741
7741
|
};
|
|
7742
7742
|
PopupSurvey.prototype.renderCloseButton = function (popup) {
|
|
7743
|
-
|
|
7743
|
+
var _this = this;
|
|
7744
|
+
return (external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("div", { className: popup.cssHeaderCloseButton, onClick: function () {
|
|
7745
|
+
popup.hide();
|
|
7746
|
+
if (typeof _this.props.onClose == "function") {
|
|
7747
|
+
_this.props.onClose();
|
|
7748
|
+
}
|
|
7749
|
+
} },
|
|
7744
7750
|
external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](svg_icon_SvgIcon, { iconName: "icon-close_16x16", size: 16 })));
|
|
7745
7751
|
};
|
|
7746
7752
|
PopupSurvey.prototype.renderAllowFullScreenButon = function (popup) {
|
|
@@ -9124,7 +9130,7 @@ ReactElementFactory.Instance.registerElement(external_root_Survey_commonjs2_surv
|
|
|
9124
9130
|
|
|
9125
9131
|
|
|
9126
9132
|
|
|
9127
|
-
Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.11.
|
|
9133
|
+
Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.11.12", "survey-react-ui");
|
|
9128
9134
|
|
|
9129
9135
|
|
|
9130
9136
|
/***/ }),
|