ato-water-lib 0.0.87 → 0.0.89

Sign up to get free protection for your applications and to get access to all the features.
@@ -4711,9 +4711,15 @@ class AtoDefaultGojsEditor {
4711
4711
  // self.showPoint(obj?.part?.location);
4712
4712
  },
4713
4713
  click: (e, obj) => {
4714
- var _a, _b;
4714
+ var _a, _b, _c, _d;
4715
4715
  if ((_a = obj === null || obj === void 0 ? void 0 : obj.data) === null || _a === void 0 ? void 0 : _a.onSelected) {
4716
4716
  (_b = obj === null || obj === void 0 ? void 0 : obj.data) === null || _b === void 0 ? void 0 : _b.onSelected(obj === null || obj === void 0 ? void 0 : obj.data);
4717
+ self.onClickCompoent.emit({
4718
+ left: (_c = e === null || e === void 0 ? void 0 : e['Wr']) === null || _c === void 0 ? void 0 : _c.x,
4719
+ top: (_d = e === null || e === void 0 ? void 0 : e['Wr']) === null || _d === void 0 ? void 0 : _d.y,
4720
+ node: node,
4721
+ component: obj === null || obj === void 0 ? void 0 : obj.data,
4722
+ });
4717
4723
  }
4718
4724
  },
4719
4725
  selectionChanged: (e) => {