survey-react-ui 2.0.7 → 2.0.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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.7
2
+ * surveyjs - Survey JavaScript library v2.0.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
  */
@@ -547,8 +547,9 @@ class SurveyRow extends SurveyElementBase {
547
547
  this.row.isNeedRender = !this.row.isLazyRendering();
548
548
  }
549
549
  componentWillUnmount() {
550
+ const isCurrentStateElement = this.isCurrentStateElement(this.getStateElement());
550
551
  super.componentWillUnmount();
551
- if (this.isCurrentStateElement(this.getStateElement())) {
552
+ if (isCurrentStateElement) {
552
553
  this.row.setRootElement(undefined);
553
554
  this.stopLazyRendering();
554
555
  }
@@ -1923,7 +1924,7 @@ class PopupModal extends SurveyElementBase {
1923
1924
  PopupModal.modalDescriptors = [];
1924
1925
 
1925
1926
  /*!
1926
- * surveyjs - Survey JavaScript library v2.0.7
1927
+ * surveyjs - Survey JavaScript library v2.0.8
1927
1928
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
1928
1929
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
1929
1930
  */
@@ -1993,7 +1994,7 @@ var iconsV1 = {
1993
1994
  };
1994
1995
 
1995
1996
  /*!
1996
- * surveyjs - Survey JavaScript library v2.0.7
1997
+ * surveyjs - Survey JavaScript library v2.0.8
1997
1998
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
1998
1999
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
1999
2000
  */
@@ -6077,7 +6078,7 @@ ReactElementFactory.Instance.registerElement(LocalizableString.editableRenderer,
6077
6078
  return React.createElement(SurveyLocStringEditor, props);
6078
6079
  });
6079
6080
 
6080
- checkLibraryVersion(`${"2.0.7"}`, "survey-react-ui");
6081
+ checkLibraryVersion(`${"2.0.8"}`, "survey-react-ui");
6081
6082
 
6082
6083
  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, 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, SurveyQuestionTagbox, SurveyQuestionTagboxItem, SurveyQuestionText, SurveyRow, SurveyTimerPanel, SurveyWindow, SvgBundleComponent, SvgIcon, TagboxFilterString, TitleActions, TitleElement, attachKey2click };
6083
6084
  //# sourceMappingURL=survey-react-ui.mjs.map