survey-react-ui 2.5.27 → 2.5.28
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
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v2.5.
|
|
2
|
+
* surveyjs - Survey JavaScript library v2.5.28
|
|
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
|
*/
|
|
@@ -5094,23 +5094,29 @@ class SurveyProgress extends SurveyNavigationBase {
|
|
|
5094
5094
|
get isTop() {
|
|
5095
5095
|
return this.props.isTop;
|
|
5096
5096
|
}
|
|
5097
|
+
get model() {
|
|
5098
|
+
return this.props.model;
|
|
5099
|
+
}
|
|
5100
|
+
getStateElement() {
|
|
5101
|
+
return this.model;
|
|
5102
|
+
}
|
|
5097
5103
|
get progress() {
|
|
5098
|
-
return this.
|
|
5104
|
+
return this.model.progressValue;
|
|
5099
5105
|
}
|
|
5100
5106
|
get progressText() {
|
|
5101
|
-
return this.
|
|
5107
|
+
return this.model.progressText;
|
|
5102
5108
|
}
|
|
5103
5109
|
get progressBarAriaLabel() {
|
|
5104
|
-
return this.
|
|
5110
|
+
return this.model.progressBarAriaLabel;
|
|
5105
5111
|
}
|
|
5106
5112
|
render() {
|
|
5107
5113
|
var progressStyle = {
|
|
5108
5114
|
width: this.progress + "%",
|
|
5109
5115
|
};
|
|
5110
|
-
return (React.createElement("div", { className: this.
|
|
5111
|
-
React.createElement("div", { style: progressStyle, className: this.css.progressBar, role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": this.progressBarAriaLabel },
|
|
5112
|
-
React.createElement("span", { className: SurveyProgressModel.getProgressTextInBarCss(this.css) }, this.progressText)),
|
|
5113
|
-
React.createElement("span", { className: SurveyProgressModel.getProgressTextUnderBarCss(this.css) }, this.progressText)));
|
|
5116
|
+
return (React.createElement("div", { className: this.model.getProgressCssClasses(this.props.container) },
|
|
5117
|
+
React.createElement("div", { style: progressStyle, className: this.model.css.progressBar, role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": this.progressBarAriaLabel },
|
|
5118
|
+
React.createElement("span", { className: SurveyProgressModel.getProgressTextInBarCss(this.model.css) }, this.progressText)),
|
|
5119
|
+
React.createElement("span", { className: SurveyProgressModel.getProgressTextUnderBarCss(this.model.css) }, this.progressText)));
|
|
5114
5120
|
}
|
|
5115
5121
|
}
|
|
5116
5122
|
ReactElementFactory.Instance.registerElement("sv-progress-pages", props => {
|
|
@@ -6464,7 +6470,7 @@ ReactElementFactory.Instance.registerElement(LocalizableString.editableRenderer,
|
|
|
6464
6470
|
return React.createElement(SurveyLocStringEditor, props);
|
|
6465
6471
|
});
|
|
6466
6472
|
|
|
6467
|
-
checkLibraryVersion(`${"2.5.
|
|
6473
|
+
checkLibraryVersion(`${"2.5.28"}`, "survey-react-ui");
|
|
6468
6474
|
|
|
6469
6475
|
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 };
|
|
6470
6476
|
//# sourceMappingURL=survey-react-ui.mjs.map
|