vxe-pc-ui 4.8.13 → 4.8.15

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.
Files changed (51) hide show
  1. package/README.md +8 -4
  2. package/es/components.js +2 -1
  3. package/es/icon/style.css +1 -1
  4. package/es/split/style.css +27 -33
  5. package/es/split/style.min.css +1 -1
  6. package/es/style.css +1 -1
  7. package/es/style.min.css +1 -1
  8. package/es/ui/index.js +1 -1
  9. package/es/ui/src/log.js +1 -1
  10. package/es/vxe-split/style.css +27 -33
  11. package/es/vxe-split/style.min.css +1 -1
  12. package/lib/components.js +22 -17
  13. package/lib/components.min.js +1 -1
  14. package/lib/icon/style/style.css +1 -1
  15. package/lib/icon/style/style.min.css +1 -1
  16. package/lib/index.umd.js +983 -977
  17. package/lib/index.umd.min.js +1 -1
  18. package/lib/split/style/style.css +27 -33
  19. package/lib/split/style/style.min.css +1 -1
  20. package/lib/style.css +1 -1
  21. package/lib/style.min.css +1 -1
  22. package/lib/ui/index.js +1 -1
  23. package/lib/ui/index.min.js +1 -1
  24. package/lib/ui/src/log.js +1 -1
  25. package/lib/ui/src/log.min.js +1 -1
  26. package/lib/vxe-split/style/style.css +27 -33
  27. package/lib/vxe-split/style/style.min.css +1 -1
  28. package/package.json +1 -1
  29. package/packages/components.ts +5 -1
  30. package/styles/components/split.scss +25 -42
  31. package/styles/theme/base.scss +4 -2
  32. package/styles/theme/dark.scss +2 -1
  33. package/styles/theme/light.scss +2 -1
  34. package/styles/variable.scss +2 -1
  35. package/types/components/gantt-module/gantt-view.d.ts +5 -1
  36. package/types/components/gantt.d.ts +105 -16
  37. package/types/components/grid.d.ts +5 -4
  38. package/types/components/table.d.ts +9 -6
  39. package/types/ui/global-icon.d.ts +6 -0
  40. /package/es/icon/{iconfont.1754905375075.ttf → iconfont.1755086649730.ttf} +0 -0
  41. /package/es/icon/{iconfont.1754905375075.woff → iconfont.1755086649730.woff} +0 -0
  42. /package/es/icon/{iconfont.1754905375075.woff2 → iconfont.1755086649730.woff2} +0 -0
  43. /package/es/{iconfont.1754905375075.ttf → iconfont.1755086649730.ttf} +0 -0
  44. /package/es/{iconfont.1754905375075.woff → iconfont.1755086649730.woff} +0 -0
  45. /package/es/{iconfont.1754905375075.woff2 → iconfont.1755086649730.woff2} +0 -0
  46. /package/lib/icon/style/{iconfont.1754905375075.ttf → iconfont.1755086649730.ttf} +0 -0
  47. /package/lib/icon/style/{iconfont.1754905375075.woff → iconfont.1755086649730.woff} +0 -0
  48. /package/lib/icon/style/{iconfont.1754905375075.woff2 → iconfont.1755086649730.woff2} +0 -0
  49. /package/lib/{iconfont.1754905375075.ttf → iconfont.1755086649730.ttf} +0 -0
  50. /package/lib/{iconfont.1754905375075.woff → iconfont.1755086649730.woff} +0 -0
  51. /package/lib/{iconfont.1754905375075.woff2 → iconfont.1755086649730.woff2} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { RenderFunction, SetupContext, Ref, ComputedRef } from 'vue'
2
2
  import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, VxeComponentSizeType, VxeComponentSlotType, ValueOf } from '@vxe-ui/core'
3
3
  import { VxeToolbarInstance, VxeToolbarProps, VxeToolbarPropTypes, VxeToolbarSlotTypes } from './toolbar'
4
- import { VxeTableDefines, VxeTableInstance, VxeTableEmits, VxeTableConstructor, VxeTableProps, TableMethods, VxeTableSlotTypes } from './table'
4
+ import { VxeTableDefines, VxeTablePrivateMethods, VxeTableEmits, VxeTableConstructor, VxeTableProps, TableMethods, VxeTableSlotTypes } from './table'
5
5
  import { VxeColumnPropTypes } from './column'
6
6
  import { VxePagerInstance, VxePagerProps, VxePagerDefines, VxePagerSlotTypes } from './pager'
7
7
  import { VxeFormInstance, VxeFormProps, VxeFormDefines } from './form'
@@ -27,7 +27,7 @@ export interface VxeGridConstructor<D = any> extends VxeComponentBaseOptions, Vx
27
27
 
28
28
  export interface GridPrivateRef<D = any> {
29
29
  refElem: Ref<HTMLDivElement | undefined>
30
- refTable: Ref<VxeTableInstance<D> | undefined>
30
+ refTable: Ref<(VxeTableConstructor & VxeTablePrivateMethods) | undefined>
31
31
  refForm: Ref<VxeFormInstance | undefined>
32
32
  refToolbar: Ref<VxeToolbarInstance | undefined>
33
33
  refPager: Ref<VxePagerInstance | undefined>
@@ -37,8 +37,7 @@ export interface VxeGridPrivateRef<D = any> extends GridPrivateRef<D> { }
37
37
  export namespace VxeGridPropTypes {
38
38
  export type Size = VxeComponentSizeType
39
39
 
40
- export type LayoutKey = 'Form' | 'Toolbar' | 'Top' | 'Table' | 'Bottom' | 'Pager'
41
- export type Layouts = LayoutKey[] |LayoutKey[][]
40
+ export type Layouts = VxeGridDefines.LayoutKey[] | VxeGridDefines.LayoutKey[][]
42
41
 
43
42
  export type Column<D = any> = VxeTableDefines.ColumnOptions<D>
44
43
  export type Columns<D = any> = Column<D>[]
@@ -478,6 +477,8 @@ export namespace VxeGridDefines {
478
477
  $gantt: VxeGanttConstructor<D> | null | undefined
479
478
  }
480
479
 
480
+ export type LayoutKey = 'Form' | 'Toolbar' | 'Top' | 'Table' | 'Bottom' | 'Pager'
481
+
481
482
  export interface KeydownStartEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.KeydownStartEventParams<D> { }
482
483
  export interface KeydownEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.KeydownEventParams<D> { }
483
484
  export interface KeydownEndEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.KeydownEndEventParams<D> { }
@@ -3476,12 +3476,6 @@ export interface TableReactData<D = any> {
3476
3476
  * @deprecated
3477
3477
  */
3478
3478
  rowHeight: number
3479
- // 表头高度
3480
- tHeaderHeight: number
3481
- // 表体高度
3482
- tBodyHeight: number
3483
- // 表尾高度
3484
- tFooterHeight: number
3485
3479
  // 表格父容器的高度
3486
3480
  parentHeight: number
3487
3481
  // 是否使用分组表头
@@ -3503,6 +3497,8 @@ export interface TableReactData<D = any> {
3503
3497
  rowGroupColumn: VxeTableDefines.ColumnInfo<D> | null | undefined
3504
3498
  // 展开列信息
3505
3499
  expandColumn: VxeTableDefines.ColumnInfo<D> | null | undefined
3500
+ checkboxColumn: VxeTableDefines.ColumnInfo<D> | null | undefined
3501
+ radioColumn: VxeTableDefines.ColumnInfo<D> | null | undefined
3506
3502
  hasFixedColumn: boolean
3507
3503
  // 树节点列信息
3508
3504
  treeNodeColumn: any
@@ -3875,6 +3871,13 @@ export interface TableInternalData<D = any> {
3875
3871
  // 甘特图
3876
3872
  xeGanttView?: VxeGanttViewConstructor & VxeGanttViewPrivateMethods
3877
3873
 
3874
+ // 表头高度
3875
+ tHeaderHeight: number
3876
+ // 表体高度
3877
+ tBodyHeight: number
3878
+ // 表尾高度
3879
+ tFooterHeight: number
3880
+
3878
3881
  // 内部属性
3879
3882
  _lastResizeTime?: any
3880
3883
  _keyCtx?: any
@@ -264,5 +264,11 @@ declare module '@vxe-ui/core' {
264
264
  SPLIT_BOTTOM_ACTION?: string
265
265
  SPLIT_LEFT_ACTION?: string
266
266
  SPLIT_RIGHT_ACTION?: string
267
+
268
+ // gantt
269
+ GANTT_VIEW_LEFT_OPEN?: string
270
+ GANTT_VIEW_LEFT_CLOSE?: string
271
+ GANTT_VIEW_RIGHT_OPEN?: string
272
+ GANTT_VIEW_RIGHT_CLOSE?: string
267
273
  }
268
274
  }