@fto-consult/expo-ui 2.23.9 → 2.23.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/package.json
CHANGED
|
@@ -976,11 +976,11 @@ export default class CommonDatagridComponent extends AppComponent {
|
|
|
976
976
|
}
|
|
977
977
|
toggleFilters(showFilters,cb){
|
|
978
978
|
if(!this._isMounted() || !this.isFilterable()) {
|
|
979
|
-
|
|
980
|
-
|
|
979
|
+
this.isUpdating = false;
|
|
980
|
+
return;
|
|
981
981
|
}
|
|
982
|
-
if(this.isUpdating) return false;
|
|
983
982
|
if(typeof showFilters !=='boolean' || showFilters === this.state.showFilters) return;
|
|
983
|
+
if(this.isUpdating) return false;
|
|
984
984
|
this.isUpdating = true;
|
|
985
985
|
setTimeout(()=>{
|
|
986
986
|
this.setState( {showFilters},()=>{
|
|
@@ -990,11 +990,11 @@ export default class CommonDatagridComponent extends AppComponent {
|
|
|
990
990
|
},100);
|
|
991
991
|
}
|
|
992
992
|
showFilters(){
|
|
993
|
-
return this.toggleFilters(false);
|
|
994
|
-
}
|
|
995
|
-
hideFilters (){
|
|
996
993
|
return this.toggleFilters(true);
|
|
997
994
|
}
|
|
995
|
+
hideFilters (){
|
|
996
|
+
return this.toggleFilters(false);
|
|
997
|
+
}
|
|
998
998
|
|
|
999
999
|
toggleFooters(showOrHide){
|
|
1000
1000
|
if(typeof showOrHide !=='boolean' || this.canShowFooters() === showOrHide) return;
|
|
@@ -1245,6 +1245,7 @@ export default class CommonDatagridComponent extends AppComponent {
|
|
|
1245
1245
|
m.unshift({
|
|
1246
1246
|
text : "Fonctions d'aggrégation",
|
|
1247
1247
|
icon : "material-functions",
|
|
1248
|
+
style : [{fontWeight:'bold'}],
|
|
1248
1249
|
//divider : true,
|
|
1249
1250
|
});
|
|
1250
1251
|
if(withDivider !== false){
|
|
@@ -284,14 +284,13 @@ const DatagridFactory = (Factory)=>{
|
|
|
284
284
|
,icon : showFooters?'view-column':'view-module'
|
|
285
285
|
,text : (showFooters?'Masquer/Ligne des totaux':'Afficher/Ligne des totaux')
|
|
286
286
|
} : null,
|
|
287
|
-
...this.getAggregatorFunctionsMenuItems(),
|
|
288
287
|
...(selectableMultiple ? restItems : [])
|
|
289
288
|
] : visibleColumns}
|
|
290
289
|
|
|
291
290
|
/>
|
|
292
291
|
{this.renderSectionListMenu()}
|
|
293
292
|
{this.renderDisplayTypes()}
|
|
294
|
-
{
|
|
293
|
+
{this.renderAggregatorFunctionsMenu()}
|
|
295
294
|
<View testID={testID+"_HeaderPagination"} style = {styles.paginationItem}>
|
|
296
295
|
<BottomSheetMenu
|
|
297
296
|
testID={testID+"_HeaderMenus"}
|