cecomponent 2.0.20 → 2.0.22
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.
|
@@ -42310,13 +42310,15 @@ const CESkeletonTable = ({ columns: e, rows: t }) => /* @__PURE__ */ jsxRuntimeE
|
|
|
42310
42310
|
left: 0,
|
|
42311
42311
|
top: 0
|
|
42312
42312
|
}), G = useMemo(() => {
|
|
42313
|
-
if (
|
|
42313
|
+
if (f == null || f === "")
|
|
42314
|
+
return null;
|
|
42314
42315
|
const Te = typeof f == "string" ? new Date(f) : new Date(f);
|
|
42315
|
-
return Te.setHours(0, 0, 0, 0), Te;
|
|
42316
|
+
return Te.setHours(0, 0, 0, 0), isNaN(Te.getTime()) ? null : Te;
|
|
42316
42317
|
}, [f]), W = useMemo(() => {
|
|
42317
|
-
if (
|
|
42318
|
+
if (p == null || p === "")
|
|
42319
|
+
return null;
|
|
42318
42320
|
const Te = typeof p == "string" ? new Date(p) : new Date(p);
|
|
42319
|
-
return Te.setHours(0, 0, 0, 0), Te;
|
|
42321
|
+
return Te.setHours(0, 0, 0, 0), isNaN(Te.getTime()) ? null : Te;
|
|
42320
42322
|
}, [p]), z = useMemo(() => {
|
|
42321
42323
|
if (!u) return null;
|
|
42322
42324
|
const Te = /* @__PURE__ */ new Date();
|
|
@@ -42553,7 +42555,7 @@ const CESkeletonTable = ({ columns: e, rows: t }) => /* @__PURE__ */ jsxRuntimeE
|
|
|
42553
42555
|
"button",
|
|
42554
42556
|
{
|
|
42555
42557
|
onClick: () => b ? pe(1) : ue(1),
|
|
42556
|
-
disabled: !
|
|
42558
|
+
disabled: !1,
|
|
42557
42559
|
children: "›"
|
|
42558
42560
|
}
|
|
42559
42561
|
)
|
package/package.json
CHANGED