vxe-pc-ui 3.18.6 → 3.18.8
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/date-picker/src/date-picker.js +2 -2
- package/es/icon/style.css +1 -1
- package/es/modal/index.js +8 -4
- package/es/modal/src/modal.js +20 -7
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/date-picker/src/date-picker.js +2 -2
- package/lib/date-picker/src/date-picker.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +32 -14
- package/lib/index.umd.min.js +1 -1
- package/lib/modal/index.js +8 -4
- package/lib/modal/index.min.js +1 -1
- package/lib/modal/src/modal.js +20 -6
- package/lib/modal/src/modal.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/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +1 -1
- package/packages/date-picker/src/date-picker.ts +2 -2
- package/packages/modal/index.ts +8 -4
- package/packages/modal/src/modal.ts +21 -7
- package/types/components/column.d.ts +18 -18
- package/types/components/grid.d.ts +3 -3
- package/types/components/table-module/edit.d.ts +12 -12
- package/types/components/table-module/filter.d.ts +3 -3
- package/types/components/table-module/validator.d.ts +5 -5
- package/types/components/table-plugins/extend-cell-area.d.ts +32 -32
- package/types/components/table.d.ts +210 -210
- package/types/components/toolbar.d.ts +1 -1
- package/types/ui/interceptor.d.ts +5 -5
- package/types/ui/renderer.d.ts +12 -12
- /package/es/icon/{iconfont.1788860356220.ttf → iconfont.1788953833306.ttf} +0 -0
- /package/es/icon/{iconfont.1788860356220.woff → iconfont.1788953833306.woff} +0 -0
- /package/es/icon/{iconfont.1788860356220.woff2 → iconfont.1788953833306.woff2} +0 -0
- /package/es/{iconfont.1788860356220.ttf → iconfont.1788953833306.ttf} +0 -0
- /package/es/{iconfont.1788860356220.woff → iconfont.1788953833306.woff} +0 -0
- /package/es/{iconfont.1788860356220.woff2 → iconfont.1788953833306.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1788860356220.ttf → iconfont.1788953833306.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1788860356220.woff → iconfont.1788953833306.woff} +0 -0
- /package/lib/icon/style/{iconfont.1788860356220.woff2 → iconfont.1788953833306.woff2} +0 -0
- /package/lib/{iconfont.1788860356220.ttf → iconfont.1788953833306.ttf} +0 -0
- /package/lib/{iconfont.1788860356220.woff → iconfont.1788953833306.woff} +0 -0
- /package/lib/{iconfont.1788860356220.woff2 → iconfont.1788953833306.woff2} +0 -0
|
@@ -50,7 +50,7 @@ export interface VxeTableExtendCellAreaMethods<D = any> {
|
|
|
50
50
|
*/
|
|
51
51
|
setCellAreas(areaConfigs: VxeTableExtendCellAreaDefines.CellAreaConfig[], activeArea?: {
|
|
52
52
|
area?: number | VxeTableExtendCellAreaDefines.CellAreaConfig<D>
|
|
53
|
-
column?: number | VxeTableDefines.ColumnInfo
|
|
53
|
+
column?: number | VxeTableDefines.ColumnInfo
|
|
54
54
|
row?: D | number
|
|
55
55
|
}): Promise<any>
|
|
56
56
|
/**
|
|
@@ -231,7 +231,7 @@ export namespace VxeTableExtendCellAreaDefines {
|
|
|
231
231
|
/**
|
|
232
232
|
* 对应的列数组
|
|
233
233
|
*/
|
|
234
|
-
cols: VxeTableDefines.ColumnInfo
|
|
234
|
+
cols: VxeTableDefines.ColumnInfo[]
|
|
235
235
|
/**
|
|
236
236
|
* 对应的行数组
|
|
237
237
|
*/
|
|
@@ -256,7 +256,7 @@ export namespace VxeTableExtendCellAreaDefines {
|
|
|
256
256
|
type: CELL_AREA_TYPE
|
|
257
257
|
area: MouseCellArea<D>
|
|
258
258
|
row: any
|
|
259
|
-
column: VxeTableDefines.ColumnInfo
|
|
259
|
+
column: VxeTableDefines.ColumnInfo
|
|
260
260
|
top: number
|
|
261
261
|
left: number
|
|
262
262
|
width: number
|
|
@@ -269,7 +269,7 @@ export namespace VxeTableExtendCellAreaDefines {
|
|
|
269
269
|
rightEl?: HTMLElement | null
|
|
270
270
|
type: CELL_AREA_TYPE
|
|
271
271
|
rows: D[]
|
|
272
|
-
cols: VxeTableDefines.ColumnInfo
|
|
272
|
+
cols: VxeTableDefines.ColumnInfo[]
|
|
273
273
|
top: number
|
|
274
274
|
left: number
|
|
275
275
|
width: number
|
|
@@ -280,15 +280,15 @@ export namespace VxeTableExtendCellAreaDefines {
|
|
|
280
280
|
|
|
281
281
|
export interface CellAreaConfig<D = any> {
|
|
282
282
|
type?: CELL_AREA_TYPE
|
|
283
|
-
startColumn: VxeTableDefines.ColumnInfo
|
|
284
|
-
endColumn: VxeTableDefines.ColumnInfo
|
|
283
|
+
startColumn: VxeTableDefines.ColumnInfo | VxeColumnPropTypes.Field | number
|
|
284
|
+
endColumn: VxeTableDefines.ColumnInfo | VxeColumnPropTypes.Field | number
|
|
285
285
|
startRow: D | number
|
|
286
286
|
endRow: D | number
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
export interface ActiveCellAreaConfig<D = any> {
|
|
290
290
|
area: VxeTableExtendCellAreaDefines.MouseCellArea<D> | number
|
|
291
|
-
column: VxeTableDefines.ColumnInfo
|
|
291
|
+
column: VxeTableDefines.ColumnInfo | VxeColumnPropTypes.Field | number
|
|
292
292
|
row: D | number
|
|
293
293
|
}
|
|
294
294
|
|
|
@@ -296,12 +296,12 @@ export namespace VxeTableExtendCellAreaDefines {
|
|
|
296
296
|
|
|
297
297
|
export interface ExtendCellAreaCalcBaseParams<D = any> {
|
|
298
298
|
rows: D[]
|
|
299
|
-
cols: VxeTableDefines.ColumnInfo
|
|
299
|
+
cols: VxeTableDefines.ColumnInfo[]
|
|
300
300
|
targetValues: any[][]
|
|
301
301
|
targetRows: any[]
|
|
302
|
-
targetCols: VxeTableDefines.ColumnInfo
|
|
302
|
+
targetCols: VxeTableDefines.ColumnInfo[]
|
|
303
303
|
extendRows: any[]
|
|
304
|
-
extendCols: VxeTableDefines.ColumnInfo
|
|
304
|
+
extendCols: VxeTableDefines.ColumnInfo[]
|
|
305
305
|
direction: ExtendCellAreaDirection
|
|
306
306
|
$table: VxeTableConstructor<D>
|
|
307
307
|
$grid: VxeGridConstructor<D> | null | undefined
|
|
@@ -325,14 +325,14 @@ export namespace VxeTableExtendCellAreaDefines {
|
|
|
325
325
|
export interface FnrFindParams<D = any> {
|
|
326
326
|
findValue: string
|
|
327
327
|
row: D
|
|
328
|
-
column: VxeTableDefines.ColumnInfo
|
|
328
|
+
column: VxeTableDefines.ColumnInfo
|
|
329
329
|
}
|
|
330
330
|
export type FnrFindEventParams<D = any> = FnrFindParams<D>
|
|
331
331
|
|
|
332
332
|
export interface FindAndReplaceResult<D = any> {
|
|
333
333
|
row: D
|
|
334
334
|
_rowIndex: number
|
|
335
|
-
column: VxeTableDefines.ColumnInfo
|
|
335
|
+
column: VxeTableDefines.ColumnInfo
|
|
336
336
|
_columnIndex: number
|
|
337
337
|
}
|
|
338
338
|
|
|
@@ -346,7 +346,7 @@ export namespace VxeTableExtendCellAreaDefines {
|
|
|
346
346
|
findValue: string
|
|
347
347
|
replaceValue: string
|
|
348
348
|
row: any
|
|
349
|
-
column: VxeTableDefines.ColumnInfo
|
|
349
|
+
column: VxeTableDefines.ColumnInfo
|
|
350
350
|
}
|
|
351
351
|
export type FnrReplaceEventParams<D = any> = FnrReplaceParams<D>
|
|
352
352
|
|
|
@@ -398,15 +398,15 @@ export namespace VxeTableExtendCellAreaDefines {
|
|
|
398
398
|
|
|
399
399
|
export interface HeaderCellAreaSelectionParams<D = any> {
|
|
400
400
|
targetRows: D[]
|
|
401
|
-
targetCols: VxeTableDefines.ColumnInfo
|
|
402
|
-
column: VxeTableDefines.ColumnInfo
|
|
401
|
+
targetCols: VxeTableDefines.ColumnInfo[]
|
|
402
|
+
column: VxeTableDefines.ColumnInfo
|
|
403
403
|
_columnIndex: number
|
|
404
404
|
}
|
|
405
405
|
export interface HeaderCellAreaSelectionEventParams<D = any> extends EventParams<D>, HeaderCellAreaSelectionParams<D> { }
|
|
406
406
|
|
|
407
407
|
export interface CellAreaSelectionInvalidParams<D = any> {
|
|
408
408
|
row: D
|
|
409
|
-
column: VxeTableDefines.ColumnInfo
|
|
409
|
+
column: VxeTableDefines.ColumnInfo
|
|
410
410
|
}
|
|
411
411
|
export interface CellAreaSelectionInvalidEventParams<D = any> extends EventParams<D>, CellAreaSelectionInvalidParams<D> { }
|
|
412
412
|
|
|
@@ -414,7 +414,7 @@ export namespace VxeTableExtendCellAreaDefines {
|
|
|
414
414
|
row: D
|
|
415
415
|
_rowIndex: number
|
|
416
416
|
$rowIndex: number
|
|
417
|
-
column: VxeTableDefines.ColumnInfo
|
|
417
|
+
column: VxeTableDefines.ColumnInfo
|
|
418
418
|
_columnIndex: number
|
|
419
419
|
$columnIndex: number
|
|
420
420
|
cell: HTMLElement
|
|
@@ -423,52 +423,52 @@ export namespace VxeTableExtendCellAreaDefines {
|
|
|
423
423
|
|
|
424
424
|
export interface CellAreaSelectionDragParams<D = any> {
|
|
425
425
|
rows: D[]
|
|
426
|
-
cols: VxeTableDefines.ColumnInfo
|
|
426
|
+
cols: VxeTableDefines.ColumnInfo[]
|
|
427
427
|
}
|
|
428
428
|
export interface CellAreaSelectionDragEventParams<D = any> extends EventParams<D>, CellAreaSelectionDragParams<D> { }
|
|
429
429
|
|
|
430
430
|
export interface CellAreaSelectionEndParams<D = any> {
|
|
431
431
|
rows: D[]
|
|
432
|
-
cols: VxeTableDefines.ColumnInfo
|
|
432
|
+
cols: VxeTableDefines.ColumnInfo[]
|
|
433
433
|
}
|
|
434
434
|
export interface CellAreaSelectionEndEventParams<D = any> extends EventParams<D>, CellAreaSelectionEndParams<D> { }
|
|
435
435
|
|
|
436
436
|
export interface CellAreaExtensionStartParams<D = any> {
|
|
437
437
|
fixed: VxeColumnPropTypes.Fixed
|
|
438
438
|
rows: D[]
|
|
439
|
-
cols: VxeTableDefines.ColumnInfo
|
|
439
|
+
cols: VxeTableDefines.ColumnInfo[]
|
|
440
440
|
}
|
|
441
441
|
export interface CellAreaExtensionStartEventParams<D = any> extends EventParams<D>, CellAreaExtensionStartParams<D> {
|
|
442
442
|
targetRows: D[]
|
|
443
|
-
targetCols: VxeTableDefines.ColumnInfo
|
|
443
|
+
targetCols: VxeTableDefines.ColumnInfo[]
|
|
444
444
|
}
|
|
445
445
|
|
|
446
446
|
export interface CellAreaExtensionDragParams<D = any> {
|
|
447
447
|
fixed: VxeColumnPropTypes.Fixed
|
|
448
448
|
rows: D[]
|
|
449
|
-
cols: VxeTableDefines.ColumnInfo
|
|
449
|
+
cols: VxeTableDefines.ColumnInfo[]
|
|
450
450
|
targetRows: D[]
|
|
451
|
-
targetCols: VxeTableDefines.ColumnInfo
|
|
451
|
+
targetCols: VxeTableDefines.ColumnInfo[]
|
|
452
452
|
}
|
|
453
453
|
export interface CellAreaExtensionDragEventParams<D = any> extends EventParams<D>, CellAreaExtensionDragParams<D> { }
|
|
454
454
|
|
|
455
455
|
export interface CellAreaExtensionEndParams<D = any> {
|
|
456
456
|
fixed: VxeColumnPropTypes.Fixed
|
|
457
457
|
rows: D[]
|
|
458
|
-
cols: VxeTableDefines.ColumnInfo
|
|
458
|
+
cols: VxeTableDefines.ColumnInfo[]
|
|
459
459
|
targetRows: D[]
|
|
460
|
-
targetCols: VxeTableDefines.ColumnInfo
|
|
460
|
+
targetCols: VxeTableDefines.ColumnInfo[]
|
|
461
461
|
}
|
|
462
462
|
export interface CellAreaExtensionEndEventParams<D = any> extends EventParams<D>, CellAreaExtensionEndParams<D> { }
|
|
463
463
|
|
|
464
464
|
export interface CellAreaExtensionFillEventParams<D = any> extends EventParams<D> {
|
|
465
465
|
rows: D[]
|
|
466
|
-
cols: VxeTableDefines.ColumnInfo
|
|
466
|
+
cols: VxeTableDefines.ColumnInfo[]
|
|
467
467
|
targetValues: any[][]
|
|
468
468
|
targetRows: D[]
|
|
469
|
-
targetCols: VxeTableDefines.ColumnInfo
|
|
469
|
+
targetCols: VxeTableDefines.ColumnInfo[]
|
|
470
470
|
extendRows: D[]
|
|
471
|
-
extendCols: VxeTableDefines.ColumnInfo
|
|
471
|
+
extendCols: VxeTableDefines.ColumnInfo[]
|
|
472
472
|
direction: 'up' | 'down' | 'left' | 'right'
|
|
473
473
|
}
|
|
474
474
|
|
|
@@ -478,13 +478,13 @@ export namespace VxeTableExtendCellAreaDefines {
|
|
|
478
478
|
|
|
479
479
|
export interface CellAreaSelectionAllEndParams<D = any> {
|
|
480
480
|
rows: D[]
|
|
481
|
-
cols: VxeTableDefines.ColumnInfo
|
|
481
|
+
cols: VxeTableDefines.ColumnInfo[]
|
|
482
482
|
}
|
|
483
483
|
export interface CellAreaSelectionAllEndEventParams<D = any> extends EventParams<D>, CellAreaSelectionAllEndParams<D> { }
|
|
484
484
|
|
|
485
485
|
export interface CellAreaArrowsStartParams<D = any> {
|
|
486
486
|
rows: D[]
|
|
487
|
-
cols: VxeTableDefines.ColumnInfo
|
|
487
|
+
cols: VxeTableDefines.ColumnInfo[]
|
|
488
488
|
isLeft: boolean
|
|
489
489
|
isUp: boolean
|
|
490
490
|
isRight: boolean
|
|
@@ -494,7 +494,7 @@ export namespace VxeTableExtendCellAreaDefines {
|
|
|
494
494
|
|
|
495
495
|
export interface CellAreaArrowsEndParams<D = any> extends CellAreaArrowsStartParams<D> {
|
|
496
496
|
targetRows: D[]
|
|
497
|
-
targetCols: VxeTableDefines.ColumnInfo
|
|
497
|
+
targetCols: VxeTableDefines.ColumnInfo[]
|
|
498
498
|
}
|
|
499
499
|
export interface CellAreaArrowsEndEventParams<D = any> extends EventParams<D>, CellAreaArrowsEndParams<D> { }
|
|
500
500
|
|
|
@@ -505,7 +505,7 @@ export namespace VxeTableExtendCellAreaDefines {
|
|
|
505
505
|
export interface ActiveCellChangeStartParams<D = any> {
|
|
506
506
|
activeArea: VxeTableExtendCellAreaDefines.MouseActiveCellArea
|
|
507
507
|
row: D
|
|
508
|
-
column: VxeTableDefines.ColumnInfo
|
|
508
|
+
column: VxeTableDefines.ColumnInfo
|
|
509
509
|
isTab: boolean
|
|
510
510
|
isEnter: boolean
|
|
511
511
|
isLeft: boolean
|