Skip to content

Commit

Permalink
Merge pull request #224 from VisActor/release/0.10.0
Browse files Browse the repository at this point in the history
[Auto release] release 0.10.0
  • Loading branch information
fangsmile committed Aug 16, 2023
2 parents 5e68271 + 2cd7f61 commit aba9747
Show file tree
Hide file tree
Showing 348 changed files with 195,823 additions and 16,955 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bug-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches: ['main']
pull_request:
branches: ['main', 'develop']
branches: ['main', 'develop', 'feat/pivot_chart']

jobs:
build:
Expand Down
60 changes: 42 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<div align="center">
<a href="" target="_blank">
<img alt="VisActor Logo" width="200" src="https://github.com/VisActor/.github/blob/main/profile/500_200.svg"/>
<a href="https://github.com/VisActor#gh-light-mode-only" target="_blank">
<img alt="VisActor Logo" width="200" src="https://github.com/VisActor/.github/blob/main/profile/logo_500_200_light.svg"/>
</a>
<a href="https://github.com/VisActor#gh-dark-mode-only" target="_blank">
<img alt="VisActor Logo" width="200" src="https://github.com/VisActor/.github/blob/main/profile/logo_500_200_dark.svg"/>
</a>
</div>

Expand Down Expand Up @@ -41,7 +44,7 @@ English| [简体中文](./README.zh-CN.md)

# Introduction

VTable is based on visual rendering engine [VRender](https://github.com/VisActor/VRender).
VTable is based on visual rendering engine [VRender](https://github.com/VisActor/VRender).

The core capabilities are as follows:

Expand Down Expand Up @@ -73,27 +76,28 @@ yarn add @visactor/vtable
## Quick Start

```javascript
// this demo you can run on codesanbox https://codesandbox.io/s/vtable-simple-demo-g8q738
import * as VTable from '@visactor/vtable';

const columns =[
{
"field": "230517143221027",
"field": "Order ID",
"caption": "Order ID",
},
{
"field": "230517143221030",
"field": "Customer ID",
"caption": "Customer ID",
},
{
"field": "230517143221032",
"field": "Product Name",
"caption": "Product Name",
},
{
"field": "230517143221040",
"field": "Sales",
"caption": "Sales",
},
{
"field": "230517143221041",
"field": "Profit",
"caption": "Profit",
}
];
Expand All @@ -102,18 +106,18 @@ const option = {
parentElement: document.getElementById(CONTAINER_ID),
records:[
{
"230517143221027": "CA-2018-156720",
"230517143221030": "JM-15580",
"230517143221032": "Bagged Rubber Bands",
"230517143221040": "3.024",
"230517143221041": "-0.605"
"Order ID": "CA-2018-156720",
"Customer ID": "JM-15580",
"Product Name": "Bagged Rubber Bands",
"Sales": "3.024",
"Profit": "-0.605"
},
{
"230517143221027": "CA-2018-115427",
"230517143221030": "EB-13975",
"230517143221032": "GBC Binding covers",
"230517143221040": "20.72",
"230517143221041": "6.475"
"Order ID": "CA-2018-115427",
"Customer ID": "EB-13975",
"Product Name": "GBC Binding covers",
"Sales": "20.72",
"Profit": "6.475"
},
// ...
],
Expand All @@ -127,6 +131,26 @@ const tableInstance = new VTable.ListTable(option);

[More demos and detailed tutorials](https://visactor.io/vtable)

## ⌨️ Development

First of all, please install [@microsoft/rush](https://rushjs.io/pages/intro/get_started/)

```bash
$ npm i --global @microsoft/rush
```

Then clone locally:

```bash
# clone
$ git clone [email protected]:VisActor/VTable.git
$ cd VTable
# install dependencies
$ rush update
# start vtable demo
$ cd packages/vtable
$ rushx demo
```
# Related Links

- [Official website](https://visactor.io/vtable)
Expand Down
57 changes: 40 additions & 17 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<div align="center">
<a href="" target="_blank">
<img alt="VisActor Logo" width="200" src="https://github.com/VisActor/.github/blob/main/profile/500_200.svg"/>
<a href="https://github.com/VisActor#gh-light-mode-only" target="_blank">
<img alt="VisActor Logo" width="200" src="https://github.com/VisActor/.github/blob/main/profile/logo_500_200_light.svg"/>
</a>
<a href="https://github.com/VisActor#gh-dark-mode-only" target="_blank">
<img alt="VisActor Logo" width="200" src="https://github.com/VisActor/.github/blob/main/profile/logo_500_200_dark.svg"/>
</a>
</div>

Expand Down Expand Up @@ -71,27 +74,28 @@ yarn add @visactor/vtable
## 快速上手

```javascript
// this demo you can run on codesanbox https://codesandbox.io/s/vtable-simple-demo-g8q738
import * as VTable from '@visactor/vtable';

const columns =[
{
"field": "230517143221027",
"field": "Order ID",
"caption": "Order ID",
},
{
"field": "230517143221030",
"field": "Customer ID",
"caption": "Customer ID",
},
{
"field": "230517143221032",
"field": "Product Name",
"caption": "Product Name",
},
{
"field": "230517143221040",
"field": "Sales",
"caption": "Sales",
},
{
"field": "230517143221041",
"field": "Profit",
"caption": "Profit",
}
];
Expand All @@ -100,18 +104,18 @@ const option = {
parentElement: document.getElementById(CONTAINER_ID),
records:[
{
"230517143221027": "CA-2018-156720",
"230517143221030": "JM-15580",
"230517143221032": "Bagged Rubber Bands",
"230517143221040": "3.024",
"230517143221041": "-0.605"
"Order ID": "CA-2018-156720",
"Customer ID": "JM-15580",
"Product Name": "Bagged Rubber Bands",
"Sales": "3.024",
"Profit": "-0.605"
},
{
"230517143221027": "CA-2018-115427",
"230517143221030": "EB-13975",
"230517143221032": "GBC Binding covers",
"230517143221040": "20.72",
"230517143221041": "6.475"
"Order ID": "CA-2018-115427",
"Customer ID": "EB-13975",
"Product Name": "GBC Binding covers",
"Sales": "20.72",
"Profit": "6.475"
},
// ...
],
Expand All @@ -124,7 +128,26 @@ const tableInstance = new VTable.ListTable(option);
##

[更多 demo 和详细教程](https://visactor.io/vtable)
## ⌨️ 开发

首先,全局安装 [@microsoft/rush](https://rushjs.io/pages/intro/get_started/)

```bash
$ npm i --global @microsoft/rush
```

接着将代码 clone 至本地:

```bash
# clone
$ git clone [email protected]:VisActor/VTable.git
$ cd VTable
# install dependencies
$ rush update
# start vtable demo
$ cd packages/vtable
$ rushx demo
```
# 相关链接

- [官网](https://visactor.io/vtable)
Expand Down
6 changes: 3 additions & 3 deletions common/config/rush/pnpm-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@
*
* PNPM documentation: https://pnpm.io/package_json#pnpmoverrides
*/
"globalOverrides": {
"@visactor/vrender": "0.11.0-alpha.3"
},
// "globalOverrides": {
// "@visactor/vrender": "0.12.3"
// },
/**
* The `globalPeerDependencyRules` setting provides various settings for suppressing validation errors
* that are reported during installation with `strictPeerDependencies=true`. The settings are copied
Expand Down
Loading

0 comments on commit aba9747

Please sign in to comment.