survey-creator-react 2.3.12 → 2.3.14

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 React v2.3.12
2
+ * SurveyJS Creator React v2.3.14
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
@@ -217,7 +217,7 @@ class SurveyCreatorComponent extends SurveyElementBase {
217
217
  return (React.createElement("div", { role: "tabpanel", key: tab.id, id: "scrollableDiv-" + tab.id, "aria-labelledby": "tab-" + tab.id, className: className }, component));
218
218
  }
219
219
  renderSidebar() {
220
- if (!!this.creator.sidebar) {
220
+ if (!!this.creator.isSidebarVisible) {
221
221
  return ReactElementFactory.Instance.createElement("svc-side-bar", { model: this.creator.sidebar });
222
222
  }
223
223
  else {
@@ -1434,11 +1434,11 @@ class SurveyCreatorToolboxItem extends CreatorModelElement {
1434
1434
  event.persist();
1435
1435
  this.model.click(event);
1436
1436
  } },
1437
- React.createElement(SvgIcon, { size: "auto", iconName: this.item.iconName, className: "svc-toolbox__item-icon", title: this.item.tooltip }),
1437
+ React.createElement(SvgIcon, { size: "auto", iconName: this.item.iconName, className: "svc-toolbox__item-icon", title: this.item.getTooltip() }),
1438
1438
  React.createElement("span", null, this.item.title))
1439
1439
  :
1440
1440
  null);
1441
- const item = attachKey2click(React.createElement("div", { className: this.item.renderedCss, tabIndex: 0, role: "button", "aria-label": this.item.tooltip, onClick: (event) => {
1441
+ const item = attachKey2click(React.createElement("div", { className: this.item.renderedCss, tabIndex: 0, role: "button", "aria-label": this.item.getTooltip(), onClick: (event) => {
1442
1442
  event.persist();
1443
1443
  this.model.click(event);
1444
1444
  } },
@@ -2299,7 +2299,7 @@ class TabDesignerComponent extends SurveyElementBase {
2299
2299
  React.createElement(SurveyHeader, { survey: survey }))));
2300
2300
  }
2301
2301
  renderPlaceHolder() {
2302
- const surveyHeader = this.renderHeader(this.creator.allowEditSurveyTitle && this.creator.showHeaderInEmptySurvey);
2302
+ const surveyHeader = this.renderHeader(this.creator.showSurveyHeader && this.creator.showHeaderInEmptySurvey);
2303
2303
  return (React.createElement(React.Fragment, null,
2304
2304
  surveyHeader,
2305
2305
  React.createElement("div", { className: "svc-designer__placeholder-container", "data-sv-drop-target-survey-element": "newGhostPage" },
@@ -2311,7 +2311,7 @@ class TabDesignerComponent extends SurveyElementBase {
2311
2311
  }
2312
2312
  renderTabContent() {
2313
2313
  const survey = this.creator.survey;
2314
- const surveyHeader = this.renderHeader(this.creator.allowEditSurveyTitle);
2314
+ const surveyHeader = this.renderHeader(this.creator.showSurveyHeader);
2315
2315
  const style = Object.assign({}, this.model.surfaceCssVariables);
2316
2316
  style.maxWidth = survey.renderedWidth;
2317
2317
  const tabTools = this.renderTabTools();
@@ -2915,8 +2915,8 @@ ReactQuestionFactory.Instance.registerQuestion("sv-boolean-switch", (props) => {
2915
2915
  RendererFactory.Instance.registerRenderer("boolean", "switch", "sv-boolean-switch");
2916
2916
 
2917
2917
  let Version;
2918
- Version = `${"2.3.12"}`;
2919
- checkLibraryVersion(`${"2.3.12"}`, "survey-creator-react");
2918
+ Version = `${"2.3.14"}`;
2919
+ checkLibraryVersion(`${"2.3.14"}`, "survey-creator-react");
2920
2920
 
2921
2921
  export { ActionButton, AdaptiveToolbox, CellQuestionAdornerComponent, CellQuestionDropdownAdornerComponent, CreatorSurveyPageComponent, ImageItemValueAdornerComponent, ItemValueAdornerComponent, LogoImageComponent, MatrixCellAdornerComponent, PanelAdornerComponent, PropertyGridComponent, PropertyGridPlaceholderComponent, QuestionAdornerComponent, QuestionBanner, QuestionDropdownAdornerComponent, QuestionEditorContentComponent, QuestionErrorComponent, QuestionImageAdornerComponent, QuestionRatingAdornerComponent, QuestionWidgetAdornerComponent, QuestionWrapperFooter, QuestionWrapperHeader, ReactDragEvent, ReactMouseEvent, RowWrapper, SearchComponent, SideBarDefaultHeader, SidebarComponent, SurveyCreator, SurveyCreatorComponent, SurveyCreatorToolboxCategory, SurveyCreatorToolboxItem, SurveyCreatorToolboxItemGroup, SurveyCreatorToolboxTool, SurveyElementEmbeddedSurvey, SurveyLocStringEditor, SurveyLogicOpertor, SurveyNavigation, SurveyQuestionBooleanSwitch, SurveyQuestionColor, SurveyQuestionFileEditor, SurveyQuestionLinkValue, SurveyQuestionSpinEditor, SurveyQuestionTextWithReset, SurveyResults, SurveyResultsByRow, SurveySimulator, SwitcherComponent, TabButtonComponent, TabDesignerComponent, TabJsonEditorAceComponent, TabJsonEditorErrorsComponent, TabJsonEditorTextareaComponent, TabLogicAddButtonComponent, TabLogicComponent, TabPreviewSurveyComponent, TabPreviewTestSurveyAgainComponent, TabThemeSurveyComponent, TabTranslationComponent, TabbedMenuComponent, TabbedMenuItemComponent, ToolboxList, TranslateFromAction, TranslationLineSkeleton, Version };
2922
2922
  //# sourceMappingURL=survey-creator-react.mjs.map