vxe-table 3.20.7 → 3.20.8
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.md +106 -106
- package/es/index.esm.js +2 -1
- package/es/style.css +1 -1
- package/es/table/src/methods.js +75 -78
- package/es/table/src/table.js +10 -1
- package/es/table/src/util.js +6 -0
- package/es/table/style.css +18 -48
- package/es/ui/index.js +1 -1
- package/es/ui/src/dom.js +19 -20
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +18 -48
- package/lib/index.common.js +2 -1
- package/lib/index.umd.js +1912 -3228
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/methods.js +12 -10
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +9 -1
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/src/util.js +6 -0
- package/lib/table/src/util.min.js +1 -1
- package/lib/table/style/style.css +18 -48
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/dom.js +21 -20
- package/lib/ui/src/dom.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 +2 -1
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/vxe-colgroup/index.js +2 -1
- package/lib/vxe-colgroup/index.min.js +1 -1
- package/lib/vxe-column/index.js +2 -1
- package/lib/vxe-column/index.min.js +1 -1
- package/lib/vxe-grid/index.js +2 -1
- package/lib/vxe-grid/index.min.js +1 -1
- package/lib/vxe-table/index.js +2 -1
- package/lib/vxe-table/index.min.js +1 -1
- package/lib/vxe-table/style/style.css +18 -48
- package/lib/vxe-toolbar/index.js +2 -1
- package/lib/vxe-toolbar/index.min.js +1 -1
- package/lib/vxe-ui/index.js +2 -1
- package/lib/vxe-ui/index.min.js +1 -1
- package/lib/vxe-v-x-e-table/index.js +2 -1
- package/lib/vxe-v-x-e-table/index.min.js +1 -1
- package/package.json +93 -93
- package/packages/colgroup/index.ts +22 -22
- package/packages/column/index.ts +22 -22
- package/packages/components.ts +42 -42
- package/packages/grid/index.ts +22 -22
- package/packages/grid/src/grid.ts +1935 -1935
- 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 +49 -49
- package/packages/table/module/custom/mixin.ts +369 -369
- package/packages/table/module/custom/panel.ts +1461 -1461
- package/packages/table/module/edit/mixin.ts +1123 -1123
- package/packages/table/module/export/export-panel.ts +658 -658
- package/packages/table/module/export/import-panel.ts +319 -319
- package/packages/table/module/export/mixin.ts +1693 -1693
- package/packages/table/module/export/util.ts +24 -24
- package/packages/table/module/filter/mixin.ts +507 -507
- package/packages/table/module/filter/panel.ts +329 -329
- package/packages/table/module/keyboard/mixin.ts +513 -513
- package/packages/table/module/menu/mixin.ts +329 -329
- package/packages/table/module/menu/panel.ts +212 -212
- package/packages/table/module/validator/mixin.ts +626 -626
- package/packages/table/render/index.ts +1456 -1456
- package/packages/table/src/body.ts +969 -969
- package/packages/table/src/cell.ts +1285 -1285
- package/packages/table/src/column.ts +205 -205
- package/packages/table/src/columnInfo.ts +228 -228
- package/packages/table/src/footer.ts +388 -388
- package/packages/table/src/group.ts +51 -51
- package/packages/table/src/header.ts +602 -602
- package/packages/table/src/methods.ts +12936 -12939
- package/packages/table/src/props.ts +311 -311
- package/packages/table/src/store.ts +15 -15
- package/packages/table/src/table.ts +2513 -2505
- package/packages/table/src/util.ts +1018 -1012
- package/packages/toolbar/index.ts +18 -18
- package/packages/toolbar/src/toolbar.ts +856 -856
- 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 +237 -236
- package/packages/ui/src/log.ts +8 -8
- package/packages/ui/src/utils.ts +56 -56
- package/packages/ui/src/vn.ts +65 -65
- 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 -89
- 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 +3 -3
- 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 +53 -53
- package/types/index.d.ts +4 -4
- /package/es/{iconfont.1773991883171.ttf → iconfont.1774240303597.ttf} +0 -0
- /package/es/{iconfont.1773991883171.woff → iconfont.1774240303597.woff} +0 -0
- /package/es/{iconfont.1773991883171.woff2 → iconfont.1774240303597.woff2} +0 -0
- /package/lib/{iconfont.1773991883171.ttf → iconfont.1774240303597.ttf} +0 -0
- /package/lib/{iconfont.1773991883171.woff → iconfont.1774240303597.woff} +0 -0
- /package/lib/{iconfont.1773991883171.woff2 → iconfont.1774240303597.woff2} +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import zhCHT from './zh-CHT'
|
|
2
|
-
|
|
3
|
-
export default zhCHT
|
|
1
|
+
import zhCHT from './zh-CHT'
|
|
2
|
+
|
|
3
|
+
export default zhCHT
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import zhCHT from './zh-CHT'
|
|
2
|
-
|
|
3
|
-
export default zhCHT
|
|
1
|
+
import zhCHT from './zh-CHT'
|
|
2
|
+
|
|
3
|
+
export default zhCHT
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import zhCHT from './zh-CHT'
|
|
2
|
-
|
|
3
|
-
export default zhCHT
|
|
1
|
+
import zhCHT from './zh-CHT'
|
|
2
|
+
|
|
3
|
+
export default zhCHT
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import zhCHT from './zh-CHT'
|
|
2
|
-
|
|
3
|
-
export default zhCHT
|
|
1
|
+
import zhCHT from './zh-CHT'
|
|
2
|
+
|
|
3
|
+
export default zhCHT
|
package/packages/table/index.ts
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import Vue, { VueConstructor } from 'vue'
|
|
2
|
-
import { VxeUI } from '../ui'
|
|
3
|
-
import VxeTableComponent from './src/table'
|
|
4
|
-
import './render'
|
|
5
|
-
|
|
6
|
-
let isReg = false
|
|
7
|
-
|
|
8
|
-
export const VxeTable = Object.assign({}, VxeTableComponent, {
|
|
9
|
-
install (app: VueConstructor) {
|
|
10
|
-
if (typeof window !== 'undefined') {
|
|
11
|
-
if ((window as any).VxeTableExtendCellArea && (window as any).VxeTableExtendCellArea.use) {
|
|
12
|
-
(window as any).VxeTableExtendCellArea.use(VxeUI)
|
|
13
|
-
} else if ((window as any).VXETableMixin) {
|
|
14
|
-
VxeTableComponent.mixins.push((window as any).VXETableMixin)
|
|
15
|
-
delete (window as any).VXETableMixin
|
|
16
|
-
}
|
|
17
|
-
if ((window as any).VxeTableExtendPivotTable && (window as any).VxeTableExtendPivotTable.use) {
|
|
18
|
-
(window as any).VxeTableExtendPivotTable.use(VxeUI)
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
// 兼容老版本
|
|
22
|
-
if (typeof window !== 'undefined' && (window as any).VxeTableExtendCellArea && (window as any).VxeTableExtendCellArea.init) {
|
|
23
|
-
(window as any).VxeTableExtendCellArea.init(VxeUI)
|
|
24
|
-
delete (window as any).VxeTableExtendCellArea
|
|
25
|
-
delete (window as any).VXETablePro
|
|
26
|
-
} else if (typeof window !== 'undefined' && (window as any).VXETablePro && (window as any).VXETablePro.init) {
|
|
27
|
-
(window as any).VXETablePro.init(VxeUI)
|
|
28
|
-
delete (window as any).VXETablePro
|
|
29
|
-
}
|
|
30
|
-
if (!Vue.prototype.$vxe) {
|
|
31
|
-
Vue.prototype.$vxe = { t: VxeUI.t, _t: VxeUI._t }
|
|
32
|
-
} else {
|
|
33
|
-
Vue.prototype.$vxe.t = VxeUI.t
|
|
34
|
-
Vue.prototype.$vxe._t = VxeUI._t
|
|
35
|
-
}
|
|
36
|
-
if (!isReg) {
|
|
37
|
-
isReg = true
|
|
38
|
-
if (VxeUI.dynamicApp) {
|
|
39
|
-
VxeUI.dynamicApp.component(VxeTableComponent.name as string, VxeTableComponent)
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
app.component(VxeTableComponent.name as string, VxeTableComponent)
|
|
43
|
-
}
|
|
44
|
-
})
|
|
45
|
-
|
|
46
|
-
VxeUI.component(VxeTableComponent)
|
|
47
|
-
|
|
48
|
-
export const Table = VxeTable
|
|
49
|
-
export default VxeTable
|
|
1
|
+
import Vue, { VueConstructor } from 'vue'
|
|
2
|
+
import { VxeUI } from '../ui'
|
|
3
|
+
import VxeTableComponent from './src/table'
|
|
4
|
+
import './render'
|
|
5
|
+
|
|
6
|
+
let isReg = false
|
|
7
|
+
|
|
8
|
+
export const VxeTable = Object.assign({}, VxeTableComponent, {
|
|
9
|
+
install (app: VueConstructor) {
|
|
10
|
+
if (typeof window !== 'undefined') {
|
|
11
|
+
if ((window as any).VxeTableExtendCellArea && (window as any).VxeTableExtendCellArea.use) {
|
|
12
|
+
(window as any).VxeTableExtendCellArea.use(VxeUI)
|
|
13
|
+
} else if ((window as any).VXETableMixin) {
|
|
14
|
+
VxeTableComponent.mixins.push((window as any).VXETableMixin)
|
|
15
|
+
delete (window as any).VXETableMixin
|
|
16
|
+
}
|
|
17
|
+
if ((window as any).VxeTableExtendPivotTable && (window as any).VxeTableExtendPivotTable.use) {
|
|
18
|
+
(window as any).VxeTableExtendPivotTable.use(VxeUI)
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
// 兼容老版本
|
|
22
|
+
if (typeof window !== 'undefined' && (window as any).VxeTableExtendCellArea && (window as any).VxeTableExtendCellArea.init) {
|
|
23
|
+
(window as any).VxeTableExtendCellArea.init(VxeUI)
|
|
24
|
+
delete (window as any).VxeTableExtendCellArea
|
|
25
|
+
delete (window as any).VXETablePro
|
|
26
|
+
} else if (typeof window !== 'undefined' && (window as any).VXETablePro && (window as any).VXETablePro.init) {
|
|
27
|
+
(window as any).VXETablePro.init(VxeUI)
|
|
28
|
+
delete (window as any).VXETablePro
|
|
29
|
+
}
|
|
30
|
+
if (!Vue.prototype.$vxe) {
|
|
31
|
+
Vue.prototype.$vxe = { t: VxeUI.t, _t: VxeUI._t }
|
|
32
|
+
} else {
|
|
33
|
+
Vue.prototype.$vxe.t = VxeUI.t
|
|
34
|
+
Vue.prototype.$vxe._t = VxeUI._t
|
|
35
|
+
}
|
|
36
|
+
if (!isReg) {
|
|
37
|
+
isReg = true
|
|
38
|
+
if (VxeUI.dynamicApp) {
|
|
39
|
+
VxeUI.dynamicApp.component(VxeTableComponent.name as string, VxeTableComponent)
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
app.component(VxeTableComponent.name as string, VxeTableComponent)
|
|
43
|
+
}
|
|
44
|
+
})
|
|
45
|
+
|
|
46
|
+
VxeUI.component(VxeTableComponent)
|
|
47
|
+
|
|
48
|
+
export const Table = VxeTable
|
|
49
|
+
export default VxeTable
|