survey-creator-react 3.0.0-beta.8 → 3.0.0-beta.9
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.0.0-beta.
|
|
2
|
+
* SurveyJS Creator v3.0.0-beta.9
|
|
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
|
|
@@ -2320,7 +2320,7 @@ class TabDesignerComponent extends SurveyElementBase {
|
|
|
2320
2320
|
renderTabContent() {
|
|
2321
2321
|
const survey = this.creator.survey;
|
|
2322
2322
|
const surveyHeader = this.renderHeader(this.creator.showSurveyHeader);
|
|
2323
|
-
const style =
|
|
2323
|
+
const style = { ...this.model.surfaceCssVariables };
|
|
2324
2324
|
style.maxWidth = survey.renderedWidth;
|
|
2325
2325
|
const tabTools = this.renderTabTools();
|
|
2326
2326
|
return (React.createElement(React.Fragment, null,
|
|
@@ -2633,6 +2633,7 @@ class TabTranslationComponent extends SurveyElementBase {
|
|
|
2633
2633
|
return (React.createElement("div", { className: "svc-creator-tab__content svc-translation-tab" + (this.model.isEmpty ? " svc-translation-tab--empty" : "") }, this.renderElementContent()));
|
|
2634
2634
|
}
|
|
2635
2635
|
renderElementContent() {
|
|
2636
|
+
var _a, _b;
|
|
2636
2637
|
if (this.model.isEmpty) {
|
|
2637
2638
|
return React.createElement(SurfacePlaceholder, { name: "translation", placeholderTitleText: this.model.placeholderTitleText, placeholderDescriptionText: this.model.placeholderDescriptionText });
|
|
2638
2639
|
}
|
|
@@ -2640,9 +2641,9 @@ class TabTranslationComponent extends SurveyElementBase {
|
|
|
2640
2641
|
return (React.createElement("div", { className: "st-content" },
|
|
2641
2642
|
React.createElement("div", { className: "svc-flex-column st-strings-wrapper" },
|
|
2642
2643
|
React.createElement("div", { className: "svc-flex-row st-strings-header" },
|
|
2643
|
-
React.createElement(Survey, { model: this.model.stringsHeaderSurvey })),
|
|
2644
|
+
React.createElement(Survey, { key: (_a = this.model.stringsHeaderSurvey) === null || _a === void 0 ? void 0 : _a.elementIdPrefix, model: this.model.stringsHeaderSurvey })),
|
|
2644
2645
|
React.createElement("div", { className: "svc-flex-row svc-plugin-tab__content st-strings" },
|
|
2645
|
-
React.createElement(Survey, { model: this.model.stringsSurvey })))));
|
|
2646
|
+
React.createElement(Survey, { key: (_b = this.model.stringsSurvey) === null || _b === void 0 ? void 0 : _b.elementIdPrefix, model: this.model.stringsSurvey })))));
|
|
2646
2647
|
}
|
|
2647
2648
|
}
|
|
2648
2649
|
}
|
|
@@ -2695,7 +2696,7 @@ class ComponentContainer extends React.Component {
|
|
|
2695
2696
|
}
|
|
2696
2697
|
render() {
|
|
2697
2698
|
const children = this.props.model.elements.map((element, index) => {
|
|
2698
|
-
return ReactElementFactory.Instance.createElement(element.componentName,
|
|
2699
|
+
return ReactElementFactory.Instance.createElement(element.componentName, { ...element.componentData, key: index });
|
|
2699
2700
|
});
|
|
2700
2701
|
const inner = this.props.model.scrollable ? React.createElement(Scroll, null,
|
|
2701
2702
|
" ",
|
|
@@ -2852,7 +2853,7 @@ class Swatch extends React.Component {
|
|
|
2852
2853
|
const { onColorInputChange, colorInputValue, colorInputClassName, inputDisabled, arias } = this.props;
|
|
2853
2854
|
if (!onColorInputChange)
|
|
2854
2855
|
return null;
|
|
2855
|
-
return (React.createElement("input",
|
|
2856
|
+
return (React.createElement("input", { type: "color", disabled: inputDisabled, value: colorInputValue, className: colorInputClassName, onChange: onColorInputChange, tabIndex: -1, ...arias }));
|
|
2856
2857
|
}
|
|
2857
2858
|
render() {
|
|
2858
2859
|
const content = (React.createElement("div", { className: "sd-color-swatch__content", style: this.rootStyle },
|
|
@@ -2966,8 +2967,8 @@ ReactElementFactory.Instance.registerElement("sv-fileedit-button", (props) => {
|
|
|
2966
2967
|
});
|
|
2967
2968
|
|
|
2968
2969
|
let Version;
|
|
2969
|
-
Version = `${"3.0.0-beta.
|
|
2970
|
-
checkLibraryVersion(`${"3.0.0-beta.
|
|
2970
|
+
Version = `${"3.0.0-beta.9"}`;
|
|
2971
|
+
checkLibraryVersion(`${"3.0.0-beta.9"}`, "survey-creator-react");
|
|
2971
2972
|
|
|
2972
2973
|
export { ActionButton, AdaptiveToolbox, AddQuestionButtonComponent, CellQuestionAdornerComponent, CellQuestionDropdownAdornerComponent, ComponentContainer, CreatorSurveyPageComponent, 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, TranslationLineSkeleton, Version };
|
|
2973
2974
|
//# sourceMappingURL=survey-creator-react.mjs.map
|