survey-creator-js 2.3.2 → 2.3.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 UI v2.3.
|
|
2
|
+
* SurveyJS Creator UI v2.3.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
|
|
@@ -99,7 +99,7 @@ class TabbedMenuItemComponent extends SurveyElementBase {
|
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
101
|
const item = this.item;
|
|
102
|
-
return (attachKey2click(React.createElement("div", { role: "tab", id: "tab-" + item.id, "aria-selected": item.active, "aria-controls": "scrollableDiv-" + item.id, className: item.getRootCss(), onClick: () => item.
|
|
102
|
+
return (attachKey2click(React.createElement("div", { role: "tab", id: "tab-" + item.id, "aria-selected": item.active, "aria-controls": "scrollableDiv-" + item.id, className: item.getRootCss(), onClick: () => item.doAction() },
|
|
103
103
|
item.hasTitle ? React.createElement("span", { className: item.getTitleCss() }, item.title) : null,
|
|
104
104
|
item.hasIcon ? React.createElement(SvgIcon, { iconName: item.iconName, className: item.getIconCss(), size: "auto", title: item.tooltip || item.title }) : null)));
|
|
105
105
|
}
|
|
@@ -1410,7 +1410,7 @@ class SurveyCreatorToolboxItem extends CreatorModelElement {
|
|
|
1410
1410
|
(this.props.isCompact ?
|
|
1411
1411
|
null
|
|
1412
1412
|
:
|
|
1413
|
-
React.createElement("span", { className: "svc-toolbox__item-title" }, this.item.title))));
|
|
1413
|
+
React.createElement("span", { className: "svc-toolbox__item-title" }, this.item.title))), undefined, { disableTabStop: !this.model.toolboxItem.enabled });
|
|
1414
1414
|
return (React.createElement(React.Fragment, null,
|
|
1415
1415
|
item,
|
|
1416
1416
|
banner));
|
|
@@ -1559,7 +1559,7 @@ class SearchComponent extends SurveyElementBase {
|
|
|
1559
1559
|
return (React.createElement("div", { className: "svc-search" },
|
|
1560
1560
|
React.createElement("div", { className: "svc-search__search-icon" },
|
|
1561
1561
|
React.createElement(SvgIcon, { iconName: "icon-search", size: "auto" })),
|
|
1562
|
-
React.createElement("input", { type: "text", className: "svc-search__input", "aria-label": this.model.filterStringPlaceholder, placeholder: this.model.filterStringPlaceholder, value: this.state.filterString, onChange: onChange }),
|
|
1562
|
+
React.createElement("input", { type: "text", className: "svc-search__input", "aria-label": this.model.filterStringPlaceholder, placeholder: this.model.filterStringPlaceholder, value: this.state.filterString, onChange: onChange, tabIndex: this.model.getTabIndex() }),
|
|
1563
1563
|
React.createElement("div", { className: "svc-search__toolbar" },
|
|
1564
1564
|
React.createElement("div", { className: "svc-search__toolbar-counter" }, this.model.matchCounterText),
|
|
1565
1565
|
React.createElement(SurveyActionBar, { model: this.model.searchActionBar }))));
|
|
@@ -2849,8 +2849,8 @@ ReactQuestionFactory.Instance.registerQuestion("sv-boolean-switch", (props) => {
|
|
|
2849
2849
|
RendererFactory.Instance.registerRenderer("boolean", "switch", "sv-boolean-switch");
|
|
2850
2850
|
|
|
2851
2851
|
let Version;
|
|
2852
|
-
Version = `${"2.3.
|
|
2853
|
-
checkLibraryVersion(`${"2.3.
|
|
2852
|
+
Version = `${"2.3.4"}`;
|
|
2853
|
+
checkLibraryVersion(`${"2.3.4"}`, "survey-creator-react");
|
|
2854
2854
|
|
|
2855
2855
|
function renderSurveyCreator(creator, element, props = {}) {
|
|
2856
2856
|
let node = element;
|