survey-creator-js 2.5.11 → 2.5.12
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-js.mjs +8 -8
- package/fesm/survey-creator-js.mjs.map +1 -1
- package/fesm/ui-preset-editor/index.mjs +1 -1
- package/package.json +4 -4
- package/survey-creator-js.js +8 -8
- package/survey-creator-js.js.map +1 -1
- package/survey-creator-js.min.js +1 -1
- package/survey-creator-js.min.js.LICENSE.txt +1 -1
- package/ui-preset-editor/index.js +1 -1
- package/ui-preset-editor/index.min.js.LICENSE.txt +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator UI v2.5.
|
|
2
|
+
* SurveyJS Creator UI v2.5.12
|
|
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
|
|
@@ -245,7 +245,7 @@ let SurveyCreator$1 = class SurveyCreator extends SurveyCreatorModel {
|
|
|
245
245
|
return (React.createElement("div", { key: key },
|
|
246
246
|
React.createElement("span", { className: cssClasses.error.icon, "aria-hidden": "true" }),
|
|
247
247
|
React.createElement("span", { className: cssClasses.error.item },
|
|
248
|
-
React.createElement(SurveyLocStringViewer, {
|
|
248
|
+
React.createElement(SurveyLocStringViewer, { model: error.locText }))));
|
|
249
249
|
}
|
|
250
250
|
questionTitleLocation() {
|
|
251
251
|
return this.survey.questionTitleLocation;
|
|
@@ -1355,7 +1355,7 @@ class SurveyResultsByRow extends CreatorModelElement {
|
|
|
1355
1355
|
React.createElement("td", { key: 1, style: { paddingLeft: this.row.textMargin }, className: "svd-dark-border-color" },
|
|
1356
1356
|
this.row.isNode ? (React.createElement("span", { style: { left: this.row.markerMargin }, className: "svd-test-results__marker " + (this.row.collapsed ? "" : "svd-test-results__marker--expanded") },
|
|
1357
1357
|
React.createElement(SvgIcon, { iconName: "icon-expand_16x16", size: 16 }))) : null,
|
|
1358
|
-
this.row.question ? React.createElement(SurveyLocStringViewer, {
|
|
1358
|
+
this.row.question ? React.createElement(SurveyLocStringViewer, { model: this.row.question.locTitle }) : React.createElement("span", null, this.row.title)),
|
|
1359
1359
|
React.createElement("td", { key: 2, className: this.row.isNode ? "svd-test-results__node-value" : "svd-dark-border-color" }, this.row.getString(this.row.displayValue)))),
|
|
1360
1360
|
this.row.isNode && !this.row.collapsed ? SurveyResults.renderRows(this.row.data) : null));
|
|
1361
1361
|
}
|
|
@@ -2037,10 +2037,10 @@ class SurveyLocStringEditor extends CreatorModelElement {
|
|
|
2037
2037
|
return ["creator", "locString"];
|
|
2038
2038
|
}
|
|
2039
2039
|
get locString() {
|
|
2040
|
-
return this.props.
|
|
2040
|
+
return this.props.model.locStr;
|
|
2041
2041
|
}
|
|
2042
2042
|
get creator() {
|
|
2043
|
-
return this.props.
|
|
2043
|
+
return this.props.model.creator;
|
|
2044
2044
|
}
|
|
2045
2045
|
get style() {
|
|
2046
2046
|
return this.props.style;
|
|
@@ -2129,7 +2129,7 @@ class QuestionErrorComponent extends React.Component {
|
|
|
2129
2129
|
return (React.createElement("div", null,
|
|
2130
2130
|
React.createElement(SvgIcon, { "aria-hidden": "true", iconName: "icon-alert_24x24", size: "24", className: this.props.cssClasses.error.icon }),
|
|
2131
2131
|
React.createElement("span", { className: this.props.cssClasses.error.item || undefined },
|
|
2132
|
-
React.createElement(SurveyLocStringViewer, {
|
|
2132
|
+
React.createElement(SurveyLocStringViewer, { model: this.props.error.locText }))));
|
|
2133
2133
|
}
|
|
2134
2134
|
}
|
|
2135
2135
|
ReactElementFactory.Instance.registerElement("svc-question-error", (props) => {
|
|
@@ -2945,8 +2945,8 @@ ReactQuestionFactory.Instance.registerQuestion("sv-boolean-switch", (props) => {
|
|
|
2945
2945
|
RendererFactory.Instance.registerRenderer("boolean", "switch", "sv-boolean-switch");
|
|
2946
2946
|
|
|
2947
2947
|
let Version;
|
|
2948
|
-
Version = `${"2.5.
|
|
2949
|
-
checkLibraryVersion(`${"2.5.
|
|
2948
|
+
Version = `${"2.5.12"}`;
|
|
2949
|
+
checkLibraryVersion(`${"2.5.12"}`, "survey-creator-react");
|
|
2950
2950
|
|
|
2951
2951
|
function renderSurveyCreator(creator, element, props = {}) {
|
|
2952
2952
|
let node = element;
|