vxe-table 4.13.39 → 4.13.40
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/README.en.md +2 -0
- package/README.ja-JP.md +2 -0
- package/README.md +3 -0
- package/README.zh-TW.md +3 -1
- package/es/grid/src/grid.js +21 -6
- package/es/{iconfont.1749800539928.ttf → iconfont.1750082858834.ttf} +0 -0
- package/es/iconfont.1750082858834.woff +0 -0
- package/es/iconfont.1750082858834.woff2 +0 -0
- package/es/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/locale/lang/ar-EG.js +6 -0
- package/es/locale/lang/de-DE.js +6 -0
- package/es/locale/lang/en-US.js +6 -0
- package/es/locale/lang/es-ES.js +6 -0
- package/es/locale/lang/fr-FR.js +6 -0
- package/es/locale/lang/hu-HU.js +6 -0
- package/es/locale/lang/hy-AM.js +6 -0
- package/es/locale/lang/id-ID.js +6 -0
- package/es/locale/lang/it-IT.js +6 -0
- package/es/locale/lang/ja-JP.js +6 -0
- package/es/locale/lang/ko-KR.js +6 -0
- package/es/locale/lang/ms-MY.js +6 -0
- package/es/locale/lang/nb-NO.js +6 -0
- package/es/locale/lang/pt-BR.js +6 -0
- package/es/locale/lang/ru-RU.js +6 -0
- package/es/locale/lang/th-TH.js +6 -0
- package/es/locale/lang/ug-CN.js +6 -0
- package/es/locale/lang/uk-UA.js +6 -0
- package/es/locale/lang/uz-UZ.js +6 -0
- package/es/locale/lang/vi-VN.js +6 -0
- package/es/locale/lang/zh-CHT.js +6 -0
- package/es/locale/lang/zh-CN.js +6 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/custom/hook.js +29 -4
- package/es/table/module/custom/panel.js +105 -93
- package/es/table/module/export/export-panel.js +3 -2
- package/es/table/module/export/import-panel.js +3 -2
- package/es/table/module/filter/panel.js +3 -2
- package/es/table/module/menu/panel.js +3 -2
- package/es/table/src/body.js +7 -5
- package/es/table/src/column.js +3 -2
- package/es/table/src/footer.js +3 -2
- package/es/table/src/group.js +3 -2
- package/es/table/src/header.js +3 -2
- package/es/table/src/props.js +28 -7
- package/es/table/src/table.js +64 -47
- package/es/table/style.css +22 -3
- package/es/table/style.min.css +1 -1
- package/es/toolbar/src/toolbar.js +3 -2
- package/es/ui/index.js +3 -0
- package/es/ui/src/comp.js +2 -0
- package/es/vxe-table/style.css +22 -3
- package/es/vxe-table/style.min.css +1 -1
- package/lib/grid/src/grid.js +20 -5
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/{iconfont.1749800539928.ttf → iconfont.1750082858834.ttf} +0 -0
- package/lib/iconfont.1750082858834.woff +0 -0
- package/lib/iconfont.1750082858834.woff2 +0 -0
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +146 -48
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +6 -0
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +6 -0
- package/lib/locale/lang/de-DE.js +6 -0
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +6 -0
- package/lib/locale/lang/en-US.js +6 -0
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +6 -0
- package/lib/locale/lang/es-ES.js +6 -0
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +6 -0
- package/lib/locale/lang/fr-FR.js +6 -0
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +6 -0
- package/lib/locale/lang/hu-HU.js +6 -0
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +6 -0
- package/lib/locale/lang/hy-AM.js +6 -0
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +6 -0
- package/lib/locale/lang/id-ID.js +6 -0
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +6 -0
- package/lib/locale/lang/it-IT.js +6 -0
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +6 -0
- package/lib/locale/lang/ja-JP.js +6 -0
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +6 -0
- package/lib/locale/lang/ko-KR.js +6 -0
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +6 -0
- package/lib/locale/lang/ms-MY.js +6 -0
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +6 -0
- package/lib/locale/lang/nb-NO.js +6 -0
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +6 -0
- package/lib/locale/lang/pt-BR.js +6 -0
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +6 -0
- package/lib/locale/lang/ru-RU.js +6 -0
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +6 -0
- package/lib/locale/lang/th-TH.js +6 -0
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +6 -0
- package/lib/locale/lang/ug-CN.js +6 -0
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +6 -0
- package/lib/locale/lang/uk-UA.js +6 -0
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +6 -0
- package/lib/locale/lang/uz-UZ.js +6 -0
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +6 -0
- package/lib/locale/lang/vi-VN.js +6 -0
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +6 -0
- package/lib/locale/lang/zh-CHT.js +6 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +6 -0
- package/lib/locale/lang/zh-CN.js +6 -0
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +6 -0
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/custom/hook.js +32 -4
- package/lib/table/module/custom/hook.min.js +1 -1
- package/lib/table/module/custom/panel.js +14 -3
- package/lib/table/module/custom/panel.min.js +1 -1
- package/lib/table/module/export/export-panel.js +2 -1
- package/lib/table/module/export/export-panel.min.js +1 -1
- package/lib/table/module/export/import-panel.js +2 -1
- package/lib/table/module/export/import-panel.min.js +1 -1
- package/lib/table/module/filter/panel.js +2 -1
- package/lib/table/module/filter/panel.min.js +1 -1
- package/lib/table/module/menu/panel.js +2 -1
- package/lib/table/module/menu/panel.min.js +1 -1
- package/lib/table/src/body.js +9 -9
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/column.js +2 -1
- package/lib/table/src/column.min.js +1 -1
- package/lib/table/src/footer.js +2 -1
- package/lib/table/src/footer.min.js +1 -1
- package/lib/table/src/group.js +2 -1
- package/lib/table/src/group.min.js +1 -1
- package/lib/table/src/header.js +2 -1
- package/lib/table/src/header.min.js +1 -1
- package/lib/table/src/props.js +28 -7
- package/lib/table/src/table.js +13 -11
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +22 -3
- package/lib/table/style/style.min.css +1 -1
- package/lib/toolbar/src/toolbar.js +2 -1
- package/lib/toolbar/src/toolbar.min.js +1 -1
- package/lib/ui/index.js +3 -0
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/comp.js +8 -0
- package/lib/ui/src/comp.min.js +1 -0
- package/lib/vxe-table/style/style.css +22 -3
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/grid/src/grid.ts +29 -7
- package/packages/locale/lang/ar-EG.ts +6 -0
- package/packages/locale/lang/de-DE.ts +6 -0
- package/packages/locale/lang/en-US.ts +6 -0
- package/packages/locale/lang/es-ES.ts +6 -0
- package/packages/locale/lang/fr-FR.ts +6 -0
- package/packages/locale/lang/hu-HU.ts +6 -0
- package/packages/locale/lang/hy-AM.ts +6 -0
- package/packages/locale/lang/id-ID.ts +6 -0
- package/packages/locale/lang/it-IT.ts +6 -0
- package/packages/locale/lang/ja-JP.ts +6 -0
- package/packages/locale/lang/ko-KR.ts +6 -0
- package/packages/locale/lang/ms-MY.ts +6 -0
- package/packages/locale/lang/nb-NO.ts +6 -0
- package/packages/locale/lang/pt-BR.ts +6 -0
- package/packages/locale/lang/ru-RU.ts +6 -0
- package/packages/locale/lang/th-TH.ts +6 -0
- package/packages/locale/lang/ug-CN.ts +6 -0
- package/packages/locale/lang/uk-UA.ts +6 -0
- package/packages/locale/lang/uz-UZ.ts +6 -0
- package/packages/locale/lang/vi-VN.ts +6 -0
- package/packages/locale/lang/zh-CHT.ts +6 -0
- package/packages/locale/lang/zh-CN.ts +6 -0
- package/packages/table/module/custom/hook.ts +27 -4
- package/packages/table/module/custom/panel.ts +114 -102
- package/packages/table/module/export/export-panel.ts +3 -2
- package/packages/table/module/export/import-panel.ts +3 -2
- package/packages/table/module/filter/panel.ts +3 -2
- package/packages/table/module/menu/panel.ts +3 -2
- package/packages/table/src/body.ts +10 -8
- package/packages/table/src/cell.ts +14 -14
- package/packages/table/src/column.ts +3 -2
- package/packages/table/src/footer.ts +3 -2
- package/packages/table/src/group.ts +3 -2
- package/packages/table/src/header.ts +3 -2
- package/packages/table/src/props.ts +28 -7
- package/packages/table/src/table.ts +66 -46
- package/packages/toolbar/src/toolbar.ts +3 -2
- package/packages/ui/index.ts +11 -0
- package/packages/ui/src/comp.ts +3 -0
- package/styles/components/icon.scss +13 -1
- package/styles/components/table-module/custom.scss +9 -2
- package/styles/icon/iconfont.ttf +0 -0
- package/styles/icon/iconfont.woff +0 -0
- package/styles/icon/iconfont.woff2 +0 -0
- package/es/iconfont.1749800539928.woff +0 -0
- package/es/iconfont.1749800539928.woff2 +0 -0
- package/lib/iconfont.1749800539928.woff +0 -0
- package/lib/iconfont.1749800539928.woff2 +0 -0
package/README.en.md
CHANGED
|
@@ -44,6 +44,7 @@ Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
|
|
|
44
44
|
* [x] Filter
|
|
45
45
|
* [x] Merged cells
|
|
46
46
|
* [x] Merged footer items
|
|
47
|
+
* [x] 行分组
|
|
47
48
|
* [x] Import/Export/Print
|
|
48
49
|
* [x] Show/Hide column
|
|
49
50
|
* [x] Drag and drop/Customize column sorting
|
|
@@ -62,6 +63,7 @@ Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
|
|
|
62
63
|
* [x] Virtual scroll
|
|
63
64
|
* [x] Virtual merger
|
|
64
65
|
* [x] CSS Variable Theme
|
|
66
|
+
* [x] ([Enterprise](https://vxetable.cn/pluginDocs/)) Data grouping and aggregation
|
|
65
67
|
* [x] ([Enterprise](https://vxetable.cn/pluginDocs/)) Cell area selection
|
|
66
68
|
* [x] ([Enterprise](https://vxetable.cn/pluginDocs/)) Cell copy & paste
|
|
67
69
|
* [x] ([Enterprise](https://vxetable.cn/pluginDocs/)) Cell find and replace
|
package/README.ja-JP.md
CHANGED
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
* [x] フィルター
|
|
45
45
|
* [x] セルの結合
|
|
46
46
|
* [x] フッター項目の結合
|
|
47
|
+
* [x] 行分组
|
|
47
48
|
* [x] インポート/エクスポート/印刷
|
|
48
49
|
* [x] 列の表示/非表示
|
|
49
50
|
* [x] ドラッグアンドドロップ/カスタマイズ列の並べ替え
|
|
@@ -62,6 +63,7 @@
|
|
|
62
63
|
* [x] 仮想スクロール
|
|
63
64
|
* [x] 仮想マージ
|
|
64
65
|
* [x] CSS変数テーマ
|
|
66
|
+
* [x] ([エンタープライズ](https://vxetable.cn/pluginDocs/)) 数据分组与聚合函数
|
|
65
67
|
* [x] ([エンタープライズ](https://vxetable.cn/pluginDocs/)) セル領域選択
|
|
66
68
|
* [x] ([エンタープライズ](https://vxetable.cn/pluginDocs/)) セルのコピー&ペースト
|
|
67
69
|
* [x] ([エンタープライズ](https://vxetable.cn/pluginDocs/)) セルの検索と置換
|
package/README.md
CHANGED
|
@@ -83,6 +83,7 @@
|
|
|
83
83
|
* [x] 筛选
|
|
84
84
|
* [x] 合并单元格
|
|
85
85
|
* [x] 合并表尾
|
|
86
|
+
* [x] 行分组
|
|
86
87
|
* [x] 导入/导出/打印
|
|
87
88
|
* [x] 显示/隐藏列
|
|
88
89
|
* [x] 拖拽/自定义列排序
|
|
@@ -101,6 +102,8 @@
|
|
|
101
102
|
* [x] 虚拟滚动
|
|
102
103
|
* [x] 虚拟合并
|
|
103
104
|
* [x] CSS 变量主题
|
|
105
|
+
* [x] ([企业版](https://vxetable.cn/pluginDocs/)) 数据分组与聚合函数
|
|
106
|
+
* [x] ([企业版](https://vxetable.cn/pluginDocs/)) 数据分组与聚合函数
|
|
104
107
|
* [x] ([企业版](https://vxetable.cn/pluginDocs/)) 单元格区域选取
|
|
105
108
|
* [x] ([企业版](https://vxetable.cn/pluginDocs/)) 单元格复制/粘贴
|
|
106
109
|
* [x] ([企业版](https://vxetable.cn/pluginDocs/)) 单元格查找和替换
|
package/README.zh-TW.md
CHANGED
|
@@ -44,6 +44,7 @@ Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
|
|
|
44
44
|
* [x] 篩選
|
|
45
45
|
* [x] 儲存格合併
|
|
46
46
|
* [x] 合併錶尾
|
|
47
|
+
* [x] 行分组
|
|
47
48
|
* [x] 導入/匯出/列印
|
|
48
49
|
* [x] 顯示/隱藏列
|
|
49
50
|
* [x] 拖拽/自定義列排序
|
|
@@ -61,11 +62,12 @@ Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
|
|
|
61
62
|
* [x] 虛擬滾動
|
|
62
63
|
* [x] 虛擬合併
|
|
63
64
|
* [x] CSS 變量主題
|
|
65
|
+
* [x] ([企業版](https://vxetable.cn/pluginDocs/)) 数据分组与聚合函数
|
|
64
66
|
* [x] ([企業版](https://vxetable.cn/pluginDocs/)) 儲存格區域選取
|
|
65
67
|
* [x] ([企業版](https://vxetable.cn/pluginDocs/)) 儲存格複製/粘貼
|
|
66
68
|
* [x] ([企業版](https://vxetable.cn/pluginDocs/)) 儲存格查找和替換
|
|
67
69
|
* [x] ([企業版](https://vxetable.cn/pluginDocs/)) 全鍵盤操作
|
|
68
|
-
* [x] ([
|
|
70
|
+
* [x] ([企業版](https://vxetable.cn/pluginDocs/)) 集成图表
|
|
69
71
|
|
|
70
72
|
## 安裝
|
|
71
73
|
|
package/es/grid/src/grid.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, ref, computed, provide, reactive, onUnmounted, watch, nextTick, onMounted } from 'vue';
|
|
2
|
+
import { defineVxeComponent } from '../../ui/src/comp';
|
|
2
3
|
import XEUtils from 'xe-utils';
|
|
3
4
|
import { getLastZIndex, nextZIndex, isEnableConf } from '../../ui/src/utils';
|
|
4
5
|
import { getOffsetHeight, getPaddingTopBottomSize, getDomNode, toCssUnit } from '../../ui/src/dom';
|
|
@@ -27,7 +28,7 @@ const gridComponentEmits = [
|
|
|
27
28
|
'toolbar-tool-click',
|
|
28
29
|
'zoom'
|
|
29
30
|
];
|
|
30
|
-
export default
|
|
31
|
+
export default defineVxeComponent({
|
|
31
32
|
name: 'VxeGrid',
|
|
32
33
|
props: Object.assign(Object.assign({}, tableComponentProps), { layouts: Array, columns: Array, pagerConfig: Object, proxyConfig: Object, toolbarConfig: Object, formConfig: Object, zoomConfig: Object, size: {
|
|
33
34
|
type: String,
|
|
@@ -518,18 +519,32 @@ export default defineComponent({
|
|
|
518
519
|
}
|
|
519
520
|
else {
|
|
520
521
|
const toolbarOptSlots = toolbarOpts.slots;
|
|
521
|
-
let buttonsSlot;
|
|
522
|
-
let toolsSlot;
|
|
523
522
|
const toolbarSlots = {};
|
|
524
523
|
if (toolbarOptSlots) {
|
|
525
|
-
buttonsSlot = getFuncSlot(toolbarOptSlots, 'buttons');
|
|
526
|
-
|
|
524
|
+
const buttonsSlot = getFuncSlot(toolbarOptSlots, 'buttons');
|
|
525
|
+
const buttonPrefixSlot = getFuncSlot(toolbarOptSlots, 'buttonPrefix');
|
|
526
|
+
const buttonSuffixSlot = getFuncSlot(toolbarOptSlots, 'buttonSuffix');
|
|
527
|
+
const toolsSlot = getFuncSlot(toolbarOptSlots, 'tools');
|
|
528
|
+
const toolPrefixSlot = getFuncSlot(toolbarOptSlots, 'toolPrefix');
|
|
529
|
+
const toolSuffixSlot = getFuncSlot(toolbarOptSlots, 'toolSuffix');
|
|
527
530
|
if (buttonsSlot) {
|
|
528
531
|
toolbarSlots.buttons = buttonsSlot;
|
|
529
532
|
}
|
|
533
|
+
if (buttonPrefixSlot) {
|
|
534
|
+
toolbarSlots.buttonPrefix = buttonPrefixSlot;
|
|
535
|
+
}
|
|
536
|
+
if (buttonSuffixSlot) {
|
|
537
|
+
toolbarSlots.buttonSuffix = buttonSuffixSlot;
|
|
538
|
+
}
|
|
530
539
|
if (toolsSlot) {
|
|
531
540
|
toolbarSlots.tools = toolsSlot;
|
|
532
541
|
}
|
|
542
|
+
if (toolPrefixSlot) {
|
|
543
|
+
toolbarSlots.toolPrefix = toolPrefixSlot;
|
|
544
|
+
}
|
|
545
|
+
if (toolSuffixSlot) {
|
|
546
|
+
toolbarSlots.toolSuffix = toolSuffixSlot;
|
|
547
|
+
}
|
|
533
548
|
}
|
|
534
549
|
slotVNs.push(h(VxeToolbarComponent, Object.assign(Object.assign({ ref: refToolbar }, toolbarOpts), { slots: undefined }), toolbarSlots));
|
|
535
550
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|