survey-react-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.
- package/fesm/survey-react-ui.mjs +9 -6
- package/fesm/survey-react-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-react-ui.js +14 -7
- package/survey-react-ui.js.map +1 -1
- package/survey-react-ui.min.js +1 -1
- package/survey-react-ui.min.js.LICENSE.txt +1 -1
- package/typings/src/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-react-ui",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "DevSoft Baltic OU <info@devsoftbaltic.com>",
|
|
6
6
|
"homepage": "https://surveyjs.io/",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"survey-core": "2.4.
|
|
54
|
+
"survey-core": "2.4.1",
|
|
55
55
|
"react": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
|
|
56
56
|
"react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0"
|
|
57
57
|
}
|
package/survey-react-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v2.4.
|
|
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
|
*/
|
|
@@ -28,7 +28,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28
28
|
/* harmony export */ icons: () => (/* binding */ iconsV1)
|
|
29
29
|
/* harmony export */ });
|
|
30
30
|
/*!
|
|
31
|
-
* surveyjs - Survey JavaScript library v2.4.
|
|
31
|
+
* surveyjs - Survey JavaScript library v2.4.1
|
|
32
32
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
33
33
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
34
34
|
*/
|
|
@@ -114,7 +114,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
114
114
|
/* harmony export */ icons: () => (/* binding */ iconsV2)
|
|
115
115
|
/* harmony export */ });
|
|
116
116
|
/*!
|
|
117
|
-
* surveyjs - Survey JavaScript library v2.4.
|
|
117
|
+
* surveyjs - Survey JavaScript library v2.4.1
|
|
118
118
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
119
119
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
120
120
|
*/
|
|
@@ -2453,8 +2453,16 @@ var SurveyQuestionMatrixDynamicDragDropIcon = /** @class */ (function (_super) {
|
|
|
2453
2453
|
enumerable: false,
|
|
2454
2454
|
configurable: true
|
|
2455
2455
|
});
|
|
2456
|
+
Object.defineProperty(SurveyQuestionMatrixDynamicDragDropIcon.prototype, "row", {
|
|
2457
|
+
get: function () {
|
|
2458
|
+
return this.props.item.data.row;
|
|
2459
|
+
},
|
|
2460
|
+
enumerable: false,
|
|
2461
|
+
configurable: true
|
|
2462
|
+
});
|
|
2456
2463
|
SurveyQuestionMatrixDynamicDragDropIcon.prototype.renderElement = function () {
|
|
2457
|
-
|
|
2464
|
+
var _this = this;
|
|
2465
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { onPointerDown: function (event) { _this.question.onPointerDown(event.nativeEvent, _this.row); } }, this.renderIcon());
|
|
2458
2466
|
};
|
|
2459
2467
|
SurveyQuestionMatrixDynamicDragDropIcon.prototype.renderIcon = function () {
|
|
2460
2468
|
if (this.question.iconDragElement) {
|
|
@@ -2630,11 +2638,10 @@ var MatrixRow = /** @class */ (function (_super) {
|
|
|
2630
2638
|
return true;
|
|
2631
2639
|
};
|
|
2632
2640
|
MatrixRow.prototype.render = function () {
|
|
2633
|
-
var _this = this;
|
|
2634
2641
|
var model = this.model;
|
|
2635
2642
|
if (!model.visible)
|
|
2636
2643
|
return null;
|
|
2637
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("tr", { ref: this.root, className: model.className, "data-sv-drop-target-matrix-row": model.dropTargetId
|
|
2644
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("tr", { ref: this.root, className: model.className, "data-sv-drop-target-matrix-row": model.dropTargetId }, this.props.children));
|
|
2638
2645
|
};
|
|
2639
2646
|
return MatrixRow;
|
|
2640
2647
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
@@ -12093,7 +12100,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12093
12100
|
|
|
12094
12101
|
|
|
12095
12102
|
|
|
12096
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_0__.checkLibraryVersion)("".concat("2.4.
|
|
12103
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_0__.checkLibraryVersion)("".concat("2.4.1"), "survey-react-ui");
|
|
12097
12104
|
|
|
12098
12105
|
})();
|
|
12099
12106
|
|