diff --git a/.eslintrc.js b/.eslintrc.js
index 3817900773..8853509017 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -15,7 +15,6 @@ module.exports = {
'no-console': 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'@typescript-eslint/no-unused-vars': process.env.NODE_ENV === 'production' ? 'error' : 'warn',
- '@typescript-eslint/no-explicit-any': 'off',
- 'vue/multi-word-component-names': 'off'
+ '@typescript-eslint/no-explicit-any': 'off'
}
}
diff --git a/.gitee/ISSUE_TEMPLATE/bug_report.yml b/.gitee/ISSUE_TEMPLATE/bug_report.yml
index ee0c6ab6df..24b895f67b 100644
--- a/.gitee/ISSUE_TEMPLATE/bug_report.yml
+++ b/.gitee/ISSUE_TEMPLATE/bug_report.yml
@@ -5,10 +5,18 @@ body:
- type: input
id: issue_link
attributes:
- label: "可复现的链接:"
- description: "一个最小化的重现示例能让我们精确地定位问题,从而快速解决问题。如何创建,点击 v3:[codesandbox](https://codesandbox.io/s/vue-template-916h0)、[jsfiddle](https://jsfiddle.net/86p7Ltny/)、[jsrun](https://jsrun.net/vIyKp/edit) 或 v4:[codesandbox](https://codesandbox.io/s/vxe-table-wentiyanshi-forked-54v2j)、[jsfiddle](https://jsfiddle.net/9qoghkbj/)、[jsrun](https://jsrun.net/K5IKp/edit),将代码示例编辑后保存。"
+ label: "可复现的链接(必须为公开链接,仅包含能复现问题的示例代码):"
+ description: "一个最小化的重现示例能让我们精确地定位问题,从而快速解决问题。"
validations:
required: true
+- type: checkboxes
+ id: issue_confirm_read_agreement
+ attributes:
+ label: "是否已准备好复现链接与示例代码?"
+ description: "按要求准备好复现 Demo,复现 Demo 操作步骤:https://vxetable.cn/issues.html"
+ options:
+ - label: "我确定已准备好以上复现链接"
+ required: true
- type: textarea
id: issue_describe
attributes:
@@ -17,7 +25,7 @@ body:
required: true
- type: markdown
attributes:
- value: "在发布问题之前,请仔细阅读所填写的步骤,以确保是详细和清晰的。"
+ value: "在发布问题之前,请先查阅[最新文档](https://vxetable.cn/)确保使用的是最新版本,并仔细阅读所填写的步骤,以确保是详细和清晰的。"
- type: input
id: issue_expect
attributes:
@@ -40,13 +48,28 @@ body:
id: issue_vue_version
attributes:
label: "vue 版本:"
- placeholder: "例如:2.6.0"
+ placeholder: "例如:3.4.27"
+ validations:
+ required: true
+- type: input
+ id: issue_vxe_ui_version
+ attributes:
+ label: "vxe-pc-ui 版本:"
+ placeholder: "例如:4.3.51"
validations:
required: true
- type: input
- id: issue_vxe_version
+ id: issue_vxe_table_version
attributes:
label: "vxe-table 版本:"
- placeholder: "例如:3.4.0"
+ placeholder: "例如:4.9.35"
validations:
required: true
+- type: checkboxes
+ id: issue_confirm_latest_version
+ attributes:
+ label: "是否使用当前最新版本?"
+ description: "仅支持提交最新版本的问题反馈,非最新版本不予处理,一律自动关闭"
+ options:
+ - label: "我确定已经更新到最新版本后依然存在该问题"
+ required: true
\ No newline at end of file
diff --git a/.gitee/ISSUE_TEMPLATE/feature_request.yml b/.gitee/ISSUE_TEMPLATE/feature_request.yml
index 039b9b23ea..53b241c7f1 100644
--- a/.gitee/ISSUE_TEMPLATE/feature_request.yml
+++ b/.gitee/ISSUE_TEMPLATE/feature_request.yml
@@ -10,7 +10,7 @@ body:
required: true
- type: markdown
attributes:
- value: "请先查看[最新文档](https://xuliangzhan_admin.gitee.io/vxe-table/#/table/api),确定该功能是否已有实现"
+ value: "请先查阅[最新文档](https://vxetable.cn/),确定该功能是否已有实现"
- type: textarea
id: issue_api_describe
attributes:
@@ -25,3 +25,11 @@ body:
- type: markdown
attributes:
value: "如果有其他已实现的方案,可以通过链接或截图描述一下"
+- type: checkboxes
+ id: issue_confirm_latest_version
+ attributes:
+ label: "是否使用当前最新版本?"
+ description: "官方只维护最新版本,如果不是最新版本,请先更新到[最新版本](https://vxetable.cn/)之后再反馈问题!"
+ options:
+ - label: "我已确认是使用当前的最新版本。"
+ required: true
\ No newline at end of file
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index ee0c6ab6df..24b895f67b 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -5,10 +5,18 @@ body:
- type: input
id: issue_link
attributes:
- label: "可复现的链接:"
- description: "一个最小化的重现示例能让我们精确地定位问题,从而快速解决问题。如何创建,点击 v3:[codesandbox](https://codesandbox.io/s/vue-template-916h0)、[jsfiddle](https://jsfiddle.net/86p7Ltny/)、[jsrun](https://jsrun.net/vIyKp/edit) 或 v4:[codesandbox](https://codesandbox.io/s/vxe-table-wentiyanshi-forked-54v2j)、[jsfiddle](https://jsfiddle.net/9qoghkbj/)、[jsrun](https://jsrun.net/K5IKp/edit),将代码示例编辑后保存。"
+ label: "可复现的链接(必须为公开链接,仅包含能复现问题的示例代码):"
+ description: "一个最小化的重现示例能让我们精确地定位问题,从而快速解决问题。"
validations:
required: true
+- type: checkboxes
+ id: issue_confirm_read_agreement
+ attributes:
+ label: "是否已准备好复现链接与示例代码?"
+ description: "按要求准备好复现 Demo,复现 Demo 操作步骤:https://vxetable.cn/issues.html"
+ options:
+ - label: "我确定已准备好以上复现链接"
+ required: true
- type: textarea
id: issue_describe
attributes:
@@ -17,7 +25,7 @@ body:
required: true
- type: markdown
attributes:
- value: "在发布问题之前,请仔细阅读所填写的步骤,以确保是详细和清晰的。"
+ value: "在发布问题之前,请先查阅[最新文档](https://vxetable.cn/)确保使用的是最新版本,并仔细阅读所填写的步骤,以确保是详细和清晰的。"
- type: input
id: issue_expect
attributes:
@@ -40,13 +48,28 @@ body:
id: issue_vue_version
attributes:
label: "vue 版本:"
- placeholder: "例如:2.6.0"
+ placeholder: "例如:3.4.27"
+ validations:
+ required: true
+- type: input
+ id: issue_vxe_ui_version
+ attributes:
+ label: "vxe-pc-ui 版本:"
+ placeholder: "例如:4.3.51"
validations:
required: true
- type: input
- id: issue_vxe_version
+ id: issue_vxe_table_version
attributes:
label: "vxe-table 版本:"
- placeholder: "例如:3.4.0"
+ placeholder: "例如:4.9.35"
validations:
required: true
+- type: checkboxes
+ id: issue_confirm_latest_version
+ attributes:
+ label: "是否使用当前最新版本?"
+ description: "仅支持提交最新版本的问题反馈,非最新版本不予处理,一律自动关闭"
+ options:
+ - label: "我确定已经更新到最新版本后依然存在该问题"
+ required: true
\ No newline at end of file
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
index 039b9b23ea..53b241c7f1 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.yml
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -10,7 +10,7 @@ body:
required: true
- type: markdown
attributes:
- value: "请先查看[最新文档](https://xuliangzhan_admin.gitee.io/vxe-table/#/table/api),确定该功能是否已有实现"
+ value: "请先查阅[最新文档](https://vxetable.cn/),确定该功能是否已有实现"
- type: textarea
id: issue_api_describe
attributes:
@@ -25,3 +25,11 @@ body:
- type: markdown
attributes:
value: "如果有其他已实现的方案,可以通过链接或截图描述一下"
+- type: checkboxes
+ id: issue_confirm_latest_version
+ attributes:
+ label: "是否使用当前最新版本?"
+ description: "官方只维护最新版本,如果不是最新版本,请先更新到[最新版本](https://vxetable.cn/)之后再反馈问题!"
+ options:
+ - label: "我已确认是使用当前的最新版本。"
+ required: true
\ No newline at end of file
diff --git a/README.en.md b/README.en.md
index a94ca61d5e..a226697137 100644
--- a/README.en.md
+++ b/README.en.md
@@ -1,8 +1,8 @@
# vxe-table
-[简体中文](README.md) | [繁體中文](README.zh-TW.md) | English
+[简体中文](README.md) | [繁體中文](README.zh-TW.md) | English | [日本語](README.ja-JP.md)
-[![star](https://gitee.com/xuliangzhan_admin/vxe-table/badge/star.svg?theme=gvp)](https://gitee.com/xuliangzhan_admin/vxe-table/stargazers)
+[![star](https://gitee.com/x-extends/vxe-table/badge/star.svg?theme=gvp)](https://gitee.com/x-extends/vxe-table/stargazers)
[![npm version](https://img.shields.io/npm/v/vxe-table.svg?style=flat-square)](https://www.npmjs.com/package/vxe-table)
[![NodeJS with Webpack](https://github.com/x-extends/vxe-table/actions/workflows/webpack.yml/badge.svg)](https://github.com/x-extends/vxe-table/actions/workflows/webpack.yml)
[![npm downloads](https://img.shields.io/npm/dt/vxe-table.svg?style=flat-square)](https://npm-stat.com/charts.html?package=vxe-table)
@@ -12,7 +12,7 @@
[![pull requests closed](https://img.shields.io/github/issues-pr-closed/x-extends/vxe-table.svg)](https://github.com/x-extends/vxe-table/pulls?q=is%3Apr+is%3Aclosed)
[![npm license](https://img.shields.io/github/license/mashape/apistatus.svg)](LICENSE)
-A [vue](https://www.npmjs.com/package/vue) based PC form component, support add delete change check, virtual tree, column drag and drop, lazy loading, shortcut menu, data verification, import/export/print, form rendering, custom template, renderer, JSON configuration...
+A [vue](https://www.npmjs.com/package/vue) based PC form component, support add delete change check, virtual tree, drag and drop, lazy loading, shortcut menu, data verification, import/export/print, form rendering, custom template, renderer, JSON configuration...
## Browser Support
@@ -28,6 +28,8 @@ Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
* [x] Table with border
* [x] Cell style
* [x] Column resizing
+* [x] Column drag and drop
+* [x] Row drag and drop
* [x] Minimum/maximum height
* [x] Resize height & width
* [x] Fixed column
@@ -64,25 +66,44 @@ Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
* [x] ([Enterprise](https://vxetable.cn/pluginDocs/)) Cell copy & paste
* [x] ([Enterprise](https://vxetable.cn/pluginDocs/)) Cell find and replace
* [x] ([Enterprise](https://vxetable.cn/pluginDocs/)) Full keyboard operation
+* [x] ([Enterprise](https://vxetable.cn/pluginDocs/)) Integrated chart
## Installing
Version: [vue](https://www.npmjs.com/package/vue) 3.x
```shell
-npm install vxe-table
+npm install vxe-table@next
```
Get on [unpkg](https://unpkg.com/vxe-table/) and [cdnjs](https://cdn.jsdelivr.net/npm/vxe-table/)
-### npm
+### NPM
+
+### Use Table
+
+```javascript
+// ...
+import VxeTable from 'vxe-table'
+import 'vxe-table/lib/style.css'
+// ...
+
+createApp(App).use(VxeTable).mount('#app')
+```
+
+### Use Table and UI
```javascript
-import { createApp } from 'vue'
-import VxeUITable from 'vxe-table'
+// ...
+import VxeTable from 'vxe-table'
import 'vxe-table/lib/style.css'
+// ...
+
+import VxeUI from 'vxe-pc-ui'
+import 'vxe-pc-ui/lib/style.css'
+// ...
-createApp(App).use(VxeUITable).mount('#app')
+createApp(App).use(VxeUI).use(VxeTable).mount('#app')
```
### CDN
@@ -91,11 +112,15 @@ Use a third-party CDN to remember to lock the version number to avoid being affe
***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***
```HTML
-
-
-
-
-
+
+
+
+
+
+
+
+
+
```
## Example
@@ -128,14 +153,15 @@ const tableData = ref([
## Online Documents
-👉 [Document](https://vxetable.cn)
+👉 [UI Document](https://vxeui.com)
+👉 [Table Document](https://vxetable.cn)
## Run the project
Install dependencies
```shell
-npm install
+npm run update
```
Start local debugging
diff --git a/README.ja-JP.md b/README.ja-JP.md
new file mode 100644
index 0000000000..1694809668
--- /dev/null
+++ b/README.ja-JP.md
@@ -0,0 +1,187 @@
+# vxe-table
+
+[简体中文](README.md) | [繁體中文](README.zh-TW.md) | [English](README.en.md) | 日本語
+
+[![star](https://gitee.com/x-extends/vxe-table/badge/star.svg?theme=gvp)](https://gitee.com/x-extends/vxe-table/stargazers)
+[![npm version](https://img.shields.io/npm/v/vxe-table.svg?style=flat-square)](https://www.npmjs.com/package/vxe-table)
+[![NodeJS with Webpack](https://github.com/x-extends/vxe-table/actions/workflows/webpack.yml/badge.svg)](https://github.com/x-extends/vxe-table/actions/workflows/webpack.yml)
+[![npm downloads](https://img.shields.io/npm/dt/vxe-table.svg?style=flat-square)](https://npm-stat.com/charts.html?package=vxe-table)
+[![issues](https://img.shields.io/github/issues/x-extends/vxe-table.svg)](https://github.com/x-extends/vxe-table/issues)
+[![issues closed](https://img.shields.io/github/issues-closed/x-extends/vxe-table.svg)](https://github.com/x-extends/vxe-table/issues?q=is%3Aissue+is%3Aclosed)
+[![pull requests](https://img.shields.io/github/issues-pr/x-extends/vxe-table.svg)](https://github.com/x-extends/vxe-table/pulls)
+[![pull requests closed](https://img.shields.io/github/issues-pr-closed/x-extends/vxe-table.svg)](https://github.com/x-extends/vxe-table/pulls?q=is%3Apr+is%3Aclosed)
+[![npm license](https://img.shields.io/github/license/mashape/apistatus.svg)](LICENSE)
+
+[vue](https://www.npmjs.com/package/vue) ベースのPCフォームコンポーネントで、追加、削除、変更、チェック、仮想ツリー、列のドラッグアンドドロップ、遅延読み込み、ショートカットメニュー、データ検証、インポート/エクスポート/印刷、フォームレンダリング、カスタムテンプレート、レンダラー、JSON構成をサポートします...
+
+## ブラウザサポート
+
+![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/master/src/opera/opera_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png)
+--- | --- | --- | --- | --- |
+最新 ✔ | 最新 ✔ | 最新 ✔ | 最新 ✔ | 最新 ✔ |
+
+## 機能
+
+* [x] 基本テーブル
+* [x] 構成グリッド
+* [x] ストライプ
+* [x] 境界線付きテーブル
+* [x] セルスタイル
+* [x] 列のサイズ変更
+* [x] 列拖拽排序
+* [x] 行拖拽排序
+* [x] 最小/最大高さ
+* [x] 高さと幅のリサイズ
+* [x] 固定列
+* [x] グループ化テーブルヘッダー
+* [x] テーブルフッター
+* [x] 行と列のハイライト
+* [x] テーブルシーケンス
+* [x] ラジオ
+* [x] チェックボックス
+* [x] ソート
+* [x] 複数フィールドのソート
+* [x] フィルター
+* [x] セルの結合
+* [x] フッター項目の結合
+* [x] インポート/エクスポート/印刷
+* [x] 列の表示/非表示
+* [x] ドラッグアンドドロップ/カスタマイズ列の並べ替え
+* [x] ローディング
+* [x] フォーマットされたセル
+* [x] スロット - テンプレート
+* [x] コンテキストメニュー
+* [x] 詳細 - 展開可能な行
+* [x] ツールバー
+* [x] 仮想ツリー
+* [x] 編集可能なCRUD
+* [x] 検証
+* [x] データプロキシ
+* [x] キーボードナビゲーション
+* [x] VxeGlobalRenderer
+* [x] 仮想スクロール
+* [x] 仮想マージ
+* [x] CSS変数テーマ
+* [x] ([エンタープライズ](https://vxetable.cn/pluginDocs/)) セル領域選択
+* [x] ([エンタープライズ](https://vxetable.cn/pluginDocs/)) セルのコピー&ペースト
+* [x] ([エンタープライズ](https://vxetable.cn/pluginDocs/)) セルの検索と置換
+* [x] ([エンタープライズ](https://vxetable.cn/pluginDocs/)) フルキーボード操作
+* [x] ([エンタープライズ](https://vxetable.cn/pluginDocs/)) 集成图表
+
+## インストール
+
+バージョン: [vue](https://www.npmjs.com/package/vue) 3.x
+
+```shell
+npm install vxe-table@next
+```
+
+[unpkg](https://unpkg.com/vxe-table/) および [cdnjs](https://cdn.jsdelivr.net/npm/vxe-table/) で入手可能
+
+### NPM
+
+### テーブルの使用
+
+```javascript
+// ...
+import VxeTable from 'vxe-table'
+import 'vxe-table/lib/style.css'
+// ...
+
+createApp(App).use(VxeTable).mount('#app')
+```
+
+### テーブルとUIの使用
+
+```javascript
+// ...
+import VxeTable from 'vxe-table'
+import 'vxe-table/lib/style.css'
+// ...
+
+import VxeUI from 'vxe-pc-ui'
+import 'vxe-pc-ui/lib/style.css'
+// ...
+
+createApp(App).use(VxeUI).use(VxeTable).mount('#app')
+```
+
+### CDN
+
+サードパーティのCDNを使用する場合は、バージョン番号をロックして、互換性のない更新の影響を受けないようにしてください。
+***サードパーティのCDNアドレスを正式な環境で使用することはお勧めしません。接続がいつでも失敗する可能性があるためです***
+
+```HTML
+
+
+
+
+
+
+
+
+
+```
+
+## 例
+
+```html
+
+
两步快速演示问题:
-