@cdmx/wappler_ag_grid 1.4.5 → 1.4.7

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
@@ -768,7 +768,7 @@ dmx.Component('ag-grid', {
768
768
  hasText = true;
769
769
  } else if (!isNaN(Number(value)) && !(typeof value === "string")) {
770
770
  hasNumber = true;
771
- } else if ((new Date(value)).getTime() > 0) {
771
+ } else if (((new Date(value)).getTime() > 0) && (value.includes('-') || value.includes('/'))) {
772
772
  hasDate = true;
773
773
  } else {
774
774
  hasText = true;
@@ -1315,7 +1315,7 @@ dmx.Component('ag-grid', {
1315
1315
  suppressPropertyNamesCheck: this.props.suppress_property_names_check,
1316
1316
  suppressRowDeselection: this.props.suppress_row_deselection,
1317
1317
  columnHoverHighlight: this.props.column_hover_highlight,
1318
- onFilterChanged: function (params) {
1318
+ onFilterModified: function (params) {
1319
1319
  const columnApi = params.columnApi.api;
1320
1320
  columnApi.hideOverlay();
1321
1321
  if (!params.api.filterManager.rowModel.rowsToDisplay.length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdmx/wappler_ag_grid",
3
- "version": "1.4.5",
3
+ "version": "1.4.7",
4
4
  "type": "module",
5
5
  "description": "App Connect module for AG Grid Table Generation.",
6
6
  "license": "MIT",