@visactor/vrender-core 0.21.12-alpha.2 → 0.21.12-alpha.4
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/common/3d-interceptor.js +1 -1
- package/cjs/common/Reflect-metadata.js +1 -1
- package/cjs/common/bezier-utils.js +1 -1
- package/cjs/common/bounds-context.js +1 -2
- package/cjs/common/canvas-utils.js +1 -1
- package/cjs/common/color-utils.js +1 -1
- package/cjs/common/contribution-provider.js +1 -1
- package/cjs/common/custom-path2d.js +1 -1
- package/cjs/common/enums.js +1 -1
- package/cjs/common/generator.js +1 -1
- package/cjs/common/matrix.js +1 -1
- package/cjs/event/constant.js +1 -1
- package/cjs/event/event-manager.js +1 -1
- package/cjs/event/event-system.js +1 -1
- package/cjs/event/event-target.js +2 -1
- package/cjs/event/index.js +1 -1
- package/cjs/event/util.js +1 -1
- package/cjs/graphic/arc.js +1 -1
- package/cjs/graphic/arc3d.js +1 -1
- package/cjs/graphic/area.js +1 -1
- package/cjs/graphic/bounds.js +1 -1
- package/cjs/graphic/circle.js +1 -1
- package/es/common/3d-interceptor.js +1 -1
- package/es/common/Reflect-metadata.js +1 -1
- package/es/common/bezier-utils.js +1 -1
- package/es/common/bounds-context.js +1 -2
- package/es/common/canvas-utils.js +1 -1
- package/es/common/color-utils.js +1 -1
- package/es/common/contribution-provider.js +1 -1
- package/es/common/custom-path2d.js +1 -1
- package/es/common/enums.js +1 -1
- package/es/common/generator.js +1 -1
- package/es/common/matrix.js +1 -1
- package/es/event/constant.js +1 -1
- package/es/event/event-manager.js +1 -1
- package/es/event/event-system.js +1 -1
- package/es/event/event-target.js +2 -1
- package/es/event/index.js +1 -1
- package/es/event/util.js +1 -1
- package/es/graphic/arc.js +1 -1
- package/es/graphic/arc3d.js +1 -1
- package/es/graphic/area.js +1 -1
- package/es/graphic/bounds.js +1 -1
- package/es/graphic/circle.js +1 -1
- package/package.json +19 -19
|
@@ -32,4 +32,4 @@ function cubicPointAt(p0, p1, p2, p3, t) {
|
|
|
32
32
|
|
|
33
33
|
exports.snapLength = snapLength, exports.cubicLength = cubicLength, exports.cubicCalc = cubicCalc,
|
|
34
34
|
exports.cubicPointAt = cubicPointAt;
|
|
35
|
-
//# sourceMappingURL=bezier-utils.js.map
|
|
35
|
+
//# sourceMappingURL=bezier-utils.js.map
|
|
@@ -54,5 +54,5 @@ function createConicGradient(context, color, x, y, w, h) {
|
|
|
54
54
|
})), canvasGradient.GetPattern(w + x, h + y, undefined);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
exports.getScaledStroke = getScaledStroke, exports.createColor = createColor;
|
|
58
57
|
//# sourceMappingURL=canvas-utils.js.map
|
|
58
|
+
exports.getScaledStroke = getScaledStroke, exports.createColor = createColor;
|
|
@@ -24,4 +24,4 @@ function bindContributionProviderNoSingletonScope(bind, id) {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
exports.bindContributionProvider = bindContributionProvider, exports.bindContributionProviderNoSingletonScope = bindContributionProviderNoSingletonScope;
|
|
27
|
-
//# sourceMappingURL=contribution-provider.js.map
|
|
27
|
+
//# sourceMappingURL=contribution-provider.js.map
|
|
@@ -334,4 +334,4 @@ function scale(current, sX, sY) {
|
|
|
334
334
|
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];
|
|
335
335
|
return temp;
|
|
336
336
|
}
|
|
337
|
-
//# sourceMappingURL=custom-path2d.js.map
|
|
337
|
+
//# sourceMappingURL=custom-path2d.js.map
|
package/cjs/common/enums.js
CHANGED
|
@@ -46,4 +46,4 @@ function(Direction) {
|
|
|
46
46
|
BaseRenderContributionTime[BaseRenderContributionTime.beforeFillStroke = 0] = "beforeFillStroke",
|
|
47
47
|
BaseRenderContributionTime[BaseRenderContributionTime.afterFillStroke = 1] = "afterFillStroke";
|
|
48
48
|
}(BaseRenderContributionTime = exports.BaseRenderContributionTime || (exports.BaseRenderContributionTime = {}));
|
|
49
|
-
//# sourceMappingURL=enums.js.map
|
|
49
|
+
//# sourceMappingURL=enums.js.map
|
package/cjs/common/generator.js
CHANGED
package/cjs/common/matrix.js
CHANGED
|
@@ -129,4 +129,4 @@ exports.identityMat4 = identityMat4, exports.rotateX = rotateX, exports.rotateY
|
|
|
129
129
|
exports.rotateZ = rotateZ, exports.translate = translate, exports.mat3Tomat4 = mat3Tomat4,
|
|
130
130
|
exports.multiplyMat4Mat3 = multiplyMat4Mat3, exports.scaleMat4 = scaleMat4, exports.multiplyMat4Mat4 = multiplyMat4Mat4,
|
|
131
131
|
exports.lookAt = lookAt, exports.ortho = ortho, exports.transformMat4 = transformMat4;
|
|
132
|
-
//# sourceMappingURL=matrix.js.map
|
|
132
|
+
//# sourceMappingURL=matrix.js.map
|
package/cjs/event/constant.js
CHANGED
package/cjs/event/index.js
CHANGED
|
@@ -21,4 +21,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
21
21
|
__exportStar(require("./event-target"), exports), __exportStar(require("./event-system"), exports),
|
|
22
22
|
__exportStar(require("../interface/event"), exports), __exportStar(require("./util"), exports),
|
|
23
23
|
__exportStar(require("./constant"), exports);
|
|
24
|
-
//# sourceMappingURL=index.js.map
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
package/cjs/event/util.js
CHANGED
package/cjs/graphic/arc.js
CHANGED
package/cjs/graphic/arc3d.js
CHANGED
package/cjs/graphic/area.js
CHANGED
package/cjs/graphic/bounds.js
CHANGED
package/cjs/graphic/circle.js
CHANGED
package/es/common/color-utils.js
CHANGED
|
@@ -17,4 +17,4 @@ export function bindContributionProvider(bind, id) {
|
|
|
17
17
|
export function bindContributionProviderNoSingletonScope(bind, id) {
|
|
18
18
|
bind(ContributionProvider).toDynamicValue((({container: container}) => new ContributionProviderCache(id, container))).whenTargetNamed(id);
|
|
19
19
|
}
|
|
20
|
-
//# sourceMappingURL=contribution-provider.js.map
|
|
20
|
+
//# sourceMappingURL=contribution-provider.js.map
|
|
@@ -339,4 +339,4 @@ function scale(current, sX, sY) {
|
|
|
339
339
|
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];
|
|
340
340
|
return temp;
|
|
341
341
|
}
|
|
342
|
-
//# sourceMappingURL=custom-path2d.js.map
|
|
342
|
+
//# sourceMappingURL=custom-path2d.js.map
|
package/es/common/enums.js
CHANGED
|
@@ -70,4 +70,4 @@ export var BaseRenderContributionTime;
|
|
|
70
70
|
BaseRenderContributionTime[BaseRenderContributionTime.beforeFillStroke = 0] = "beforeFillStroke",
|
|
71
71
|
BaseRenderContributionTime[BaseRenderContributionTime.afterFillStroke = 1] = "afterFillStroke";
|
|
72
72
|
}(BaseRenderContributionTime || (BaseRenderContributionTime = {}));
|
|
73
|
-
//# sourceMappingURL=enums.js.map
|
|
73
|
+
//# sourceMappingURL=enums.js.map
|
package/es/common/generator.js
CHANGED
package/es/common/matrix.js
CHANGED
|
@@ -118,4 +118,4 @@ export function transformMat4(out, a, m) {
|
|
|
118
118
|
return w = w || 1, out[0] = (m[0] * x + m[4] * y + m[8] * z + m[12]) / w, out[1] = (m[1] * x + m[5] * y + m[9] * z + m[13]) / w,
|
|
119
119
|
out[2] = (m[2] * x + m[6] * y + m[10] * z + m[14]) / w, out;
|
|
120
120
|
}
|
|
121
|
-
//# sourceMappingURL=matrix.js.map
|
|
121
|
+
//# sourceMappingURL=matrix.js.map
|
package/es/event/constant.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const WILDCARD = "*";
|
|
2
|
-
//# sourceMappingURL=constant.js.map
|
|
2
|
+
//# sourceMappingURL=constant.js.map
|
package/es/event/event-system.js
CHANGED
package/es/event/event-target.js
CHANGED
package/es/event/index.js
CHANGED
package/es/event/util.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const clock = "object" == typeof performance && performance.now ? performance : Date;
|
|
2
|
-
//# sourceMappingURL=util.js.map
|
|
2
|
+
//# sourceMappingURL=util.js.map
|
package/es/graphic/arc.js
CHANGED
package/es/graphic/arc3d.js
CHANGED
package/es/graphic/area.js
CHANGED
package/es/graphic/bounds.js
CHANGED
package/es/graphic/circle.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visactor/vrender-core",
|
|
3
|
-
"version": "0.21.12-alpha.
|
|
3
|
+
"version": "0.21.12-alpha.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"./src/modules.ts",
|
|
@@ -15,27 +15,11 @@
|
|
|
15
15
|
"es",
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
18
|
-
"scripts": {
|
|
19
|
-
"compile": "tsc --noEmit",
|
|
20
|
-
"eslint": "eslint --debug --fix src/",
|
|
21
|
-
"build": "cross-env DEBUG='Bundler*' bundle --clean",
|
|
22
|
-
"build-umd": "cross-env DEBUG='Bundler*' bundle --clean -f umd",
|
|
23
|
-
"dev": "cross-env DEBUG='Bundler*' bundle --clean -f es -w",
|
|
24
|
-
"start": "vite ./__tests__/browser",
|
|
25
|
-
"test": "jest",
|
|
26
|
-
"test-live": "npm run test-watch __tests__/unit/theme/line.test.ts",
|
|
27
|
-
"test-watch": "cross-env DEBUG_MODE=1 jest --watch",
|
|
28
|
-
"test-cov": "jest -w 16 --coverage",
|
|
29
|
-
"build:spec-types": "rm -rf ./spec-types && tsc -p ./tsconfig.spec.json --declaration --emitDeclarationOnly --outDir ./spec-types"
|
|
30
|
-
},
|
|
31
18
|
"dependencies": {
|
|
32
19
|
"color-convert": "2.0.1",
|
|
33
20
|
"@visactor/vutils": "~0.19.3"
|
|
34
21
|
},
|
|
35
22
|
"devDependencies": {
|
|
36
|
-
"@internal/bundler": "workspace:*",
|
|
37
|
-
"@internal/eslint-config": "workspace:*",
|
|
38
|
-
"@internal/ts-config": "workspace:*",
|
|
39
23
|
"@rushstack/eslint-patch": "~1.1.4",
|
|
40
24
|
"react": "^18.0.0",
|
|
41
25
|
"react-dom": "^18.0.0",
|
|
@@ -50,7 +34,10 @@
|
|
|
50
34
|
"eslint": "~8.18.0",
|
|
51
35
|
"vite": "3.2.6",
|
|
52
36
|
"typescript": "4.9.5",
|
|
53
|
-
"cross-env": "^7.0.3"
|
|
37
|
+
"cross-env": "^7.0.3",
|
|
38
|
+
"@internal/bundler": "0.0.1",
|
|
39
|
+
"@internal/eslint-config": "0.0.1",
|
|
40
|
+
"@internal/ts-config": "0.0.1"
|
|
54
41
|
},
|
|
55
42
|
"keywords": [
|
|
56
43
|
"VisActor",
|
|
@@ -78,5 +65,18 @@
|
|
|
78
65
|
},
|
|
79
66
|
"publishConfig": {
|
|
80
67
|
"access": "public"
|
|
68
|
+
},
|
|
69
|
+
"scripts": {
|
|
70
|
+
"compile": "tsc --noEmit",
|
|
71
|
+
"eslint": "eslint --debug --fix src/",
|
|
72
|
+
"build": "cross-env DEBUG='Bundler*' bundle --clean",
|
|
73
|
+
"build-umd": "cross-env DEBUG='Bundler*' bundle --clean -f umd",
|
|
74
|
+
"dev": "cross-env DEBUG='Bundler*' bundle --clean -f es -w",
|
|
75
|
+
"start": "vite ./__tests__/browser",
|
|
76
|
+
"test": "jest",
|
|
77
|
+
"test-live": "npm run test-watch __tests__/unit/theme/line.test.ts",
|
|
78
|
+
"test-watch": "cross-env DEBUG_MODE=1 jest --watch",
|
|
79
|
+
"test-cov": "jest -w 16 --coverage",
|
|
80
|
+
"build:spec-types": "rm -rf ./spec-types && tsc -p ./tsconfig.spec.json --declaration --emitDeclarationOnly --outDir ./spec-types"
|
|
81
81
|
}
|
|
82
|
-
}
|
|
82
|
+
}
|