diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 3493648..22fc46b 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -32,7 +32,7 @@ importers: '@typescript-eslint/eslint-plugin': 5.30.0 '@typescript-eslint/parser': 5.30.0 '@visactor/react-vchart': 1.11.0 - '@visactor/vchart': 1.11.0 + '@visactor/vchart': 1.11.6 '@visactor/vchart-theme-utils': workspace:1.11.5 '@vitejs/plugin-react': ^4.1.1 '@vitejs/plugin-react-swc': ^3.4.1 @@ -103,7 +103,7 @@ importers: '@typescript-eslint/eslint-plugin': 5.30.0_cow5zg7tx6c3eisi5a4ud5kwia '@typescript-eslint/parser': 5.30.0_vwud3sodsb5zxmzckoj7rdwdbq '@visactor/react-vchart': 1.11.0_biqbaboplfbrettd7655fr4n2y - '@visactor/vchart': 1.11.0 + '@visactor/vchart': 1.11.6 '@vitejs/plugin-react': 4.2.1_vite@4.5.3 '@vitejs/plugin-react-swc': 3.6.0_vite@4.5.3 classnames: 2.5.1 @@ -165,7 +165,7 @@ importers: '@types/node': '*' '@types/offscreencanvas': 2019.6.4 '@visactor/react-vchart': 1.11.0 - '@visactor/vchart': 1.11.0 + '@visactor/vchart': 1.11.6 '@visactor/vchart-theme-utils': workspace:1.11.5 '@vitejs/plugin-react': ^4.1.1 '@vitejs/plugin-react-swc': ^3.4.1 @@ -190,8 +190,8 @@ importers: '@visactor/vchart-theme-utils': link:../vchart-theme-utils devDependencies: '@babel/runtime': 7.24.7 - '@douyinfe/semi-icons': 2.60.1_react@18.2.0 - '@douyinfe/semi-icons-lab': 2.60.1_biqbaboplfbrettd7655fr4n2y + '@douyinfe/semi-icons': 2.61.0_react@18.2.0 + '@douyinfe/semi-icons-lab': 2.61.0_biqbaboplfbrettd7655fr4n2y '@douyinfe/semi-ui': 2.55.5_biqbaboplfbrettd7655fr4n2y '@esbuild-plugins/node-globals-polyfill': 0.1.1 '@esbuild-plugins/node-modules-polyfill': 0.1.4 @@ -206,7 +206,7 @@ importers: '@types/node': 20.12.7 '@types/offscreencanvas': 2019.6.4 '@visactor/react-vchart': 1.11.0_biqbaboplfbrettd7655fr4n2y - '@visactor/vchart': 1.11.0 + '@visactor/vchart': 1.11.6 '@vitejs/plugin-react': 4.2.1_vite@4.5.3 '@vitejs/plugin-react-swc': 3.6.0_vite@4.5.3 eslint: 8.18.0 @@ -239,7 +239,7 @@ importers: '@types/jest': ~29.5.0 '@types/node': '*' '@types/offscreencanvas': 2019.6.4 - '@visactor/vchart': 1.11.0 + '@visactor/vchart': 1.11.6 '@visactor/vchart-arco-theme': workspace:1.11.5 '@visactor/vchart-semi-theme': workspace:1.11.5 '@visactor/vchart-tt-platform-theme': workspace:1.11.5 @@ -271,7 +271,7 @@ importers: '@types/jest': 29.5.12 '@types/node': 20.12.7 '@types/offscreencanvas': 2019.6.4 - '@visactor/vchart': 1.11.0 + '@visactor/vchart': 1.11.6 '@visactor/vchart-arco-theme': link:../vchart-arco-theme '@visactor/vchart-semi-theme': link:../vchart-semi-theme '@visactor/vchart-tt-platform-theme': link:../vchart-tt-platform-theme @@ -310,7 +310,7 @@ importers: '@types/react': ^17.0.0 '@types/react-dom': ^17.0.0 '@visactor/react-vchart': 1.11.0 - '@visactor/vchart': 1.11.0 + '@visactor/vchart': 1.11.6 '@visactor/vchart-theme': workspace:1.11.5 '@visactor/vchart-theme-utils': workspace:1.11.5 '@vitejs/plugin-react': ^4.1.1 @@ -322,11 +322,11 @@ importers: vite: ^4.5.0 dependencies: '@arco-design/web-react': 2.61.2_42iwexueogtmu5amowprdpoisy - '@douyinfe/semi-icons': 2.60.1_react@18.2.0 - '@douyinfe/semi-icons-lab': 2.60.1_biqbaboplfbrettd7655fr4n2y + '@douyinfe/semi-icons': 2.61.0_react@18.2.0 + '@douyinfe/semi-icons-lab': 2.61.0_biqbaboplfbrettd7655fr4n2y '@douyinfe/semi-ui': 2.55.5_biqbaboplfbrettd7655fr4n2y '@visactor/react-vchart': 1.11.0_biqbaboplfbrettd7655fr4n2y - '@visactor/vchart': 1.11.0 + '@visactor/vchart': 1.11.6 '@visactor/vchart-theme': link:../vchart-theme '@visactor/vchart-theme-utils': link:../vchart-theme-utils devDependencies: @@ -359,7 +359,7 @@ importers: '@types/jest': ~29.5.0 '@types/node': '*' '@types/offscreencanvas': 2019.6.4 - '@visactor/vchart': 1.11.0 + '@visactor/vchart': 1.11.6 '@visactor/vchart-types': 1.11.0 eslint: ~8.18.0 husky: 7.0.4 @@ -386,7 +386,7 @@ importers: '@types/jest': 29.5.12 '@types/node': 20.12.7 '@types/offscreencanvas': 2019.6.4 - '@visactor/vchart': 1.11.0 + '@visactor/vchart': 1.11.6 '@visactor/vchart-types': 1.11.0 eslint: 8.18.0 husky: 7.0.4 @@ -424,7 +424,7 @@ importers: '@types/node': '*' '@types/offscreencanvas': 2019.6.4 '@visactor/react-vchart': 1.11.0 - '@visactor/vchart': 1.11.0 + '@visactor/vchart': 1.11.6 '@visactor/vchart-semi-theme': workspace:1.11.5 '@visactor/vchart-theme-utils': workspace:1.11.5 '@vitejs/plugin-react': ^4.1.1 @@ -452,8 +452,8 @@ importers: '@visactor/vchart-theme-utils': link:../vchart-theme-utils devDependencies: '@babel/runtime': 7.24.7 - '@douyinfe/semi-icons': 2.60.1_react@18.2.0 - '@douyinfe/semi-icons-lab': 2.60.1_biqbaboplfbrettd7655fr4n2y + '@douyinfe/semi-icons': 2.61.0_react@18.2.0 + '@douyinfe/semi-icons-lab': 2.61.0_biqbaboplfbrettd7655fr4n2y '@douyinfe/semi-ui': 2.55.5_biqbaboplfbrettd7655fr4n2y '@esbuild-plugins/node-globals-polyfill': 0.1.1 '@esbuild-plugins/node-modules-polyfill': 0.1.4 @@ -469,7 +469,7 @@ importers: '@types/node': 20.12.7 '@types/offscreencanvas': 2019.6.4 '@visactor/react-vchart': 1.11.0_biqbaboplfbrettd7655fr4n2y - '@visactor/vchart': 1.11.0 + '@visactor/vchart': 1.11.6 '@vitejs/plugin-react': 4.2.1_vite@4.5.3 '@vitejs/plugin-react-swc': 3.6.0_vite@4.5.3 eslint: 8.18.0 @@ -518,7 +518,7 @@ importers: '@typescript-eslint/eslint-plugin': 5.30.0 '@typescript-eslint/parser': 5.30.0 '@visactor/react-vchart': 1.11.0 - '@visactor/vchart': 1.11.0 + '@visactor/vchart': 1.11.6 '@visactor/vchart-arco-theme': workspace:1.11.5 '@visactor/vchart-theme-utils': workspace:1.11.5 '@vitejs/plugin-react': ^4.1.1 @@ -587,7 +587,7 @@ importers: '@typescript-eslint/eslint-plugin': 5.30.0_cow5zg7tx6c3eisi5a4ud5kwia '@typescript-eslint/parser': 5.30.0_vwud3sodsb5zxmzckoj7rdwdbq '@visactor/react-vchart': 1.11.0_biqbaboplfbrettd7655fr4n2y - '@visactor/vchart': 1.11.0 + '@visactor/vchart': 1.11.6 '@vitejs/plugin-react': 4.2.1_vite@4.5.3 '@vitejs/plugin-react-swc': 3.6.0_vite@4.5.3 classnames: 2.5.1 @@ -637,7 +637,7 @@ importers: '@types/jest': ~29.5.0 '@types/node': '*' '@types/offscreencanvas': 2019.6.4 - '@visactor/vchart': 1.11.0 + '@visactor/vchart': 1.11.6 '@visactor/vchart-types': 1.11.0 eslint: ~8.18.0 husky: 7.0.4 @@ -662,7 +662,7 @@ importers: '@types/jest': 29.5.12 '@types/node': 20.12.7 '@types/offscreencanvas': 2019.6.4 - '@visactor/vchart': 1.11.0 + '@visactor/vchart': 1.11.6 '@visactor/vchart-types': 1.11.0 eslint: 8.18.0 husky: 7.0.4 @@ -2257,8 +2257,8 @@ packages: memoize-one: 5.2.1 scroll-into-view-if-needed: 2.2.31 - /@douyinfe/semi-icons-lab/2.60.1_biqbaboplfbrettd7655fr4n2y: - resolution: {integrity: sha512-HnsVz+2iZ678c5rIYN/oeDj+d08AppHWOqY90JZ+dX0EbhZPniEy+9+0zeIoiiK7Qf/95z9wcIW3yJ69uHCI2A==} + /@douyinfe/semi-icons-lab/2.61.0_biqbaboplfbrettd7655fr4n2y: + resolution: {integrity: sha512-Hu8pDc2VdA1Rz0cvbHeZhy5MP0Z2DlAc3ANCI5rgxbWM/w/anAbLUQ9OS5Q+HrN1coeukuqBN8e7uAiFE+UPIg==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -2274,8 +2274,8 @@ packages: classnames: 2.5.1 react: 18.2.0 - /@douyinfe/semi-icons/2.60.1_react@18.2.0: - resolution: {integrity: sha512-f6DxiYKUJaTaNnMFFIweQlKjTt5+m6SGZb09Z/2b9wtfqdulXTYMrmXXeQOzfLvTE4QFZb0CfR9DsCfiH6oyxQ==} + /@douyinfe/semi-icons/2.61.0_react@18.2.0: + resolution: {integrity: sha512-5yulqGUDvlOvZ0TMwMCyj+2c6eJScHOcgX3Xoh/5qXyajRJG6AdzjX4vjWHR8Kf5gXHw5BqmYYQy6p8OyzIRhA==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: @@ -4264,6 +4264,46 @@ packages: '@visactor/vutils': 0.18.6 '@visactor/vutils-extension': 1.11.0_7qcgcpuz2j5tzhxzhxchuz72qy + /@visactor/vchart/1.11.6: + resolution: {integrity: sha512-OhJMdPb3JU0KCmoHZunJzzPr+gQr/pVlwkoy7hm3PoJ+38RHgcrXxiRRRZEsQuGK525lMmHTk19KYQhgjrFkFg==} + dependencies: + '@visactor/vdataset': 0.18.10 + '@visactor/vgrammar-core': 0.13.11 + '@visactor/vgrammar-hierarchy': 0.13.11 + '@visactor/vgrammar-projection': 0.13.11 + '@visactor/vgrammar-sankey': 0.13.11 + '@visactor/vgrammar-util': 0.13.11 + '@visactor/vgrammar-venn': 0.13.11 + '@visactor/vgrammar-wordcloud': 0.13.11 + '@visactor/vgrammar-wordcloud-shape': 0.13.11 + '@visactor/vrender-components': 0.19.14 + '@visactor/vrender-core': 0.19.14 + '@visactor/vrender-kits': 0.19.14 + '@visactor/vscale': 0.18.10 + '@visactor/vutils': 0.18.10 + '@visactor/vutils-extension': 1.11.6 + + /@visactor/vdataset/0.18.10: + resolution: {integrity: sha512-gMscOx38Ncj9Fnk90Zb8QiGK1h/jH9b4kTNoEKlMVQxZ516F+mi3FT3AF7GaNhe5jZS83cOSXtBWxWzVBXlqVg==} + dependencies: + '@turf/flatten': 6.5.0 + '@turf/helpers': 6.5.0 + '@turf/rewind': 6.5.0 + '@visactor/vutils': 0.18.10 + d3-dsv: 2.0.0 + d3-geo: 1.12.1 + d3-hexbin: 0.2.2 + d3-hierarchy: 3.1.2 + eventemitter3: 4.0.7 + geobuf: 3.0.2 + geojson-dissolve: 3.1.0 + path-browserify: 1.0.1 + pbf: 3.2.1 + point-at-length: 1.1.0 + simple-statistics: 7.8.3 + simplify-geojson: 1.0.5 + topojson-client: 3.1.0 + /@visactor/vdataset/0.18.6: resolution: {integrity: sha512-48ioKGrGFVuvM2SOyZjSfZxy+l8ZGb64S5/kwIOcLjMkUeYk/WkhKZRhVeDa+TCcthRndHrPgvL6XOZOtg9gEA==} dependencies: @@ -4285,12 +4325,30 @@ packages: simplify-geojson: 1.0.5 topojson-client: 3.1.0 + /@visactor/vgrammar-coordinate/0.13.11: + resolution: {integrity: sha512-6S4ZFQ+ZqNNnWJ6EfUdtcK7PQPY8punzQum3iyk4yZid++7N8JPcqptUcyB/+VO3SpvU25+SQAoxUp8tfjz2eQ==} + dependencies: + '@visactor/vgrammar-util': 0.13.11 + '@visactor/vutils': 0.18.10 + /@visactor/vgrammar-coordinate/0.13.2: resolution: {integrity: sha512-mvIJa8V7zVnfOrKDc6v4XLXo5h0vJoPG/US4nakSX+EK4cODbiQg0TCOsJQDHntPRdXx20A5EGp3mRoIOHM6sw==} dependencies: '@visactor/vgrammar-util': 0.13.2 '@visactor/vutils': 0.18.6 + /@visactor/vgrammar-core/0.13.11: + resolution: {integrity: sha512-/xYwdqB0qKpJRoAYWq8FybEyhWwHhreIYZUCO0FGpBdffim8tweEgZvbQrkM6yx9daFnhLnRwTnSyZ0c49ZBvQ==} + dependencies: + '@visactor/vdataset': 0.18.10 + '@visactor/vgrammar-coordinate': 0.13.11 + '@visactor/vgrammar-util': 0.13.11 + '@visactor/vrender-components': 0.19.14 + '@visactor/vrender-core': 0.19.14 + '@visactor/vrender-kits': 0.19.14 + '@visactor/vscale': 0.18.10 + '@visactor/vutils': 0.18.10 + /@visactor/vgrammar-core/0.13.2: resolution: {integrity: sha512-uBmGP4Cj1yEc+iR31dKCM4J0ISs5Qy9cbtouCJfuMx2lGzlJQR7ThVS5sFKlPbLtRDp8YPz+TmNcACHGXWZLUg==} dependencies: @@ -4303,6 +4361,15 @@ packages: '@visactor/vscale': 0.18.6 '@visactor/vutils': 0.18.6 + /@visactor/vgrammar-hierarchy/0.13.11: + resolution: {integrity: sha512-N0Kl0VZLS6q75KmXaCWSFmGWmXGuyuPvGRCQZs3oeJu/lnYZDibfu5sn02jVTzJfkxH29lauO2DuqtZBlLV8cA==} + dependencies: + '@visactor/vgrammar-core': 0.13.11 + '@visactor/vgrammar-util': 0.13.11 + '@visactor/vrender-core': 0.19.14 + '@visactor/vrender-kits': 0.19.14 + '@visactor/vutils': 0.18.10 + /@visactor/vgrammar-hierarchy/0.13.2: resolution: {integrity: sha512-31pDnI4/+DPHme1isFNTvAoU8BAJCdmNM734hQ0gBgq7wyjKyybkxdIFNm7oh2ow+Q3wpVSUHNoyAR7l/uJGPg==} dependencies: @@ -4312,6 +4379,14 @@ packages: '@visactor/vrender-kits': 0.19.0 '@visactor/vutils': 0.18.6 + /@visactor/vgrammar-projection/0.13.11: + resolution: {integrity: sha512-YMF08v4O6oTyv1x/WHw/rKFjal+JdIgDNqQSGRkNld82kZzCEUu/TbfduUQOmGX0IG6oGIwihyUcMi9zbprLJQ==} + dependencies: + '@visactor/vgrammar-core': 0.13.11 + '@visactor/vgrammar-util': 0.13.11 + '@visactor/vutils': 0.18.10 + d3-geo: 1.12.1 + /@visactor/vgrammar-projection/0.13.2: resolution: {integrity: sha512-+3xObQkYSWYZPuWiml82Gp3mSuUa7/QRoKmicv9sEFjC++HmTllD729/CofPXEodYhK5Ju4q5TO0qRhV5/DOOA==} dependencies: @@ -4320,6 +4395,15 @@ packages: '@visactor/vutils': 0.18.6 d3-geo: 1.12.1 + /@visactor/vgrammar-sankey/0.13.11: + resolution: {integrity: sha512-2jyAv47ZMYU/H5dyJZp6ouFCue3uIIx8HzNAUL5B93odO0Hze89+oryJDfbxs9fQZoOcGPW9gyLdob1KR/unSQ==} + dependencies: + '@visactor/vgrammar-core': 0.13.11 + '@visactor/vgrammar-util': 0.13.11 + '@visactor/vrender-core': 0.19.14 + '@visactor/vrender-kits': 0.19.14 + '@visactor/vutils': 0.18.10 + /@visactor/vgrammar-sankey/0.13.2: resolution: {integrity: sha512-jjX6BGLTbTivAVRjS5KIMK7GLJ2QlosYzzUXl6/4xP8fmiUJgoLLQpDUIucKTE3QcA1tUDWn6tXrzgTB4fyD5A==} dependencies: @@ -4329,11 +4413,25 @@ packages: '@visactor/vrender-kits': 0.19.0 '@visactor/vutils': 0.18.6 + /@visactor/vgrammar-util/0.13.11: + resolution: {integrity: sha512-fzQC2b1NzrmdOVkOX1m/ze00XKg0pbPSHoDdYghsAf8RPjVq6/Ho2WYXjQ2NETGppxCsZiXLIgHU9VbWGzbsWg==} + dependencies: + '@visactor/vutils': 0.18.10 + /@visactor/vgrammar-util/0.13.2: resolution: {integrity: sha512-UIGLsoFP0q9NcLSfDiSGLIZ6QzB5kOyP8AHqqktZs08bPgqisbobyVtl6zuGVuwsQZBKf1i50knLX1Lnb+sOcw==} dependencies: '@visactor/vutils': 0.18.6 + /@visactor/vgrammar-venn/0.13.11: + resolution: {integrity: sha512-IeEsK8RVL1aJOlq1X5DSg+EPktP2+R59OpKZMNN6zcAIKJqQp1/i2PadAa5JbbFb8lQWCXRdQcu+TaDNBk/Ypg==} + dependencies: + '@visactor/vgrammar-core': 0.13.11 + '@visactor/vgrammar-util': 0.13.11 + '@visactor/vrender-core': 0.19.14 + '@visactor/vrender-kits': 0.19.14 + '@visactor/vutils': 0.18.10 + /@visactor/vgrammar-venn/0.13.2: resolution: {integrity: sha512-ppMHjZeOiMbmNTiyeWYqVkZdEUn/ny1v6pPGUh1f3/JKUYy80fM6PG6yKcwbEPg5Rc68Hjz5T9IFO4f0mWloNQ==} dependencies: @@ -4343,6 +4441,16 @@ packages: '@visactor/vrender-kits': 0.19.0 '@visactor/vutils': 0.18.6 + /@visactor/vgrammar-wordcloud-shape/0.13.11: + resolution: {integrity: sha512-ytfTtGtJD39UtiDRadb7PcQPatjgrXXBtYj02ix/7K/dNRNOi2ryDADrxkdDim4fKt/8oQMke+CWuWFcqeL6hg==} + dependencies: + '@visactor/vgrammar-core': 0.13.11 + '@visactor/vgrammar-util': 0.13.11 + '@visactor/vrender-core': 0.19.14 + '@visactor/vrender-kits': 0.19.14 + '@visactor/vscale': 0.18.10 + '@visactor/vutils': 0.18.10 + /@visactor/vgrammar-wordcloud-shape/0.13.2: resolution: {integrity: sha512-RxpakDTusIYSy3G2SNmB1nYtXKBs4nYcONc/Njrfk21/+P73pVoZ/DXGI8SB4YxSjp1MPRf9bpPWOWNTw5u8og==} dependencies: @@ -4353,6 +4461,15 @@ packages: '@visactor/vscale': 0.18.6 '@visactor/vutils': 0.18.6 + /@visactor/vgrammar-wordcloud/0.13.11: + resolution: {integrity: sha512-aQ9TjHB2syZ4/SG9Q9cteonE50rLWQo5LDcLOkdO635Nhwp6bRnAfHf2Tfhk1RKMvFw25AgBtj4AgjvZUG2J9g==} + dependencies: + '@visactor/vgrammar-core': 0.13.11 + '@visactor/vgrammar-util': 0.13.11 + '@visactor/vrender-core': 0.19.14 + '@visactor/vrender-kits': 0.19.14 + '@visactor/vutils': 0.18.10 + /@visactor/vgrammar-wordcloud/0.13.2: resolution: {integrity: sha512-VSho3WsH1AQt95qZytrlZDyEUNVXnuO+4hPAyXWVtT2DrGFkF6MHXqx/pPQRfHW3AkrQByCuK4KAirMPNPi8Kw==} dependencies: @@ -4370,12 +4487,26 @@ packages: '@visactor/vscale': 0.17.5 '@visactor/vutils': 0.18.6 + /@visactor/vrender-components/0.19.14: + resolution: {integrity: sha512-QusN+J3hvFBLPbpmlpnTmN4CVKRYZ6TtP4tTVP1emgcMx5NNz34qkiF+B7+oaR70yHQR8oKT7Za/vH+tarMpmQ==} + dependencies: + '@visactor/vrender-core': 0.19.14 + '@visactor/vrender-kits': 0.19.14 + '@visactor/vscale': 0.18.10 + '@visactor/vutils': 0.18.10 + /@visactor/vrender-core/0.19.0: resolution: {integrity: sha512-LOMg4bySvVXrCcyd8dqsQRvrPcdozOi1trIddslJuiES7bzldniTH0yWaqdysdhIK9dPCryDjOtU0i9nc0bz2w==} dependencies: '@visactor/vutils': 0.18.6 color-convert: 2.0.1 + /@visactor/vrender-core/0.19.14: + resolution: {integrity: sha512-ePICGDwjnWAzDsv2U11RY7rwvgqOAGJ1K74c4ashmylHIBIwGNNmal8PfnWRbe0EjAVFt12oyk5iAahnhErdow==} + dependencies: + '@visactor/vutils': 0.18.10 + color-convert: 2.0.1 + /@visactor/vrender-kits/0.19.0: resolution: {integrity: sha512-aTB2CYYpNHWusVTO3bjH/wMYkhaKvO+sD6TA9A0tB5T4+jh0cfxKT+K3UE3sYDXhCjcuQNr9ZLbyz51IdxE4Gg==} dependencies: @@ -4384,11 +4515,24 @@ packages: '@visactor/vutils': 0.18.6 roughjs: 4.5.2 + /@visactor/vrender-kits/0.19.14: + resolution: {integrity: sha512-A8I+7jFLmqMO1XzYq9jf2hekc4AwAHqkrJ+buEaqKr9OYaQMF2IcjAoqC2/U6R//DrUEEYR5heX9qbWSWO/jGA==} + dependencies: + '@resvg/resvg-js': 2.4.1 + '@visactor/vrender-core': 0.19.14 + '@visactor/vutils': 0.18.10 + roughjs: 4.5.2 + /@visactor/vscale/0.17.5: resolution: {integrity: sha512-2dkS1IlAJ/IdTp8JElbctOOv6lkHKBKPDm8KvwBo0NuGWQeYAebSeyN3QCdwKbj76gMlCub4zc+xWrS5YiA2zA==} dependencies: '@visactor/vutils': 0.17.5 + /@visactor/vscale/0.18.10: + resolution: {integrity: sha512-Zw60wiCFxbRj/I2RXfcqNpAMBmlvXZPSB2JAuVh2iTWAUVlrHdvrmulSCfg2GUdbJx+0V9ThcpfqbFH8YXZCVA==} + dependencies: + '@visactor/vutils': 0.18.10 + /@visactor/vscale/0.18.6: resolution: {integrity: sha512-v4zPi1Ngo9WOf7YdseISyVMtKwAc4FqqQ5VkHDXYGeGJH3JrMOjCvbi9mD7Sw2LfMQ9CTqqGhoQ9M/+BXQ8t/A==} dependencies: @@ -4406,6 +4550,12 @@ packages: '@visactor/vscale': 0.18.6 '@visactor/vutils': 0.18.6 + /@visactor/vutils-extension/1.11.6: + resolution: {integrity: sha512-3K1x5YUP0Ct0fWJpmmbir32HQfr3h99WNYh6Fa7QgQst0ftQ1rpbj5UA/c0u88OrZ8T7Q6z8hqPVhrfvlnzF0Q==} + dependencies: + '@visactor/vdataset': 0.18.10 + '@visactor/vutils': 0.18.10 + /@visactor/vutils/0.17.5: resolution: {integrity: sha512-HFN6Pk1Wc1RK842g02MeKOlvdri5L7/nqxMVTqxIvi0XMhHXpmoqN4+/9H+h8LmJpVohyrI/MT85TRBV/rManw==} dependencies: @@ -4413,6 +4563,13 @@ packages: '@turf/invariant': 6.5.0 eventemitter3: 4.0.7 + /@visactor/vutils/0.18.10: + resolution: {integrity: sha512-xWT+TeMS2TixlNuKw0+I7Ka9/pxBTlvfnOTZuky6YS/HqTSNL3/ftThpsZgnQl+uEFuOLGyyCBNvwzh9HDdG5Q==} + dependencies: + '@turf/helpers': 6.5.0 + '@turf/invariant': 6.5.0 + eventemitter3: 4.0.7 + /@visactor/vutils/0.18.6: resolution: {integrity: sha512-/Bw+yfP0yrrI/iTesv2XroDte3BYfTFhNJx7BVj1/z6S9TwOcry76xjW8Xjet5+hESUGas0H2J1WZR+5WliSXA==} dependencies: @@ -4426,7 +4583,7 @@ packages: vite: ^4 || ^5 dependencies: '@swc/core': 1.4.13 - vite: 4.5.3_bby3wderf736tel7qp3evndmrm + vite: 4.5.3_@types+node@20.12.7 transitivePeerDependencies: - '@swc/helpers' dev: true @@ -4442,7 +4599,7 @@ packages: '@babel/plugin-transform-react-jsx-source': 7.24.1_@babel+core@7.24.4 '@types/babel__core': 7.20.5 react-refresh: 0.14.0 - vite: 4.5.3_bby3wderf736tel7qp3evndmrm + vite: 4.5.3_@types+node@20.12.7 transitivePeerDependencies: - supports-color dev: true @@ -12272,7 +12429,7 @@ packages: '@rollup/pluginutils': 5.1.0 '@svgr/core': 8.1.0_typescript@4.9.5 '@svgr/plugin-jsx': 8.1.0_@svgr+core@8.1.0 - vite: 4.5.3_bby3wderf736tel7qp3evndmrm + vite: 4.5.3_@types+node@20.12.7 transitivePeerDependencies: - rollup - supports-color diff --git a/packages/vchart-arco-theme/package.json b/packages/vchart-arco-theme/package.json index 4a90a59..e494b20 100644 --- a/packages/vchart-arco-theme/package.json +++ b/packages/vchart-arco-theme/package.json @@ -77,7 +77,7 @@ "react-router-dom": "^5.2.0", "react-device-detect": "^2.2.2", "redux": "^4.1.2", - "@visactor/vchart": "1.11.0", + "@visactor/vchart": "1.11.6", "@visactor/react-vchart": "1.11.0", "@arco-design/webpack-plugin": "^1.6.0", "@arco-plugins/vite-plugin-svgr": "^0.7.2", diff --git a/packages/vchart-semi-theme/package.json b/packages/vchart-semi-theme/package.json index 8f2851e..65ae04f 100644 --- a/packages/vchart-semi-theme/package.json +++ b/packages/vchart-semi-theme/package.json @@ -63,7 +63,7 @@ "vite": "^4.5.0", "vite-plugin-svgr": "^4.1.0", "@babel/runtime": "latest", - "@visactor/vchart": "1.11.0", + "@visactor/vchart": "1.11.6", "@visactor/react-vchart": "1.11.0", "@douyinfe/semi-ui": "^2.51.3", "@douyinfe/semi-icons": "latest", diff --git a/packages/vchart-theme-demo-component/package.json b/packages/vchart-theme-demo-component/package.json index 4416819..72f347b 100644 --- a/packages/vchart-theme-demo-component/package.json +++ b/packages/vchart-theme-demo-component/package.json @@ -25,7 +25,7 @@ "@arco-design/web-react": "^2.32.2", "@visactor/vchart-theme-utils": "workspace:1.11.5", "@visactor/vchart-theme": "workspace:1.11.5", - "@visactor/vchart": "1.11.0", + "@visactor/vchart": "1.11.6", "@visactor/react-vchart": "1.11.0" }, "peerDependencies": { diff --git a/packages/vchart-theme-demo-component/src/spec/funnelHorizontal.ts b/packages/vchart-theme-demo-component/src/spec/funnelHorizontal.ts new file mode 100644 index 0000000..e2da7a0 --- /dev/null +++ b/packages/vchart-theme-demo-component/src/spec/funnelHorizontal.ts @@ -0,0 +1,135 @@ +export const horizontalFunnelSpec = { + type: 'common', + padding: { left: 20, right: 60 }, + data: [ + { + id: 'funnel', + values: [ + { + value: 100, + name: 'Screening', + percent: 1 + }, + { + value: 80, + name: 'Evaluating', + percent: 0.8 + }, + { + value: 50, + name: 'Passed', + percent: 0.5 + }, + { + value: 30, + name: 'Interview', + percent: 0.3 + } + ] + } + ], + color: { + type: 'ordinal', + range: ['rgb(54,106,253)', 'rgb(103,138,251)', 'rgb(146,173,255)', 'rgb(191,207,255)'] + }, + series: [ + { + type: 'funnel', + categoryField: 'name', + valueField: 'value', + maxSize: '50%', + minSize: '10%', + funnelAlign: 'bottom', + funnelOrient: 'left', + isTransform: true, + shape: 'rect', + transform: { + style: { + fill: 'rgb(222,231,253)' + } + }, + label: { + visible: true, + style: { + lineHeight: 16, + limit: (datum, ctx) => Math.abs(ctx.getPoints(datum)[0].x - ctx.getPoints(datum)[3].x), + text: datum => `${datum.percent * 100}%`, + x: (datum, ctx) => ctx.getPoints(datum)[0].x + 10, + y: (datum, ctx) => ctx.getPoints(datum)[0].y - 10, + textAlign: 'left', + textBaseline: 'bottom', + fontSize: 20, + fontStyle: 'italic' + } + }, + extensionMark: [ + { + type: 'polygon', + dataId: 'funnel', + style: { + points: (datum, ctx) => { + const start = ctx.getPoints(datum)[1]; + const end = { x: start.x, y: 0 }; + return [start, end]; + }, + closePath: false, + lineWidth: 2, + stroke: 'rgb(243,244,244)' + } + }, + { + type: 'text', + dataId: 'funnel', + style: { + text: (datum, ctx) => { + return { + type: 'rich', + text: [ + { text: `${datum.name}\n`, fontWeight: 'bold', lineHeight: 30 }, + { + text: `${datum.value / 10}K\n`, + fontWeight: 'bold', + fontSize: 24, + lineHeight: 40, + fill: 'black' + }, + { + text: `Percent: ${datum.percent * 10}%`, + fontWeight: 'bold', + lineHeight: 30 + } + ] + }; + }, + x: (datum, ctx) => ctx.getPoints(datum)[0].x + 10, + width: (datum, ctx) => { + return ctx.getPoints(datum)[3].x - ctx.getPoints(datum)[0].x; + }, + textAlign: 'left', + y: 10, + stroke: false, + fill: 'grey', + ellipsis: true, + disableAutoWrapLine: true + } + }, + { + type: 'image', + dataId: 'funnel', + style: { + image: + 'https://sf16-scmcdn-sg.ibytedtos.com/obj/static-sg/visactor-site/sg/client/img/visactor/vrender-icon.svg', + x: (datum, ctx) => + ctx.getPoints(datum)[2].x + (ctx.getPoints(datum)[2].x - ctx.getPoints(datum)[1].x) * 0.5 - 36, + y: 10, + align: 'right', + width: 30, + height: 26, + background: 'rgb(238,238,238)', + fillOpacity: 0.2 + } + } + ] + } + ] +}; diff --git a/packages/vchart-theme-demo-component/src/vchart-chart-hub-theme/chart-list.ts b/packages/vchart-theme-demo-component/src/vchart-chart-hub-theme/chart-list.ts index 7a820be..fb13b33 100644 --- a/packages/vchart-theme-demo-component/src/vchart-chart-hub-theme/chart-list.ts +++ b/packages/vchart-theme-demo-component/src/vchart-chart-hub-theme/chart-list.ts @@ -4,6 +4,7 @@ import { barGroupSpec } from '../spec/barGroup'; import { barGroupHorizontalSpec } from '../spec/barGroupHorizontal'; import { barStackedSpec } from '../spec/barStacked'; import { barStackedHorizontalSpec } from '../spec/barStackedHorizontal'; +import { horizontalFunnelSpec } from '../spec/funnelHorizontal'; import { gaugeSpec } from '../spec/gauge'; import { horizontalBarSpec } from '../spec/horizontalBar'; import { indicatorSankeySpec } from '../spec/indicatorSankey'; @@ -37,7 +38,7 @@ export const charts: IChartInfo[] = [ { title: 'Horizontal Grouped Bar Chart', spec: barGroupHorizontalSpec, - fileName: 'horizontalBar' + fileName: 'barGroupHorizontal' }, { title: 'Horizontal Stacked Bar Chart', @@ -81,5 +82,10 @@ export const charts: IChartInfo[] = [ option: { enableHtmlAttribute: true } + }, + { + title: 'Horizontal Funnel', + spec: horizontalFunnelSpec, + fileName: 'funnelHorizontal' } ]; diff --git a/packages/vchart-theme-demo-component/src/vchart-chart-hub-theme/charts.tsx b/packages/vchart-theme-demo-component/src/vchart-chart-hub-theme/charts.tsx index 922799a..96c72e7 100644 --- a/packages/vchart-theme-demo-component/src/vchart-chart-hub-theme/charts.tsx +++ b/packages/vchart-theme-demo-component/src/vchart-chart-hub-theme/charts.tsx @@ -1,9 +1,8 @@ import React, { useCallback } from 'react'; import { isMobile } from 'react-device-detect'; import { charts } from './chart-list'; -import { VChart as VChartComponent } from '@visactor/react-vchart'; +import { VChart as VChartComponent, VChartCore } from '@visactor/react-vchart'; import { i18n } from './i18n'; -import VChart from '@visactor/vchart'; import { chartHubLightTheme } from '@visactor/vchart-theme'; import { Button, Card } from '@douyinfe/semi-ui'; @@ -19,8 +18,8 @@ const gutter = 16; const DEMO_SOURCE_PREFIX = 'https://raw.githubusercontent.com/VisActor/vchart-theme/develop/packages/vchart-theme-demo-component/src/spec/'; -VChart.ThemeManager.registerTheme('chart-hub-light', chartHubLightTheme); -VChart.ThemeManager.setCurrentTheme('chart-hub-light'); +VChartCore.ThemeManager.registerTheme('chart-hub-light', chartHubLightTheme as any); +VChartCore.ThemeManager.setCurrentTheme('chart-hub-light'); export interface IProps { language?: 'en' | 'zh'; diff --git a/packages/vchart-theme-utils/package.json b/packages/vchart-theme-utils/package.json index 4aff0c3..bb658fd 100644 --- a/packages/vchart-theme-utils/package.json +++ b/packages/vchart-theme-utils/package.json @@ -36,7 +36,7 @@ "ts-jest": "~29.1.0", "@types/jest": "~29.5.0", "@rushstack/eslint-patch": "~1.1.4", - "@visactor/vchart": "1.11.0", + "@visactor/vchart": "1.11.6", "@visactor/vchart-types": "1.11.0", "eslint": "~8.18.0", "vite": "^4.5.0", diff --git a/packages/vchart-theme/package.json b/packages/vchart-theme/package.json index 7f44541..a7ae314 100644 --- a/packages/vchart-theme/package.json +++ b/packages/vchart-theme/package.json @@ -38,7 +38,7 @@ "ts-jest": "~29.1.0", "@types/jest": "~29.5.0", "@rushstack/eslint-patch": "~1.1.4", - "@visactor/vchart": "1.11.0", + "@visactor/vchart": "1.11.6", "@visactor/vchart-types": "1.11.0", "eslint": "~8.18.0", "vite": "^4.5.0", diff --git a/packages/vchart-tt-platform-theme/package.json b/packages/vchart-tt-platform-theme/package.json index 32024d6..e22a1f2 100644 --- a/packages/vchart-tt-platform-theme/package.json +++ b/packages/vchart-tt-platform-theme/package.json @@ -65,7 +65,7 @@ "vite-plugin-svgr": "^4.1.0", "node-sass": "^9.0.0", "@babel/runtime": "latest", - "@visactor/vchart": "1.11.0", + "@visactor/vchart": "1.11.6", "@visactor/react-vchart": "1.11.0", "@douyinfe/semi-ui": "^2.51.3", "@douyinfe/semi-icons": "latest", diff --git a/packages/vchart-ve-o-theme/package.json b/packages/vchart-ve-o-theme/package.json index e369840..a5ca7ab 100644 --- a/packages/vchart-ve-o-theme/package.json +++ b/packages/vchart-ve-o-theme/package.json @@ -74,7 +74,7 @@ "react-redux": "^7.2.6", "react-device-detect": "^2.2.2", "redux": "^4.1.2", - "@visactor/vchart": "1.11.0", + "@visactor/vchart": "1.11.6", "@visactor/react-vchart": "1.11.0", "@arco-design/webpack-plugin": "^1.6.0", "@arco-plugins/vite-plugin-svgr": "^0.7.2", diff --git a/share/chart-demo/package.json b/share/chart-demo/package.json index 5df971c..b31b6a5 100644 --- a/share/chart-demo/package.json +++ b/share/chart-demo/package.json @@ -25,7 +25,7 @@ "@visactor/vchart": ">=1.10.4" }, "devDependencies": { - "@visactor/vchart": "1.11.0", + "@visactor/vchart": "1.11.6", "@visactor/vchart-types": "1.11.0", "@internal/bundler": "workspace:*", "@internal/eslint-config": "workspace:*",