@fto-consult/expo-ui 8.25.8 → 8.25.10

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "8.25.8",
3
+ "version": "8.25.10",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "scripts": {
6
6
  "clear-npx-cache": "npx clear-npx-cache",
@@ -68,7 +68,7 @@
68
68
  "dependencies": {
69
69
  "@emotion/react": "^11.11.1",
70
70
  "@faker-js/faker": "^8.0.2",
71
- "@fto-consult/common": "^4.25.5",
71
+ "@fto-consult/common": "^4.25.17",
72
72
  "@fto-consult/node-utils": "^1.4.7",
73
73
  "apexcharts": "^3.45.2",
74
74
  "crypto-browserify": "^3.12.0",
@@ -184,7 +184,7 @@ function App({init:initApp,initialRouteName:appInitialRouteName,children}) {
184
184
  loadResources().finally(()=>{
185
185
  Promise.resolve((typeof initApp =='function'?initApp : x=>true)({appConfig,contex:{setState}})).then((args)=>{
186
186
  if(Auth.isLoggedIn()){
187
- Auth.loginUser(false);
187
+ Auth.updateTheme(Auth.getLoggedUser());
188
188
  }
189
189
  setState({
190
190
  ...state,hasGetStarted:true,...defaultObj(args && args?.state),hasCallInitApp:true,isInitialized:true,isLoading : false,
@@ -13,7 +13,7 @@ import {DialogProvider} from "$ecomponents/Form/FormData";
13
13
  export const CameraFacing = {back:"back",front:"front"};
14
14
  export const FlashModes = {off:{code:"off",label:"Inactif"},on:{code:"on",label:"Actif"},auto:{code:"auto",label:"Automatique"}}
15
15
  export const CameraSettingsFields = {
16
- enableTorch : {
16
+ enableTorch : false && {
17
17
  type : "switch",
18
18
  label : "Allumer la torche",
19
19
  defaultValue : false,
@@ -127,7 +127,7 @@ export default function BarCodeScanner({onScan,onGrantAccess,testID,onDenyAccess
127
127
  return <Dialog
128
128
  fullPage
129
129
  actions={[
130
- switchCameraBtn,
130
+ //switchCameraBtn,
131
131
  {
132
132
  text : "Options de la camera",
133
133
  icon : "material-settings",
@@ -167,11 +167,11 @@ export default function BarCodeScanner({onScan,onGrantAccess,testID,onDenyAccess
167
167
  onBarcodeScanned={handleBarCodeScanned}
168
168
  />
169
169
  <View style={[styles.row,theme.styles.w100]}>
170
- <Button
170
+ {false ? <Button
171
171
  primary
172
172
  {...switchCameraBtn}
173
173
  style={[theme.styles.p1]}
174
- />
174
+ />:null}
175
175
  <Button
176
176
  error
177
177
  children = {"Annuler"}
@@ -1,6 +1,6 @@
1
1
  module.exports = {
2
2
  "@fto-consult/expo-ui": {
3
- "version": "8.25.6",
3
+ "version": "8.25.8",
4
4
  "url": "https://github.com/borispipo/expo-ui#readme",
5
5
  "license": "ISC"
6
6
  },