survey-creator-react 2.0.10 → 2.1.0

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.0.10",
3
+ "version": "2.1.0",
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.0.10",
41
- "survey-react-ui": "2.0.10",
42
- "survey-creator-core": "2.0.10"
40
+ "survey-core": "2.1.0",
41
+ "survey-react-ui": "2.1.0",
42
+ "survey-creator-core": "2.1.0"
43
43
  },
44
44
  "peerDependenciesMeta": {
45
45
  "ace-builds": {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator React v2.0.10
2
+ * SurveyJS Creator React v2.1.0
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
@@ -1958,6 +1958,10 @@ var CreatorSurveyPageComponent = /** @class */ (function (_super) {
1958
1958
  react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-panel__placeholder" }, this.model.placeholderText))));
1959
1959
  };
1960
1960
  CreatorSurveyPageComponent.prototype.renderContent = function () {
1961
+ if (!this.model.needRenderContent) {
1962
+ return react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-page__loading-content" },
1963
+ react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.LoadingIndicatorComponent, null));
1964
+ }
1961
1965
  return (react__WEBPACK_IMPORTED_MODULE_1__.createElement(PageElementContent, { page: this.props.page, survey: this.props.survey, creator: this.props.creator }));
1962
1966
  };
1963
1967
  CreatorSurveyPageComponent.prototype.renderHeader = function () {
@@ -3348,7 +3352,7 @@ __webpack_require__.r(__webpack_exports__);
3348
3352
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! survey-core */ "survey-core");
3349
3353
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_63___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_63__);
3350
3354
  var Version;
3351
- Version = "".concat("2.0.10");
3355
+ Version = "".concat("2.1.0");
3352
3356
  // import "@survey/creator/survey-creator-core.css";
3353
3357
 
3354
3358
 
@@ -3420,7 +3424,7 @@ Version = "".concat("2.0.10");
3420
3424
 
3421
3425
 
3422
3426
 
3423
- (0,survey_core__WEBPACK_IMPORTED_MODULE_63__.checkLibraryVersion)("".concat("2.0.10"), "survey-creator-react");
3427
+ (0,survey_core__WEBPACK_IMPORTED_MODULE_63__.checkLibraryVersion)("".concat("2.1.0"), "survey-creator-react");
3424
3428
 
3425
3429
 
3426
3430
  /***/ }),