survey-creator-js 2.2.3 → 2.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-creator-js",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -28,9 +28,9 @@
28
28
  "typings": "./typings/survey-creator-js/entries/index.d.ts",
29
29
  "peerDependencies": {
30
30
  "ace-builds": "^1.4.12",
31
- "survey-core": "2.2.3",
32
- "survey-js-ui": "2.2.3",
33
- "survey-creator-core": "2.2.3",
31
+ "survey-core": "2.2.4",
32
+ "survey-js-ui": "2.2.4",
33
+ "survey-creator-core": "2.2.4",
34
34
  "@types/react-dom": "*",
35
35
  "@types/react": "*"
36
36
  },
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator UI v2.2.3
2
+ * SurveyJS Creator UI v2.2.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
@@ -1363,6 +1363,9 @@ var SurveyLocStringEditor = /** @class */ (function (_super) {
1363
1363
  _this.onCompositionEnd = function (event) {
1364
1364
  _this.baseModel.onCompositionEnd(event.nativeEvent);
1365
1365
  };
1366
+ _this.onBeforeInput = function (event) {
1367
+ _this.baseModel.onBeforeInput(event);
1368
+ };
1366
1369
  _this.onInput = function (event) {
1367
1370
  _this.baseModel.onInput(event.nativeEvent);
1368
1371
  };
@@ -1508,7 +1511,7 @@ var SurveyLocStringEditor = /** @class */ (function (_super) {
1508
1511
  else {
1509
1512
  control = (react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { role: "textbox", ref: this.svStringEditorRef, className: "sv-string-editor", contentEditable: this.contentEditable, tabIndex: this.baseModel.tabIndex, spellCheck: false, "aria-placeholder": this.placeholder, "aria-label": this.placeholder || "content editable", suppressContentEditableWarning: true,
1510
1513
  // style={this.style}
1511
- key: this.locString.renderedHtml, onBlur: this.onBlur, onInput: this.onInput, onPaste: this.onPaste, onCompositionStart: this.onCompositionStart, onCompositionEnd: this.onCompositionEnd, onFocus: this.onFocus, onKeyDown: this.onKeyDown, onKeyUp: this.onKeyUp, onMouseUp: this.onMouseUp, onClick: this.edit }, this.locString.renderedHtml));
1514
+ key: this.locString.renderedHtml, onBlur: this.onBlur, onBeforeInput: this.onBeforeInput, onInput: this.onInput, onPaste: this.onPaste, onCompositionStart: this.onCompositionStart, onCompositionEnd: this.onCompositionEnd, onFocus: this.onFocus, onKeyDown: this.onKeyDown, onKeyUp: this.onKeyUp, onMouseUp: this.onMouseUp, onClick: this.edit }, this.locString.renderedHtml));
1512
1515
  }
1513
1516
  var counter = this.baseModel.showCharacterCounter ? (react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.CharacterCounterComponent, { counter: this.baseModel.characterCounter, remainingCharacterCounter: this.baseModel.getCharacterCounterClass })) : null;
1514
1517
  return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.className },
@@ -3728,7 +3731,7 @@ __webpack_require__.r(__webpack_exports__);
3728
3731
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! survey-core */ "survey-core");
3729
3732
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_63___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_63__);
3730
3733
  var Version;
3731
- Version = "".concat("2.2.3");
3734
+ Version = "".concat("2.2.4");
3732
3735
  // import "@survey/creator/survey-creator-core.css";
3733
3736
 
3734
3737
 
@@ -3800,7 +3803,7 @@ Version = "".concat("2.2.3");
3800
3803
 
3801
3804
 
3802
3805
 
3803
- (0,survey_core__WEBPACK_IMPORTED_MODULE_63__.checkLibraryVersion)("".concat("2.2.3"), "survey-creator-react");
3806
+ (0,survey_core__WEBPACK_IMPORTED_MODULE_63__.checkLibraryVersion)("".concat("2.2.4"), "survey-creator-react");
3804
3807
 
3805
3808
 
3806
3809
  /***/ }),