survey-js-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
  */
@@ -600,8 +600,9 @@ class SurveyRow extends SurveyElementBase {
600
600
  this.row.isNeedRender = !this.row.isLazyRendering();
601
601
  }
602
602
  componentWillUnmount() {
603
+ const isCurrentStateElement = this.isCurrentStateElement(this.getStateElement());
603
604
  super.componentWillUnmount();
604
- if (this.isCurrentStateElement(this.getStateElement())) {
605
+ if (isCurrentStateElement) {
605
606
  this.row.setRootElement(undefined);
606
607
  this.stopLazyRendering();
607
608
  }
@@ -1976,7 +1977,7 @@ class PopupModal extends SurveyElementBase {
1976
1977
  PopupModal.modalDescriptors = [];
1977
1978
 
1978
1979
  /*!
1979
- * surveyjs - Survey JavaScript library v2.0.7
1980
+ * surveyjs - Survey JavaScript library v2.0.8
1980
1981
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
1981
1982
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
1982
1983
  */
@@ -2046,7 +2047,7 @@ var iconsV1 = {
2046
2047
  };
2047
2048
 
2048
2049
  /*!
2049
- * surveyjs - Survey JavaScript library v2.0.7
2050
+ * surveyjs - Survey JavaScript library v2.0.8
2050
2051
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
2051
2052
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
2052
2053
  */
@@ -6179,7 +6180,7 @@ SurveyModel.prototype["render"] = function (element = null) {
6179
6180
  }
6180
6181
  };
6181
6182
  const preact = React;
6182
- checkLibraryVersion(`${"2.0.7"}`, "survey-js-ui");
6183
+ checkLibraryVersion(`${"2.0.8"}`, "survey-js-ui");
6183
6184
 
6184
6185
  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, Cn as StrictMode, 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, P as Suspense, B as SuspenseList, SvgBundleComponent, SvgIcon, TagboxFilterString, TitleActions, TitleElement, attachKey2click, _n as cloneElement, K$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, mn as isFragment, yn as isMemo, pn 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 };
6185
6186
  //# sourceMappingURL=survey-js-ui.mjs.map