survey-js-ui 2.5.13 → 2.5.14
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/fesm/survey-js-ui.mjs +8 -5
- package/fesm/survey-js-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-js-ui.js +9 -6
- package/survey-js-ui.js.map +1 -1
- package/survey-js-ui.min.js +1 -1
- package/survey-js-ui.min.js.LICENSE.txt +1 -1
- package/typings/survey-react-ui/src/progressButtons.d.ts +2 -1
- package/typings/survey-react-ui/src/reactSurveyNavigationBase.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-js-ui",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.14",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "A free MIT-licensed UI component that renders dynamic, interactive JSON-based forms and surveys in apps built with HTML, CSS, and JavaScript. You can use it to collect responses from users and send them to your own database.",
|
|
6
6
|
"homepage": "https://surveyjs.io/",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"survey-core": "2.5.
|
|
56
|
+
"survey-core": "2.5.14",
|
|
57
57
|
"@types/react-dom": "*",
|
|
58
58
|
"@types/react": "*"
|
|
59
59
|
}
|
package/survey-js-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v2.5.
|
|
2
|
+
* surveyjs - Survey JavaScript library v2.5.14
|
|
3
3
|
* Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -6418,6 +6418,9 @@ var SurveyProgressButtons = /** @class */ (function (_super) {
|
|
|
6418
6418
|
enumerable: false,
|
|
6419
6419
|
configurable: true
|
|
6420
6420
|
});
|
|
6421
|
+
SurveyProgressButtons.prototype.getStateElement = function () {
|
|
6422
|
+
return this.model;
|
|
6423
|
+
};
|
|
6421
6424
|
SurveyProgressButtons.prototype.onResize = function (canShowItemTitles) {
|
|
6422
6425
|
this.setState({ canShowItemTitles: canShowItemTitles });
|
|
6423
6426
|
this.setState({ canShowHeader: !canShowItemTitles });
|
|
@@ -6432,7 +6435,7 @@ var SurveyProgressButtons = /** @class */ (function (_super) {
|
|
|
6432
6435
|
SurveyProgressButtons.prototype.render = function () {
|
|
6433
6436
|
var _a;
|
|
6434
6437
|
var _this = this;
|
|
6435
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.model.getRootCss(this.props.container), style: (_a = { "maxWidth": this.model.progressWidth }, _a["--sd-progress-buttons-pages-count"] = this.
|
|
6438
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.model.getRootCss(this.props.container), style: (_a = { "maxWidth": this.model.progressWidth }, _a["--sd-progress-buttons-pages-count"] = this.model.visiblePages.length, _a), role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": this.model.progressBarAriaLabel },
|
|
6436
6439
|
this.state.canShowHeader ? react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.css.progressButtonsHeader },
|
|
6437
6440
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.css.progressButtonsPageTitle, title: this.model.headerText }, this.model.headerText)) : null,
|
|
6438
6441
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.css.progressButtonsContainer },
|
|
@@ -6450,7 +6453,7 @@ var SurveyProgressButtons = /** @class */ (function (_super) {
|
|
|
6450
6453
|
SurveyProgressButtons.prototype.getListElements = function () {
|
|
6451
6454
|
var _this = this;
|
|
6452
6455
|
var buttons = [];
|
|
6453
|
-
this.
|
|
6456
|
+
this.model.visiblePages.forEach(function (page, index) {
|
|
6454
6457
|
buttons.push(_this.renderListElement(page, index));
|
|
6455
6458
|
});
|
|
6456
6459
|
return buttons;
|
|
@@ -7161,7 +7164,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7161
7164
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7162
7165
|
/* harmony export */ SurveyNavigationBase: () => (/* binding */ SurveyNavigationBase)
|
|
7163
7166
|
/* harmony export */ });
|
|
7164
|
-
/* harmony import */ var
|
|
7167
|
+
/* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./reactquestion_element */ "../survey-react-ui/src/reactquestion_element.tsx");
|
|
7165
7168
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
7166
7169
|
var extendStatics = function (d, b) {
|
|
7167
7170
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -7216,7 +7219,7 @@ var SurveyNavigationBase = /** @class */ (function (_super) {
|
|
|
7216
7219
|
}
|
|
7217
7220
|
};
|
|
7218
7221
|
return SurveyNavigationBase;
|
|
7219
|
-
}(
|
|
7222
|
+
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_0__.SurveyElementBase));
|
|
7220
7223
|
|
|
7221
7224
|
|
|
7222
7225
|
|
|
@@ -12654,7 +12657,7 @@ var preact = react__WEBPACK_IMPORTED_MODULE_0__;
|
|
|
12654
12657
|
|
|
12655
12658
|
|
|
12656
12659
|
|
|
12657
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_2__.checkLibraryVersion)("".concat("2.5.
|
|
12660
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_2__.checkLibraryVersion)("".concat("2.5.14"), "survey-js-ui");
|
|
12658
12661
|
|
|
12659
12662
|
})();
|
|
12660
12663
|
|