@fto-consult/expo-ui 6.52.3 → 6.52.4

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.
@@ -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 r = require(`@fto-consult/common/babel.config.alias`)(opts);
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",
3
+ "version": "6.52.4",
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.46.0",
73
+ "@fto-consult/common": "^3.47.0",
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",
@@ -193,13 +193,11 @@ const SWRDatagridComponent = React.forwardRef((props,ref)=>{
193
193
  opts.showError = false;
194
194
  }
195
195
  const {url:fUrl,...rest} = prepareFetchOptions(url,opts);
196
- console.log("handling dddfetttcher ",fUrl,url,opts);
197
196
  if(typeof fetcher =='function'){
198
197
  return fetcher(fUrl,rest);
199
198
  }
200
199
  return apiFetch(fUrl,rest);
201
200
  },
202
- showError : false,
203
201
  swrOptions : getSWROptions(swrConfig.refreshTimeout)
204
202
  });
205
203
  const dataRef = React.useRef(null);