@fto-consult/expo-ui 7.19.0 → 7.20.0
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": "7.
|
3
|
+
"version": "7.20.0",
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
5
5
|
"scripts": {
|
6
6
|
"clear-npx-cache": "npx clear-npx-cache",
|
@@ -72,7 +72,7 @@
|
|
72
72
|
"@expo/vector-icons": "^13.0.0",
|
73
73
|
"@faker-js/faker": "^8.0.2",
|
74
74
|
"@fto-consult/common": "^4.4.0",
|
75
|
-
"@fto-consult/electron-gen": "^2.3.
|
75
|
+
"@fto-consult/electron-gen": "^2.3.1",
|
76
76
|
"@fto-consult/expo-ui": "^7.17.9",
|
77
77
|
"@pchmn/expo-material3-theme": "^1.3.1",
|
78
78
|
"@react-native-async-storage/async-storage": "1.18.2",
|
@@ -114,7 +114,7 @@
|
|
114
114
|
"react-native-get-random-values": "~1.9.0",
|
115
115
|
"react-native-iphone-x-helper": "^1.3.1",
|
116
116
|
"react-native-mime-types": "^2.4.0",
|
117
|
-
"react-native-paper": "^5.
|
117
|
+
"react-native-paper": "^5.12.0",
|
118
118
|
"react-native-paper-dates": "^0.21.7",
|
119
119
|
"react-native-reanimated": "~3.3.0",
|
120
120
|
"react-native-safe-area-context": "4.6.3",
|
@@ -110,8 +110,12 @@ const TableDataSelectField = React.forwardRef(({foreignKeyColumn,swrOptions,fore
|
|
110
110
|
const fetchItemsRef = React.useRef(customFetchItem);
|
111
111
|
fetchItemsRef.current = customFetchItem;
|
112
112
|
swrOptions = Object.assign({},swrOptions);
|
113
|
-
|
113
|
+
///@see : https://swr.vercel.app/docs/revalidation#disable-automatic-revalidations
|
114
|
+
if(isFilter || isDisabled){
|
114
115
|
swrOptions.refreshInterval = 0;
|
116
|
+
swrOptions.revalidateOnFocus = false;
|
117
|
+
swrOptions.revalidateIfStale = false;
|
118
|
+
swrOptions.revalidateOnReconnect = false;
|
115
119
|
}
|
116
120
|
const restOptionsRef = React.useRef({});
|
117
121
|
const fetchedResultRef = React.useRef({});
|
@@ -50,7 +50,7 @@ module.exports = {
|
|
50
50
|
"license": "ISC"
|
51
51
|
},
|
52
52
|
"@fto-consult/electron-gen": {
|
53
|
-
"version": "2.3.
|
53
|
+
"version": "2.3.1",
|
54
54
|
"license": "ISC"
|
55
55
|
},
|
56
56
|
"@pchmn/expo-material3-theme": {
|
@@ -259,7 +259,7 @@ module.exports = {
|
|
259
259
|
"license": "MIT"
|
260
260
|
},
|
261
261
|
"react-native-paper": {
|
262
|
-
"version": "5.
|
262
|
+
"version": "5.12.0",
|
263
263
|
"url": "https://callstack.github.io/react-native-paper",
|
264
264
|
"license": "MIT"
|
265
265
|
},
|