@visactor/vrender-core 0.16.14-alpha.8 → 0.16.15-alpha.0

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
@@ -100,4 +100,4 @@ function colorStringInterpolationToStr(fromColor, toColor, ratio) {
100
100
  }
101
101
 
102
102
  exports.colorStringInterpolationToStr = colorStringInterpolationToStr;
103
- //# sourceMappingURL=interpolate.js.map
103
+ //# sourceMappingURL=interpolate.js.map
@@ -51,4 +51,4 @@ class ColorStore {
51
51
  }
52
52
 
53
53
  exports.ColorStore = ColorStore, ColorStore.store255 = {}, ColorStore.store1 = {};
54
- //# sourceMappingURL=store.js.map
54
+ //# sourceMappingURL=store.js.map
@@ -31,4 +31,5 @@ function cubicPointAt(p0, p1, p2, p3, t) {
31
31
  }
32
32
 
33
33
  exports.snapLength = snapLength, exports.cubicLength = cubicLength, exports.cubicCalc = cubicCalc,
34
- exports.cubicPointAt = cubicPointAt;
34
+ exports.cubicPointAt = cubicPointAt;
35
+ //# sourceMappingURL=bezier-utils.js.map
@@ -329,5 +329,4 @@ function scale(current, sX, sY) {
329
329
  temp[3] = current[3], temp[4] = current[4], temp[5] = current[5], temp[6] = sX * current[6],
330
330
  temp[7] = sY * current[7]; else if ("h" === c || "H" === c) temp[1] = sX * current[1]; else if ("v" === c || "V" === c) temp[1] = sY * current[1]; else for (let i = 1, n = current.length; i < n; ++i) temp[i] = (i % 2 == 1 ? sX : sY) * current[i];
331
331
  return temp;
332
- }
333
- //# sourceMappingURL=custom-path2d.js.map
332
+ }
@@ -268,4 +268,5 @@ const splitPath = (path, count) => {
268
268
  return res;
269
269
  };
270
270
 
271
- exports.splitPath = splitPath;
271
+ exports.splitPath = splitPath;
272
+ //# sourceMappingURL=split-path.js.map
@@ -2,5 +2,4 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
- }), exports.ApplicationContribution = void 0, exports.ApplicationContribution = Symbol("ApplicationContribution");
6
- //# sourceMappingURL=application.js.map
5
+ }), exports.ApplicationContribution = void 0, exports.ApplicationContribution = Symbol("ApplicationContribution");
@@ -1,3 +1 @@
1
-
2
-
3
1
  //# sourceMappingURL=global-module.js.map
@@ -173,4 +173,4 @@ DefaultGlobal = __decorate([ (0, inversify_lite_1.injectable)(), __param(0, (0,
173
173
  inversify_lite_1.inject)(contribution_provider_1.ContributionProvider)), __param(0, (0,
174
174
  inversify_lite_1.named)(constants_1.EnvContribution)), __metadata("design:paramtypes", [ Object ]) ], DefaultGlobal),
175
175
  exports.DefaultGlobal = DefaultGlobal;
176
- //# sourceMappingURL=global.js.map
176
+ //# sourceMappingURL=global.js.map
@@ -136,4 +136,4 @@ let DefaultTransformUtil = class {
136
136
 
137
137
  DefaultTransformUtil = __decorate([ (0, inversify_lite_1.injectable)(), __metadata("design:paramtypes", []) ], DefaultTransformUtil),
138
138
  exports.DefaultTransformUtil = DefaultTransformUtil;
139
- //# sourceMappingURL=graphic-utils.js.map
139
+ //# sourceMappingURL=graphic-utils.js.map
package/cjs/core/index.js CHANGED
@@ -22,4 +22,4 @@ __exportStar(require("./layer"), exports), __exportStar(require("./stage"), expo
22
22
  __exportStar(require("./graphic-utils"), exports), __exportStar(require("./contributions"), exports),
23
23
  __exportStar(require("./layer-service"), exports), __exportStar(require("./constants"), exports),
24
24
  __exportStar(require("../interface/core"), exports);
25
- //# sourceMappingURL=index.js.map
25
+ //# sourceMappingURL=index.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
@@ -88,4 +88,4 @@ export function colorStringInterpolationToStr(fromColor, toColor, ratio) {
88
88
  return ColorStore.Get(fromColor, ColorType.Color255, _fromColorRGB), ColorStore.Get(toColor, ColorType.Color255, _toColorRGB),
89
89
  `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})`;
90
90
  }
91
- //# sourceMappingURL=interpolate.js.map
91
+ //# sourceMappingURL=interpolate.js.map
@@ -47,4 +47,4 @@ export class ColorStore {
47
47
  }
48
48
 
49
49
  ColorStore.store255 = {}, ColorStore.store1 = {};
50
- //# sourceMappingURL=store.js.map
50
+ //# sourceMappingURL=store.js.map
@@ -22,4 +22,5 @@ export function cubicCalc(p0, p1, p2, p3, t) {
22
22
  export function cubicPointAt(p0, p1, p2, p3, t) {
23
23
  const x = cubicCalc(p0.x, p1.x, p2.x, p3.x, t), y = cubicCalc(p0.y, p1.y, p2.y, p3.y, t);
24
24
  return new Point(x, y);
25
- }
25
+ }
26
+ //# sourceMappingURL=bezier-utils.js.map
@@ -334,5 +334,4 @@ function scale(current, sX, sY) {
334
334
  temp[3] = current[3], temp[4] = current[4], temp[5] = current[5], temp[6] = sX * current[6],
335
335
  temp[7] = sY * current[7]; else if ("h" === c || "H" === c) temp[1] = sX * current[1]; else if ("v" === c || "V" === c) temp[1] = sY * current[1]; else for (let i = 1, n = current.length; i < n; ++i) temp[i] = (i % 2 == 1 ? sX : sY) * current[i];
336
336
  return temp;
337
- }
338
- //# sourceMappingURL=custom-path2d.js.map
337
+ }
@@ -245,4 +245,5 @@ export const splitPath = (path, count) => {
245
245
  remain -= stepCount;
246
246
  }
247
247
  return res;
248
- };
248
+ };
249
+ //# sourceMappingURL=split-path.js.map
@@ -1,2 +1 @@
1
- export const ApplicationContribution = Symbol("ApplicationContribution");
2
- //# sourceMappingURL=application.js.map
1
+ export const ApplicationContribution = Symbol("ApplicationContribution");
@@ -1,3 +1 @@
1
-
2
-
3
1
  //# sourceMappingURL=global-module.js.map
package/es/core/global.js CHANGED
@@ -174,4 +174,4 @@ let DefaultGlobal = class {
174
174
  DefaultGlobal = __decorate([ injectable(), __param(0, inject(ContributionProvider)), __param(0, named(EnvContribution)), __metadata("design:paramtypes", [ Object ]) ], DefaultGlobal);
175
175
 
176
176
  export { DefaultGlobal };
177
- //# sourceMappingURL=global.js.map
177
+ //# sourceMappingURL=global.js.map
@@ -143,4 +143,4 @@ let DefaultTransformUtil = class {
143
143
  DefaultTransformUtil = __decorate([ injectable(), __metadata("design:paramtypes", []) ], DefaultTransformUtil);
144
144
 
145
145
  export { DefaultTransformUtil };
146
- //# sourceMappingURL=graphic-utils.js.map
146
+ //# sourceMappingURL=graphic-utils.js.map
package/es/core/index.js CHANGED
@@ -15,4 +15,4 @@ export * from "./layer-service";
15
15
  export * from "./constants";
16
16
 
17
17
  export * from "../interface/core";
18
- //# sourceMappingURL=index.js.map
18
+ //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vrender-core",
3
- "version": "0.16.14-alpha.8",
3
+ "version": "0.16.15-alpha.0",
4
4
  "description": "",
5
5
  "sideEffects": true,
6
6
  "main": "cjs/index.js",
@@ -13,7 +13,7 @@
13
13
  ],
14
14
  "dependencies": {
15
15
  "color-convert": "2.0.1",
16
- "@visactor/vutils": "0.16.8-alpha.1"
16
+ "@visactor/vutils": "0.16.8"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@rushstack/eslint-patch": "~1.1.4",
@@ -30,8 +30,8 @@
30
30
  "eslint": "~8.18.0",
31
31
  "vite": "3.2.6",
32
32
  "typescript": "4.9.5",
33
- "@internal/ts-config": "0.0.1",
34
33
  "@internal/bundler": "0.0.1",
34
+ "@internal/ts-config": "0.0.1",
35
35
  "@internal/eslint-config": "0.0.1"
36
36
  },
37
37
  "keywords": [