@visactor/react-vtable 1.19.0-alpha.0 → 1.19.0
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/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/dist/react-vtable.js +13 -1
- package/dist/react-vtable.min.js +2 -2
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/package.json +5 -5
package/cjs/index.d.ts
CHANGED
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.19.0
|
|
21
|
+
__exportStar(require("./components"), exports), exports.version = "1.19.0";
|
|
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,
|
|
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.19.0\";\n"]}
|
package/dist/react-vtable.js
CHANGED
|
@@ -11391,6 +11391,18 @@
|
|
|
11391
11391
|
const changeEvent = new CustomEvent(eventName, details);
|
|
11392
11392
|
changeEvent.manager = null === (_a = this.stage) || void 0 === _a ? void 0 : _a.eventSystem.manager, this.dispatchEvent(changeEvent);
|
|
11393
11393
|
}
|
|
11394
|
+
eventPosToStagePos(e) {
|
|
11395
|
+
var _a, _b;
|
|
11396
|
+
const result = {
|
|
11397
|
+
x: 0,
|
|
11398
|
+
y: 0
|
|
11399
|
+
},
|
|
11400
|
+
stagePoints = null !== (_b = null === (_a = this.stage) || void 0 === _a ? void 0 : _a.eventPointTransform(e)) && void 0 !== _b ? _b : {
|
|
11401
|
+
x: 0,
|
|
11402
|
+
y: 0
|
|
11403
|
+
};
|
|
11404
|
+
return this.globalTransMatrix.transformPoint(stagePoints, result), result;
|
|
11405
|
+
}
|
|
11394
11406
|
}
|
|
11395
11407
|
|
|
11396
11408
|
const MathPickerContribution = Symbol.for("MathPickerContribution");
|
|
@@ -19775,7 +19787,7 @@
|
|
|
19775
19787
|
const Checkbox = React.forwardRef(CheckboxComponent);
|
|
19776
19788
|
Checkbox.displayName = 'Checkbox';
|
|
19777
19789
|
|
|
19778
|
-
const version = "1.19.0
|
|
19790
|
+
const version = "1.19.0";
|
|
19779
19791
|
|
|
19780
19792
|
Object.defineProperty(exports, 'register', {
|
|
19781
19793
|
enumerable: true,
|