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.
Files changed (36) hide show
  1. package/es/index.css +1 -1
  2. package/es/index.min.css +1 -1
  3. package/es/style.css +1 -1
  4. package/es/style.min.css +1 -1
  5. package/es/table/render/index.js +11 -0
  6. package/es/table/style.css +1 -1
  7. package/es/table/style.min.css +1 -1
  8. package/es/ui/index.js +1 -1
  9. package/es/ui/src/log.js +1 -1
  10. package/es/vxe-table/style.css +1 -1
  11. package/es/vxe-table/style.min.css +1 -1
  12. package/lib/index.css +1 -1
  13. package/lib/index.min.css +1 -1
  14. package/lib/index.umd.js +17 -2
  15. package/lib/index.umd.min.js +1 -1
  16. package/lib/style.css +1 -1
  17. package/lib/style.min.css +1 -1
  18. package/lib/table/render/index.js +15 -0
  19. package/lib/table/render/index.min.js +1 -1
  20. package/lib/table/style/style.css +1 -1
  21. package/lib/table/style/style.min.css +1 -1
  22. package/lib/ui/index.js +1 -1
  23. package/lib/ui/index.min.js +1 -1
  24. package/lib/ui/src/log.js +1 -1
  25. package/lib/ui/src/log.min.js +1 -1
  26. package/lib/vxe-table/style/style.css +1 -1
  27. package/lib/vxe-table/style/style.min.css +1 -1
  28. package/package.json +1 -1
  29. package/packages/table/render/index.ts +12 -0
  30. package/styles/components/table-module/filter.scss +1 -1
  31. /package/es/{iconfont.1768624947935.ttf → iconfont.1768899685524.ttf} +0 -0
  32. /package/es/{iconfont.1768624947935.woff → iconfont.1768899685524.woff} +0 -0
  33. /package/es/{iconfont.1768624947935.woff2 → iconfont.1768899685524.woff2} +0 -0
  34. /package/lib/{iconfont.1768624947935.ttf → iconfont.1768899685524.ttf} +0 -0
  35. /package/lib/{iconfont.1768624947935.woff → iconfont.1768899685524.woff} +0 -0
  36. /package/lib/{iconfont.1768624947935.woff2 → iconfont.1768899685524.woff2} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vxe-table",
3
- "version": "3.19.44",
3
+ "version": "3.19.45",
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,
@@ -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: 10;
42
+ z-index: 15;
43
43
  &:not(.is--multiple) {
44
44
  .vxe-table--filter-header,
45
45
  .vxe-table--filter-body {