survey-creator-react 3.0.4 → 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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-creator-react",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.1",
|
|
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.
|
|
71
|
-
"survey-react-ui": "3.
|
|
72
|
-
"survey-creator-core": "3.
|
|
70
|
+
"survey-core": "3.1.1",
|
|
71
|
+
"survey-react-ui": "3.1.1",
|
|
72
|
+
"survey-creator-core": "3.1.1"
|
|
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.
|
|
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
|
|
@@ -2830,6 +2830,17 @@
|
|
|
2830
2830
|
return React__namespace.createElement(ComponentContainer, props);
|
|
2831
2831
|
});
|
|
2832
2832
|
|
|
2833
|
+
class VariablesViewerComponent extends React__namespace.Component {
|
|
2834
|
+
render() {
|
|
2835
|
+
const model = this.props.model;
|
|
2836
|
+
return (React__namespace.createElement("div", { className: "svc-variables-viewer" },
|
|
2837
|
+
React__namespace.createElement("textarea", { className: "svc-variables-viewer__text", value: model.text, readOnly: true, spellCheck: false, "aria-label": model.ariaLabel })));
|
|
2838
|
+
}
|
|
2839
|
+
}
|
|
2840
|
+
surveyReactUi.ReactElementFactory.Instance.registerElement("svc-variables-viewer", (props) => {
|
|
2841
|
+
return React__namespace.createElement(VariablesViewerComponent, props);
|
|
2842
|
+
});
|
|
2843
|
+
|
|
2833
2844
|
class IconItem extends React__namespace.Component {
|
|
2834
2845
|
render() {
|
|
2835
2846
|
const item = this.props.item;
|
|
@@ -3170,8 +3181,8 @@
|
|
|
3170
3181
|
});
|
|
3171
3182
|
|
|
3172
3183
|
exports.Version = void 0;
|
|
3173
|
-
exports.Version = `${"3.
|
|
3174
|
-
surveyCore.checkLibraryVersion(`${"3.
|
|
3184
|
+
exports.Version = `${"3.1.1"}`;
|
|
3185
|
+
surveyCore.checkLibraryVersion(`${"3.1.1"}`, "survey-creator-react");
|
|
3175
3186
|
|
|
3176
3187
|
Object.defineProperty(exports, "PropertyGridEditorCollection", {
|
|
3177
3188
|
enumerable: true,
|
|
@@ -3280,6 +3291,7 @@
|
|
|
3280
3291
|
exports.TranslationDropdownQuestionComponent = TranslationDropdownQuestionComponent;
|
|
3281
3292
|
exports.TranslationLineSkeleton = TranslationLineSkeleton;
|
|
3282
3293
|
exports.TranslationLocaleItemComponent = TranslationLocaleItemComponent;
|
|
3294
|
+
exports.VariablesViewerComponent = VariablesViewerComponent;
|
|
3283
3295
|
|
|
3284
3296
|
}));
|
|
3285
3297
|
//# sourceMappingURL=survey-creator-react.js.map
|