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