{"version":3,"sources":["Presentation/ShellViewStyle.tsx","Presentation/ShellViewModel.tsx","ClientConstants.tsx","Common/Constants/WebConstants.tsx","Common/Helper/ResponsiveHelper.tsx","Presentation/modules/reset/ResetViewStyle.tsx","Common/Constants/PathConstants.tsx","Proxy/PasswordService.tsx","Transfer/PasswordOperation.tsx","Common/Helper/ToastHelper.tsx","Presentation/modules/reset/ResetViewModel.tsx","Presentation/components/textinputgeneric/TextInputGenericViewStyle.tsx","Presentation/components/textinputgeneric/TextInputGenericViewModel.tsx","Presentation/components/textinputgeneric/TextInputGenericView.tsx","Presentation/components/buttongeneric/ButtonGenericViewStyle.tsx","Presentation/components/buttongeneric/ButtonGenericViewModel.tsx","Presentation/components/buttongeneric/ButtonGenericView.tsx","Presentation/modules/reset/ResetView.tsx","Presentation/ShellView.tsx","App.tsx","registerServiceWorker.ts","index.tsx"],"names":["ShellViewStyle","shell","display","flex","ContentViewStyle","ShellViewModel","ContentViewModel","ClientConstants","IDENTITY","CLIENT_PRIMARY_COLOR","CLIENT_NAME","CLIENT_IMAGE","ROUND_CLIENT_IMAGE","WebConstants","APP_COLOR","APP_SECOND_COLOR","POPUP_COLOR","NO_ERROR_COLOR","ERROR_COLOR","BORDER_COLOR","TEXT_INPUT_COLOR","APP_FONT","APP_FONT_REGULAR","TITLE_FONT","SUB_TITLE_FONT","TEXTINPUT_FONT","BUTTON_TEXT_FONT","ResponsiveHelper","Platform","OS","Dimensions","get","width","ResetViewStyle","MyManagerStyle","Application","current","resolve","UiManagers","STYLE_MANAGER","container","height","alignItems","image","zIndex","justifyContent","alignSelf","transform","translateY","imageForPhone","marginVertical","headerText","color","fontSize","fontFamily","fontWeight","textAlign","paddingVertical","loginBox","isSmarthphone","backgroundColor","borderRadius","boxShadow","boxTitle","primaryColor","marginTop","margin","title","padding","loginContainer","paddingHorizontal","footer","position","bottom","flexDirection","PathConstants","SERVICES","PASSWORD_BASE","BASE","PASSWORD_POST_BASE","PasswordService","httpClient","Managers","HTTP_MANAGER","obj","onSuccess","onFailure","this","handleSomethingWentWrong","post","then","response","console","log","Service","PasswordOperation","_service","form","callback","failure","resetPassword","Operation","ToastHelper","type","style","ResetViewModel","view","_authManager","AUTH_MANAGER","_passwordOperation","token","access_token","expires_in","refresh_token","token_type","split","document","URL","result","parseParams","find","x","key","undefined","value","error","initialState","email","password","confirmpassword","isLoading","success","isCorrectPassword","isCorrectEmail","isCorrectConfirmPassword","verifyEmail","bind","verifyPassword","verifyConfirmPassword","handleEmailChanged","handlePasswordChanged","handleConfirmPasswordChanged","handleFailurePassword","handleSuccessPassword","checkFields","setField","reset","UserName","state","Password","encodeURI","ConfirmPassword","Token","showToast","getToast","extract","tmpEmail","tmpP","tmpCP","queryParams","array","params","i","length","query","keyValue","push","text","trim","replace","num","ProfileFieldsHelper","ErrorFields","EMAIL_NULL_OR_EMPTY","EMAIL_REGEX","verifyPasswordAdvanced","PASSWORD_NULL_OR_EMPTY","PASSWORD_MAXIMUM_LENGTH","PASSWORD_MINIMUM_LENGTH","PASSWORD_AT_LEAST_ONE_NUMBER","PASSWORD_AT_LEAST_ONE_UPPERCASE","PASSWORD_AT_LEAST_ONE_LOWERCASE","verifyTextFields","FIELDS_NULL_OR_EMPTY","FIELDS_MAXIMUM_MENGTH","TextInputGenericViewStyle","borderColor","borderWidth","maxWidth","containerError","textInput","paddingTop","paddingBottom","errorText","TextInputGenericViewModel","translation","leaveAnimation","launchAnimation","handleChangeValue","Animated","Value","props","handleChangeText","spring","toValue","start","TextInputGenericView","binding","interpolate","inputRange","outputRange","View","shouldDisplayError","Text","translate","placeholder","TextInput","secureTextEntry","secure","onChangeText","onBlur","onFocus","fontSizeEntry","shouldDisplayText","ContentView","ButtonGenericViewStyle","active","cosmos","textActive","textReverse","ButtonGenericViewModel","ButtonGenericView","TouchableWithoutFeedback","disabled","disable","onPress","handleOnPress","opacity","source","require","ResetView","imageStyle","Image","resizeMode","uri","ShellView","NavigationManager","NAVIGATION_MANAGER","LanguageManager","LANGUAGE_MANAGER","path","render","to","language","toString","App","register","TRANSLATION_MANAGER","TranslationManager","StyleManager","storage","StorageManager","STORAGE_MANAGER","auth","AuthManager","HttpManager","a","POPUP_MANAGER","PopUpManager","MODULE_MANAGER","ModuleManager","TOAST_MANAGER","ToastManager","handleUnauthorized","addCustomHeader","handleNoTokenFound","navigate","Boolean","window","location","hostname","match","AppRegistry","registerComponent","runApplication","rootTag","getElementById","navigator","serviceWorker","ready","registration","unregister"],"mappings":"kxKAGqBA,E,4MAEjBC,MAA8B,CAC1BC,QAAS,OACTC,KAAM,G,YAJ8BC,KCCvBC,E,4HAAuBC,K,gBCJvBC,E,kCAAAA,EAEFC,SAAW,2CAFTD,EAGFE,qBAAuB,UAHrBF,EAIFG,YAAc,UAJZH,EAKFI,aAAe,+EALbJ,EAMHK,oBAAqB,E,ICJlBC,E,kCAAAA,EAEHC,UAAY,UAFTD,EAGHE,iBAAkBR,EAAgBE,qBAH/BI,EAIHG,YAAa,UAJVH,EAKHI,eAAiB,UALdJ,EAOHK,YAAc,UAPXL,EAQHM,aAAe,UARZN,EASHO,iBAAmB,UAThBP,EAeHQ,SAAW,YAfRR,EAkBHS,iBAAmB,MAlBhBT,EAqBHU,WAAa,GArBVV,EAsBHW,eAAiB,GAtBdX,EAuBHY,eAAiB,GAvBdZ,EAwBHa,iBAAmB,G,oBCxBhBC,E,6GAKb,MAAkB,WAAfC,IAASC,IAAkC,OAAfD,IAASC,IAAeC,IAAWC,IAAI,UAAUC,OAAS,Q,KCD5EC,E,4MAEjBC,eAAiBC,IAAYC,QAAQC,QAAsBC,IAAWC,e,EAEtEC,UAAuB,CACnBC,OAAQX,IAAWC,IAAI,UAAUU,OACjCtC,KAAM,EACND,QAAS,OACTwC,WAAY,U,EAGhBC,MAA+B,CAC3BC,OAAS,EACTH,OAAS,GACTT,MAAQ,GACRa,eAAiB,SACjBC,UAAY,SACZC,UAAY,CAAC,CAACC,WAAa,M,EAG/BC,cAAuC,CACnCL,OAAS,EACTH,OAAS,GAC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BAAA8L,EAAA,0FAaAH,IAGFhL,KAAKyK,SAAS9K,IAASyL,cAAe,IAAIC,KAE1CrL,KAAKyK,SAAS9K,IAAS2L,eAAiB,IAAIC,KAC5CvL,KAAKyK,SAAS9K,IAAS6L,cAAgB,IAAIC,KAG3CzL,KAAKlD,QAAqB6C,IAASC,cAAcK,yBAA2BD,KAAKC,yBACjFD,KAAKlD,QAAqB6C,IAASC,cAAc8L,mBAAqB1L,KAAK0L,mBAC3E1L,KAAKlD,QAAqB6C,IAASC,cAAc+L,gBAAgB,YAAa,wCAC9E3L,KAAKlD,QAAqB6C,IAAS0B,cAAcuK,mBAAqB5L,KAAK4L,qB,sIAgB3EhP,IAAYC,QAAQC,QAA2B6C,IAASqK,oBAAoB6B,SAAS,Y,2CAKrFjP,IAAYC,QAAQC,QAA2B6C,IAASqK,oBAAoB6B,SAAS,Y,0CAKrF,OAAQ,gBAAC,EAAD,U,GAhFqBjP,K,SCEbkP,QACa,cAA7BC,OAAOC,SAASC,UAEe,UAA7BF,OAAOC,SAASC,UAEhBF,OAAOC,SAASC,SAASC,MACvB,2DCTRC,IAAYC,kBAAkBpR,EAAgBG,aAAa,kBAAMqP,KAG7C,QAAhBnO,IAASC,IACT6P,IAAYE,eAAerR,EAAgBG,YAAa,CACpDmR,QAASzK,SAAS0K,eAAe,UD0GjC,kBAAmBC,WACrBA,UAAUC,cAAcC,MAAMvM,MAAK,SAAAwM,GACjCA,EAAaC,kB","file":"static/js/main.35118f9e.chunk.js","sourcesContent":["import { ContentViewStyle } from '@levelapp/softfabric';\nimport { StyleProp, ViewStyle } from 'react-native';\n\nexport default class ShellViewStyle extends ContentViewStyle\n{\n shell: StyleProp = {\n display: 'flex',\n flex: 1,\n }\n}","import ShellViewState from './ShellViewState';\nimport ShellViewProps from './ShellViewProps';\nimport { ContentViewModel } from '@levelapp/softfabric';\n\nexport default class ShellViewModel extends ContentViewModel{ }","export default class ClientConstants \n{\n public static IDENTITY = \"https://api-staging.flyx2.cloud/identity\";\n public static CLIENT_PRIMARY_COLOR = \"#ED1C24\";\n public static CLIENT_NAME = \"Renmans\";\n public static CLIENT_IMAGE = \"https://www.renmans.be/themes/custom/renmans_main/images/logo-renmans-fr.png\";\n public static ROUND_CLIENT_IMAGE = true;\n}","import ClientConstants from \"../../ClientConstants\";\n\nexport default class WebConstants \n{\n public static APP_COLOR = '#4A4A4A';\n public static APP_SECOND_COLOR= ClientConstants.CLIENT_PRIMARY_COLOR;\n public static POPUP_COLOR= \"#EDEDED\";\n public static NO_ERROR_COLOR = \"#959595\";\n\n public static ERROR_COLOR = \"#C53730\";\n public static BORDER_COLOR = \"#B5B5B5\";\n public static TEXT_INPUT_COLOR = \"#8C8C8C\";\n\n\n\n //TODO: FONTS\n //Open Sans Bold\n public static APP_FONT = \"Open Sans\";\n\n //Open Sans Regular\n public static APP_FONT_REGULAR = \"400\";\n\n\n public static TITLE_FONT = 30;\n public static SUB_TITLE_FONT = 26;\n public static TEXTINPUT_FONT = 16;\n public static BUTTON_TEXT_FONT = 12;\n\n\n}","import { Platform, Dimensions } from \"react-native\";\n\nexport default class ResponsiveHelper\n{\n static isSmarthphone()\n {\n \n if(Platform.OS == 'android' || Platform.OS == 'ios' || Dimensions.get('window').width <= 700)\n {\n \n return true;\n }\n else\n {\n return false;\n }\n\n }\n\n} ","import {ContentViewStyle, Application} from '@levelapp/softfabric';\nimport {StyleProp,ViewStyle, TextStyle, Dimensions, ImageStyle} from 'react-native';\nimport WebConstants from '../../../Common/Constants/WebConstants';\nimport { StyleManager, UiManagers } from '@levelapp/softfabric-ui';\nimport ResponsiveHelper from '../../../Common/Helper/ResponsiveHelper';\n\nexport default class ResetViewStyle extends ContentViewStyle\n{\n MyManagerStyle = Application.current.resolve(UiManagers.STYLE_MANAGER);\n\n container: ViewStyle = {\n height: Dimensions.get('window').height,\n flex: 1,\n display: 'flex',\n alignItems: 'center',\n }\n\n image: StyleProp = {\n zIndex : 1 ,\n height : 80 , \n width : 80 , \n justifyContent : 'center' , \n alignSelf : 'center',\n transform : [{translateY : 80}]\n }\n\n imageForPhone: StyleProp = {\n zIndex : 1 ,\n height : 80 , \n width : 80 , \n justifyContent : 'center' , \n alignSelf : 'center',\n marginVertical : 20\n }\n\n headerText : StyleProp =\n {\n color : WebConstants.APP_COLOR,\n fontSize : WebConstants.TITLE_FONT,\n fontFamily : WebConstants.APP_FONT,\n fontWeight : \"700\",\n textAlign : 'center',\n paddingVertical : 30,\n }\n\n loginBox: StyleProp = {\n height : ResponsiveHelper.isSmarthphone() ? '80%' : '70%',\n width: 560,\n backgroundColor: 'white',\n borderRadius : 15,\n boxShadow: \"0 4px 10px -1px rgba(135,135,135,0.5)\"\n\n }\n \n\n boxTitle: ViewStyle = {\n width: 400,\n height: 150,\n borderRadius : 5,\n backgroundColor: this.MyManagerStyle.primaryColor,\n marginTop: -20,\n margin: 'auto'\n }\n\n title: TextStyle = {\n color: 'white',\n fontSize: 50,\n textAlign: 'center',\n padding: 40\n }\n\n loginContainer: ViewStyle = {\n display: 'flex',\n alignSelf: 'center',\n justifyContent: 'space-around',\n paddingHorizontal : 110,\n paddingVertical : 50,\n flex : 1,\n height: 250,\n width: '100%',\n }\n\n footer : StyleProp =\n {\n backgroundColor : WebConstants.APP_COLOR, \n position : 'absolute' , \n bottom : 0 , \n width : '100%' , \n height : 95,\n flexDirection : 'row'\n\n }\n\n}","import ClientConstants from \"../../ClientConstants\";\n\nexport default class PathConstants\n{\n\n public static readonly SERVICES = ClientConstants.IDENTITY;\n\n private static readonly BASE = \"api\";\n\n //RESET\n private static readonly PASSWORD_BASE = `${PathConstants.BASE}/ResetPassword`\n //POST\n public static readonly PASSWORD_POST_BASE = `${PathConstants.PASSWORD_BASE}/ApiResetPassword`;\n\n \n} ","import { Service, Application, HttpManager, Managers } from \"@levelapp/softfabric\";\nimport PathConstants from \"../Common/Constants/PathConstants\";\nimport FormPassword from \"../Common/DTO/FormPassword\";\n\nexport default class PasswordService extends Service\n{\n httpClient = Application.current.resolve(Managers.HTTP_MANAGER);\n\n async resetPassword(obj : FormPassword , onSuccess: Function , onFailure : Function)\n { \n this.httpClient.handleSomethingWentWrong = onFailure;\n\n this.httpClient\n .post(`${PathConstants.PASSWORD_POST_BASE}`,[],obj)\n .then((response : any) => {\n console.log(response);\n if (response)\n {\n \n onSuccess();\n \n }\n });\n }\n\n \n\n \n}","import { Operation } from '@levelapp/softfabric';\nimport PasswordService from '../Proxy/PasswordService';\nimport FormPassword from '../Common/DTO/FormPassword';\n\n\nexport default class PasswordOperation extends Operation\n{\n _service : PasswordService;\n\n constructor()\n {\n super();\n this._service = new PasswordService();\n }\n\n async reset(form : FormPassword, callback: Function = () => { }, failure: Function = () => { })\n {\n await (this._service as PasswordService).resetPassword(form,callback,failure);\n }\n\n\n}","import { ToastView , TranslationView } from '@levelapp/softfabric-ui';\nimport React from 'react';\n\nexport default class ToastHelper\n{\n static getToast(title : string , type : 'error' | 'success' | 'info' | 'warning')\n {\n return (\n \n \n {title}\n \n \n )\n }\n}","import {ContentViewModel,ContentView, ProfileFieldsHelper, ErrorFields, Application, Managers, AuthManager} from '@levelapp/softfabric';\nimport ResetViewState from './ResetViewState';\nimport ResetViewProps from './ResetViewProps';\nimport Token from '@levelapp/softfabric/Architecture/Managers/DTO/Token';\nimport PasswordOperation from '../../../Transfer/PasswordOperation';\nimport ToastHelper from '../../../Common/Helper/ToastHelper';\n\nexport default class ResetViewModel extends ContentViewModel\n{\n _authManager : AuthManager = Application.current.resolve(Managers.AUTH_MANAGER);\n _passwordOperation : PasswordOperation;\n /* CONSTRUCTOR */\n constructor(view: ContentView)\n {\n super(view);\n\n var token : Token = \n {\n access_token : \"\",\n expires_in : 0,\n refresh_token : \"\",\n token_type : \"\"\n }\n try\n {\n var split = document.URL.split('?'); \n var params = this.parseParams(split[1]);\n var result = params.find(x => x.key == \"token\");\n token.access_token = result != undefined ? result.value : \"\";\n }catch(error)\n {\n\n }\n \n //this._authManager.setToken(token);\n this.initialState(\n {\n email : '',\n password : '',\n confirmpassword : '',\n token : token.access_token,\n isLoading : false,\n success : false,\n\n isCorrectPassword : true,\n isCorrectEmail : true,\n isCorrectConfirmPassword : true,\n\n\n }); \n\n // Bindings\n this.verifyEmail = this.verifyEmail.bind(this);\n this.verifyPassword = this.verifyPassword.bind(this);\n this.verifyConfirmPassword = this.verifyConfirmPassword.bind(this);\n\n \n this.resetPassword = this.resetPassword.bind(this);\n this.handleEmailChanged = this.handleEmailChanged.bind(this);\n this.handlePasswordChanged = this.handlePasswordChanged.bind(this);\n this.handleConfirmPasswordChanged = this.handleConfirmPasswordChanged.bind(this);\n this.handleFailurePassword = this.handleFailurePassword.bind(this);\n this.handleSuccessPassword = this.handleSuccessPassword.bind(this);\n\n this._passwordOperation = new PasswordOperation();\n }\n\n\n resetPassword()\n {\n if(this.checkFields())\n {\n this.setField({isLoading : true});\n this._passwordOperation.reset(\n {\n UserName : this.state().email,\n Password : encodeURI(this.state().password),\n ConfirmPassword : encodeURI(this.state().confirmpassword),\n Token : this.state().token,\n },this.handleSuccessPassword, this.handleFailurePassword)\n }\n }\n\n handleSuccessPassword()\n {\n this.setField({success : true , isLoading : false});\n }\n\n handleFailurePassword()\n {\n this.showToast(ToastHelper.getToast(\"generic.error\",\"error\"),() => {},2500);\n this.setField({isLoading : false});\n }\n\n checkFields()\n {\n this.setField({extract : true});\n var tmpEmail = this.verifyEmail(this.state().email);\n\n var tmpP = this.verifyPassword(this.state().password);\n var tmpCP = this.verifyConfirmPassword(this.state().confirmpassword);\n\n if(\n tmpEmail && \n tmpP && \n tmpCP)\n {\n //Form Operation\n return true;\n }else\n {\n\n return false;\n }\n }\n\n parseParams (queryParams: string)\n {\n var array = [];\n\n const params = queryParams.split('&');\n\n for (let i = 0; i < params.length; i++)\n {\n const query = params[i].split('=');\n\n const keyValue =\n {\n key : query[0],\n value : query[1]\n };\n\n array.push(keyValue);\n }\n\n return array;\n }\n\n handleEmailChanged(text : string)\n {\n text = text.trim();\n this.verifyEmail(text);\n this.setField({email : text});\n }\n\n handlePasswordChanged(text : string)\n {\n text = text.replace(/\\s/g,'');\n this.verifyPassword(text);\n this.setField({password : text});\n }\n\n handleConfirmPasswordChanged(text : string)\n {\n text = text.replace(/\\s/g,'');\n this.verifyConfirmPassword(text);\n this.setField({confirmpassword : text});\n }\n\n private verifyEmail(value : string) : boolean\n {\n var num = ProfileFieldsHelper.verifyEmail(value);\n if(ErrorFields.EMAIL_NULL_OR_EMPTY == num)\n {\n this.setField({isCorrectEmail : false});\n return false;\n }\n\n if(ErrorFields.EMAIL_REGEX == num)\n {\n this.setField({isCorrectEmail : false});\n return false;\n }\n \n this.setField({isCorrectEmail : true});\n return true;\n }\n\n private verifyPassword(value : string) : boolean\n {\n \n var num = ProfileFieldsHelper.verifyPasswordAdvanced(value);\n if(ErrorFields.PASSWORD_NULL_OR_EMPTY == num)\n {\n this.setField({isCorrectPassword : false});\n return false;\n }\n\n if(ErrorFields.PASSWORD_MAXIMUM_LENGTH == num)\n {\n this.setField({isCorrectPassword : false});\n return false;\n }\n\n if(ErrorFields.PASSWORD_MINIMUM_LENGTH == num)\n {\n this.setField({isCorrectPassword : false});\n return false;\n }\n\n if(ErrorFields.PASSWORD_AT_LEAST_ONE_NUMBER == num)\n {\n this.setField({isCorrectPassword : false});\n return false;\n } \n\n if(ErrorFields.PASSWORD_AT_LEAST_ONE_UPPERCASE == num)\n {\n this.setField({isCorrectPassword : false});\n return false;\n }\n\n if(ErrorFields.PASSWORD_AT_LEAST_ONE_LOWERCASE == num)\n {\n this.setField({isCorrectPassword : false});\n return false;\n }\n\n \n this.setField({isCorrectPassword : true});\n return true;\n }\n\n private verifyConfirmPassword(value : string) : boolean\n {\n var num = ProfileFieldsHelper.verifyTextFields(value);\n if(ErrorFields.FIELDS_NULL_OR_EMPTY == num)\n {\n this.setField({isCorrectConfirmPassword : false});\n return false;\n }\n\n if(ErrorFields.FIELDS_MAXIMUM_MENGTH == num)\n {\n this.setField({isCorrectConfirmPassword : false});\n return false;\n }\n\n\n if(value != this.state().password)\n {\n this.setField({isCorrectConfirmPassword : false});\n return false;\n }\n \n this.setField({isCorrectConfirmPassword : true});\n return true;\n }\n}","import {ContentViewStyle} from '@levelapp/softfabric';\nimport {StyleProp,ViewStyle, TextStyle} from 'react-native';\nimport WebConstants from '../../../Common/Constants/WebConstants';\n\nexport default class TextInputGenericViewStyle extends ContentViewStyle\n{\n container: StyleProp = {\n borderColor : WebConstants.BORDER_COLOR,\n borderWidth : 1,\n backgroundColor : 'white',\n borderRadius : 3,\n paddingHorizontal : 16,\n paddingVertical : 12,\n maxWidth : '100%',\n\n }\n\n containerError : StyleProp =\n {\n borderWidth : 1,\n borderColor : WebConstants.ERROR_COLOR,\n }\n\n textInput : StyleProp =\n {\n color : WebConstants.APP_COLOR,\n fontFamily : WebConstants.APP_FONT,\n fontWeight : \"400\"\n }\n\n error : StyleProp =\n {\n paddingTop : 10,\n paddingBottom : 15,\n }\n\n\n errorText : StyleProp =\n {\n color : WebConstants.NO_ERROR_COLOR\n }\n\n}","import {ContentViewModel,ContentView} from '@levelapp/softfabric';\nimport TextInputGenericViewState from './TextInputGenericViewState';\nimport TextInputGenericViewProps from './TextInputGenericViewProps';\nimport { Animated } from 'react-native';\n\nexport default class TextInputGenericViewModel extends ContentViewModel\n{\n translation : Animated.Value;\n /* CONSTRUCTOR */\n constructor(view: ContentView)\n {\n super(view);\n\n this.initialState(\n {\n value : ''\n }); // Initialize your state here\n\n // Bindings\n this.leaveAnimation = this.leaveAnimation.bind(this);\n this.launchAnimation = this.launchAnimation.bind(this);\n\n this.handleChangeValue = this.handleChangeValue.bind(this);\n\n this.translation = new Animated.Value(0);\n }\n\n handleChangeValue(value : string)\n {\n this.setField({value : value});\n this.props().handleChangeText(value)\n }\n\n leaveAnimation()\n {\n\n if(this.state().value == \"\")\n {\n Animated.spring(this.translation,\n {\n toValue : 0\n }).start();\n }\n\n }\n\n launchAnimation()\n {\n Animated.spring(this.translation,\n {\n toValue : 1\n }).start();\n }\n}","import React from 'react';\nimport {ContentView} from '@levelapp/softfabric';\nimport TextInputGenericViewState from './TextInputGenericViewState';\nimport TextInputGenericViewProps from './TextInputGenericViewProps';\nimport TextInputGenericViewStyle from './TextInputGenericViewStyle';\nimport TextInputGenericViewModel from './TextInputGenericViewModel';\nimport { TextInput, View, Text, Animated } from 'react-native';\nimport WebConstants from '../../../Common/Constants/WebConstants';\nimport { TranslationView } from '@levelapp/softfabric-ui';\nimport ResponsiveHelper from '../../../Common/Helper/ResponsiveHelper';\n\n\nexport default class TextInputGenericView extends ContentView\n{\n /* CONSTRUCTOR */\n constructor(props:TextInputGenericViewProps)\n {\n super(props);\n\n // Binding\n this.bind(new TextInputGenericViewModel(this), new TextInputGenericViewStyle(this));\n }\n\n /* RENDERING */\n render()\n {\n const { textInput , container , containerError , error , errorText } = this.style\n\n const translation = this.binding.translation.interpolate(\n {\n inputRange : [0,1],\n outputRange : [10 , 0]\n })\n\n return (\n \n \n \n \n {this.binding.translate(this.props.placeholder)}\n \n \n this.binding.handleChangeValue(value)} \n onBlur={() => this.binding.leaveAnimation()}\n onFocus={() => this.binding.launchAnimation()}\n style={[textInput , {fontSize : this.props.fontSizeEntry}]} />\n \n\n { this.props.shouldDisplayText && error.password.length}\n \n \n );\n }\n}","import {ContentViewStyle} from '@levelapp/softfabric';\nimport {StyleProp,ViewStyle, TextStyle} from 'react-native';\nimport WebConstants from '../../../Common/Constants/WebConstants';\n\nexport default class ButtonGenericViewStyle extends ContentViewStyle\n{\n container: StyleProp = {\n borderWidth : 1 , \n borderRadius : 3,\n borderColor : WebConstants.APP_SECOND_COLOR,\n width : '100%',\n flex : 1,\n justifyContent : 'center' ,\n alignItems : 'center',\n\n }\n\n active: StyleProp = {\n backgroundColor : WebConstants.APP_SECOND_COLOR,\n }\n\n cosmos : StyleProp = {\n paddingVertical : 30,\n width : '100%'\n }\n\n text : StyleProp =\n {\n fontSize : WebConstants.TEXTINPUT_FONT ,\n fontFamily : WebConstants.APP_FONT,\n fontWeight : \"700\",\n paddingVertical : 14,\n }\n\n textActive : StyleProp =\n {\n color : 'white'\n }\n\n textReverse : StyleProp =\n {\n }\n\n\n}","import {ContentViewModel,ContentView} from '@levelapp/softfabric';\nimport ButtonGenericViewState from './ButtonGenericViewState';\nimport ButtonGenericViewProps from './ButtonGenericViewProps';\n\nexport default class ButtonGenericViewModel extends ContentViewModel\n{\n /* CONSTRUCTOR */\n constructor(view: ContentView)\n {\n super(view);\n\n this.initialState({}); // Initialize your state here\n\n // Bindings\n\n }\n}","import React from 'react';\nimport {ContentView} from '@levelapp/softfabric';\nimport ButtonGenericViewState from './ButtonGenericViewState';\nimport ButtonGenericViewProps from './ButtonGenericViewProps';\nimport ButtonGenericViewStyle from './ButtonGenericViewStyle';\nimport ButtonGenericViewModel from './ButtonGenericViewModel';\nimport { TouchableWithoutFeedback, View, Text } from 'react-native';\nimport { LottieView } from '@levelapp/softfabric-ui';\n\nexport default class ButtonGenericView extends ContentView\n{\n /* CONSTRUCTOR */\n constructor(props:ButtonGenericViewProps)\n {\n super(props);\n\n // Binding\n this.bind(new ButtonGenericViewModel(this), new ButtonGenericViewStyle(this));\n }\n\n /* RENDERING */\n render()\n {\n const { container , cosmos, active , text , textActive } = this.style\n\n return (\n this.props.handleOnPress()}>\n {!this.props.isLoading ?\n \n \n {this.props.title}\n \n \n :\n (this.props.isLoading != undefined && this.props.isLoading && \n \n \n \n \n \n \n )}\n \n );\n }\n}","import React from 'react';\nimport {ContentView} from '@levelapp/softfabric';\nimport ResetViewState from './ResetViewState';\nimport ResetViewProps from './ResetViewProps';\nimport ResetViewStyle from './ResetViewStyle';\nimport ResetViewModel from './ResetViewModel';\nimport {TranslationView} from '@levelapp/softfabric-ui';\nimport { View, Image } from 'react-native';\nimport TextInputGenericView from '../../components/textinputgeneric/TextInputGenericView';\nimport WebConstants from '../../../Common/Constants/WebConstants';\nimport ButtonGenericView from '../../components/buttongeneric/ButtonGenericView';\nimport ResponsiveHelper from '../../../Common/Helper/ResponsiveHelper';\nimport ClientConstants from '../../../ClientConstants';\n\nexport default class ResetView extends ContentView\n{\n /* CONSTRUCTOR */\n constructor(props:ResetViewProps)\n {\n super(props);\n\n // Binding\n this.bind(new ResetViewModel(this), new ResetViewStyle(this));\n }\n\n /* RENDERING */\n render()\n {\n const { headerText } = this.style;\n\n const imageStyle = ResponsiveHelper.isSmarthphone() ? this.style.imageForPhone : this.style.image;\n \n return (\n \n \n \n\n \n {this.state.success ? \n \n reset.title.success\n \n :\n \n \n reset.title\n \n\n this.binding.handleEmailChanged(value)}/>\n \n this.binding.handlePasswordChanged(value)}/>\n \n this.binding.handleConfirmPasswordChanged(value)}/>\n\n \n { this.binding.resetPassword()}} title={this.binding.translate('reset.title')} disable={this.state.isLoading}/> \n \n \n }\n \n\n \n );\n }\n}","import React from 'react';\nimport { View } from 'react-native';\nimport ShellViewState from './ShellViewState';\nimport ShellViewProps from './ShellViewProps';\nimport ShellViewStyle from './ShellViewStyle';\nimport ShellViewModel from './ShellViewModel';\nimport { Switch, Route, Redirect } from 'react-router';\nimport { ContentView, Application, NavigationManager, Managers, LanguageManager } from '@levelapp/softfabric';\nimport ResetView from './modules/reset/ResetView';\n\nexport default class ShellView extends ContentView\n{\n NavigationManager : NavigationManager = Application.current.resolve(Managers.NAVIGATION_MANAGER);\n LanguageManager : LanguageManager = Application.current.resolve(Managers.LANGUAGE_MANAGER);\n\n /* CONSTRUCTOR */\n constructor(props: ShellViewProps)\n {\n super(props);\n\n // Binding\n this.bind(new ShellViewModel(this), new ShellViewStyle(this));\n }\n\n /* RENDERING */\n render()\n {\n return (\n \n\n\n \n } />\n } />\n \n\n\n \n )\n }\n}","import \"reflect-metadata\";\nimport 'react-app-polyfill/ie11';\nimport 'react-app-polyfill/stable';\nimport * as React from 'react';\nimport ShellView from './Presentation/ShellView';\nimport { Application, TranslationManager, HttpManager, Managers, LanguageManager, NavigationManager, PopUpManager, AuthManager, StorageManager, ModuleManager, ToastManager} from '@levelapp/softfabric';\nimport { UiManagers, StyleManager } from '@levelapp/softfabric-ui';\nimport PathConstants from \"./Common/Constants/PathConstants\";\n\nexport default class App extends Application\n{\n initialisation()\n {\n Application.current = this;\n\n \n\n this.register(Managers.NAVIGATION_MANAGER, new NavigationManager());\n //Current language && Array Accepted Languages\n this.register(Managers.LANGUAGE_MANAGER,new LanguageManager(\"en-GB\",[\"en-GB\"]));\n\n\n\n //Registrer The Translation Manager with a path to the translation.json\n this.register(Managers.TRANSLATION_MANAGER,new TranslationManager(require('./Translations/Translations.json')));\n\n //To modify the theme of your app. Specify a new Style Manager.\n //Create a ExtendedManager extends StyleManager \n this.register(UiManagers.STYLE_MANAGER, new StyleManager());\n\n var storage = new StorageManager();\n this.register(Managers.STORAGE_MANAGER , storage);\n\n var auth = new AuthManager(\"\",\"\",\"\",storage);\n this.register(Managers.AUTH_MANAGER , auth);\n\n //Set a httpClient with an url and a callback\n this.register(Managers.HTTP_MANAGER, new HttpManager(PathConstants.SERVICES,\n async () =>\n {\n // let auth = this.resolve(Managers.AUTH_MANAGER);\n // let token = await auth.getTokenFromDisk();\n // if (token && token.access_token)\n // {\n // return \"Bearer\" + ' ' + token.access_token;\n // }\n\n // else\n // {\n // return '';\n // }\n },auth));\n\n //Set the PopUp Manager\n this.register(Managers.POPUP_MANAGER, new PopUpManager());\n\n this.register(Managers.MODULE_MANAGER, new ModuleManager());\n this.register(Managers.TOAST_MANAGER , new ToastManager());\n\n //Set a callback for handling errors differents than 404 and 401\n this.resolve(Managers.HTTP_MANAGER).handleSomethingWentWrong = this.handleSomethingWentWrong;\n this.resolve(Managers.HTTP_MANAGER).handleUnauthorized = this.handleUnauthorized;\n this.resolve(Managers.HTTP_MANAGER).addCustomHeader(\"tenant-id\", 'aa110e17-83ca-407d-870c-4d2431d3f529')\n this.resolve(Managers.AUTH_MANAGER).handleNoTokenFound = this.handleNoTokenFound;\n }\n\n\n handleSomethingWentWrong()\n {\n //Application.current.resolve(Managers.NAVIGATION_MANAGER).navigate('/login');\n }\n\n handleError()\n {\n //Application.current.resolve(Managers.NAVIGATION_MANAGER).navigate('/login');\n }\n\n handleNoTokenFound()\n {\n Application.current.resolve(Managers.NAVIGATION_MANAGER).navigate('/login');\n }\n\n handleUnauthorized()\n {\n Application.current.resolve(Managers.NAVIGATION_MANAGER).navigate('/login');\n }\n\n renderApplication()\n {\n return ();\n\n }\n}","// tslint:disable:no-console\n// In production, we register a service worker to serve assets from local cache.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on the 'N+1' visit to a page, since previously\n// cached resources are updated in the background.\n\n// To learn more about the benefits of this model, read https://goo.gl/KwvDNy.\n// This link also includes instructions on opting out of this behavior.\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.1/8 is considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n );\n \n export default function register() {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(\n process.env.PUBLIC_URL!,\n window.location.toString()\n );\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebookincubator/create-react-app/issues/2374\n return;\n }\n \n \n \n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n \n if (isLocalhost) {\n // This is running on localhost. Lets check if a service worker still exists or not.\n checkValidServiceWorker(swUrl);\n \n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://goo.gl/SC7cgQ'\n );\n });\n } else {\n // Is not local host. Just register service worker\n registerValidSW(swUrl);\n }\n });\n }\n }\n \n function registerValidSW(swUrl: string) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker) {\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the old content will have been purged and\n // the fresh content will have been added to the cache.\n // It's the perfect time to display a 'New content is\n // available; please refresh.' message in your web app.\n console.log('New content is available; please refresh.');\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // 'Content is cached for offline use.' message.\n console.log('Content is cached for offline use.');\n }\n }\n };\n }\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n }\n \n function checkValidServiceWorker(swUrl: string) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl)\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n if (\n response.status === 404 ||\n response.headers.get('content-type')!.indexOf('javascript') === -1\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n }\n \n export function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister();\n });\n }\n }\n ","// app and web entry\nimport App from \"./App\";\nimport { AppRegistry, Platform } from \"react-native\";\nimport { unregister } from './registerServiceWorker';\nimport ClientConstants from \"./ClientConstants\";\n\n\n// register the app\nAppRegistry.registerComponent(ClientConstants.CLIENT_NAME, () => App);\n\n// register the web\nif (Platform.OS === \"web\") {\n AppRegistry.runApplication(ClientConstants.CLIENT_NAME, {\n rootTag: document.getElementById(\"root\")\n });\n}\n\n\nunregister();\n\n// caches.keys().then(function (names) {\n// for (let name of names)\n// caches.delete(name);\n// });"],"sourceRoot":""}