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/lib/index.umd.js CHANGED
@@ -3237,7 +3237,7 @@ function getClass(property, params) {
3237
3237
  ;// ./packages/ui/index.ts
3238
3238
 
3239
3239
 
3240
- const version = "3.19.43";
3240
+ const version = "3.19.45";
3241
3241
  core_.VxeUI.version = version;
3242
3242
  core_.VxeUI.tableVersion = version;
3243
3243
  core_.VxeUI.setConfig({
@@ -3962,7 +3962,7 @@ var es_iterator_reduce = __webpack_require__(8237);
3962
3962
  const {
3963
3963
  log: log_log
3964
3964
  } = core_.VxeUI;
3965
- const log_version = `table v${"3.19.43"}`;
3965
+ const log_version = `table v${"3.19.45"}`;
3966
3966
  const warnLog = log_log.create('warn', log_version);
3967
3967
  const errLog = log_log.create('error', log_version);
3968
3968
  ;// ./packages/table/src/columnInfo.ts
@@ -25015,6 +25015,20 @@ function handleNumberCell(h, renderOpts, params) {
25015
25015
  class: 'is--negative'
25016
25016
  } : {});
25017
25017
  }
25018
+ function handleFormatDatePicker(renderOpts, params) {
25019
+ const {
25020
+ props = {}
25021
+ } = renderOpts;
25022
+ const {
25023
+ cellValue
25024
+ } = params;
25025
+ if (cellValue) {
25026
+ if (props.type !== 'time') {
25027
+ return getLabelFormatDate(cellValue, props);
25028
+ }
25029
+ }
25030
+ return cellValue;
25031
+ }
25018
25032
  function handleFormatSelect(renderOpts, params) {
25019
25033
  const {
25020
25034
  cellValue
@@ -25292,6 +25306,7 @@ render_renderer.mixin({
25292
25306
  }
25293
25307
  return getCellLabelVNs(h, renderOpts, params, cellValue);
25294
25308
  },
25309
+ tableCellFormatter: handleFormatDatePicker,
25295
25310
  renderTableDefault: defaultEditRender,
25296
25311
  createTableFilterOptions: defaultFilterOptions,
25297
25312
  renderTableFilter: defaultFilterRender,