@fto-consult/expo-ui 6.35.1 → 6.35.3
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.js +0 -1
- package/index.js +8 -6
- package/package.json +4 -4
- package/src/screens/Help/openLibraries.js +1 -1
package/babel.config.js
CHANGED
@@ -16,7 +16,6 @@ module.exports = function(api,opts) {
|
|
16
16
|
/*** par défaut, les variables d'environnements sont stockés dans le fichier .env situé à la racine du projet, référencée par la prop base */
|
17
17
|
const alias = require("./babel.config.alias")(options);
|
18
18
|
const $eelectron = alias.$eelectron || null;
|
19
|
-
const $ecomponents = alias.$ecomponents|| null;
|
20
19
|
const expoRoot = alias["$expo-ui-root-path"] || null;
|
21
20
|
const aDistPath = path.join("apexcharts","dist","apexcharts.min.js");
|
22
21
|
const expoRootModulesP = expoRoot && fs.existsSync(path.resolve(expoRoot,"node_modules")) && path.resolve(expoRoot,"node_modules") || null;
|
package/index.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import { registerRootComponent } from "expo";
|
2
|
-
import App from "./src/App";
|
3
2
|
import Provider from "$econtext/Provider";
|
4
3
|
const REGISTER_EVENT = "REGISTER-APP-COMPONENT-ROOT";
|
5
4
|
import {useState,useEffect} from "react";
|
6
5
|
const propsRef = {current:null};
|
7
6
|
import APP from "$capp/instance";
|
8
|
-
import {isObj} from "$cutils";
|
9
|
-
|
7
|
+
import {isObj,uniqid} from "$cutils";
|
8
|
+
import {View} from "react-native";
|
9
|
+
const isLOCALDEV = uniqid("is-expo-ui-local-DEV...");
|
10
10
|
|
11
11
|
/****
|
12
12
|
* les options sont de la forme :
|
@@ -37,21 +37,23 @@ const MainAppEntry = function(mProps){
|
|
37
37
|
},[]);
|
38
38
|
const cProps = isObj(props) ? props : propsRef.current;
|
39
39
|
if(!isObj(cProps)) {
|
40
|
-
return
|
40
|
+
return <View/>;
|
41
41
|
}
|
42
42
|
const {onMount,onUnmount,onRender,render,swrConfig,init,...rest} = {...mProps,...cProps};
|
43
|
+
const App = require("./src/App").default;
|
43
44
|
return <Provider {...rest} swrConfig={isObj(swrConfig) && swrConfig || {}} children={<App init={init} render={render} onMount={onMount} onUnmount={onUnmount} onRender={onRender}/>}/>
|
44
45
|
};
|
45
46
|
|
47
|
+
registerRootComponent(MainAppEntry);
|
48
|
+
|
46
49
|
export default function registerApp (opts){
|
47
50
|
propsRef.current = opts;
|
48
51
|
APP.trigger(REGISTER_EVENT,opts);
|
49
52
|
}
|
50
53
|
|
51
|
-
registerRootComponent(MainAppEntry);
|
52
|
-
|
53
54
|
//si après 5 secondes, l'application n'a pas été registrer, alors il s'agit d'un test en mode local
|
54
55
|
registerApp({
|
56
|
+
isLOCALDEV,
|
55
57
|
navigation : {
|
56
58
|
screens : require("./src/test-screens").default
|
57
59
|
},
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fto-consult/expo-ui",
|
3
|
-
"version": "6.35.
|
3
|
+
"version": "6.35.3",
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
@@ -80,8 +80,8 @@
|
|
80
80
|
"@react-navigation/native-stack": "^6.9.13",
|
81
81
|
"@shopify/flash-list": "1.4.3",
|
82
82
|
"apexcharts": "^3.42.0",
|
83
|
-
"expo": "^49.0.
|
84
|
-
"expo-camera": "~13.4.
|
83
|
+
"expo": "^49.0.10",
|
84
|
+
"expo-camera": "~13.4.4",
|
85
85
|
"expo-clipboard": "~4.3.1",
|
86
86
|
"expo-font": "~11.4.0",
|
87
87
|
"expo-image-picker": "~14.3.2",
|
@@ -107,7 +107,7 @@
|
|
107
107
|
"react-native-iphone-x-helper": "^1.3.1",
|
108
108
|
"react-native-mime-types": "^2.4.0",
|
109
109
|
"react-native-paper": "^5.10.4",
|
110
|
-
"react-native-paper-dates": "^0.
|
110
|
+
"react-native-paper-dates": "^0.19.0",
|
111
111
|
"react-native-reanimated": "~3.3.0",
|
112
112
|
"react-native-safe-area-context": "4.6.3",
|
113
113
|
"react-native-screens": "~3.22.0",
|
@@ -1 +1 @@
|
|
1
|
-
module.exports = {"@fto-consult/expo-ui":{"version":"6.
|
1
|
+
module.exports = {"@fto-consult/expo-ui":{"version":"6.35.2","url":"https://github.com/borispipo/expo-ui#readme","license":"ISC"},"@emotion/native":{"version":"11.11.0","url":"https://emotion.sh","license":"MIT"},"@emotion/react":{"version":"11.11.1","url":"https://github.com/emotion-js/emotion/tree/main/packages/react","license":"MIT"},"@expo/html-elements":{"version":"0.5.1","url":"https://github.com/expo/expo/tree/main/packages/html-elements","license":"MIT"},"@expo/metro-config":{"version":"0.10.7","url":"https://github.com/expo/expo.git","license":"MIT"},"@expo/vector-icons":{"version":"13.0.0","url":"https://expo.github.io/vector-icons","license":"MIT"},"@expo/webpack-config":{"version":"19.0.0","url":"https://github.com/expo/expo-cli.git","license":"MIT"},"@faker-js/faker":{"version":"8.0.2","url":"https://github.com/faker-js/faker.git","license":"MIT"},"@fto-consult/common":{"version":"3.35.1","url":"https://github.com/borispipo/common#readme","license":"ISC"},"@pchmn/expo-material3-theme":{"version":"1.3.1","url":"https://github.com/pchmn/expo-material3-theme#readme","license":"MIT"},"@react-native-async-storage/async-storage":{"version":"1.18.2","url":"https://github.com/react-native-async-storage/async-storage#readme","license":"MIT"},"@react-native-community/datetimepicker":{"version":"7.2.0","url":"https://github.com/react-native-community/datetimepicker#readme","license":"MIT"},"@react-native-community/netinfo":{"version":"9.3.10","url":"https://github.com/react-native-netinfo/react-native-netinfo#readme","license":"MIT"},"@react-native/assets-registry":{"version":"0.72.0","url":"git@github.com:facebook/react-native.git","license":"MIT"},"@react-navigation/native":{"version":"6.1.7","url":"https://reactnavigation.org","license":"MIT"},"@react-navigation/native-stack":{"version":"6.9.13","url":"https://github.com/software-mansion/react-native-screens#readme","license":"MIT"},"@shopify/flash-list":{"version":"1.4.3","url":"https://shopify.github.io/flash-list/","license":"MIT"},"apexcharts":{"version":"3.42.0","url":"https://apexcharts.com","license":"MIT"},"babel-plugin-inline-dotenv":{"version":"1.7.0","url":"https://github.com/brysgo/babel-plugin-inline-dotenv#readme","license":"ISC"},"babel-plugin-module-resolver":{"version":"5.0.0","url":"https://github.com/tleunen/babel-plugin-module-resolver.git","license":"MIT"},"expo":{"version":"49.0.10","url":"https://github.com/expo/expo/tree/main/packages/expo","license":"MIT"},"expo-camera":{"version":"13.4.4","url":"https://docs.expo.dev/versions/latest/sdk/camera/","license":"MIT"},"expo-clipboard":{"version":"4.3.1","url":"https://docs.expo.dev/versions/latest/sdk/clipboard","license":"MIT"},"expo-font":{"version":"11.4.0","url":"https://docs.expo.dev/versions/latest/sdk/font/","license":"MIT"},"expo-image-picker":{"version":"14.3.2","url":"https://docs.expo.dev/versions/latest/sdk/imagepicker/","license":"MIT"},"expo-linking":{"version":"5.0.2","url":"https://docs.expo.dev/versions/latest/sdk/linking","license":"MIT"},"expo-sqlite":{"version":"11.3.3","url":"https://docs.expo.dev/versions/latest/sdk/sqlite/","license":"MIT"},"expo-status-bar":{"version":"1.6.0","url":"https://docs.expo.dev/versions/latest/sdk/status-bar/","license":"MIT"},"expo-system-ui":{"version":"2.4.0","url":"https://docs.expo.dev/versions/latest/sdk/system-ui","license":"MIT"},"expo-web-browser":{"version":"12.3.2","url":"https://docs.expo.dev/versions/latest/sdk/webbrowser/","license":"MIT"},"file-saver":{"version":"2.0.5","url":"https://github.com/eligrey/FileSaver.js#readme","license":"MIT"},"fs-extra":{"version":"11.1.1","url":"https://github.com/jprichardson/node-fs-extra","license":"MIT"},"google-libphonenumber":{"version":"3.2.33","url":"https://ruimarinho.github.io/google-libphonenumber/","license":"(MIT AND Apache-2.0)"},"htmlparser2-without-node-native":{"version":"3.9.2","url":"git://github.com/fb55/htmlparser2.git","license":"MIT"},"pdfmake":{"version":"0.2.7","url":"http://pdfmake.org","license":"MIT"},"process":{"version":"0.11.10","url":"git://github.com/shtylman/node-process.git","license":"MIT"},"prop-types":{"version":"15.8.1","url":"https://facebook.github.io/react/","license":"MIT"},"react":{"version":"18.2.0","url":"https://reactjs.org/","license":"MIT"},"react-content-loader":{"version":"6.2.1","url":"https://github.com/danilowoz/react-content-loader","license":"MIT"},"react-dom":{"version":"18.2.0","url":"https://reactjs.org/","license":"MIT"},"react-native":{"version":"0.72.4","license":"MIT"},"react-native-big-list":{"version":"1.6.1","url":"https://marcocesarato.github.io/react-native-big-list-docs/","license":"GPL-3.0-or-later"},"react-native-blob-util":{"version":"0.18.6","url":"https://github.com/RonRadtke/react-native-blob-util","license":"MIT"},"react-native-gesture-handler":{"version":"2.12.1","url":"https://github.com/software-mansion/react-native-gesture-handler#readme","license":"MIT"},"react-native-iphone-x-helper":{"version":"1.3.1","url":"https://github.com/ptelad/react-native-iphone-x-helper#readme","license":"MIT"},"react-native-mime-types":{"version":"2.4.0","license":"MIT"},"react-native-paper":{"version":"5.10.4","url":"https://callstack.github.io/react-native-paper","license":"MIT"},"react-native-paper-dates":{"version":"0.19.0","url":"https://github.com/web-ridge/react-native-paper-dates#readme","license":"MIT"},"react-native-reanimated":{"version":"3.3.0","url":"https://github.com/software-mansion/react-native-reanimated#readme","license":"MIT"},"react-native-safe-area-context":{"version":"4.6.3","url":"https://github.com/th3rdwave/react-native-safe-area-context#readme","license":"MIT"},"react-native-screens":{"version":"3.22.1","url":"https://github.com/software-mansion/react-native-screens#readme","license":"MIT"},"react-native-svg":{"version":"13.9.0","url":"https://github.com/react-native-community/react-native-svg","license":"MIT"},"react-native-web":{"version":"0.19.7","url":"git://github.com/necolas/react-native-web.git","license":"MIT"},"react-native-webview":{"version":"13.2.2","url":"https://github.com/react-native-webview/react-native-webview#readme","license":"MIT"},"react-virtuoso":{"version":"4.5.1","url":"https://virtuoso.dev/","license":"MIT"},"sharp-cli":{"version":"4.1.1","url":"https://github.com/vseventer/sharp-cli","license":"MIT"},"tippy.js":{"version":"6.3.7","url":"https://atomiks.github.io/tippyjs/","license":"MIT"},"uninstall":{"version":"0.0.0","license":"MIT"},"websql":{"version":"2.0.3","url":"git://github.com/nolanlawson/node-websql.git","license":"Apache-2.0"},"xlsx":{"version":"0.18.5","url":"https://sheetjs.com/","license":"Apache-2.0"}};
|