survey-creator-js 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 +1 -1
- package/fesm/survey-creator-js.mjs +5 -11
- package/fesm/survey-creator-js.mjs.map +1 -1
- package/fesm/ui-preset-editor/index.mjs +1 -1
- package/package.json +4 -4
- package/survey-creator-js.js +5 -11
- package/survey-creator-js.js.map +1 -1
- package/survey-creator-js.min.js +2 -2
- package/typings/survey-creator-react/src/LogoImage.d.ts +3 -3
- package/typings/survey-creator-react/src/Switcher.d.ts +2 -1
- package/typings/survey-creator-react/src/custom-questions/TextWithResetQuestion.d.ts +1 -1
- package/typings/survey-creator-react/src/toolbox/AdaptiveToolbox.d.ts +3 -3
- package/typings/survey-creator-react/src/toolbox/ToolboxCategory.d.ts +2 -2
- package/typings/survey-creator-react/src/toolbox/ToolboxItem.d.ts +6 -6
- package/typings/survey-creator-react/src/toolbox/ToolboxItemGroup.d.ts +5 -5
- package/ui-preset-editor/index.js +1 -1
- package/ui-preset-editor/index.min.js +1 -1
- package/typings/survey-creator-js/entries/presets.d.ts +0 -1
- package/typings/survey-creator-react/src/entries/presets.d.ts +0 -3
- package/typings/survey-creator-react/src/ui-preset-editor/Presets.d.ts +0 -16
- package/typings/survey-creator-react/src/ui-preset-editor/PresetsIconItem.d.ts +0 -10
- package/typings/survey-creator-react/src/ui-preset-editor/PresetsPropertyGrid.d.ts +0 -10
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<video src="https://github.com/surveyjs/survey-creator/assets/22315929/884eeb5b-68e6-4d38-a8f9-d2483e6ce386"></video>
|
|
4
4
|
|
|
5
|
-
[](https://dev.azure.com/SurveyJS/V2%20Libraries/_build/latest?definitionId=149&repoName=surveyjs%2Fsurvey-creator&branchName=master)
|
|
6
6
|
<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>
|
|
7
7
|
|
|
8
8
|
A visual designer that enables you and your users to create and modify surveys and forms in your JavaScript application.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v2.5.
|
|
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
|
|
@@ -195,17 +195,11 @@ class SurveyCreatorComponent extends SurveyElementBase {
|
|
|
195
195
|
}
|
|
196
196
|
renderActiveTab() {
|
|
197
197
|
const creator = this.props.creator;
|
|
198
|
-
|
|
199
|
-
if (creator.tabs[i].id === creator.activeTab) {
|
|
200
|
-
return this.renderCreatorTab(creator.tabs[i]);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
return null;
|
|
198
|
+
return this.renderCreatorTab(creator.activeTabMenuItem);
|
|
204
199
|
}
|
|
205
200
|
renderCreatorTab(tab) {
|
|
206
|
-
if (tab
|
|
201
|
+
if (!tab)
|
|
207
202
|
return null;
|
|
208
|
-
}
|
|
209
203
|
const creator = this.props.creator;
|
|
210
204
|
const component = !!tab.renderTab
|
|
211
205
|
? tab.renderTab()
|
|
@@ -2966,8 +2960,8 @@ ReactQuestionFactory.Instance.registerQuestion("sv-boolean-switch", (props) => {
|
|
|
2966
2960
|
RendererFactory.Instance.registerRenderer("boolean", "switch", "sv-boolean-switch");
|
|
2967
2961
|
|
|
2968
2962
|
let Version;
|
|
2969
|
-
Version = `${"2.5.
|
|
2970
|
-
checkLibraryVersion(`${"2.5.
|
|
2963
|
+
Version = `${"2.5.17"}`;
|
|
2964
|
+
checkLibraryVersion(`${"2.5.17"}`, "survey-creator-react");
|
|
2971
2965
|
|
|
2972
2966
|
function renderSurveyCreator(creator, element, props = {}) {
|
|
2973
2967
|
let node = element;
|