caplink-saas-ui-shared-component-library 1.75.2 → 1.75.3

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/dist/index.es.js CHANGED
@@ -38306,9 +38306,10 @@ function fge({
38306
38306
  return e === Jt["A-Z"] ? a : e === Jt["Z-A"] ? a.toReversed() : r;
38307
38307
  }
38308
38308
  if (o) {
38309
- const a = r.toSorted(
38310
- (l, c) => new Date(l[t]).getTime() - new Date(c[t]).getTime()
38311
- );
38309
+ const a = r.toSorted((l, c) => {
38310
+ const u = new Date(l[t]), d = new Date(c[t]), f = u.getTime(), h = d.getTime(), g = Number.isNaN(f) ? -1 / 0 : f, m = Number.isNaN(h) ? -1 / 0 : h;
38311
+ return g - m;
38312
+ });
38312
38313
  return e === Jt["A-Z"] ? a : e === Jt["Z-A"] ? a.toReversed() : r;
38313
38314
  }
38314
38315
  const i = r.toSorted((a, l) => {