vxe-gantt 4.3.16 → 4.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.en.md +74 -74
- package/README.ja-JP.md +74 -74
- package/README.md +121 -121
- package/README.zh-TW.md +75 -75
- package/es/gantt/src/gantt-view.js +204 -200
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/gantt/src/gantt-view.js +229 -225
- package/lib/gantt/src/gantt-view.min.js +1 -1
- package/lib/index.umd.js +289 -285
- package/lib/index.umd.min.js +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +88 -88
- package/packages/components.ts +22 -22
- package/packages/gantt/index.ts +21 -21
- package/packages/gantt/src/emits.ts +25 -25
- package/packages/gantt/src/gantt-body.ts +291 -291
- package/packages/gantt/src/gantt-chart.ts +495 -495
- package/packages/gantt/src/gantt-footer.ts +51 -51
- package/packages/gantt/src/gantt-header.ts +137 -137
- package/packages/gantt/src/gantt-view.ts +1837 -1833
- package/packages/gantt/src/gantt.ts +2633 -2633
- package/packages/gantt/src/grid-emits.ts +19 -19
- package/packages/gantt/src/static.ts +35 -35
- package/packages/gantt/src/table-emits.ts +123 -123
- package/packages/gantt/src/util.ts +57 -57
- package/packages/index.ts +4 -4
- package/packages/ui/index.ts +119 -119
- package/packages/ui/src/comp.ts +3 -3
- package/packages/ui/src/depend.ts +14 -14
- package/packages/ui/src/dom.ts +196 -196
- package/packages/ui/src/log.ts +8 -8
- package/packages/ui/src/utils.ts +62 -62
- package/packages/ui/src/vn.ts +9 -9
- package/styles/all.scss +3 -3
- package/styles/base.scss +2 -2
- package/styles/components/gantt-module/gantt-chart.scss +261 -261
- package/styles/components/gantt.scss +707 -707
- package/styles/helpers/baseMixin.scss +95 -95
- package/styles/helpers/baseVar.scss +3 -3
- package/styles/helpers/placement.scss +38 -38
- package/styles/theme/base.scss +14 -14
- package/styles/theme/dark.scss +8 -8
- package/styles/theme/light.scss +8 -8
- package/types/all.d.ts +16 -16
- package/types/index.d.ts +4 -4
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 xuliangzhan
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 xuliangzhan
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.en.md
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
# vxe-gantt
|
|
2
|
-
|
|
3
|
-
[简体中文](README.md) | [繁體中文](README.zh-TW.md) | English | [日本語](README.ja-JP.md)
|
|
4
|
-
|
|
5
|
-
[](https://github.com/x-extends/vxe-gantt/stargazers)
|
|
6
|
-
[](https://gitee.com/x-extends/vxe-gantt/stargazers)
|
|
7
|
-
[](https://gitcode.com/x-extends/vxe-gantt/stargazers)
|
|
8
|
-
[](https://www.npmjs.com/package/vxe-gantt)
|
|
9
|
-
[](https://github.com/x-extends/vxe-gantt/actions/workflows/webpack.yml)
|
|
10
|
-
[](https://npm-stat.com/charts.html?package=vxe-gantt)
|
|
11
|
-
[](https://github.com/x-extends/vxe-gantt/issues)
|
|
12
|
-
[](https://github.com/x-extends/vxe-gantt/issues?q=is%3Aissue+is%3Aclosed)
|
|
13
|
-
[](https://github.com/x-extends/vxe-gantt/pulls)
|
|
14
|
-
[](https://github.com/x-extends/vxe-gantt/pulls?q=is%3Apr+is%3Aclosed)
|
|
15
|
-
[](LICENSE)
|
|
16
|
-
|
|
17
|
-
An enterprise-level Gantt chart component based on [Vxe UI](https://github.com/x-extends/vxe-pc-ui).
|
|
18
|
-
|
|
19
|
-
## Browser Support
|
|
20
|
-
|
|
21
|
-
 |  |  |  | 
|
|
22
|
-
--- | --- | --- | --- | --- |
|
|
23
|
-
80+ ✔ | 80+ ✔ | 90+ ✔ | 75+ ✔ | 10+ ✔ |
|
|
24
|
-
|
|
25
|
-
## Use
|
|
26
|
-
|
|
27
|
-
版本:[vue](https://www.npmjs.com/package/vue) 3.x
|
|
28
|
-
|
|
29
|
-
```shell
|
|
30
|
-
npm install vxe-gantt
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
Get on [unpkg](https://unpkg.com/vxe-gantt/) and [cdnjs](https://cdn.jsdelivr.net/npm/vxe-gantt/)
|
|
34
|
-
|
|
35
|
-
### NPM
|
|
36
|
-
|
|
37
|
-
```javascript
|
|
38
|
-
// ...
|
|
39
|
-
import VxeUIBase from 'vxe-pc-ui'
|
|
40
|
-
import 'vxe-pc-ui/lib/style.css'
|
|
41
|
-
|
|
42
|
-
import VxeUITable from 'vxe-table'
|
|
43
|
-
import 'vxe-table/lib/style.css'
|
|
44
|
-
|
|
45
|
-
import VxeUIGantt from 'vxe-gantt'
|
|
46
|
-
import 'vxe-gantt/lib/style.css'
|
|
47
|
-
// ...
|
|
48
|
-
|
|
49
|
-
createApp(App).use(VxeUIBase).use(VxeUITable).use(VxeUIGantt).mount('#app')
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
## Run the project
|
|
53
|
-
|
|
54
|
-
Install dependencies
|
|
55
|
-
|
|
56
|
-
```shell
|
|
57
|
-
npm install
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
Start local debugging
|
|
61
|
-
|
|
62
|
-
```shell
|
|
63
|
-
npm run serve
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
Compile packaging, generated compiled directory: es,lib
|
|
67
|
-
|
|
68
|
-
```shell
|
|
69
|
-
npm run lib
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
## License
|
|
73
|
-
|
|
74
|
-
[MIT](LICENSE) © 2025-present, Xu Liangzhan
|
|
1
|
+
# vxe-gantt
|
|
2
|
+
|
|
3
|
+
[简体中文](README.md) | [繁體中文](README.zh-TW.md) | English | [日本語](README.ja-JP.md)
|
|
4
|
+
|
|
5
|
+
[](https://github.com/x-extends/vxe-gantt/stargazers)
|
|
6
|
+
[](https://gitee.com/x-extends/vxe-gantt/stargazers)
|
|
7
|
+
[](https://gitcode.com/x-extends/vxe-gantt/stargazers)
|
|
8
|
+
[](https://www.npmjs.com/package/vxe-gantt)
|
|
9
|
+
[](https://github.com/x-extends/vxe-gantt/actions/workflows/webpack.yml)
|
|
10
|
+
[](https://npm-stat.com/charts.html?package=vxe-gantt)
|
|
11
|
+
[](https://github.com/x-extends/vxe-gantt/issues)
|
|
12
|
+
[](https://github.com/x-extends/vxe-gantt/issues?q=is%3Aissue+is%3Aclosed)
|
|
13
|
+
[](https://github.com/x-extends/vxe-gantt/pulls)
|
|
14
|
+
[](https://github.com/x-extends/vxe-gantt/pulls?q=is%3Apr+is%3Aclosed)
|
|
15
|
+
[](LICENSE)
|
|
16
|
+
|
|
17
|
+
An enterprise-level Gantt chart component based on [Vxe UI](https://github.com/x-extends/vxe-pc-ui).
|
|
18
|
+
|
|
19
|
+
## Browser Support
|
|
20
|
+
|
|
21
|
+
 |  |  |  | 
|
|
22
|
+
--- | --- | --- | --- | --- |
|
|
23
|
+
80+ ✔ | 80+ ✔ | 90+ ✔ | 75+ ✔ | 10+ ✔ |
|
|
24
|
+
|
|
25
|
+
## Use
|
|
26
|
+
|
|
27
|
+
版本:[vue](https://www.npmjs.com/package/vue) 3.x
|
|
28
|
+
|
|
29
|
+
```shell
|
|
30
|
+
npm install vxe-gantt
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Get on [unpkg](https://unpkg.com/vxe-gantt/) and [cdnjs](https://cdn.jsdelivr.net/npm/vxe-gantt/)
|
|
34
|
+
|
|
35
|
+
### NPM
|
|
36
|
+
|
|
37
|
+
```javascript
|
|
38
|
+
// ...
|
|
39
|
+
import VxeUIBase from 'vxe-pc-ui'
|
|
40
|
+
import 'vxe-pc-ui/lib/style.css'
|
|
41
|
+
|
|
42
|
+
import VxeUITable from 'vxe-table'
|
|
43
|
+
import 'vxe-table/lib/style.css'
|
|
44
|
+
|
|
45
|
+
import VxeUIGantt from 'vxe-gantt'
|
|
46
|
+
import 'vxe-gantt/lib/style.css'
|
|
47
|
+
// ...
|
|
48
|
+
|
|
49
|
+
createApp(App).use(VxeUIBase).use(VxeUITable).use(VxeUIGantt).mount('#app')
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Run the project
|
|
53
|
+
|
|
54
|
+
Install dependencies
|
|
55
|
+
|
|
56
|
+
```shell
|
|
57
|
+
npm install
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Start local debugging
|
|
61
|
+
|
|
62
|
+
```shell
|
|
63
|
+
npm run serve
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Compile packaging, generated compiled directory: es,lib
|
|
67
|
+
|
|
68
|
+
```shell
|
|
69
|
+
npm run lib
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## License
|
|
73
|
+
|
|
74
|
+
[MIT](LICENSE) © 2025-present, Xu Liangzhan
|
package/README.ja-JP.md
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
# vxe-gantt
|
|
2
|
-
|
|
3
|
-
[简体中文](README.md) | [繁體中文](README.zh-TW.md) | [English](README.en.md) | 日本語
|
|
4
|
-
|
|
5
|
-
[](https://github.com/x-extends/vxe-gantt/stargazers)
|
|
6
|
-
[](https://gitee.com/x-extends/vxe-gantt/stargazers)
|
|
7
|
-
[](https://gitcode.com/x-extends/vxe-gantt/stargazers)
|
|
8
|
-
[](https://www.npmjs.com/package/vxe-gantt)
|
|
9
|
-
[](https://github.com/x-extends/vxe-gantt/actions/workflows/webpack.yml)
|
|
10
|
-
[](https://npm-stat.com/charts.html?package=vxe-gantt)
|
|
11
|
-
[](https://github.com/x-extends/vxe-gantt/issues)
|
|
12
|
-
[](https://github.com/x-extends/vxe-gantt/issues?q=is%3Aissue+is%3Aclosed)
|
|
13
|
-
[](https://github.com/x-extends/vxe-gantt/pulls)
|
|
14
|
-
[](https://github.com/x-extends/vxe-gantt/pulls?q=is%3Apr+is%3Aclosed)
|
|
15
|
-
[](LICENSE)
|
|
16
|
-
|
|
17
|
-
[Vxe UI](https://github.com/x-extends/vxe-pc-ui) をベースとしたエンタープライズ・ガントチャートのコンポーネントです
|
|
18
|
-
|
|
19
|
-
## ブラウザサポート
|
|
20
|
-
|
|
21
|
-
 |  |  |  | 
|
|
22
|
-
--- | --- | --- | --- | --- |
|
|
23
|
-
80+ ✔ | 80+ ✔ | 90+ ✔ | 75+ ✔ | 10+ ✔ |
|
|
24
|
-
|
|
25
|
-
### テーブルとUIの使用
|
|
26
|
-
|
|
27
|
-
版本:[vue](https://www.npmjs.com/package/vue) 3.x
|
|
28
|
-
|
|
29
|
-
```shell
|
|
30
|
-
npm install vxe-gantt
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
Get on [unpkg](https://unpkg.com/vxe-gantt/) and [cdnjs](https://cdn.jsdelivr.net/npm/vxe-gantt/)
|
|
34
|
-
|
|
35
|
-
### NPM
|
|
36
|
-
|
|
37
|
-
```javascript
|
|
38
|
-
// ...
|
|
39
|
-
import VxeUIBase from 'vxe-pc-ui'
|
|
40
|
-
import 'vxe-pc-ui/lib/style.css'
|
|
41
|
-
|
|
42
|
-
import VxeUITable from 'vxe-table'
|
|
43
|
-
import 'vxe-table/lib/style.css'
|
|
44
|
-
|
|
45
|
-
import VxeUIGantt from 'vxe-gantt'
|
|
46
|
-
import 'vxe-gantt/lib/style.css'
|
|
47
|
-
// ...
|
|
48
|
-
|
|
49
|
-
createApp(App).use(VxeUIBase).use(VxeUITable).use(VxeUIGantt).mount('#app')
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
## プロジェクトの実行
|
|
53
|
-
|
|
54
|
-
依存関係をインストールする
|
|
55
|
-
|
|
56
|
-
```shell
|
|
57
|
-
npm install
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
ローカルデバッグを開始する
|
|
61
|
-
|
|
62
|
-
```shell
|
|
63
|
-
npm run serve
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
コンパイルパッケージング、生成されたコンパイルディレクトリ: es,lib
|
|
67
|
-
|
|
68
|
-
```shell
|
|
69
|
-
npm run lib
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
## ライセンス
|
|
73
|
-
|
|
74
|
-
[MIT](LICENSE) © 2025-present, Xu Liangzhan
|
|
1
|
+
# vxe-gantt
|
|
2
|
+
|
|
3
|
+
[简体中文](README.md) | [繁體中文](README.zh-TW.md) | [English](README.en.md) | 日本語
|
|
4
|
+
|
|
5
|
+
[](https://github.com/x-extends/vxe-gantt/stargazers)
|
|
6
|
+
[](https://gitee.com/x-extends/vxe-gantt/stargazers)
|
|
7
|
+
[](https://gitcode.com/x-extends/vxe-gantt/stargazers)
|
|
8
|
+
[](https://www.npmjs.com/package/vxe-gantt)
|
|
9
|
+
[](https://github.com/x-extends/vxe-gantt/actions/workflows/webpack.yml)
|
|
10
|
+
[](https://npm-stat.com/charts.html?package=vxe-gantt)
|
|
11
|
+
[](https://github.com/x-extends/vxe-gantt/issues)
|
|
12
|
+
[](https://github.com/x-extends/vxe-gantt/issues?q=is%3Aissue+is%3Aclosed)
|
|
13
|
+
[](https://github.com/x-extends/vxe-gantt/pulls)
|
|
14
|
+
[](https://github.com/x-extends/vxe-gantt/pulls?q=is%3Apr+is%3Aclosed)
|
|
15
|
+
[](LICENSE)
|
|
16
|
+
|
|
17
|
+
[Vxe UI](https://github.com/x-extends/vxe-pc-ui) をベースとしたエンタープライズ・ガントチャートのコンポーネントです
|
|
18
|
+
|
|
19
|
+
## ブラウザサポート
|
|
20
|
+
|
|
21
|
+
 |  |  |  | 
|
|
22
|
+
--- | --- | --- | --- | --- |
|
|
23
|
+
80+ ✔ | 80+ ✔ | 90+ ✔ | 75+ ✔ | 10+ ✔ |
|
|
24
|
+
|
|
25
|
+
### テーブルとUIの使用
|
|
26
|
+
|
|
27
|
+
版本:[vue](https://www.npmjs.com/package/vue) 3.x
|
|
28
|
+
|
|
29
|
+
```shell
|
|
30
|
+
npm install vxe-gantt
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Get on [unpkg](https://unpkg.com/vxe-gantt/) and [cdnjs](https://cdn.jsdelivr.net/npm/vxe-gantt/)
|
|
34
|
+
|
|
35
|
+
### NPM
|
|
36
|
+
|
|
37
|
+
```javascript
|
|
38
|
+
// ...
|
|
39
|
+
import VxeUIBase from 'vxe-pc-ui'
|
|
40
|
+
import 'vxe-pc-ui/lib/style.css'
|
|
41
|
+
|
|
42
|
+
import VxeUITable from 'vxe-table'
|
|
43
|
+
import 'vxe-table/lib/style.css'
|
|
44
|
+
|
|
45
|
+
import VxeUIGantt from 'vxe-gantt'
|
|
46
|
+
import 'vxe-gantt/lib/style.css'
|
|
47
|
+
// ...
|
|
48
|
+
|
|
49
|
+
createApp(App).use(VxeUIBase).use(VxeUITable).use(VxeUIGantt).mount('#app')
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## プロジェクトの実行
|
|
53
|
+
|
|
54
|
+
依存関係をインストールする
|
|
55
|
+
|
|
56
|
+
```shell
|
|
57
|
+
npm install
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
ローカルデバッグを開始する
|
|
61
|
+
|
|
62
|
+
```shell
|
|
63
|
+
npm run serve
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
コンパイルパッケージング、生成されたコンパイルディレクトリ: es,lib
|
|
67
|
+
|
|
68
|
+
```shell
|
|
69
|
+
npm run lib
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## ライセンス
|
|
73
|
+
|
|
74
|
+
[MIT](LICENSE) © 2025-present, Xu Liangzhan
|
package/README.md
CHANGED
|
@@ -1,121 +1,121 @@
|
|
|
1
|
-
# vxe-gantt
|
|
2
|
-
|
|
3
|
-
简体中文 | [繁體中文](README.zh-TW.md) | [English](README.en.md) | [日本語](README.ja-JP.md)
|
|
4
|
-
|
|
5
|
-
[](https://github.com/x-extends/vxe-gantt/stargazers)
|
|
6
|
-
[](https://gitee.com/x-extends/vxe-gantt/stargazers)
|
|
7
|
-
[](https://gitcode.com/x-extends/vxe-gantt/stargazers)
|
|
8
|
-
[](https://www.npmjs.com/package/vxe-gantt)
|
|
9
|
-
[](https://github.com/x-extends/vxe-gantt/actions/workflows/webpack.yml)
|
|
10
|
-
[](https://unpkg.com/vxe-gantt/lib/index.umd.min.js)
|
|
11
|
-
[](https://npm-stat.com/charts.html?package=vxe-gantt)
|
|
12
|
-
[](https://github.com/x-extends/vxe-gantt/issues)
|
|
13
|
-
[](https://github.com/x-extends/vxe-gantt/issues?q=is%3Aissue+is%3Aclosed)
|
|
14
|
-
[](https://github.com/x-extends/vxe-gantt/pulls)
|
|
15
|
-
[](https://github.com/x-extends/vxe-gantt/pulls?q=is%3Apr+is%3Aclosed)
|
|
16
|
-
[](LICENSE)
|
|
17
|
-
|
|
18
|
-
一个基于 [Vxe UI](https://github.com/x-extends/vxe-pc-ui) 的企业级甘特图组件
|
|
19
|
-
|
|
20
|
-
* 设计理念
|
|
21
|
-
* 面向现代浏览器,高效的简洁 API 设计
|
|
22
|
-
|
|
23
|
-
* 版本说明
|
|
24
|
-
* **V4**
|
|
25
|
-
* [x] v4.2 基于 适配 vxe-table 3.20+,大幅提升渲染性能
|
|
26
|
-
* [x] v4.0 基于 vue3.2+,适配 vxe-table 3.18+,只支持现代浏览器,不支持 IE
|
|
27
|
-
* **V3**
|
|
28
|
-
* [x] v3.2 适配 vxe-table 4.18+,大幅提升渲染性能
|
|
29
|
-
* [x] v3.0 基于 vue2.6~2.7,适配 vxe-table 4.16+,只支持现代浏览器,不支持 IE
|
|
30
|
-
* **V2**
|
|
31
|
-
* [x] ~~v2.0 基于 vue2.6+,停止维护~~
|
|
32
|
-
* **V1**
|
|
33
|
-
* [x] ~~v1.0 基于 vue2.6+,停止维护~~
|
|
34
|
-
|
|
35
|
-
## 浏览器支持
|
|
36
|
-
|
|
37
|
-
 |  |  |  | 
|
|
38
|
-
--- | --- | --- | --- | --- |
|
|
39
|
-
80+ ✔ | 80+ ✔ | 90+ ✔ | 75+ ✔ | 10+ ✔ |
|
|
40
|
-
|
|
41
|
-
## 在线文档
|
|
42
|
-
|
|
43
|
-
👉 [基础库](https://vxeui.com)
|
|
44
|
-
👉 [表格库](https://vxetable.cn)
|
|
45
|
-
👉 [甘特图](https://gantt.vxeui.com)
|
|
46
|
-
👉 [可视化](https://design.vxeui.com)
|
|
47
|
-
|
|
48
|
-
## QQ 交流群
|
|
49
|
-
|
|
50
|
-
该群供大家交流問題,如果群人数已满,将会不定期剔除不活跃的。
|
|
51
|
-
|
|
52
|
-

|
|
53
|
-

|
|
54
|
-
|
|
55
|
-
## 功能点
|
|
56
|
-
|
|
57
|
-
[👀 Vxe Gantt](https://gantt.vxeui.com/)
|
|
58
|
-
|
|
59
|
-
* [x] 左侧渲染表格
|
|
60
|
-
* [x] 右侧渲染视图
|
|
61
|
-
* [x] 任务视图
|
|
62
|
-
* [x] 年视图
|
|
63
|
-
* [x] 季度视图
|
|
64
|
-
* [x] 月视图
|
|
65
|
-
* [x] 周视图
|
|
66
|
-
* [x] 星期视图
|
|
67
|
-
* [x] 日视图
|
|
68
|
-
* [x] 小数视图
|
|
69
|
-
* [x] 分钟视图
|
|
70
|
-
* [x] 秒视图
|
|
71
|
-
* [x] 单元格样式
|
|
72
|
-
* [x] 子任务
|
|
73
|
-
* [x] 多级表头
|
|
74
|
-
* [x] 列拖拽排序
|
|
75
|
-
* [x] 任务拖拽排序
|
|
76
|
-
* [x] 固定列
|
|
77
|
-
* [x] 排序
|
|
78
|
-
* [x] 日期轴
|
|
79
|
-
* [x] 里程碑
|
|
80
|
-
* [x] 自定义插槽 - 模板
|
|
81
|
-
* [x] 行内渲染子任务
|
|
82
|
-
* [x] 增删改查
|
|
83
|
-
* [x] 右键菜单
|
|
84
|
-
* [x] 数据校验
|
|
85
|
-
* [x] 键盘导航
|
|
86
|
-
* [x] 虚拟滚动
|
|
87
|
-
* [x] CSS 变量主题
|
|
88
|
-
* [x] ([企业版](https://store.vxeui.com)) 依赖线连接线
|
|
89
|
-
* [x] ([企业版](https://store.vxeui.com)) 任务条可拖拽
|
|
90
|
-
* [x] ([企业版](https://store.vxeui.com)) 可视化创建依赖线
|
|
91
|
-
|
|
92
|
-
## 安装
|
|
93
|
-
|
|
94
|
-
版本:[vue](https://www.npmjs.com/package/vue) 3.x
|
|
95
|
-
|
|
96
|
-
```shell
|
|
97
|
-
npm install vxe-pc-ui vxe-table vxe-gantt
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
Get on [unpkg](https://unpkg.com/vxe-gantt/) and [cdnjs](https://cdn.jsdelivr.net/npm/vxe-gantt/)
|
|
101
|
-
|
|
102
|
-
### NPM
|
|
103
|
-
|
|
104
|
-
```javascript
|
|
105
|
-
// ...
|
|
106
|
-
import VxeUIBase from 'vxe-pc-ui'
|
|
107
|
-
import 'vxe-pc-ui/lib/style.css'
|
|
108
|
-
|
|
109
|
-
import VxeUITable from 'vxe-table'
|
|
110
|
-
import 'vxe-table/lib/style.css'
|
|
111
|
-
|
|
112
|
-
import VxeUIGantt from 'vxe-gantt'
|
|
113
|
-
import 'vxe-gantt/lib/style.css'
|
|
114
|
-
// ...
|
|
115
|
-
|
|
116
|
-
createApp(App).use(VxeUIBase).use(VxeUITable).use(VxeUIGantt).mount('#app')
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
## License
|
|
120
|
-
|
|
121
|
-
[MIT](LICENSE) © 2025-present, Xu Liangzhan
|
|
1
|
+
# vxe-gantt
|
|
2
|
+
|
|
3
|
+
简体中文 | [繁體中文](README.zh-TW.md) | [English](README.en.md) | [日本語](README.ja-JP.md)
|
|
4
|
+
|
|
5
|
+
[](https://github.com/x-extends/vxe-gantt/stargazers)
|
|
6
|
+
[](https://gitee.com/x-extends/vxe-gantt/stargazers)
|
|
7
|
+
[](https://gitcode.com/x-extends/vxe-gantt/stargazers)
|
|
8
|
+
[](https://www.npmjs.com/package/vxe-gantt)
|
|
9
|
+
[](https://github.com/x-extends/vxe-gantt/actions/workflows/webpack.yml)
|
|
10
|
+
[](https://unpkg.com/vxe-gantt/lib/index.umd.min.js)
|
|
11
|
+
[](https://npm-stat.com/charts.html?package=vxe-gantt)
|
|
12
|
+
[](https://github.com/x-extends/vxe-gantt/issues)
|
|
13
|
+
[](https://github.com/x-extends/vxe-gantt/issues?q=is%3Aissue+is%3Aclosed)
|
|
14
|
+
[](https://github.com/x-extends/vxe-gantt/pulls)
|
|
15
|
+
[](https://github.com/x-extends/vxe-gantt/pulls?q=is%3Apr+is%3Aclosed)
|
|
16
|
+
[](LICENSE)
|
|
17
|
+
|
|
18
|
+
一个基于 [Vxe UI](https://github.com/x-extends/vxe-pc-ui) 的企业级甘特图组件
|
|
19
|
+
|
|
20
|
+
* 设计理念
|
|
21
|
+
* 面向现代浏览器,高效的简洁 API 设计
|
|
22
|
+
|
|
23
|
+
* 版本说明
|
|
24
|
+
* **V4**
|
|
25
|
+
* [x] v4.2 基于 适配 vxe-table 3.20+,大幅提升渲染性能
|
|
26
|
+
* [x] v4.0 基于 vue3.2+,适配 vxe-table 3.18+,只支持现代浏览器,不支持 IE
|
|
27
|
+
* **V3**
|
|
28
|
+
* [x] v3.2 适配 vxe-table 4.18+,大幅提升渲染性能
|
|
29
|
+
* [x] v3.0 基于 vue2.6~2.7,适配 vxe-table 4.16+,只支持现代浏览器,不支持 IE
|
|
30
|
+
* **V2**
|
|
31
|
+
* [x] ~~v2.0 基于 vue2.6+,停止维护~~
|
|
32
|
+
* **V1**
|
|
33
|
+
* [x] ~~v1.0 基于 vue2.6+,停止维护~~
|
|
34
|
+
|
|
35
|
+
## 浏览器支持
|
|
36
|
+
|
|
37
|
+
 |  |  |  | 
|
|
38
|
+
--- | --- | --- | --- | --- |
|
|
39
|
+
80+ ✔ | 80+ ✔ | 90+ ✔ | 75+ ✔ | 10+ ✔ |
|
|
40
|
+
|
|
41
|
+
## 在线文档
|
|
42
|
+
|
|
43
|
+
👉 [基础库](https://vxeui.com)
|
|
44
|
+
👉 [表格库](https://vxetable.cn)
|
|
45
|
+
👉 [甘特图](https://gantt.vxeui.com)
|
|
46
|
+
👉 [可视化](https://design.vxeui.com)
|
|
47
|
+
|
|
48
|
+
## QQ 交流群
|
|
49
|
+
|
|
50
|
+
该群供大家交流問題,如果群人数已满,将会不定期剔除不活跃的。
|
|
51
|
+
|
|
52
|
+

|
|
53
|
+

|
|
54
|
+
|
|
55
|
+
## 功能点
|
|
56
|
+
|
|
57
|
+
[👀 Vxe Gantt](https://gantt.vxeui.com/)
|
|
58
|
+
|
|
59
|
+
* [x] 左侧渲染表格
|
|
60
|
+
* [x] 右侧渲染视图
|
|
61
|
+
* [x] 任务视图
|
|
62
|
+
* [x] 年视图
|
|
63
|
+
* [x] 季度视图
|
|
64
|
+
* [x] 月视图
|
|
65
|
+
* [x] 周视图
|
|
66
|
+
* [x] 星期视图
|
|
67
|
+
* [x] 日视图
|
|
68
|
+
* [x] 小数视图
|
|
69
|
+
* [x] 分钟视图
|
|
70
|
+
* [x] 秒视图
|
|
71
|
+
* [x] 单元格样式
|
|
72
|
+
* [x] 子任务
|
|
73
|
+
* [x] 多级表头
|
|
74
|
+
* [x] 列拖拽排序
|
|
75
|
+
* [x] 任务拖拽排序
|
|
76
|
+
* [x] 固定列
|
|
77
|
+
* [x] 排序
|
|
78
|
+
* [x] 日期轴
|
|
79
|
+
* [x] 里程碑
|
|
80
|
+
* [x] 自定义插槽 - 模板
|
|
81
|
+
* [x] 行内渲染子任务
|
|
82
|
+
* [x] 增删改查
|
|
83
|
+
* [x] 右键菜单
|
|
84
|
+
* [x] 数据校验
|
|
85
|
+
* [x] 键盘导航
|
|
86
|
+
* [x] 虚拟滚动
|
|
87
|
+
* [x] CSS 变量主题
|
|
88
|
+
* [x] ([企业版](https://store.vxeui.com)) 依赖线连接线
|
|
89
|
+
* [x] ([企业版](https://store.vxeui.com)) 任务条可拖拽
|
|
90
|
+
* [x] ([企业版](https://store.vxeui.com)) 可视化创建依赖线
|
|
91
|
+
|
|
92
|
+
## 安装
|
|
93
|
+
|
|
94
|
+
版本:[vue](https://www.npmjs.com/package/vue) 3.x
|
|
95
|
+
|
|
96
|
+
```shell
|
|
97
|
+
npm install vxe-pc-ui vxe-table vxe-gantt
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Get on [unpkg](https://unpkg.com/vxe-gantt/) and [cdnjs](https://cdn.jsdelivr.net/npm/vxe-gantt/)
|
|
101
|
+
|
|
102
|
+
### NPM
|
|
103
|
+
|
|
104
|
+
```javascript
|
|
105
|
+
// ...
|
|
106
|
+
import VxeUIBase from 'vxe-pc-ui'
|
|
107
|
+
import 'vxe-pc-ui/lib/style.css'
|
|
108
|
+
|
|
109
|
+
import VxeUITable from 'vxe-table'
|
|
110
|
+
import 'vxe-table/lib/style.css'
|
|
111
|
+
|
|
112
|
+
import VxeUIGantt from 'vxe-gantt'
|
|
113
|
+
import 'vxe-gantt/lib/style.css'
|
|
114
|
+
// ...
|
|
115
|
+
|
|
116
|
+
createApp(App).use(VxeUIBase).use(VxeUITable).use(VxeUIGantt).mount('#app')
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## License
|
|
120
|
+
|
|
121
|
+
[MIT](LICENSE) © 2025-present, Xu Liangzhan
|