survey-creator-react 3.0.3 → 3.1.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-creator-react",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Embeddable SurveyJS drag-and-drop form builder for JSON-based forms in React. Create dynamic surveys, polls, quizzes, and other forms, configure conditional logic and validation, and customize the editor UI.",
|
|
5
5
|
"author": "DevSoft Baltic OU <info@devsoftbaltic.com>",
|
|
6
6
|
"homepage": "https://surveyjs.io/",
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"ace-builds": "^1.4.12",
|
|
68
68
|
"react": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
|
|
69
69
|
"react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
|
|
70
|
-
"survey-core": "3.0
|
|
71
|
-
"survey-react-ui": "3.0
|
|
72
|
-
"survey-creator-core": "3.0
|
|
70
|
+
"survey-core": "3.1.0",
|
|
71
|
+
"survey-react-ui": "3.1.0",
|
|
72
|
+
"survey-creator-core": "3.1.0"
|
|
73
73
|
},
|
|
74
74
|
"peerDependenciesMeta": {
|
|
75
75
|
"ace-builds": {
|
package/survey-creator-react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v3.0
|
|
2
|
+
* SurveyJS Creator v3.1.0
|
|
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
|
|
@@ -2733,11 +2733,12 @@
|
|
|
2733
2733
|
// the whole surface.
|
|
2734
2734
|
const targetSurvey = model.targetSurvey;
|
|
2735
2735
|
return (React__namespace.createElement("div", { className: model.sideBySideRootCss },
|
|
2736
|
-
React__namespace.createElement("div", {
|
|
2737
|
-
React__namespace.createElement(
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
React__namespace.createElement(
|
|
2736
|
+
React__namespace.createElement("div", { className: "st-side-by-side__panes" },
|
|
2737
|
+
React__namespace.createElement("div", { key: (_a = model.sourceSurvey) === null || _a === void 0 ? void 0 : _a.elementIdPrefix, className: "st-side-by-side__source", ref: (el) => { model.setSourceScrollElement(el); } },
|
|
2738
|
+
React__namespace.createElement(surveyReactUi.Survey, { model: model.sourceSurvey })),
|
|
2739
|
+
!!targetSurvey ?
|
|
2740
|
+
React__namespace.createElement("div", { key: targetSurvey.elementIdPrefix, className: "st-side-by-side__target", ref: (el) => { model.setTargetScrollElement(el); } },
|
|
2741
|
+
React__namespace.createElement(surveyReactUi.Survey, { model: targetSurvey })) : null)));
|
|
2741
2742
|
}
|
|
2742
2743
|
}
|
|
2743
2744
|
surveyReactUi.ReactElementFactory.Instance.registerElement("svc-tab-translation", (props) => {
|
|
@@ -3169,8 +3170,8 @@
|
|
|
3169
3170
|
});
|
|
3170
3171
|
|
|
3171
3172
|
exports.Version = void 0;
|
|
3172
|
-
exports.Version = `${"3.0
|
|
3173
|
-
surveyCore.checkLibraryVersion(`${"3.0
|
|
3173
|
+
exports.Version = `${"3.1.0"}`;
|
|
3174
|
+
surveyCore.checkLibraryVersion(`${"3.1.0"}`, "survey-creator-react");
|
|
3174
3175
|
|
|
3175
3176
|
Object.defineProperty(exports, "PropertyGridEditorCollection", {
|
|
3176
3177
|
enumerable: true,
|