@fto-consult/expo-ui 8.4.5 → 8.4.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": "8.4.5",
3
+ "version": "8.4.7",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "scripts": {
6
6
  "clear-npx-cache": "npx clear-npx-cache",
@@ -108,7 +108,6 @@
108
108
  "react-native": "0.73.2",
109
109
  "react-native-big-list": "^1.6.1",
110
110
  "react-native-blob-util": "^0.18.6",
111
- "react-native-gesture-handler": "~2.14.0",
112
111
  "react-native-get-random-values": "~1.8.0",
113
112
  "react-native-iphone-x-helper": "^1.3.1",
114
113
  "react-native-mime-types": "^2.4.0",
@@ -41,7 +41,6 @@ import Logo from "$ecomponents/Logo";
41
41
  import AppEntryRootView from "./RootView";
42
42
  import { SafeAreaProvider } from 'react-native-safe-area-context';
43
43
  import {isNeutralino} from "$cplatform";
44
- import "react-native-gesture-handler";
45
44
 
46
45
  let MAX_BACK_COUNT = 1;
47
46
  let countBack = 0;
@@ -21,7 +21,7 @@ export const isAssets = (asset,staticAssets)=>{
21
21
  }
22
22
  export const isValidImageSrc = (src)=>{
23
23
  if(!isNonNullString(src)) return false;
24
- return isDataURL(src)? true : isValidURL(src) ? true : src.contains("/static/media/")? true : false;
24
+ return isDataURL(src) && !src.includes(",undefined") ? true : isValidURL(src) ? true : src.contains("/static/media/")? true : false;
25
25
  }
26
26
  export const resolveAssetSource = (source)=>{
27
27
  if(!source && !isDecimal(source)) return undefined;
@@ -1,5 +1,4 @@
1
1
  import "$session";
2
- import "react-native-gesture-handler";
3
2
  import React from "$react";
4
3
  import appConfig from "$capp/config";
5
4
  import {MD3LightTheme,MD3DarkTheme,configureFonts} from "react-native-paper";
@@ -151,7 +151,8 @@ export const TableDataScreenItem = ({fromTableDataLink,...props})=>{
151
151
  return TableDataScreenComponentRef.current;
152
152
  },[])
153
153
  if(!React.isComponent(Item)) {
154
- throw "Impossible de rendre le composant TableDataScreen, car la fonction registerApp n'a pas été initialisé avec un composant devant servir pour le rendu des TableData screens item";
154
+ console.error("Impossible de rendre le composant TableDataScreen, car le provider ExpoUIProvider n'a pas été initialisé avec un composant (props TableDataListScreen de la props components) devant servir pour le rendu des TableData screens item",Item,props);
155
+ return null;
155
156
  }
156
157
  const {params:cParams,data,tableName:tbName,table:tb2} = fromTableDataLink===true ? props : getRouteOptions(props);
157
158
  const params = extendObj({},props.params,cParams);