survey-react-ui 2.5.8 → 2.5.10
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.10
|
|
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
|
*/
|
|
@@ -668,7 +668,8 @@ class PopupContainer extends SurveyElementBase {
|
|
|
668
668
|
return React.createElement("div", { className: "sv-popup__content" }, contentComponent);
|
|
669
669
|
}
|
|
670
670
|
renderHeaderPopup(popupModel) {
|
|
671
|
-
return
|
|
671
|
+
return popupModel.showCloseButton ? React.createElement("button", { tabIndex: -1, className: "sv-popup__close-button sd-action sd-action--icon", onClick: () => this.model.clickClose() },
|
|
672
|
+
React.createElement(SvgIcon, { className: "sv-popup__close-button-icon", iconName: "icon-close-24x24", size: "auto" })) : null;
|
|
672
673
|
}
|
|
673
674
|
renderFooter(popuModel) {
|
|
674
675
|
return (React.createElement("div", { className: "sv-popup__body-footer" },
|
|
@@ -1101,7 +1102,7 @@ class PopupModal extends SurveyElementBase {
|
|
|
1101
1102
|
PopupModal.modalDescriptors = [];
|
|
1102
1103
|
|
|
1103
1104
|
/*!
|
|
1104
|
-
* surveyjs - Survey JavaScript library v2.5.
|
|
1105
|
+
* surveyjs - Survey JavaScript library v2.5.10
|
|
1105
1106
|
* Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
1106
1107
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
1107
1108
|
*/
|
|
@@ -1171,7 +1172,7 @@ var iconsV1 = {
|
|
|
1171
1172
|
};
|
|
1172
1173
|
|
|
1173
1174
|
/*!
|
|
1174
|
-
* surveyjs - Survey JavaScript library v2.5.
|
|
1175
|
+
* surveyjs - Survey JavaScript library v2.5.10
|
|
1175
1176
|
* Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
1176
1177
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
1177
1178
|
*/
|
|
@@ -4908,7 +4909,7 @@ class SurveyProgressButtons extends SurveyNavigationBase {
|
|
|
4908
4909
|
this.setState({ canShowFooter: !this.model.showItemTitles });
|
|
4909
4910
|
}
|
|
4910
4911
|
render() {
|
|
4911
|
-
return (React.createElement("div", { className: this.model.getRootCss(this.props.container), style: { "maxWidth": this.model.progressWidth }, role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": this.model.progressBarAriaLabel },
|
|
4912
|
+
return (React.createElement("div", { className: this.model.getRootCss(this.props.container), style: { "maxWidth": this.model.progressWidth, ["--sd-progress-buttons-pages-count"]: this.survey.visiblePages.length }, role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": this.model.progressBarAriaLabel },
|
|
4912
4913
|
this.state.canShowHeader ? React.createElement("div", { className: this.css.progressButtonsHeader },
|
|
4913
4914
|
React.createElement("div", { className: this.css.progressButtonsPageTitle, title: this.model.headerText }, this.model.headerText)) : null,
|
|
4914
4915
|
React.createElement("div", { className: this.css.progressButtonsContainer },
|
|
@@ -6186,7 +6187,7 @@ ReactElementFactory.Instance.registerElement(LocalizableString.editableRenderer,
|
|
|
6186
6187
|
return React.createElement(SurveyLocStringEditor, props);
|
|
6187
6188
|
});
|
|
6188
6189
|
|
|
6189
|
-
checkLibraryVersion(`${"2.5.
|
|
6190
|
+
checkLibraryVersion(`${"2.5.10"}`, "survey-react-ui");
|
|
6190
6191
|
|
|
6191
6192
|
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 };
|
|
6192
6193
|
//# sourceMappingURL=survey-react-ui.mjs.map
|