@fto-consult/expo-ui 8.56.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.
@@ -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)=>{
@@ -1,22 +1,21 @@
1
1
  module.exports = {
2
2
  "@fto-consult/expo-ui": {
3
- "version": "8.55.0",
4
- "url": "https://github.com/borispipo/expo-ui#readme",
5
- "license": "ISC"
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/native": {
13
- "version": "11.11.0",
14
- "url": "https://emotion.sh",
15
- "license": "MIT"
16
- },
17
- "@expo/html-elements": {
18
- "version": "0.5.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,59 +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
- "@pchmn/expo-material3-theme": {
38
- "version": "1.3.2",
39
- "url": "https://github.com/pchmn/expo-material3-theme#readme",
40
- "license": "MIT"
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
- "@react-native-community/datetimepicker": {
48
- "version": "7.6.1",
49
- "url": "https://github.com/react-native-community/datetimepicker#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
- "@react-native-community/netinfo": {
53
- "version": "11.1.0",
54
- "url": "https://github.com/react-native-netinfo/react-native-netinfo#readme",
55
- "license": "MIT"
56
- },
57
- "@react-native/assets-registry": {
58
- "version": "0.72.0",
59
- "url": "git@github.com:facebook/react-native.git",
60
- "license": "MIT"
61
- },
62
- "@react-navigation/native": {
63
- "version": "6.1.16",
64
- "url": "https://reactnavigation.org",
65
- "license": "MIT"
66
- },
67
- "@react-navigation/native-stack": {
68
- "version": "6.9.25",
69
- "url": "https://github.com/software-mansion/react-native-screens#readme",
70
- "license": "MIT"
36
+ "@fto-consult/common": {
37
+ "version": "4.39.0",
38
+ "url": "https://github.com/borispipo/common#readme",
39
+ "license": "ISC"
71
40
  },
72
- "@react-navigation/stack": {
73
- "version": "6.3.28",
74
- "url": "https://reactnavigation.org/docs/stack-navigator/",
41
+ "@fto-consult/node-utils": {
42
+ "version": "1.7.1",
75
43
  "license": "MIT"
76
44
  },
77
- "@shopify/flash-list": {
78
- "version": "1.6.3",
79
- "url": "https://shopify.github.io/flash-list/",
45
+ "apexcharts": {
46
+ "version": "3.48.0",
47
+ "url": "https://apexcharts.com",
80
48
  "license": "MIT"
81
49
  },
82
50
  "babel-plugin-inline-dotenv": {
@@ -94,69 +62,48 @@ module.exports = {
94
62
  "url": "https://github.com/crypto-browserify/crypto-browserify",
95
63
  "license": "MIT"
96
64
  },
97
- "expo": {
98
- "version": "50.0.13",
99
- "url": "https://github.com/expo/expo/tree/main/packages/expo",
65
+ "file-saver": {
66
+ "version": "2.0.5",
67
+ "url": "https://github.com/eligrey/FileSaver.js#readme",
100
68
  "license": "MIT"
101
69
  },
102
- "expo-camera": {
103
- "version": "14.1.1",
104
- "url": "https://docs.expo.dev/versions/latest/sdk/camera/",
105
- "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)"
106
74
  },
107
- "expo-clipboard": {
108
- "version": "5.0.1",
109
- "url": "https://docs.expo.dev/versions/latest/sdk/clipboard",
75
+ "html2canvas": {
76
+ "version": "1.4.1",
77
+ "url": "https://html2canvas.hertzen.com",
110
78
  "license": "MIT"
111
79
  },
112
- "expo-font": {
113
- "version": "11.10.3",
114
- "url": "https://docs.expo.dev/versions/latest/sdk/font/",
80
+ "htmlparser2-without-node-native": {
81
+ "version": "3.9.2",
82
+ "url": "git://github.com/fb55/htmlparser2.git",
115
83
  "license": "MIT"
116
84
  },
117
- "expo-image-picker": {
118
- "version": "14.7.1",
119
- "url": "https://docs.expo.dev/versions/latest/sdk/imagepicker/",
85
+ "is-plain-obj": {
86
+ "version": "4.1.0",
120
87
  "license": "MIT"
121
88
  },
122
- "expo-intent-launcher": {
123
- "version": "10.11.0",
124
- "url": "https://docs.expo.dev/versions/latest/sdk/intent-launcher/",
89
+ "jsbarcode": {
90
+ "version": "3.11.6",
91
+ "url": "https://github.com/lindell/JsBarcode#readme",
125
92
  "license": "MIT"
126
93
  },
127
- "expo-linking": {
128
- "version": "6.2.2",
129
- "url": "https://docs.expo.dev/versions/latest/sdk/linking",
94
+ "prop-types": {
95
+ "version": "15.8.1",
96
+ "url": "https://facebook.github.io/react/",
130
97
  "license": "MIT"
131
98
  },
132
- "expo-sharing": {
133
- "version": "11.10.0",
134
- "url": "https://docs.expo.dev/versions/latest/sdk/sharing/",
99
+ "react-content-loader": {
100
+ "version": "6.2.1",
101
+ "url": "https://github.com/danilowoz/react-content-loader",
135
102
  "license": "MIT"
136
103
  },
137
- "expo-sqlite": {
138
- "version": "13.3.0",
139
- "url": "https://docs.expo.dev/versions/latest/sdk/sqlite/",
140
- "license": "MIT"
141
- },
142
- "expo-status-bar": {
143
- "version": "1.11.1",
144
- "url": "https://docs.expo.dev/versions/latest/sdk/status-bar/",
145
- "license": "MIT"
146
- },
147
- "expo-system-ui": {
148
- "version": "2.9.3",
149
- "url": "https://docs.expo.dev/versions/latest/sdk/system-ui",
150
- "license": "MIT"
151
- },
152
- "expo-web-browser": {
153
- "version": "12.8.2",
154
- "url": "https://docs.expo.dev/versions/latest/sdk/webbrowser/",
155
- "license": "MIT"
156
- },
157
- "react-native": {
158
- "version": "0.73.5",
159
- "url": "https://reactnative.dev/",
104
+ "react-dom": {
105
+ "version": "18.2.0",
106
+ "url": "https://reactjs.org/",
160
107
  "license": "MIT"
161
108
  },
162
109
  "react-native-big-list": {
@@ -164,41 +111,45 @@ module.exports = {
164
111
  "url": "https://marcocesarato.github.io/react-native-big-list-docs/",
165
112
  "license": "GPL-3.0-or-later"
166
113
  },
167
- "react-native-blob-util": {
168
- "version": "0.18.6",
169
- "url": "https://github.com/RonRadtke/react-native-blob-util",
114
+ "react-native-iphone-x-helper": {
115
+ "version": "1.3.1",
116
+ "url": "https://github.com/ptelad/react-native-iphone-x-helper#readme",
170
117
  "license": "MIT"
171
118
  },
172
- "react-native-gesture-handler": {
173
- "version": "2.14.1",
174
- "url": "https://github.com/software-mansion/react-native-gesture-handler#readme",
119
+ "react-native-mime-types": {
120
+ "version": "2.5.0",
175
121
  "license": "MIT"
176
122
  },
177
- "react-native-reanimated": {
178
- "version": "3.6.2",
179
- "url": "https://github.com/software-mansion/react-native-reanimated#readme",
123
+ "react-native-paper": {
124
+ "version": "5.12.3",
125
+ "url": "https://callstack.github.io/react-native-paper",
180
126
  "license": "MIT"
181
127
  },
182
- "react-native-safe-area-context": {
183
- "version": "4.8.2",
184
- "url": "https://github.com/th3rdwave/react-native-safe-area-context#readme",
128
+ "react-native-paper-dates": {
129
+ "version": "0.22.3",
130
+ "url": "https://github.com/web-ridge/react-native-paper-dates#readme",
185
131
  "license": "MIT"
186
132
  },
187
- "react-native-screens": {
188
- "version": "3.29.0",
189
- "url": "https://github.com/software-mansion/react-native-screens#readme",
133
+ "react-native-web": {
134
+ "version": "0.19.10",
135
+ "url": "git://github.com/necolas/react-native-web.git",
190
136
  "license": "MIT"
191
137
  },
192
- "react-native-svg": {
193
- "version": "14.1.0",
194
- "url": "https://github.com/react-native-community/react-native-svg",
138
+ "react-virtuoso": {
139
+ "version": "4.7.3",
140
+ "url": "https://virtuoso.dev/",
195
141
  "license": "MIT"
196
142
  },
197
- "react-native-webview": {
198
- "version": "13.6.4",
199
- "url": "https://github.com/react-native-webview/react-native-webview#readme",
143
+ "readable-stream": {
144
+ "version": "4.5.2",
145
+ "url": "https://github.com/nodejs/readable-stream",
200
146
  "license": "MIT"
201
147
  },
148
+ "sanitize-filename": {
149
+ "version": "1.6.3",
150
+ "url": "git@github.com:parshap/node-sanitize-filename.git",
151
+ "license": "WTFPL OR ISC"
152
+ },
202
153
  "sharp-cli": {
203
154
  "version": "2.1.1",
204
155
  "url": "https://github.com/vseventer/sharp-cli",
@@ -208,5 +159,20 @@ module.exports = {
208
159
  "version": "3.0.0",
209
160
  "url": "https://github.com/browserify/stream-browserify",
210
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"
211
177
  }
212
178
  };