From f382b8e2cb2d0b9355be84fc92619c0e723a8ed7 Mon Sep 17 00:00:00 2001 From: "lixuefei.1313" Date: Wed, 25 Dec 2024 17:21:36 +0800 Subject: [PATCH] feat: upgrade vtable to 1.14.1 --- common/config/rush/pnpm-lock.yaml | 361 +++++++++--------- packages/vstory-animate/package.json | 12 +- packages/vstory-core/package.json | 12 +- .../table/graphic/vtable-graphic-render.ts | 3 +- .../character/table/runtime/common-spec.ts | 6 +- packages/vstory-editor/package.json | 12 +- packages/vstory-external/package.json | 12 +- packages/vstory-player/package.json | 12 +- packages/vstory-templates/package.json | 12 +- packages/vstory/demo/src/demos/table/base.tsx | 2 +- .../demo/src/demos/table/option-list-table.ts | 81 ++-- 11 files changed, 276 insertions(+), 249 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index a7bd71b5..f36cadd3 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -138,16 +138,16 @@ importers: '@types/jest': ^26.0.0 '@types/react': ^18.0.0 '@types/react-dom': ^18.0.0 - '@visactor/vchart': 1.13.2-vstory.2 + '@visactor/vchart': 1.13.1-vstory.3 '@visactor/vchart-extension': 0.0.3-vstory.2 '@visactor/vdataset': ~0.18.17 - '@visactor/vrender': 0.21.5-vstory.2 - '@visactor/vrender-components': 0.21.5-vstory.2 - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vrender': 0.21.2-vstory.3 + '@visactor/vrender-components': 0.21.2-vstory.3 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 '@visactor/vscale': ~0.18.17 '@visactor/vstory-core': workspace:0.0.21 - '@visactor/vtable': 1.10.1 + '@visactor/vtable': 1.14.1 '@visactor/vutils': ~0.18.17 '@vitejs/plugin-react': 3.1.0 canvas: 2.11.2 @@ -163,16 +163,16 @@ importers: typescript: 4.9.5 vite: 3.2.6 dependencies: - '@visactor/vchart': 1.13.2-vstory.2 + '@visactor/vchart': 1.13.1-vstory.3 '@visactor/vchart-extension': 0.0.3-vstory.2 '@visactor/vdataset': 0.18.18 - '@visactor/vrender': 0.21.5-vstory.2 - '@visactor/vrender-components': 0.21.5-vstory.2 - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vrender': 0.21.2-vstory.3 + '@visactor/vrender-components': 0.21.2-vstory.3 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 '@visactor/vscale': 0.18.18 '@visactor/vstory-core': link:../vstory-core - '@visactor/vtable': 1.10.1 + '@visactor/vtable': 1.14.1 '@visactor/vutils': 0.18.18 devDependencies: '@douyinfe/semi-ui': 2.69.1_nnrd3gsncyragczmpvfhocinkq @@ -213,15 +213,15 @@ importers: '@types/jest': ^26.0.0 '@types/react': ^18.0.0 '@types/react-dom': ^18.0.0 - '@visactor/vchart': 1.13.2-vstory.2 + '@visactor/vchart': 1.13.1-vstory.3 '@visactor/vchart-extension': 0.0.3-vstory.2 '@visactor/vdataset': ~0.18.17 - '@visactor/vrender': 0.21.5-vstory.2 - '@visactor/vrender-components': 0.21.5-vstory.2 - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vrender': 0.21.2-vstory.3 + '@visactor/vrender-components': 0.21.2-vstory.3 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 '@visactor/vscale': ~0.18.17 - '@visactor/vtable': 1.10.1 + '@visactor/vtable': 1.14.1 '@visactor/vutils': ~0.18.17 '@vitejs/plugin-react': 3.1.0 canvas: 2.11.2 @@ -237,15 +237,15 @@ importers: typescript: 4.9.5 vite: 3.2.6 dependencies: - '@visactor/vchart': 1.13.2-vstory.2 + '@visactor/vchart': 1.13.1-vstory.3 '@visactor/vchart-extension': 0.0.3-vstory.2 '@visactor/vdataset': 0.18.18 - '@visactor/vrender': 0.21.5-vstory.2 - '@visactor/vrender-components': 0.21.5-vstory.2 - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vrender': 0.21.2-vstory.3 + '@visactor/vrender-components': 0.21.2-vstory.3 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 '@visactor/vscale': 0.18.18 - '@visactor/vtable': 1.10.1 + '@visactor/vtable': 1.14.1 '@visactor/vutils': 0.18.18 devDependencies: '@douyinfe/semi-ui': 2.69.1_nnrd3gsncyragczmpvfhocinkq @@ -286,16 +286,16 @@ importers: '@types/jest': ^26.0.0 '@types/react': ^18.0.0 '@types/react-dom': ^18.0.0 - '@visactor/vchart': 1.13.2-vstory.2 + '@visactor/vchart': 1.13.1-vstory.3 '@visactor/vchart-extension': 0.0.3-vstory.2 '@visactor/vdataset': ~0.18.17 - '@visactor/vrender': 0.21.5-vstory.2 - '@visactor/vrender-components': 0.21.5-vstory.2 - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vrender': 0.21.2-vstory.3 + '@visactor/vrender-components': 0.21.2-vstory.3 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 '@visactor/vscale': ~0.18.17 '@visactor/vstory-core': workspace:0.0.21 - '@visactor/vtable': 1.10.1 + '@visactor/vtable': 1.14.1 '@visactor/vutils': ~0.18.17 '@vitejs/plugin-react': 3.1.0 canvas: 2.11.2 @@ -311,16 +311,16 @@ importers: typescript: 4.9.5 vite: 3.2.6 dependencies: - '@visactor/vchart': 1.13.2-vstory.2 + '@visactor/vchart': 1.13.1-vstory.3 '@visactor/vchart-extension': 0.0.3-vstory.2 '@visactor/vdataset': 0.18.18 - '@visactor/vrender': 0.21.5-vstory.2 - '@visactor/vrender-components': 0.21.5-vstory.2 - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vrender': 0.21.2-vstory.3 + '@visactor/vrender-components': 0.21.2-vstory.3 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 '@visactor/vscale': 0.18.18 '@visactor/vstory-core': link:../vstory-core - '@visactor/vtable': 1.10.1 + '@visactor/vtable': 1.14.1 '@visactor/vutils': 0.18.18 devDependencies: '@douyinfe/semi-ui': 2.69.1_nnrd3gsncyragczmpvfhocinkq @@ -361,18 +361,18 @@ importers: '@types/jest': ^26.0.0 '@types/react': ^18.0.0 '@types/react-dom': ^18.0.0 - '@visactor/vchart': 1.13.2-vstory.2 + '@visactor/vchart': 1.13.1-vstory.3 '@visactor/vchart-extension': 0.0.3-vstory.2 '@visactor/vdataset': ~0.18.17 - '@visactor/vrender': 0.21.5-vstory.2 - '@visactor/vrender-components': 0.21.5-vstory.2 - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vrender': 0.21.2-vstory.3 + '@visactor/vrender-components': 0.21.2-vstory.3 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 '@visactor/vscale': ~0.18.17 '@visactor/vstory-animate': workspace:0.0.21 '@visactor/vstory-core': workspace:0.0.21 '@visactor/vstory-player': workspace:0.0.21 - '@visactor/vtable': 1.10.1 + '@visactor/vtable': 1.14.1 '@visactor/vutils': ~0.18.17 '@vitejs/plugin-react': 3.1.0 canvas: 2.11.2 @@ -388,18 +388,18 @@ importers: typescript: 4.9.5 vite: 3.2.6 dependencies: - '@visactor/vchart': 1.13.2-vstory.2 + '@visactor/vchart': 1.13.1-vstory.3 '@visactor/vchart-extension': 0.0.3-vstory.2 '@visactor/vdataset': 0.18.18 - '@visactor/vrender': 0.21.5-vstory.2 - '@visactor/vrender-components': 0.21.5-vstory.2 - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vrender': 0.21.2-vstory.3 + '@visactor/vrender-components': 0.21.2-vstory.3 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 '@visactor/vscale': 0.18.18 '@visactor/vstory-animate': link:../vstory-animate '@visactor/vstory-core': link:../vstory-core '@visactor/vstory-player': link:../vstory-player - '@visactor/vtable': 1.10.1 + '@visactor/vtable': 1.14.1 '@visactor/vutils': 0.18.18 devDependencies: '@douyinfe/semi-ui': 2.69.1_nnrd3gsncyragczmpvfhocinkq @@ -440,17 +440,17 @@ importers: '@types/jest': ^26.0.0 '@types/react': ^18.0.0 '@types/react-dom': ^18.0.0 - '@visactor/vchart': 1.13.2-vstory.2 + '@visactor/vchart': 1.13.1-vstory.3 '@visactor/vchart-extension': 0.0.3-vstory.2 '@visactor/vdataset': ~0.18.17 - '@visactor/vrender': 0.21.5-vstory.2 - '@visactor/vrender-components': 0.21.5-vstory.2 - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vrender': 0.21.2-vstory.3 + '@visactor/vrender-components': 0.21.2-vstory.3 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 '@visactor/vscale': ~0.18.17 '@visactor/vstory-animate': workspace:0.0.21 '@visactor/vstory-core': workspace:0.0.21 - '@visactor/vtable': 1.10.1 + '@visactor/vtable': 1.14.1 '@visactor/vutils': ~0.18.17 '@vitejs/plugin-react': 3.1.0 canvas: 2.11.2 @@ -466,17 +466,17 @@ importers: typescript: 4.9.5 vite: 3.2.6 dependencies: - '@visactor/vchart': 1.13.2-vstory.2 + '@visactor/vchart': 1.13.1-vstory.3 '@visactor/vchart-extension': 0.0.3-vstory.2 '@visactor/vdataset': 0.18.18 - '@visactor/vrender': 0.21.5-vstory.2 - '@visactor/vrender-components': 0.21.5-vstory.2 - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vrender': 0.21.2-vstory.3 + '@visactor/vrender-components': 0.21.2-vstory.3 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 '@visactor/vscale': 0.18.18 '@visactor/vstory-animate': link:../vstory-animate '@visactor/vstory-core': link:../vstory-core - '@visactor/vtable': 1.10.1 + '@visactor/vtable': 1.14.1 '@visactor/vutils': 0.18.18 devDependencies: '@douyinfe/semi-ui': 2.69.1_nnrd3gsncyragczmpvfhocinkq @@ -517,16 +517,16 @@ importers: '@types/jest': ^26.0.0 '@types/react': ^18.0.0 '@types/react-dom': ^18.0.0 - '@visactor/vchart': 1.13.2-vstory.2 + '@visactor/vchart': 1.13.1-vstory.3 '@visactor/vchart-extension': 0.0.3-vstory.2 '@visactor/vdataset': ~0.18.17 - '@visactor/vrender': 0.21.5-vstory.2 - '@visactor/vrender-components': 0.21.5-vstory.2 - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vrender': 0.21.2-vstory.3 + '@visactor/vrender-components': 0.21.2-vstory.3 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 '@visactor/vscale': ~0.18.17 '@visactor/vstory-core': workspace:0.0.21 - '@visactor/vtable': 1.10.1 + '@visactor/vtable': 1.14.1 '@visactor/vutils': ~0.18.17 '@vitejs/plugin-react': 3.1.0 canvas: 2.11.2 @@ -542,16 +542,16 @@ importers: typescript: 4.9.5 vite: 3.2.6 dependencies: - '@visactor/vchart': 1.13.2-vstory.2 + '@visactor/vchart': 1.13.1-vstory.3 '@visactor/vchart-extension': 0.0.3-vstory.2 '@visactor/vdataset': 0.18.18 - '@visactor/vrender': 0.21.5-vstory.2 - '@visactor/vrender-components': 0.21.5-vstory.2 - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vrender': 0.21.2-vstory.3 + '@visactor/vrender-components': 0.21.2-vstory.3 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 '@visactor/vscale': 0.18.18 '@visactor/vstory-core': link:../vstory-core - '@visactor/vtable': 1.10.1 + '@visactor/vtable': 1.14.1 '@visactor/vutils': 0.18.18 devDependencies: '@douyinfe/semi-ui': 2.69.1_nnrd3gsncyragczmpvfhocinkq @@ -3720,24 +3720,24 @@ packages: '@visactor/vutils': 0.18.18 dev: false - /@visactor/vchart/1.13.2-vstory.2: - resolution: {integrity: sha512-6rpx6kSeYdQ2W5cz4BAStgVuv9bQErdMjKnmVSP7ipp3syYE53oT9r3aXSpZmqthpPXIRbCwOuT6RUhs44Q0MA==} + /@visactor/vchart/1.13.1-vstory.3: + resolution: {integrity: sha512-15IDx6VH1W9PHCUbQiYEZSiS5kIIP0VxgBCV65A7pGj61+QXCJBfTpjQmxthrfeUo5dQa4FAy3TY8tlw/7161g==} dependencies: '@visactor/vdataset': 0.19.2 - '@visactor/vgrammar-core': 0.15.2-vstory.2 - '@visactor/vgrammar-hierarchy': 0.15.2-vstory.2 - '@visactor/vgrammar-projection': 0.15.2-vstory.2 - '@visactor/vgrammar-sankey': 0.15.2-vstory.2 - '@visactor/vgrammar-util': 0.15.2-vstory.2 - '@visactor/vgrammar-venn': 0.15.2-vstory.2 - '@visactor/vgrammar-wordcloud': 0.15.2-vstory.2 - '@visactor/vgrammar-wordcloud-shape': 0.15.2-vstory.2 - '@visactor/vrender-components': 0.21.5-vstory.2 - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vgrammar-core': 0.15.1-vstory.3 + '@visactor/vgrammar-hierarchy': 0.15.1-vstory.3 + '@visactor/vgrammar-projection': 0.15.1-vstory.3 + '@visactor/vgrammar-sankey': 0.15.1-vstory.3 + '@visactor/vgrammar-util': 0.15.1-vstory.3 + '@visactor/vgrammar-venn': 0.15.1-vstory.3 + '@visactor/vgrammar-wordcloud': 0.15.1-vstory.3 + '@visactor/vgrammar-wordcloud-shape': 0.15.1-vstory.3 + '@visactor/vrender-components': 0.21.2-vstory.3 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 '@visactor/vscale': 0.19.2 '@visactor/vutils': 0.19.2 - '@visactor/vutils-extension': 1.13.2-vstory.2 + '@visactor/vutils-extension': 1.13.1-vstory.3 dev: false /@visactor/vdataset/0.18.18: @@ -3784,116 +3784,109 @@ packages: topojson-client: 3.1.0 dev: false - /@visactor/vgrammar-coordinate/0.15.2-vstory.2: - resolution: {integrity: sha512-phVtkBEBsr5su5kIiFINXBMDl2XgcLWKEu9m3cihu32YJoiHqGlZTGqrCzgYY46bbj/MubmU06FB2xAGWxDhXg==} + /@visactor/vgrammar-coordinate/0.15.1-vstory.3: + resolution: {integrity: sha512-VLBaOytdBLBfvXZRewWme+AYMKNOpOrri/citrf5oHhSf3/z3raMkpzYh1nNCaSu2jty9Yz1Ax9jNaIDQOTVqA==} dependencies: - '@visactor/vgrammar-util': 0.15.2-vstory.2 + '@visactor/vgrammar-util': 0.15.1-vstory.3 '@visactor/vutils': 0.19.2 dev: false - /@visactor/vgrammar-core/0.15.2-vstory.2: - resolution: {integrity: sha512-FYrlvdkdGrCgCIpwzULx3YcxJl1yxUQWNcSWWdbDVPf4WYUNYw7y9LvDRAVbTn20+1aFH30aEuJMxldSDmZUaw==} + /@visactor/vgrammar-core/0.15.1-vstory.3: + resolution: {integrity: sha512-7NLbQFEbgGILg4xi1htOyQXoImkdfMcFsv47RvXeYK1YBa3+3gG3FMHi8ppS49uNpQxj3rVdTORTmG7LA1e3YQ==} dependencies: '@visactor/vdataset': 0.19.2 - '@visactor/vgrammar-coordinate': 0.15.2-vstory.2 - '@visactor/vgrammar-util': 0.15.2-vstory.2 - '@visactor/vrender-components': 0.21.5-vstory.2 - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vgrammar-coordinate': 0.15.1-vstory.3 + '@visactor/vgrammar-util': 0.15.1-vstory.3 + '@visactor/vrender-components': 0.21.2-vstory.3 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 '@visactor/vscale': 0.19.2 '@visactor/vutils': 0.19.2 dev: false - /@visactor/vgrammar-hierarchy/0.15.2-vstory.2: - resolution: {integrity: sha512-dYsJhq5+ZbcjkH9u37qdfNlByjgDEHxqPuK1ix4ChszC66MfZonT/hPBEUn/ayRuYZkoUeI6KJ93Rp8uyaWlDw==} + /@visactor/vgrammar-hierarchy/0.15.1-vstory.3: + resolution: {integrity: sha512-X59lGl3kedC4gjIOsyLaJggpkQcNmyRqTSnOmZJYsdzKYU8tHbEYE9q9fXT00+McI2K0pM7L4Fy/XuyeU1XmGQ==} dependencies: - '@visactor/vgrammar-core': 0.15.2-vstory.2 - '@visactor/vgrammar-util': 0.15.2-vstory.2 - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vgrammar-core': 0.15.1-vstory.3 + '@visactor/vgrammar-util': 0.15.1-vstory.3 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 '@visactor/vutils': 0.19.2 dev: false - /@visactor/vgrammar-projection/0.15.2-vstory.2: - resolution: {integrity: sha512-F8213dlFapGY8/rhGfGzHGRFrxlPuWYVGKx06rHNlJG+tD2Kf7WlVMGDbkEzFsKIDT+vpFko84HmSsjldnq04Q==} + /@visactor/vgrammar-projection/0.15.1-vstory.3: + resolution: {integrity: sha512-LxJMb2Ak7Ev1w3FNI/yQzbacrmkfx8oiv2K+EaWrFgn+/IXiZRZ1g8FTR0LL4PL/1b2KoBZIDbRg/9w042MYGQ==} dependencies: - '@visactor/vgrammar-core': 0.15.2-vstory.2 - '@visactor/vgrammar-util': 0.15.2-vstory.2 + '@visactor/vgrammar-core': 0.15.1-vstory.3 + '@visactor/vgrammar-util': 0.15.1-vstory.3 '@visactor/vutils': 0.19.2 d3-geo: 1.12.1 dev: false - /@visactor/vgrammar-sankey/0.15.2-vstory.2: - resolution: {integrity: sha512-CHd27lZuhHnKPlRMZdONH2o6/y/5e8OqPqPrKs+I9XKrCCWrIX1VU6HyGRFHKg6+YEVkm0/Qyk2CvEvNEdvDhw==} + /@visactor/vgrammar-sankey/0.15.1-vstory.3: + resolution: {integrity: sha512-Yfm9jK1xApxduWKE/Y1Pn1Yj64NPuOuq5gCk/dMq+xej83TH+H3nzXqpbspQoUz2+e8SHvwS62Uqf5l+I1mq7Q==} dependencies: - '@visactor/vgrammar-core': 0.15.2-vstory.2 - '@visactor/vgrammar-util': 0.15.2-vstory.2 - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vgrammar-core': 0.15.1-vstory.3 + '@visactor/vgrammar-util': 0.15.1-vstory.3 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 '@visactor/vutils': 0.19.2 dev: false - /@visactor/vgrammar-util/0.15.2-vstory.2: - resolution: {integrity: sha512-DVgHGT2qY9ryjmDBLH5baXXkcRu1BItdvRWTHNXo2QjWHMdi2qWnSWdhsSTu68oRCCTS34hDyphuTLlgL32glA==} + /@visactor/vgrammar-util/0.15.1-vstory.3: + resolution: {integrity: sha512-fods7zFVNiGZiQeTJO1uIuZQq2QHy9ea33b44r70u3SCjGtKWRinISZqrzazeb5YHWLE0+XXU4/1MGPSqKlMmg==} dependencies: - '@visactor/vrender-core': 0.21.5-vstory.2 + '@visactor/vrender-core': 0.21.2-vstory.3 '@visactor/vutils': 0.19.2 dev: false - /@visactor/vgrammar-venn/0.15.2-vstory.2: - resolution: {integrity: sha512-ODSa3KzTcK9OXX9ZShDlGeGsj+wmMAVjg2aNy2rEN7WJMkajysf+fI7q5/YfboQ22H1kF4/3aWZAUqQpyYhWUA==} + /@visactor/vgrammar-venn/0.15.1-vstory.3: + resolution: {integrity: sha512-6oHKsFt9XWc8XHRzAojvrO6y4TwNop6tgtEhZtlhbyZ2Flv47bIUl1CUqiBFQ36XSWY6nt4Z23ufN8l38buptg==} dependencies: - '@visactor/vgrammar-core': 0.15.2-vstory.2 - '@visactor/vgrammar-util': 0.15.2-vstory.2 - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vgrammar-core': 0.15.1-vstory.3 + '@visactor/vgrammar-util': 0.15.1-vstory.3 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 '@visactor/vutils': 0.19.2 dev: false - /@visactor/vgrammar-wordcloud-shape/0.15.2-vstory.2: - resolution: {integrity: sha512-wr2G9sL9aVJuTWthS1VDmALscGoiBJTibJ/AVdZVTbSw25ZaIFUb9Ey8Df/i4BRJp7f8Aa08d1K4lRBozezxbw==} + /@visactor/vgrammar-wordcloud-shape/0.15.1-vstory.3: + resolution: {integrity: sha512-b8cignTZN10WxiRH3zlucZjOOzN8mYSqTJm2WCBsmVF++qIgFYYr6sSAdyNILxdC8F2hiIwUHC0SJ3+vGE344Q==} dependencies: - '@visactor/vgrammar-core': 0.15.2-vstory.2 - '@visactor/vgrammar-util': 0.15.2-vstory.2 - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vgrammar-core': 0.15.1-vstory.3 + '@visactor/vgrammar-util': 0.15.1-vstory.3 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 '@visactor/vscale': 0.19.2 '@visactor/vutils': 0.19.2 dev: false - /@visactor/vgrammar-wordcloud/0.15.2-vstory.2: - resolution: {integrity: sha512-fHLi8ziX7zHT1XBTWt0E3dg1ZVCs8oygKOwvPtYKvqk1LGS+MvrT82wkXpJxYe7YHc6D7lWlaVB5LnnTGRTykw==} + /@visactor/vgrammar-wordcloud/0.15.1-vstory.3: + resolution: {integrity: sha512-UVd0Hh65FTC3Yhy5Btp2lF1QfY6A+ehqf7NMQmcC3nu4ORcx2YoQJAeFYE+7BmUX9XCEAfKkS6mPKWRe9cFU5g==} dependencies: - '@visactor/vgrammar-core': 0.15.2-vstory.2 - '@visactor/vgrammar-util': 0.15.2-vstory.2 - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vgrammar-core': 0.15.1-vstory.3 + '@visactor/vgrammar-util': 0.15.1-vstory.3 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 '@visactor/vutils': 0.19.2 dev: false - /@visactor/vrender-components/0.21.0-alpha.2: - resolution: {integrity: sha512-1r85YiQvF8jsnNKE8Zr4xEhbf5BGDAo7TBwVWvpAwkCYDzv6vP7dzxX9+K6aoft8jgKJiIeP8T2xVvlUqHoEqw==} + /@visactor/vrender-components/0.21.2-alpha.2: + resolution: {integrity: sha512-aE6Nty/l/ucDzjGU75fcdNjmKW3hp43jQ+RFz9xoiGMq8wKTfKMm+G/k9Q0SspKukeH15rnGt0x+3dir8TlhnA==} dependencies: - '@visactor/vrender-core': 0.21.0-alpha.2 - '@visactor/vrender-kits': 0.21.0-alpha.2 - '@visactor/vscale': 0.18.18 - '@visactor/vutils': 0.18.18 - dev: false - - /@visactor/vrender-components/0.21.5-vstory.2: - resolution: {integrity: sha512-K//FVgG+ONqGNb/8cS7EJXfqGtqrS5D9EtKtKOZV4S2ALKcfx3WxAK3zhq11nClrSZSNG540mBcjynj5+yV8mA==} - dependencies: - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vrender-core': 0.21.2-alpha.2 + '@visactor/vrender-kits': 0.21.2-alpha.2 '@visactor/vscale': 0.19.2 '@visactor/vutils': 0.19.2 dev: false - /@visactor/vrender-core/0.21.0-alpha.2: - resolution: {integrity: sha512-rfgt+KajHSqtGNm2O/iZpNcX7AjgiQGF7coeGkZraN87l3nN2uGBFosI6E2kCJ4IURB7d2e7zAGdyoANQ/Hzeg==} + /@visactor/vrender-components/0.21.2-vstory.3: + resolution: {integrity: sha512-9tpEUsTedESg6h5XSAOFcmqxP/sMbkxIqPmWwZVJreoFxUp+qjMSuUMCSpd1Bvdc3+LiMmI5hR+JTK0jpzDCdg==} dependencies: - '@visactor/vutils': 0.18.18 - color-convert: 2.0.1 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 + '@visactor/vscale': 0.19.2 + '@visactor/vutils': 0.19.2 dev: false /@visactor/vrender-core/0.21.0-vstory.2: @@ -3903,20 +3896,18 @@ packages: color-convert: 2.0.1 dev: false - /@visactor/vrender-core/0.21.5-vstory.2: - resolution: {integrity: sha512-yGnXIQ0PSKHH9yVTCFztmaqoJVlfFBNAzdwv/JyxhFZNM3sZxJaiUK4z0aCbRyrGqoqyM9ucQTR4rtS+B8o9Bg==} + /@visactor/vrender-core/0.21.2-alpha.2: + resolution: {integrity: sha512-OUAnFz/VCinciF03hy30kQeI6U3avVr9tG+atx+C/z+irHlYQmZfbegCfA8rIbe3sD7Xows0kAOvSE/pZXdHLA==} dependencies: '@visactor/vutils': 0.19.2 color-convert: 2.0.1 dev: false - /@visactor/vrender-kits/0.21.0-alpha.2: - resolution: {integrity: sha512-P+tAv1oPIWydCPdGvT+02XgemOLKbZ97OztjHQyN5H4ykzw9uCYBmrCDsWrkMaAoYYzjnp3D0u/XFhY5viH1HQ==} + /@visactor/vrender-core/0.21.2-vstory.3: + resolution: {integrity: sha512-YMR/fExUZgr6/E7e0V9OzvoJVd9A6rfQLtcoXI1QL8SfO19+lR9tRpRq20qQoRgfV5A+rxel/dPEHrvxclq49g==} dependencies: - '@resvg/resvg-js': 2.4.1 - '@visactor/vrender-core': 0.21.0-alpha.2 - '@visactor/vutils': 0.18.18 - roughjs: 4.5.2 + '@visactor/vutils': 0.19.2 + color-convert: 2.0.1 dev: false /@visactor/vrender-kits/0.21.0-vstory.2: @@ -3929,21 +3920,30 @@ packages: roughjs: 4.5.2 dev: false - /@visactor/vrender-kits/0.21.5-vstory.2: - resolution: {integrity: sha512-XCXCoZfare49zEqlReN1iaHFFc0VRErQTCkSezAmB/mQ+TFE9y5BJJWAj390n4K74yjIG7j/5403wjaK3CdLGw==} + /@visactor/vrender-kits/0.21.2-alpha.2: + resolution: {integrity: sha512-Hy6ULajpmd8mgMAa8Yl7SS/6YruSzI5++/Y3gWwFTh0tM0U3uo99/Ii6MLQ+iolyuRb24TYmbQE4KRYmmoZ03w==} + dependencies: + '@resvg/resvg-js': 2.4.1 + '@visactor/vrender-core': 0.21.2-alpha.2 + '@visactor/vutils': 0.19.2 + roughjs: 4.5.2 + dev: false + + /@visactor/vrender-kits/0.21.2-vstory.3: + resolution: {integrity: sha512-mWYClwyIWOMzMLJFVNJrKrks5fr3yeNrNEF0twRyOaDtHRxKsJBSyeshum2MZJd3YA0fFiYvTEX6BscfthRhAg==} dependencies: '@resvg/resvg-js': 2.4.1 - '@visactor/vrender-core': 0.21.5-vstory.2 + '@visactor/vrender-core': 0.21.2-vstory.3 '@visactor/vutils': 0.19.2 lottie-web: 5.12.2 roughjs: 4.5.2 dev: false - /@visactor/vrender/0.21.5-vstory.2: - resolution: {integrity: sha512-im3v/OjS1M6klG8mDemIyjt6JpxvX8Gkj2/aHVo/Hsrohy7v1h4AzA4GR5IxIRlYyX7rpmmIVBQFUBFXKikGOw==} + /@visactor/vrender/0.21.2-vstory.3: + resolution: {integrity: sha512-my+sLFDzBFGojPrgvktjunNEzqfZXsQEwlx+Srn5d7CLjQbrpB46JTwOu56I1ORKGe314hrsynbfGAuWyM0lCg==} dependencies: - '@visactor/vrender-core': 0.21.5-vstory.2 - '@visactor/vrender-kits': 0.21.5-vstory.2 + '@visactor/vrender-core': 0.21.2-vstory.3 + '@visactor/vrender-kits': 0.21.2-vstory.3 dev: false /@visactor/vscale/0.18.18: @@ -3958,22 +3958,23 @@ packages: '@visactor/vutils': 0.19.2 dev: false - /@visactor/vtable-editors/1.10.1: - resolution: {integrity: sha512-iZ3iAmqJz6lYQgeHi5qThvnZJZEDtNTMQw93SxxMxBy6Xhz3KNGQMswKMMcdb7czs+48OB7SnDl4tXoq6foZOw==} + /@visactor/vtable-editors/1.14.1: + resolution: {integrity: sha512-DAq2fHIdXt3UxCW1n+I/bmguUb3u2qi79OjytPGYQe5n2c55+gVNnQld1S+x71S+3buzquHTS4GmasCaAE0cbw==} dev: false - /@visactor/vtable/1.10.1: - resolution: {integrity: sha512-UHxyIIp28zpxQKMpqitAYadHDksjSayH5m4TKuYo9H3V0UmN6csp8OPS5J0vexfiKDu4YhAIZPcfFsWq5ZD7OA==} + /@visactor/vtable/1.14.1: + resolution: {integrity: sha512-wVwfq2lk7mRBrFH8fXUP+dosBiX80KGQnot+i4ry3diy+MAeYl5uZNvndaKpSIPBW+qTjNCIc532hIXmZf37dg==} dependencies: '@visactor/vdataset': 0.18.18 - '@visactor/vrender-components': 0.21.0-alpha.2 - '@visactor/vrender-core': 0.21.0-alpha.2 - '@visactor/vrender-kits': 0.21.0-alpha.2 + '@visactor/vrender-components': 0.21.2-alpha.2 + '@visactor/vrender-core': 0.21.2-alpha.2 + '@visactor/vrender-kits': 0.21.2-alpha.2 '@visactor/vscale': 0.18.18 - '@visactor/vtable-editors': 1.10.1 + '@visactor/vtable-editors': 1.14.1 '@visactor/vutils': 0.18.18 '@visactor/vutils-extension': 1.11.14 cssfontparser: 1.2.1 + gifuct-js: 2.1.2 dev: false /@visactor/vutils-extension/1.11.14: @@ -3983,8 +3984,8 @@ packages: '@visactor/vutils': 0.18.18 dev: false - /@visactor/vutils-extension/1.13.2-vstory.2: - resolution: {integrity: sha512-V+U6DkVkQBmNqE52XoDrZE/9mc3nvxG4f+04volhCSZ/trLYl0baf+qYE/0ejXcLOuEZYu0BZk2snAfMPzhb3Q==} + /@visactor/vutils-extension/1.13.1-vstory.3: + resolution: {integrity: sha512-+sNToW0zqMyrQRsd7CDWSc4uuDXk86z8VOdI4UfsCxxCFJhuK4oBN+dkzZ8o71MIi36uLSRjnQzk0UrW3qo7xA==} dependencies: '@visactor/vdataset': 0.19.2 '@visactor/vutils': 0.19.2 @@ -7060,6 +7061,12 @@ packages: assert-plus: 1.0.0 dev: true + /gifuct-js/2.1.2: + resolution: {integrity: sha512-rI2asw77u0mGgwhV3qA+OEgYqaDn5UNqgs+Bx0FGwSpuqfYn+Ir6RQY5ENNQ8SbIiG/m5gVa7CD5RriO4f4Lsg==} + dependencies: + js-binary-schema-parser: 2.0.3 + dev: false + /glob-parent/3.1.0: resolution: {integrity: sha512-E8Ak/2+dZY6fnzlR7+ueWvhsH1SjHr4jjss4YS/h4py44jY9MhK/VFdaZJAWDz6BbL21KeteKxFSFpq8OS5gVA==} dependencies: @@ -9058,6 +9065,10 @@ packages: - ts-node - utf-8-validate + /js-binary-schema-parser/2.0.3: + resolution: {integrity: sha512-xezGJmOb4lk/M1ZZLTR/jaBHQ4gG/lqQnJqdIv4721DMggsa1bDVlHXNeHYogaIEHD9vCRv0fcL4hMA+Coarkg==} + dev: false + /js-string-escape/1.0.1: resolution: {integrity: sha512-Smw4xcfIQ5LVjAOuJCvN/zIodzA/BBSsluuoSykP+lUvScIi4U6RJLfwHet5cxFnCswUjISV8oAXaqaJDY3chg==} engines: {node: '>= 0.8'} diff --git a/packages/vstory-animate/package.json b/packages/vstory-animate/package.json index 3230a1fb..8f99fcab 100644 --- a/packages/vstory-animate/package.json +++ b/packages/vstory-animate/package.json @@ -24,12 +24,12 @@ "test-watch": "DEBUG_MODE=1 jest --watch" }, "dependencies": { - "@visactor/vchart": "1.13.2-vstory.2", - "@visactor/vtable": "1.10.1", - "@visactor/vrender": "0.21.5-vstory.2", - "@visactor/vrender-core": "0.21.5-vstory.2", - "@visactor/vrender-kits": "0.21.5-vstory.2", - "@visactor/vrender-components": "0.21.5-vstory.2", + "@visactor/vchart": "1.13.1-vstory.3", + "@visactor/vtable": "1.14.1", + "@visactor/vrender": "0.21.2-vstory.3", + "@visactor/vrender-core": "0.21.2-vstory.3", + "@visactor/vrender-kits": "0.21.2-vstory.3", + "@visactor/vrender-components": "0.21.2-vstory.3", "@visactor/vutils": "~0.18.17", "@visactor/vchart-extension": "0.0.3-vstory.2", "@visactor/vdataset": "~0.18.17", diff --git a/packages/vstory-core/package.json b/packages/vstory-core/package.json index 73903daa..b9349cfc 100644 --- a/packages/vstory-core/package.json +++ b/packages/vstory-core/package.json @@ -24,12 +24,12 @@ "test-watch": "DEBUG_MODE=1 jest --watch" }, "dependencies": { - "@visactor/vchart": "1.13.2-vstory.2", - "@visactor/vtable": "1.10.1", - "@visactor/vrender": "0.21.5-vstory.2", - "@visactor/vrender-core": "0.21.5-vstory.2", - "@visactor/vrender-kits": "0.21.5-vstory.2", - "@visactor/vrender-components": "0.21.5-vstory.2", + "@visactor/vchart": "1.13.1-vstory.3", + "@visactor/vtable": "1.14.1", + "@visactor/vrender": "0.21.2-vstory.3", + "@visactor/vrender-core": "0.21.2-vstory.3", + "@visactor/vrender-kits": "0.21.2-vstory.3", + "@visactor/vrender-components": "0.21.2-vstory.3", "@visactor/vutils": "~0.18.17", "@visactor/vchart-extension": "0.0.3-vstory.2", "@visactor/vdataset": "~0.18.17", diff --git a/packages/vstory-core/src/character/table/graphic/vtable-graphic-render.ts b/packages/vstory-core/src/character/table/graphic/vtable-graphic-render.ts index 21446454..34fcff01 100644 --- a/packages/vstory-core/src/character/table/graphic/vtable-graphic-render.ts +++ b/packages/vstory-core/src/character/table/graphic/vtable-graphic-render.ts @@ -61,7 +61,8 @@ export class VTableRender extends DefaultCanvasRectRender implements IGraphicRen matrix.translate(table.vTableAutoTranslate.x, table.vTableAutoTranslate.y); const stageMatrix = table.stage.window.getViewBoxTransform().clone(); stageMatrix.multiply(matrix.a, matrix.b, matrix.c, matrix.d, matrix.e, matrix.f); - vTableStage.window.setViewBoxTransform( + // vTableStage.setViewBox(); + vTable.setViewBoxTransform( stageMatrix.a, stageMatrix.b, stageMatrix.c, diff --git a/packages/vstory-core/src/character/table/runtime/common-spec.ts b/packages/vstory-core/src/character/table/runtime/common-spec.ts index 0f3cfdb6..b3610df9 100644 --- a/packages/vstory-core/src/character/table/runtime/common-spec.ts +++ b/packages/vstory-core/src/character/table/runtime/common-spec.ts @@ -19,10 +19,10 @@ export class CommonSpecRuntime implements ITableCharacterRuntime { // spec.hover = spec.hover ?? {}; // // spec.select.disableSelect = true; // // spec.hover.disableHover = true; - spec.columnResizeMode = 'none'; - spec.rowResizeMode = 'none'; + // spec.columnResizeMode = 'none'; + // spec.rowResizeMode = 'none'; /** 控制拖拽表头移动位置顺序开关 */ - spec.dragHeaderMode = 'none'; + // spec.dragHeaderMode = 'none'; spec.chartOption = { // disableInteraction: true, diff --git a/packages/vstory-editor/package.json b/packages/vstory-editor/package.json index 682b984a..4a631ebe 100644 --- a/packages/vstory-editor/package.json +++ b/packages/vstory-editor/package.json @@ -24,12 +24,12 @@ "test-watch": "DEBUG_MODE=1 jest --watch" }, "dependencies": { - "@visactor/vchart": "1.13.2-vstory.2", - "@visactor/vtable": "1.10.1", - "@visactor/vrender": "0.21.5-vstory.2", - "@visactor/vrender-core": "0.21.5-vstory.2", - "@visactor/vrender-kits": "0.21.5-vstory.2", - "@visactor/vrender-components": "0.21.5-vstory.2", + "@visactor/vchart": "1.13.1-vstory.3", + "@visactor/vtable": "1.14.1", + "@visactor/vrender": "0.21.2-vstory.3", + "@visactor/vrender-core": "0.21.2-vstory.3", + "@visactor/vrender-kits": "0.21.2-vstory.3", + "@visactor/vrender-components": "0.21.2-vstory.3", "@visactor/vutils": "~0.18.17", "@visactor/vchart-extension": "0.0.3-vstory.2", "@visactor/vdataset": "~0.18.17", diff --git a/packages/vstory-external/package.json b/packages/vstory-external/package.json index dea54c78..69d7ccaa 100644 --- a/packages/vstory-external/package.json +++ b/packages/vstory-external/package.json @@ -24,12 +24,12 @@ "test-watch": "DEBUG_MODE=1 jest --watch" }, "dependencies": { - "@visactor/vchart": "1.13.2-vstory.2", - "@visactor/vtable": "1.10.1", - "@visactor/vrender": "0.21.5-vstory.2", - "@visactor/vrender-core": "0.21.5-vstory.2", - "@visactor/vrender-kits": "0.21.5-vstory.2", - "@visactor/vrender-components": "0.21.5-vstory.2", + "@visactor/vchart": "1.13.1-vstory.3", + "@visactor/vtable": "1.14.1", + "@visactor/vrender": "0.21.2-vstory.3", + "@visactor/vrender-core": "0.21.2-vstory.3", + "@visactor/vrender-kits": "0.21.2-vstory.3", + "@visactor/vrender-components": "0.21.2-vstory.3", "@visactor/vutils": "~0.18.17", "@visactor/vchart-extension": "0.0.3-vstory.2", "@visactor/vdataset": "~0.18.17", diff --git a/packages/vstory-player/package.json b/packages/vstory-player/package.json index e1946b0e..84f8bde5 100644 --- a/packages/vstory-player/package.json +++ b/packages/vstory-player/package.json @@ -24,12 +24,12 @@ "test-watch": "DEBUG_MODE=1 jest --watch" }, "dependencies": { - "@visactor/vchart": "1.13.2-vstory.2", - "@visactor/vtable": "1.10.1", - "@visactor/vrender": "0.21.5-vstory.2", - "@visactor/vrender-core": "0.21.5-vstory.2", - "@visactor/vrender-kits": "0.21.5-vstory.2", - "@visactor/vrender-components": "0.21.5-vstory.2", + "@visactor/vchart": "1.13.1-vstory.3", + "@visactor/vtable": "1.14.1", + "@visactor/vrender": "0.21.2-vstory.3", + "@visactor/vrender-core": "0.21.2-vstory.3", + "@visactor/vrender-kits": "0.21.2-vstory.3", + "@visactor/vrender-components": "0.21.2-vstory.3", "@visactor/vutils": "~0.18.17", "@visactor/vchart-extension": "0.0.3-vstory.2", "@visactor/vdataset": "~0.18.17", diff --git a/packages/vstory-templates/package.json b/packages/vstory-templates/package.json index 47bd6a5a..e40c98be 100644 --- a/packages/vstory-templates/package.json +++ b/packages/vstory-templates/package.json @@ -24,12 +24,12 @@ "test-watch": "DEBUG_MODE=1 jest --watch" }, "dependencies": { - "@visactor/vchart": "1.13.2-vstory.2", - "@visactor/vtable": "1.10.1", - "@visactor/vrender": "0.21.5-vstory.2", - "@visactor/vrender-core": "0.21.5-vstory.2", - "@visactor/vrender-kits": "0.21.5-vstory.2", - "@visactor/vrender-components": "0.21.5-vstory.2", + "@visactor/vchart": "1.13.1-vstory.3", + "@visactor/vtable": "1.14.1", + "@visactor/vrender": "0.21.2-vstory.3", + "@visactor/vrender-core": "0.21.2-vstory.3", + "@visactor/vrender-kits": "0.21.2-vstory.3", + "@visactor/vrender-components": "0.21.2-vstory.3", "@visactor/vutils": "~0.18.17", "@visactor/vchart-extension": "0.0.3-vstory.2", "@visactor/vdataset": "~0.18.17", diff --git a/packages/vstory/demo/src/demos/table/base.tsx b/packages/vstory/demo/src/demos/table/base.tsx index 32e78224..21462c35 100644 --- a/packages/vstory/demo/src/demos/table/base.tsx +++ b/packages/vstory/demo/src/demos/table/base.tsx @@ -64,7 +64,7 @@ function loadDSL() { zIndex: 10, position: { top: 20, - left: 560, + left: 540, width: 600, height: 630 }, diff --git a/packages/vstory/demo/src/demos/table/option-list-table.ts b/packages/vstory/demo/src/demos/table/option-list-table.ts index 783c0d70..56bd8bb8 100644 --- a/packages/vstory/demo/src/demos/table/option-list-table.ts +++ b/packages/vstory/demo/src/demos/table/option-list-table.ts @@ -1,3 +1,50 @@ +const columns = [ + { + field: 'group', + title: 'department', + width: 'auto', + tree: true, + fieldFormat(rec) { + return rec['department'] ?? rec['group'] ?? rec['name']; + } + }, + { + field: 'total_children', + title: 'memebers count', + width: 'auto', + fieldFormat(rec) { + if (rec?.['position']) { + return `position: ${rec['position']}`; + } else return rec?.['total_children']; + } + }, + { + field: 'monthly_expense', + title: 'monthly expense', + width: 'auto', + fieldFormat(rec) { + if (rec?.['salary']) { + return `salary: ${rec['salary']}`; + } else return rec?.['monthly_expense']; + } + }, + { + field: 'new_hires_this_month', + title: 'new hires this month', + width: 'auto' + }, + { + field: 'resignations_this_month', + title: 'resignations this month', + width: 'auto' + }, + { + field: 'complaints_and_suggestions', + title: 'recived complaints counts', + width: 'auto' + } +]; + export const listTableOption = { records: [ { @@ -423,38 +470,6 @@ export const listTableOption = { hierarchyState: 'collapse' } ], - columns: [ - { - field: 'group', - title: 'department', - width: 'auto', - tree: true - }, - { - field: 'total_children', - title: 'memebers count', - width: 'auto' - }, - { - field: 'monthly_expense', - title: 'monthly expense', - width: 'auto' - }, - { - field: 'new_hires_this_month', - title: 'new hires this month', - width: 'auto' - }, - { - field: 'resignations_this_month', - title: 'resignations this month', - width: 'auto' - }, - { - field: 'complaints_and_suggestions', - title: 'recived complaints counts', - width: 'auto' - } - ], + columns, widthMode: 'standard' };