dlzn-ui 2.0.81 → 2.0.83

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.
@@ -13,8 +13,10 @@ var s = /* @__PURE__ */ r({
13
13
  let s = r, c = a(), l = n(() => {
14
14
  let n = o(c.row, c.col.colKey);
15
15
  if (e(n)) return "";
16
- let r = t(n).format(s.format);
17
- return r === "Invalid Date" ? "" : r;
16
+ let r = s.format;
17
+ r === void 0 && (r = c.col.colKey.endsWith("Date") ? "YYYY-MM-DD" : "YYYY-MM-DD HH:mm:ss");
18
+ let i = t(n).format(r);
19
+ return i === "Invalid Date" ? "" : i;
18
20
  });
19
21
  return (e, t) => i(l.value);
20
22
  }
@@ -92,7 +92,7 @@ export type TableCol = {
92
92
  * @description: 列的显示与隐藏
93
93
  */
94
94
  visible?: boolean;
95
- } & Omit<_TableCol<TableRowData>, 'cell' | 'colKey' | 'ellipsis' | 'ellipsisTitle' | 'render' | 'resize' | 'title' | 'width'>;
95
+ } & Omit<_TableCol<TableRowData>, 'cell' | 'colKey' | 'ellipsis' | 'ellipsisTitle' | 'minWidth' | 'render' | 'resize' | 'title' | 'width'>;
96
96
  export type TableProps = {
97
97
  /**
98
98
  * @description: 数据变化时是否检查选中状态,默认 true
package/package.json CHANGED
@@ -114,7 +114,7 @@
114
114
  "> 1%",
115
115
  "not dead"
116
116
  ],
117
- "version": "2.0.81",
117
+ "version": "2.0.83",
118
118
  "scripts": {
119
119
  "dev": "vite --config play/vite.config.ts"
120
120
  }
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Index-DlS664Iz.mjs";
1
+ import { t as e } from "../../../../chunks/Index-vfQoUIwJ.mjs";
2
2
  export { e as default };
@@ -5,7 +5,7 @@ import { t as r } from "../../../chunks/Index-BKtK-Ikl.mjs";
5
5
  import { t as i } from "../../../chunks/Index-But4jrnW.mjs";
6
6
  import { t as a } from "../../../chunks/Index-BuqrJDKe.mjs";
7
7
  import { t as o } from "../../../chunks/Index-CB4vuxnX.mjs";
8
- import { t as s } from "../../../chunks/Index-DlS664Iz.mjs";
8
+ import { t as s } from "../../../chunks/Index-vfQoUIwJ.mjs";
9
9
  import { t as c } from "../../../chunks/Index-BVighfGs.mjs";
10
10
  import { t as l } from "../../../chunks/Index-sYhv1xn9.mjs";
11
11
  import { t as u } from "../../../chunks/Index-CoNNokMv.mjs";