survey-creator-react 2.5.11 → 2.5.12

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.11
2
+ * SurveyJS Creator v2.5.12
3
3
  * (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-creator-react",
3
- "version": "2.5.11",
3
+ "version": "2.5.12",
4
4
  "description": "A white-label drag-and-drop form builder for React that lets you design complex, interactive forms and surveys without writing code. It generates JSON schemas used by the SurveyJS Form Library to render dynamic forms in your React app.",
5
5
  "author": "DevSoft Baltic OU <info@devsoftbaltic.com>",
6
6
  "homepage": "https://surveyjs.io/",
@@ -60,9 +60,9 @@
60
60
  "ace-builds": "^1.4.12",
61
61
  "react": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
62
62
  "react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
63
- "survey-core": "2.5.11",
64
- "survey-react-ui": "2.5.11",
65
- "survey-creator-core": "2.5.11"
63
+ "survey-core": "2.5.12",
64
+ "survey-react-ui": "2.5.12",
65
+ "survey-creator-core": "2.5.12"
66
66
  },
67
67
  "peerDependenciesMeta": {
68
68
  "ace-builds": {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator React v2.5.11
2
+ * SurveyJS Creator React v2.5.12
3
3
  * (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/licensing
@@ -1006,7 +1006,7 @@ var QuestionErrorComponent = /** @class */ (function (_super) {
1006
1006
  return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", null,
1007
1007
  react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { "aria-hidden": "true", iconName: "icon-alert_24x24", size: "24", className: this.props.cssClasses.error.icon }),
1008
1008
  react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: this.props.cssClasses.error.item || undefined },
1009
- react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyLocStringViewer, { locStr: this.props.error.locText }))));
1009
+ react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyLocStringViewer, { model: this.props.error.locText }))));
1010
1010
  };
1011
1011
  return QuestionErrorComponent;
1012
1012
  }(react__WEBPACK_IMPORTED_MODULE_1__.Component));
@@ -1187,7 +1187,7 @@ var SurveyResultsByRow = /** @class */ (function (_super) {
1187
1187
  react__WEBPACK_IMPORTED_MODULE_1__.createElement("td", { key: 1, style: { paddingLeft: this.row.textMargin }, className: "svd-dark-border-color" },
1188
1188
  this.row.isNode ? (react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { style: { left: this.row.markerMargin }, className: "svd-test-results__marker " + (this.row.collapsed ? "" : "svd-test-results__marker--expanded") },
1189
1189
  react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { iconName: "icon-expand_16x16", size: 16 }))) : null,
1190
- this.row.question ? react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SurveyLocStringViewer, { locStr: this.row.question.locTitle }) : react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", null, this.row.title)),
1190
+ this.row.question ? react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SurveyLocStringViewer, { model: this.row.question.locTitle }) : react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", null, this.row.title)),
1191
1191
  react__WEBPACK_IMPORTED_MODULE_1__.createElement("td", { key: 2, className: this.row.isNode ? "svd-test-results__node-value" : "svd-dark-border-color" }, this.row.getString(this.row.displayValue)))),
1192
1192
  this.row.isNode && !this.row.collapsed ? SurveyResults.renderRows(this.row.data) : null));
1193
1193
  };
@@ -1295,14 +1295,14 @@ var SurveyLocStringEditor = /** @class */ (function (_super) {
1295
1295
  };
1296
1296
  Object.defineProperty(SurveyLocStringEditor.prototype, "locString", {
1297
1297
  get: function () {
1298
- return this.props.locStr.locStr;
1298
+ return this.props.model.locStr;
1299
1299
  },
1300
1300
  enumerable: false,
1301
1301
  configurable: true
1302
1302
  });
1303
1303
  Object.defineProperty(SurveyLocStringEditor.prototype, "creator", {
1304
1304
  get: function () {
1305
- return this.props.locStr.creator;
1305
+ return this.props.model.creator;
1306
1306
  },
1307
1307
  enumerable: false,
1308
1308
  configurable: true
@@ -1581,7 +1581,7 @@ var SurveyCreator = /** @class */ (function (_super) {
1581
1581
  return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { key: key },
1582
1582
  react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: cssClasses.error.icon, "aria-hidden": "true" }),
1583
1583
  react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: cssClasses.error.item },
1584
- react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyLocStringViewer, { locStr: error.locText }))));
1584
+ react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyLocStringViewer, { model: error.locText }))));
1585
1585
  };
1586
1586
  SurveyCreator.prototype.questionTitleLocation = function () {
1587
1587
  return this.survey.questionTitleLocation;
@@ -3460,7 +3460,7 @@ __webpack_require__.r(__webpack_exports__);
3460
3460
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! survey-core */ "survey-core");
3461
3461
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_64___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_64__);
3462
3462
  var Version;
3463
- Version = "".concat("2.5.11");
3463
+ Version = "".concat("2.5.12");
3464
3464
  // import "@survey/creator/survey-creator-core.css";
3465
3465
 
3466
3466
 
@@ -3533,7 +3533,7 @@ Version = "".concat("2.5.11");
3533
3533
 
3534
3534
 
3535
3535
 
3536
- (0,survey_core__WEBPACK_IMPORTED_MODULE_64__.checkLibraryVersion)("".concat("2.5.11"), "survey-creator-react");
3536
+ (0,survey_core__WEBPACK_IMPORTED_MODULE_64__.checkLibraryVersion)("".concat("2.5.12"), "survey-creator-react");
3537
3537
 
3538
3538
 
3539
3539
  /***/ }),