@fto-consult/expo-ui 8.55.0 → 8.57.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.
- package/package.json +4 -4
- package/src/auth/ThemeSelector/index.js +1 -1
- package/src/components/Chart/appexChart/appexChart.html +3 -3
- package/src/components/Menu/Menu.js +4 -1
- package/src/layouts/ProfilAvatar/index.js +3 -2
- package/src/screens/Auth/Profile.js +5 -2
- package/src/screens/Help/openLibraries.js +90 -123
@@ -505,7 +505,7 @@ class _Menu extends AppComponent {
|
|
505
505
|
]
|
506
506
|
}
|
507
507
|
>
|
508
|
-
{((scrollableMenuHeight|| contentContainerStyle) && (<ScrollView contentContainerStyle={contentContainerStyle} testID={testID+"_ScrollView"}>{children}</ScrollView>
|
508
|
+
{((scrollableMenuHeight|| contentContainerStyle) && (<ScrollView contentContainerStyle={[styles.contentContainerStyle,contentContainerStyle]} testID={testID+"_ScrollView"}>{children}</ScrollView>
|
509
509
|
)) || children}
|
510
510
|
</Surface>
|
511
511
|
</Animated.View> : null}
|
@@ -526,6 +526,9 @@ const styles = StyleSheet.create({
|
|
526
526
|
paddingVertical: 8,
|
527
527
|
elevation: 8,
|
528
528
|
},
|
529
|
+
contentContainerStyle : {
|
530
|
+
paddingBottom : 5,
|
531
|
+
}
|
529
532
|
});
|
530
533
|
|
531
534
|
|
@@ -16,6 +16,7 @@ import appConfig from "$capp/config";
|
|
16
16
|
import Preloader from "$preloader";
|
17
17
|
import {defaultNumber} from "$cutils";
|
18
18
|
import Tooltip from "$ecomponents/Tooltip";
|
19
|
+
|
19
20
|
const UserProfileAvatarComponent = React.forwardRef(({drawerRef,chevronIconProps:customChevronIconProps,size,withLabel,...props},ref)=>{
|
20
21
|
let u = defaultObj(Auth.getLoggedUser());
|
21
22
|
const deviceNameRef = React.useRef(null);
|
@@ -35,7 +36,7 @@ const UserProfileAvatarComponent = React.forwardRef(({drawerRef,chevronIconProps
|
|
35
36
|
props.src = u.avatar;
|
36
37
|
size = defaultNumber(size,!withLabel?40:40);
|
37
38
|
const userPseudo = Auth.getUserPseudo();
|
38
|
-
const pseudo = defaultStr(userPseudo,Auth.getUserCode(),Auth.getUserEmail());
|
39
|
+
const pseudo = defaultStr(userPseudo,Auth.getUserCode(),Auth.getUserEmail(),appConfig.authDefaultUsername,"appConfig.authDefaultUsername");
|
39
40
|
const label = defaultStr(Auth.getUserFullName(),userPseudo);
|
40
41
|
const onLongPress = ()=>{
|
41
42
|
appConfig.setDeviceId().then((r)=>{
|
@@ -76,7 +77,7 @@ const UserProfileAvatarComponent = React.forwardRef(({drawerRef,chevronIconProps
|
|
76
77
|
});
|
77
78
|
}
|
78
79
|
},
|
79
|
-
Auth.canSignOut() && {
|
80
|
+
Auth.canSignOut() || true && {
|
80
81
|
label : i18n.lang("logout",'Déconnexion'),
|
81
82
|
icon : "logout",
|
82
83
|
onPress : (a)=>{
|
@@ -129,9 +129,12 @@ export default function UserProfileScreen({fields,...p}){
|
|
129
129
|
},1000);
|
130
130
|
});
|
131
131
|
}
|
132
|
-
|
132
|
+
let uLogin = defaultStr(Auth.getLoginId(user));
|
133
|
+
if(uLogin){
|
134
|
+
uLogin = " ["+uLogin+"] | ";
|
135
|
+
}
|
133
136
|
return <FormDataScreen
|
134
|
-
title = {(user.label?(user.label+
|
137
|
+
title = {(user.label?(user.label+uLogin):"")+"Profil : Modifier"}
|
135
138
|
{...props}
|
136
139
|
modal
|
137
140
|
withScrollView
|
@@ -1,22 +1,21 @@
|
|
1
1
|
module.exports = {
|
2
2
|
"@fto-consult/expo-ui": {
|
3
|
-
"
|
4
|
-
"
|
5
|
-
"
|
3
|
+
"name": "@fto-consult/expo-ui",
|
4
|
+
"version": "8.56.0",
|
5
|
+
"repository": {
|
6
|
+
"type": "git",
|
7
|
+
"url": "git+https://github.com/borispipo/expo-ui.git"
|
8
|
+
},
|
9
|
+
"homepage": "https://github.com/borispipo/expo-ui#readme"
|
6
10
|
},
|
7
11
|
"@babel/plugin-proposal-export-namespace-from": {
|
8
12
|
"version": "7.18.9",
|
9
13
|
"url": "https://babel.dev/docs/en/next/babel-plugin-proposal-export-namespace-from",
|
10
14
|
"license": "MIT"
|
11
15
|
},
|
12
|
-
"@emotion/
|
13
|
-
"version": "11.11.
|
14
|
-
"url": "https://emotion
|
15
|
-
"license": "MIT"
|
16
|
-
},
|
17
|
-
"@expo/html-elements": {
|
18
|
-
"version": "0.9.1",
|
19
|
-
"url": "https://github.com/expo/expo/tree/main/packages/html-elements",
|
16
|
+
"@emotion/react": {
|
17
|
+
"version": "11.11.4",
|
18
|
+
"url": "https://github.com/emotion-js/emotion/tree/main/packages/react",
|
20
19
|
"license": "MIT"
|
21
20
|
},
|
22
21
|
"@expo/metro-config": {
|
@@ -24,49 +23,28 @@ module.exports = {
|
|
24
23
|
"url": "https://github.com/expo/expo.git",
|
25
24
|
"license": "MIT"
|
26
25
|
},
|
27
|
-
"@expo/vector-icons": {
|
28
|
-
"version": "14.0.0",
|
29
|
-
"url": "https://expo.github.io/vector-icons",
|
30
|
-
"license": "MIT"
|
31
|
-
},
|
32
26
|
"@expo/webpack-config": {
|
33
27
|
"version": "19.0.1",
|
34
28
|
"url": "https://github.com/expo/expo-webpack-integrations/tree/main/packages/webpack-config#readme",
|
35
29
|
"license": "MIT"
|
36
30
|
},
|
37
|
-
"@
|
38
|
-
"version": "
|
39
|
-
"url": "https://github.com/
|
40
|
-
"license": "MIT"
|
41
|
-
},
|
42
|
-
"@react-native-community/netinfo": {
|
43
|
-
"version": "11.1.0",
|
44
|
-
"url": "https://github.com/react-native-netinfo/react-native-netinfo#readme",
|
45
|
-
"license": "MIT"
|
46
|
-
},
|
47
|
-
"@react-native/assets-registry": {
|
48
|
-
"version": "0.74.75",
|
49
|
-
"url": "https://github.com/facebook/react-native/tree/HEAD/packages/assets#readme",
|
31
|
+
"@faker-js/faker": {
|
32
|
+
"version": "8.4.1",
|
33
|
+
"url": "https://github.com/faker-js/faker.git",
|
50
34
|
"license": "MIT"
|
51
35
|
},
|
52
|
-
"@
|
53
|
-
"version": "
|
54
|
-
"url": "https://
|
55
|
-
"license": "
|
56
|
-
},
|
57
|
-
"@react-navigation/native-stack": {
|
58
|
-
"version": "6.9.26",
|
59
|
-
"url": "https://github.com/software-mansion/react-native-screens#readme",
|
60
|
-
"license": "MIT"
|
36
|
+
"@fto-consult/common": {
|
37
|
+
"version": "4.39.0",
|
38
|
+
"url": "https://github.com/borispipo/common#readme",
|
39
|
+
"license": "ISC"
|
61
40
|
},
|
62
|
-
"@
|
63
|
-
"version": "
|
64
|
-
"url": "https://reactnavigation.org/docs/stack-navigator/",
|
41
|
+
"@fto-consult/node-utils": {
|
42
|
+
"version": "1.7.1",
|
65
43
|
"license": "MIT"
|
66
44
|
},
|
67
|
-
"
|
68
|
-
"version": "
|
69
|
-
"url": "https://
|
45
|
+
"apexcharts": {
|
46
|
+
"version": "3.48.0",
|
47
|
+
"url": "https://apexcharts.com",
|
70
48
|
"license": "MIT"
|
71
49
|
},
|
72
50
|
"babel-plugin-inline-dotenv": {
|
@@ -84,119 +62,93 @@ module.exports = {
|
|
84
62
|
"url": "https://github.com/crypto-browserify/crypto-browserify",
|
85
63
|
"license": "MIT"
|
86
64
|
},
|
87
|
-
"
|
88
|
-
"version": "
|
89
|
-
"url": "https://github.com/
|
90
|
-
"license": "MIT"
|
91
|
-
},
|
92
|
-
"expo-camera": {
|
93
|
-
"version": "14.1.1",
|
94
|
-
"url": "https://docs.expo.dev/versions/latest/sdk/camera/",
|
65
|
+
"file-saver": {
|
66
|
+
"version": "2.0.5",
|
67
|
+
"url": "https://github.com/eligrey/FileSaver.js#readme",
|
95
68
|
"license": "MIT"
|
96
69
|
},
|
97
|
-
"
|
98
|
-
"version": "
|
99
|
-
"url": "https://
|
100
|
-
"license": "MIT"
|
70
|
+
"google-libphonenumber": {
|
71
|
+
"version": "3.2.34",
|
72
|
+
"url": "https://ruimarinho.github.io/google-libphonenumber/",
|
73
|
+
"license": "(MIT AND Apache-2.0)"
|
101
74
|
},
|
102
|
-
"
|
103
|
-
"version": "
|
104
|
-
"url": "https://
|
75
|
+
"html2canvas": {
|
76
|
+
"version": "1.4.1",
|
77
|
+
"url": "https://html2canvas.hertzen.com",
|
105
78
|
"license": "MIT"
|
106
79
|
},
|
107
|
-
"
|
108
|
-
"version": "
|
109
|
-
"url": "
|
80
|
+
"htmlparser2-without-node-native": {
|
81
|
+
"version": "3.9.2",
|
82
|
+
"url": "git://github.com/fb55/htmlparser2.git",
|
110
83
|
"license": "MIT"
|
111
84
|
},
|
112
|
-
"
|
113
|
-
"version": "
|
114
|
-
"url": "https://docs.expo.dev/versions/latest/sdk/imagepicker/",
|
85
|
+
"is-plain-obj": {
|
86
|
+
"version": "4.1.0",
|
115
87
|
"license": "MIT"
|
116
88
|
},
|
117
|
-
"
|
118
|
-
"version": "
|
119
|
-
"url": "https://
|
89
|
+
"jsbarcode": {
|
90
|
+
"version": "3.11.6",
|
91
|
+
"url": "https://github.com/lindell/JsBarcode#readme",
|
120
92
|
"license": "MIT"
|
121
93
|
},
|
122
|
-
"
|
123
|
-
"version": "
|
124
|
-
"url": "https://
|
94
|
+
"prop-types": {
|
95
|
+
"version": "15.8.1",
|
96
|
+
"url": "https://facebook.github.io/react/",
|
125
97
|
"license": "MIT"
|
126
98
|
},
|
127
|
-
"
|
128
|
-
"version": "
|
129
|
-
"url": "https://
|
99
|
+
"react-content-loader": {
|
100
|
+
"version": "6.2.1",
|
101
|
+
"url": "https://github.com/danilowoz/react-content-loader",
|
130
102
|
"license": "MIT"
|
131
103
|
},
|
132
|
-
"
|
133
|
-
"version": "13.3.0",
|
134
|
-
"url": "https://docs.expo.dev/versions/latest/sdk/sqlite/",
|
135
|
-
"license": "MIT"
|
136
|
-
},
|
137
|
-
"expo-status-bar": {
|
138
|
-
"version": "1.11.1",
|
139
|
-
"url": "https://docs.expo.dev/versions/latest/sdk/status-bar/",
|
140
|
-
"license": "MIT"
|
141
|
-
},
|
142
|
-
"expo-system-ui": {
|
143
|
-
"version": "2.9.3",
|
144
|
-
"url": "https://docs.expo.dev/versions/latest/sdk/system-ui",
|
145
|
-
"license": "MIT"
|
146
|
-
},
|
147
|
-
"expo-web-browser": {
|
148
|
-
"version": "12.8.2",
|
149
|
-
"url": "https://docs.expo.dev/versions/latest/sdk/webbrowser/",
|
150
|
-
"license": "MIT"
|
151
|
-
},
|
152
|
-
"react": {
|
104
|
+
"react-dom": {
|
153
105
|
"version": "18.2.0",
|
154
106
|
"url": "https://reactjs.org/",
|
155
107
|
"license": "MIT"
|
156
108
|
},
|
157
|
-
"react-native": {
|
158
|
-
"version": "
|
159
|
-
"url": "https://
|
160
|
-
"license": "
|
109
|
+
"react-native-big-list": {
|
110
|
+
"version": "1.6.1",
|
111
|
+
"url": "https://marcocesarato.github.io/react-native-big-list-docs/",
|
112
|
+
"license": "GPL-3.0-or-later"
|
161
113
|
},
|
162
|
-
"react-native-
|
163
|
-
"version": "
|
164
|
-
"url": "https://github.com/
|
114
|
+
"react-native-iphone-x-helper": {
|
115
|
+
"version": "1.3.1",
|
116
|
+
"url": "https://github.com/ptelad/react-native-iphone-x-helper#readme",
|
165
117
|
"license": "MIT"
|
166
118
|
},
|
167
|
-
"react-native-
|
168
|
-
"version": "
|
119
|
+
"react-native-mime-types": {
|
120
|
+
"version": "2.5.0",
|
169
121
|
"license": "MIT"
|
170
122
|
},
|
171
|
-
"react-native-
|
172
|
-
"version": "
|
173
|
-
"url": "https://github.
|
123
|
+
"react-native-paper": {
|
124
|
+
"version": "5.12.3",
|
125
|
+
"url": "https://callstack.github.io/react-native-paper",
|
174
126
|
"license": "MIT"
|
175
127
|
},
|
176
|
-
"react-native-
|
177
|
-
"version": "
|
178
|
-
"url": "https://github.com/
|
128
|
+
"react-native-paper-dates": {
|
129
|
+
"version": "0.22.3",
|
130
|
+
"url": "https://github.com/web-ridge/react-native-paper-dates#readme",
|
179
131
|
"license": "MIT"
|
180
132
|
},
|
181
|
-
"react-native-
|
182
|
-
"version": "
|
183
|
-
"url": "
|
133
|
+
"react-native-web": {
|
134
|
+
"version": "0.19.10",
|
135
|
+
"url": "git://github.com/necolas/react-native-web.git",
|
184
136
|
"license": "MIT"
|
185
137
|
},
|
186
|
-
"react-
|
187
|
-
"version": "
|
188
|
-
"url": "https://
|
138
|
+
"react-virtuoso": {
|
139
|
+
"version": "4.7.3",
|
140
|
+
"url": "https://virtuoso.dev/",
|
189
141
|
"license": "MIT"
|
190
142
|
},
|
191
|
-
"
|
192
|
-
"version": "
|
193
|
-
"url": "https://github.com/
|
143
|
+
"readable-stream": {
|
144
|
+
"version": "4.5.2",
|
145
|
+
"url": "https://github.com/nodejs/readable-stream",
|
194
146
|
"license": "MIT"
|
195
147
|
},
|
196
|
-
"
|
197
|
-
"version": "
|
198
|
-
"url": "
|
199
|
-
"license": "
|
148
|
+
"sanitize-filename": {
|
149
|
+
"version": "1.6.3",
|
150
|
+
"url": "git@github.com:parshap/node-sanitize-filename.git",
|
151
|
+
"license": "WTFPL OR ISC"
|
200
152
|
},
|
201
153
|
"sharp-cli": {
|
202
154
|
"version": "2.1.1",
|
@@ -207,5 +159,20 @@ module.exports = {
|
|
207
159
|
"version": "3.0.0",
|
208
160
|
"url": "https://github.com/browserify/stream-browserify",
|
209
161
|
"license": "MIT"
|
162
|
+
},
|
163
|
+
"tippy.js": {
|
164
|
+
"version": "6.3.7",
|
165
|
+
"url": "https://atomiks.github.io/tippyjs/",
|
166
|
+
"license": "MIT"
|
167
|
+
},
|
168
|
+
"vm": {
|
169
|
+
"version": "0.1.0",
|
170
|
+
"url": "https://github.com/DiegoRBaquero/node-vm#readme",
|
171
|
+
"license": "MIT"
|
172
|
+
},
|
173
|
+
"xlsx": {
|
174
|
+
"version": "0.18.5",
|
175
|
+
"url": "https://sheetjs.com/",
|
176
|
+
"license": "Apache-2.0"
|
210
177
|
}
|
211
178
|
};
|