survey-creator-react 2.5.15 → 2.5.17

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/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  <video src="https://github.com/surveyjs/survey-creator/assets/22315929/884eeb5b-68e6-4d38-a8f9-d2483e6ce386"></video>
5
5
 
6
6
 
7
- [![Build Status](https://dev.azure.com/SurveyJS/SurveyJS%20Integration%20Tests/_apis/build/status/SurveyJS%20Creator?branchName=master)](https://dev.azure.com/SurveyJS/SurveyJS%20Integration%20Tests/_build/latest?definitionId=8&branchName=master)
7
+ [![Build Status](https://dev.azure.com/SurveyJS/V2%20Libraries/_apis/build/status%2Fcreator%2FCreator%20Main?repoName=surveyjs%2Fsurvey-creator&branchName=master)](https://dev.azure.com/SurveyJS/V2%20Libraries/_build/latest?definitionId=149&repoName=surveyjs%2Fsurvey-creator&branchName=master)
8
8
  <a href="https://www.npmjs.com/package/survey-creator"><img alt="NPM Version" src="https://img.shields.io/npm/v/survey-creator.svg" data-canonical-src="https://img.shields.io/npm/v/survey-creator.svg" style="max-width:100%;"></a>
9
9
 
10
10
  A visual designer that enables you and your users to create and modify surveys and forms in your React application.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.15
2
+ * SurveyJS Creator v2.5.17
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
@@ -194,17 +194,11 @@ class SurveyCreatorComponent extends SurveyElementBase {
194
194
  }
195
195
  renderActiveTab() {
196
196
  const creator = this.props.creator;
197
- for (var i = 0; i < creator.tabs.length; i++) {
198
- if (creator.tabs[i].id === creator.activeTab) {
199
- return this.renderCreatorTab(creator.tabs[i]);
200
- }
201
- }
202
- return null;
197
+ return this.renderCreatorTab(creator.activeTabMenuItem);
203
198
  }
204
199
  renderCreatorTab(tab) {
205
- if (tab.visible === false) {
200
+ if (!tab)
206
201
  return null;
207
- }
208
202
  const creator = this.props.creator;
209
203
  const component = !!tab.renderTab
210
204
  ? tab.renderTab()
@@ -2965,8 +2959,8 @@ ReactQuestionFactory.Instance.registerQuestion("sv-boolean-switch", (props) => {
2965
2959
  RendererFactory.Instance.registerRenderer("boolean", "switch", "sv-boolean-switch");
2966
2960
 
2967
2961
  let Version;
2968
- Version = `${"2.5.15"}`;
2969
- checkLibraryVersion(`${"2.5.15"}`, "survey-creator-react");
2962
+ Version = `${"2.5.17"}`;
2963
+ checkLibraryVersion(`${"2.5.17"}`, "survey-creator-react");
2970
2964
 
2971
2965
  export { ActionButton, AdaptiveToolbox, CellQuestionAdornerComponent, CellQuestionDropdownAdornerComponent, ComponentContainer, 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 };
2972
2966
  //# sourceMappingURL=survey-creator-react.mjs.map