@visactor/vrender 0.16.14-alpha.7 → 0.16.14
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/index.js +3 -3
- package/dist/index.min.js +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/package.json +4 -4
package/cjs/index.d.ts
CHANGED
package/cjs/index.js
CHANGED
|
@@ -21,5 +21,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
21
21
|
|
|
22
22
|
const vrender_core_1 = require("@visactor/vrender-core"), vrender_kits_1 = require("@visactor/vrender-kits");
|
|
23
23
|
|
|
24
|
-
exports.version = "0.16.14
|
|
24
|
+
exports.version = "0.16.14", (0, vrender_kits_1.loadAllModule)(vrender_core_1.container),
|
|
25
25
|
__exportStar(require("@visactor/vrender-core"), exports), __exportStar(require("@visactor/vrender-kits"), exports);
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yDAAmD;AACnD,yDAAuD;AAG1C,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yDAAmD;AACnD,yDAAuD;AAG1C,QAAA,OAAO,GAAG,SAAS,CAAC;AAEjC,IAAA,4BAAa,EAAC,wBAAS,CAAC,CAAC;AAEzB,yDAAuC;AACvC,yDAAuC","file":"index.js","sourcesContent":["import { container } from '@visactor/vrender-core';\nimport { loadAllModule } from '@visactor/vrender-kits';\n\n// 导出版本号\nexport const version = \"0.16.14\";\n\nloadAllModule(container);\n\nexport * from '@visactor/vrender-core';\nexport * from '@visactor/vrender-kits';\n"]}
|
package/dist/index.js
CHANGED
|
@@ -29472,7 +29472,7 @@
|
|
|
29472
29472
|
var scaleX, scaleY;
|
|
29473
29473
|
return nativeCanvas && (scaleX = rect.width / nativeCanvas.offsetWidth, scaleY = rect.height / nativeCanvas.offsetHeight), {
|
|
29474
29474
|
x: (x - rect.left) / (isValidNumber$1(scaleX) ? scaleX : 1),
|
|
29475
|
-
y: (y - rect.top) / (isValidNumber$1(scaleY) ?
|
|
29475
|
+
y: (y - rect.top) / (isValidNumber$1(scaleY) ? scaleY : 1)
|
|
29476
29476
|
};
|
|
29477
29477
|
}
|
|
29478
29478
|
return {
|
|
@@ -32412,7 +32412,7 @@
|
|
|
32412
32412
|
width = data.width, height = data.height;
|
|
32413
32413
|
}
|
|
32414
32414
|
var dpr = params.dpr;
|
|
32415
|
-
if (
|
|
32415
|
+
if (null == dpr) {
|
|
32416
32416
|
dpr = null !== (_a = canvas.getContext("2d").pixelRatio) && void 0 !== _a ? _a : canvas.width / width;
|
|
32417
32417
|
}
|
|
32418
32418
|
this.canvas = new BrowserCanvas({
|
|
@@ -34642,7 +34642,7 @@
|
|
|
34642
34642
|
|
|
34643
34643
|
var roughModule = _roughModule;
|
|
34644
34644
|
|
|
34645
|
-
const version = "0.16.14
|
|
34645
|
+
const version = "0.16.14";
|
|
34646
34646
|
loadAllModule(container);
|
|
34647
34647
|
|
|
34648
34648
|
exports.ACustomAnimate = ACustomAnimate;
|