survey-creator-js 2.3.16 → 2.4.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator UI v2.
|
|
2
|
+
* SurveyJS Creator UI v2.4.1
|
|
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
|
|
@@ -1518,8 +1518,9 @@ class SurveyCreatorToolboxCategory extends SurveyElementBase {
|
|
|
1518
1518
|
if (this.toolbox.canCollapseCategories) {
|
|
1519
1519
|
className += " svc-toolbox__category-header--collapsed";
|
|
1520
1520
|
}
|
|
1521
|
+
const title = this.renderLocString(this.category.locTitle);
|
|
1521
1522
|
return attachKey2click(React.createElement("div", { className: className, onClick: e => this.category.toggleState() },
|
|
1522
|
-
React.createElement("span", { className: "svc-toolbox__category-title" },
|
|
1523
|
+
React.createElement("span", { className: "svc-toolbox__category-title" }, title),
|
|
1523
1524
|
this.renderButton()));
|
|
1524
1525
|
}
|
|
1525
1526
|
renderButton() {
|
|
@@ -2913,8 +2914,8 @@ ReactQuestionFactory.Instance.registerQuestion("sv-boolean-switch", (props) => {
|
|
|
2913
2914
|
RendererFactory.Instance.registerRenderer("boolean", "switch", "sv-boolean-switch");
|
|
2914
2915
|
|
|
2915
2916
|
let Version;
|
|
2916
|
-
Version = `${"2.
|
|
2917
|
-
checkLibraryVersion(`${"2.
|
|
2917
|
+
Version = `${"2.4.1"}`;
|
|
2918
|
+
checkLibraryVersion(`${"2.4.1"}`, "survey-creator-react");
|
|
2918
2919
|
|
|
2919
2920
|
function renderSurveyCreator(creator, element, props = {}) {
|
|
2920
2921
|
let node = element;
|