survey-creator-react 2.2.2 → 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/fesm/survey-creator-react.mjs +7 -4
- package/fesm/survey-creator-react.mjs.map +1 -1
- package/package.json +4 -4
- package/survey-creator-react.js +7 -4
- package/survey-creator-react.js.map +1 -1
- package/survey-creator-react.min.js +1 -1
- package/survey-creator-react.min.js.LICENSE.txt +1 -1
- package/typings/StringEditor.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-creator-react",
|
|
3
|
-
"version": "2.2.
|
|
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",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"ace-builds": "^1.4.12",
|
|
38
38
|
"react": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
|
|
39
39
|
"react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
|
|
40
|
-
"survey-core": "2.2.
|
|
41
|
-
"survey-react-ui": "2.2.
|
|
42
|
-
"survey-creator-core": "2.2.
|
|
40
|
+
"survey-core": "2.2.4",
|
|
41
|
+
"survey-react-ui": "2.2.4",
|
|
42
|
+
"survey-creator-core": "2.2.4"
|
|
43
43
|
},
|
|
44
44
|
"peerDependenciesMeta": {
|
|
45
45
|
"ace-builds": {
|
package/survey-creator-react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator React v2.2.
|
|
2
|
+
* SurveyJS Creator React 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
|
|
@@ -1194,6 +1194,9 @@ var SurveyLocStringEditor = /** @class */ (function (_super) {
|
|
|
1194
1194
|
_this.onCompositionEnd = function (event) {
|
|
1195
1195
|
_this.baseModel.onCompositionEnd(event.nativeEvent);
|
|
1196
1196
|
};
|
|
1197
|
+
_this.onBeforeInput = function (event) {
|
|
1198
|
+
_this.baseModel.onBeforeInput(event);
|
|
1199
|
+
};
|
|
1197
1200
|
_this.onInput = function (event) {
|
|
1198
1201
|
_this.baseModel.onInput(event.nativeEvent);
|
|
1199
1202
|
};
|
|
@@ -1339,7 +1342,7 @@ var SurveyLocStringEditor = /** @class */ (function (_super) {
|
|
|
1339
1342
|
else {
|
|
1340
1343
|
control = (react__WEBPACK_IMPORTED_MODULE_1__.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,
|
|
1341
1344
|
// style={this.style}
|
|
1342
|
-
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));
|
|
1345
|
+
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));
|
|
1343
1346
|
}
|
|
1344
1347
|
var counter = this.baseModel.showCharacterCounter ? (react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.CharacterCounterComponent, { counter: this.baseModel.characterCounter, remainingCharacterCounter: this.baseModel.getCharacterCounterClass })) : null;
|
|
1345
1348
|
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: this.className },
|
|
@@ -3358,7 +3361,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3358
3361
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
3359
3362
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_63___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_63__);
|
|
3360
3363
|
var Version;
|
|
3361
|
-
Version = "".concat("2.2.
|
|
3364
|
+
Version = "".concat("2.2.4");
|
|
3362
3365
|
// import "@survey/creator/survey-creator-core.css";
|
|
3363
3366
|
|
|
3364
3367
|
|
|
@@ -3430,7 +3433,7 @@ Version = "".concat("2.2.2");
|
|
|
3430
3433
|
|
|
3431
3434
|
|
|
3432
3435
|
|
|
3433
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_63__.checkLibraryVersion)("".concat("2.2.
|
|
3436
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_63__.checkLibraryVersion)("".concat("2.2.4"), "survey-creator-react");
|
|
3434
3437
|
|
|
3435
3438
|
|
|
3436
3439
|
/***/ }),
|