@visactor/vrender-core 0.22.7-alpha.6 → 0.22.7-alpha.7

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.
@@ -19,4 +19,4 @@ Object.defineProperty(exports, "__esModule", {
19
19
  value: !0
20
20
  }), __exportStar(require("./interpolate"), exports), __exportStar(require("./store"), exports),
21
21
  __exportStar(require("./colorName"), exports);
22
- //# sourceMappingURL=index.js.map
22
+ //# sourceMappingURL=index.js.map
@@ -109,4 +109,4 @@ function colorStringInterpolationToStr(fromColor, toColor, ratio) {
109
109
  }
110
110
 
111
111
  exports.colorStringInterpolationToStr = colorStringInterpolationToStr;
112
- //# sourceMappingURL=interpolate.js.map
112
+ //# sourceMappingURL=interpolate.js.map
@@ -50,4 +50,5 @@ class ColorStore {
50
50
  }
51
51
  }
52
52
 
53
- exports.ColorStore = ColorStore, ColorStore.store255 = {}, ColorStore.store1 = {};
53
+ exports.ColorStore = ColorStore, ColorStore.store255 = {}, ColorStore.store1 = {};
54
+ //# sourceMappingURL=store.js.map
@@ -56,5 +56,4 @@ class BoundsContext {
56
56
  release(...params) {}
57
57
  }
58
58
 
59
- exports.BoundsContext = BoundsContext;
60
- //# sourceMappingURL=bounds-context.js.map
59
+ exports.BoundsContext = BoundsContext;
@@ -61,4 +61,5 @@ function drawAreaBlock(path, topList, bottomList, params) {
61
61
  path.closePath();
62
62
  }
63
63
 
64
+ //# sourceMappingURL=render-area.js.map
64
65
  exports.drawAreaSegments = drawAreaSegments;
@@ -94,5 +94,4 @@ class ReflectSegContext extends SegContext {
94
94
  }
95
95
  }
96
96
 
97
- exports.ReflectSegContext = ReflectSegContext;
98
- //# sourceMappingURL=seg-context.js.map
97
+ exports.ReflectSegContext = ReflectSegContext;
@@ -1,2 +1,2 @@
1
1
  class StageStore {}
2
- //# sourceMappingURL=store.js.map
2
+ //# sourceMappingURL=store.js.map
@@ -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
@@ -167,4 +167,4 @@ const calculateLineHeight = (lineHeight, fontSize) => {
167
167
  };
168
168
 
169
169
  exports.calculateLineHeight = calculateLineHeight;
170
- //# sourceMappingURL=utils.js.map
170
+ //# sourceMappingURL=utils.js.map
@@ -3,4 +3,4 @@ export * from "./interpolate";
3
3
  export * from "./store";
4
4
 
5
5
  export * from "./colorName";
6
- //# sourceMappingURL=index.js.map
6
+ //# sourceMappingURL=index.js.map
@@ -97,4 +97,4 @@ export function colorStringInterpolationToStr(fromColor, toColor, ratio) {
97
97
  return ColorStore.Get(fromColor, ColorType.Color255, _fromColorRGB), ColorStore.Get(toColor, ColorType.Color255, _toColorRGB),
98
98
  `rgba(${Math.round(_fromColorRGB[0] + (_toColorRGB[0] - _fromColorRGB[0]) * ratio)},${Math.round(_fromColorRGB[1] + (_toColorRGB[1] - _fromColorRGB[1]) * ratio)},${Math.round(_fromColorRGB[2] + (_toColorRGB[2] - _fromColorRGB[2]) * ratio)},${_fromColorRGB[3] + (_toColorRGB[3] - _fromColorRGB[3]) * ratio})`;
99
99
  }
100
- //# sourceMappingURL=interpolate.js.map
100
+ //# sourceMappingURL=interpolate.js.map
@@ -44,4 +44,5 @@ export class ColorStore {
44
44
  }
45
45
  }
46
46
 
47
- ColorStore.store255 = {}, ColorStore.store1 = {};
47
+ ColorStore.store255 = {}, ColorStore.store1 = {};
48
+ //# sourceMappingURL=store.js.map
@@ -49,5 +49,4 @@ export class BoundsContext {
49
49
  this.bounds.clear();
50
50
  }
51
51
  release(...params) {}
52
- }
53
- //# sourceMappingURL=bounds-context.js.map
52
+ }
@@ -60,4 +60,5 @@ function drawAreaBlock(path, topList, bottomList, params) {
60
60
  drawSegItem(path, curve, 1, params), needMoveTo = !1) : needMoveTo = !0;
61
61
  }
62
62
  path.closePath();
63
- }
63
+ }
64
+ //# sourceMappingURL=render-area.js.map
@@ -90,5 +90,4 @@ export class ReflectSegContext extends SegContext {
90
90
  clear() {
91
91
  return super.clear();
92
92
  }
93
- }
94
- //# sourceMappingURL=seg-context.js.map
93
+ }
@@ -1,2 +1,2 @@
1
1
  class StageStore {}
2
- //# sourceMappingURL=store.js.map
2
+ //# sourceMappingURL=store.js.map
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
@@ -152,4 +152,4 @@ 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
155
+ //# sourceMappingURL=utils.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vrender-core",
3
- "version": "0.22.7-alpha.6",
3
+ "version": "0.22.7-alpha.7",
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/bundler": "0.0.1",
39
38
  "@internal/eslint-config": "0.0.1",
40
- "@internal/ts-config": "0.0.1"
39
+ "@internal/ts-config": "0.0.1",
40
+ "@internal/bundler": "0.0.1"
41
41
  },
42
42
  "keywords": [
43
43
  "VisActor",