@fto-consult/expo-ui 8.25.17 → 8.26.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.
@@ -0,0 +1,7 @@
1
+ module.exports = [
2
+ "@babel/plugin-proposal-export-namespace-from",
3
+ "@expo/metro-config",
4
+ "@expo/webpack-config",
5
+ "babel-plugin-inline-dotenv",
6
+ "babel-plugin-module-resolver"
7
+ ]
package/bin/index.js CHANGED
@@ -38,6 +38,12 @@ program.command('generate-getTable')
38
38
  .action((src, options) => {
39
39
  require("./update");
40
40
  });
41
+
42
+ program.command('install')
43
+ .description('permet d\'installer les dépendences expo-ui de l\'application')
44
+ .action((src, options) => {
45
+ require("./install");
46
+ });
41
47
 
42
48
 
43
49
  program.parse();
package/bin/install.js ADDED
@@ -0,0 +1,14 @@
1
+ const fs = require("fs");
2
+ const projectRoot = process.cwd();
3
+ const {exec,writeFile} = require("@fto-consult/node-utils");
4
+ const dependencies = require("./create-app/dependencies");
5
+ const scripts = Object.keys(dependencies).join(" ");
6
+ const devDependencies = require("./create-app/devDependencies").join(" ");
7
+
8
+ exec(`npm install expo @fto-consult/expo-ui@latest`,{projectRoot}).finally(()=>{
9
+ exec(`npx expo install ${scripts} --fix`,{projectRoot}).finally((i)=>{
10
+ exec(`npm install -D ${devDependencies}`,{projectRoot}).then((i)=>{
11
+ console.log("packages installés avec succès!!");
12
+ });
13
+ });
14
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "8.25.17",
3
+ "version": "8.26.0",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "scripts": {
6
6
  "clear-npx-cache": "npx clear-npx-cache",
@@ -3631,6 +3631,9 @@ export default class CommonDatagridComponent extends AppComponent {
3631
3631
  this[this.hidePreloaderOnRenderKey] = !!toggle;
3632
3632
  }
3633
3633
  onRender(){
3634
+ if(typeof this.props.onRender =="function"){
3635
+ this.props.onRender({context:this});
3636
+ }
3634
3637
  if(!this.props.isLoading && this.isLoadingRef.current){
3635
3638
  this.setIsLoading(false);
3636
3639
  return;
@@ -1,6 +1,6 @@
1
1
  module.exports = {
2
2
  "@fto-consult/expo-ui": {
3
- "version": "8.25.16",
3
+ "version": "8.25.18",
4
4
  "url": "https://github.com/borispipo/expo-ui#readme",
5
5
  "license": "ISC"
6
6
  },
@@ -15,7 +15,7 @@ module.exports = {
15
15
  "license": "MIT"
16
16
  },
17
17
  "@expo/html-elements": {
18
- "version": "0.5.1",
18
+ "version": "0.9.1",
19
19
  "url": "https://github.com/expo/expo/tree/main/packages/html-elements",
20
20
  "license": "MIT"
21
21
  },
@@ -39,33 +39,28 @@ module.exports = {
39
39
  "url": "https://github.com/pchmn/expo-material3-theme#readme",
40
40
  "license": "MIT"
41
41
  },
42
- "@react-native-async-storage/async-storage": {
43
- "version": "1.21.0",
44
- "url": "https://github.com/react-native-async-storage/async-storage#readme",
45
- "license": "MIT"
46
- },
47
42
  "@react-native-community/netinfo": {
48
43
  "version": "11.1.0",
49
44
  "url": "https://github.com/react-native-netinfo/react-native-netinfo#readme",
50
45
  "license": "MIT"
51
46
  },
52
47
  "@react-native/assets-registry": {
53
- "version": "0.72.0",
54
- "url": "git@github.com:facebook/react-native.git",
48
+ "version": "0.74.0",
49
+ "url": "https://github.com/facebook/react-native/tree/HEAD/packages/assets#readme",
55
50
  "license": "MIT"
56
51
  },
57
52
  "@react-navigation/native": {
58
- "version": "6.1.9",
53
+ "version": "6.1.10",
59
54
  "url": "https://reactnavigation.org",
60
55
  "license": "MIT"
61
56
  },
62
57
  "@react-navigation/native-stack": {
63
- "version": "6.9.17",
58
+ "version": "6.9.18",
64
59
  "url": "https://github.com/software-mansion/react-native-screens#readme",
65
60
  "license": "MIT"
66
61
  },
67
62
  "@react-navigation/stack": {
68
- "version": "6.3.20",
63
+ "version": "6.3.21",
69
64
  "url": "https://reactnavigation.org/docs/stack-navigator/",
70
65
  "license": "MIT"
71
66
  },
@@ -187,10 +182,5 @@ module.exports = {
187
182
  "version": "13.6.4",
188
183
  "url": "https://github.com/react-native-webview/react-native-webview#readme",
189
184
  "license": "MIT"
190
- },
191
- "socket.io-client": {
192
- "version": "4.7.4",
193
- "url": "https://github.com/socketio/socket.io-client.git",
194
- "license": "MIT"
195
185
  }
196
186
  };