vxe-pc-ui 4.15.1 → 4.15.2
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/dist/all.esm.js +107 -11
- package/es/date-panel/src/util.js +12 -0
- package/es/date-picker/src/date-picker.js +71 -5
- package/es/date-range-picker/src/date-range-picker.js +17 -2
- package/es/number-input/src/number-input.js +2 -3
- package/es/splitter/src/splitter.js +5 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/date-panel/src/util.js +13 -0
- package/lib/date-panel/src/util.min.js +1 -1
- package/lib/date-picker/src/date-picker.js +82 -3
- package/lib/date-picker/src/date-picker.min.js +1 -1
- package/lib/date-range-picker/src/date-range-picker.js +17 -2
- package/lib/date-range-picker/src/date-range-picker.min.js +1 -1
- package/lib/index.umd.js +120 -11
- package/lib/index.umd.min.js +1 -1
- package/lib/number-input/src/number-input.js +2 -3
- package/lib/splitter/src/splitter.js +5 -1
- package/lib/splitter/src/splitter.min.js +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-panel/src/util.ts +13 -0
- package/packages/date-picker/src/date-picker.ts +73 -5
- package/packages/date-range-picker/src/date-range-picker.ts +15 -2
- package/packages/number-input/src/number-input.ts +2 -6
- package/packages/splitter/src/splitter.ts +5 -1
- package/types/components/date-picker.d.ts +18 -0
- package/types/components/date-range-picker.d.ts +4 -0
- package/types/components/splitter.d.ts +1 -0
- package/types/components/table.d.ts +29 -3
- /package/es/icon/{iconfont.1781675429363.ttf → iconfont.1781753592499.ttf} +0 -0
- /package/es/icon/{iconfont.1781675429363.woff → iconfont.1781753592499.woff} +0 -0
- /package/es/icon/{iconfont.1781675429363.woff2 → iconfont.1781753592499.woff2} +0 -0
- /package/es/{iconfont.1781675429363.ttf → iconfont.1781753592499.ttf} +0 -0
- /package/es/{iconfont.1781675429363.woff → iconfont.1781753592499.woff} +0 -0
- /package/es/{iconfont.1781675429363.woff2 → iconfont.1781753592499.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1781675429363.ttf → iconfont.1781753592499.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1781675429363.woff → iconfont.1781753592499.woff} +0 -0
- /package/lib/icon/style/{iconfont.1781675429363.woff2 → iconfont.1781753592499.woff2} +0 -0
- /package/lib/{iconfont.1781675429363.ttf → iconfont.1781753592499.ttf} +0 -0
- /package/lib/{iconfont.1781675429363.woff → iconfont.1781753592499.woff} +0 -0
- /package/lib/{iconfont.1781675429363.woff2 → iconfont.1781753592499.woff2} +0 -0
|
@@ -1377,6 +1377,8 @@ export namespace VxeTablePropTypes {
|
|
|
1377
1377
|
* 是否启用浮动筛选
|
|
1378
1378
|
*/
|
|
1379
1379
|
floatingFilters?: VxeColumnPropTypes.FloatingFilters
|
|
1380
|
+
rowClassName?: string
|
|
1381
|
+
cellClassName?: string
|
|
1380
1382
|
}
|
|
1381
1383
|
|
|
1382
1384
|
/**
|
|
@@ -1501,8 +1503,14 @@ export namespace VxeTablePropTypes {
|
|
|
1501
1503
|
* 提示信息配置项
|
|
1502
1504
|
*/
|
|
1503
1505
|
export interface TooltipConfig<D = VxeTablePropTypes.Row> {
|
|
1506
|
+
/**
|
|
1507
|
+
* 所有单元格开启工具提示
|
|
1508
|
+
*/
|
|
1504
1509
|
showAll?: boolean
|
|
1505
1510
|
theme?: VxeTooltipPropTypes.Theme
|
|
1511
|
+
/**
|
|
1512
|
+
* 鼠标是否可进入到工具提示中
|
|
1513
|
+
*/
|
|
1506
1514
|
enterable?: VxeTooltipPropTypes.Enterable
|
|
1507
1515
|
enterDelay?: VxeTooltipPropTypes.EnterDelay
|
|
1508
1516
|
leaveDelay?: VxeTooltipPropTypes.LeaveDelay
|
|
@@ -1512,10 +1520,22 @@ export namespace VxeTablePropTypes {
|
|
|
1512
1520
|
minHeight?: VxeTooltipPropTypes.MinHeight
|
|
1513
1521
|
maxWidth?: VxeTooltipPropTypes.MaxWidth
|
|
1514
1522
|
maxHeight?: VxeTooltipPropTypes.MaxHeight
|
|
1523
|
+
/**
|
|
1524
|
+
* 显示为 HTML 标签
|
|
1525
|
+
*/
|
|
1515
1526
|
useHtml?: VxeTooltipPropTypes.UseHtml
|
|
1527
|
+
/**
|
|
1528
|
+
* 固定方向
|
|
1529
|
+
*/
|
|
1516
1530
|
placement?: VxeTooltipPropTypes.Placement
|
|
1531
|
+
/**
|
|
1532
|
+
* 默认方向
|
|
1533
|
+
*/
|
|
1517
1534
|
defaultPlacement?: VxeTooltipPropTypes.DefaultPlacement
|
|
1518
1535
|
popupClassName?: VxeTooltipPropTypes.PopupClassName
|
|
1536
|
+
/**
|
|
1537
|
+
* 该方法可以通过返回值来重写默认的提示内容,可以返回 null 使用默认的提示内容,可以返回空内容去掉指定单元格的提示内容
|
|
1538
|
+
*/
|
|
1519
1539
|
contentMethod?(params: {
|
|
1520
1540
|
$table: VxeTableConstructor<D>
|
|
1521
1541
|
items: any[]
|
|
@@ -1530,7 +1550,7 @@ export namespace VxeTablePropTypes {
|
|
|
1530
1550
|
type: 'body'
|
|
1531
1551
|
cell: HTMLElement
|
|
1532
1552
|
$event: any
|
|
1533
|
-
}): string | null | void
|
|
1553
|
+
}): string | boolean | null | void
|
|
1534
1554
|
/**
|
|
1535
1555
|
* 请使用 useHtml
|
|
1536
1556
|
* @deprecated
|
|
@@ -1538,6 +1558,9 @@ export namespace VxeTablePropTypes {
|
|
|
1538
1558
|
useHTML?: VxeTooltipPropTypes.UseHTML
|
|
1539
1559
|
}
|
|
1540
1560
|
export interface HeaderTooltipConfig<D = VxeTablePropTypes.Row> extends Omit<TooltipConfig<D>, 'contentMethod'> {
|
|
1561
|
+
/**
|
|
1562
|
+
* 该方法可以通过返回值来重写默认的提示内容,可以返回 null 使用默认的提示内容,可以返回空内容去掉指定单元格的提示内容
|
|
1563
|
+
*/
|
|
1541
1564
|
contentMethod?(params: {
|
|
1542
1565
|
$table: VxeTableConstructor<D>
|
|
1543
1566
|
$rowIndex: number
|
|
@@ -1548,9 +1571,12 @@ export namespace VxeTablePropTypes {
|
|
|
1548
1571
|
type: 'header'
|
|
1549
1572
|
cell: HTMLElement
|
|
1550
1573
|
$event: any
|
|
1551
|
-
}): string | null | void
|
|
1574
|
+
}): string | boolean | null | void
|
|
1552
1575
|
}
|
|
1553
1576
|
export interface FooterTooltipConfig<D = VxeTablePropTypes.Row> extends Omit<TooltipConfig<D>, 'contentMethod'> {
|
|
1577
|
+
/**
|
|
1578
|
+
* 该方法可以通过返回值来重写默认的提示内容,可以返回 null 使用默认的提示内容,可以返回空内容去掉指定单元格的提示内容
|
|
1579
|
+
*/
|
|
1554
1580
|
contentMethod?(params: {
|
|
1555
1581
|
$table: VxeTableConstructor<D>
|
|
1556
1582
|
items: any[]
|
|
@@ -1564,7 +1590,7 @@ export namespace VxeTablePropTypes {
|
|
|
1564
1590
|
type: 'footer'
|
|
1565
1591
|
cell: HTMLElement
|
|
1566
1592
|
$event: any
|
|
1567
|
-
}): string | null | void
|
|
1593
|
+
}): string | boolean | null | void
|
|
1568
1594
|
}
|
|
1569
1595
|
|
|
1570
1596
|
/**
|
|
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
|