@steedos-widgets/amis-object 6.3.12-beta.6 → 6.3.12-beta.8

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.
@@ -88,13 +88,6 @@ function __rest(s, e) {
88
88
  return t;
89
89
  }
90
90
 
91
- function __decorate(decorators, target, key, desc) {
92
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
93
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
94
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
95
- return c > 3 && r && Object.defineProperty(target, key, r), r;
96
- }
97
-
98
91
  function __awaiter(thisArg, _arguments, P, generator) {
99
92
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
100
93
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -22271,6 +22264,7 @@ var Collapse = /** @class */ (function (_super) {
22271
22264
  _this.basicCollapse = React__default["default"].createRef();
22272
22265
  return _this;
22273
22266
  }
22267
+ // @autobind
22274
22268
  Collapse.prototype.handleCollapseChange = function (collapsed) {
22275
22269
  return __awaiter(this, void 0, void 0, function () {
22276
22270
  var _a, dispatchEvent, onCollapse, eventData, changeEvent, toggleEvent;
@@ -22338,9 +22332,6 @@ var Collapse = /** @class */ (function (_super) {
22338
22332
  'collapseHeader',
22339
22333
  'size'
22340
22334
  ];
22341
- __decorate([
22342
- amisCore.autobind
22343
- ], Collapse.prototype, "handleCollapseChange", null);
22344
22335
  return Collapse;
22345
22336
  }(React__default["default"].Component));
22346
22337
  var FieldSetControl = /** @class */ (function (_super) {
@@ -24713,14 +24704,17 @@ var Container = /** @class */ (function (_super) {
24713
24704
  function Container() {
24714
24705
  return _super !== null && _super.apply(this, arguments) || this;
24715
24706
  }
24707
+ // @autobind
24716
24708
  Container.prototype.handleClick = function (e) {
24717
24709
  var _a = this.props, dispatchEvent = _a.dispatchEvent, data = _a.data;
24718
24710
  dispatchEvent(e, data);
24719
24711
  };
24712
+ // @autobind
24720
24713
  Container.prototype.handleMouseEnter = function (e) {
24721
24714
  var _a = this.props, dispatchEvent = _a.dispatchEvent, data = _a.data;
24722
24715
  dispatchEvent(e, data);
24723
24716
  };
24717
+ // @autobind
24724
24718
  Container.prototype.handleMouseLeave = function (e) {
24725
24719
  var _a = this.props, dispatchEvent = _a.dispatchEvent, data = _a.data;
24726
24720
  dispatchEvent(e, data);
@@ -24774,15 +24768,6 @@ var Container = /** @class */ (function (_super) {
24774
24768
  enableUserSelect: false
24775
24769
  }
24776
24770
  };
24777
- __decorate([
24778
- amisCore.autobind
24779
- ], Container.prototype, "handleClick", null);
24780
- __decorate([
24781
- amisCore.autobind
24782
- ], Container.prototype, "handleMouseEnter", null);
24783
- __decorate([
24784
- amisCore.autobind
24785
- ], Container.prototype, "handleMouseLeave", null);
24786
24771
  return Container;
24787
24772
  }(React__default["default"].Component));
24788
24773
  // @Renderer({