@cdmx/wappler_ag_grid 0.5.5 → 0.5.6

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 +7 -0
  2. package/package.json +1 -1
package/dmx-ag-grid.js CHANGED
@@ -420,6 +420,10 @@ dmx.Component('ag-grid', {
420
420
  return matchingItem[output];
421
421
  }
422
422
  }
423
+ if (options.amount_fields && options.amount_fields.includes(key)) {
424
+ console.log(parseFloat(value))
425
+ return parseFloat(value)
426
+ }
423
427
 
424
428
  // Return the original value if no matching changes were found
425
429
  return value;
@@ -509,6 +513,9 @@ dmx.Component('ag-grid', {
509
513
  return matchingItem[output];
510
514
  }
511
515
  }
516
+ if (options.amount_fields && options.amount_fields.includes(key)) {
517
+ return parseFloat(value)
518
+ }
512
519
  // Return the original value if no matching changes were found
513
520
  return value;
514
521
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdmx/wappler_ag_grid",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "type": "module",
5
5
  "description": "App Connect module for AG Grid Table Generation",
6
6
  "license": "MIT",