survey-creator-js 2.3.13 → 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 UI v2.3.13
2
+ * SurveyJS Creator UI 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
@@ -1432,11 +1432,11 @@ class SurveyCreatorToolboxItem extends CreatorModelElement {
1432
1432
  event.persist();
1433
1433
  this.model.click(event);
1434
1434
  } },
1435
- React.createElement(SvgIcon, { size: "auto", iconName: this.item.iconName, className: "svc-toolbox__item-icon", title: this.item.tooltip }),
1435
+ React.createElement(SvgIcon, { size: "auto", iconName: this.item.iconName, className: "svc-toolbox__item-icon", title: this.item.getTooltip() }),
1436
1436
  React.createElement("span", null, this.item.title))
1437
1437
  :
1438
1438
  null);
1439
- const item = attachKey2click(React.createElement("div", { className: this.item.renderedCss, tabIndex: 0, role: "button", "aria-label": this.item.tooltip, onClick: (event) => {
1439
+ const item = attachKey2click(React.createElement("div", { className: this.item.renderedCss, tabIndex: 0, role: "button", "aria-label": this.item.getTooltip(), onClick: (event) => {
1440
1440
  event.persist();
1441
1441
  this.model.click(event);
1442
1442
  } },
@@ -2297,7 +2297,7 @@ class TabDesignerComponent extends SurveyElementBase {
2297
2297
  React.createElement(SurveyHeader, { survey: survey }))));
2298
2298
  }
2299
2299
  renderPlaceHolder() {
2300
- const surveyHeader = this.renderHeader(this.creator.allowEditSurveyTitle && this.creator.showHeaderInEmptySurvey);
2300
+ const surveyHeader = this.renderHeader(this.creator.showSurveyHeader && this.creator.showHeaderInEmptySurvey);
2301
2301
  return (React.createElement(React.Fragment, null,
2302
2302
  surveyHeader,
2303
2303
  React.createElement("div", { className: "svc-designer__placeholder-container", "data-sv-drop-target-survey-element": "newGhostPage" },
@@ -2309,7 +2309,7 @@ class TabDesignerComponent extends SurveyElementBase {
2309
2309
  }
2310
2310
  renderTabContent() {
2311
2311
  const survey = this.creator.survey;
2312
- const surveyHeader = this.renderHeader(this.creator.allowEditSurveyTitle);
2312
+ const surveyHeader = this.renderHeader(this.creator.showSurveyHeader);
2313
2313
  const style = Object.assign({}, this.model.surfaceCssVariables);
2314
2314
  style.maxWidth = survey.renderedWidth;
2315
2315
  const tabTools = this.renderTabTools();
@@ -2913,8 +2913,8 @@ ReactQuestionFactory.Instance.registerQuestion("sv-boolean-switch", (props) => {
2913
2913
  RendererFactory.Instance.registerRenderer("boolean", "switch", "sv-boolean-switch");
2914
2914
 
2915
2915
  let Version;
2916
- Version = `${"2.3.13"}`;
2917
- checkLibraryVersion(`${"2.3.13"}`, "survey-creator-react");
2916
+ Version = `${"2.3.14"}`;
2917
+ checkLibraryVersion(`${"2.3.14"}`, "survey-creator-react");
2918
2918
 
2919
2919
  function renderSurveyCreator(creator, element, props = {}) {
2920
2920
  let node = element;