survey-js-ui 2.5.47 → 2.5.49
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": "2.5.
|
|
3
|
+
"version": "2.5.49",
|
|
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.49",
|
|
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.49
|
|
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
|
*/
|
|
@@ -6313,7 +6313,7 @@
|
|
|
6313
6313
|
var _this = this;
|
|
6314
6314
|
return (_$1("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 },
|
|
6315
6315
|
this.state.canShowHeader ? _$1("div", { className: this.css.progressButtonsHeader },
|
|
6316
|
-
_$1("div", { className: this.css.progressButtonsPageTitle, title: this.model.
|
|
6316
|
+
_$1("div", { className: this.css.progressButtonsPageTitle, title: this.model.headerTitle }, this.renderHeaderText())) : null,
|
|
6317
6317
|
_$1("div", { className: this.css.progressButtonsContainer },
|
|
6318
6318
|
_$1("div", { className: this.model.getScrollButtonCss(this.state.hasScroller, true), role: "button", onClick: function () {
|
|
6319
6319
|
return _this.clickScrollButton(_this.listContainerRef.current, true);
|
|
@@ -6326,6 +6326,10 @@
|
|
|
6326
6326
|
this.state.canShowFooter ? _$1("div", { className: this.css.progressButtonsFooter },
|
|
6327
6327
|
_$1("div", { className: this.css.progressButtonsPageTitle, title: this.model.footerText }, this.model.footerText)) : null));
|
|
6328
6328
|
};
|
|
6329
|
+
SurveyProgressButtons.prototype.renderHeaderText = function () {
|
|
6330
|
+
var page = this.model.survey.currentPage;
|
|
6331
|
+
return page ? SurveyElementBase.renderLocString(page.locNavigationTitle) : "";
|
|
6332
|
+
};
|
|
6329
6333
|
SurveyProgressButtons.prototype.getListElements = function () {
|
|
6330
6334
|
var _this = this;
|
|
6331
6335
|
var buttons = [];
|
|
@@ -6342,7 +6346,7 @@
|
|
|
6342
6346
|
: undefined, "data-page-number": this.model.getItemNumber(page) },
|
|
6343
6347
|
_$1("div", { className: this.css.progressButtonsConnector }),
|
|
6344
6348
|
this.state.canShowItemTitles ? _$1(k$2, null,
|
|
6345
|
-
_$1("div", { className: this.css.progressButtonsPageTitle, title: page
|
|
6349
|
+
_$1("div", { className: this.css.progressButtonsPageTitle, title: this.model.getItemTitle(page) }, text),
|
|
6346
6350
|
_$1("div", { className: this.css.progressButtonsPageDescription, title: page.navigationDescription }, page.navigationDescription)) : null,
|
|
6347
6351
|
_$1("div", { className: this.css.progressButtonsButton },
|
|
6348
6352
|
_$1("div", { className: this.css.progressButtonsButtonBackground }),
|
|
@@ -7996,7 +8000,7 @@
|
|
|
7996
8000
|
}
|
|
7997
8001
|
};
|
|
7998
8002
|
var preact = React;
|
|
7999
|
-
surveyCore.checkLibraryVersion("".concat("2.5.
|
|
8003
|
+
surveyCore.checkLibraryVersion("".concat("2.5.49"), "survey-js-ui");
|
|
8000
8004
|
|
|
8001
8005
|
Object.defineProperty(exports, 'Model', {
|
|
8002
8006
|
enumerable: true,
|