@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.
Files changed (45) hide show
  1. package/cjs/animate/animate.js +1 -1
  2. package/cjs/animate/config.js +1 -1
  3. package/cjs/animate/custom-animate.js +1 -2
  4. package/cjs/animate/default-ticker.js +1 -1
  5. package/cjs/animate/easing.js +1 -1
  6. package/cjs/animate/group-fade.js +1 -1
  7. package/cjs/animate/index.js +1 -1
  8. package/cjs/animate/morphing.js +1 -1
  9. package/cjs/animate/timeline.js +1 -1
  10. package/cjs/canvas/empty-context.js +2 -1
  11. package/cjs/common/3d-interceptor.js +1 -2
  12. package/cjs/common/generator.js +2 -1
  13. package/cjs/common/render-command-list.js +1 -2
  14. package/cjs/common/text.js +1 -1
  15. package/cjs/common/utils.js +2 -1
  16. package/cjs/core/application.js +1 -1
  17. package/cjs/core/camera.js +1 -1
  18. package/cjs/core/constants.js +1 -1
  19. package/cjs/core/core-modules.js +1 -1
  20. package/cjs/core/global-module.js +2 -0
  21. package/cjs/core/global.js +1 -1
  22. package/cjs/core/graphic-utils.js +1 -1
  23. package/es/animate/animate.js +1 -1
  24. package/es/animate/config.js +1 -1
  25. package/es/animate/custom-animate.js +1 -2
  26. package/es/animate/default-ticker.js +1 -1
  27. package/es/animate/easing.js +1 -1
  28. package/es/animate/group-fade.js +1 -1
  29. package/es/animate/index.js +1 -1
  30. package/es/animate/morphing.js +1 -1
  31. package/es/animate/timeline.js +1 -1
  32. package/es/canvas/empty-context.js +2 -1
  33. package/es/common/3d-interceptor.js +1 -2
  34. package/es/common/generator.js +2 -1
  35. package/es/common/render-command-list.js +1 -2
  36. package/es/common/text.js +1 -1
  37. package/es/common/utils.js +2 -1
  38. package/es/core/application.js +1 -1
  39. package/es/core/camera.js +1 -1
  40. package/es/core/constants.js +1 -1
  41. package/es/core/core-modules.js +1 -1
  42. package/es/core/global-module.js +2 -0
  43. package/es/core/global.js +1 -1
  44. package/es/core/graphic-utils.js +1 -1
  45. package/package.json +3 -3
@@ -400,4 +400,4 @@ class Step {
400
400
  return null;
401
401
  }
402
402
  }
403
- //# sourceMappingURL=animate.js.map
403
+ //# sourceMappingURL=animate.js.map
@@ -10,4 +10,4 @@ exports.DefaultStateAnimateConfig = {
10
10
  duration: 1e3,
11
11
  easing: "quadInOut"
12
12
  };
13
- //# sourceMappingURL=config.js.map
13
+ //# sourceMappingURL=config.js.map
@@ -729,5 +729,4 @@ class AnimateGroup1 extends animate_1.ACustomAnimate {
729
729
  }
730
730
  }
731
731
 
732
- exports.AnimateGroup1 = AnimateGroup1;
733
- //# sourceMappingURL=custom-animate.js.map
732
+ exports.AnimateGroup1 = AnimateGroup1;
@@ -11,4 +11,4 @@ exports.defaultTicker = new default_ticker_1.DefaultTicker, exports.defaultTicke
11
11
  const TICKER_FPS = 60;
12
12
 
13
13
  exports.defaultTicker.setFPS(60);
14
- //# sourceMappingURL=default-ticker.js.map
14
+ //# sourceMappingURL=default-ticker.js.map
@@ -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
@@ -63,4 +63,4 @@ class GroupFadeOut extends animate_1.ACustomAnimate {
63
63
  }
64
64
 
65
65
  exports.GroupFadeOut = GroupFadeOut;
66
- //# sourceMappingURL=group-fade.js.map
66
+ //# sourceMappingURL=group-fade.js.map
@@ -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
@@ -289,4 +289,4 @@ const multiToOneMorph = (fromGraphics, toGraphic, animationConfig) => {
289
289
  };
290
290
 
291
291
  exports.multiToOneMorph = multiToOneMorph;
292
- //# sourceMappingURL=morphing.js.map
292
+ //# sourceMappingURL=morphing.js.map
@@ -43,4 +43,4 @@ class DefaultTimeline {
43
43
  }
44
44
 
45
45
  exports.DefaultTimeline = DefaultTimeline, exports.defaultTimeline = new DefaultTimeline;
46
- //# sourceMappingURL=timeline.js.map
46
+ //# sourceMappingURL=timeline.js.map
@@ -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
@@ -47,5 +47,4 @@ const vutils_1 = require("@visactor/vutils"), constants_1 = require("../graphic/
47
47
  return result;
48
48
  };
49
49
 
50
- exports.draw3dItem = draw3dItem;
51
- //# sourceMappingURL=3d-interceptor.js.map
50
+ exports.draw3dItem = draw3dItem;
@@ -10,4 +10,5 @@ class Generator {
10
10
  }
11
11
  }
12
12
 
13
- exports.Generator = Generator, Generator.auto_increment_id = 0;
13
+ exports.Generator = Generator, Generator.auto_increment_id = 0;
14
+ //# sourceMappingURL=generator.js.map
@@ -13,5 +13,4 @@ function renderCommandList(commandList, context, x = 0, y = 0, sx = 1, sy = 1, z
13
13
  }
14
14
  }
15
15
 
16
- exports.renderCommandList = renderCommandList;
17
- //# sourceMappingURL=render-command-list.js.map
16
+ exports.renderCommandList = renderCommandList;
@@ -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
@@ -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
@@ -3,4 +3,4 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
5
  }), exports.ApplicationContribution = void 0, exports.ApplicationContribution = Symbol("ApplicationContribution");
6
- //# sourceMappingURL=application.js.map
6
+ //# sourceMappingURL=application.js.map
@@ -71,4 +71,4 @@ const registerOrthoCamera = () => {
71
71
  };
72
72
 
73
73
  exports.registerOrthoCamera = registerOrthoCamera;
74
- //# sourceMappingURL=camera.js.map
74
+ //# sourceMappingURL=camera.js.map
@@ -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
@@ -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
@@ -1 +1,3 @@
1
+
2
+
1
3
  //# sourceMappingURL=global-module.js.map
@@ -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
@@ -394,4 +394,4 @@ class Step {
394
394
  return null;
395
395
  }
396
396
  }
397
- //# sourceMappingURL=animate.js.map
397
+ //# sourceMappingURL=animate.js.map
@@ -7,4 +7,4 @@ export const DefaultMorphingAnimateConfig = {
7
7
  duration: 1e3,
8
8
  easing: "quadInOut"
9
9
  };
10
- //# sourceMappingURL=config.js.map
10
+ //# sourceMappingURL=config.js.map
@@ -706,5 +706,4 @@ export class AnimateGroup1 extends ACustomAnimate {
706
706
  ratio = easingFunc(ratio), a.onUpdate(end, ratio, out);
707
707
  })), this.updating = !1);
708
708
  }
709
- }
710
- //# sourceMappingURL=custom-animate.js.map
709
+ }
@@ -9,4 +9,4 @@ defaultTicker.addTimeline(defaultTimeline);
9
9
  const TICKER_FPS = 60;
10
10
 
11
11
  defaultTicker.setFPS(60);
12
- //# sourceMappingURL=default-ticker.js.map
12
+ //# sourceMappingURL=default-ticker.js.map
@@ -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
@@ -53,4 +53,4 @@ export class GroupFadeOut extends ACustomAnimate {
53
53
  });
54
54
  }
55
55
  }
56
- //# sourceMappingURL=group-fade.js.map
56
+ //# sourceMappingURL=group-fade.js.map
@@ -11,4 +11,4 @@ export * from "./morphing";
11
11
  export * from "./timeline";
12
12
 
13
13
  export * from "./group-fade";
14
- //# sourceMappingURL=index.js.map
14
+ //# sourceMappingURL=index.js.map
@@ -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
@@ -39,4 +39,4 @@ export class DefaultTimeline {
39
39
  }
40
40
 
41
41
  export const defaultTimeline = new DefaultTimeline;
42
- //# sourceMappingURL=timeline.js.map
42
+ //# sourceMappingURL=timeline.js.map
@@ -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
@@ -43,5 +43,4 @@ export const draw3dItem = (context, graphic, callback, output) => {
43
43
  }));
44
44
  } else result = callback(isPie, is3d);
45
45
  return result;
46
- };
47
- //# sourceMappingURL=3d-interceptor.js.map
46
+ };
@@ -4,4 +4,5 @@ export class Generator {
4
4
  }
5
5
  }
6
6
 
7
- Generator.auto_increment_id = 0;
7
+ Generator.auto_increment_id = 0;
8
+ //# sourceMappingURL=generator.js.map
@@ -5,5 +5,4 @@ export function renderCommandList(commandList, context, x = 0, y = 0, sx = 1, sy
5
5
  const command = commandList[i];
6
6
  commandFuncs[command[0]](command, context, x, y, sx, sy, z);
7
7
  }
8
- }
9
- //# sourceMappingURL=render-command-list.js.map
8
+ }
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
@@ -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
@@ -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
@@ -66,4 +66,4 @@ export class OrthoCamera {
66
66
  export const registerOrthoCamera = () => {
67
67
  Factory.registerPlugin("OrthoCamera", OrthoCamera);
68
68
  };
69
- //# sourceMappingURL=camera.js.map
69
+ //# sourceMappingURL=camera.js.map
@@ -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
@@ -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
@@ -1 +1,3 @@
1
+
2
+
1
3
  //# sourceMappingURL=global-module.js.map
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
@@ -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.0",
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/ts-config": "0.0.1",
38
+ "@internal/bundler": "0.0.1",
39
39
  "@internal/eslint-config": "0.0.1",
40
- "@internal/bundler": "0.0.1"
40
+ "@internal/ts-config": "0.0.1"
41
41
  },
42
42
  "keywords": [
43
43
  "VisActor",