vxe-table 3.19.44 → 3.19.45
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/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 +17 -2
- 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/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/styles/components/table-module/filter.scss +1 -1
- /package/es/{iconfont.1768624947935.ttf → iconfont.1768899685524.ttf} +0 -0
- /package/es/{iconfont.1768624947935.woff → iconfont.1768899685524.woff} +0 -0
- /package/es/{iconfont.1768624947935.woff2 → iconfont.1768899685524.woff2} +0 -0
- /package/lib/{iconfont.1768624947935.ttf → iconfont.1768899685524.ttf} +0 -0
- /package/lib/{iconfont.1768624947935.woff → iconfont.1768899685524.woff} +0 -0
- /package/lib/{iconfont.1768624947935.woff2 → iconfont.1768899685524.woff2} +0 -0
package/es/table/render/index.js
CHANGED
|
@@ -725,6 +725,16 @@ function handleNumberCell(h, renderOpts, params) {
|
|
|
725
725
|
}
|
|
726
726
|
: {});
|
|
727
727
|
}
|
|
728
|
+
function handleFormatDatePicker(renderOpts, params) {
|
|
729
|
+
const { props = {} } = renderOpts;
|
|
730
|
+
const { cellValue } = params;
|
|
731
|
+
if (cellValue) {
|
|
732
|
+
if (props.type !== 'time') {
|
|
733
|
+
return getLabelFormatDate(cellValue, props);
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
return cellValue;
|
|
737
|
+
}
|
|
728
738
|
function handleFormatSelect(renderOpts, params) {
|
|
729
739
|
const { cellValue } = params;
|
|
730
740
|
return handleSelectCellValue(cellValue, renderOpts);
|
|
@@ -954,6 +964,7 @@ renderer.mixin({
|
|
|
954
964
|
}
|
|
955
965
|
return getCellLabelVNs(h, renderOpts, params, cellValue);
|
|
956
966
|
},
|
|
967
|
+
tableCellFormatter: handleFormatDatePicker,
|
|
957
968
|
renderTableDefault: defaultEditRender,
|
|
958
969
|
createTableFilterOptions: defaultFilterOptions,
|
|
959
970
|
renderTableFilter: defaultFilterRender,
|
package/es/table/style.css
CHANGED
|
@@ -1523,7 +1523,7 @@
|
|
|
1523
1523
|
border: 1px solid var(--vxe-ui-base-popup-border-color);
|
|
1524
1524
|
color: var(--vxe-ui-font-color);
|
|
1525
1525
|
box-shadow: var(--vxe-ui-base-popup-box-shadow);
|
|
1526
|
-
z-index:
|
|
1526
|
+
z-index: 15;
|
|
1527
1527
|
}
|
|
1528
1528
|
.vxe-table--filter-wrapper:not(.is--multiple) .vxe-table--filter-header,
|
|
1529
1529
|
.vxe-table--filter-wrapper:not(.is--multiple) .vxe-table--filter-body {
|