survey-creator-react 3.1.0 → 3.1.1
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 +23 -4
- package/fesm/survey-creator-react.mjs.map +1 -1
- package/package.json +4 -4
- package/survey-creator-react.js +15 -3
- package/survey-creator-react.js.map +1 -1
- package/survey-creator-react.min.js +2 -2
- package/typings/components/VariablesViewer.d.ts +9 -0
- package/typings/entries/index-wc.d.ts +1 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v3.1.
|
|
2
|
+
* SurveyJS Creator v3.1.1
|
|
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
|
|
@@ -3109,6 +3109,25 @@ ReactElementFactory.Instance.registerElement(
|
|
|
3109
3109
|
}
|
|
3110
3110
|
);
|
|
3111
3111
|
|
|
3112
|
+
class VariablesViewerComponent extends React.Component {
|
|
3113
|
+
render() {
|
|
3114
|
+
const model = this.props.model;
|
|
3115
|
+
return /* @__PURE__ */ React.createElement("div", { className: "svc-variables-viewer" }, /* @__PURE__ */ React.createElement(
|
|
3116
|
+
"textarea",
|
|
3117
|
+
{
|
|
3118
|
+
className: "svc-variables-viewer__text",
|
|
3119
|
+
value: model.text,
|
|
3120
|
+
readOnly: true,
|
|
3121
|
+
spellCheck: false,
|
|
3122
|
+
"aria-label": model.ariaLabel
|
|
3123
|
+
}
|
|
3124
|
+
));
|
|
3125
|
+
}
|
|
3126
|
+
}
|
|
3127
|
+
ReactElementFactory.Instance.registerElement("svc-variables-viewer", (props) => {
|
|
3128
|
+
return React.createElement(VariablesViewerComponent, props);
|
|
3129
|
+
});
|
|
3130
|
+
|
|
3112
3131
|
class IconItem extends React.Component {
|
|
3113
3132
|
render() {
|
|
3114
3133
|
const item = this.props.item;
|
|
@@ -3591,8 +3610,8 @@ ReactElementFactory.Instance.registerElement("sv-fileedit-button", (props) => {
|
|
|
3591
3610
|
});
|
|
3592
3611
|
|
|
3593
3612
|
let Version;
|
|
3594
|
-
Version = `${"3.1.
|
|
3595
|
-
checkLibraryVersion(`${"3.1.
|
|
3613
|
+
Version = `${"3.1.1"}`;
|
|
3614
|
+
checkLibraryVersion(`${"3.1.1"}`, "survey-creator-react");
|
|
3596
3615
|
|
|
3597
|
-
export { ActionButton, AdaptiveToolbox, AddQuestionButtonComponent, CellQuestionAdornerComponent, CellQuestionDropdownAdornerComponent, CollabRowComponent, ComponentContainer, CreatorSurveyPageComponent, FloatingPanelComponent, 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, TranslationDropdownQuestionComponent, TranslationLineSkeleton, TranslationLocaleItemComponent, Version };
|
|
3616
|
+
export { ActionButton, AdaptiveToolbox, AddQuestionButtonComponent, CellQuestionAdornerComponent, CellQuestionDropdownAdornerComponent, CollabRowComponent, ComponentContainer, CreatorSurveyPageComponent, FloatingPanelComponent, 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, TranslationDropdownQuestionComponent, TranslationLineSkeleton, TranslationLocaleItemComponent, VariablesViewerComponent, Version };
|
|
3598
3617
|
//# sourceMappingURL=survey-creator-react.mjs.map
|