vxe-pc-ui 3.3.35 → 3.3.37
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/icon/style.css +1 -1
- package/es/pulldown/src/pulldown.js +2 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/dom.js +1 -0
- package/es/ui/src/log.js +1 -1
- package/es/upload/src/upload.js +284 -72
- package/es/upload/style.css +37 -0
- package/es/upload/style.min.css +1 -1
- package/es/vxe-upload/style.css +37 -0
- package/es/vxe-upload/style.min.css +1 -1
- package/helper/vetur/attributes.json +1 -1
- package/helper/vetur/tags.json +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +267 -51
- package/lib/index.umd.min.js +1 -1
- package/lib/pulldown/src/pulldown.js +6 -0
- package/lib/pulldown/src/pulldown.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/dom.js +2 -0
- package/lib/ui/src/dom.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 +254 -46
- package/lib/upload/src/upload.min.js +1 -1
- package/lib/upload/style/style.css +37 -0
- package/lib/upload/style/style.min.css +1 -1
- package/lib/vxe-upload/style/style.css +37 -0
- package/lib/vxe-upload/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/pulldown/src/pulldown.ts +3 -1
- package/packages/ui/src/dom.ts +2 -0
- package/packages/upload/src/upload.ts +302 -73
- package/styles/components/upload.scss +33 -0
- package/types/components/pulldown.d.ts +9 -1
- package/types/components/table-module/keyboard.d.ts +1 -2
- package/types/components/table.d.ts +22 -0
- package/types/components/upload.d.ts +10 -2
- /package/es/icon/{iconfont.1734189926286.ttf → iconfont.1734347209149.ttf} +0 -0
- /package/es/icon/{iconfont.1734189926286.woff → iconfont.1734347209149.woff} +0 -0
- /package/es/icon/{iconfont.1734189926286.woff2 → iconfont.1734347209149.woff2} +0 -0
- /package/es/{iconfont.1734189926286.ttf → iconfont.1734347209149.ttf} +0 -0
- /package/es/{iconfont.1734189926286.woff → iconfont.1734347209149.woff} +0 -0
- /package/es/{iconfont.1734189926286.woff2 → iconfont.1734347209149.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1734189926286.ttf → iconfont.1734347209149.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1734189926286.woff → iconfont.1734347209149.woff} +0 -0
- /package/lib/icon/style/{iconfont.1734189926286.woff2 → iconfont.1734347209149.woff2} +0 -0
- /package/lib/{iconfont.1734189926286.ttf → iconfont.1734347209149.ttf} +0 -0
- /package/lib/{iconfont.1734189926286.woff → iconfont.1734347209149.woff} +0 -0
- /package/lib/{iconfont.1734189926286.woff2 → iconfont.1734347209149.woff2} +0 -0
|
@@ -6,8 +6,7 @@ export interface TableKeyboardPrivateMethods<D = any> {
|
|
|
6
6
|
moveTabSelected(args: any, isLeft: any, evnt: any): void
|
|
7
7
|
moveCurrentRow(isUpArrow: any, isDwArrow: any, evnt: any): void
|
|
8
8
|
moveSelected(args: any, isLeftArrow: any, isUpArrow: any, isRightArrow: any, isDwArrow: any, evnt: any): void
|
|
9
|
-
|
|
10
|
-
triggerCellMousedownEvent(evnt: any, params: any): void
|
|
9
|
+
handleCellMousedownEvent(evnt: any, params: any): void
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
declare module '../grid' {
|
|
@@ -364,6 +364,10 @@ export namespace VxeTablePropTypes {
|
|
|
364
364
|
* @deprecated
|
|
365
365
|
*/
|
|
366
366
|
showRowIcon?: boolean
|
|
367
|
+
/**
|
|
368
|
+
* 是否显示拖拽动画,启用后由数据量的大小来影响渲染性能
|
|
369
|
+
*/
|
|
370
|
+
animation?: boolean
|
|
367
371
|
/**
|
|
368
372
|
* 是否禁用拖拽按钮
|
|
369
373
|
* @deprecated
|
|
@@ -418,6 +422,10 @@ export namespace VxeTablePropTypes {
|
|
|
418
422
|
* 是否显示拖拽按钮图标
|
|
419
423
|
*/
|
|
420
424
|
showIcon?: boolean
|
|
425
|
+
/**
|
|
426
|
+
* 触发拖拽方式
|
|
427
|
+
*/
|
|
428
|
+
trigger?: 'default' | 'cell' | 'row' | '' | null
|
|
421
429
|
/**
|
|
422
430
|
* 只对 tree-config 启用有效,是否跨节点拖拽,用于树结构,启用后允许拖拽到其他的子节点,除自身节点之外
|
|
423
431
|
*/
|
|
@@ -434,6 +442,10 @@ export namespace VxeTablePropTypes {
|
|
|
434
442
|
* 是否显示拖拽辅助状态显示
|
|
435
443
|
*/
|
|
436
444
|
showGuidesStatus?: boolean
|
|
445
|
+
/**
|
|
446
|
+
* 是否显示拖拽动画,启用后由数据量的大小来影响渲染性能
|
|
447
|
+
*/
|
|
448
|
+
animation?: boolean
|
|
437
449
|
/**
|
|
438
450
|
* 是否禁用拖拽按钮
|
|
439
451
|
*/
|
|
@@ -482,6 +494,10 @@ export namespace VxeTablePropTypes {
|
|
|
482
494
|
* 是否显示拖拽按钮图标
|
|
483
495
|
*/
|
|
484
496
|
showIcon?: boolean
|
|
497
|
+
/**
|
|
498
|
+
* 触发拖拽方式
|
|
499
|
+
*/
|
|
500
|
+
trigger?: 'default' | 'cell' | '' | null
|
|
485
501
|
/**
|
|
486
502
|
* 用于分组表头,是否跨列拖拽,启用后允许拖拽到其他的列,除自身列之外
|
|
487
503
|
*/
|
|
@@ -498,6 +514,10 @@ export namespace VxeTablePropTypes {
|
|
|
498
514
|
* 是否显示拖拽辅助状态显示
|
|
499
515
|
*/
|
|
500
516
|
showGuidesStatus?: boolean
|
|
517
|
+
/**
|
|
518
|
+
* 是否显示拖拽动画,启用后由数据量的大小来影响渲染性能
|
|
519
|
+
*/
|
|
520
|
+
animation?: boolean
|
|
501
521
|
/**
|
|
502
522
|
* 是否禁用拖拽按钮
|
|
503
523
|
*/
|
|
@@ -3636,6 +3656,8 @@ export interface TablePrivateMethods<D = any> {
|
|
|
3636
3656
|
triggerRowExpandEvent(evnt: Event, params: VxeTableDefines.CellRenderBodyParams<any>): void
|
|
3637
3657
|
triggerTreeExpandEvent(evnt: Event, params: VxeTableDefines.CellRenderBodyParams<any>): void
|
|
3638
3658
|
triggerSortEvent(evnt: Event, column: VxeTableDefines.ColumnInfo<any>, order: VxeTablePropTypes.SortOrder): void
|
|
3659
|
+
triggerHeaderCellMousedownEvent(evnt: any, params: any): void
|
|
3660
|
+
triggerCellMousedownEvent(evnt: any, params: any): void
|
|
3639
3661
|
handleRowDragDragstartEvent (evnt: DragEvent): void
|
|
3640
3662
|
handleRowDragDragendEvent(evnt: DragEvent): void
|
|
3641
3663
|
handleRowDragDragoverEvent(evnt: DragEvent,): void
|
|
@@ -43,6 +43,7 @@ export namespace VxeUploadPropTypes {
|
|
|
43
43
|
}
|
|
44
44
|
export type FileTypes = string[]
|
|
45
45
|
export type SingleMode = boolean
|
|
46
|
+
export type DragSort = boolean
|
|
46
47
|
export type DragToUpload = boolean
|
|
47
48
|
export type PasteToUpload = boolean
|
|
48
49
|
export type KeyField = string
|
|
@@ -127,6 +128,7 @@ export interface VxeUploadProps {
|
|
|
127
128
|
fileTypes?: VxeUploadPropTypes.FileTypes
|
|
128
129
|
multiple?: VxeUploadPropTypes.Multiple
|
|
129
130
|
singleMode?: VxeUploadPropTypes.SingleMode
|
|
131
|
+
dragSort?: VxeUploadPropTypes.DragSort
|
|
130
132
|
dragToUpload?: VxeUploadPropTypes.DragToUpload
|
|
131
133
|
pasteToUpload?: VxeUploadPropTypes.PasteToUpload
|
|
132
134
|
keyField?: VxeUploadPropTypes.KeyField
|
|
@@ -174,15 +176,20 @@ export interface UploadPrivateComputed {
|
|
|
174
176
|
export interface VxeUploadPrivateComputed extends UploadPrivateComputed { }
|
|
175
177
|
|
|
176
178
|
export interface UploadReactData {
|
|
177
|
-
|
|
179
|
+
isDragUploadStatus: boolean
|
|
178
180
|
showMorePopup: boolean
|
|
179
181
|
isActivated: boolean
|
|
180
182
|
fileList: VxeUploadDefines.FileObjItem[]
|
|
181
183
|
fileCacheMaps: Record<string, VxeUploadDefines.FileCacheItem>
|
|
184
|
+
isDragMove: boolean
|
|
185
|
+
dragIndex: number
|
|
186
|
+
dragTipText: string
|
|
182
187
|
}
|
|
183
188
|
|
|
184
189
|
export interface UploadInternalData {
|
|
185
190
|
imagePreviewTypes: string[]
|
|
191
|
+
prevDragIndex: number
|
|
192
|
+
prevDragPos?: 'top' | 'bottom' | 'left' | 'right' | ''
|
|
186
193
|
}
|
|
187
194
|
|
|
188
195
|
export interface UploadMethods {
|
|
@@ -209,7 +216,8 @@ export type VxeUploadEmits = [
|
|
|
209
216
|
'download',
|
|
210
217
|
'download-fail',
|
|
211
218
|
'upload-success',
|
|
212
|
-
'upload-error'
|
|
219
|
+
'upload-error',
|
|
220
|
+
'sort-dragend'
|
|
213
221
|
]
|
|
214
222
|
|
|
215
223
|
export namespace VxeUploadDefines {
|
|
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
|