@cdmx/wappler_ag_grid 0.7.3 → 0.7.4

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 (2) hide show
  1. package/dmx-ag-grid.js +2 -2
  2. package/package.json +1 -1
package/dmx-ag-grid.js CHANGED
@@ -413,9 +413,9 @@ dmx.Component('ag-grid', {
413
413
  for (const value of values) {
414
414
  if (value === null || value === undefined || value === '') {
415
415
  hasText = true;
416
- } else if (!isNaN(Number(value))) {
416
+ } else if (!isNaN(Number(value)) && !(typeof value === "string")) {
417
417
  hasNumber = true;
418
- } else if (!isNaN(Date.parse(value))) {
418
+ } else if (moment(value, moment.ISO_8601, true).isValid()) {
419
419
  hasDate = true;
420
420
  } else {
421
421
  hasText = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdmx/wappler_ag_grid",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "type": "module",
5
5
  "description": "App Connect module for AG Grid Table Generation.",
6
6
  "license": "MIT",