@antv/g-canvas 2.0.16-alpha.0 → 2.0.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.
- package/dist/index.esm.js +138 -125
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +151 -138
- package/dist/index.js.map +1 -1
- package/dist/index.umd.min.js +65 -1
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +14 -11
- package/{dist → types}/Canvas2DContextService.d.ts +1 -0
- package/types/Canvas2DContextService.d.ts.map +1 -0
- package/{dist → types}/ContextRegisterPlugin.d.ts +1 -0
- package/types/ContextRegisterPlugin.d.ts.map +1 -0
- package/{dist → types}/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antv/g-canvas",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.17",
|
|
4
4
|
"description": "A renderer implemented by Canvas 2D API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antv",
|
|
@@ -20,30 +20,32 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"author": "https://github.com/orgs/antvis/people",
|
|
22
22
|
"exports": {
|
|
23
|
-
"types": "./
|
|
23
|
+
"types": "./types/index.d.ts",
|
|
24
24
|
"import": "./dist/index.esm.js",
|
|
25
25
|
"default": "./dist/index.js"
|
|
26
26
|
},
|
|
27
27
|
"main": "dist/index.js",
|
|
28
28
|
"unpkg": "dist/index.umd.min.js",
|
|
29
29
|
"module": "dist/index.esm.js",
|
|
30
|
-
"types": "
|
|
30
|
+
"types": "types/index.d.ts",
|
|
31
31
|
"files": [
|
|
32
32
|
"package.json",
|
|
33
33
|
"dist",
|
|
34
|
+
"types",
|
|
34
35
|
"LICENSE",
|
|
35
36
|
"README.md"
|
|
36
37
|
],
|
|
37
38
|
"dependencies": {
|
|
38
39
|
"@antv/util": "^3.3.5",
|
|
40
|
+
"@babel/runtime": "^7.25.6",
|
|
39
41
|
"tslib": "^2.5.3",
|
|
40
|
-
"@antv/g-lite": "2.
|
|
41
|
-
"@antv/g-plugin-canvas-path-generator": "2.0.
|
|
42
|
-
"@antv/g-plugin-
|
|
43
|
-
"@antv/g-plugin-
|
|
44
|
-
"@antv/g-plugin-
|
|
45
|
-
"@antv/g-plugin-html-renderer": "2.
|
|
46
|
-
"@antv/g-plugin-
|
|
42
|
+
"@antv/g-lite": "2.1.1",
|
|
43
|
+
"@antv/g-plugin-canvas-path-generator": "2.0.12",
|
|
44
|
+
"@antv/g-plugin-canvas-picker": "2.0.14",
|
|
45
|
+
"@antv/g-plugin-canvas-renderer": "2.1.1",
|
|
46
|
+
"@antv/g-plugin-dom-interaction": "2.1.1",
|
|
47
|
+
"@antv/g-plugin-html-renderer": "2.1.1",
|
|
48
|
+
"@antv/g-plugin-image-loader": "2.0.12"
|
|
47
49
|
},
|
|
48
50
|
"devDependencies": {
|
|
49
51
|
"@types/gl-matrix": "^2.4.5",
|
|
@@ -53,7 +55,8 @@
|
|
|
53
55
|
"access": "public"
|
|
54
56
|
},
|
|
55
57
|
"scripts": {
|
|
56
|
-
"build": "
|
|
58
|
+
"build:types": "tsc --emitDeclarationOnly --noCheck",
|
|
59
|
+
"build": "npm run clean && npm run build:types && rollup -c",
|
|
57
60
|
"clean": "rimraf dist",
|
|
58
61
|
"sync": "tnpm sync",
|
|
59
62
|
"watch": "rollup -c -w"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Canvas2DContextService.d.ts","sourceRoot":"","sources":["../src/Canvas2DContextService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,aAAa,EACb,UAAU,EACV,cAAc,EACd,aAAa,EAEb,cAAc,EACf,MAAM,cAAc,CAAC;AAItB,qBAAa,sBACX,YAAW,cAAc,CAAC,wBAAwB,CAAC;IAEnD,OAAO,CAAC,UAAU,CAAqB;IACvC,OAAO,CAAC,OAAO,CAAoB;IACnC,OAAO,CAAC,GAAG,CAAS;IACpB,OAAO,CAAC,OAAO,CAGN;IACT,OAAO,CAAC,YAAY,CAAwB;IAC5C,OAAO,CAAC,gBAAgB,CAAmB;gBAE/B,OAAO,EAAE,aAAa,GAAG,aAAa;IAKlD,IAAI;IAoCJ,UAAU,IACe,wBAAwB;IAGjD,aAAa;IAIb,MAAM;IAIN,qBAAqB;IAMrB,OAAO;IASP,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAyBpC,gBAAgB,CAAC,MAAM,EAAE,MAAM;IAMzB,SAAS,CAAC,OAAO,GAAE,OAAO,CAAC,cAAc,CAAM;CAOtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextRegisterPlugin.d.ts","sourceRoot":"","sources":["../src/ContextRegisterPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAGtD,qBAAa,qBAAsB,SAAQ,sBAAsB;IAC/D,IAAI,SAA6B;IACjC,IAAI,IAAI,IAAI;IAGZ,OAAO,IAAI,IAAI;CAGhB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,KAAK,mBAAmB,MAAM,sCAAsC,CAAC;AAC5E,OAAO,KAAK,YAAY,MAAM,8BAA8B,CAAC;AAC7D,OAAO,KAAK,cAAc,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,cAAc,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,YAAY,MAAM,8BAA8B,CAAC;AAC7D,OAAO,KAAK,WAAW,MAAM,6BAA6B,CAAC;AAG3D,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,YAAY,EACZ,WAAW,GACZ,CAAC;AAEF,qBAAa,QAAS,SAAQ,gBAAgB;gBAChC,MAAM,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC;CAgB7C"}
|