@visactor/vrender-core 0.21.9-alpha.0 → 0.21.9-alpha.1
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/animate/animate.js +1 -1
- package/cjs/animate/config.js +1 -1
- package/cjs/animate/custom-animate.js +1 -2
- package/cjs/animate/default-ticker.js +1 -1
- package/cjs/animate/easing.js +1 -1
- package/cjs/animate/group-fade.js +1 -1
- package/cjs/animate/index.js +1 -1
- package/cjs/animate/morphing.js +1 -1
- package/cjs/animate/timeline.js +1 -1
- package/cjs/canvas/empty-context.js +2 -1
- package/cjs/common/3d-interceptor.js +1 -2
- package/cjs/common/generator.js +2 -1
- package/cjs/common/render-command-list.js +1 -2
- package/cjs/common/text.js +1 -1
- package/cjs/common/utils.js +2 -1
- package/cjs/core/application.js +1 -1
- package/cjs/core/camera.js +1 -1
- package/cjs/core/constants.js +1 -1
- package/cjs/core/core-modules.js +1 -1
- package/cjs/core/global-module.js +2 -0
- package/cjs/core/global.js +1 -1
- package/cjs/core/graphic-utils.js +1 -1
- package/es/animate/animate.js +1 -1
- package/es/animate/config.js +1 -1
- package/es/animate/custom-animate.js +1 -2
- package/es/animate/default-ticker.js +1 -1
- package/es/animate/easing.js +1 -1
- package/es/animate/group-fade.js +1 -1
- package/es/animate/index.js +1 -1
- package/es/animate/morphing.js +1 -1
- package/es/animate/timeline.js +1 -1
- package/es/canvas/empty-context.js +2 -1
- package/es/common/3d-interceptor.js +1 -2
- package/es/common/generator.js +2 -1
- package/es/common/render-command-list.js +1 -2
- package/es/common/text.js +1 -1
- package/es/common/utils.js +2 -1
- package/es/core/application.js +1 -1
- package/es/core/camera.js +1 -1
- package/es/core/constants.js +1 -1
- package/es/core/core-modules.js +1 -1
- package/es/core/global-module.js +2 -0
- package/es/core/global.js +1 -1
- package/es/core/graphic-utils.js +1 -1
- package/package.json +3 -3
package/cjs/animate/animate.js
CHANGED
package/cjs/animate/config.js
CHANGED
package/cjs/animate/easing.js
CHANGED
|
@@ -115,4 +115,4 @@ Easing.quintIn = Easing.getPowIn(5), Easing.quintOut = Easing.getPowOut(5), Easi
|
|
|
115
115
|
Easing.backIn = Easing.getBackIn(1.7), Easing.backOut = Easing.getBackOut(1.7),
|
|
116
116
|
Easing.backInOut = Easing.getBackInOut(1.7), Easing.elasticIn = Easing.getElasticIn(1, .3),
|
|
117
117
|
Easing.elasticOut = Easing.getElasticOut(1, .3), Easing.elasticInOut = Easing.getElasticInOut(1, .3 * 1.5);
|
|
118
|
-
//# sourceMappingURL=easing.js.map
|
|
118
|
+
//# sourceMappingURL=easing.js.map
|
package/cjs/animate/index.js
CHANGED
|
@@ -21,4 +21,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
21
21
|
__exportStar(require("./config"), exports), __exportStar(require("./custom-animate"), exports),
|
|
22
22
|
__exportStar(require("./morphing"), exports), __exportStar(require("./timeline"), exports),
|
|
23
23
|
__exportStar(require("./group-fade"), exports);
|
|
24
|
-
//# sourceMappingURL=index.js.map
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
package/cjs/animate/morphing.js
CHANGED
package/cjs/animate/timeline.js
CHANGED
|
@@ -209,4 +209,5 @@ let EmptyContext2d = class {
|
|
|
209
209
|
};
|
|
210
210
|
|
|
211
211
|
EmptyContext2d = __decorate([ (0, inversify_lite_1.injectable)(), __metadata("design:paramtypes", [ Object, Number ]) ], EmptyContext2d),
|
|
212
|
-
exports.EmptyContext2d = EmptyContext2d;
|
|
212
|
+
exports.EmptyContext2d = EmptyContext2d;
|
|
213
|
+
//# sourceMappingURL=empty-context.js.map
|
package/cjs/common/generator.js
CHANGED
package/cjs/common/text.js
CHANGED
|
@@ -34,4 +34,4 @@ function textAttributesToStyle(attrs) {
|
|
|
34
34
|
|
|
35
35
|
exports.textDrawOffsetY = textDrawOffsetY, exports.textDrawOffsetX = textDrawOffsetX,
|
|
36
36
|
exports.textLayoutOffsetY = textLayoutOffsetY, exports.textAttributesToStyle = textAttributesToStyle;
|
|
37
|
-
//# sourceMappingURL=text.js.map
|
|
37
|
+
//# sourceMappingURL=text.js.map
|
package/cjs/common/utils.js
CHANGED
|
@@ -166,4 +166,5 @@ const calculateLineHeight = (lineHeight, fontSize) => {
|
|
|
166
166
|
return isNaN(_lh) ? _lh : Math.max(fontSize, _lh);
|
|
167
167
|
};
|
|
168
168
|
|
|
169
|
-
exports.calculateLineHeight = calculateLineHeight;
|
|
169
|
+
exports.calculateLineHeight = calculateLineHeight;
|
|
170
|
+
//# sourceMappingURL=utils.js.map
|
package/cjs/core/application.js
CHANGED
package/cjs/core/camera.js
CHANGED
package/cjs/core/constants.js
CHANGED
|
@@ -7,4 +7,4 @@ exports.TransformUtil = Symbol.for("TransformUtil"), exports.GraphicUtil = Symbo
|
|
|
7
7
|
exports.LayerService = Symbol.for("LayerService"), exports.StaticLayerHandlerContribution = Symbol.for("StaticLayerHandlerContribution"),
|
|
8
8
|
exports.DynamicLayerHandlerContribution = Symbol.for("DynamicLayerHandlerContribution"),
|
|
9
9
|
exports.VirtualLayerHandlerContribution = Symbol.for("VirtualLayerHandlerContribution");
|
|
10
|
-
//# sourceMappingURL=constants.js.map
|
|
10
|
+
//# sourceMappingURL=constants.js.map
|
package/cjs/core/core-modules.js
CHANGED
|
@@ -12,4 +12,4 @@ exports.default = new inversify_lite_1.ContainerModule((bind => {
|
|
|
12
12
|
bind(constants_1.TransformUtil).to(graphic_utils_1.DefaultTransformUtil).inSingletonScope(),
|
|
13
13
|
bind(constants_1.LayerService).to(layer_service_1.DefaultLayerService).inSingletonScope();
|
|
14
14
|
}));
|
|
15
|
-
//# sourceMappingURL=core-modules.js.map
|
|
15
|
+
//# sourceMappingURL=core-modules.js.map
|
package/cjs/core/global.js
CHANGED
|
@@ -214,4 +214,4 @@ DefaultGlobal = __decorate([ (0, inversify_lite_1.injectable)(), __param(0, (0,
|
|
|
214
214
|
inversify_lite_1.inject)(contribution_provider_1.ContributionProvider)), __param(0, (0,
|
|
215
215
|
inversify_lite_1.named)(constants_1.EnvContribution)), __metadata("design:paramtypes", [ Object ]) ], DefaultGlobal),
|
|
216
216
|
exports.DefaultGlobal = DefaultGlobal;
|
|
217
|
-
//# sourceMappingURL=global.js.map
|
|
217
|
+
//# sourceMappingURL=global.js.map
|
|
@@ -172,4 +172,4 @@ let DefaultTransformUtil = class {
|
|
|
172
172
|
|
|
173
173
|
DefaultTransformUtil = __decorate([ (0, inversify_lite_1.injectable)(), __metadata("design:paramtypes", []) ], DefaultTransformUtil),
|
|
174
174
|
exports.DefaultTransformUtil = DefaultTransformUtil;
|
|
175
|
-
//# sourceMappingURL=graphic-utils.js.map
|
|
175
|
+
//# sourceMappingURL=graphic-utils.js.map
|
package/es/animate/animate.js
CHANGED
package/es/animate/config.js
CHANGED
package/es/animate/easing.js
CHANGED
|
@@ -108,4 +108,4 @@ Easing.quintIn = Easing.getPowIn(5), Easing.quintOut = Easing.getPowOut(5), Easi
|
|
|
108
108
|
Easing.backIn = Easing.getBackIn(1.7), Easing.backOut = Easing.getBackOut(1.7),
|
|
109
109
|
Easing.backInOut = Easing.getBackInOut(1.7), Easing.elasticIn = Easing.getElasticIn(1, .3),
|
|
110
110
|
Easing.elasticOut = Easing.getElasticOut(1, .3), Easing.elasticInOut = Easing.getElasticInOut(1, .3 * 1.5);
|
|
111
|
-
//# sourceMappingURL=easing.js.map
|
|
111
|
+
//# sourceMappingURL=easing.js.map
|
package/es/animate/group-fade.js
CHANGED
package/es/animate/index.js
CHANGED
package/es/animate/morphing.js
CHANGED
|
@@ -292,4 +292,4 @@ export const multiToOneMorph = (fromGraphics, toGraphic, animationConfig) => {
|
|
|
292
292
|
}, null !== (_b = null == animationConfig ? void 0 : animationConfig.duration) && void 0 !== _b ? _b : DefaultMorphingAnimateConfig.duration, null !== (_c = null == animationConfig ? void 0 : animationConfig.easing) && void 0 !== _c ? _c : DefaultMorphingAnimateConfig.easing));
|
|
293
293
|
}
|
|
294
294
|
};
|
|
295
|
-
//# sourceMappingURL=morphing.js.map
|
|
295
|
+
//# sourceMappingURL=morphing.js.map
|
package/es/animate/timeline.js
CHANGED
|
@@ -215,4 +215,5 @@ let EmptyContext2d = class {
|
|
|
215
215
|
|
|
216
216
|
EmptyContext2d = __decorate([ injectable(), __metadata("design:paramtypes", [ Object, Number ]) ], EmptyContext2d);
|
|
217
217
|
|
|
218
|
-
export { EmptyContext2d };
|
|
218
|
+
export { EmptyContext2d };
|
|
219
|
+
//# sourceMappingURL=empty-context.js.map
|
package/es/common/generator.js
CHANGED
package/es/common/text.js
CHANGED
|
@@ -24,4 +24,4 @@ export function textAttributesToStyle(attrs) {
|
|
|
24
24
|
attrs.underline ? style["text-decoration"] = "underline" : attrs.lineThrough && (style["text-decoration"] = "line-through"),
|
|
25
25
|
attrs.fill && isString(attrs.fill) && (style.color = attrs.fill), style;
|
|
26
26
|
}
|
|
27
|
-
//# sourceMappingURL=text.js.map
|
|
27
|
+
//# sourceMappingURL=text.js.map
|
package/es/common/utils.js
CHANGED
|
@@ -151,4 +151,5 @@ export const _calculateLineHeight = (lineHeight, fontSize) => {
|
|
|
151
151
|
export const calculateLineHeight = (lineHeight, fontSize) => {
|
|
152
152
|
const _lh = _calculateLineHeight(lineHeight, fontSize);
|
|
153
153
|
return isNaN(_lh) ? _lh : Math.max(fontSize, _lh);
|
|
154
|
-
};
|
|
154
|
+
};
|
|
155
|
+
//# sourceMappingURL=utils.js.map
|
package/es/core/application.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const ApplicationContribution = Symbol("ApplicationContribution");
|
|
2
|
-
//# sourceMappingURL=application.js.map
|
|
2
|
+
//# sourceMappingURL=application.js.map
|
package/es/core/camera.js
CHANGED
package/es/core/constants.js
CHANGED
|
@@ -9,4 +9,4 @@ export const StaticLayerHandlerContribution = Symbol.for("StaticLayerHandlerCont
|
|
|
9
9
|
export const DynamicLayerHandlerContribution = Symbol.for("DynamicLayerHandlerContribution");
|
|
10
10
|
|
|
11
11
|
export const VirtualLayerHandlerContribution = Symbol.for("VirtualLayerHandlerContribution");
|
|
12
|
-
//# sourceMappingURL=constants.js.map
|
|
12
|
+
//# sourceMappingURL=constants.js.map
|
package/es/core/core-modules.js
CHANGED
|
@@ -17,4 +17,4 @@ export default new ContainerModule((bind => {
|
|
|
17
17
|
bind(GraphicUtil).to(DefaultGraphicUtil).inSingletonScope(), bind(TransformUtil).to(DefaultTransformUtil).inSingletonScope(),
|
|
18
18
|
bind(LayerService).to(DefaultLayerService).inSingletonScope();
|
|
19
19
|
}));
|
|
20
|
-
//# sourceMappingURL=core-modules.js.map
|
|
20
|
+
//# sourceMappingURL=core-modules.js.map
|
package/es/core/global-module.js
CHANGED
package/es/core/global.js
CHANGED
|
@@ -217,4 +217,4 @@ let DefaultGlobal = class {
|
|
|
217
217
|
DefaultGlobal = __decorate([ injectable(), __param(0, inject(ContributionProvider)), __param(0, named(EnvContribution)), __metadata("design:paramtypes", [ Object ]) ], DefaultGlobal);
|
|
218
218
|
|
|
219
219
|
export { DefaultGlobal };
|
|
220
|
-
//# sourceMappingURL=global.js.map
|
|
220
|
+
//# sourceMappingURL=global.js.map
|
package/es/core/graphic-utils.js
CHANGED
|
@@ -184,4 +184,4 @@ let DefaultTransformUtil = class {
|
|
|
184
184
|
DefaultTransformUtil = __decorate([ injectable(), __metadata("design:paramtypes", []) ], DefaultTransformUtil);
|
|
185
185
|
|
|
186
186
|
export { DefaultTransformUtil };
|
|
187
|
-
//# sourceMappingURL=graphic-utils.js.map
|
|
187
|
+
//# sourceMappingURL=graphic-utils.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visactor/vrender-core",
|
|
3
|
-
"version": "0.21.9-alpha.
|
|
3
|
+
"version": "0.21.9-alpha.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"./src/modules.ts",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"vite": "3.2.6",
|
|
36
36
|
"typescript": "4.9.5",
|
|
37
37
|
"cross-env": "^7.0.3",
|
|
38
|
-
"@internal/
|
|
38
|
+
"@internal/bundler": "0.0.1",
|
|
39
39
|
"@internal/eslint-config": "0.0.1",
|
|
40
|
-
"@internal/
|
|
40
|
+
"@internal/ts-config": "0.0.1"
|
|
41
41
|
},
|
|
42
42
|
"keywords": [
|
|
43
43
|
"VisActor",
|