vxe-table 3.19.44 → 3.19.46
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/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/render/index.js +11 -0
- package/es/table/src/methods.js +1 -1
- package/es/table/style.css +1 -1
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +1 -1
- package/es/vxe-table/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +18 -3
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/render/index.js +15 -0
- package/lib/table/render/index.min.js +1 -1
- package/lib/table/src/methods.js +1 -1
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/style/style.css +1 -1
- package/lib/table/style/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/lib/vxe-table/style/style.css +1 -1
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/table/render/index.ts +12 -0
- package/packages/table/src/methods.ts +1 -1
- package/styles/components/table-module/filter.scss +1 -1
- /package/es/{iconfont.1768624947935.ttf → iconfont.1769072161508.ttf} +0 -0
- /package/es/{iconfont.1768624947935.woff → iconfont.1769072161508.woff} +0 -0
- /package/es/{iconfont.1768624947935.woff2 → iconfont.1769072161508.woff2} +0 -0
- /package/lib/{iconfont.1768624947935.ttf → iconfont.1769072161508.ttf} +0 -0
- /package/lib/{iconfont.1768624947935.woff → iconfont.1769072161508.woff} +0 -0
- /package/lib/{iconfont.1768624947935.woff2 → iconfont.1769072161508.woff2} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vxe-table",
|
|
3
|
-
"version": "3.19.
|
|
3
|
+
"version": "3.19.46",
|
|
4
4
|
"description": "A PC-end table component based on Vxe UI, supporting copy-paste, data pivot table, and high-performance virtual list table solution.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"update": "npm install --legacy-peer-deps",
|
|
@@ -793,6 +793,17 @@ function handleNumberCell (h: CreateElement, renderOpts: VxeGlobalRendererHandle
|
|
|
793
793
|
: {})
|
|
794
794
|
}
|
|
795
795
|
|
|
796
|
+
function handleFormatDatePicker (renderOpts: VxeGlobalRendererHandles.RenderTableDefaultOptions, params: VxeGlobalRendererHandles.TableCellFormatterParams) {
|
|
797
|
+
const { props = {} } = renderOpts
|
|
798
|
+
const { cellValue } = params
|
|
799
|
+
if (cellValue) {
|
|
800
|
+
if (props.type !== 'time') {
|
|
801
|
+
return getLabelFormatDate(cellValue, props)
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
return cellValue
|
|
805
|
+
}
|
|
806
|
+
|
|
796
807
|
function handleFormatSelect (renderOpts: VxeGlobalRendererHandles.RenderTableDefaultOptions, params: VxeGlobalRendererHandles.TableCellFormatterParams | VxeGlobalRendererHandles.TableCellCopyMethodParams) {
|
|
797
808
|
const { cellValue } = params
|
|
798
809
|
return handleSelectCellValue(cellValue, renderOpts)
|
|
@@ -1022,6 +1033,7 @@ renderer.mixin({
|
|
|
1022
1033
|
}
|
|
1023
1034
|
return getCellLabelVNs(h, renderOpts, params, cellValue)
|
|
1024
1035
|
},
|
|
1036
|
+
tableCellFormatter: handleFormatDatePicker,
|
|
1025
1037
|
renderTableDefault: defaultEditRender,
|
|
1026
1038
|
createTableFilterOptions: defaultFilterOptions,
|
|
1027
1039
|
renderTableFilter: defaultFilterRender,
|
|
@@ -11029,8 +11029,8 @@ const tableMethods: any = {
|
|
|
11029
11029
|
XEUtils.each(fullAllDataRowIdData, (rowRest) => {
|
|
11030
11030
|
rowRest.treeLoaded = false
|
|
11031
11031
|
})
|
|
11032
|
+
internalData.treeExpandedMaps = {}
|
|
11032
11033
|
}
|
|
11033
|
-
internalData.treeExpandedMaps = {}
|
|
11034
11034
|
if (transform) {
|
|
11035
11035
|
handleVirtualTreeToList($xeTable)
|
|
11036
11036
|
$xeTable.handleTableData()
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
border: 1px solid var(--vxe-ui-base-popup-border-color);
|
|
40
40
|
color: var(--vxe-ui-font-color);
|
|
41
41
|
box-shadow: var(--vxe-ui-base-popup-box-shadow);
|
|
42
|
-
z-index:
|
|
42
|
+
z-index: 15;
|
|
43
43
|
&:not(.is--multiple) {
|
|
44
44
|
.vxe-table--filter-header,
|
|
45
45
|
.vxe-table--filter-body {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|