Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/vtable-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
"@visactor/vtable": "workspace:*",
"@visactor/vutils": "~0.17.1",
"file-saver": "2.0.5",
"exceljs": "4.4.0",
"@visactor/vrender": "0.17.8"
"exceljs": "4.4.0"
},
"devDependencies": {
"@visactor/vchart": "1.7.3",
Expand Down
3 changes: 1 addition & 2 deletions packages/vtable-export/src/excel/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { graphicUtil } from '@visactor/vrender';
import ExcelJS from 'exceljs';
import { encodeCellAddress } from '../util/encode';
import type { CellType, IVTable } from '../util/type';
import { getCellAlignment, getCellBorder, getCellFill, getCellFont } from './style';
import { updateCell, renderChart } from '@visactor/vtable';
import { updateCell, renderChart, graphicUtil } from '@visactor/vtable';
import { isArray } from '@visactor/vutils';

export async function exportVTableToExcel(tableInstance: IVTable) {
Expand Down
5 changes: 4 additions & 1 deletion packages/vtable/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/* eslint-disable sort-imports */
import { graphicUtil } from '@visactor/vrender';

import * as TYPES from './ts-types';
import * as core from './core';
import * as data from './data';
Expand Down Expand Up @@ -88,7 +90,8 @@ export {
DataStatistics,
CustomLayout,
updateCell,
renderChart
renderChart,
graphicUtil
};

/** @private */
Expand Down