@cdmx/wappler_ag_grid 1.8.10 → 1.8.11
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/app_connect/components.hjson +25 -4
- package/dmx-ag-grid.js +3 -3
- package/package.json +4 -3
|
@@ -3540,7 +3540,7 @@
|
|
|
3540
3540
|
}
|
|
3541
3541
|
},
|
|
3542
3542
|
{
|
|
3543
|
-
"name": "dmx-ag-grid-export-filename",
|
|
3543
|
+
"name": "dmx-ag-grid-export-csv-filename",
|
|
3544
3544
|
"attributeStartsWith": "dmx-bind",
|
|
3545
3545
|
"attribute": "export_csv_filename",
|
|
3546
3546
|
"title": "Export CSV Filename",
|
|
@@ -3551,8 +3551,7 @@
|
|
|
3551
3551
|
"groupIcon": "fa fa-lg fa-cubes",
|
|
3552
3552
|
"defaultValue": false,
|
|
3553
3553
|
"show": [
|
|
3554
|
-
"exportCsvFilename"
|
|
3555
|
-
"exportPdfFilename"
|
|
3554
|
+
"exportCsvFilename"
|
|
3556
3555
|
],
|
|
3557
3556
|
"noChangeOnHide": true,
|
|
3558
3557
|
"groupEnabler": true,
|
|
@@ -3568,7 +3567,29 @@
|
|
|
3568
3567
|
"help": "Export CSV filename.",
|
|
3569
3568
|
"defaultValue": "export.csv",
|
|
3570
3569
|
"initDisplay": "none"
|
|
3571
|
-
}
|
|
3570
|
+
}
|
|
3571
|
+
],
|
|
3572
|
+
"allowedOn": {
|
|
3573
|
+
"dmx-ag-grid": true
|
|
3574
|
+
}
|
|
3575
|
+
},
|
|
3576
|
+
{
|
|
3577
|
+
"name": "dmx-ag-grid-export-pdf-filename",
|
|
3578
|
+
"attributeStartsWith": "dmx-bind",
|
|
3579
|
+
"attribute": "export_pdf_filename",
|
|
3580
|
+
"title": "Export PDF Filename",
|
|
3581
|
+
"type": "boolean",
|
|
3582
|
+
"display": "fieldset",
|
|
3583
|
+
"icon": "fa fa-lg fa-chevron-right",
|
|
3584
|
+
"groupTitle": "Grid Config",
|
|
3585
|
+
"groupIcon": "fa fa-lg fa-cubes",
|
|
3586
|
+
"defaultValue": false,
|
|
3587
|
+
"show": [
|
|
3588
|
+
"exportPdfFilename"
|
|
3589
|
+
],
|
|
3590
|
+
"noChangeOnHide": true,
|
|
3591
|
+
"groupEnabler": true,
|
|
3592
|
+
"children": [
|
|
3572
3593
|
{
|
|
3573
3594
|
"name": "exportPdfFilename",
|
|
3574
3595
|
"attributeStartsWith": "dmx-bind",
|
package/dmx-ag-grid.js
CHANGED
|
@@ -863,11 +863,11 @@ dmx.Component('ag-grid', {
|
|
|
863
863
|
}
|
|
864
864
|
// comparator for case-insensitive sorting
|
|
865
865
|
const caseInsensitiveComparator = (valueA, valueB) => {
|
|
866
|
-
if (valueA === null || valueA === undefined) {
|
|
867
|
-
return valueB === null || valueB === undefined ? 0 : -1;
|
|
866
|
+
if (valueA === null || valueA === undefined || valueA === '' || typeof valueA === 'number') {
|
|
867
|
+
return valueB === null || valueB === undefined || valueB === '' || typeof valueB === 'number' ? 0 : -1;
|
|
868
868
|
}
|
|
869
869
|
|
|
870
|
-
if (valueB === null || valueB === undefined) {
|
|
870
|
+
if (valueB === null || valueB === undefined || valueB === '' || typeof valueB === 'number') {
|
|
871
871
|
return 1;
|
|
872
872
|
}
|
|
873
873
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cdmx/wappler_ag_grid",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "App Connect module for AG Grid Table Generation.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"ag-grid"
|
|
15
15
|
],
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"ag-grid-community": "~32.0
|
|
17
|
+
"ag-grid-community": "~32.1.0",
|
|
18
18
|
"exceljs": "4.4.x",
|
|
19
19
|
"papaparse": "5.4.x"
|
|
20
20
|
},
|
|
@@ -22,4 +22,5 @@
|
|
|
22
22
|
"build": "rollup --config",
|
|
23
23
|
"publish-dry-run": "npm publish ./dist --access public --dry-run"
|
|
24
24
|
}
|
|
25
|
-
}
|
|
25
|
+
}
|
|
26
|
+
|