survey-react-ui 1.12.51 → 1.12.53

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.3.3
2
+ * surveyjs - Survey JavaScript library v2.3.6
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
  */
@@ -896,6 +896,8 @@ class PopupContainer extends SurveyElementBase {
896
896
  const style = { display: this.model.isVisible ? "" : "none", };
897
897
  return (React.createElement("div", { tabIndex: -1, className: className, style: style, onClick: (e) => {
898
898
  this.model.clickOutside(e);
899
+ }, onBlur: (e) => {
900
+ this.model.blur(e);
899
901
  }, onKeyDown: this.handleKeydown }, container));
900
902
  }
901
903
  componentDidMount() {
@@ -1930,7 +1932,7 @@ class PopupModal extends SurveyElementBase {
1930
1932
  PopupModal.modalDescriptors = [];
1931
1933
 
1932
1934
  /*!
1933
- * surveyjs - Survey JavaScript library v2.3.3
1935
+ * surveyjs - Survey JavaScript library v2.3.6
1934
1936
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
1935
1937
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
1936
1938
  */
@@ -2000,7 +2002,7 @@ var iconsV1 = {
2000
2002
  };
2001
2003
 
2002
2004
  /*!
2003
- * surveyjs - Survey JavaScript library v2.3.3
2005
+ * surveyjs - Survey JavaScript library v2.3.6
2004
2006
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
2005
2007
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
2006
2008
  */
@@ -3062,8 +3064,9 @@ class TagboxFilterString extends SurveyElementBase {
3062
3064
  }
3063
3065
  }
3064
3066
  onChange(e) {
3065
- const { root } = settings.environment;
3066
- if (e.target === root.activeElement) {
3067
+ var _a;
3068
+ const activeElement = (_a = e.target.getRootNode()) === null || _a === void 0 ? void 0 : _a.activeElement;
3069
+ if (e.target === activeElement) {
3067
3070
  this.model.inputStringRendered = e.target.value;
3068
3071
  }
3069
3072
  }
@@ -3237,7 +3240,9 @@ class SurveyQuestionDropdownBase extends SurveyQuestionUncontrolledElement {
3237
3240
  const { root } = settings.environment;
3238
3241
  const dropdownListModel = this.dropdownListModel;
3239
3242
  const onInputChange = (e) => {
3240
- if (e.target === root.activeElement) {
3243
+ var _a;
3244
+ const activeElement = (_a = e.target.getRootNode()) === null || _a === void 0 ? void 0 : _a.activeElement;
3245
+ if (e.target === activeElement) {
3241
3246
  dropdownListModel.inputStringRendered = e.target.value;
3242
3247
  }
3243
3248
  };
@@ -5095,8 +5100,9 @@ class List extends SurveyElementBase {
5095
5100
  return null;
5096
5101
  else {
5097
5102
  const onChange = (e) => {
5098
- const { root } = settings.environment;
5099
- if (e.target === root.activeElement) {
5103
+ var _a;
5104
+ const activeElement = (_a = e.target.getRootNode()) === null || _a === void 0 ? void 0 : _a.activeElement;
5105
+ if (e.target === activeElement) {
5100
5106
  this.model.filterString = e.target.value;
5101
5107
  }
5102
5108
  };
@@ -6214,7 +6220,7 @@ ReactElementFactory.Instance.registerElement(LocalizableString.editableRenderer,
6214
6220
  return React.createElement(SurveyLocStringEditor, props);
6215
6221
  });
6216
6222
 
6217
- checkLibraryVersion(`${"2.3.3"}`, "survey-react-ui");
6223
+ checkLibraryVersion(`${"2.3.6"}`, "survey-react-ui");
6218
6224
 
6219
6225
  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, 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, SvgBundleComponent, SvgIcon, TagboxFilterString, TitleActions, TitleElement, attachKey2click };
6220
6226
  //# sourceMappingURL=survey-react-ui.mjs.map