survey-creator-react 2.0.0-rc.3 → 2.0.0-rc.4
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 React v2.0.0-rc.
|
|
2
|
+
* SurveyJS Creator React v2.0.0-rc.4
|
|
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
|
|
@@ -2621,7 +2621,7 @@ class TabDesignerComponent extends external_survey_react_ui_namespaceObject.Surv
|
|
|
2621
2621
|
renderTabContent() {
|
|
2622
2622
|
const survey = this.creator.survey;
|
|
2623
2623
|
const surveyHeader = this.renderHeader(this.creator.allowEditSurveyTitle);
|
|
2624
|
-
const style = Object.assign({}, this.model.
|
|
2624
|
+
const style = Object.assign({}, this.model.surfaceCssVariables);
|
|
2625
2625
|
style.maxWidth = survey.renderedWidth;
|
|
2626
2626
|
const tabTools = this.renderTabTools();
|
|
2627
2627
|
return (external_react_namespaceObject.createElement(external_react_namespaceObject.Fragment, null,
|
|
@@ -2760,11 +2760,13 @@ class TabLogicComponent extends external_survey_react_ui_namespaceObject.SurveyE
|
|
|
2760
2760
|
const logicTabClassName = "svc-plugin-tab__content svc-logic-tab svc-logic-tab__content " + (this.model.hasItems ? "" : "svc-logic-tab--empty");
|
|
2761
2761
|
const addLogic = !this.model.readOnly ? external_react_namespaceObject.createElement(TabLogicAddButtonComponent, { button: this.model.addNewButton }) : undefined;
|
|
2762
2762
|
return (external_react_namespaceObject.createElement(external_react_namespaceObject.Fragment, null,
|
|
2763
|
-
external_react_namespaceObject.createElement("div", { className: logicTabClassName },
|
|
2764
|
-
external_react_namespaceObject.createElement(
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2763
|
+
external_react_namespaceObject.createElement("div", { className: logicTabClassName }, this.model.hasItems ?
|
|
2764
|
+
(external_react_namespaceObject.createElement(external_react_namespaceObject.Fragment, null,
|
|
2765
|
+
external_react_namespaceObject.createElement(external_survey_react_ui_namespaceObject.Survey, { model: this.model.itemsSurvey }),
|
|
2766
|
+
addLogic))
|
|
2767
|
+
: (external_react_namespaceObject.createElement("div", { className: "svc-logic-tab__content-empty" },
|
|
2768
|
+
external_react_namespaceObject.createElement(SurfacePlaceholder, { name: "logic", placeholderTitleText: this.model.placeholderTitleText, placeholderDescriptionText: this.model.placeholderDescriptionText }),
|
|
2769
|
+
addLogic)))));
|
|
2768
2770
|
}
|
|
2769
2771
|
}
|
|
2770
2772
|
external_survey_react_ui_namespaceObject.ReactElementFactory.Instance.registerElement("svc-tab-logic", (props) => {
|
|
@@ -2846,8 +2848,7 @@ class TabPreviewSurveyComponent extends external_survey_react_ui_namespaceObject
|
|
|
2846
2848
|
return this.model;
|
|
2847
2849
|
}
|
|
2848
2850
|
renderPlaceholder() {
|
|
2849
|
-
return
|
|
2850
|
-
external_react_namespaceObject.createElement(SurfacePlaceholder, { name: "preview", placeholderTitleText: this.model.placeholderTitleText, placeholderDescriptionText: this.model.placeholderDescriptionText })));
|
|
2851
|
+
return external_react_namespaceObject.createElement(SurfacePlaceholder, { name: "preview", placeholderTitleText: this.model.placeholderTitleText, placeholderDescriptionText: this.model.placeholderDescriptionText });
|
|
2851
2852
|
}
|
|
2852
2853
|
renderSimulator() {
|
|
2853
2854
|
return (external_react_namespaceObject.createElement("div", { className: "svc-plugin-tab__content" },
|
|
@@ -2907,8 +2908,7 @@ class TabThemeSurveyComponent extends external_survey_react_ui_namespaceObject.S
|
|
|
2907
2908
|
return this.model;
|
|
2908
2909
|
}
|
|
2909
2910
|
renderPlaceholder() {
|
|
2910
|
-
return
|
|
2911
|
-
external_react_namespaceObject.createElement(SurfacePlaceholder, { name: "theme", placeholderTitleText: this.model.placeholderTitleText, placeholderDescriptionText: this.model.placeholderDescriptionText })));
|
|
2911
|
+
return external_react_namespaceObject.createElement(SurfacePlaceholder, { name: "theme", placeholderTitleText: this.model.placeholderTitleText, placeholderDescriptionText: this.model.placeholderDescriptionText });
|
|
2912
2912
|
}
|
|
2913
2913
|
renderSimulator() {
|
|
2914
2914
|
return (external_react_namespaceObject.createElement("div", { className: "svc-plugin-tab__content" },
|
|
@@ -3262,7 +3262,7 @@ external_survey_core_namespaceObject.RendererFactory.Instance.registerRenderer("
|
|
|
3262
3262
|
|
|
3263
3263
|
;// ./src/entries/index.ts
|
|
3264
3264
|
let Version;
|
|
3265
|
-
Version = `${"2.0.0-rc.
|
|
3265
|
+
Version = `${"2.0.0-rc.4"}`;
|
|
3266
3266
|
// import "@survey/creator/survey-creator-core.css";
|
|
3267
3267
|
|
|
3268
3268
|
|
|
@@ -3335,7 +3335,7 @@ Version = `${"2.0.0-rc.3"}`;
|
|
|
3335
3335
|
|
|
3336
3336
|
|
|
3337
3337
|
|
|
3338
|
-
(0,external_survey_core_namespaceObject.checkLibraryVersion)(`${"2.0.0-rc.
|
|
3338
|
+
(0,external_survey_core_namespaceObject.checkLibraryVersion)(`${"2.0.0-rc.4"}`, "survey-creator-react");
|
|
3339
3339
|
|
|
3340
3340
|
var __webpack_exports__ActionButton = __webpack_exports__.rA;
|
|
3341
3341
|
var __webpack_exports__AdaptiveToolbox = __webpack_exports__.O1;
|