survey-js-ui 2.5.16 → 2.5.17
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 +13 -2
- package/fesm/survey-js-ui.mjs.map +1 -1
- package/index.html +2 -1
- package/package.json +10 -10
- package/survey-js-ui.js +13 -2
- package/survey-js-ui.js.map +1 -1
- package/survey-js-ui.min.js +2 -2
- package/typings/survey-react-ui/src/reactquestion_custom.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_rating.d.ts +1 -0
package/fesm/survey-js-ui.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v2.5.
|
|
2
|
+
* surveyjs - Survey JavaScript library v2.5.17
|
|
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
|
*/
|
|
@@ -5485,6 +5485,10 @@ class SurveyQuestionRating extends SurveyQuestionElementBase {
|
|
|
5485
5485
|
this.question.setValueFromClick(event.target.value);
|
|
5486
5486
|
this.setState({ value: this.question.value });
|
|
5487
5487
|
}
|
|
5488
|
+
componentDidMount() {
|
|
5489
|
+
super.componentDidMount();
|
|
5490
|
+
this.setState({ value: this.question.value });
|
|
5491
|
+
}
|
|
5488
5492
|
renderItem(item, index) {
|
|
5489
5493
|
const renderedItem = ReactElementFactory.Instance.createElement(this.question.itemComponent, {
|
|
5490
5494
|
question: this.question,
|
|
@@ -6085,6 +6089,13 @@ class SurveyQuestionCustom extends SurveyQuestionUncontrolledElement {
|
|
|
6085
6089
|
}
|
|
6086
6090
|
return res;
|
|
6087
6091
|
}
|
|
6092
|
+
getRenderedElements() {
|
|
6093
|
+
const res = super.getRenderedElements();
|
|
6094
|
+
if (!!this.question.contentQuestion) {
|
|
6095
|
+
res.push(this.question.contentQuestion);
|
|
6096
|
+
}
|
|
6097
|
+
return res;
|
|
6098
|
+
}
|
|
6088
6099
|
renderElement() {
|
|
6089
6100
|
return SurveyQuestion.renderQuestionBody(this.creator, this.question.contentQuestion);
|
|
6090
6101
|
}
|
|
@@ -6571,7 +6582,7 @@ SurveyModel.prototype["render"] = function (element = null) {
|
|
|
6571
6582
|
}
|
|
6572
6583
|
};
|
|
6573
6584
|
const preact = React;
|
|
6574
|
-
checkLibraryVersion(`${"2.5.
|
|
6585
|
+
checkLibraryVersion(`${"2.5.17"}`, "survey-js-ui");
|
|
6575
6586
|
|
|
6576
6587
|
export { CharacterCounterComponent, O as Children, x$3 as Component, ComponentsContainer, k$3 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, 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, P as Suspense, B as SuspenseList, SvgBundleComponent, SvgIcon, TagboxFilterString, TitleActions, TitleElement, attachKey2click, _n as cloneElement, Q$2 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$2 as useCallback, x$2 as useContext, P$2 as useDebugValue, w as useDeferredValue, y as useEffect, g$2 as useId, F$2 as useImperativeHandle, I as useInsertionEffect, _ as useLayoutEffect, T$2 as useMemo, h as useReducer, A$2 as useRef, d as useState, C as useSyncExternalStore, k as useTransition, vn as version };
|
|
6577
6588
|
//# sourceMappingURL=survey-js-ui.mjs.map
|