@visactor/vrender-core 0.22.16 → 0.22.17

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.
@@ -10,4 +10,4 @@ Object.keys(vutils_1.DEFAULT_COLORS).forEach((k => {
10
10
  const c = vutils_1.DEFAULT_COLORS[k];
11
11
  parsedColors[k] = [ c >> 16 & 255, c >> 8 & 255, 255 & c ];
12
12
  })), exports.default = parsedColors;
13
- //# sourceMappingURL=colorName.js.map
13
+ //# sourceMappingURL=colorName.js.map
@@ -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;
@@ -39,6 +39,7 @@ function getProportionPoint(point, segment, length, dx, dy) {
39
39
  };
40
40
  }
41
41
 
42
+ //# sourceMappingURL=polygon.js.map
42
43
  Object.defineProperty(exports, "__esModule", {
43
44
  value: !0
44
45
  }), exports.drawRoundedPolygon = exports.drawPolygon = void 0, exports.drawPolygon = drawPolygon,
@@ -98,5 +98,4 @@ function drawIncrementalAreaSegments(path, lastSeg, segments, params) {
98
98
  }
99
99
 
100
100
  exports.drawSegments = drawSegments, exports.drawIncrementalSegments = drawIncrementalSegments,
101
- exports.drawIncrementalAreaSegments = drawIncrementalAreaSegments;
102
- //# sourceMappingURL=render-curve.js.map
101
+ exports.drawIncrementalAreaSegments = drawIncrementalAreaSegments;
@@ -101,4 +101,4 @@ Object.defineProperty(exports, "__esModule", {
101
101
  value: !0
102
102
  }), exports.findNextGraphic = exports.foreachAsync = exports.foreach = void 0, exports.foreach = foreach,
103
103
  exports.foreachAsync = foreachAsync, exports.findNextGraphic = findNextGraphic;
104
- //# sourceMappingURL=sort.js.map
104
+ //# sourceMappingURL=sort.js.map
@@ -269,4 +269,4 @@ const splitPath = (path, count) => {
269
269
  };
270
270
 
271
271
  exports.splitPath = splitPath;
272
- //# sourceMappingURL=split-path.js.map
272
+ //# sourceMappingURL=split-path.js.map
@@ -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
@@ -8,4 +8,4 @@ Object.keys(DEFAULT_COLORS).forEach((k => {
8
8
  }));
9
9
 
10
10
  export default parsedColors;
11
- //# sourceMappingURL=colorName.js.map
11
+ //# sourceMappingURL=colorName.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
+ }
@@ -35,4 +35,5 @@ function getProportionPoint(point, segment, length, dx, dy) {
35
35
  x: point.x - dx * factor,
36
36
  y: point.y - dy * factor
37
37
  };
38
- }
38
+ }
39
+ //# sourceMappingURL=polygon.js.map
@@ -92,5 +92,4 @@ export function drawIncrementalAreaSegments(path, lastSeg, segments, params) {
92
92
  path.lineTo(null !== (_c = startP.x1) && void 0 !== _c ? _c : startP.x, null !== (_d = startP.y1) && void 0 !== _d ? _d : startP.y),
93
93
  path.closePath();
94
94
  }));
95
- }
96
- //# sourceMappingURL=render-curve.js.map
95
+ }
package/es/common/sort.js CHANGED
@@ -94,4 +94,4 @@ export function findNextGraphic(graphic, id, defaultZIndex, reverse = !1) {
94
94
  !1)), reverse);
95
95
  return result;
96
96
  }
97
- //# sourceMappingURL=sort.js.map
97
+ //# sourceMappingURL=sort.js.map
@@ -248,4 +248,4 @@ export const splitPath = (path, count) => {
248
248
  }
249
249
  return res;
250
250
  };
251
- //# sourceMappingURL=split-path.js.map
251
+ //# sourceMappingURL=split-path.js.map
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vrender-core",
3
- "version": "0.22.16",
3
+ "version": "0.22.17",
4
4
  "description": "",
5
5
  "sideEffects": [
6
6
  "./src/modules.ts",
@@ -35,8 +35,8 @@
35
35
  "vite": "3.2.6",
36
36
  "typescript": "4.9.5",
37
37
  "cross-env": "^7.0.3",
38
- "@internal/eslint-config": "0.0.1",
39
38
  "@internal/bundler": "0.0.1",
39
+ "@internal/eslint-config": "0.0.1",
40
40
  "@internal/ts-config": "0.0.1"
41
41
  },
42
42
  "keywords": [