survey-react-ui 1.9.132 → 1.9.133
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 +1 -1
- package/survey-react-ui.js +8 -6
- package/survey-react-ui.js.map +1 -1
- package/survey-react-ui.min.js +2 -2
package/package.json
CHANGED
package/survey-react-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v1.9.
|
|
2
|
+
* surveyjs - Survey JavaScript library v1.9.133
|
|
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
|
*/
|
|
@@ -3584,7 +3584,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3584
3584
|
|
|
3585
3585
|
|
|
3586
3586
|
|
|
3587
|
-
Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["checkLibraryVersion"])("" + "1.9.
|
|
3587
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["checkLibraryVersion"])("" + "1.9.133", "survey-react-ui");
|
|
3588
3588
|
|
|
3589
3589
|
|
|
3590
3590
|
/***/ }),
|
|
@@ -7620,9 +7620,11 @@ function age(params) {
|
|
|
7620
7620
|
var birthDate = new Date(params[0]);
|
|
7621
7621
|
var today = new Date();
|
|
7622
7622
|
var age = today.getFullYear() - birthDate.getFullYear();
|
|
7623
|
-
|
|
7624
|
-
|
|
7625
|
-
|
|
7623
|
+
if (age > 0) {
|
|
7624
|
+
var m = today.getMonth() - birthDate.getMonth();
|
|
7625
|
+
if (m < 0 || (m === 0 && today.getDate() < birthDate.getDate())) {
|
|
7626
|
+
age -= 1;
|
|
7627
|
+
}
|
|
7626
7628
|
}
|
|
7627
7629
|
return age;
|
|
7628
7630
|
}
|
|
@@ -16378,7 +16380,7 @@ var SurveyProgressButtons = /** @class */ (function (_super) {
|
|
|
16378
16380
|
};
|
|
16379
16381
|
SurveyProgressButtons.prototype.render = function () {
|
|
16380
16382
|
var _this = this;
|
|
16381
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.model.getRootCss(this.props.container), role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": "progress" },
|
|
16383
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.model.getRootCss(this.props.container), style: { "maxWidth": this.model.progressWidth }, role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": "progress" },
|
|
16382
16384
|
this.state.canShowHeader ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsHeader },
|
|
16383
16385
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsPageTitle, title: this.model.headerText }, this.model.headerText)) : null,
|
|
16384
16386
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsContainer },
|