survey-react-ui 2.2.4 → 2.2.5
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.2.
|
|
2
|
+
* surveyjs - Survey JavaScript library v2.2.5
|
|
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
|
*/
|
|
@@ -1925,7 +1925,7 @@ class PopupModal extends SurveyElementBase {
|
|
|
1925
1925
|
PopupModal.modalDescriptors = [];
|
|
1926
1926
|
|
|
1927
1927
|
/*!
|
|
1928
|
-
* surveyjs - Survey JavaScript library v2.2.
|
|
1928
|
+
* surveyjs - Survey JavaScript library v2.2.5
|
|
1929
1929
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
1930
1930
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
1931
1931
|
*/
|
|
@@ -1995,7 +1995,7 @@ var iconsV1 = {
|
|
|
1995
1995
|
};
|
|
1996
1996
|
|
|
1997
1997
|
/*!
|
|
1998
|
-
* surveyjs - Survey JavaScript library v2.2.
|
|
1998
|
+
* surveyjs - Survey JavaScript library v2.2.5
|
|
1999
1999
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
2000
2000
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
2001
2001
|
*/
|
|
@@ -2971,7 +2971,7 @@ class RatingItem extends RatingItemBase {
|
|
|
2971
2971
|
render() {
|
|
2972
2972
|
var itemText = this.renderLocString(this.item.locText);
|
|
2973
2973
|
return (React.createElement("label", { onMouseDown: this.handleOnMouseDown, className: this.question.getItemClassByText(this.item.itemValue, this.item.text) },
|
|
2974
|
-
React.createElement("input", { type: "radio", className: "sv-visuallyhidden", name: this.question.questionName, id: this.question.getInputId(this.index), value: this.item.value, disabled: this.question.isDisabledAttr, readOnly: this.question.isReadOnlyAttr, checked: this.question.value == this.item.value, onClick: this.props.handleOnClick, onChange: () => { }, "aria-
|
|
2974
|
+
React.createElement("input", { type: "radio", className: "sv-visuallyhidden", name: this.question.questionName, id: this.question.getInputId(this.index), value: this.item.value, disabled: this.question.isDisabledAttr, readOnly: this.question.isReadOnlyAttr, checked: this.question.value == this.item.value, onClick: this.props.handleOnClick, onChange: () => { }, "aria-label": this.question.ariaLabel }),
|
|
2975
2975
|
React.createElement("span", { className: this.question.cssClasses.itemText, "data-text": this.item.text }, itemText)));
|
|
2976
2976
|
}
|
|
2977
2977
|
componentDidMount() {
|
|
@@ -2985,7 +2985,7 @@ ReactElementFactory.Instance.registerElement("sv-rating-item", (props) => {
|
|
|
2985
2985
|
class RatingItemStar extends RatingItemBase {
|
|
2986
2986
|
render() {
|
|
2987
2987
|
return (React.createElement("label", { onMouseDown: this.handleOnMouseDown, className: this.question.getItemClass(this.item.itemValue), onMouseOver: e => this.question.onItemMouseIn(this.item), onMouseOut: e => this.question.onItemMouseOut(this.item), title: this.item.text },
|
|
2988
|
-
React.createElement("input", { type: "radio", className: "sv-visuallyhidden", name: this.question.questionName, id: this.question.getInputId(this.index), value: this.item.value, disabled: this.question.isDisabledAttr, readOnly: this.question.isReadOnlyAttr, checked: this.question.value == this.item.value, onClick: this.props.handleOnClick, onChange: () => { }, "aria-
|
|
2988
|
+
React.createElement("input", { type: "radio", className: "sv-visuallyhidden", name: this.question.questionName, id: this.question.getInputId(this.index), value: this.item.value, disabled: this.question.isDisabledAttr, readOnly: this.question.isReadOnlyAttr, checked: this.question.value == this.item.value, onClick: this.props.handleOnClick, onChange: () => { }, "aria-label": this.question.ariaLabel }),
|
|
2989
2989
|
React.createElement(SvgIcon, { className: "sv-star", size: "auto", iconName: this.question.itemStarIcon }),
|
|
2990
2990
|
React.createElement(SvgIcon, { className: "sv-star-2", size: "auto", iconName: this.question.itemStarIconAlt })));
|
|
2991
2991
|
}
|
|
@@ -2997,7 +2997,7 @@ ReactElementFactory.Instance.registerElement("sv-rating-item-star", (props) => {
|
|
|
2997
2997
|
class RatingItemSmiley extends RatingItemBase {
|
|
2998
2998
|
render() {
|
|
2999
2999
|
return (React.createElement("label", { onMouseDown: this.handleOnMouseDown, style: this.question.getItemStyle(this.item.itemValue, this.item.highlight), className: this.question.getItemClass(this.item.itemValue), onMouseOver: e => this.question.onItemMouseIn(this.item), onMouseOut: e => this.question.onItemMouseOut(this.item), title: this.item.text },
|
|
3000
|
-
React.createElement("input", { type: "radio", className: "sv-visuallyhidden", name: this.question.questionName, id: this.question.getInputId(this.index), value: this.item.value, disabled: this.question.isDisabledAttr, readOnly: this.question.isReadOnlyAttr, checked: this.question.value == this.item.value, onClick: this.props.handleOnClick, onChange: () => { }, "aria-
|
|
3000
|
+
React.createElement("input", { type: "radio", className: "sv-visuallyhidden", name: this.question.questionName, id: this.question.getInputId(this.index), value: this.item.value, disabled: this.question.isDisabledAttr, readOnly: this.question.isReadOnlyAttr, checked: this.question.value == this.item.value, onClick: this.props.handleOnClick, onChange: () => { }, "aria-label": this.question.ariaLabel }),
|
|
3001
3001
|
React.createElement(SvgIcon, { size: "auto", iconName: this.question.getItemSmileyIconName(this.item.itemValue) })));
|
|
3002
3002
|
}
|
|
3003
3003
|
}
|
|
@@ -5161,7 +5161,7 @@ class SurveyQuestionRating extends SurveyQuestionElementBase {
|
|
|
5161
5161
|
? this.renderLocString(this.question.locMaxRateDescription)
|
|
5162
5162
|
: null;
|
|
5163
5163
|
return (React.createElement("div", { className: this.question.ratingRootCss, ref: (div) => (this.setControl(div)) },
|
|
5164
|
-
React.createElement("fieldset", { role: "
|
|
5164
|
+
React.createElement("fieldset", { role: this.question.a11y_input_ariaRole, "aria-required": this.question.a11y_input_ariaRequired, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-describedby": this.question.a11y_input_ariaDescribedBy, "aria-invalid": this.question.a11y_input_ariaInvalid, "aria-errormessage": this.question.a11y_input_ariaErrormessage },
|
|
5165
5165
|
React.createElement("legend", { role: "presentation", className: "sv-hidden" }),
|
|
5166
5166
|
!!this.question.hasMinLabel ? React.createElement("span", { className: cssClasses.minText }, minText) : null,
|
|
5167
5167
|
this.question.renderedRateItems.map((item, index) => this.renderItem(item, index)),
|
|
@@ -6196,7 +6196,7 @@ ReactElementFactory.Instance.registerElement(LocalizableString.editableRenderer,
|
|
|
6196
6196
|
return React.createElement(SurveyLocStringEditor, props);
|
|
6197
6197
|
});
|
|
6198
6198
|
|
|
6199
|
-
checkLibraryVersion(`${"2.2.
|
|
6199
|
+
checkLibraryVersion(`${"2.2.5"}`, "survey-react-ui");
|
|
6200
6200
|
|
|
6201
6201
|
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, 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 };
|
|
6202
6202
|
//# sourceMappingURL=survey-react-ui.mjs.map
|