survey-react-ui 2.5.3 → 2.5.5
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-react-ui",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.5",
|
|
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.5.
|
|
54
|
+
"survey-core": "2.5.5",
|
|
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,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v2.5.
|
|
3
|
-
* Copyright (c) 2015-
|
|
2
|
+
* surveyjs - Survey JavaScript library v2.5.5
|
|
3
|
+
* Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
6
6
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -28,8 +28,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28
28
|
/* harmony export */ icons: () => (/* binding */ iconsV1)
|
|
29
29
|
/* harmony export */ });
|
|
30
30
|
/*!
|
|
31
|
-
* surveyjs - Survey JavaScript library v2.5.
|
|
32
|
-
* Copyright (c) 2015-
|
|
31
|
+
* surveyjs - Survey JavaScript library v2.5.5
|
|
32
|
+
* Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
33
33
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
34
34
|
*/
|
|
35
35
|
|
|
@@ -114,8 +114,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
114
114
|
/* harmony export */ icons: () => (/* binding */ iconsV2)
|
|
115
115
|
/* harmony export */ });
|
|
116
116
|
/*!
|
|
117
|
-
* surveyjs - Survey JavaScript library v2.5.
|
|
118
|
-
* Copyright (c) 2015-
|
|
117
|
+
* surveyjs - Survey JavaScript library v2.5.5
|
|
118
|
+
* Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
119
119
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
120
120
|
*/
|
|
121
121
|
|
|
@@ -6888,29 +6888,33 @@ _element_factory__WEBPACK_IMPORTED_MODULE_5__.ReactElementFactory.Instance.regis
|
|
|
6888
6888
|
});
|
|
6889
6889
|
function attachKey2click(element, viewModel, options) {
|
|
6890
6890
|
if (options === void 0) { options = { processEsc: true, disableTabStop: false }; }
|
|
6891
|
+
var props = {};
|
|
6891
6892
|
if ((!!viewModel && viewModel.disableTabStop) || (!!options && options.disableTabStop)) {
|
|
6892
|
-
|
|
6893
|
+
props = { tabIndex: -1 };
|
|
6893
6894
|
}
|
|
6894
|
-
|
|
6895
|
-
|
|
6896
|
-
|
|
6897
|
-
|
|
6898
|
-
|
|
6895
|
+
else {
|
|
6896
|
+
options = __assign({}, options);
|
|
6897
|
+
props = {
|
|
6898
|
+
tabIndex: 0,
|
|
6899
|
+
onKeyUp: function (evt) {
|
|
6899
6900
|
evt.preventDefault();
|
|
6900
6901
|
evt.stopPropagation();
|
|
6901
|
-
|
|
6902
|
-
|
|
6903
|
-
|
|
6904
|
-
}
|
|
6905
|
-
}
|
|
6906
|
-
|
|
6902
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.doKey2ClickUp)(evt, options);
|
|
6903
|
+
},
|
|
6904
|
+
onKeyDown: function (evt) { return (0,survey_core__WEBPACK_IMPORTED_MODULE_1__.doKey2ClickDown)(evt, options); },
|
|
6905
|
+
onBlur: function (evt) { return (0,survey_core__WEBPACK_IMPORTED_MODULE_1__.doKey2ClickBlur)(evt); },
|
|
6906
|
+
};
|
|
6907
|
+
}
|
|
6908
|
+
props["onPointerUp"] = function (evt) {
|
|
6909
|
+
if (evt.pointerType === "pen") {
|
|
6907
6910
|
evt.preventDefault();
|
|
6908
6911
|
evt.stopPropagation();
|
|
6909
|
-
|
|
6910
|
-
|
|
6911
|
-
|
|
6912
|
-
|
|
6913
|
-
}
|
|
6912
|
+
var element_1 = evt.target;
|
|
6913
|
+
if (element_1 === null || element_1 === void 0 ? void 0 : element_1.click)
|
|
6914
|
+
element_1.click();
|
|
6915
|
+
}
|
|
6916
|
+
};
|
|
6917
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(element, props);
|
|
6914
6918
|
}
|
|
6915
6919
|
|
|
6916
6920
|
|
|
@@ -12118,7 +12122,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12118
12122
|
|
|
12119
12123
|
|
|
12120
12124
|
|
|
12121
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_0__.checkLibraryVersion)("".concat("2.5.
|
|
12125
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_0__.checkLibraryVersion)("".concat("2.5.5"), "survey-react-ui");
|
|
12122
12126
|
|
|
12123
12127
|
})();
|
|
12124
12128
|
|