vxe-pc-ui 4.8.12 → 4.8.13
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.md +4 -4
- package/es/form/index.js +0 -1
- package/es/form/src/form.js +1 -0
- package/es/icon/style.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/form/index.js +0 -1
- package/lib/form/index.min.js +1 -1
- package/lib/form/src/form.js +1 -0
- package/lib/form/src/form.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +1577 -1577
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +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 +1 -1
- package/packages/form/index.ts +0 -1
- package/packages/form/src/form.ts +2 -0
- package/types/components/gantt-module/gantt-view.d.ts +164 -0
- package/types/components/gantt-module/index.d.ts +1 -0
- package/types/components/gantt.d.ts +113 -29
- package/types/components/grid.d.ts +38 -18
- package/types/components/table-module/custom.d.ts +2 -1
- package/types/components/table.d.ts +32 -9
- package/types/ui/commands.d.ts +3 -1
- package/types/ui/hooks.d.ts +2 -0
- /package/es/icon/{iconfont.1754641145942.ttf → iconfont.1754905375075.ttf} +0 -0
- /package/es/icon/{iconfont.1754641145942.woff → iconfont.1754905375075.woff} +0 -0
- /package/es/icon/{iconfont.1754641145942.woff2 → iconfont.1754905375075.woff2} +0 -0
- /package/es/{iconfont.1754641145942.ttf → iconfont.1754905375075.ttf} +0 -0
- /package/es/{iconfont.1754641145942.woff → iconfont.1754905375075.woff} +0 -0
- /package/es/{iconfont.1754641145942.woff2 → iconfont.1754905375075.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1754641145942.ttf → iconfont.1754905375075.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1754641145942.woff → iconfont.1754905375075.woff} +0 -0
- /package/lib/icon/style/{iconfont.1754641145942.woff2 → iconfont.1754905375075.woff2} +0 -0
- /package/lib/{iconfont.1754641145942.ttf → iconfont.1754905375075.ttf} +0 -0
- /package/lib/{iconfont.1754641145942.woff → iconfont.1754905375075.woff} +0 -0
- /package/lib/{iconfont.1754641145942.woff2 → iconfont.1754905375075.woff2} +0 -0
|
@@ -8,6 +8,8 @@ import { VxeModalPropTypes } from './modal'
|
|
|
8
8
|
import { VxeDrawerPropTypes } from './drawer'
|
|
9
9
|
import { VxeToolbarConstructor, VxeToolbarInstance } from './toolbar'
|
|
10
10
|
import { VxeTableCustomPanelConstructor } from './table-module/custom'
|
|
11
|
+
import { VxeGanttConstructor } from './gantt'
|
|
12
|
+
import { VxeGanttViewConstructor, VxeGanttViewInstance, VxeGanttViewPrivateMethods } from './gantt-module/gantt-view'
|
|
11
13
|
|
|
12
14
|
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
13
15
|
|
|
@@ -25,7 +27,8 @@ export interface VxeTableConstructor<D = any> extends VxeComponentBaseOptions, V
|
|
|
25
27
|
getComputeMaps(): TablePrivateComputed
|
|
26
28
|
renderVN: RenderFunction
|
|
27
29
|
|
|
28
|
-
xeGrid: VxeGridConstructor<D> | null
|
|
30
|
+
xeGrid: VxeGridConstructor<D> | null | undefined
|
|
31
|
+
xeGantt: VxeGanttConstructor<D> | null | undefined
|
|
29
32
|
|
|
30
33
|
/**
|
|
31
34
|
* @deprecated
|
|
@@ -2551,6 +2554,10 @@ export namespace VxeTablePropTypes {
|
|
|
2551
2554
|
* 滚动条显示位置
|
|
2552
2555
|
*/
|
|
2553
2556
|
position?: 'top' | 'bottom' | ''
|
|
2557
|
+
/**
|
|
2558
|
+
* 是否显示
|
|
2559
|
+
*/
|
|
2560
|
+
visible?: boolean
|
|
2554
2561
|
}
|
|
2555
2562
|
/**
|
|
2556
2563
|
* 纵向滚动条
|
|
@@ -2560,6 +2567,10 @@ export namespace VxeTablePropTypes {
|
|
|
2560
2567
|
* 滚动条显示位置
|
|
2561
2568
|
*/
|
|
2562
2569
|
position?: 'left' | 'right' | ''
|
|
2570
|
+
/**
|
|
2571
|
+
* 是否显示
|
|
2572
|
+
*/
|
|
2573
|
+
visible?: boolean
|
|
2563
2574
|
}
|
|
2564
2575
|
}
|
|
2565
2576
|
|
|
@@ -3463,9 +3474,14 @@ export interface TableReactData<D = any> {
|
|
|
3463
3474
|
/**
|
|
3464
3475
|
* 行高
|
|
3465
3476
|
* @deprecated
|
|
3466
|
-
* @property
|
|
3467
3477
|
*/
|
|
3468
3478
|
rowHeight: number
|
|
3479
|
+
// 表头高度
|
|
3480
|
+
tHeaderHeight: number
|
|
3481
|
+
// 表体高度
|
|
3482
|
+
tBodyHeight: number
|
|
3483
|
+
// 表尾高度
|
|
3484
|
+
tFooterHeight: number
|
|
3469
3485
|
// 表格父容器的高度
|
|
3470
3486
|
parentHeight: number
|
|
3471
3487
|
// 是否使用分组表头
|
|
@@ -3727,10 +3743,6 @@ export interface TableInternalData<D = any> {
|
|
|
3727
3743
|
tableWidth: number
|
|
3728
3744
|
// 表格高度
|
|
3729
3745
|
tableHeight: number
|
|
3730
|
-
// 表头高度
|
|
3731
|
-
headerHeight: number
|
|
3732
|
-
// 表尾高度
|
|
3733
|
-
footerHeight: number
|
|
3734
3746
|
customHeight: number
|
|
3735
3747
|
customMinHeight: number
|
|
3736
3748
|
customMaxHeight: number
|
|
@@ -3860,6 +3872,9 @@ export interface TableInternalData<D = any> {
|
|
|
3860
3872
|
// 展开手风琴
|
|
3861
3873
|
treeEATime?: undefined | number
|
|
3862
3874
|
|
|
3875
|
+
// 甘特图
|
|
3876
|
+
xeGanttView?: VxeGanttViewConstructor & VxeGanttViewPrivateMethods
|
|
3877
|
+
|
|
3863
3878
|
// 内部属性
|
|
3864
3879
|
_lastResizeTime?: any
|
|
3865
3880
|
_keyCtx?: any
|
|
@@ -4736,11 +4751,15 @@ export interface TableMethods<DT = any> {
|
|
|
4736
4751
|
* 用于 mouse-config.area,更新已选区域的单元格样式
|
|
4737
4752
|
*/
|
|
4738
4753
|
updateCellAreas(): Promise<void>
|
|
4754
|
+
/**
|
|
4755
|
+
* 已废弃,请使用 connectToolbar
|
|
4756
|
+
* @deprecated
|
|
4757
|
+
*/
|
|
4758
|
+
connect($toolbar: VxeToolbarConstructor | VxeToolbarInstance): Promise<void>
|
|
4739
4759
|
/**
|
|
4740
4760
|
* 连接工具栏
|
|
4741
|
-
* @param toolbar 工具栏组件实例
|
|
4742
4761
|
*/
|
|
4743
|
-
|
|
4762
|
+
connectToolbar($toolbar: VxeToolbarConstructor | VxeToolbarInstance): Promise<void>
|
|
4744
4763
|
/**
|
|
4745
4764
|
* 使表格获取焦点
|
|
4746
4765
|
*/
|
|
@@ -5071,9 +5090,13 @@ export interface TablePrivateMethods<D = any> {
|
|
|
5071
5090
|
* 已废弃,被 getCellElement 替换
|
|
5072
5091
|
* @deprecated
|
|
5073
5092
|
*/
|
|
5074
|
-
getCell(row: any, column: VxeTableDefines.ColumnInfo<any>):
|
|
5093
|
+
getCell(row: any, column: VxeTableDefines.ColumnInfo<any>): HTMLTableCellElement | null
|
|
5075
5094
|
findRowIndexOf(list: any[], row: any): number
|
|
5076
5095
|
eqRow(row1: any, row2: any): boolean
|
|
5096
|
+
/**
|
|
5097
|
+
* @private
|
|
5098
|
+
*/
|
|
5099
|
+
handleConnectGanttView($ganttView: VxeGanttViewConstructor | VxeGanttViewInstance): Promise<void>
|
|
5077
5100
|
}
|
|
5078
5101
|
export interface VxeTablePrivateMethods<D = any> extends TablePrivateMethods<D> { }
|
|
5079
5102
|
|
package/types/ui/commands.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { VxeGridConstructor } from '../components/grid'
|
|
2
2
|
import { VxeToolbarPropTypes } from '../components/toolbar'
|
|
3
3
|
import { VxeTableConstructor } from '../components/table'
|
|
4
|
+
import { VxeGanttConstructor } from '../components/gantt'
|
|
4
5
|
import { VxeDatePickerConstructor, VxeDatePickerDefines } from '../components/date-picker'
|
|
5
6
|
import { VxeDateRangePickerConstructor, VxeDateRangePickerDefines } from '../components/date-range-picker'
|
|
6
7
|
|
|
@@ -46,8 +47,9 @@ declare module '@vxe-ui/core' {
|
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
export interface TableCommandMethodParams {
|
|
49
|
-
$grid: VxeGridConstructor | null | undefined
|
|
50
50
|
$table: VxeTableConstructor
|
|
51
|
+
$grid: VxeGridConstructor | null | undefined
|
|
52
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
51
53
|
button: VxeToolbarPropTypes.ButtonConfig | null | undefined
|
|
52
54
|
code: string | undefined
|
|
53
55
|
}
|
package/types/ui/hooks.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { VxeTableConstructor, VxeTableMethods, VxeTablePrivateMethods } from '../components/table'
|
|
2
2
|
import { VxeGridConstructor, VxeGridPrivateMethods } from '../components/grid'
|
|
3
|
+
import { VxeGanttConstructor, VxeGanttPrivateMethods } from '../components/gantt'
|
|
3
4
|
|
|
4
5
|
declare module '@vxe-ui/core' {
|
|
5
6
|
export namespace VxeGlobalHooksHandles {
|
|
6
7
|
export interface HookOptions {
|
|
7
8
|
setupTable?($table: VxeTableConstructor & VxeTableMethods & VxeTablePrivateMethods<any>): void | Record<string, any>
|
|
8
9
|
setupGrid?($grid: VxeGridConstructor & VxeGridPrivateMethods): void | Record<string, any>
|
|
10
|
+
setupGantt?($grid: VxeGanttConstructor & VxeGanttPrivateMethods): void | Record<string, any>
|
|
9
11
|
}
|
|
10
12
|
}
|
|
11
13
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|