vxe-pc-ui 4.18.6 → 4.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.
Files changed (51) hide show
  1. package/dist/all.esm.js +28 -13
  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/modal/index.js +8 -4
  6. package/es/modal/src/modal.js +18 -7
  7. package/es/style.css +1 -1
  8. package/es/style.min.css +1 -1
  9. package/es/ui/index.js +1 -1
  10. package/es/ui/src/log.js +1 -1
  11. package/lib/icon/style/style.css +1 -1
  12. package/lib/icon/style/style.min.css +1 -1
  13. package/lib/index.umd.js +37 -13
  14. package/lib/index.umd.min.js +1 -1
  15. package/lib/modal/index.js +8 -4
  16. package/lib/modal/index.min.js +1 -1
  17. package/lib/modal/src/modal.js +27 -7
  18. package/lib/modal/src/modal.min.js +1 -1
  19. package/lib/style.css +1 -1
  20. package/lib/style.min.css +1 -1
  21. package/lib/ui/index.js +1 -1
  22. package/lib/ui/index.min.js +1 -1
  23. package/lib/ui/src/log.js +1 -1
  24. package/lib/ui/src/log.min.js +1 -1
  25. package/package.json +1 -1
  26. package/packages/modal/index.ts +8 -4
  27. package/packages/modal/src/modal.ts +19 -7
  28. package/types/components/column.d.ts +15 -15
  29. package/types/components/grid.d.ts +3 -3
  30. package/types/components/table-module/edit.d.ts +12 -12
  31. package/types/components/table-module/filter.d.ts +3 -3
  32. package/types/components/table-module/validator.d.ts +5 -5
  33. package/types/components/table-plugins/extend-cell-area.d.ts +32 -32
  34. package/types/components/table.d.ts +217 -217
  35. package/types/components/toolbar.d.ts +1 -1
  36. package/types/handles/form-design.d.ts +1 -1
  37. package/types/handles/table.d.ts +1 -1
  38. package/types/ui/interceptor.d.ts +5 -5
  39. package/types/ui/renderer.d.ts +12 -12
  40. /package/es/icon/{iconfont.1788860378031.ttf → iconfont.1788953836807.ttf} +0 -0
  41. /package/es/icon/{iconfont.1788860378031.woff → iconfont.1788953836807.woff} +0 -0
  42. /package/es/icon/{iconfont.1788860378031.woff2 → iconfont.1788953836807.woff2} +0 -0
  43. /package/es/{iconfont.1788860378031.ttf → iconfont.1788953836807.ttf} +0 -0
  44. /package/es/{iconfont.1788860378031.woff → iconfont.1788953836807.woff} +0 -0
  45. /package/es/{iconfont.1788860378031.woff2 → iconfont.1788953836807.woff2} +0 -0
  46. /package/lib/icon/style/{iconfont.1788860378031.ttf → iconfont.1788953836807.ttf} +0 -0
  47. /package/lib/icon/style/{iconfont.1788860378031.woff → iconfont.1788953836807.woff} +0 -0
  48. /package/lib/icon/style/{iconfont.1788860378031.woff2 → iconfont.1788953836807.woff2} +0 -0
  49. /package/lib/{iconfont.1788860378031.ttf → iconfont.1788953836807.ttf} +0 -0
  50. /package/lib/{iconfont.1788860378031.woff → iconfont.1788953836807.woff} +0 -0
  51. /package/lib/{iconfont.1788860378031.woff2 → iconfont.1788953836807.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<D>
53
+ column?: number | VxeTableDefines.ColumnInfo
54
54
  row?: D | number
55
55
  }): Promise<any>
56
56
  /**
@@ -233,7 +233,7 @@ export namespace VxeTableExtendCellAreaDefines {
233
233
  /**
234
234
  * 对应的列数组
235
235
  */
236
- cols: VxeTableDefines.ColumnInfo<D>[]
236
+ cols: VxeTableDefines.ColumnInfo[]
237
237
  /**
238
238
  * 对应的行数组
239
239
  */
@@ -258,7 +258,7 @@ export namespace VxeTableExtendCellAreaDefines {
258
258
  type: CELL_AREA_TYPE
259
259
  area: MouseCellArea<D>
260
260
  row: any
261
- column: VxeTableDefines.ColumnInfo<D>
261
+ column: VxeTableDefines.ColumnInfo
262
262
  top: number
263
263
  left: number
264
264
  width: number
@@ -271,7 +271,7 @@ export namespace VxeTableExtendCellAreaDefines {
271
271
  rightEl?: HTMLElement | null
272
272
  type: CELL_AREA_TYPE
273
273
  rows: D[]
274
- cols: VxeTableDefines.ColumnInfo<D>[]
274
+ cols: VxeTableDefines.ColumnInfo[]
275
275
  top: number
276
276
  left: number
277
277
  width: number
@@ -282,15 +282,15 @@ export namespace VxeTableExtendCellAreaDefines {
282
282
 
283
283
  export interface CellAreaConfig<D = any> {
284
284
  type?: CELL_AREA_TYPE
285
- startColumn: VxeTableDefines.ColumnInfo<D> | VxeColumnPropTypes.Field | number
286
- endColumn: VxeTableDefines.ColumnInfo<D> | VxeColumnPropTypes.Field | number
285
+ startColumn: VxeTableDefines.ColumnInfo | VxeColumnPropTypes.Field | number
286
+ endColumn: VxeTableDefines.ColumnInfo | VxeColumnPropTypes.Field | number
287
287
  startRow: D | number
288
288
  endRow: D | number
289
289
  }
290
290
 
291
291
  export interface ActiveCellAreaConfig<D = any> {
292
292
  area: VxeTableExtendCellAreaDefines.MouseCellArea<D> | number
293
- column: VxeTableDefines.ColumnInfo<D> | VxeColumnPropTypes.Field | number
293
+ column: VxeTableDefines.ColumnInfo | VxeColumnPropTypes.Field | number
294
294
  row: D | number
295
295
  }
296
296
 
@@ -298,12 +298,12 @@ export namespace VxeTableExtendCellAreaDefines {
298
298
 
299
299
  export interface ExtendCellAreaCalcBaseParams<D = any> {
300
300
  rows: D[]
301
- cols: VxeTableDefines.ColumnInfo<D>[]
301
+ cols: VxeTableDefines.ColumnInfo[]
302
302
  targetValues: any[][]
303
303
  targetRows: any[]
304
- targetCols: VxeTableDefines.ColumnInfo<D>[]
304
+ targetCols: VxeTableDefines.ColumnInfo[]
305
305
  extendRows: any[]
306
- extendCols: VxeTableDefines.ColumnInfo<D>[]
306
+ extendCols: VxeTableDefines.ColumnInfo[]
307
307
  direction: ExtendCellAreaDirection
308
308
  $table: VxeTableConstructor<D>
309
309
  $grid: VxeGridConstructor<D> | null | undefined
@@ -327,14 +327,14 @@ export namespace VxeTableExtendCellAreaDefines {
327
327
  export interface FnrFindParams<D = any> {
328
328
  findValue: string
329
329
  row: D
330
- column: VxeTableDefines.ColumnInfo<D>
330
+ column: VxeTableDefines.ColumnInfo
331
331
  }
332
332
  export type FnrFindEventParams<D = any> = FnrFindParams<D>
333
333
 
334
334
  export interface FindAndReplaceResult<D = any> {
335
335
  row: D
336
336
  _rowIndex: number
337
- column: VxeTableDefines.ColumnInfo<D>
337
+ column: VxeTableDefines.ColumnInfo
338
338
  _columnIndex: number
339
339
  }
340
340
 
@@ -348,7 +348,7 @@ export namespace VxeTableExtendCellAreaDefines {
348
348
  findValue: string
349
349
  replaceValue: string
350
350
  row: any
351
- column: VxeTableDefines.ColumnInfo<D>
351
+ column: VxeTableDefines.ColumnInfo
352
352
  }
353
353
  export type FnrReplaceEventParams<D = any> = FnrReplaceParams<D>
354
354
 
@@ -400,15 +400,15 @@ export namespace VxeTableExtendCellAreaDefines {
400
400
 
401
401
  export interface HeaderCellAreaSelectionParams<D = any> {
402
402
  targetRows: D[]
403
- targetCols: VxeTableDefines.ColumnInfo<D>[]
404
- column: VxeTableDefines.ColumnInfo<D>
403
+ targetCols: VxeTableDefines.ColumnInfo[]
404
+ column: VxeTableDefines.ColumnInfo
405
405
  _columnIndex: number
406
406
  }
407
407
  export interface HeaderCellAreaSelectionEventParams<D = any> extends EventParams<D>, HeaderCellAreaSelectionParams<D> { }
408
408
 
409
409
  export interface CellAreaSelectionInvalidParams<D = any> {
410
410
  row: D
411
- column: VxeTableDefines.ColumnInfo<D>
411
+ column: VxeTableDefines.ColumnInfo
412
412
  }
413
413
  export interface CellAreaSelectionInvalidEventParams<D = any> extends EventParams<D>, CellAreaSelectionInvalidParams<D> { }
414
414
 
@@ -416,7 +416,7 @@ export namespace VxeTableExtendCellAreaDefines {
416
416
  row: D
417
417
  _rowIndex: number
418
418
  $rowIndex: number
419
- column: VxeTableDefines.ColumnInfo<D>
419
+ column: VxeTableDefines.ColumnInfo
420
420
  _columnIndex: number
421
421
  $columnIndex: number
422
422
  cell: HTMLElement
@@ -425,52 +425,52 @@ export namespace VxeTableExtendCellAreaDefines {
425
425
 
426
426
  export interface CellAreaSelectionDragParams<D = any> {
427
427
  rows: D[]
428
- cols: VxeTableDefines.ColumnInfo<D>[]
428
+ cols: VxeTableDefines.ColumnInfo[]
429
429
  }
430
430
  export interface CellAreaSelectionDragEventParams<D = any> extends EventParams<D>, CellAreaSelectionDragParams<D> { }
431
431
 
432
432
  export interface CellAreaSelectionEndParams<D = any> {
433
433
  rows: D[]
434
- cols: VxeTableDefines.ColumnInfo<D>[]
434
+ cols: VxeTableDefines.ColumnInfo[]
435
435
  }
436
436
  export interface CellAreaSelectionEndEventParams<D = any> extends EventParams<D>, CellAreaSelectionEndParams<D> { }
437
437
 
438
438
  export interface CellAreaExtensionStartParams<D = any> {
439
439
  fixed: VxeColumnPropTypes.Fixed
440
440
  rows: D[]
441
- cols: VxeTableDefines.ColumnInfo<D>[]
441
+ cols: VxeTableDefines.ColumnInfo[]
442
442
  }
443
443
  export interface CellAreaExtensionStartEventParams<D = any> extends EventParams<D>, CellAreaExtensionStartParams<D> {
444
444
  targetRows: D[]
445
- targetCols: VxeTableDefines.ColumnInfo<D>[]
445
+ targetCols: VxeTableDefines.ColumnInfo[]
446
446
  }
447
447
 
448
448
  export interface CellAreaExtensionDragParams<D = any> {
449
449
  fixed: VxeColumnPropTypes.Fixed
450
450
  rows: D[]
451
- cols: VxeTableDefines.ColumnInfo<D>[]
451
+ cols: VxeTableDefines.ColumnInfo[]
452
452
  targetRows: D[]
453
- targetCols: VxeTableDefines.ColumnInfo<D>[]
453
+ targetCols: VxeTableDefines.ColumnInfo[]
454
454
  }
455
455
  export interface CellAreaExtensionDragEventParams<D = any> extends EventParams<D>, CellAreaExtensionDragParams<D> { }
456
456
 
457
457
  export interface CellAreaExtensionEndParams<D = any> {
458
458
  fixed: VxeColumnPropTypes.Fixed
459
459
  rows: D[]
460
- cols: VxeTableDefines.ColumnInfo<D>[]
460
+ cols: VxeTableDefines.ColumnInfo[]
461
461
  targetRows: D[]
462
- targetCols: VxeTableDefines.ColumnInfo<D>[]
462
+ targetCols: VxeTableDefines.ColumnInfo[]
463
463
  }
464
464
  export interface CellAreaExtensionEndEventParams<D = any> extends EventParams<D>, CellAreaExtensionEndParams<D> { }
465
465
 
466
466
  export interface CellAreaExtensionFillEventParams<D = any> extends EventParams<D> {
467
467
  rows: D[]
468
- cols: VxeTableDefines.ColumnInfo<D>[]
468
+ cols: VxeTableDefines.ColumnInfo[]
469
469
  targetValues: any[][]
470
470
  targetRows: D[]
471
- targetCols: VxeTableDefines.ColumnInfo<D>[]
471
+ targetCols: VxeTableDefines.ColumnInfo[]
472
472
  extendRows: D[]
473
- extendCols: VxeTableDefines.ColumnInfo<D>[]
473
+ extendCols: VxeTableDefines.ColumnInfo[]
474
474
  direction: 'up' | 'down' | 'left' | 'right'
475
475
  }
476
476
 
@@ -480,13 +480,13 @@ export namespace VxeTableExtendCellAreaDefines {
480
480
 
481
481
  export interface CellAreaSelectionAllEndParams<D = any> {
482
482
  rows: D[]
483
- cols: VxeTableDefines.ColumnInfo<D>[]
483
+ cols: VxeTableDefines.ColumnInfo[]
484
484
  }
485
485
  export interface CellAreaSelectionAllEndEventParams<D = any> extends EventParams<D>, CellAreaSelectionAllEndParams<D> { }
486
486
 
487
487
  export interface CellAreaArrowsStartParams<D = any> {
488
488
  rows: D[]
489
- cols: VxeTableDefines.ColumnInfo<D>[]
489
+ cols: VxeTableDefines.ColumnInfo[]
490
490
  isLeft: boolean
491
491
  isUp: boolean
492
492
  isRight: boolean
@@ -496,7 +496,7 @@ export namespace VxeTableExtendCellAreaDefines {
496
496
 
497
497
  export interface CellAreaArrowsEndParams<D = any> extends CellAreaArrowsStartParams<D> {
498
498
  targetRows: D[]
499
- targetCols: VxeTableDefines.ColumnInfo<D>[]
499
+ targetCols: VxeTableDefines.ColumnInfo[]
500
500
  }
501
501
  export interface CellAreaArrowsEndEventParams<D = any> extends EventParams<D>, CellAreaArrowsEndParams<D> { }
502
502
 
@@ -507,7 +507,7 @@ export namespace VxeTableExtendCellAreaDefines {
507
507
  export interface ActiveCellChangeStartParams<D = any> {
508
508
  activeArea: VxeTableExtendCellAreaDefines.MouseActiveCellArea
509
509
  row: D
510
- column: VxeTableDefines.ColumnInfo<D>
510
+ column: VxeTableDefines.ColumnInfo
511
511
  isTab: boolean
512
512
  isEnter: boolean
513
513
  isLeft: boolean