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.
- package/fesm/survey-js-ui.mjs +9 -6
- package/fesm/survey-js-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-js-ui.js +14 -7
- package/survey-js-ui.js.map +1 -1
- package/survey-js-ui.min.js +1 -1
- package/survey-js-ui.min.js.LICENSE.txt +1 -1
- package/typings/survey-react-ui/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-js-ui",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "A free MIT-licensed UI component that renders dynamic, interactive JSON-based forms and surveys in apps built with HTML, CSS, and JavaScript. You can use it to collect responses from users and send them to your own database.",
|
|
6
6
|
"homepage": "https://surveyjs.io/",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"survey-core": "2.4.
|
|
56
|
+
"survey-core": "2.4.1",
|
|
57
57
|
"@types/react-dom": "*",
|
|
58
58
|
"@types/react": "*"
|
|
59
59
|
}
|
package/survey-js-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
|
*/
|
|
@@ -23,7 +23,7 @@ return /******/ (() => { // webpackBootstrap
|
|
|
23
23
|
/***/ (function(module) {
|
|
24
24
|
|
|
25
25
|
/*!
|
|
26
|
-
* surveyjs - Survey JavaScript library v2.4.
|
|
26
|
+
* surveyjs - Survey JavaScript library v2.4.1
|
|
27
27
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
28
28
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
29
29
|
*/
|
|
@@ -830,7 +830,7 @@ path.keys().forEach(function (key) {
|
|
|
830
830
|
/***/ (function(module) {
|
|
831
831
|
|
|
832
832
|
/*!
|
|
833
|
-
* surveyjs - Survey JavaScript library v2.4.
|
|
833
|
+
* surveyjs - Survey JavaScript library v2.4.1
|
|
834
834
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
835
835
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
836
836
|
*/
|
|
@@ -3893,8 +3893,16 @@ var SurveyQuestionMatrixDynamicDragDropIcon = /** @class */ (function (_super) {
|
|
|
3893
3893
|
enumerable: false,
|
|
3894
3894
|
configurable: true
|
|
3895
3895
|
});
|
|
3896
|
+
Object.defineProperty(SurveyQuestionMatrixDynamicDragDropIcon.prototype, "row", {
|
|
3897
|
+
get: function () {
|
|
3898
|
+
return this.props.item.data.row;
|
|
3899
|
+
},
|
|
3900
|
+
enumerable: false,
|
|
3901
|
+
configurable: true
|
|
3902
|
+
});
|
|
3896
3903
|
SurveyQuestionMatrixDynamicDragDropIcon.prototype.renderElement = function () {
|
|
3897
|
-
|
|
3904
|
+
var _this = this;
|
|
3905
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { onPointerDown: function (event) { _this.question.onPointerDown(event.nativeEvent, _this.row); } }, this.renderIcon());
|
|
3898
3906
|
};
|
|
3899
3907
|
SurveyQuestionMatrixDynamicDragDropIcon.prototype.renderIcon = function () {
|
|
3900
3908
|
if (this.question.iconDragElement) {
|
|
@@ -4070,11 +4078,10 @@ var MatrixRow = /** @class */ (function (_super) {
|
|
|
4070
4078
|
return true;
|
|
4071
4079
|
};
|
|
4072
4080
|
MatrixRow.prototype.render = function () {
|
|
4073
|
-
var _this = this;
|
|
4074
4081
|
var model = this.model;
|
|
4075
4082
|
if (!model.visible)
|
|
4076
4083
|
return null;
|
|
4077
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("tr", { ref: this.root, className: model.className, "data-sv-drop-target-matrix-row": model.dropTargetId
|
|
4084
|
+
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));
|
|
4078
4085
|
};
|
|
4079
4086
|
return MatrixRow;
|
|
4080
4087
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
@@ -13767,7 +13774,7 @@ var preact = react__WEBPACK_IMPORTED_MODULE_0__;
|
|
|
13767
13774
|
|
|
13768
13775
|
|
|
13769
13776
|
|
|
13770
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_2__.checkLibraryVersion)("".concat("2.4.
|
|
13777
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_2__.checkLibraryVersion)("".concat("2.4.1"), "survey-js-ui");
|
|
13771
13778
|
|
|
13772
13779
|
})();
|
|
13773
13780
|
|