-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ✨ enable users to set the page size of the pagination configura…
…tion and close #302 (#309) * style: 💄 cancel the splitLineRightShadow for the table mode * chore: 🏗️ optimize the file structure of issue-285-spec * feat: ✨ enable users to set the page size of the pagination configuration * chore: ✅ update the table test * chore: ✏️ fix the lint
- Loading branch information
1 parent
2742f36
commit e5e961e
Showing
10 changed files
with
130 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
packages/s2-core/__tests__/data/data-issue-285/data-col-header.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"fields": { | ||
"rows": ["month"], | ||
"columns": ["type"], | ||
"values": ["price"] | ||
}, | ||
"meta": [ | ||
{ | ||
"field": "month", | ||
"name": "订单日期" | ||
}, | ||
{ | ||
"field": "type", | ||
"name": "种类" | ||
}, | ||
{ | ||
"field": "price", | ||
"name": "价格" | ||
} | ||
], | ||
"data": [ | ||
{ | ||
"month": "2021-09", | ||
"price": 12, | ||
"type": "纸" | ||
} | ||
] | ||
} |
31 changes: 31 additions & 0 deletions
31
packages/s2-core/__tests__/data/data-issue-285/data-without-col-header.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"fields": { | ||
"rows": ["month"], | ||
"columns": [], | ||
"values": ["price", "number"] | ||
}, | ||
"meta": [ | ||
{ | ||
"field": "month", | ||
"name": "订单日期" | ||
}, | ||
{ | ||
"field": "number", | ||
"name": "数量" | ||
}, | ||
{ | ||
"field": "price", | ||
"name": "价格" | ||
} | ||
], | ||
"data": [ | ||
{ | ||
"month": "2021-09", | ||
"price": 12 | ||
}, | ||
{ | ||
"month": "2021-09", | ||
"number": 2 | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
packages/s2-core/__tests__/unit/dataset/table-dataset-spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.