survey-creator-react 3.2.2 → 3.2.3

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v3.2.2
2
+ * SurveyJS Creator v3.2.3
3
3
  * (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -1051,7 +1051,7 @@ class CreatorSurveyPageComponent extends CreatorModelElement {
1051
1051
  }
1052
1052
  renderContent() {
1053
1053
  if (!this.model.needRenderContent) {
1054
- return /* @__PURE__ */ React.createElement("div", { className: "svc-page__loading-content" }, /* @__PURE__ */ React.createElement(LoadingIndicatorComponent, null));
1054
+ return /* @__PURE__ */ React.createElement("div", { className: this.model.loadingContentCss }, /* @__PURE__ */ React.createElement(LoadingIndicatorComponent, null));
1055
1055
  }
1056
1056
  return /* @__PURE__ */ React.createElement(
1057
1057
  PageElementContent,
@@ -1063,6 +1063,7 @@ class CreatorSurveyPageComponent extends CreatorModelElement {
1063
1063
  );
1064
1064
  }
1065
1065
  renderHeader() {
1066
+ if (!this.model.needRenderContent) return null;
1066
1067
  const actions = /* @__PURE__ */ React.createElement("div", { className: "svc-page__content-actions" }, /* @__PURE__ */ React.createElement(SurveyActionBar, { model: this.model.actionContainer }), this.model.topActionContainer.hasActions ? /* @__PURE__ */ React.createElement(SurveyActionBar, { model: this.model.topActionContainer }) : null);
1067
1068
  if (this.model.isGhost || !this.model.allowDragging) {
1068
1069
  return actions;
@@ -1078,6 +1079,7 @@ class CreatorSurveyPageComponent extends CreatorModelElement {
1078
1079
  );
1079
1080
  }
1080
1081
  renderFooter() {
1082
+ if (!this.model.needRenderContent) return null;
1081
1083
  return /* @__PURE__ */ React.createElement(SurveyActionBar, { model: this.model.footerActionsBar });
1082
1084
  }
1083
1085
  }
@@ -2804,7 +2806,7 @@ class TabJsonEditorTextareaComponent extends SurveyElementBase {
2804
2806
  ref: (input) => setControl(input),
2805
2807
  className: "svc-json-editor-tab__content-area",
2806
2808
  value: this.model.text,
2807
- onChange: (e) => this.model.text = e.target.value,
2809
+ onChange: (e) => this.model.onTextInput(e.target.value),
2808
2810
  onKeyDown: (e) => this.model.checkKey(e, e),
2809
2811
  disabled: this.model.readOnly,
2810
2812
  "aria-label": this.model.ariaLabel
@@ -3648,8 +3650,8 @@ ReactElementFactory.Instance.registerElement("sv-fileedit-button", (props) => {
3648
3650
  });
3649
3651
 
3650
3652
  let Version;
3651
- Version = `${"3.2.2"}`;
3652
- checkLibraryVersion(`${"3.2.2"}`, "survey-creator-react");
3653
+ Version = `${"3.2.3"}`;
3654
+ checkLibraryVersion(`${"3.2.3"}`, "survey-creator-react");
3653
3655
 
3654
3656
  export { ActionButton, AdaptiveToolbox, AddQuestionButtonComponent, CellQuestionAdornerComponent, CellQuestionDropdownAdornerComponent, CollabRowComponent, ComponentContainer, CreatorSurveyPageComponent, FloatingPanelComponent, IconItem, ImageItemValueAdornerComponent, ItemValueAdornerComponent, LogoImageComponent, MatrixCellAdornerComponent, PanelAdornerComponent, PropertyGridComponent, PropertyGridPlaceholderComponent, QuestionAdornerComponent, QuestionBanner, QuestionDropdownAdornerComponent, QuestionEditorContentComponent, QuestionErrorComponent, QuestionImageAdornerComponent, QuestionRatingAdornerComponent, QuestionWidgetAdornerComponent, QuestionWrapperFooter, QuestionWrapperHeader, ReactDragEvent, ReactMouseEvent, RowWrapper, SearchComponent, SideBarDefaultHeader, SideBarLaunchCard, SidebarComponent, SurveyCreator, SurveyCreatorComponent, SurveyCreatorToolboxCategory, SurveyCreatorToolboxItem, SurveyCreatorToolboxItemGroup, SurveyCreatorToolboxTool, SurveyElementEmbeddedSurvey, SurveyLocStringEditor, SurveyLogicOpertor, SurveyNavigation, SurveyQuestionColor, SurveyQuestionFileEditor, SurveyQuestionFileEditorButton, SurveyQuestionLinkValue, SurveyQuestionSpinEditor, SurveyResults, SurveyResultsByRow, SurveySimulator, SurveySpinEditorButton, SwitcherComponent, TabButtonComponent, TabContainerComponent, TabDesignerComponent, TabJsonEditorAceComponent, TabJsonEditorErrorsComponent, TabJsonEditorTextareaComponent, TabLogicComponent, TabPreviewSurveyComponent, TabThemeSurveyComponent, TabTranslationComponent, TabbedMenuComponent, TabbedMenuItemComponent, ToolboxList, TranslateFromAction, TranslationDropdownQuestionComponent, TranslationLineSkeleton, TranslationLocaleItemComponent, VariablesViewerComponent, Version };
3655
3657
  //# sourceMappingURL=survey-creator-react.mjs.map