@cdmx/wappler_ag_grid 1.3.5 → 1.3.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.
package/README.md CHANGED
@@ -19,7 +19,7 @@ With the update to AG Grid v31, a built-in page limit dropdown feature has been
19
19
  - "Quartz"
20
20
  - "Custom"
21
21
  5. **Dark Mode** (Default: false)
22
- 6. **Locale**: Select the locale for the grid. Currently supported locales: English (EN), Russian (RU) and Hebrew (HE). (Default: EN)
22
+ 6. **Locale**: Select the locale for the grid. Currently supported locales: English (EN), Russian (RU), Hebrew (HE) and Portuguese (PT). (Default: EN)
23
23
 
24
24
  **Note for Custom Theme:**
25
25
  When you select the "Custom" theme option, you have the flexibility to define your own unique styling for the ag-Grid components.
package/dmx-ag-grid.js CHANGED
@@ -593,7 +593,7 @@ dmx.Component('ag-grid', {
593
593
  operators.push(part);
594
594
  } else {
595
595
  const [left, operator, right] = extractConditionParts(part);
596
- const result = evaluateCondition(params.data[left], operator, right);
596
+ const result = params.data[left] !== null ? evaluateCondition(params.data[left], operator, right) : false;
597
597
  results.push(result);
598
598
  }
599
599
  }
@@ -1001,7 +1001,7 @@ dmx.Component('ag-grid', {
1001
1001
  const [left, operator, right] = extractConditionParts(condition);
1002
1002
  if (
1003
1003
  params.data.hasOwnProperty(left) &&
1004
- evaluateCondition(params.data[left], operator, right)
1004
+ (params.data[left] !== null ? evaluateCondition(params.data[left], operator, right) : false)
1005
1005
  ) {
1006
1006
  if (area === 'text') {
1007
1007
  return { color: customColor, fontStyle: font, fontWeight: (font==='bold'?'bold':null) };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdmx/wappler_ag_grid",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "type": "module",
5
5
  "description": "App Connect module for AG Grid Table Generation.",
6
6
  "license": "MIT",