Skip to content

Commit

Permalink
feat(core): Table add Settings
Browse files Browse the repository at this point in the history
  • Loading branch information
vaynevayne committed Sep 4, 2023
1 parent 0d4a980 commit 127ecf3
Show file tree
Hide file tree
Showing 11 changed files with 39 additions and 11 deletions.
6 changes: 3 additions & 3 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"deploy": "pnpm build && touch ./storybook-static/.nojekyll && gh-pages -d ./storybook-static -t true"
},
"dependencies": {
"@soul/core": "workspace:0.0.19",
"@soul/core": "workspace:0.0.20",
"mockjs": "^1.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@soul/tsconfig": "workspace:0.0.18",
"@soul/tsconfig": "workspace:0.0.19",
"@storybook/addon-essentials": "^7.0.12",
"@storybook/addon-interactions": "^7.0.12",
"@storybook/addon-links": "^7.0.12",
Expand All @@ -26,7 +26,7 @@
"@storybook/testing-library": "^0.0.14-next.2",
"@types/react": "^18.2.7",
"@vitejs/plugin-react": "^1.3.2",
"eslint-config-soul": "workspace:0.0.18",
"eslint-config-soul": "workspace:0.0.19",
"eslint-plugin-storybook": "^0.6.12",
"prop-types": "^15.8.1",
"serve": "^13.0.4",
Expand Down
6 changes: 6 additions & 0 deletions packages/eslint-config-soul/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# eslint-config-soul

## 0.0.19

### Patch Changes

- dada

## 0.0.18

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-soul/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-soul",
"version": "0.0.18",
"version": "0.0.19",
"main": "index.js",
"license": "MIT",
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions packages/soul-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @soul/core

## 0.0.20

### Patch Changes

- dada
- Updated dependencies
- @soul/utils@0.0.20

## 0.0.19

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/soul-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@soul/core",
"version": "0.0.19",
"version": "0.0.20",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
4 changes: 3 additions & 1 deletion packages/soul-core/src/Table/asyncExportTableData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ function exportExcel(Excel, tableColumns, tableData, lines, fileName) {
// horizontal: column.oldType === "string" ? "left" : "right",
},
numFmt:
formatMap[columnMftMap.get(column.dataIndex.toString())] || "General",
column.numFmt ||
formatMap[columnMftMap.get(column.dataIndex.toString())] ||
"General",
},
}
})
Expand Down
6 changes: 6 additions & 0 deletions packages/soul-tsconfig/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @soul/tsconfig

## 0.0.19

### Patch Changes

- dada

## 0.0.18

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/soul-tsconfig/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@soul/tsconfig",
"version": "0.0.18",
"version": "0.0.19",
"private": true,
"license": "MIT",
"publishConfig": {
Expand Down
6 changes: 6 additions & 0 deletions packages/soul-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @soul/utils

## 0.0.20

### Patch Changes

- dada

## 0.0.19

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/soul-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@soul/utils",
"version": "0.0.19",
"version": "0.0.20",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

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

0 comments on commit 127ecf3

Please sign in to comment.