survey-react-ui 2.5.13 → 2.5.15
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-react-ui.mjs +8 -5
- package/fesm/survey-react-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-react-ui.js +8 -5
- package/survey-react-ui.js.map +1 -1
- package/survey-react-ui.min.js +4 -3
- package/typings/src/progressButtons.d.ts +2 -1
- package/typings/src/reactSurveyNavigationBase.d.ts +2 -2
- package/survey-react-ui.min.js.LICENSE.txt +0 -15
package/fesm/survey-react-ui.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v2.5.
|
|
2
|
+
* surveyjs - Survey JavaScript library v2.5.15
|
|
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
|
*/
|
|
@@ -1795,7 +1795,7 @@ function attachKey2click(element, viewModel, options = { processEsc: true, disab
|
|
|
1795
1795
|
return React.cloneElement(element, props);
|
|
1796
1796
|
}
|
|
1797
1797
|
|
|
1798
|
-
class SurveyNavigationBase extends
|
|
1798
|
+
class SurveyNavigationBase extends SurveyElementBase {
|
|
1799
1799
|
constructor(props) {
|
|
1800
1800
|
super(props);
|
|
1801
1801
|
this.updateStateFunction = null;
|
|
@@ -5132,6 +5132,9 @@ class SurveyProgressButtons extends SurveyNavigationBase {
|
|
|
5132
5132
|
get container() {
|
|
5133
5133
|
return this.props.container;
|
|
5134
5134
|
}
|
|
5135
|
+
getStateElement() {
|
|
5136
|
+
return this.model;
|
|
5137
|
+
}
|
|
5135
5138
|
onResize(canShowItemTitles) {
|
|
5136
5139
|
this.setState({ canShowItemTitles });
|
|
5137
5140
|
this.setState({ canShowHeader: !canShowItemTitles });
|
|
@@ -5144,7 +5147,7 @@ class SurveyProgressButtons extends SurveyNavigationBase {
|
|
|
5144
5147
|
this.setState({ canShowFooter: !this.model.showItemTitles });
|
|
5145
5148
|
}
|
|
5146
5149
|
render() {
|
|
5147
|
-
return (React.createElement("div", { className: this.model.getRootCss(this.props.container), style: { "maxWidth": this.model.progressWidth, ["--sd-progress-buttons-pages-count"]: this.
|
|
5150
|
+
return (React.createElement("div", { className: this.model.getRootCss(this.props.container), style: { "maxWidth": this.model.progressWidth, ["--sd-progress-buttons-pages-count"]: this.model.visiblePages.length }, role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": this.model.progressBarAriaLabel },
|
|
5148
5151
|
this.state.canShowHeader ? React.createElement("div", { className: this.css.progressButtonsHeader },
|
|
5149
5152
|
React.createElement("div", { className: this.css.progressButtonsPageTitle, title: this.model.headerText }, this.model.headerText)) : null,
|
|
5150
5153
|
React.createElement("div", { className: this.css.progressButtonsContainer },
|
|
@@ -5157,7 +5160,7 @@ class SurveyProgressButtons extends SurveyNavigationBase {
|
|
|
5157
5160
|
}
|
|
5158
5161
|
getListElements() {
|
|
5159
5162
|
let buttons = [];
|
|
5160
|
-
this.
|
|
5163
|
+
this.model.visiblePages.forEach((page, index) => {
|
|
5161
5164
|
buttons.push(this.renderListElement(page, index));
|
|
5162
5165
|
});
|
|
5163
5166
|
return buttons;
|
|
@@ -6420,7 +6423,7 @@ ReactElementFactory.Instance.registerElement(LocalizableString.editableRenderer,
|
|
|
6420
6423
|
return React.createElement(SurveyLocStringEditor, props);
|
|
6421
6424
|
});
|
|
6422
6425
|
|
|
6423
|
-
checkLibraryVersion(`${"2.5.
|
|
6426
|
+
checkLibraryVersion(`${"2.5.15"}`, "survey-react-ui");
|
|
6424
6427
|
|
|
6425
6428
|
export { CharacterCounterComponent, ComponentsContainer, Header, HeaderCell, HeaderMobile, List, ListItemContent, ListItemGroup, LoadingIndicatorComponent, LogoImage, MatrixRow, NotifierComponent, Popup, PopupModal, PopupSurvey, QuestionErrorComponent, RatingDropdownItem, RatingItem, RatingItemSmiley, RatingItemStar, ReactElementFactory, ReactQuestionFactory, ReactSurveyElement, ReactSurveyElementsWrapper, Scroll, Skeleton, SliderLabelItem, Survey, SurveyActionBar, SurveyElementBase, SurveyElementErrors, SurveyFileChooseButton, SurveyFileItem, SurveyFilePreview, SurveyFlowPanel, SurveyHeader, SurveyLocStringEditor, SurveyLocStringViewer, SurveyNavigationBase, SurveyNavigationButton, SurveyPage, SurveyPanel, SurveyProgress, SurveyProgressButtons, SurveyProgressToc, SurveyQuestion, SurveyQuestionAndErrorsCell, SurveyQuestionBoolean, SurveyQuestionBooleanCheckbox, SurveyQuestionBooleanRadio, SurveyQuestionButtonGroup, SurveyQuestionButtonGroupDropdown, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionComment, SurveyQuestionCommentItem, SurveyQuestionComposite, SurveyQuestionCustom, SurveyQuestionDropdown, SurveyQuestionDropdownBase, SurveyQuestionDropdownSelect, SurveyQuestionElementBase, SurveyQuestionEmpty, SurveyQuestionExpression, SurveyQuestionFile, SurveyQuestionHtml, SurveyQuestionImage, SurveyQuestionImageMap, SurveyQuestionImagePicker, SurveyQuestionMatrix, SurveyQuestionMatrixCell, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDropdown, SurveyQuestionMatrixDropdownBase, SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixRow, SurveyQuestionMultipleText, SurveyQuestionOptionItem, SurveyQuestionPanelDynamic, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicProgressText, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionRadioItem, SurveyQuestionRadiogroup, SurveyQuestionRanking, SurveyQuestionRankingItem, SurveyQuestionRankingItemContent, SurveyQuestionRating, SurveyQuestionRatingDropdown, SurveyQuestionSignaturePad, SurveyQuestionSlider, SurveyQuestionTagbox, SurveyQuestionTagboxItem, SurveyQuestionText, SurveyRow, SurveyTimerPanel, SurveyWindow, SvgBundleComponent, SvgIcon, TagboxFilterString, TitleActions, TitleElement, attachKey2click };
|
|
6426
6429
|
//# sourceMappingURL=survey-react-ui.mjs.map
|