survey-creator-react 2.3.8 → 2.3.9
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-creator-react",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.9",
|
|
4
4
|
"description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"ace-builds": "^1.4.12",
|
|
38
38
|
"react": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
|
|
39
39
|
"react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
|
|
40
|
-
"survey-core": "2.3.
|
|
41
|
-
"survey-react-ui": "2.3.
|
|
42
|
-
"survey-creator-core": "2.3.
|
|
40
|
+
"survey-core": "2.3.9",
|
|
41
|
+
"survey-react-ui": "2.3.9",
|
|
42
|
+
"survey-creator-core": "2.3.9"
|
|
43
43
|
},
|
|
44
44
|
"peerDependenciesMeta": {
|
|
45
45
|
"ace-builds": {
|
package/survey-creator-react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator React v2.3.
|
|
2
|
+
* SurveyJS Creator React v2.3.9
|
|
3
3
|
* (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* Github: https://github.com/surveyjs/survey-creator
|
|
5
5
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
@@ -1674,6 +1674,7 @@ var TabbedMenuItemWrapper = /** @class */ (function (_super) {
|
|
|
1674
1674
|
function TabbedMenuItemWrapper(props) {
|
|
1675
1675
|
var _this = _super.call(this, props) || this;
|
|
1676
1676
|
_this.ref = react__WEBPACK_IMPORTED_MODULE_1__.createRef();
|
|
1677
|
+
_this.state = { changed: 0 };
|
|
1677
1678
|
return _this;
|
|
1678
1679
|
}
|
|
1679
1680
|
Object.defineProperty(TabbedMenuItemWrapper.prototype, "item", {
|
|
@@ -1700,14 +1701,22 @@ var TabbedMenuItemWrapper = /** @class */ (function (_super) {
|
|
|
1700
1701
|
var _this = this;
|
|
1701
1702
|
_super.prototype.componentDidMount.call(this);
|
|
1702
1703
|
this.item.updateModeCallback = function (mode, callback) {
|
|
1704
|
+
var update = function () {
|
|
1705
|
+
if (_this.item.mode == mode) {
|
|
1706
|
+
_this.setState({ changed: _this.state.changed + 1 });
|
|
1707
|
+
}
|
|
1708
|
+
else {
|
|
1709
|
+
_this.item.mode = mode;
|
|
1710
|
+
}
|
|
1711
|
+
};
|
|
1703
1712
|
queueMicrotask(function () {
|
|
1704
1713
|
if (react_dom__WEBPACK_IMPORTED_MODULE_2__.flushSync) {
|
|
1705
1714
|
react_dom__WEBPACK_IMPORTED_MODULE_2__.flushSync(function () {
|
|
1706
|
-
|
|
1715
|
+
update();
|
|
1707
1716
|
});
|
|
1708
1717
|
}
|
|
1709
1718
|
else {
|
|
1710
|
-
|
|
1719
|
+
update();
|
|
1711
1720
|
}
|
|
1712
1721
|
queueMicrotask(function () {
|
|
1713
1722
|
callback(mode, _this.ref.current);
|
|
@@ -3361,7 +3370,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3361
3370
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
3362
3371
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_63___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_63__);
|
|
3363
3372
|
var Version;
|
|
3364
|
-
Version = "".concat("2.3.
|
|
3373
|
+
Version = "".concat("2.3.9");
|
|
3365
3374
|
// import "@survey/creator/survey-creator-core.css";
|
|
3366
3375
|
|
|
3367
3376
|
|
|
@@ -3433,7 +3442,7 @@ Version = "".concat("2.3.8");
|
|
|
3433
3442
|
|
|
3434
3443
|
|
|
3435
3444
|
|
|
3436
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_63__.checkLibraryVersion)("".concat("2.3.
|
|
3445
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_63__.checkLibraryVersion)("".concat("2.3.9"), "survey-creator-react");
|
|
3437
3446
|
|
|
3438
3447
|
|
|
3439
3448
|
/***/ }),
|