survey-js-ui 2.4.0 → 2.4.1

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.4.0
2
+ * surveyjs - Survey JavaScript library v2.4.1
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
  */
@@ -1109,7 +1109,7 @@ class PopupModal extends SurveyElementBase {
1109
1109
  PopupModal.modalDescriptors = [];
1110
1110
 
1111
1111
  /*!
1112
- * surveyjs - Survey JavaScript library v2.4.0
1112
+ * surveyjs - Survey JavaScript library v2.4.1
1113
1113
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
1114
1114
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
1115
1115
  */
@@ -1179,7 +1179,7 @@ var iconsV1 = {
1179
1179
  };
1180
1180
 
1181
1181
  /*!
1182
- * surveyjs - Survey JavaScript library v2.4.0
1182
+ * surveyjs - Survey JavaScript library v2.4.1
1183
1183
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
1184
1184
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
1185
1185
  */
@@ -4254,7 +4254,7 @@ class MatrixRow extends SurveyElementBase {
4254
4254
  const model = this.model;
4255
4255
  if (!model.visible)
4256
4256
  return null;
4257
- return (_$1("tr", { ref: this.root, className: model.className, "data-sv-drop-target-matrix-row": model.dropTargetId, onPointerDown: (event) => this.onPointerDownHandler(event) }, this.props.children));
4257
+ return (_$1("tr", { ref: this.root, className: model.className, "data-sv-drop-target-matrix-row": model.dropTargetId }, this.props.children));
4258
4258
  }
4259
4259
  }
4260
4260
  ReactElementFactory.Instance.registerElement("sv-matrix-row", (props) => {
@@ -4265,8 +4265,11 @@ class SurveyQuestionMatrixDynamicDragDropIcon extends ReactSurveyElement {
4265
4265
  get question() {
4266
4266
  return this.props.item.data.question;
4267
4267
  }
4268
+ get row() {
4269
+ return this.props.item.data.row;
4270
+ }
4268
4271
  renderElement() {
4269
- return _$1("div", null, this.renderIcon());
4272
+ return _$1("div", { onPointerDown: (event) => { this.question.onPointerDown(event.nativeEvent, this.row); } }, this.renderIcon());
4270
4273
  }
4271
4274
  renderIcon() {
4272
4275
  if (this.question.iconDragElement) {
@@ -6258,7 +6261,7 @@ SurveyModel.prototype["render"] = function (element = null) {
6258
6261
  }
6259
6262
  };
6260
6263
  const preact = React;
6261
- checkLibraryVersion(`${"2.4.0"}`, "survey-js-ui");
6264
+ checkLibraryVersion(`${"2.4.1"}`, "survey-js-ui");
6262
6265
 
6263
6266
  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 };
6264
6267
  //# sourceMappingURL=survey-js-ui.mjs.map