survey-js-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-js-ui.mjs +10 -8
- package/fesm/survey-js-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-js-ui.js +10 -8
- package/survey-js-ui.js.map +1 -1
- package/survey-js-ui.min.js +1 -1
- package/survey-js-ui.min.js.LICENSE.txt +1 -1
package/fesm/survey-js-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
|
*/
|
|
@@ -1616,9 +1616,9 @@ class SurveyElementErrors extends ReactSurveyElement {
|
|
|
1616
1616
|
}
|
|
1617
1617
|
renderElement() {
|
|
1618
1618
|
const errors = [];
|
|
1619
|
-
for (let i = 0; i < this.element.
|
|
1619
|
+
for (let i = 0; i < this.element.renderedErrors.length; i++) {
|
|
1620
1620
|
const key = "error" + i;
|
|
1621
|
-
errors.push(this.creator.renderError(key, this.element.
|
|
1621
|
+
errors.push(this.creator.renderError(key, this.element.renderedErrors[i], this.cssClasses, this.element));
|
|
1622
1622
|
}
|
|
1623
1623
|
return (_$1("div", { className: this.element.cssError, id: this.id }, errors));
|
|
1624
1624
|
}
|
|
@@ -1985,7 +1985,7 @@ class PopupModal extends SurveyElementBase {
|
|
|
1985
1985
|
PopupModal.modalDescriptors = [];
|
|
1986
1986
|
|
|
1987
1987
|
/*!
|
|
1988
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
1988
|
+
* surveyjs - Survey JavaScript library v2.3.8
|
|
1989
1989
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
1990
1990
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
1991
1991
|
*/
|
|
@@ -2055,7 +2055,7 @@ var iconsV1 = {
|
|
|
2055
2055
|
};
|
|
2056
2056
|
|
|
2057
2057
|
/*!
|
|
2058
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
2058
|
+
* surveyjs - Survey JavaScript library v2.3.8
|
|
2059
2059
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
2060
2060
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
2061
2061
|
*/
|
|
@@ -6107,10 +6107,12 @@ ReactElementFactory.Instance.registerElement(LocalizableString.defaultRenderer,
|
|
|
6107
6107
|
|
|
6108
6108
|
class QuestionErrorComponent extends x$2 {
|
|
6109
6109
|
render() {
|
|
6110
|
+
const error = this.props.error;
|
|
6111
|
+
const classes = this.props.cssClasses;
|
|
6110
6112
|
return (_$1("div", null,
|
|
6111
|
-
_$1("span", { className:
|
|
6113
|
+
_$1("span", { className: error.getCssIcon(classes), "aria-hidden": "true" }),
|
|
6112
6114
|
_$1("span", { className: this.props.cssClasses.error.item || undefined },
|
|
6113
|
-
_$1(SurveyLocStringViewer, { locStr:
|
|
6115
|
+
_$1(SurveyLocStringViewer, { locStr: error.locText }))));
|
|
6114
6116
|
}
|
|
6115
6117
|
}
|
|
6116
6118
|
ReactElementFactory.Instance.registerElement("sv-question-error", (props) => {
|
|
@@ -6324,7 +6326,7 @@ SurveyModel.prototype["render"] = function (element = null) {
|
|
|
6324
6326
|
}
|
|
6325
6327
|
};
|
|
6326
6328
|
const preact = React;
|
|
6327
|
-
checkLibraryVersion(`${"2.3.
|
|
6329
|
+
checkLibraryVersion(`${"2.3.8"}`, "survey-js-ui");
|
|
6328
6330
|
|
|
6329
6331
|
export { CharacterCounterComponent, O as Children, x$2 as Component, ComponentsContainer, k$2 as Fragment, Header, HeaderCell, HeaderMobile, List, ListItemContent, ListItemGroup, LoadingIndicatorComponent, LogoImage, MatrixRow, NotifierComponent, Popup, PopupModal, PopupSurvey, N as PureComponent, QuestionErrorComponent, RatingDropdownItem, RatingItem, RatingItemSmiley, RatingItemStar, ReactElementFactory, ReactQuestionFactory, ReactSurveyElement, ReactSurveyElementsWrapper, Scroll, Skeleton, SliderLabelItem, Cn as StrictMode, 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, P as Suspense, B as SuspenseList, SvgBundleComponent, SvgIcon, TagboxFilterString, TitleActions, TitleElement, attachKey2click, _n as cloneElement, Q$1 as createContext, _$1 as createElement, dn as createFactory, $ as createPortal, b$1 as createRef, Sn as findDOMNode, En as flushSync, D as forwardRef, tn as hydrate, pn as isFragment, yn as isMemo, mn as isValidElement, z as lazy, M as memo, preact, nn as render, renderPopupSurvey, renderSurvey, R as startTransition, bn as unmountComponentAtNode, gn as unstable_batchedUpdates, q$1 as useCallback, x$1 as useContext, P$1 as useDebugValue, w as useDeferredValue, y as useEffect, g$1 as useId, F$1 as useImperativeHandle, I as useInsertionEffect, _ as useLayoutEffect, T$1 as useMemo, h as useReducer, A$1 as useRef, d as useState, C as useSyncExternalStore, k as useTransition, vn as version };
|
|
6330
6332
|
//# sourceMappingURL=survey-js-ui.mjs.map
|