survey-creator-react 2.5.1 → 2.5.3
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/fesm/survey-creator-react.mjs +18 -4
- package/fesm/survey-creator-react.mjs.map +1 -1
- package/fesm/ui-preset-editor/index.mjs +77 -0
- package/fesm/ui-preset-editor/index.mjs.map +1 -0
- package/index.html +7 -5
- package/package.json +9 -4
- package/survey-creator-react.js +72 -30
- package/survey-creator-react.js.map +1 -1
- package/survey-creator-react.min.js +1 -1
- package/survey-creator-react.min.js.LICENSE.txt +1 -1
- package/typings/components/ComponentContainer.d.ts +10 -0
- package/typings/entries/index-wc.d.ts +1 -0
- package/typings/entries/presets.d.ts +3 -3
- package/typings/{presets → ui-preset-editor}/PresetsIconItem.d.ts +1 -1
- package/typings/{presets → ui-preset-editor}/PresetsPropertyGrid.d.ts +1 -1
- package/{survey-creator-react-presets.js → ui-preset-editor/index.js} +23 -23
- package/ui-preset-editor/index.js.map +1 -0
- package/ui-preset-editor/index.min.js +2 -0
- package/{survey-creator-react-presets.min.js.LICENSE.txt → ui-preset-editor/index.min.js.LICENSE.txt} +1 -1
- package/survey-creator-react-presets.js.map +0 -1
- package/survey-creator-react-presets.min.js +0 -2
- /package/typings/{presets → ui-preset-editor}/Presets.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator React v2.5.
|
|
2
|
+
* SurveyJS Creator React v2.5.3
|
|
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
|
|
@@ -2719,6 +2719,20 @@ ReactElementFactory.Instance.registerElement("svc-property-grid", (props) => {
|
|
|
2719
2719
|
return React.createElement(PropertyGridComponent, props);
|
|
2720
2720
|
});
|
|
2721
2721
|
|
|
2722
|
+
class ComponentContainer extends React.Component {
|
|
2723
|
+
constructor(props) {
|
|
2724
|
+
super(props);
|
|
2725
|
+
}
|
|
2726
|
+
render() {
|
|
2727
|
+
return (React.createElement("div", { className: "svc-component-container" }, this.props.model.elements.map((element, index) => {
|
|
2728
|
+
return ReactElementFactory.Instance.createElement(element.componentName, { model: element.componentData, key: index });
|
|
2729
|
+
})));
|
|
2730
|
+
}
|
|
2731
|
+
}
|
|
2732
|
+
ReactElementFactory.Instance.registerElement("svc-component-container", (props) => {
|
|
2733
|
+
return React.createElement(ComponentContainer, props);
|
|
2734
|
+
});
|
|
2735
|
+
|
|
2722
2736
|
class SwitcherComponent extends SurveyElementBase {
|
|
2723
2737
|
get item() {
|
|
2724
2738
|
return this.props.item;
|
|
@@ -2933,8 +2947,8 @@ ReactQuestionFactory.Instance.registerQuestion("sv-boolean-switch", (props) => {
|
|
|
2933
2947
|
RendererFactory.Instance.registerRenderer("boolean", "switch", "sv-boolean-switch");
|
|
2934
2948
|
|
|
2935
2949
|
let Version;
|
|
2936
|
-
Version = `${"2.5.
|
|
2937
|
-
checkLibraryVersion(`${"2.5.
|
|
2950
|
+
Version = `${"2.5.3"}`;
|
|
2951
|
+
checkLibraryVersion(`${"2.5.3"}`, "survey-creator-react");
|
|
2938
2952
|
|
|
2939
|
-
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 };
|
|
2953
|
+
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 };
|
|
2940
2954
|
//# sourceMappingURL=survey-creator-react.mjs.map
|