@fto-consult/expo-ui 6.73.10 → 6.73.12

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.73.10",
3
+ "version": "6.73.12",
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.60.4",
74
+ "@fto-consult/common": "^3.61.7",
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",
@@ -220,7 +220,7 @@ const SWRDatagridComponent = React.forwardRef((props,ref)=>{
220
220
  dataRef.current = data;
221
221
  totalRef.current = total;
222
222
  return {data,total};
223
- },[result,loading])
223
+ },[result,customIsLoading,isLoading])
224
224
  React.useEffect(()=>{
225
225
  setTimeout(x=>{
226
226
  if(error && innerRef.current && innerRef.current.isLoading && innerRef.current.isLoading()){
@@ -526,7 +526,7 @@ export default class TableDataScreenComponent extends FormDataScreen{
526
526
  return false;
527
527
  }
528
528
  getCurrentEditingData(data){
529
- return this.isDocEditing(data)? data : this.getCurrentData();
529
+ return this.isDocEditing(data)? data : isObj(data) && Object.size(data,true) ? extendObj({},this.getCurrentData(),data) : this.getCurrentData();
530
530
  }
531
531
  approve (data){
532
532
  if(!this.isApprovable()) return;