survey-creator-react 1.11.11 → 1.11.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-creator-react",
3
- "version": "1.11.11",
3
+ "version": "1.11.12",
4
4
  "description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -29,9 +29,9 @@
29
29
  "ace-builds": "^1.4.12",
30
30
  "react": "^16.5.0 || ^17.0.1 || ^18.1.0",
31
31
  "react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0",
32
- "survey-core": "1.11.11",
33
- "survey-react-ui": "1.11.11",
34
- "survey-creator-core": "1.11.11"
32
+ "survey-core": "1.11.12",
33
+ "survey-react-ui": "1.11.12",
34
+ "survey-creator-core": "1.11.12"
35
35
  },
36
36
  "peerDependenciesMeta": {
37
37
  "ace-builds": {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator React v1.11.11
2
+ * SurveyJS Creator React v1.11.12
3
3
  * (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -4477,7 +4477,7 @@ var SurveyCreatorToolboxTool = /** @class */ (function (_super) {
4477
4477
  SurveyCreatorToolboxTool.prototype.render = function () {
4478
4478
  var _this = this;
4479
4479
  var item = this.item;
4480
- var itemComponent = survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.ReactElementFactory.Instance.createElement(item.component || "svc-toolbox-item", {
4480
+ var itemComponent = survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.ReactElementFactory.Instance.createElement(this.model.itemComponent, {
4481
4481
  item: item,
4482
4482
  creator: this.creator,
4483
4483
  parentModel: this.creator.toolbox,
@@ -4658,9 +4658,9 @@ var ToolboxList = /** @class */ (function (_super) {
4658
4658
  enumerable: false,
4659
4659
  configurable: true
4660
4660
  });
4661
- Object.defineProperty(ToolboxList.prototype, "toolbox", {
4661
+ Object.defineProperty(ToolboxList.prototype, "creator", {
4662
4662
  get: function () {
4663
- return this.props.toolbox;
4663
+ return this.props.creator;
4664
4664
  },
4665
4665
  enumerable: false,
4666
4666
  configurable: true
@@ -4678,7 +4678,7 @@ var ToolboxList = /** @class */ (function (_super) {
4678
4678
  var _this = this;
4679
4679
  var items = this.model.renderedActions;
4680
4680
  return items.map(function (item, itemIndex) {
4681
- return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_ToolboxItem__WEBPACK_IMPORTED_MODULE_3__.SurveyCreatorToolboxTool, { item: item, creator: _this.toolbox.creator, parentModel: _this.model, isCompact: false, key: "item" + itemIndex });
4681
+ return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_ToolboxItem__WEBPACK_IMPORTED_MODULE_3__.SurveyCreatorToolboxTool, { item: item, creator: _this.creator, parentModel: _this.model, isCompact: false, key: "item" + itemIndex });
4682
4682
  });
4683
4683
  };
4684
4684
  return ToolboxList;
@@ -4949,7 +4949,7 @@ __webpack_require__.r(__webpack_exports__);
4949
4949
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! survey-core */ "survey-core");
4950
4950
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_57___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_57__);
4951
4951
  var Version;
4952
- Version = "".concat("1.11.11");
4952
+ Version = "".concat("1.11.12");
4953
4953
  // import "@survey/creator/survey-creator-core.css";
4954
4954
 
4955
4955
 
@@ -5016,7 +5016,7 @@ Version = "".concat("1.11.11");
5016
5016
 
5017
5017
 
5018
5018
 
5019
- (0,survey_core__WEBPACK_IMPORTED_MODULE_57__.checkLibraryVersion)("".concat("1.11.11"), "survey-creator-react");
5019
+ (0,survey_core__WEBPACK_IMPORTED_MODULE_57__.checkLibraryVersion)("".concat("1.11.12"), "survey-creator-react");
5020
5020
 
5021
5021
  /******/ return __webpack_exports__;
5022
5022
  /******/ })()