survey-react-ui 2.3.7 → 2.3.8
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.3.
|
|
2
|
+
* surveyjs - Survey JavaScript library v2.3.8
|
|
3
3
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -1563,9 +1563,9 @@ class SurveyElementErrors extends ReactSurveyElement {
|
|
|
1563
1563
|
}
|
|
1564
1564
|
renderElement() {
|
|
1565
1565
|
const errors = [];
|
|
1566
|
-
for (let i = 0; i < this.element.
|
|
1566
|
+
for (let i = 0; i < this.element.renderedErrors.length; i++) {
|
|
1567
1567
|
const key = "error" + i;
|
|
1568
|
-
errors.push(this.creator.renderError(key, this.element.
|
|
1568
|
+
errors.push(this.creator.renderError(key, this.element.renderedErrors[i], this.cssClasses, this.element));
|
|
1569
1569
|
}
|
|
1570
1570
|
return (React.createElement("div", { className: this.element.cssError, id: this.id }, errors));
|
|
1571
1571
|
}
|
|
@@ -1932,7 +1932,7 @@ class PopupModal extends SurveyElementBase {
|
|
|
1932
1932
|
PopupModal.modalDescriptors = [];
|
|
1933
1933
|
|
|
1934
1934
|
/*!
|
|
1935
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
1935
|
+
* surveyjs - Survey JavaScript library v2.3.8
|
|
1936
1936
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
1937
1937
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
1938
1938
|
*/
|
|
@@ -2002,7 +2002,7 @@ var iconsV1 = {
|
|
|
2002
2002
|
};
|
|
2003
2003
|
|
|
2004
2004
|
/*!
|
|
2005
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
2005
|
+
* surveyjs - Survey JavaScript library v2.3.8
|
|
2006
2006
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
2007
2007
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
2008
2008
|
*/
|
|
@@ -6054,10 +6054,12 @@ ReactElementFactory.Instance.registerElement(LocalizableString.defaultRenderer,
|
|
|
6054
6054
|
|
|
6055
6055
|
class QuestionErrorComponent extends React.Component {
|
|
6056
6056
|
render() {
|
|
6057
|
+
const error = this.props.error;
|
|
6058
|
+
const classes = this.props.cssClasses;
|
|
6057
6059
|
return (React.createElement("div", null,
|
|
6058
|
-
React.createElement("span", { className:
|
|
6060
|
+
React.createElement("span", { className: error.getCssIcon(classes), "aria-hidden": "true" }),
|
|
6059
6061
|
React.createElement("span", { className: this.props.cssClasses.error.item || undefined },
|
|
6060
|
-
React.createElement(SurveyLocStringViewer, { locStr:
|
|
6062
|
+
React.createElement(SurveyLocStringViewer, { locStr: error.locText }))));
|
|
6061
6063
|
}
|
|
6062
6064
|
}
|
|
6063
6065
|
ReactElementFactory.Instance.registerElement("sv-question-error", (props) => {
|
|
@@ -6222,7 +6224,7 @@ ReactElementFactory.Instance.registerElement(LocalizableString.editableRenderer,
|
|
|
6222
6224
|
return React.createElement(SurveyLocStringEditor, props);
|
|
6223
6225
|
});
|
|
6224
6226
|
|
|
6225
|
-
checkLibraryVersion(`${"2.3.
|
|
6227
|
+
checkLibraryVersion(`${"2.3.8"}`, "survey-react-ui");
|
|
6226
6228
|
|
|
6227
6229
|
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, 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 };
|
|
6228
6230
|
//# sourceMappingURL=survey-react-ui.mjs.map
|