@visactor/vrender-kits
Advanced tools
Comparing version 0.22.0-vstory.15 to 0.22.0-vstory.16
@@ -256,3 +256,2 @@ "use strict"; | ||
BrowserEnvContribution = __decorate([ (0, vrender_core_1.injectable)(), __metadata("design:paramtypes", []) ], BrowserEnvContribution), | ||
exports.BrowserEnvContribution = BrowserEnvContribution; | ||
//# sourceMappingURL=browser-contribution.js.map | ||
exports.BrowserEnvContribution = BrowserEnvContribution; |
@@ -99,2 +99,2 @@ "use strict"; | ||
exports.HarmonyEnvContribution = HarmonyEnvContribution; | ||
//# sourceMappingURL=harmony-contribution.js.map | ||
//# sourceMappingURL=harmony-contribution.js.map |
@@ -132,2 +132,2 @@ "use strict"; | ||
exports.LynxEnvContribution = LynxEnvContribution; | ||
//# sourceMappingURL=lynx-contribution.js.map | ||
//# sourceMappingURL=lynx-contribution.js.map |
@@ -1,3 +0,1 @@ | ||
//# sourceMappingURL=module.js.map |
@@ -95,2 +95,2 @@ "use strict"; | ||
exports.NodeEnvContribution = NodeEnvContribution; | ||
//# sourceMappingURL=node-contribution.js.map | ||
//# sourceMappingURL=node-contribution.js.map |
@@ -115,2 +115,2 @@ "use strict"; | ||
exports.TaroEnvContribution = TaroEnvContribution; | ||
//# sourceMappingURL=taro-contribution.js.map | ||
//# sourceMappingURL=taro-contribution.js.map |
@@ -23,2 +23,3 @@ "use strict"; | ||
})), exports.ttEnvModule.isTTBound = !1, exports.loadTTEnv = loadTTEnv, loadTTEnv.__loaded = !1, | ||
exports.initTTEnv = initTTEnv; | ||
exports.initTTEnv = initTTEnv; | ||
//# sourceMappingURL=tt.js.map |
@@ -53,2 +53,3 @@ "use strict"; | ||
exports.DragNDrop = DragNDrop; | ||
exports.DragNDrop = DragNDrop; | ||
//# sourceMappingURL=drag.js.map |
@@ -191,2 +191,2 @@ "use strict"; | ||
exports.Gesture = Gesture; | ||
//# sourceMappingURL=gesture.js.map | ||
//# sourceMappingURL=gesture.js.map |
@@ -39,2 +39,2 @@ "use strict"; | ||
}), __exportStar(require("./interface"), exports); | ||
//# sourceMappingURL=index.js.map | ||
//# sourceMappingURL=index.js.map |
@@ -6,2 +6,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=interface.js.map | ||
//# sourceMappingURL=interface.js.map |
@@ -9,3 +9,2 @@ "use strict"; | ||
exports.GIFIMAGE_NUMBER_TYPE = vrender_core_1.Generator.GenAutoIncrementId(), exports.LOTTIE_NUMBER_TYPE = vrender_core_1.Generator.GenAutoIncrementId(); | ||
//# sourceMappingURL=constants.js.map | ||
exports.GIFIMAGE_NUMBER_TYPE = vrender_core_1.Generator.GenAutoIncrementId(), exports.LOTTIE_NUMBER_TYPE = vrender_core_1.Generator.GenAutoIncrementId(); |
@@ -6,2 +6,2 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=lottie.js.map | ||
//# sourceMappingURL=lottie.js.map |
@@ -61,9 +61,10 @@ "use strict"; | ||
createWindowByCanvas(params) { | ||
const canvas = params.canvas; | ||
var _a; | ||
const canvas = params.canvas, dpr = null !== (_a = params.dpr) && void 0 !== _a ? _a : 1; | ||
let width = params.width, height = params.height; | ||
null != width && null != height && params.canvasControled || (width = canvas.width, | ||
height = canvas.height), this.canvas = new node_1.NodeCanvas({ | ||
null != width && null != height && params.canvasControled || (width = canvas.width / dpr, | ||
height = canvas.height / dpr), this.canvas = new node_1.NodeCanvas({ | ||
width: width, | ||
height: height, | ||
dpr: 1, | ||
dpr: dpr, | ||
nativeCanvas: canvas, | ||
@@ -70,0 +71,0 @@ canvasControled: params.canvasControled |
@@ -250,3 +250,2 @@ var __decorate = this && this.__decorate || function(decorators, target, key, desc) { | ||
export { BrowserEnvContribution }; | ||
//# sourceMappingURL=browser-contribution.js.map | ||
export { BrowserEnvContribution }; |
@@ -96,2 +96,2 @@ var __decorate = this && this.__decorate || function(decorators, target, key, desc) { | ||
export { HarmonyEnvContribution }; | ||
//# sourceMappingURL=harmony-contribution.js.map | ||
//# sourceMappingURL=harmony-contribution.js.map |
@@ -127,2 +127,2 @@ var __decorate = this && this.__decorate || function(decorators, target, key, desc) { | ||
export { LynxEnvContribution }; | ||
//# sourceMappingURL=lynx-contribution.js.map | ||
//# sourceMappingURL=lynx-contribution.js.map |
@@ -1,3 +0,1 @@ | ||
//# sourceMappingURL=module.js.map |
@@ -90,2 +90,2 @@ var __decorate = this && this.__decorate || function(decorators, target, key, desc) { | ||
export { NodeEnvContribution }; | ||
//# sourceMappingURL=node-contribution.js.map | ||
//# sourceMappingURL=node-contribution.js.map |
@@ -112,2 +112,2 @@ var __decorate = this && this.__decorate || function(decorators, target, key, desc) { | ||
export { TaroEnvContribution }; | ||
//# sourceMappingURL=taro-contribution.js.map | ||
//# sourceMappingURL=taro-contribution.js.map |
@@ -27,2 +27,3 @@ import { container, ContainerModule, EnvContribution } from "@visactor/vrender-core"; | ||
loadTTEnv(container); | ||
} | ||
} | ||
//# sourceMappingURL=tt.js.map |
@@ -45,2 +45,3 @@ export class DragNDrop { | ||
} | ||
} | ||
} | ||
//# sourceMappingURL=drag.js.map |
@@ -186,2 +186,2 @@ import { application, clock, WILDCARD } from "@visactor/vrender-core"; | ||
} | ||
//# sourceMappingURL=gesture.js.map | ||
//# sourceMappingURL=gesture.js.map |
@@ -8,2 +8,2 @@ import { DragNDrop } from "./drag"; | ||
export * from "./interface"; | ||
//# sourceMappingURL=index.js.map | ||
//# sourceMappingURL=index.js.map |
export { }; | ||
//# sourceMappingURL=interface.js.map | ||
//# sourceMappingURL=interface.js.map |
@@ -5,3 +5,2 @@ import { Generator } from "@visactor/vrender-core"; | ||
export const LOTTIE_NUMBER_TYPE = Generator.GenAutoIncrementId(); | ||
//# sourceMappingURL=constants.js.map | ||
export const LOTTIE_NUMBER_TYPE = Generator.GenAutoIncrementId(); |
export { }; | ||
//# sourceMappingURL=lottie.js.map | ||
//# sourceMappingURL=lottie.js.map |
@@ -57,9 +57,10 @@ var __decorate = this && this.__decorate || function(decorators, target, key, desc) { | ||
createWindowByCanvas(params) { | ||
const canvas = params.canvas; | ||
var _a; | ||
const canvas = params.canvas, dpr = null !== (_a = params.dpr) && void 0 !== _a ? _a : 1; | ||
let width = params.width, height = params.height; | ||
null != width && null != height && params.canvasControled || (width = canvas.width, | ||
height = canvas.height), this.canvas = new NodeCanvas({ | ||
null != width && null != height && params.canvasControled || (width = canvas.width / dpr, | ||
height = canvas.height / dpr), this.canvas = new NodeCanvas({ | ||
width: width, | ||
height: height, | ||
dpr: 1, | ||
dpr: dpr, | ||
nativeCanvas: canvas, | ||
@@ -66,0 +67,0 @@ canvasControled: params.canvasControled |
{ | ||
"name": "@visactor/vrender-kits", | ||
"version": "0.22.0-vstory.15", | ||
"version": "0.22.0-vstory.16", | ||
"description": "", | ||
@@ -16,3 +16,3 @@ "sideEffects": false, | ||
"@visactor/vutils": "~0.19.4", | ||
"@visactor/vrender-core": "0.22.0-vstory.15", | ||
"@visactor/vrender-core": "0.22.0-vstory.16", | ||
"@resvg/resvg-js": "2.4.1", | ||
@@ -38,4 +38,4 @@ "roughjs": "4.5.2", | ||
"@internal/bundler": "0.0.1", | ||
"@internal/eslint-config": "0.0.1", | ||
"@internal/ts-config": "0.0.1" | ||
"@internal/ts-config": "0.0.1", | ||
"@internal/eslint-config": "0.0.1" | ||
}, | ||
@@ -42,0 +42,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
3023160
29397
+ Added@visactor/vrender-core@0.22.0-vstory.16(transitive)
- Removed@visactor/vrender-core@0.22.0-vstory.15(transitive)