vxe-pc-ui 3.12.35 → 3.13.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.
- package/es/context-menu/style.css +1 -1
- package/es/context-menu/style.min.css +1 -1
- 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 +6 -5
- package/es/ui/src/log.js +1 -1
- package/es/upload/src/upload.js +16 -15
- package/es/vxe-context-menu/style.css +1 -1
- package/es/vxe-context-menu/style.min.css +1 -1
- package/lib/context-menu/style/style.css +1 -1
- package/lib/context-menu/style/style.min.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +23 -15
- 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 +6 -5
- 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/lib/upload/src/upload.js +16 -9
- package/lib/upload/src/upload.min.js +1 -1
- package/lib/vxe-context-menu/style/style.css +1 -1
- package/lib/vxe-context-menu/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/ui/index.ts +5 -4
- package/packages/upload/src/upload.ts +15 -4
- package/styles/components/context-menu.scss +1 -1
- package/styles/theme/dark.scss +2 -2
- package/styles/variable.scss +1 -1
- package/types/components/gantt.d.ts +11 -0
- package/types/components/table.d.ts +58 -0
- package/types/components/upload.d.ts +3 -0
- /package/es/icon/{iconfont.1770438633166.ttf → iconfont.1772181724544.ttf} +0 -0
- /package/es/icon/{iconfont.1770438633166.woff → iconfont.1772181724544.woff} +0 -0
- /package/es/icon/{iconfont.1770438633166.woff2 → iconfont.1772181724544.woff2} +0 -0
- /package/es/{iconfont.1770438633166.ttf → iconfont.1772181724544.ttf} +0 -0
- /package/es/{iconfont.1770438633166.woff → iconfont.1772181724544.woff} +0 -0
- /package/es/{iconfont.1770438633166.woff2 → iconfont.1772181724544.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1770438633166.ttf → iconfont.1772181724544.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1770438633166.woff → iconfont.1772181724544.woff} +0 -0
- /package/lib/icon/style/{iconfont.1770438633166.woff2 → iconfont.1772181724544.woff2} +0 -0
- /package/lib/{iconfont.1770438633166.ttf → iconfont.1772181724544.ttf} +0 -0
- /package/lib/{iconfont.1770438633166.woff → iconfont.1772181724544.woff} +0 -0
- /package/lib/{iconfont.1770438633166.woff2 → iconfont.1772181724544.woff2} +0 -0
|
@@ -582,6 +582,13 @@ export namespace VxeTablePropTypes {
|
|
|
582
582
|
}) => number
|
|
583
583
|
}
|
|
584
584
|
|
|
585
|
+
/**
|
|
586
|
+
* 聚合函数计算精度配置项
|
|
587
|
+
*/
|
|
588
|
+
export interface AggregateAccuracyConfig<D = any> {
|
|
589
|
+
[key: string]: VxeTableDefines.AggregateAccuracyObj<D>
|
|
590
|
+
}
|
|
591
|
+
|
|
585
592
|
/**
|
|
586
593
|
* 已废弃,请使用 AggregateConfig
|
|
587
594
|
* @deprecated
|
|
@@ -1033,6 +1040,14 @@ export namespace VxeTablePropTypes {
|
|
|
1033
1040
|
* 允许自定义聚合函数配置
|
|
1034
1041
|
*/
|
|
1035
1042
|
allowValues?: boolean
|
|
1043
|
+
/**
|
|
1044
|
+
* 允许自定义聚合函数小数精度配置
|
|
1045
|
+
*/
|
|
1046
|
+
allowValueDigits?: boolean
|
|
1047
|
+
/**
|
|
1048
|
+
* 允许自定义聚合函数格式化配置
|
|
1049
|
+
*/
|
|
1050
|
+
allowValueFormat?: boolean
|
|
1036
1051
|
/**
|
|
1037
1052
|
* 当拖拽数据分组或聚合列时,自动更新列可视状态
|
|
1038
1053
|
*/
|
|
@@ -3384,6 +3399,10 @@ export interface VxeTableProps<D = any> {
|
|
|
3384
3399
|
* 数据聚合配置项
|
|
3385
3400
|
*/
|
|
3386
3401
|
aggregateConfig?: VxeTablePropTypes.AggregateConfig<D>
|
|
3402
|
+
/**
|
|
3403
|
+
* 聚合函数计算精度配置项
|
|
3404
|
+
*/
|
|
3405
|
+
aggregateAccuracyConfig?: VxeTablePropTypes.AggregateAccuracyConfig<D>
|
|
3387
3406
|
/**
|
|
3388
3407
|
* 已废弃,请使用 aggregateConfig
|
|
3389
3408
|
* @deprecated
|
|
@@ -3653,6 +3672,7 @@ export interface TablePrivateComputed<D = any> {
|
|
|
3653
3672
|
computeFooterCellOpts: VxeTablePropTypes.FooterCellConfig
|
|
3654
3673
|
computeRowOpts: VxeTablePropTypes.RowOpts
|
|
3655
3674
|
computeAggregateOpts: VxeTablePropTypes.AggregateConfig
|
|
3675
|
+
computeAggregateAccuracyOpts: VxeTablePropTypes.AggregateAccuracyConfig
|
|
3656
3676
|
computeCurrentRowOpts: VxeTablePropTypes.CurrentRowConfig
|
|
3657
3677
|
computeRowDragOpts: VxeTablePropTypes.RowDragConfig
|
|
3658
3678
|
computeColumnDragOpts: VxeTablePropTypes.ColumnDragConfig
|
|
@@ -5780,6 +5800,26 @@ export namespace VxeTableDefines {
|
|
|
5780
5800
|
[key: string]: any
|
|
5781
5801
|
}
|
|
5782
5802
|
|
|
5803
|
+
export interface AggregateAccuracyObj<D = any> {
|
|
5804
|
+
/**
|
|
5805
|
+
* 小数保留位数
|
|
5806
|
+
*/
|
|
5807
|
+
digits?: number | null
|
|
5808
|
+
/**
|
|
5809
|
+
* 小数处理方式,支持:四舍五入,向下取整,向上取整
|
|
5810
|
+
*/
|
|
5811
|
+
format?: 'round' | 'ceil' | 'floor' | '' | null | ((params: {
|
|
5812
|
+
$table: VxeTableConstructor<D>
|
|
5813
|
+
groupField: VxeColumnPropTypes.Field
|
|
5814
|
+
groupColumn: VxeTableDefines.ColumnInfo<D>
|
|
5815
|
+
column: VxeTableDefines.ColumnInfo<D>
|
|
5816
|
+
groupValue: any
|
|
5817
|
+
childCount: number
|
|
5818
|
+
children: D[]
|
|
5819
|
+
aggValue: number
|
|
5820
|
+
}) => number)
|
|
5821
|
+
}
|
|
5822
|
+
|
|
5783
5823
|
/**
|
|
5784
5824
|
* 列对象
|
|
5785
5825
|
*/
|
|
@@ -5965,6 +6005,24 @@ export namespace VxeTableDefines {
|
|
|
5965
6005
|
*/
|
|
5966
6006
|
renderAggFn: VxeColumnPropTypes.AggFunc
|
|
5967
6007
|
|
|
6008
|
+
/**
|
|
6009
|
+
* @private
|
|
6010
|
+
*/
|
|
6011
|
+
renderAggDigits: number | null
|
|
6012
|
+
/**
|
|
6013
|
+
* @private
|
|
6014
|
+
*/
|
|
6015
|
+
renderAggFormat: 'round' | 'ceil' | 'floor' | '' | null | ((params: {
|
|
6016
|
+
$table: VxeTableConstructor<D>
|
|
6017
|
+
groupField: VxeColumnPropTypes.Field
|
|
6018
|
+
groupColumn: VxeTableDefines.ColumnInfo<D>
|
|
6019
|
+
column: VxeTableDefines.ColumnInfo<D>
|
|
6020
|
+
groupValue: any
|
|
6021
|
+
childCount: number
|
|
6022
|
+
children: D[]
|
|
6023
|
+
aggValue: number
|
|
6024
|
+
}) => number)
|
|
6025
|
+
|
|
5968
6026
|
/**
|
|
5969
6027
|
* @private
|
|
5970
6028
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, ValueOf, VxeComponentSizeType } from '@vxe-ui/core'
|
|
2
2
|
import { VxeImagePropTypes } from './image'
|
|
3
|
+
import { VxeImagePreviewProps } from './image-preview'
|
|
3
4
|
|
|
4
5
|
/* eslint-disable @typescript-eslint/no-empty-interface,no-use-before-define,@typescript-eslint/ban-types */
|
|
5
6
|
|
|
@@ -87,6 +88,7 @@ export namespace VxeUploadPropTypes {
|
|
|
87
88
|
export type ShowSubmitButton = boolean
|
|
88
89
|
export type AutoHiddenButton = boolean
|
|
89
90
|
export type ShowUploadButton = boolean
|
|
91
|
+
export interface PreviewImageConfig extends Omit<VxeImagePreviewProps, 'modelValue' | 'urlList' | 'urlField'> {}
|
|
90
92
|
export type PreviewMethod = undefined | ((params: {
|
|
91
93
|
$upload: VxeUploadConstructor
|
|
92
94
|
option: VxeUploadDefines.FileObjItem
|
|
@@ -179,6 +181,7 @@ export interface VxeUploadProps {
|
|
|
179
181
|
showButtonIcon?: VxeUploadPropTypes.ShowButtonIcon
|
|
180
182
|
showRemoveButton?: VxeUploadPropTypes.ShowRemoveButton
|
|
181
183
|
showDownloadButton?: VxeUploadPropTypes.ShowDownloadButton
|
|
184
|
+
previewImageConfig?: VxeUploadPropTypes.PreviewImageConfig
|
|
182
185
|
showPreview?: VxeUploadPropTypes.ShowPreview
|
|
183
186
|
showErrorStatus?: VxeUploadPropTypes.ShowErrorStatus
|
|
184
187
|
showProgress?: VxeUploadPropTypes.ShowProgress
|
|
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
|