@cdmx/wappler_ag_grid 0.1.0 → 0.1.2

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
@@ -1,4 +1,5 @@
1
- # wappler_ag_grid
1
+ Maintained by: Roney Dsilva
2
+
2
3
  This Custom Module provides the below features:
3
4
  1. Generates AG-Grid given a Data Source
4
5
  2. Automatically sets the Filter types and Date formats
@@ -12,4 +13,6 @@ This Custom Module provides the below features:
12
13
  10. Timezone setting for Date fields
13
14
  11. Data Manipulation
14
15
  12. Theme selection
15
- 13. Row Click Event Handling
16
+ 13. Row Click Event Handling
17
+ 14. Options to enable checkboxes for IDs for bulk select Operations
18
+ 15. Options to enable Toggle Sliders for status fields
@@ -870,9 +870,9 @@
870
870
  {
871
871
  "name": "dmx-ag-grid-status-checked",
872
872
  "attributeStartsWith": "dmx-on",
873
- "attribute": "row_status_checked",
873
+ "attribute": "row_status_enabled",
874
874
  "display": "fieldset",
875
- "title": "Status Checked",
875
+ "title": "Status Enabled",
876
876
  "icon": "fa fa-lg fa-chevron-right",
877
877
  "groupTitle": "Grid Events",
878
878
  "groupIcon": "fa fa-lg fa-cubes",
@@ -887,7 +887,7 @@
887
887
  {
888
888
  "name": "rowStatusChecked",
889
889
  "attributeStartsWith": "dmx-on",
890
- "attribute": "row_status_checked",
890
+ "attribute": "row_status_enabled",
891
891
  "isValue": true,
892
892
  "actionsPicker": true,
893
893
  "title": "Action:",
@@ -904,9 +904,9 @@
904
904
  {
905
905
  "name": "dmx-ag-grid-status-unchecked",
906
906
  "attributeStartsWith": "dmx-on",
907
- "attribute": "row_status_unchecked",
907
+ "attribute": "row_status_disabled",
908
908
  "display": "fieldset",
909
- "title": "Status Unchecked",
909
+ "title": "Status Disabled",
910
910
  "icon": "fa fa-lg fa-chevron-right",
911
911
  "groupTitle": "Grid Events",
912
912
  "groupIcon": "fa fa-lg fa-cubes",
@@ -921,7 +921,7 @@
921
921
  {
922
922
  "name": "rowStatusUnchecked",
923
923
  "attributeStartsWith": "dmx-on",
924
- "attribute": "row_status_unchecked",
924
+ "attribute": "row_status_disabled",
925
925
  "isValue": true,
926
926
  "actionsPicker": true,
927
927
  "title": "Action:",
package/dmx-ag-grid.js CHANGED
@@ -163,12 +163,12 @@ dmx.Component('ag-grid', {
163
163
  // Code for when the checkbox is checked
164
164
  this.set('id', idValue);
165
165
  this.set('fields', {"field": columnName, "data": value});
166
- this.dispatchEvent('row_status_checked')
166
+ this.dispatchEvent('row_status_enabled')
167
167
  } else {
168
168
  // Code for when the checkbox is unchecked
169
169
  this.set('id', idValue);
170
170
  this.set('fields', {"field": columnName, "data": value});
171
- this.dispatchEvent('row_status_unchecked')
171
+ this.dispatchEvent('row_status_disabled')
172
172
  }
173
173
  };
174
174
  function clickCellRenderer(params) {
@@ -543,8 +543,8 @@ const cstyles = this.props.cstyles
543
543
  row_clicked: Event,
544
544
  row_checkbox_checked: Event,
545
545
  row_checkbox_unchecked: Event,
546
- row_status_checked: Event,
547
- row_status_unchecked: Event
546
+ row_status_enabled: Event,
547
+ row_status_disabled: Event
548
548
  },
549
549
 
550
550
  render: function(node) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdmx/wappler_ag_grid",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "description": "App Connect module for AG Grid Table Generation",
6
6
  "license": "MIT",