vxe-pc-ui 4.19.8 → 4.20.0

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 (60) hide show
  1. package/dist/all.esm.js +318 -19
  2. package/dist/style.css +1 -1
  3. package/dist/style.min.css +1 -1
  4. package/es/icon/style.css +1 -1
  5. package/es/list/src/list.js +317 -17
  6. package/es/list/style.css +26 -0
  7. package/es/list/style.min.css +1 -1
  8. package/es/scrollbar/style.css +1 -0
  9. package/es/style.css +1 -1
  10. package/es/style.min.css +1 -1
  11. package/es/ui/index.js +1 -1
  12. package/es/ui/src/log.js +1 -1
  13. package/es/ui/src/utils.js +9 -0
  14. package/es/vxe-list/style.css +26 -0
  15. package/es/vxe-list/style.min.css +1 -1
  16. package/es/vxe-scrollbar/style.css +1 -0
  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 +336 -18
  20. package/lib/index.umd.min.js +1 -1
  21. package/lib/list/src/list.js +328 -19
  22. package/lib/list/src/list.min.js +1 -1
  23. package/lib/list/style/style.css +26 -0
  24. package/lib/list/style/style.min.css +1 -1
  25. package/lib/scrollbar/style/style.css +1 -0
  26. package/lib/style.css +1 -1
  27. package/lib/style.min.css +1 -1
  28. package/lib/ui/index.js +1 -1
  29. package/lib/ui/index.min.js +1 -1
  30. package/lib/ui/src/log.js +1 -1
  31. package/lib/ui/src/log.min.js +1 -1
  32. package/lib/ui/src/utils.js +10 -0
  33. package/lib/ui/src/utils.min.js +1 -1
  34. package/lib/vxe-list/style/style.css +26 -0
  35. package/lib/vxe-list/style/style.min.css +1 -1
  36. package/lib/vxe-scrollbar/style/style.css +1 -0
  37. package/package.json +1 -1
  38. package/packages/list/src/list.ts +345 -17
  39. package/packages/ui/src/utils.ts +10 -0
  40. package/styles/components/list.scss +51 -0
  41. package/styles/components/scrollbar.scss +3 -0
  42. package/types/components/card.d.ts +1 -1
  43. package/types/components/layout-aside.d.ts +1 -1
  44. package/types/components/layout-body.d.ts +1 -1
  45. package/types/components/list.d.ts +24 -2
  46. package/types/components/table-plugins/extend-cell-area.d.ts +1 -1
  47. package/types/components/table.d.ts +24 -0
  48. package/types/components/tabs.d.ts +1 -1
  49. /package/es/icon/{iconfont.1791862962954.ttf → iconfont.1791880413927.ttf} +0 -0
  50. /package/es/icon/{iconfont.1791862962954.woff → iconfont.1791880413927.woff} +0 -0
  51. /package/es/icon/{iconfont.1791862962954.woff2 → iconfont.1791880413927.woff2} +0 -0
  52. /package/es/{iconfont.1791862962954.ttf → iconfont.1791880413927.ttf} +0 -0
  53. /package/es/{iconfont.1791862962954.woff → iconfont.1791880413927.woff} +0 -0
  54. /package/es/{iconfont.1791862962954.woff2 → iconfont.1791880413927.woff2} +0 -0
  55. /package/lib/icon/style/{iconfont.1791862962954.ttf → iconfont.1791880413927.ttf} +0 -0
  56. /package/lib/icon/style/{iconfont.1791862962954.woff → iconfont.1791880413927.woff} +0 -0
  57. /package/lib/icon/style/{iconfont.1791862962954.woff2 → iconfont.1791880413927.woff2} +0 -0
  58. /package/lib/{iconfont.1791862962954.ttf → iconfont.1791880413927.ttf} +0 -0
  59. /package/lib/{iconfont.1791862962954.woff → iconfont.1791880413927.woff} +0 -0
  60. /package/lib/{iconfont.1791862962954.woff2 → iconfont.1791880413927.woff2} +0 -0
@@ -93,7 +93,7 @@ export interface VxeTableExtendCellAreaPrivateMethods<D = any> {
93
93
  * 内部方法
94
94
  * @private
95
95
  */
96
- triggerClAreaMnEvent(evnt: MouseEvent, params: VxeTableDefines.CellClickEventParams<D>): void
96
+ triggerClAaMnEvent(evnt: MouseEvent, params: VxeTableDefines.CellClickEventParams<D>): void
97
97
  /**
98
98
  * 内部方法
99
99
  * @private
@@ -1907,6 +1907,10 @@ export namespace VxeTablePropTypes {
1907
1907
  * 鼠标配置项
1908
1908
  */
1909
1909
  export interface MouseConfig {
1910
+ /**
1911
+ * 是否启用,支持局部/全局启用
1912
+ */
1913
+ enabled?: boolean
1910
1914
  /**
1911
1915
  * 开启单元格选中功能(只对 edit-config.mode=cell 有效)
1912
1916
  */
@@ -1926,6 +1930,10 @@ export namespace VxeTablePropTypes {
1926
1930
  * 区域配置项
1927
1931
  */
1928
1932
  export interface AreaConfig<D = any> {
1933
+ /**
1934
+ * 是否启用,支持局部/全局启用
1935
+ */
1936
+ enabled?: boolean
1929
1937
  /**
1930
1938
  * 是否显示操作提示消息
1931
1939
  */
@@ -2062,6 +2070,10 @@ export namespace VxeTablePropTypes {
2062
2070
  * 按键配置项
2063
2071
  */
2064
2072
  export interface KeyboardConfig<D = any> {
2073
+ /**
2074
+ * 是否启用,支持局部/全局启用
2075
+ */
2076
+ enabled?: boolean
2065
2077
  /**
2066
2078
  * 是否启用全选
2067
2079
  * Window/Linux对应按键: Ctrl+A
@@ -3024,6 +3036,10 @@ export namespace VxeTablePropTypes {
3024
3036
  * 导入参数
3025
3037
  */
3026
3038
  export interface ImportConfig<D = any> {
3039
+ /**
3040
+ * 是否启用,支持局部/全局启用
3041
+ */
3042
+ enabled?: boolean
3027
3043
  /**
3028
3044
  * 内置属性
3029
3045
  * @private
@@ -3332,6 +3348,10 @@ export namespace VxeTablePropTypes {
3332
3348
  * 导出参数
3333
3349
  */
3334
3350
  export interface ExportConfig<D = any> extends ExportAndPrintConfig<D> {
3351
+ /**
3352
+ * 是否启用,支持局部/全局启用
3353
+ */
3354
+ enabled?: boolean
3335
3355
  // 内置属性
3336
3356
  _typeMaps?: Record<string, number>
3337
3357
  /**
@@ -3412,6 +3432,10 @@ export namespace VxeTablePropTypes {
3412
3432
  * 打印参数
3413
3433
  */
3414
3434
  export interface PrintConfig<D = any> extends ExportAndPrintConfig<D> {
3435
+ /**
3436
+ * 是否启用,支持局部/全局启用
3437
+ */
3438
+ enabled?: boolean
3415
3439
  /**
3416
3440
  * 列宽计算模式,支持默认default,等比例scale,自适应auto
3417
3441
  */
@@ -114,7 +114,7 @@ export namespace VxeTabsPropTypes {
114
114
  }) => boolean
115
115
  }
116
116
  export type UseScrollbar = boolean
117
- export interface ScrollbarConfig extends Pick<VxeScrollbarProps, 'native' | 'yConfig' | 'className' | 'viewAttrs' | 'viewClassName' | 'viewInnerClassName'> {}
117
+ export interface ScrollbarConfig extends Pick<VxeScrollbarProps, 'native' | 'xConfig' | 'yConfig' | 'padding' | 'className' | 'viewAttrs' | 'viewClassName' | 'viewInnerClassName'> {}
118
118
  }
119
119
 
120
120
  export type VxeTabsProps = {