survey-creator-react 1.9.107 → 1.9.109
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/index.html
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
<!--<script src="../build/survey-creator-react.js"></script>-->
|
|
21
21
|
<link rel="stylesheet" type="text/css" href="../node_modules/survey-core/defaultV2.css" />
|
|
22
|
-
<link rel="stylesheet" type="text/css" href="../node_modules/survey-core/modern.css" />
|
|
22
|
+
<!-- <link rel="stylesheet" type="text/css" href="../node_modules/survey-core/modern.css" /> -->
|
|
23
23
|
<link rel="stylesheet" type="text/css" href="../node_modules/survey-creator-core/survey-creator-core.css" />
|
|
24
24
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0" />
|
|
25
25
|
<!-- <link rel="stylesheet" type="text/css" href="../build/survey-creator-react.css" /> -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-creator-react",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.109",
|
|
4
4
|
"description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"survey-core": "1.9.
|
|
38
|
-
"survey-react-ui": "1.9.
|
|
39
|
-
"survey-creator-core": "1.9.
|
|
37
|
+
"survey-core": "1.9.109",
|
|
38
|
+
"survey-react-ui": "1.9.109",
|
|
39
|
+
"survey-creator-core": "1.9.109",
|
|
40
40
|
"react": "^16.5.0 || ^17.0.1 || ^18.1.0",
|
|
41
41
|
"react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0"
|
|
42
42
|
},
|
package/survey-creator-react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator React v1.9.
|
|
2
|
+
* SurveyJS Creator React v1.9.109
|
|
3
3
|
* (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* Github: https://github.com/surveyjs/survey-creator
|
|
5
5
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
@@ -1413,6 +1413,7 @@ var SurveyLocStringEditor = /** @class */ (function (_super) {
|
|
|
1413
1413
|
_super.prototype.componentDidMount.call(this);
|
|
1414
1414
|
if (!this.locString)
|
|
1415
1415
|
return;
|
|
1416
|
+
this.baseModel.setLocString(this.locString);
|
|
1416
1417
|
this.baseModel.getEditorElement = function () { return _this.svStringEditorRef.current; };
|
|
1417
1418
|
this.baseModel.blurEditor = function () {
|
|
1418
1419
|
_this.svStringEditorRef.current.blur();
|
|
@@ -1562,7 +1563,7 @@ var SurveyCreatorComponent = /** @class */ (function (_super) {
|
|
|
1562
1563
|
var creator = this.props.creator;
|
|
1563
1564
|
if (creator.isCreatorDisposed)
|
|
1564
1565
|
return null;
|
|
1565
|
-
var creatorClassName = "svc-creator" + (this.props.creator.isMobileView ? " svc-creator--mobile" : "");
|
|
1566
|
+
var creatorClassName = "svc-creator" + (this.props.creator.isMobileView ? " svc-creator--mobile" : "") + (this.props.creator.isTouch ? " svc-creator--touch" : "");
|
|
1566
1567
|
var areaClassName = "svc-full-container svc-creator__area svc-flex-column" + (this.props.creator.haveCommercialLicense ? "" : " svc-creator__area--with-banner");
|
|
1567
1568
|
var contentWrapperClassName = "svc-creator__content-wrapper svc-flex-row" + (this.props.creator.isMobileView ? " svc-creator__content-wrapper--footer-toolbar" : "");
|
|
1568
1569
|
var fullContainerClassName = "svc-flex-row svc-full-container" + (" svc-creator__side-bar--" + this.creator.sidebarLocation);
|
|
@@ -2832,7 +2833,7 @@ var SurveyQuestionColor = /** @class */ (function (_super) {
|
|
|
2832
2833
|
var _this = this;
|
|
2833
2834
|
return react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("label", { className: this.question.getSwatchCss(), style: this.question.getSwatchStyle() },
|
|
2834
2835
|
react__WEBPACK_IMPORTED_MODULE_1__["createElement"](survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["SvgIcon"], { iconName: this.question.cssClasses.swatchIcon, size: "auto" }),
|
|
2835
|
-
react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("input", { type: "color", disabled: this.isDisplayMode, value: this.question.
|
|
2836
|
+
react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("input", { type: "color", disabled: this.isDisplayMode, value: this.question.renderedColorValue, className: this.question.cssClasses.colorInput, onChange: function (event) { return _this.question.onColorInputChange(event.nativeEvent); } }));
|
|
2836
2837
|
};
|
|
2837
2838
|
SurveyQuestionColor.prototype.renderDropdownAction = function () {
|
|
2838
2839
|
return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](react__WEBPACK_IMPORTED_MODULE_1__["Fragment"], null,
|
|
@@ -3297,7 +3298,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3297
3298
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
3298
3299
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_51___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_51__);
|
|
3299
3300
|
var Version;
|
|
3300
|
-
Version = "".concat("1.9.
|
|
3301
|
+
Version = "".concat("1.9.109");
|
|
3301
3302
|
// import "@survey/creator/survey-creator-core.css";
|
|
3302
3303
|
|
|
3303
3304
|
|
|
@@ -3358,7 +3359,7 @@ Version = "".concat("1.9.107");
|
|
|
3358
3359
|
|
|
3359
3360
|
|
|
3360
3361
|
|
|
3361
|
-
Object(survey_core__WEBPACK_IMPORTED_MODULE_51__["checkLibraryVersion"])("".concat("1.9.
|
|
3362
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_51__["checkLibraryVersion"])("".concat("1.9.109"), "survey-creator-react");
|
|
3362
3363
|
|
|
3363
3364
|
|
|
3364
3365
|
/***/ }),
|