survey-creator-react 1.12.28 → 1.12.30
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-creator-react",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.30",
|
|
4
4
|
"description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"ace-builds": "^1.4.12",
|
|
30
30
|
"react": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
|
|
31
31
|
"react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
|
|
32
|
-
"survey-core": "1.12.
|
|
33
|
-
"survey-react-ui": "1.12.
|
|
34
|
-
"survey-creator-core": "1.12.
|
|
32
|
+
"survey-core": "1.12.30",
|
|
33
|
+
"survey-react-ui": "1.12.30",
|
|
34
|
+
"survey-creator-core": "1.12.30"
|
|
35
35
|
},
|
|
36
36
|
"peerDependenciesMeta": {
|
|
37
37
|
"ace-builds": {
|
package/survey-creator-react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator React v1.12.
|
|
2
|
+
* SurveyJS Creator React v1.12.30
|
|
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
|
|
@@ -128,7 +128,7 @@ var AddQuestionButtonComponent = /** @class */ (function (_super) {
|
|
|
128
128
|
return (0,survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_1__.createElement("button", { type: "button", onClick: function (e) {
|
|
129
129
|
e.stopPropagation();
|
|
130
130
|
questionTypeSelectorModel.action();
|
|
131
|
-
}, className: "svc-element__question-type-selector", title: this.model.addNewQuestionText },
|
|
131
|
+
}, className: "svc-element__question-type-selector", title: this.model.addNewQuestionText, role: "button" },
|
|
132
132
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-element__question-type-selector-icon" },
|
|
133
133
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { iconName: questionTypeSelectorModel.iconName, size: "auto", title: this.model.addNewQuestionText })),
|
|
134
134
|
this.props.renderPopup === undefined || this.props.renderPopup ?
|
|
@@ -755,7 +755,7 @@ var SurveyPageNavigator = /** @class */ (function (_super) {
|
|
|
755
755
|
if (this.model.isPopupOpened)
|
|
756
756
|
className += " svc-page-navigator__button--pressed";
|
|
757
757
|
return (react__WEBPACK_IMPORTED_MODULE_4__.createElement("div", { className: "svc-page-navigator", ref: this.containerRef, style: { display: this.model.visible ? "flex" : "none" } },
|
|
758
|
-
(0,survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_4__.createElement("div", { className: className, onClick: function () { return _this.model.togglePageSelector(); }, title: this.model.pageSelectorCaption },
|
|
758
|
+
(0,survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_4__.createElement("div", { role: "button", className: className, onClick: function () { return _this.model.togglePageSelector(); }, title: this.model.pageSelectorCaption },
|
|
759
759
|
react__WEBPACK_IMPORTED_MODULE_4__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { className: "svc-page-navigator__button-icon", iconName: this.model.icon, size: "auto", title: this.model.pageSelectorCaption }),
|
|
760
760
|
react__WEBPACK_IMPORTED_MODULE_4__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.Popup, { model: this.model.popupModel }))),
|
|
761
761
|
react__WEBPACK_IMPORTED_MODULE_4__.createElement("div", null, this.model.visibleItems.map(function (item) { return (react__WEBPACK_IMPORTED_MODULE_4__.createElement(SurveyPageNavigatorItem, { key: item.id, item: item })); }))));
|
|
@@ -780,7 +780,7 @@ var SurveyPageNavigatorItem = /** @class */ (function (_super) {
|
|
|
780
780
|
if ((0,survey_core__WEBPACK_IMPORTED_MODULE_1__.unwrap)(item.disabled)) {
|
|
781
781
|
className += " svc-page-navigator-item--disabled";
|
|
782
782
|
}
|
|
783
|
-
return (react__WEBPACK_IMPORTED_MODULE_4__.createElement("div", { className: "svc-page-navigator-item" }, (0,survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_4__.createElement("div", { className: className, onClick: function (e) {
|
|
783
|
+
return (react__WEBPACK_IMPORTED_MODULE_4__.createElement("div", { className: "svc-page-navigator-item" }, (0,survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_4__.createElement("div", { role: "button", className: className, onClick: function (e) {
|
|
784
784
|
item.action(item);
|
|
785
785
|
e.stopPropagation();
|
|
786
786
|
} },
|
|
@@ -1482,7 +1482,7 @@ var SurveyCreatorComponent = /** @class */ (function (_super) {
|
|
|
1482
1482
|
data: tab.data.model
|
|
1483
1483
|
});
|
|
1484
1484
|
var className = "svc-creator-tab" + (creator.toolboxLocation == "right" ? " svc-creator__toolbox--right" : "");
|
|
1485
|
-
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { key: tab.id, id: "scrollableDiv-" + tab.id, className: className }, component));
|
|
1485
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { role: "tabpanel", key: tab.id, id: "scrollableDiv-" + tab.id, "aria-labelledby": "tab-" + tab.id, className: className }, component));
|
|
1486
1486
|
};
|
|
1487
1487
|
SurveyCreatorComponent.prototype.renderSidebar = function () {
|
|
1488
1488
|
if (!!this.creator.sidebar) {
|
|
@@ -1701,7 +1701,7 @@ var TabbedMenuItemComponent = /** @class */ (function (_super) {
|
|
|
1701
1701
|
};
|
|
1702
1702
|
TabbedMenuItemComponent.prototype.render = function () {
|
|
1703
1703
|
var item = this.item;
|
|
1704
|
-
return ((0,survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: item.getRootCss(), onClick: function () { return item.action(item); } },
|
|
1704
|
+
return ((0,survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { role: "tab", id: "tab-" + item.id, "aria-selected": item.active, "aria-controls": "scrollableDiv-" + item.id, className: item.getRootCss(), onClick: function () { return item.action(item); } },
|
|
1705
1705
|
item.hasTitle ? react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: item.getTitleCss() }, item.title) : null,
|
|
1706
1706
|
item.hasIcon ? react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { iconName: item.iconName, className: item.getIconCss(), size: "auto", title: item.tooltip || item.title }) : null)));
|
|
1707
1707
|
};
|
|
@@ -5492,7 +5492,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5492
5492
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
5493
5493
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_63___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_63__);
|
|
5494
5494
|
var Version;
|
|
5495
|
-
Version = "".concat("1.12.
|
|
5495
|
+
Version = "".concat("1.12.30");
|
|
5496
5496
|
// import "@survey/creator/survey-creator-core.css";
|
|
5497
5497
|
|
|
5498
5498
|
|
|
@@ -5565,7 +5565,7 @@ Version = "".concat("1.12.28");
|
|
|
5565
5565
|
|
|
5566
5566
|
|
|
5567
5567
|
|
|
5568
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_63__.checkLibraryVersion)("".concat("1.12.
|
|
5568
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_63__.checkLibraryVersion)("".concat("1.12.30"), "survey-creator-react");
|
|
5569
5569
|
|
|
5570
5570
|
})();
|
|
5571
5571
|
|