@fto-consult/expo-ui 6.52.3 → 6.52.5
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/babel.config.alias.js
CHANGED
@@ -13,7 +13,9 @@ module.exports = (opts)=>{
|
|
13
13
|
opts.withPouchDB = opts.withPouchDB !== false && opts.withPouchdb !== false ? true : false;
|
14
14
|
delete opts.withPouchdb;
|
15
15
|
const expoUI = require("./expo-ui-path")();
|
16
|
-
const
|
16
|
+
const euCommon = path.resolve(expoUI,"node_modules","@fto-consult","common");
|
17
|
+
const cpath = fs.existsSync(euCommon)? path.resolve(euCommon,"babel.config.alias") : "@fto-consult/common/babel.config.alias";
|
18
|
+
const r = require(`${cpath}`)(opts);
|
17
19
|
const expo = path.resolve(expoUI,"src");
|
18
20
|
r.$edocs = path.resolve(expoUI,"docs");//l'alias de la documentation
|
19
21
|
r["$edocs-components"] = path.resolve(r.$edocs,"components");
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fto-consult/expo-ui",
|
3
|
-
"version": "6.52.
|
3
|
+
"version": "6.52.5",
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
5
5
|
"main": "main",
|
6
6
|
"scripts": {
|
@@ -70,7 +70,7 @@
|
|
70
70
|
"@expo/html-elements": "^0.5.1",
|
71
71
|
"@expo/vector-icons": "^13.0.0",
|
72
72
|
"@faker-js/faker": "^8.0.2",
|
73
|
-
"@fto-consult/common": "^3.
|
73
|
+
"@fto-consult/common": "^3.47.1",
|
74
74
|
"@pchmn/expo-material3-theme": "^1.3.1",
|
75
75
|
"@react-native-async-storage/async-storage": "1.18.2",
|
76
76
|
"@react-native-community/datetimepicker": "7.2.0",
|
@@ -189,17 +189,16 @@ const SWRDatagridComponent = React.forwardRef((props,ref)=>{
|
|
189
189
|
delete opts.page;
|
190
190
|
delete opts.offset;
|
191
191
|
}
|
192
|
+
opts.url = opts.path = url;
|
192
193
|
if(showProgressRef.current ===false){
|
193
194
|
opts.showError = false;
|
194
195
|
}
|
195
|
-
|
196
|
-
console.log("handling dddfetttcher ",fUrl,url,opts);
|
196
|
+
console.log("will fetch ",url,opts);
|
197
197
|
if(typeof fetcher =='function'){
|
198
|
-
return fetcher(
|
198
|
+
return fetcher(url,opts);
|
199
199
|
}
|
200
|
-
return apiFetch(
|
200
|
+
return apiFetch(url,opts);
|
201
201
|
},
|
202
|
-
showError : false,
|
203
202
|
swrOptions : getSWROptions(swrConfig.refreshTimeout)
|
204
203
|
});
|
205
204
|
const dataRef = React.useRef(null);
|