@fto-consult/expo-ui 6.77.5 → 6.77.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "6.77.5",
3
+ "version": "6.77.7",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "main",
6
6
  "scripts": {
@@ -71,7 +71,7 @@
71
71
  "@expo/html-elements": "^0.5.1",
72
72
  "@expo/vector-icons": "^13.0.0",
73
73
  "@faker-js/faker": "^8.0.2",
74
- "@fto-consult/common": "^3.62.10",
74
+ "@fto-consult/common": "^3.62.14",
75
75
  "@pchmn/expo-material3-theme": "^1.3.1",
76
76
  "@react-native-async-storage/async-storage": "1.18.2",
77
77
  "@react-native-community/datetimepicker": "7.2.0",
@@ -1874,7 +1874,8 @@ export default class CommonDatagridComponent extends AppComponent {
1874
1874
  })
1875
1875
  }).finally(Preloader.close);
1876
1876
  }
1877
- handleTableExport({sessionKeyName,excel,pdf,isOnlytotal,displayOnlyHeader,data:config}){
1877
+ handleTableExport(args){
1878
+ let {sessionKeyName,excel,pdf,isOnlytotal,displayOnlyHeader,data:config} = args;
1878
1879
  this.setSessionData(sessionKeyName,config);
1879
1880
  config.fileName = sprintf(config.fileName);
1880
1881
  config.sheetName = sanitizeSheetName(config.sheetName);
@@ -1979,7 +1980,7 @@ export default class CommonDatagridComponent extends AppComponent {
1979
1980
  }
1980
1981
  });
1981
1982
  }
1982
- return {data,headers,config}
1983
+ return {...args,data,headers,config}
1983
1984
  }
1984
1985
 
1985
1986
  renderExportableMenu(){
@@ -291,7 +291,7 @@ const SWRDatagridComponent = React.forwardRef((props,ref)=>{
291
291
  });
292
292
  React.useEffect(()=>{
293
293
  showProgressRef.current = false;
294
- });
294
+ },[showProgressRef.current]);
295
295
  return (
296
296
  <Datagrid
297
297
  testID = {testID}