vxe-pc-ui 3.16.28 → 3.17.1

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 (68) hide show
  1. package/es/date-picker/src/date-picker.js +6 -2
  2. package/es/date-range-picker/src/date-range-picker.js +6 -2
  3. package/es/icon/style.css +1 -1
  4. package/es/input/src/input.js +6 -2
  5. package/es/number-input/src/number-input.js +6 -2
  6. package/es/password-input/src/password-input.js +6 -2
  7. package/es/splitter/src/splitter-panel.js +22 -0
  8. package/es/style.css +1 -1
  9. package/es/style.min.css +1 -1
  10. package/es/textarea/src/textarea.js +6 -2
  11. package/es/ui/index.js +1 -1
  12. package/es/ui/src/log.js +1 -1
  13. package/lib/date-picker/src/date-picker.js +8 -1
  14. package/lib/date-picker/src/date-picker.min.js +1 -1
  15. package/lib/date-range-picker/src/date-range-picker.js +8 -1
  16. package/lib/date-range-picker/src/date-range-picker.min.js +1 -1
  17. package/lib/icon/style/style.css +1 -1
  18. package/lib/icon/style/style.min.css +1 -1
  19. package/lib/index.umd.js +77 -9
  20. package/lib/index.umd.min.js +1 -1
  21. package/lib/input/src/input.js +8 -1
  22. package/lib/input/src/input.min.js +1 -1
  23. package/lib/number-input/src/number-input.js +9 -2
  24. package/lib/number-input/src/number-input.min.js +1 -1
  25. package/lib/password-input/src/password-input.js +8 -1
  26. package/lib/password-input/src/password-input.min.js +1 -1
  27. package/lib/splitter/src/splitter-panel.js +26 -0
  28. package/lib/splitter/src/splitter-panel.min.js +1 -1
  29. package/lib/style.css +1 -1
  30. package/lib/style.min.css +1 -1
  31. package/lib/textarea/src/textarea.js +8 -1
  32. package/lib/textarea/src/textarea.min.js +1 -1
  33. package/lib/ui/index.js +1 -1
  34. package/lib/ui/index.min.js +1 -1
  35. package/lib/ui/src/log.js +1 -1
  36. package/lib/ui/src/log.min.js +1 -1
  37. package/package.json +2 -2
  38. package/packages/date-picker/src/date-picker.ts +6 -2
  39. package/packages/date-range-picker/src/date-range-picker.ts +6 -2
  40. package/packages/input/src/input.ts +6 -2
  41. package/packages/number-input/src/number-input.ts +6 -2
  42. package/packages/password-input/src/password-input.ts +6 -2
  43. package/packages/splitter/src/splitter-panel.ts +24 -0
  44. package/packages/textarea/src/textarea.ts +6 -2
  45. package/types/components/date-picker.d.ts +2 -0
  46. package/types/components/date-range-picker.d.ts +2 -0
  47. package/types/components/input.d.ts +2 -0
  48. package/types/components/number-input.d.ts +2 -0
  49. package/types/components/password-input.d.ts +2 -0
  50. package/types/components/splitter-panel.d.ts +25 -0
  51. package/types/components/splitter.d.ts +8 -0
  52. package/types/components/table-module/edit.d.ts +37 -4
  53. package/types/components/table-plugins/extend-cell-area.d.ts +2 -2
  54. package/types/components/table.d.ts +9 -2
  55. package/types/components/textarea.d.ts +2 -0
  56. package/types/ui/renderer.d.ts +9 -3
  57. /package/es/icon/{iconfont.1786584290899.ttf → iconfont.1786796103854.ttf} +0 -0
  58. /package/es/icon/{iconfont.1786584290899.woff → iconfont.1786796103854.woff} +0 -0
  59. /package/es/icon/{iconfont.1786584290899.woff2 → iconfont.1786796103854.woff2} +0 -0
  60. /package/es/{iconfont.1786584290899.ttf → iconfont.1786796103854.ttf} +0 -0
  61. /package/es/{iconfont.1786584290899.woff → iconfont.1786796103854.woff} +0 -0
  62. /package/es/{iconfont.1786584290899.woff2 → iconfont.1786796103854.woff2} +0 -0
  63. /package/lib/icon/style/{iconfont.1786584290899.ttf → iconfont.1786796103854.ttf} +0 -0
  64. /package/lib/icon/style/{iconfont.1786584290899.woff → iconfont.1786796103854.woff} +0 -0
  65. /package/lib/icon/style/{iconfont.1786584290899.woff2 → iconfont.1786796103854.woff2} +0 -0
  66. /package/lib/{iconfont.1786584290899.ttf → iconfont.1786796103854.ttf} +0 -0
  67. /package/lib/{iconfont.1786584290899.woff → iconfont.1786796103854.woff} +0 -0
  68. /package/lib/{iconfont.1786584290899.woff2 → iconfont.1786796103854.woff2} +0 -0
@@ -82,7 +82,7 @@ export interface VxeTableExtendCellAreaPrivateMethods<D = any> {
82
82
  * 内部方法
83
83
  * @private
84
84
  */
85
- handleKeyboardCellAreaEvent(evnt: KeyboardEvent): void
85
+ handleKdClAreaEvent(evnt: KeyboardEvent): void
86
86
  /**
87
87
  * 内部方法
88
88
  * @private
@@ -92,7 +92,7 @@ export interface VxeTableExtendCellAreaPrivateMethods<D = any> {
92
92
  * 内部方法
93
93
  * @private
94
94
  */
95
- triggerCelllAreaMnEvent(evnt: MouseEvent, params: VxeTableDefines.CellClickEventParams<D>): void
95
+ triggerClAreaMnEvent(evnt: MouseEvent, params: VxeTableDefines.CellClickEventParams<D>): void
96
96
  /**
97
97
  * 内部方法
98
98
  * @private
@@ -2579,12 +2579,17 @@ export namespace VxeTablePropTypes {
2579
2579
  * 是否启用缓存,启用后渲染性能的大幅提升,数据越大提升越好
2580
2580
  */
2581
2581
  cache?: boolean
2582
+ /**
2583
+ * 启用可复用渲染模式,对于全键盘方式编辑单元格时对中文输入法兼容性较好
2584
+ */
2585
+ isReuseKeep?: boolean
2582
2586
  /**
2583
2587
  * 自定义编辑之前逻辑,该方法的返回值用来决定该单元格是否允许编辑
2584
2588
  */
2585
2589
  beforeEditMethod?(params: {
2586
2590
  $table: VxeTableConstructor<DT> & VxeTablePrivateMethods<DT>
2587
2591
  $grid: VxeGridConstructor<DT> | null | undefined
2592
+ $gantt: VxeGanttConstructor | null | undefined
2588
2593
  row: DT
2589
2594
  rowIndex: number
2590
2595
  column: VxeTableDefines.ColumnInfo<DT>
@@ -2596,6 +2601,7 @@ export namespace VxeTablePropTypes {
2596
2601
  afterEditMethod?(params: {
2597
2602
  $table: VxeTableConstructor<DT> & VxeTablePrivateMethods<DT>
2598
2603
  $grid: VxeGridConstructor<DT> | null | undefined
2604
+ $gantt: VxeGanttConstructor | null | undefined
2599
2605
  row: DT
2600
2606
  rowIndex: number
2601
2607
  column: VxeTableDefines.ColumnInfo<DT>
@@ -2609,6 +2615,7 @@ export namespace VxeTablePropTypes {
2609
2615
  activeMethod?(params: {
2610
2616
  $table: VxeTableConstructor<DT> & VxeTablePrivateMethods<DT>
2611
2617
  $grid: VxeGridConstructor<DT> | null | undefined
2618
+ $gantt: VxeGanttConstructor | null | undefined
2612
2619
  row: DT
2613
2620
  rowIndex: number
2614
2621
  column: VxeTableDefines.ColumnInfo<DT>
@@ -4484,7 +4491,7 @@ export interface TableMethods<DT = any> {
4484
4491
  /**
4485
4492
  * 获取单元格 td 元素
4486
4493
  */
4487
- getCellElement(row: any, fieldOrColumn: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo<any> | null): HTMLTableCellElement | null
4494
+ getCellElement(row: any, fieldOrColumn: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo<any> | null): HTMLElement | null
4488
4495
  /**
4489
4496
  * 获取单元格显示值
4490
4497
  */
@@ -5870,7 +5877,7 @@ export interface TablePrivateMethods<D = any> {
5870
5877
  * 已废弃,被 getCellElement 替换
5871
5878
  * @deprecated
5872
5879
  */
5873
- getCell(row: any, column: VxeTableDefines.ColumnInfo<any>): HTMLTableCellElement | null
5880
+ getCell(row: any, column: VxeTableDefines.ColumnInfo<any>): HTMLTableCellElement | HTMLElement | null
5874
5881
  /**
5875
5882
  * 内部方法
5876
5883
  * @private
@@ -19,6 +19,7 @@ export namespace VxeTextareaPropTypes {
19
19
  export type Size = VxeComponentSizeType
20
20
  export type ModelValue = string | number | null
21
21
  export type ClassName = string
22
+ export type InputClassName = string
22
23
  export type Immediate = boolean
23
24
  export type Name = string
24
25
  export type Readonly = boolean
@@ -70,6 +71,7 @@ export interface VxeTextareaProps {
70
71
  */
71
72
  value?: VxeTextareaPropTypes.ModelValue
72
73
  className?: VxeTextareaPropTypes.ClassName
74
+ inputClassName?: VxeTextareaPropTypes.InputClassName
73
75
  immediate?: VxeTextareaPropTypes.Immediate
74
76
  /**
75
77
  * 原生 name 属性
@@ -123,7 +123,7 @@ declare module '@vxe-ui/core' {
123
123
  /**
124
124
  * 表格 - 激活编辑状态时,设置自动聚焦的 class
125
125
  */
126
- tableAutoFocus?: boolean | string | ((params: VxeGlobalRendererHandles.RenderTableEditParams<any> | VxeGlobalRendererHandles.RenderTableCellParams<any>) => HTMLElement | null)
126
+ tableAutoFocus?: boolean | string | ((params: VxeGlobalRendererHandles.TableAutoFocusParams) => HTMLElement | null)
127
127
  /**
128
128
  * 表格 - 激活编辑状态时,设置是否自动选中 tableAutoFocus 指定的元素
129
129
  */
@@ -206,12 +206,12 @@ declare module '@vxe-ui/core' {
206
206
  * 已废弃,请使用 tableAutoFocus
207
207
  * @deprecated
208
208
  */
209
- autofocus?: string | ((params: VxeGlobalRendererHandles.RenderTableEditParams<any> | VxeGlobalRendererHandles.RenderTableCellParams<any>) => HTMLElement | null)
209
+ autofocus?: string | ((params: VxeGlobalRendererHandles.TableAutoFocusParams) => HTMLElement | null)
210
210
  /**
211
211
  * 已废弃,请使用 tableAutoFocus
212
212
  * @deprecated
213
213
  */
214
- tableAutofocus?: string | ((params: VxeGlobalRendererHandles.RenderTableEditParams<any> | VxeGlobalRendererHandles.RenderTableCellParams<any>) => HTMLElement | null)
214
+ tableAutofocus?: string | ((params: VxeGlobalRendererHandles.TableAutoFocusParams) => HTMLElement | null)
215
215
  /**
216
216
  * 已废弃,请使用 tableAutoSelect
217
217
  * @deprecated
@@ -427,6 +427,12 @@ declare module '@vxe-ui/core' {
427
427
  export interface TableCellCutMethodParams<D = any> extends VxeColumnDefines.CellCutParams<D> {}
428
428
  export interface TableCellPasteMethodParams<D = any> extends VxeColumnDefines.CellPasteParams<D> {}
429
429
 
430
+ export interface TableAutoFocusParams<D = any> {
431
+ $table: VxeTableConstructor<D>
432
+ column: VxeTableDefines.ColumnInfo<D>
433
+ row: D
434
+ }
435
+
430
436
  /**
431
437
  * @deprecated
432
438
  */