vxe-table 4.18.4 → 4.18.6
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 +20 -20
- package/README.en.md +118 -118
- package/README.ja-JP.md +117 -117
- package/README.md +268 -268
- package/README.zh-TW.md +117 -117
- package/es/grid/style.css +4 -0
- package/es/grid/style.min.css +1 -1
- package/es/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/src/table.js +82 -22
- package/es/table/src/util.js +3 -4
- package/es/table/style.css +48 -18
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-grid/style.css +4 -0
- package/es/vxe-grid/style.min.css +1 -1
- package/es/vxe-table/style.css +48 -18
- package/lib/grid/style/style.css +4 -0
- package/lib/grid/style/style.min.css +1 -1
- package/lib/index.common.js +1 -2
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +2833 -2733
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/table.js +7 -6
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/src/util.js +4 -6
- package/lib/table/src/util.min.js +1 -1
- package/lib/table/style/style.css +48 -18
- 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/lib/v-x-e-table/index.js +1 -2
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/vxe-colgroup/index.js +1 -2
- package/lib/vxe-colgroup/index.min.js +1 -1
- package/lib/vxe-column/index.js +1 -2
- package/lib/vxe-column/index.min.js +1 -1
- package/lib/vxe-grid/index.js +1 -2
- package/lib/vxe-grid/index.min.js +1 -1
- package/lib/vxe-grid/style/style.css +4 -0
- package/lib/vxe-grid/style/style.min.css +1 -1
- package/lib/vxe-table/index.js +1 -2
- package/lib/vxe-table/index.min.js +1 -1
- package/lib/vxe-table/style/style.css +48 -18
- package/lib/vxe-toolbar/index.js +1 -2
- package/lib/vxe-toolbar/index.min.js +1 -1
- package/lib/vxe-ui/index.js +1 -2
- package/lib/vxe-ui/index.min.js +1 -1
- package/lib/vxe-v-x-e-table/index.js +1 -2
- package/lib/vxe-v-x-e-table/index.min.js +1 -1
- package/package.json +91 -91
- package/packages/colgroup/index.ts +22 -22
- package/packages/column/index.ts +22 -22
- package/packages/components.ts +43 -43
- package/packages/grid/index.ts +18 -18
- package/packages/grid/src/emits.ts +19 -19
- package/packages/grid/src/grid.ts +1768 -1768
- package/packages/grid/src/props.ts +23 -23
- package/packages/index.ts +4 -4
- package/packages/locale/lang/ar-EG.ts +832 -832
- package/packages/locale/lang/de-DE.ts +832 -832
- package/packages/locale/lang/en-US.ts +832 -832
- package/packages/locale/lang/es-ES.ts +832 -832
- package/packages/locale/lang/fr-FR.ts +832 -832
- package/packages/locale/lang/hu-HU.ts +832 -832
- package/packages/locale/lang/hy-AM.ts +832 -832
- package/packages/locale/lang/id-ID.ts +832 -832
- package/packages/locale/lang/it-IT.ts +832 -832
- package/packages/locale/lang/ja-JP.ts +832 -832
- package/packages/locale/lang/ko-KR.ts +832 -832
- package/packages/locale/lang/ms-MY.ts +832 -832
- package/packages/locale/lang/nb-NO.ts +832 -832
- package/packages/locale/lang/pt-BR.ts +832 -832
- package/packages/locale/lang/ru-RU.ts +832 -832
- package/packages/locale/lang/th-TH.ts +832 -832
- package/packages/locale/lang/ug-CN.ts +832 -832
- package/packages/locale/lang/uk-UA.ts +832 -832
- package/packages/locale/lang/uz-UZ.ts +832 -832
- package/packages/locale/lang/vi-VN.ts +832 -832
- package/packages/locale/lang/zh-CHT.ts +832 -832
- package/packages/locale/lang/zh-CN.ts +832 -832
- package/packages/locale/lang/zh-HK.ts +3 -3
- package/packages/locale/lang/zh-MO.ts +3 -3
- package/packages/locale/lang/zh-TC.ts +3 -3
- package/packages/locale/lang/zh-TW.ts +3 -3
- package/packages/table/index.ts +26 -26
- package/packages/table/module/custom/hook.ts +359 -359
- package/packages/table/module/custom/panel.ts +1331 -1331
- package/packages/table/module/edit/hook.ts +1032 -1032
- package/packages/table/module/export/export-panel.ts +567 -567
- package/packages/table/module/export/hook.ts +1654 -1654
- package/packages/table/module/export/import-panel.ts +266 -266
- package/packages/table/module/export/util.ts +24 -24
- package/packages/table/module/filter/hook.ts +468 -468
- package/packages/table/module/filter/panel.ts +301 -301
- package/packages/table/module/keyboard/hook.ts +495 -495
- package/packages/table/module/menu/hook.ts +325 -325
- package/packages/table/module/menu/panel.ts +201 -201
- package/packages/table/module/validator/hook.ts +631 -631
- package/packages/table/render/index.ts +1440 -1440
- package/packages/table/src/body.ts +932 -932
- package/packages/table/src/cell.ts +1290 -1290
- package/packages/table/src/column.ts +190 -190
- package/packages/table/src/columnInfo.ts +225 -225
- package/packages/table/src/emits.ts +123 -123
- package/packages/table/src/footer.ts +368 -368
- package/packages/table/src/group.ts +59 -59
- package/packages/table/src/header.ts +559 -559
- package/packages/table/src/props.ts +324 -324
- package/packages/table/src/store.ts +14 -14
- package/packages/table/src/table.ts +14001 -13939
- package/packages/table/src/use/cell-view.ts +44 -44
- package/packages/table/src/use/index.ts +1 -1
- package/packages/table/src/util.ts +1064 -1064
- package/packages/toolbar/index.ts +18 -18
- package/packages/toolbar/src/toolbar.ts +701 -701
- package/packages/ui/index.ts +530 -530
- package/packages/ui/src/anime.ts +52 -52
- package/packages/ui/src/comp.ts +3 -3
- package/packages/ui/src/dom.ts +236 -236
- package/packages/ui/src/log.ts +8 -8
- package/packages/ui/src/utils.ts +56 -56
- package/packages/ui/src/vn.ts +55 -55
- package/packages/v-x-e-table/index.d.ts +4 -4
- package/packages/v-x-e-table/index.ts +4 -4
- package/styles/all.scss +7 -7
- package/styles/base.scss +16 -16
- package/styles/components/grid.scss +89 -85
- package/styles/components/icon.scss +225 -225
- package/styles/components/old-icon.scss +715 -715
- package/styles/components/table-module/all.scss +6 -6
- package/styles/components/table-module/custom.scss +527 -527
- package/styles/components/table-module/export.scss +130 -130
- package/styles/components/table-module/filter.scss +130 -130
- package/styles/components/table-module/menu.scss +81 -81
- package/styles/components/table.scss +2679 -2679
- package/styles/components/toolbar.scss +119 -119
- package/styles/default.scss +2 -2
- package/styles/helpers/baseMixin.scss +95 -95
- package/styles/index.scss +4 -4
- package/styles/modules.scss +5 -5
- package/styles/theme/base.scss +93 -93
- package/styles/theme/dark.scss +49 -49
- package/styles/theme/light.scss +44 -44
- package/styles/variable.scss +43 -43
- package/types/all.d.ts +37 -37
- package/types/index.d.ts +4 -4
- /package/es/{iconfont.1773644074946.ttf → iconfont.1773972993993.ttf} +0 -0
- /package/es/{iconfont.1773644074946.woff → iconfont.1773972993993.woff} +0 -0
- /package/es/{iconfont.1773644074946.woff2 → iconfont.1773972993993.woff2} +0 -0
- /package/lib/{iconfont.1773644074946.ttf → iconfont.1773972993993.ttf} +0 -0
- /package/lib/{iconfont.1773644074946.woff → iconfont.1773972993993.woff} +0 -0
- /package/lib/{iconfont.1773644074946.woff2 → iconfont.1773972993993.woff2} +0 -0
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2019 Xu Liangzhan
|
|
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
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019 Xu Liangzhan
|
|
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
21
|
SOFTWARE.
|
package/README.en.md
CHANGED
|
@@ -1,118 +1,118 @@
|
|
|
1
|
-
# vxe-table
|
|
2
|
-
|
|
3
|
-
[简体中文](README.md) | [繁體中文](README.zh-TW.md) | English | [日本語](README.ja-JP.md)
|
|
4
|
-
|
|
5
|
-
[](https://github.com/x-extends/vxe-table/stargazers)
|
|
6
|
-
[](https://gitee.com/x-extends/vxe-table/stargazers)
|
|
7
|
-
[](https://gitcode.com/x-extends/vxe-table/stargazers)
|
|
8
|
-
[](https://www.npmjs.com/package/vxe-table)
|
|
9
|
-
[](https://github.com/x-extends/vxe-table/actions/workflows/webpack.yml)
|
|
10
|
-
[](https://npm-stat.com/charts.html?package=vxe-table)
|
|
11
|
-
[](https://github.com/x-extends/vxe-table/issues)
|
|
12
|
-
[](https://github.com/x-extends/vxe-table/issues?q=is%3Aissue+is%3Aclosed)
|
|
13
|
-
[](https://github.com/x-extends/vxe-table/pulls)
|
|
14
|
-
[](https://github.com/x-extends/vxe-table/pulls?q=is%3Apr+is%3Aclosed)
|
|
15
|
-
[](LICENSE)
|
|
16
|
-
|
|
17
|
-
A PC-end table component based on [Vxe UI](https://github.com/x-extends/vxe-pc-ui), enterprise-level table solution with support for copy-paste, data pivot tables, and virtual lists, featuring high performance.
|
|
18
|
-
|
|
19
|
-
## Browser Support
|
|
20
|
-
|
|
21
|
-
 |  |  |  | 
|
|
22
|
-
--- | --- | --- | --- | --- |
|
|
23
|
-
Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
|
|
24
|
-
|
|
25
|
-
## Installing
|
|
26
|
-
|
|
27
|
-
Version: [vue](https://www.npmjs.com/package/vue) 3.x
|
|
28
|
-
|
|
29
|
-
```shell
|
|
30
|
-
npm install vxe-table@next
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
Get on [unpkg](https://unpkg.com/vxe-table/) and [cdnjs](https://cdn.jsdelivr.net/npm/vxe-table/)
|
|
34
|
-
|
|
35
|
-
### NPM
|
|
36
|
-
|
|
37
|
-
```javascript
|
|
38
|
-
// ...
|
|
39
|
-
import VxeUITable from 'vxe-table'
|
|
40
|
-
import 'vxe-table/lib/style.css'
|
|
41
|
-
// ...
|
|
42
|
-
|
|
43
|
-
createApp(App).use(VxeUITable).mount('#app')
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
### CDN
|
|
47
|
-
|
|
48
|
-
Use a third-party CDN to remember to lock the version number to avoid being affected by incompatible updates.
|
|
49
|
-
***It is not recommended to use the CDN address of a third party in a formal environment because the connection can fail at any time***
|
|
50
|
-
|
|
51
|
-
```HTML
|
|
52
|
-
<!-- style -->
|
|
53
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vxe-pc-ui/lib/style.css">
|
|
54
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vxe-table@next/lib/style.css">
|
|
55
|
-
<!-- vue -->
|
|
56
|
-
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
|
|
57
|
-
<!-- table -->
|
|
58
|
-
<script src="https://cdn.jsdelivr.net/npm/xe-utils"></script>
|
|
59
|
-
<script src="https://cdn.jsdelivr.net/npm/vxe-pc-ui"></script>
|
|
60
|
-
<script src="https://cdn.jsdelivr.net/npm/vxe-table@next"></script>
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
## Example
|
|
64
|
-
|
|
65
|
-
```html
|
|
66
|
-
<template>
|
|
67
|
-
<div>
|
|
68
|
-
<vxe-table :data="tableData">
|
|
69
|
-
<vxe-column type="seq" title="Seq" width="60"></vxe-column>
|
|
70
|
-
<vxe-column field="name" title="Name"></vxe-column>
|
|
71
|
-
<vxe-column field="role" title="Role"></vxe-column>
|
|
72
|
-
<vxe-colgroup title="Group1">
|
|
73
|
-
<vxe-column field="sex" title="Sex"></vxe-column>
|
|
74
|
-
<vxe-column field="address" title="Address"></vxe-column>
|
|
75
|
-
</vxe-colgroup>
|
|
76
|
-
</vxe-table>
|
|
77
|
-
</div>
|
|
78
|
-
</template>
|
|
79
|
-
|
|
80
|
-
<script lang="ts" setup>
|
|
81
|
-
import { ref } from 'vue'
|
|
82
|
-
|
|
83
|
-
const tableData = ref([
|
|
84
|
-
{ id: 10001, name: 'Test1', role: 'Develop', sex: 'Man', address: 'Shenzhen' },
|
|
85
|
-
{ id: 10002, name: 'Test2', role: 'Test', sex: 'Man', address: 'Guangzhou' },
|
|
86
|
-
{ id: 10003, name: 'Test3', role: 'PM', sex: 'Man', address: 'Shanghai' }
|
|
87
|
-
])
|
|
88
|
-
</script>
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
## Online Documents
|
|
92
|
-
|
|
93
|
-
👉 [UI Document](https://vxeui.com)
|
|
94
|
-
👉 [Table Document](https://vxetable.cn)
|
|
95
|
-
|
|
96
|
-
## Run the project
|
|
97
|
-
|
|
98
|
-
Install dependencies
|
|
99
|
-
|
|
100
|
-
```shell
|
|
101
|
-
npm run update
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
Start local debugging
|
|
105
|
-
|
|
106
|
-
```shell
|
|
107
|
-
npm run serve
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
Compile packaging, generated compiled directory: es,lib
|
|
111
|
-
|
|
112
|
-
```shell
|
|
113
|
-
npm run lib
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
## License
|
|
117
|
-
|
|
118
|
-
[MIT](LICENSE) © 2019-present, Xu Liangzhan
|
|
1
|
+
# vxe-table
|
|
2
|
+
|
|
3
|
+
[简体中文](README.md) | [繁體中文](README.zh-TW.md) | English | [日本語](README.ja-JP.md)
|
|
4
|
+
|
|
5
|
+
[](https://github.com/x-extends/vxe-table/stargazers)
|
|
6
|
+
[](https://gitee.com/x-extends/vxe-table/stargazers)
|
|
7
|
+
[](https://gitcode.com/x-extends/vxe-table/stargazers)
|
|
8
|
+
[](https://www.npmjs.com/package/vxe-table)
|
|
9
|
+
[](https://github.com/x-extends/vxe-table/actions/workflows/webpack.yml)
|
|
10
|
+
[](https://npm-stat.com/charts.html?package=vxe-table)
|
|
11
|
+
[](https://github.com/x-extends/vxe-table/issues)
|
|
12
|
+
[](https://github.com/x-extends/vxe-table/issues?q=is%3Aissue+is%3Aclosed)
|
|
13
|
+
[](https://github.com/x-extends/vxe-table/pulls)
|
|
14
|
+
[](https://github.com/x-extends/vxe-table/pulls?q=is%3Apr+is%3Aclosed)
|
|
15
|
+
[](LICENSE)
|
|
16
|
+
|
|
17
|
+
A PC-end table component based on [Vxe UI](https://github.com/x-extends/vxe-pc-ui), enterprise-level table solution with support for copy-paste, data pivot tables, and virtual lists, featuring high performance.
|
|
18
|
+
|
|
19
|
+
## Browser Support
|
|
20
|
+
|
|
21
|
+
 |  |  |  | 
|
|
22
|
+
--- | --- | --- | --- | --- |
|
|
23
|
+
Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
|
|
24
|
+
|
|
25
|
+
## Installing
|
|
26
|
+
|
|
27
|
+
Version: [vue](https://www.npmjs.com/package/vue) 3.x
|
|
28
|
+
|
|
29
|
+
```shell
|
|
30
|
+
npm install vxe-table@next
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Get on [unpkg](https://unpkg.com/vxe-table/) and [cdnjs](https://cdn.jsdelivr.net/npm/vxe-table/)
|
|
34
|
+
|
|
35
|
+
### NPM
|
|
36
|
+
|
|
37
|
+
```javascript
|
|
38
|
+
// ...
|
|
39
|
+
import VxeUITable from 'vxe-table'
|
|
40
|
+
import 'vxe-table/lib/style.css'
|
|
41
|
+
// ...
|
|
42
|
+
|
|
43
|
+
createApp(App).use(VxeUITable).mount('#app')
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### CDN
|
|
47
|
+
|
|
48
|
+
Use a third-party CDN to remember to lock the version number to avoid being affected by incompatible updates.
|
|
49
|
+
***It is not recommended to use the CDN address of a third party in a formal environment because the connection can fail at any time***
|
|
50
|
+
|
|
51
|
+
```HTML
|
|
52
|
+
<!-- style -->
|
|
53
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vxe-pc-ui/lib/style.css">
|
|
54
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vxe-table@next/lib/style.css">
|
|
55
|
+
<!-- vue -->
|
|
56
|
+
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
|
|
57
|
+
<!-- table -->
|
|
58
|
+
<script src="https://cdn.jsdelivr.net/npm/xe-utils"></script>
|
|
59
|
+
<script src="https://cdn.jsdelivr.net/npm/vxe-pc-ui"></script>
|
|
60
|
+
<script src="https://cdn.jsdelivr.net/npm/vxe-table@next"></script>
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Example
|
|
64
|
+
|
|
65
|
+
```html
|
|
66
|
+
<template>
|
|
67
|
+
<div>
|
|
68
|
+
<vxe-table :data="tableData">
|
|
69
|
+
<vxe-column type="seq" title="Seq" width="60"></vxe-column>
|
|
70
|
+
<vxe-column field="name" title="Name"></vxe-column>
|
|
71
|
+
<vxe-column field="role" title="Role"></vxe-column>
|
|
72
|
+
<vxe-colgroup title="Group1">
|
|
73
|
+
<vxe-column field="sex" title="Sex"></vxe-column>
|
|
74
|
+
<vxe-column field="address" title="Address"></vxe-column>
|
|
75
|
+
</vxe-colgroup>
|
|
76
|
+
</vxe-table>
|
|
77
|
+
</div>
|
|
78
|
+
</template>
|
|
79
|
+
|
|
80
|
+
<script lang="ts" setup>
|
|
81
|
+
import { ref } from 'vue'
|
|
82
|
+
|
|
83
|
+
const tableData = ref([
|
|
84
|
+
{ id: 10001, name: 'Test1', role: 'Develop', sex: 'Man', address: 'Shenzhen' },
|
|
85
|
+
{ id: 10002, name: 'Test2', role: 'Test', sex: 'Man', address: 'Guangzhou' },
|
|
86
|
+
{ id: 10003, name: 'Test3', role: 'PM', sex: 'Man', address: 'Shanghai' }
|
|
87
|
+
])
|
|
88
|
+
</script>
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Online Documents
|
|
92
|
+
|
|
93
|
+
👉 [UI Document](https://vxeui.com)
|
|
94
|
+
👉 [Table Document](https://vxetable.cn)
|
|
95
|
+
|
|
96
|
+
## Run the project
|
|
97
|
+
|
|
98
|
+
Install dependencies
|
|
99
|
+
|
|
100
|
+
```shell
|
|
101
|
+
npm run update
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Start local debugging
|
|
105
|
+
|
|
106
|
+
```shell
|
|
107
|
+
npm run serve
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Compile packaging, generated compiled directory: es,lib
|
|
111
|
+
|
|
112
|
+
```shell
|
|
113
|
+
npm run lib
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
## License
|
|
117
|
+
|
|
118
|
+
[MIT](LICENSE) © 2019-present, Xu Liangzhan
|
package/README.ja-JP.md
CHANGED
|
@@ -1,117 +1,117 @@
|
|
|
1
|
-
# vxe-table
|
|
2
|
-
|
|
3
|
-
[简体中文](README.md) | [繁體中文](README.zh-TW.md) | [English](README.en.md) | 日本語
|
|
4
|
-
|
|
5
|
-
[](https://github.com/x-extends/vxe-table/stargazers)
|
|
6
|
-
[](https://gitee.com/x-extends/vxe-table/stargazers)
|
|
7
|
-
[](https://gitcode.com/x-extends/vxe-table/stargazers)
|
|
8
|
-
[](https://github.com/x-extends/vxe-table/actions/workflows/webpack.yml)
|
|
9
|
-
[](https://npm-stat.com/charts.html?package=vxe-table)
|
|
10
|
-
[](https://github.com/x-extends/vxe-table/issues)
|
|
11
|
-
[](https://github.com/x-extends/vxe-table/issues?q=is%3Aissue+is%3Aclosed)
|
|
12
|
-
[](https://github.com/x-extends/vxe-table/pulls)
|
|
13
|
-
[](https://github.com/x-extends/vxe-table/pulls?q=is%3Apr+is%3Aclosed)
|
|
14
|
-
[](LICENSE)
|
|
15
|
-
|
|
16
|
-
[Vxe UI](https://github.com/x-extends/vxe-pc-ui) エンドの表構成要素をベースに、コピペ、データ透視テーブル、仮想リストをサポートする高性能な企業向け表作成ソリューションです。
|
|
17
|
-
|
|
18
|
-
## ブラウザサポート
|
|
19
|
-
|
|
20
|
-
 |  |  |  | 
|
|
21
|
-
--- | --- | --- | --- | --- |
|
|
22
|
-
最新 ✔ | 最新 ✔ | 最新 ✔ | 最新 ✔ | 最新 ✔ |
|
|
23
|
-
|
|
24
|
-
## インストール
|
|
25
|
-
|
|
26
|
-
バージョン: [vue](https://www.npmjs.com/package/vue) 3.x
|
|
27
|
-
|
|
28
|
-
```shell
|
|
29
|
-
npm install vxe-table@next
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[unpkg](https://unpkg.com/vxe-table/) および [cdnjs](https://cdn.jsdelivr.net/npm/vxe-table/) で入手可能
|
|
33
|
-
|
|
34
|
-
### NPM
|
|
35
|
-
|
|
36
|
-
```javascript
|
|
37
|
-
// ...
|
|
38
|
-
import VxeUITable from 'vxe-table'
|
|
39
|
-
import 'vxe-table/lib/style.css'
|
|
40
|
-
// ...
|
|
41
|
-
|
|
42
|
-
createApp(App).use(VxeUITable).mount('#app')
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
### CDN
|
|
46
|
-
|
|
47
|
-
サードパーティのCDNを使用する場合は、バージョン番号をロックして、互換性のない更新の影響を受けないようにしてください。
|
|
48
|
-
***サードパーティのCDNアドレスを正式な環境で使用することはお勧めしません。接続がいつでも失敗する可能性があるためです***
|
|
49
|
-
|
|
50
|
-
```HTML
|
|
51
|
-
<!-- style -->
|
|
52
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vxe-pc-ui/lib/style.css">
|
|
53
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vxe-table@next/lib/style.css">
|
|
54
|
-
<!-- vue -->
|
|
55
|
-
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
|
|
56
|
-
<!-- table -->
|
|
57
|
-
<script src="https://cdn.jsdelivr.net/npm/xe-utils"></script>
|
|
58
|
-
<script src="https://cdn.jsdelivr.net/npm/vxe-pc-ui"></script>
|
|
59
|
-
<script src="https://cdn.jsdelivr.net/npm/vxe-table@next"></script>
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
## 例
|
|
63
|
-
|
|
64
|
-
```html
|
|
65
|
-
<template>
|
|
66
|
-
<div>
|
|
67
|
-
<vxe-table :data="tableData">
|
|
68
|
-
<vxe-column type="seq" title="Seq" width="60"></vxe-column>
|
|
69
|
-
<vxe-column field="name" title="Name"></vxe-column>
|
|
70
|
-
<vxe-column field="role" title="Role"></vxe-column>
|
|
71
|
-
<vxe-colgroup title="Group1">
|
|
72
|
-
<vxe-column field="sex" title="Sex"></vxe-column>
|
|
73
|
-
<vxe-column field="address" title="Address"></vxe-column>
|
|
74
|
-
</vxe-colgroup>
|
|
75
|
-
</vxe-table>
|
|
76
|
-
</div>
|
|
77
|
-
</template>
|
|
78
|
-
|
|
79
|
-
<script lang="ts" setup>
|
|
80
|
-
import { ref } from 'vue'
|
|
81
|
-
|
|
82
|
-
const tableData = ref([
|
|
83
|
-
{ id: 10001, name: 'Test1', role: 'Develop', sex: 'Man', address: 'Shenzhen' },
|
|
84
|
-
{ id: 10002, name: 'Test2', role: 'Test', sex: 'Man', address: 'Guangzhou' },
|
|
85
|
-
{ id: 10003, name: 'Test3', role: 'PM', sex: 'Man', address: 'Shanghai' }
|
|
86
|
-
])
|
|
87
|
-
</script>
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
## オンラインドキュメント
|
|
91
|
-
|
|
92
|
-
👉 [UIドキュメント](https://vxeui.com)
|
|
93
|
-
👉 [テーブルドキュメント](https://vxetable.cn)
|
|
94
|
-
|
|
95
|
-
## プロジェクトの実行
|
|
96
|
-
|
|
97
|
-
依存関係をインストールする
|
|
98
|
-
|
|
99
|
-
```shell
|
|
100
|
-
npm run update
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
ローカルデバッグを開始する
|
|
104
|
-
|
|
105
|
-
```shell
|
|
106
|
-
npm run serve
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
コンパイルパッケージング、生成されたコンパイルディレクトリ: es,lib
|
|
110
|
-
|
|
111
|
-
```shell
|
|
112
|
-
npm run lib
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
## ライセンス
|
|
116
|
-
|
|
117
|
-
[MIT](LICENSE) © 2019-present, Xu Liangzhan
|
|
1
|
+
# vxe-table
|
|
2
|
+
|
|
3
|
+
[简体中文](README.md) | [繁體中文](README.zh-TW.md) | [English](README.en.md) | 日本語
|
|
4
|
+
|
|
5
|
+
[](https://github.com/x-extends/vxe-table/stargazers)
|
|
6
|
+
[](https://gitee.com/x-extends/vxe-table/stargazers)
|
|
7
|
+
[](https://gitcode.com/x-extends/vxe-table/stargazers)
|
|
8
|
+
[](https://github.com/x-extends/vxe-table/actions/workflows/webpack.yml)
|
|
9
|
+
[](https://npm-stat.com/charts.html?package=vxe-table)
|
|
10
|
+
[](https://github.com/x-extends/vxe-table/issues)
|
|
11
|
+
[](https://github.com/x-extends/vxe-table/issues?q=is%3Aissue+is%3Aclosed)
|
|
12
|
+
[](https://github.com/x-extends/vxe-table/pulls)
|
|
13
|
+
[](https://github.com/x-extends/vxe-table/pulls?q=is%3Apr+is%3Aclosed)
|
|
14
|
+
[](LICENSE)
|
|
15
|
+
|
|
16
|
+
[Vxe UI](https://github.com/x-extends/vxe-pc-ui) エンドの表構成要素をベースに、コピペ、データ透視テーブル、仮想リストをサポートする高性能な企業向け表作成ソリューションです。
|
|
17
|
+
|
|
18
|
+
## ブラウザサポート
|
|
19
|
+
|
|
20
|
+
 |  |  |  | 
|
|
21
|
+
--- | --- | --- | --- | --- |
|
|
22
|
+
最新 ✔ | 最新 ✔ | 最新 ✔ | 最新 ✔ | 最新 ✔ |
|
|
23
|
+
|
|
24
|
+
## インストール
|
|
25
|
+
|
|
26
|
+
バージョン: [vue](https://www.npmjs.com/package/vue) 3.x
|
|
27
|
+
|
|
28
|
+
```shell
|
|
29
|
+
npm install vxe-table@next
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[unpkg](https://unpkg.com/vxe-table/) および [cdnjs](https://cdn.jsdelivr.net/npm/vxe-table/) で入手可能
|
|
33
|
+
|
|
34
|
+
### NPM
|
|
35
|
+
|
|
36
|
+
```javascript
|
|
37
|
+
// ...
|
|
38
|
+
import VxeUITable from 'vxe-table'
|
|
39
|
+
import 'vxe-table/lib/style.css'
|
|
40
|
+
// ...
|
|
41
|
+
|
|
42
|
+
createApp(App).use(VxeUITable).mount('#app')
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### CDN
|
|
46
|
+
|
|
47
|
+
サードパーティのCDNを使用する場合は、バージョン番号をロックして、互換性のない更新の影響を受けないようにしてください。
|
|
48
|
+
***サードパーティのCDNアドレスを正式な環境で使用することはお勧めしません。接続がいつでも失敗する可能性があるためです***
|
|
49
|
+
|
|
50
|
+
```HTML
|
|
51
|
+
<!-- style -->
|
|
52
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vxe-pc-ui/lib/style.css">
|
|
53
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vxe-table@next/lib/style.css">
|
|
54
|
+
<!-- vue -->
|
|
55
|
+
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
|
|
56
|
+
<!-- table -->
|
|
57
|
+
<script src="https://cdn.jsdelivr.net/npm/xe-utils"></script>
|
|
58
|
+
<script src="https://cdn.jsdelivr.net/npm/vxe-pc-ui"></script>
|
|
59
|
+
<script src="https://cdn.jsdelivr.net/npm/vxe-table@next"></script>
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## 例
|
|
63
|
+
|
|
64
|
+
```html
|
|
65
|
+
<template>
|
|
66
|
+
<div>
|
|
67
|
+
<vxe-table :data="tableData">
|
|
68
|
+
<vxe-column type="seq" title="Seq" width="60"></vxe-column>
|
|
69
|
+
<vxe-column field="name" title="Name"></vxe-column>
|
|
70
|
+
<vxe-column field="role" title="Role"></vxe-column>
|
|
71
|
+
<vxe-colgroup title="Group1">
|
|
72
|
+
<vxe-column field="sex" title="Sex"></vxe-column>
|
|
73
|
+
<vxe-column field="address" title="Address"></vxe-column>
|
|
74
|
+
</vxe-colgroup>
|
|
75
|
+
</vxe-table>
|
|
76
|
+
</div>
|
|
77
|
+
</template>
|
|
78
|
+
|
|
79
|
+
<script lang="ts" setup>
|
|
80
|
+
import { ref } from 'vue'
|
|
81
|
+
|
|
82
|
+
const tableData = ref([
|
|
83
|
+
{ id: 10001, name: 'Test1', role: 'Develop', sex: 'Man', address: 'Shenzhen' },
|
|
84
|
+
{ id: 10002, name: 'Test2', role: 'Test', sex: 'Man', address: 'Guangzhou' },
|
|
85
|
+
{ id: 10003, name: 'Test3', role: 'PM', sex: 'Man', address: 'Shanghai' }
|
|
86
|
+
])
|
|
87
|
+
</script>
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## オンラインドキュメント
|
|
91
|
+
|
|
92
|
+
👉 [UIドキュメント](https://vxeui.com)
|
|
93
|
+
👉 [テーブルドキュメント](https://vxetable.cn)
|
|
94
|
+
|
|
95
|
+
## プロジェクトの実行
|
|
96
|
+
|
|
97
|
+
依存関係をインストールする
|
|
98
|
+
|
|
99
|
+
```shell
|
|
100
|
+
npm run update
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
ローカルデバッグを開始する
|
|
104
|
+
|
|
105
|
+
```shell
|
|
106
|
+
npm run serve
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
コンパイルパッケージング、生成されたコンパイルディレクトリ: es,lib
|
|
110
|
+
|
|
111
|
+
```shell
|
|
112
|
+
npm run lib
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## ライセンス
|
|
116
|
+
|
|
117
|
+
[MIT](LICENSE) © 2019-present, Xu Liangzhan
|