@visactor/react-vtable 1.18.6-alpha.0 → 1.18.7

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.
@@ -44,4 +44,5 @@ function TagComponent(baseProps, ref) {
44
44
  }, rest));
45
45
  }
46
46
 
47
- exports.Tag = react_1.default.forwardRef(TagComponent), exports.Tag.displayName = "Tag";
47
+ exports.Tag = react_1.default.forwardRef(TagComponent), exports.Tag.displayName = "Tag";
48
+ //# sourceMappingURL=tag.js.map
@@ -2,5 +2,4 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
- }), exports.Checkbox = void 0, exports.Checkbox = "checkbox";
6
- //# sourceMappingURL=checkbox.js.map
5
+ }), exports.Checkbox = void 0, exports.Checkbox = "checkbox";
package/cjs/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export * from './tables';
2
2
  export * from './table-components';
3
3
  export * from './components';
4
- export declare const version = "1.18.6-alpha.0";
4
+ export declare const version = "1.18.7";
package/cjs/index.js CHANGED
@@ -18,5 +18,5 @@ var __createBinding = this && this.__createBinding || (Object.create ? function(
18
18
  Object.defineProperty(exports, "__esModule", {
19
19
  value: !0
20
20
  }), exports.version = void 0, __exportStar(require("./tables"), exports), __exportStar(require("./table-components"), exports),
21
- __exportStar(require("./components"), exports), exports.version = "1.18.6-alpha.0";
21
+ __exportStar(require("./components"), exports), exports.version = "1.18.7";
22
22
  //# sourceMappingURL=index.js.map
package/cjs/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,qDAAmC;AACnC,+CAA6B;AAEhB,QAAA,OAAO,GAAG,gBAAgB,CAAC","file":"index.js","sourcesContent":["export * from './tables';\nexport * from './table-components';\nexport * from './components';\n\nexport const version = \"1.18.6-alpha.0\";\n"]}
1
+ {"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,qDAAmC;AACnC,+CAA6B;AAEhB,QAAA,OAAO,GAAG,QAAQ,CAAC","file":"index.js","sourcesContent":["export * from './tables';\nexport * from './table-components';\nexport * from './components';\n\nexport const version = \"1.18.7\";\n"]}
@@ -12121,6 +12121,18 @@
12121
12121
  const changeEvent = new CustomEvent(eventName, details);
12122
12122
  changeEvent.manager = null === (_a = this.stage) || void 0 === _a ? void 0 : _a.eventSystem.manager, this.dispatchEvent(changeEvent);
12123
12123
  }
12124
+ eventPosToStagePos(e) {
12125
+ var _a, _b;
12126
+ const result = {
12127
+ x: 0,
12128
+ y: 0
12129
+ },
12130
+ stagePoints = null !== (_b = null === (_a = this.stage) || void 0 === _a ? void 0 : _a.eventPointTransform(e)) && void 0 !== _b ? _b : {
12131
+ x: 0,
12132
+ y: 0
12133
+ };
12134
+ return this.globalTransMatrix.transformPoint(stagePoints, result), result;
12135
+ }
12124
12136
  }
12125
12137
 
12126
12138
  const MathPickerContribution = Symbol.for("MathPickerContribution");
@@ -20509,7 +20521,7 @@
20509
20521
  const Checkbox = React.forwardRef(CheckboxComponent);
20510
20522
  Checkbox.displayName = 'Checkbox';
20511
20523
 
20512
- const version = "1.18.6-alpha.0";
20524
+ const version = "1.18.7";
20513
20525
 
20514
20526
  Object.defineProperty(exports, 'register', {
20515
20527
  enumerable: true,