survey-creator-react 1.9.126 → 1.9.127
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.9.
|
|
3
|
+
"version": "1.9.127",
|
|
4
4
|
"description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"survey-core": "1.9.
|
|
40
|
-
"survey-react-ui": "1.9.
|
|
41
|
-
"survey-creator-core": "1.9.
|
|
39
|
+
"survey-core": "1.9.127",
|
|
40
|
+
"survey-react-ui": "1.9.127",
|
|
41
|
+
"survey-creator-core": "1.9.127"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {}
|
|
44
44
|
}
|
package/survey-creator-react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator React v1.9.
|
|
2
|
+
* SurveyJS Creator React v1.9.127
|
|
3
3
|
* (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* Github: https://github.com/surveyjs/survey-creator
|
|
5
5
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
@@ -1639,9 +1639,9 @@ var SurveyCreatorComponent = /** @class */ (function (_super) {
|
|
|
1639
1639
|
var fullContainerClassName = "svc-flex-row svc-full-container" + (" svc-creator__side-bar--" + this.creator.sidebarLocation);
|
|
1640
1640
|
var licenseBanner = null;
|
|
1641
1641
|
if (!this.props.creator.haveCommercialLicense) {
|
|
1642
|
+
var htmlValue = { __html: this.props.creator.licenseText };
|
|
1642
1643
|
licenseBanner = (react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-creator__banner" },
|
|
1643
|
-
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("span", { className: "svc-creator__non-commercial-text" }
|
|
1644
|
-
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("a", { href: "https://surveyjs.io/buy" }, this.props.creator.licenseText))));
|
|
1644
|
+
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("span", { className: "svc-creator__non-commercial-text", dangerouslySetInnerHTML: htmlValue })));
|
|
1645
1645
|
}
|
|
1646
1646
|
//AM: width unrecognized by react
|
|
1647
1647
|
return (react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: creatorClassName, ref: this.rootNode, style: this.style },
|
|
@@ -2223,19 +2223,21 @@ var PanelAdornerComponent = /** @class */ (function (_super) {
|
|
|
2223
2223
|
var _this = this;
|
|
2224
2224
|
return (react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_1___default.a.Fragment, null,
|
|
2225
2225
|
!this.model.isEmptyElement && this.model.element.isPanel && this.model.showAddQuestionButton ? (react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-panel__add-new-question-container" },
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2226
|
+
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-panel__question-type-selector-popup" },
|
|
2227
|
+
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["Popup"], { model: this.model.questionTypeSelectorModel.popupModel })),
|
|
2228
|
+
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-panel__add-new-question-wrapper" },
|
|
2229
|
+
Object(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["attachKey2click"])(react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-panel__add-new-question svc-action-button", onClick: function (e) {
|
|
2230
|
+
e.stopPropagation();
|
|
2231
|
+
_this.model.addNewQuestion();
|
|
2232
|
+
} },
|
|
2233
|
+
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["SvgIcon"], { className: "svc-panel__add-new-question-icon", iconName: "icon-add_24x24", size: 24 }),
|
|
2234
|
+
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("span", { className: "svc-text svc-text--normal svc-text--bold" }, this.model.addNewQuestionText)), undefined),
|
|
2235
|
+
Object(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["attachKey2click"])(react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("button", { type: "button", onClick: function (e) {
|
|
2236
|
+
e.stopPropagation();
|
|
2237
|
+
_this.model.questionTypeSelectorModel.action();
|
|
2238
|
+
}, className: "svc-panel__question-type-selector", title: this.model.addNewQuestionText },
|
|
2239
|
+
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("span", { className: "svc-panel__question-type-selector-icon" },
|
|
2240
|
+
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["SvgIcon"], { iconName: this.model.questionTypeSelectorModel.iconName, size: 24 }))))))) : null,
|
|
2239
2241
|
_super.prototype.renderFooter.call(this)));
|
|
2240
2242
|
};
|
|
2241
2243
|
return PanelAdornerComponent;
|
|
@@ -3402,7 +3404,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3402
3404
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
3403
3405
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_53___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_53__);
|
|
3404
3406
|
var Version;
|
|
3405
|
-
Version = "".concat("1.9.
|
|
3407
|
+
Version = "".concat("1.9.127");
|
|
3406
3408
|
// import "@survey/creator/survey-creator-core.css";
|
|
3407
3409
|
|
|
3408
3410
|
|
|
@@ -3465,7 +3467,7 @@ Version = "".concat("1.9.126");
|
|
|
3465
3467
|
|
|
3466
3468
|
|
|
3467
3469
|
|
|
3468
|
-
Object(survey_core__WEBPACK_IMPORTED_MODULE_53__["checkLibraryVersion"])("".concat("1.9.
|
|
3470
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_53__["checkLibraryVersion"])("".concat("1.9.127"), "survey-creator-react");
|
|
3469
3471
|
|
|
3470
3472
|
|
|
3471
3473
|
/***/ }),
|