@fto-consult/expo-ui 2.16.0 → 2.16.2
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 +117 -117
- package/src/layouts/Screen/TableData.js +2 -1
package/package.json
CHANGED
|
@@ -1,117 +1,117 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fto-consult/expo-ui",
|
|
3
|
-
"version": "2.16.
|
|
4
|
-
"description": "Bibliothèque de composants UI Expo,react-native",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"publish1": "npm publish --access=public",
|
|
8
|
-
"unpublish": "npm -f unpublish @fto-consult/expo-ui",
|
|
9
|
-
"build-web": "",
|
|
10
|
-
"dev": "npx expo start -c --no-minify",
|
|
11
|
-
"start": "npx expo start --dev --no-minify",
|
|
12
|
-
"start-d": "npx expo start -c --no-dev --no-minify",
|
|
13
|
-
"start-p": "npm run start-d",
|
|
14
|
-
"expo-start-client": "npx expo start --dev --no-minify --dev-client",
|
|
15
|
-
"start-m": "npx expo start - c--dev--no -minify",
|
|
16
|
-
"android": "npx expo start --android -c",
|
|
17
|
-
"ios": "npx expo start --ios",
|
|
18
|
-
"web": "npx expo start --web",
|
|
19
|
-
"web-c": "npx expo start --web -c",
|
|
20
|
-
"eject": "expo eject",
|
|
21
|
-
"emulator": "npm run android-emulator",
|
|
22
|
-
"web-server": "npx serve web-build",
|
|
23
|
-
"build-android": "eas build --clear-cache -p android --profile preview",
|
|
24
|
-
"build-android-local": "eas build --platform android --local",
|
|
25
|
-
"build-android-dist": "eas build --clear-cache -p android",
|
|
26
|
-
"build-ios": "eas build --clear-cache -p ios --profile preview",
|
|
27
|
-
"build-ios-dist": "eas build --clear-cache -p ios",
|
|
28
|
-
"install-apk": "adb -s emulator-5554 install myapp.apk",
|
|
29
|
-
"android-emulator": "emulator -avd EMULATOR",
|
|
30
|
-
"flipper": "npx cross-env METRO_SERVER_PORT=19000 E:\\Studies\\react-native\\debugger\\Flipper-win\\Flipper.exe",
|
|
31
|
-
"build-electron": "electron-webpack && electron-builder --dir -c.compression=store",
|
|
32
|
-
"test:build": "electron-webpack && electron-builder --dir -c.compression=store -c.mac.identity=null",
|
|
33
|
-
"compile-electron": "webpack --config ./electron/webpack.config.js",
|
|
34
|
-
"compile-electron-p": "webpack --config ./electron/webpack.config.js --mode=production",
|
|
35
|
-
"electron": "electron ./electron",
|
|
36
|
-
"logcat": "adb -d logcat com.ftc.apps.salite1:E > errors.txt",
|
|
37
|
-
"logcat-export": "adb -d logcat com.ftc.apps.salite1 *:S > logcat.txt",
|
|
38
|
-
"electron-c": "npm run compile-electron && npm run electron",
|
|
39
|
-
"electron-p": "npm run compile-electron-p && npm run electron",
|
|
40
|
-
"update-app-version": "node ./update-app-version.js",
|
|
41
|
-
"find-licenses": "node ./find-licenses.js",
|
|
42
|
-
"fix-dependencies": "expo doctor --fix-dependencies",
|
|
43
|
-
"delete-node-modules": "rimraf ./**/node_modules",
|
|
44
|
-
"modifier-url-remote-git": "git remote set-url origin 'https://borispipo@github.com/borispipo/smart-eneo.git'"
|
|
45
|
-
},
|
|
46
|
-
"repository": {
|
|
47
|
-
"type": "git",
|
|
48
|
-
"url": "git+https://github.com/borispipo/expo-ui.git"
|
|
49
|
-
},
|
|
50
|
-
"keywords": [
|
|
51
|
-
"Expo",
|
|
52
|
-
"React-Native"
|
|
53
|
-
],
|
|
54
|
-
"author": "Boris Fouomene",
|
|
55
|
-
"license": "ISC",
|
|
56
|
-
"bugs": {
|
|
57
|
-
"url": "https://github.com/borispipo/expo-ui/issues"
|
|
58
|
-
},
|
|
59
|
-
"homepage": "https://github.com/borispipo/expo-ui#readme",
|
|
60
|
-
"dependencies": {
|
|
61
|
-
"@emotion/native": "^11.10.0",
|
|
62
|
-
"@expo/html-elements": "^0.2.0",
|
|
63
|
-
"@expo/vector-icons": "^13.0.0",
|
|
64
|
-
"@fto-consult/common": "^1.21.
|
|
65
|
-
"@gorhom/portal": "^1.0.14",
|
|
66
|
-
"@react-native-async-storage/async-storage": "~1.17.3",
|
|
67
|
-
"@react-native-community/datetimepicker": "6.5.2",
|
|
68
|
-
"@react-native-community/netinfo": "9.3.5",
|
|
69
|
-
"@react-navigation/native": "^6.0.13",
|
|
70
|
-
"@react-navigation/native-stack": "^6.9.1",
|
|
71
|
-
"@shopify/flash-list": "1.3.1",
|
|
72
|
-
"expo": "^47.0.8",
|
|
73
|
-
"expo-camera": "~13.1.0",
|
|
74
|
-
"expo-clipboard": "~4.0.1",
|
|
75
|
-
"expo-font": "~11.0.1",
|
|
76
|
-
"expo-image-picker": "~14.0.2",
|
|
77
|
-
"expo-linking": "~3.2.3",
|
|
78
|
-
"expo-sqlite": "~11.0.0",
|
|
79
|
-
"expo-status-bar": "~1.4.2",
|
|
80
|
-
"expo-system-ui": "~2.0.1",
|
|
81
|
-
"expo-web-browser": "~12.0.0",
|
|
82
|
-
"file-saver": "^2.0.5",
|
|
83
|
-
"google-libphonenumber": "^3.2.31",
|
|
84
|
-
"htmlparser2-without-node-native": "^3.9.2",
|
|
85
|
-
"mime-types": "^2.1.35",
|
|
86
|
-
"mongo-parse": "^2.1.0",
|
|
87
|
-
"parent-package-json": "^2.0.1",
|
|
88
|
-
"prop-types": "^15.8.1",
|
|
89
|
-
"react": "18.1.0",
|
|
90
|
-
"react-apexcharts": "^1.4.0",
|
|
91
|
-
"react-content-loader": "^6.2.0",
|
|
92
|
-
"react-dom": "18.1.0",
|
|
93
|
-
"react-native": "0.70.5",
|
|
94
|
-
"react-native-big-list": "^1.6.0",
|
|
95
|
-
"react-native-gesture-handler": "~2.8.0",
|
|
96
|
-
"react-native-paper": "^4.12.5",
|
|
97
|
-
"react-native-paper-dates": "^0.9.2",
|
|
98
|
-
"react-native-reanimated": "~2.12.0",
|
|
99
|
-
"react-native-safe-area-context": "4.4.1",
|
|
100
|
-
"react-native-screens": "~3.18.0",
|
|
101
|
-
"react-native-svg": "13.4.0",
|
|
102
|
-
"react-native-web": "~0.18.7",
|
|
103
|
-
"react-native-webview": "11.23.1",
|
|
104
|
-
"sharp-cli": "^2.1.0",
|
|
105
|
-
"tippy.js": "^6.3.7",
|
|
106
|
-
"xlsx": "^0.18.5"
|
|
107
|
-
},
|
|
108
|
-
"devDependencies": {
|
|
109
|
-
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
|
|
110
|
-
"@babel/preset-react": "^7.18.6",
|
|
111
|
-
"@expo/metro-config": "^0.5.1",
|
|
112
|
-
"@expo/webpack-config": "^0.17.3",
|
|
113
|
-
"babel-plugin-inline-dotenv": "^1.7.0",
|
|
114
|
-
"babel-plugin-module-resolver": "^4.1.0",
|
|
115
|
-
"babel-plugin-transform-inline-environment-variables": "^0.4.4"
|
|
116
|
-
}
|
|
117
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@fto-consult/expo-ui",
|
|
3
|
+
"version": "2.16.2",
|
|
4
|
+
"description": "Bibliothèque de composants UI Expo,react-native",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"publish1": "npm publish --access=public",
|
|
8
|
+
"unpublish": "npm -f unpublish @fto-consult/expo-ui",
|
|
9
|
+
"build-web": "",
|
|
10
|
+
"dev": "npx expo start -c --no-minify",
|
|
11
|
+
"start": "npx expo start --dev --no-minify",
|
|
12
|
+
"start-d": "npx expo start -c --no-dev --no-minify",
|
|
13
|
+
"start-p": "npm run start-d",
|
|
14
|
+
"expo-start-client": "npx expo start --dev --no-minify --dev-client",
|
|
15
|
+
"start-m": "npx expo start - c--dev--no -minify",
|
|
16
|
+
"android": "npx expo start --android -c",
|
|
17
|
+
"ios": "npx expo start --ios",
|
|
18
|
+
"web": "npx expo start --web",
|
|
19
|
+
"web-c": "npx expo start --web -c",
|
|
20
|
+
"eject": "expo eject",
|
|
21
|
+
"emulator": "npm run android-emulator",
|
|
22
|
+
"web-server": "npx serve web-build",
|
|
23
|
+
"build-android": "eas build --clear-cache -p android --profile preview",
|
|
24
|
+
"build-android-local": "eas build --platform android --local",
|
|
25
|
+
"build-android-dist": "eas build --clear-cache -p android",
|
|
26
|
+
"build-ios": "eas build --clear-cache -p ios --profile preview",
|
|
27
|
+
"build-ios-dist": "eas build --clear-cache -p ios",
|
|
28
|
+
"install-apk": "adb -s emulator-5554 install myapp.apk",
|
|
29
|
+
"android-emulator": "emulator -avd EMULATOR",
|
|
30
|
+
"flipper": "npx cross-env METRO_SERVER_PORT=19000 E:\\Studies\\react-native\\debugger\\Flipper-win\\Flipper.exe",
|
|
31
|
+
"build-electron": "electron-webpack && electron-builder --dir -c.compression=store",
|
|
32
|
+
"test:build": "electron-webpack && electron-builder --dir -c.compression=store -c.mac.identity=null",
|
|
33
|
+
"compile-electron": "webpack --config ./electron/webpack.config.js",
|
|
34
|
+
"compile-electron-p": "webpack --config ./electron/webpack.config.js --mode=production",
|
|
35
|
+
"electron": "electron ./electron",
|
|
36
|
+
"logcat": "adb -d logcat com.ftc.apps.salite1:E > errors.txt",
|
|
37
|
+
"logcat-export": "adb -d logcat com.ftc.apps.salite1 *:S > logcat.txt",
|
|
38
|
+
"electron-c": "npm run compile-electron && npm run electron",
|
|
39
|
+
"electron-p": "npm run compile-electron-p && npm run electron",
|
|
40
|
+
"update-app-version": "node ./update-app-version.js",
|
|
41
|
+
"find-licenses": "node ./find-licenses.js",
|
|
42
|
+
"fix-dependencies": "expo-cli doctor --fix-dependencies",
|
|
43
|
+
"delete-node-modules": "rimraf ./**/node_modules",
|
|
44
|
+
"modifier-url-remote-git": "git remote set-url origin 'https://borispipo@github.com/borispipo/smart-eneo.git'"
|
|
45
|
+
},
|
|
46
|
+
"repository": {
|
|
47
|
+
"type": "git",
|
|
48
|
+
"url": "git+https://github.com/borispipo/expo-ui.git"
|
|
49
|
+
},
|
|
50
|
+
"keywords": [
|
|
51
|
+
"Expo",
|
|
52
|
+
"React-Native"
|
|
53
|
+
],
|
|
54
|
+
"author": "Boris Fouomene",
|
|
55
|
+
"license": "ISC",
|
|
56
|
+
"bugs": {
|
|
57
|
+
"url": "https://github.com/borispipo/expo-ui/issues"
|
|
58
|
+
},
|
|
59
|
+
"homepage": "https://github.com/borispipo/expo-ui#readme",
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"@emotion/native": "^11.10.0",
|
|
62
|
+
"@expo/html-elements": "^0.2.0",
|
|
63
|
+
"@expo/vector-icons": "^13.0.0",
|
|
64
|
+
"@fto-consult/common": "^1.21.3",
|
|
65
|
+
"@gorhom/portal": "^1.0.14",
|
|
66
|
+
"@react-native-async-storage/async-storage": "~1.17.3",
|
|
67
|
+
"@react-native-community/datetimepicker": "6.5.2",
|
|
68
|
+
"@react-native-community/netinfo": "9.3.5",
|
|
69
|
+
"@react-navigation/native": "^6.0.13",
|
|
70
|
+
"@react-navigation/native-stack": "^6.9.1",
|
|
71
|
+
"@shopify/flash-list": "1.3.1",
|
|
72
|
+
"expo": "^47.0.8",
|
|
73
|
+
"expo-camera": "~13.1.0",
|
|
74
|
+
"expo-clipboard": "~4.0.1",
|
|
75
|
+
"expo-font": "~11.0.1",
|
|
76
|
+
"expo-image-picker": "~14.0.2",
|
|
77
|
+
"expo-linking": "~3.2.3",
|
|
78
|
+
"expo-sqlite": "~11.0.0",
|
|
79
|
+
"expo-status-bar": "~1.4.2",
|
|
80
|
+
"expo-system-ui": "~2.0.1",
|
|
81
|
+
"expo-web-browser": "~12.0.0",
|
|
82
|
+
"file-saver": "^2.0.5",
|
|
83
|
+
"google-libphonenumber": "^3.2.31",
|
|
84
|
+
"htmlparser2-without-node-native": "^3.9.2",
|
|
85
|
+
"mime-types": "^2.1.35",
|
|
86
|
+
"mongo-parse": "^2.1.0",
|
|
87
|
+
"parent-package-json": "^2.0.1",
|
|
88
|
+
"prop-types": "^15.8.1",
|
|
89
|
+
"react": "18.1.0",
|
|
90
|
+
"react-apexcharts": "^1.4.0",
|
|
91
|
+
"react-content-loader": "^6.2.0",
|
|
92
|
+
"react-dom": "18.1.0",
|
|
93
|
+
"react-native": "0.70.5",
|
|
94
|
+
"react-native-big-list": "^1.6.0",
|
|
95
|
+
"react-native-gesture-handler": "~2.8.0",
|
|
96
|
+
"react-native-paper": "^4.12.5",
|
|
97
|
+
"react-native-paper-dates": "^0.9.2",
|
|
98
|
+
"react-native-reanimated": "~2.12.0",
|
|
99
|
+
"react-native-safe-area-context": "4.4.1",
|
|
100
|
+
"react-native-screens": "~3.18.0",
|
|
101
|
+
"react-native-svg": "13.4.0",
|
|
102
|
+
"react-native-web": "~0.18.7",
|
|
103
|
+
"react-native-webview": "11.23.1",
|
|
104
|
+
"sharp-cli": "^2.1.0",
|
|
105
|
+
"tippy.js": "^6.3.7",
|
|
106
|
+
"xlsx": "^0.18.5"
|
|
107
|
+
},
|
|
108
|
+
"devDependencies": {
|
|
109
|
+
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
|
|
110
|
+
"@babel/preset-react": "^7.18.6",
|
|
111
|
+
"@expo/metro-config": "^0.5.1",
|
|
112
|
+
"@expo/webpack-config": "^0.17.3",
|
|
113
|
+
"babel-plugin-inline-dotenv": "^1.7.0",
|
|
114
|
+
"babel-plugin-module-resolver": "^4.1.0",
|
|
115
|
+
"babel-plugin-transform-inline-environment-variables": "^0.4.4"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -251,7 +251,7 @@ export default class TableDataScreenComponent extends FormDataScreen{
|
|
|
251
251
|
currentField.form = false;
|
|
252
252
|
}
|
|
253
253
|
// les champs de type date par défaut qui sont requis, auront comme valeur par défaut la date actuelle s'il ne sont pas définies
|
|
254
|
-
if((type.contains('date') || type.contains('time')) && currentField.required === true && !currentField.defaultValue){
|
|
254
|
+
if(currentField.autoSetDefaultValue !== false && (type.contains('date') || type.contains('time')) && currentField.required === true && !currentField.defaultValue){
|
|
255
255
|
currentField.defaultValue = new Date();
|
|
256
256
|
}
|
|
257
257
|
generatedColumnsProperties.map((f)=>{
|
|
@@ -844,6 +844,7 @@ TableDataScreenComponent.propTypes = {
|
|
|
844
844
|
PropTypes.node,
|
|
845
845
|
PropTypes.element,
|
|
846
846
|
]),
|
|
847
|
+
autoSetDefaultValue : PropTypes.bool,//si la valeur par défaut sera définie pour les champs de types date et time
|
|
847
848
|
}
|
|
848
849
|
|
|
849
850
|
const styles = StyleSheet.create({
|