survey-creator-react 1.9.110 → 1.9.112

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.110",
3
+ "version": "1.9.112",
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.110",
38
- "survey-react-ui": "1.9.110",
39
- "survey-creator-core": "1.9.110",
37
+ "survey-core": "1.9.112",
38
+ "survey-react-ui": "1.9.112",
39
+ "survey-creator-core": "1.9.112",
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
  },
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator React v1.9.110
2
+ * SurveyJS Creator React v1.9.112
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
@@ -1247,12 +1247,7 @@ var SidebarComponent = /** @class */ (function (_super) {
1247
1247
  (!!this.model.headerText ?
1248
1248
  react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-side-bar__container-title" }, this.model.headerText)
1249
1249
  : null)),
1250
- react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-side-bar__container-content" }, items),
1251
- react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-side-bar__container-close" },
1252
- react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "sd-btn sd-btn--action svc-side-bar__container-close-button", onClick: function () { return _this.model.collapseSidebar(); } },
1253
- " ",
1254
- this.model.closeText,
1255
- " "))))));
1250
+ react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-side-bar__container-content" }, items)))));
1256
1251
  };
1257
1252
  return SidebarComponent;
1258
1253
  }(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["SurveyElementBase"]));
@@ -2883,10 +2878,13 @@ var SurveyQuestionFileEditor = /** @class */ (function (_super) {
2883
2878
  enumerable: false,
2884
2879
  configurable: true
2885
2880
  });
2881
+ SurveyQuestionFileEditor.prototype.getValueCore = function () {
2882
+ return this.question.renderedValue;
2883
+ };
2886
2884
  SurveyQuestionFileEditor.prototype.renderInput = function () {
2887
2885
  var _this = this;
2888
2886
  return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](react__WEBPACK_IMPORTED_MODULE_1__["Fragment"], null,
2889
- react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("input", { disabled: this.isDisplayMode, className: this.questionFile.cssClasses.control, ref: function (input) { return (_this.setControl(input)); }, autoComplete: "off", type: "text", onBlur: function (event) { return _this.questionFile.onInputBlur(event.nativeEvent); }, onChange: function (event) { return _this.questionFile.onInputChange(event.nativeEvent); } })));
2887
+ react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("input", { disabled: this.isDisplayMode, className: this.questionFile.cssClasses.control, placeholder: this.questionFile.placeholder, ref: function (input) { return (_this.setControl(input)); }, autoComplete: "off", type: "text", onBlur: function (event) { return _this.questionFile.onInputBlur(event.nativeEvent); }, onChange: function (event) { return _this.questionFile.onInputChange(event.nativeEvent); } })));
2890
2888
  };
2891
2889
  SurveyQuestionFileEditor.prototype.renderButtons = function () {
2892
2890
  return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: this.questionFile.cssClasses.buttonsContainer },
@@ -3298,7 +3296,7 @@ __webpack_require__.r(__webpack_exports__);
3298
3296
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! survey-core */ "survey-core");
3299
3297
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_51___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_51__);
3300
3298
  var Version;
3301
- Version = "".concat("1.9.110");
3299
+ Version = "".concat("1.9.112");
3302
3300
  // import "@survey/creator/survey-creator-core.css";
3303
3301
 
3304
3302
 
@@ -3359,7 +3357,7 @@ Version = "".concat("1.9.110");
3359
3357
 
3360
3358
 
3361
3359
 
3362
- Object(survey_core__WEBPACK_IMPORTED_MODULE_51__["checkLibraryVersion"])("".concat("1.9.110"), "survey-creator-react");
3360
+ Object(survey_core__WEBPACK_IMPORTED_MODULE_51__["checkLibraryVersion"])("".concat("1.9.112"), "survey-creator-react");
3363
3361
 
3364
3362
 
3365
3363
  /***/ }),