@tima2025/react-native-timalender 1.0.1-glink → 1.0.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/lib/commonjs/assets/images/Invest/index.js +1 -1
- package/lib/commonjs/assets/images/Invest/index.js.flow +5 -12
- package/lib/commonjs/assets/images/Invest/index.js.map +1 -1
- package/lib/commonjs/assets/images/InvestNew/index.js +1 -1
- package/lib/commonjs/assets/images/InvestNew/index.js.flow +14 -14
- package/lib/commonjs/assets/images/InvestNew/index.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js.flow +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/commonjs/components/Navigation/TabNavigation.js +1 -1
- package/lib/commonjs/components/Navigation/TabNavigation.js.flow +0 -3
- package/lib/commonjs/components/Navigation/TabNavigation.js.map +1 -1
- package/lib/commonjs/controllers/Client.js +1 -1
- package/lib/commonjs/controllers/Client.js.flow +5 -3
- package/lib/commonjs/controllers/Client.js.map +1 -1
- package/lib/commonjs/screens/About/index.js +1 -1
- package/lib/commonjs/screens/About/index.js.flow +1 -1
- package/lib/commonjs/screens/About/index.js.map +1 -1
- package/lib/commonjs/screens/AdditionalInvestmentCapital/Components/Success.js +1 -1
- package/lib/commonjs/screens/AdditionalInvestmentCapital/Components/Success.js.flow +2 -2
- package/lib/commonjs/screens/AdditionalInvestmentCapital/Components/Success.js.map +1 -1
- package/lib/commonjs/screens/Confirm/index.js +1 -1
- package/lib/commonjs/screens/Confirm/index.js.flow +1 -1
- package/lib/commonjs/screens/Confirm/index.js.map +1 -1
- package/lib/commonjs/screens/ConnectBank/index.js +1 -1
- package/lib/commonjs/screens/ConnectBank/index.js.flow +2 -2
- package/lib/commonjs/screens/ConnectBank/index.js.map +1 -1
- package/lib/commonjs/screens/EkycLiveness/EkycCamera.js +1 -1
- package/lib/commonjs/screens/EkycLiveness/EkycCamera.js.flow +16 -28
- package/lib/commonjs/screens/EkycLiveness/EkycCamera.js.map +1 -1
- package/lib/commonjs/screens/EkycLiveness/index.js +1 -1
- package/lib/commonjs/screens/EkycLiveness/index.js.flow +44 -84
- package/lib/commonjs/screens/EkycLiveness/index.js.map +1 -1
- package/lib/commonjs/screens/GpayInfor/Gpay.js +1 -1
- package/lib/commonjs/screens/GpayInfor/Gpay.js.flow +1 -1
- package/lib/commonjs/screens/GpayInfor/Gpay.js.map +1 -1
- package/lib/commonjs/screens/Guide/index.js +1 -1
- package/lib/commonjs/screens/Guide/index.js.flow +3 -3
- package/lib/commonjs/screens/Guide/index.js.map +1 -1
- package/lib/commonjs/screens/InputBank/index.js +1 -1
- package/lib/commonjs/screens/InputBank/index.js.flow +2 -2
- package/lib/commonjs/screens/InputBank/index.js.map +1 -1
- package/lib/commonjs/screens/Invest/Screens/HomeLoan.js +1 -1
- package/lib/commonjs/screens/Invest/Screens/HomeLoan.js.flow +1 -2
- package/lib/commonjs/screens/Invest/Screens/HomeLoan.js.map +1 -1
- package/lib/commonjs/screens/InvestNew/Screens/HomeLoan.js +1 -1
- package/lib/commonjs/screens/InvestNew/Screens/HomeLoan.js.flow +1 -2
- package/lib/commonjs/screens/InvestNew/Screens/HomeLoan.js.map +1 -1
- package/lib/commonjs/screens/LoanApplication/Components/ModalWarn.js +1 -1
- package/lib/commonjs/screens/LoanApplication/Components/ModalWarn.js.flow +1 -1
- package/lib/commonjs/screens/LoanApplication/Components/ModalWarn.js.map +1 -1
- package/lib/commonjs/screens/Notification/index.js.flow +1 -1
- package/lib/commonjs/screens/Optional/index.js +1 -1
- package/lib/commonjs/screens/Optional/index.js.flow +74 -58
- package/lib/commonjs/screens/Optional/index.js.map +1 -1
- package/lib/commonjs/screens/PendingLoan/Tabs/Tab1.js +1 -1
- package/lib/commonjs/screens/PendingLoan/Tabs/Tab1.js.flow +1 -1
- package/lib/commonjs/screens/PendingLoan/Tabs/Tab1.js.map +1 -1
- package/lib/commonjs/screens/ReceivedLoan/Components/Tab1.js +1 -1
- package/lib/commonjs/screens/ReceivedLoan/Components/Tab1.js.flow +1 -1
- package/lib/commonjs/screens/ReceivedLoan/Components/Tab1.js.map +1 -1
- package/lib/commonjs/screens/Sign-in/index.js +1 -1
- package/lib/commonjs/screens/Sign-in/index.js.flow +1 -1
- package/lib/commonjs/screens/Sign-in/index.js.map +1 -1
- package/lib/commonjs/screens/SignContractGpayTima/ConfirmContact.js +1 -1
- package/lib/commonjs/screens/SignContractGpayTima/ConfirmContact.js.flow +28 -34
- package/lib/commonjs/screens/SignContractGpayTima/ConfirmContact.js.map +1 -1
- package/lib/commonjs/screens/SignContractGpayTima/SignContract.js +1 -1
- package/lib/commonjs/screens/SignContractGpayTima/SignContract.js.flow +34 -38
- package/lib/commonjs/screens/SignContractGpayTima/SignContract.js.map +1 -1
- package/lib/commonjs/screens/SignContractGpayTima/index.js +1 -1
- package/lib/commonjs/screens/SignContractGpayTima/index.js.flow +2 -2
- package/lib/commonjs/screens/SignContractGpayTima/index.js.map +1 -1
- package/lib/commonjs/screens/Support/index.js +1 -1
- package/lib/commonjs/screens/Support/index.js.flow +1 -1
- package/lib/commonjs/screens/Support/index.js.map +1 -1
- package/lib/commonjs/screens/Transfer/Components/PopoverChooseShop.js +1 -1
- package/lib/commonjs/screens/Transfer/Components/PopoverChooseShop.js.flow +2 -2
- package/lib/commonjs/screens/Transfer/Components/PopoverChooseShop.js.map +1 -1
- package/lib/commonjs/utils/notification.js +1 -1
- package/lib/commonjs/utils/notification.js.flow +8 -10
- package/lib/commonjs/utils/notification.js.map +1 -1
- package/lib/module/assets/images/Invest/index.js +1 -1
- package/lib/module/assets/images/Invest/index.js.map +1 -1
- package/lib/module/assets/images/InvestNew/index.js +1 -1
- package/lib/module/assets/images/InvestNew/index.js.map +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/module/components/Navigation/TabNavigation.js +1 -1
- package/lib/module/components/Navigation/TabNavigation.js.map +1 -1
- package/lib/module/controllers/Client.js +1 -1
- package/lib/module/controllers/Client.js.map +1 -1
- package/lib/module/screens/About/index.js +1 -1
- package/lib/module/screens/About/index.js.map +1 -1
- package/lib/module/screens/AdditionalInvestmentCapital/Components/Success.js +1 -1
- package/lib/module/screens/AdditionalInvestmentCapital/Components/Success.js.map +1 -1
- package/lib/module/screens/Confirm/index.js +1 -1
- package/lib/module/screens/Confirm/index.js.map +1 -1
- package/lib/module/screens/ConnectBank/index.js +1 -1
- package/lib/module/screens/ConnectBank/index.js.map +1 -1
- package/lib/module/screens/EkycLiveness/EkycCamera.js +1 -1
- package/lib/module/screens/EkycLiveness/EkycCamera.js.map +1 -1
- package/lib/module/screens/EkycLiveness/index.js +1 -1
- package/lib/module/screens/EkycLiveness/index.js.map +1 -1
- package/lib/module/screens/GpayInfor/Gpay.js +1 -1
- package/lib/module/screens/GpayInfor/Gpay.js.map +1 -1
- package/lib/module/screens/Guide/index.js +1 -1
- package/lib/module/screens/Guide/index.js.map +1 -1
- package/lib/module/screens/InputBank/index.js +1 -1
- package/lib/module/screens/InputBank/index.js.map +1 -1
- package/lib/module/screens/Invest/Screens/HomeLoan.js +1 -1
- package/lib/module/screens/Invest/Screens/HomeLoan.js.map +1 -1
- package/lib/module/screens/InvestNew/Screens/HomeLoan.js +1 -1
- package/lib/module/screens/InvestNew/Screens/HomeLoan.js.map +1 -1
- package/lib/module/screens/LoanApplication/Components/ModalWarn.js +1 -1
- package/lib/module/screens/LoanApplication/Components/ModalWarn.js.map +1 -1
- package/lib/module/screens/Optional/index.js +1 -1
- package/lib/module/screens/Optional/index.js.map +1 -1
- package/lib/module/screens/PendingLoan/Tabs/Tab1.js +1 -1
- package/lib/module/screens/PendingLoan/Tabs/Tab1.js.map +1 -1
- package/lib/module/screens/ReceivedLoan/Components/Tab1.js +1 -1
- package/lib/module/screens/ReceivedLoan/Components/Tab1.js.map +1 -1
- package/lib/module/screens/Sign-in/index.js +1 -1
- package/lib/module/screens/Sign-in/index.js.map +1 -1
- package/lib/module/screens/SignContractGpayTima/ConfirmContact.js +1 -1
- package/lib/module/screens/SignContractGpayTima/ConfirmContact.js.map +1 -1
- package/lib/module/screens/SignContractGpayTima/SignContract.js +1 -1
- package/lib/module/screens/SignContractGpayTima/SignContract.js.map +1 -1
- package/lib/module/screens/SignContractGpayTima/index.js +1 -1
- package/lib/module/screens/SignContractGpayTima/index.js.map +1 -1
- package/lib/module/screens/Support/index.js +1 -1
- package/lib/module/screens/Support/index.js.map +1 -1
- package/lib/module/screens/Transfer/Components/PopoverChooseShop.js +1 -1
- package/lib/module/screens/Transfer/Components/PopoverChooseShop.js.map +1 -1
- package/lib/module/utils/notification.js +1 -1
- package/lib/module/utils/notification.js.map +1 -1
- package/lib/typescript/src/assets/images/Invest/index.d.ts.map +1 -1
- package/lib/typescript/src/assets/images/InvestNew/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Navigation/TabNavigation.d.ts.map +1 -1
- package/lib/typescript/src/controllers/Client.d.ts.map +1 -1
- package/lib/typescript/src/screens/EkycLiveness/EkycCamera.d.ts.map +1 -1
- package/lib/typescript/src/screens/EkycLiveness/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/Invest/Screens/HomeLoan.d.ts.map +1 -1
- package/lib/typescript/src/screens/InvestNew/Screens/HomeLoan.d.ts.map +1 -1
- package/lib/typescript/src/screens/Optional/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/SignContractGpayTima/ConfirmContact.d.ts.map +1 -1
- package/lib/typescript/src/screens/SignContractGpayTima/SignContract.d.ts.map +1 -1
- package/lib/typescript/src/utils/notification.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/assets/images/Invest/index.ts +5 -12
- package/src/assets/images/InvestNew/index.ts +14 -14
- package/src/components/ImageGallery/ImageGallery.tsx +1 -1
- package/src/components/Navigation/TabNavigation.tsx +0 -3
- package/src/controllers/Client.tsx +5 -3
- package/src/screens/About/index.tsx +1 -1
- package/src/screens/AdditionalInvestmentCapital/Components/Success.tsx +2 -2
- package/src/screens/Confirm/index.tsx +1 -1
- package/src/screens/ConnectBank/index.tsx +2 -2
- package/src/screens/EkycLiveness/EkycCamera.tsx +16 -28
- package/src/screens/EkycLiveness/index.tsx +44 -84
- package/src/screens/GpayInfor/Gpay.tsx +1 -1
- package/src/screens/Guide/index.tsx +3 -3
- package/src/screens/InputBank/index.tsx +2 -2
- package/src/screens/Invest/Screens/HomeLoan.tsx +1 -2
- package/src/screens/InvestNew/Screens/HomeLoan.tsx +1 -2
- package/src/screens/LoanApplication/Components/ModalWarn.tsx +1 -1
- package/src/screens/Notification/index.tsx +1 -1
- package/src/screens/Optional/index.tsx +74 -58
- package/src/screens/PendingLoan/Tabs/Tab1.tsx +1 -1
- package/src/screens/ReceivedLoan/Components/Tab1.tsx +1 -1
- package/src/screens/Sign-in/index.tsx +1 -1
- package/src/screens/SignContractGpayTima/ConfirmContact.tsx +28 -34
- package/src/screens/SignContractGpayTima/SignContract.tsx +34 -38
- package/src/screens/SignContractGpayTima/index.tsx +2 -2
- package/src/screens/Support/index.tsx +1 -1
- package/src/screens/Transfer/Components/PopoverChooseShop.tsx +2 -2
- package/src/utils/notification.ts +8 -10
- package/lib/commonjs/assets/images/Invest/diamond_glink.png +0 -0
- package/lib/commonjs/assets/images/Invest/gold_glink.png +0 -0
- package/lib/commonjs/assets/images/Invest/money_glink.png +0 -0
- package/lib/commonjs/assets/images/Invest/ruby_glink.png +0 -0
- package/lib/commonjs/assets/images/Invest/titan_glink.png +0 -0
- package/lib/commonjs/assets/images/InvestNew/bg_none_glink.png +0 -0
- package/lib/module/assets/images/Invest/diamond_glink.png +0 -0
- package/lib/module/assets/images/Invest/gold_glink.png +0 -0
- package/lib/module/assets/images/Invest/money_glink.png +0 -0
- package/lib/module/assets/images/Invest/ruby_glink.png +0 -0
- package/lib/module/assets/images/Invest/titan_glink.png +0 -0
- package/lib/module/assets/images/InvestNew/bg_none_glink.png +0 -0
- package/src/assets/images/Invest/diamond_glink.png +0 -0
- package/src/assets/images/Invest/gold_glink.png +0 -0
- package/src/assets/images/Invest/money_glink.png +0 -0
- package/src/assets/images/Invest/ruby_glink.png +0 -0
- package/src/assets/images/Invest/titan_glink.png +0 -0
- package/src/assets/images/InvestNew/bg_none_glink.png +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactRedux","_Optional","_interopRequireDefault","_AppHeader","_BSubmit","_Colors","_Container","_EmptyView","_FlexRow","_Loading","_Metrics","_RText","_SpaceBetween","_lenderSlice","_Screens","_selector","_store","_ModalChooseMoney","_jsxRuntime","_this","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","SignContractGpayTima","exports","_ref","navigation","dispatch","useAppDispatch","isLoading","useSelector","selectLoading","_useState","useState","_useState2","_slicedToArray2","data","setData","_useState3","_useState4","openModal","setOpenModal","getData","_ref2","_asyncToGenerator2","resp","getGpayContracts","console","log","payload","meta","errCode","Alert","alert","errMessage","apply","arguments","useEffect","addListener","jsxs","children","jsx","title","goBack","navigate","Screens","Gpay","View","style","padding","actuatedNormalize","TouchableOpacity","onPress","statusEsign","SignContract","assign","backgroundColor","Colors","WHITE","borderRadius","Shadow","Image","source","imageOptions","ic_pdf_tima_gpay","width","height","textStyle","fontWeight","paddingTop","color","GRAY_3","fontSize","RED","statusEsignName","text","buttonStyle","isVisible","onClose"],"sourceRoot":"../../../../src","sources":["screens/SignContractGpayTima/index.tsx"],"mappings":"8WAEA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBACA,IAAAE,WAAA,CAAAF,OAAA,gBACA,IAAAG,SAAA,CAAAC,sBAAA,CAAAJ,OAAA,kCACA,IAAAK,UAAA,CAAAD,sBAAA,CAAAJ,OAAA,4BAC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,CAAAoC,IAAS,MAAS,CAAAlB,QAAQ,CAAC,GAAAmB,6BAAgB,EAAC,CAAC,CAAC,CACpDC,OAAO,CAACC,GAAG,CAACH,IAAI,CAAC,CACjB,GAAIA,IAAI,CAACI,OAAO,CAACC,IAAI,CAACC,OAAO,GAAK,GAAG,CAAE,CACrCd,OAAO,CAACQ,IAAI,CAACI,OAAO,CAACb,IAAI,CAAC,CAC5B,CAAC,IAAM,CAELgB,kBAAK,CAACC,KAAK,CAAC,WAAW,CAAER,IAAI,CAACI,OAAO,CAACC,IAAI,CAACI,UAAU,CAAC,CACxD,CACF,CAAC,iBATK,CAAAZ,OAAOA,CAAA,SAAAC,KAAA,CAAAY,KAAA,MAAAC,SAAA,OASZ,CAED,GAAAC,gBAAS,EAAC,UAAM,CACd,MAAO,CAAA/B,UAAU,CAACgC,WAAW,CAAC,OAAO,CAAE,UAAM,CAC3ChB,OAAO,CAAC,CAAC,CACX,CAAC,CAAC,CAEJ,CAAC,CAAE,CAAChB,UAAU,CAAC,CAAC,CAChB,MACE,GAAA1B,WAAA,CAAA2D,IAAA,EAACvE,UAAA,CAAAqB,OAAS,EAAAmD,QAAA,EACR,GAAA5D,WAAA,CAAA6D,GAAA,EAAC5E,UAAA,CAAAwB,OAAS,EACRqD,KAAK,CAAC
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactRedux","_Optional","_interopRequireDefault","_AppHeader","_BSubmit","_Colors","_Container","_EmptyView","_FlexRow","_Loading","_Metrics","_RText","_SpaceBetween","_lenderSlice","_Screens","_selector","_store","_ModalChooseMoney","_jsxRuntime","_this","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","SignContractGpayTima","exports","_ref","navigation","dispatch","useAppDispatch","isLoading","useSelector","selectLoading","_useState","useState","_useState2","_slicedToArray2","data","setData","_useState3","_useState4","openModal","setOpenModal","getData","_ref2","_asyncToGenerator2","resp","getGpayContracts","console","log","payload","meta","errCode","Alert","alert","errMessage","apply","arguments","useEffect","addListener","jsxs","children","jsx","title","goBack","navigate","Screens","Gpay","View","style","padding","actuatedNormalize","TouchableOpacity","onPress","statusEsign","SignContract","assign","backgroundColor","Colors","WHITE","borderRadius","Shadow","Image","source","imageOptions","ic_pdf_tima_gpay","width","height","textStyle","fontWeight","paddingTop","color","GRAY_3","fontSize","RED","statusEsignName","text","buttonStyle","isVisible","onClose"],"sourceRoot":"../../../../src","sources":["screens/SignContractGpayTima/index.tsx"],"mappings":"8WAEA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBACA,IAAAE,WAAA,CAAAF,OAAA,gBACA,IAAAG,SAAA,CAAAC,sBAAA,CAAAJ,OAAA,kCACA,IAAAK,UAAA,CAAAD,sBAAA,CAAAJ,OAAA,4BACA,IAAAM,QAAA,CAAAF,sBAAA,CAAAJ,OAAA,kCACA,IAAAO,OAAA,CAAAH,sBAAA,CAAAJ,OAAA,yBACA,IAAAQ,UAAA,CAAAJ,sBAAA,CAAAJ,OAAA,4BACA,IAAAS,UAAA,CAAAL,sBAAA,CAAAJ,OAAA,4BACA,IAAAU,QAAA,CAAAN,sBAAA,CAAAJ,OAAA,0BACA,IAAAW,QAAA,CAAAP,sBAAA,CAAAJ,OAAA,0BACA,IAAAY,QAAA,CAAAZ,OAAA,yBACA,IAAAa,MAAA,CAAAT,sBAAA,CAAAJ,OAAA,wBACA,IAAAc,aAAA,CAAAV,sBAAA,CAAAJ,OAAA,+BACA,IAAAe,YAAA,CAAAf,OAAA,iDACA,IAAAgB,QAAA,CAAAZ,sBAAA,CAAAJ,OAAA,yCACA,IAAAiB,SAAA,CAAAjB,OAAA,oCACA,IAAAkB,MAAA,CAAAlB,OAAA,iCACA,IAAAmB,iBAAA,CAAAf,sBAAA,CAAAJ,OAAA,mCAA6D,IAAAoB,WAAA,CAAApB,OAAA,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ACnBhC,YAAY,CAAC,IAAI,CAAC,CAClBf,UAAU,CAACsC,QAAQ,CAACC,gBAAO,CAACS,YAAY,CAAE,CAAEtC,IAAI,CAAJA,IAAK,CAAC,CAAC,CACzD,CAAE,CACF4D,WAAW,CAAE,CACXX,KAAK,CAAE,GAAAf,0BAAiB,EAAC,GAAG,CAAC,CAC7BgB,MAAM,CAAE,GAAAhB,0BAAiB,EAAC,EAAE,CAAC,CAC7BS,YAAY,CAAE,CAChB,CAAE,CACFQ,SAAS,CAAE,CAAEK,QAAQ,CAAE,GAAAtB,0BAAiB,EAAC,EAAE,CAAE,CAAE,CAChD,CAAC,EACU,CAAC,EACC,CAAC,CAEnB,GAAAtE,WAAA,CAAA6D,GAAA,EAACxE,UAAA,CAAAoB,OAAS,EAACsF,IAAI,CAAE,6BAA8B,CAAE,CAClD,CACG,CAAC,CACNlE,SAAS,CAAG,GAAA7B,WAAA,CAAA6D,GAAA,EAACtE,QAAA,CAAAkB,OAAO,GAAE,CAAC,CAAG,GAAAT,WAAA,CAAA6D,GAAA,EAAChF,YAAA,CAAAsF,IAAI,GAAE,CAAC,CACnC,GAAAnE,WAAA,CAAA6D,GAAA,EAAC9D,iBAAA,CAAAU,OAAgB,EACfwF,SAAS,CAAEzD,SAAU,CACrB0D,OAAO,CAAE,QAAT,CAAAA,OAAOA,CAAA,QAAQ,CAAAzD,YAAY,CAAC,KAAK,CAAC,EAAC,CACpC,CAAC,EACO,CAAC,CAEhB,CAAC","ignoreList":[]}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.Support=void 0;var _react=_interopRequireDefault(require("react"));var _Ionicons=_interopRequireDefault(require("react-native-vector-icons/Ionicons"));var _AppHeader=_interopRequireDefault(require("../../common/AppHeader"));var _Colors=_interopRequireDefault(require("../../common/Colors"));var _Container=_interopRequireDefault(require("../../common/Container"));var _FlexRow=_interopRequireDefault(require("../../common/FlexRow"));var _Metrics=require("../../common/Metrics");var _RText=_interopRequireDefault(require("../../common/RText"));var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/Users/tima/Repository/Tima/dautu/timadautu2025/src/screens/Support/index.tsx";var Support=exports.Support=function Support(){return(0,_jsxRuntime.jsxs)(_Container.default,{isStatusBar:true,children:[(0,_jsxRuntime.jsx)(_AppHeader.default,{title:"H\u1ED6 TR\u1EE2"}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignSelf:'center',paddingTop:(0,_Metrics.actuatedNormalize)(150)},children:[(0,_jsxRuntime.jsx)(_Ionicons.default,{name:"call",size:24,color:_Colors.default.ORANGE}),(0,_jsxRuntime.jsx)(_RText.default,{textStyle:{color:_Colors.default.ORANGE,fontWeight:'700',fontSize:20,marginLeft:8},children:"1900.633.688"})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignSelf:'center',paddingTop:(0,_Metrics.actuatedNormalize)(12)},children:[(0,_jsxRuntime.jsx)(_Ionicons.default,{name:"mail",size:24,color:_Colors.default.ORANGE}),(0,_jsxRuntime.jsx)(_RText.default,{textStyle:{color:_Colors.default.ORANGE,fontWeight:'700',fontSize:20,marginLeft:8},children:"
|
1
|
+
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.Support=void 0;var _react=_interopRequireDefault(require("react"));var _Ionicons=_interopRequireDefault(require("react-native-vector-icons/Ionicons"));var _AppHeader=_interopRequireDefault(require("../../common/AppHeader"));var _Colors=_interopRequireDefault(require("../../common/Colors"));var _Container=_interopRequireDefault(require("../../common/Container"));var _FlexRow=_interopRequireDefault(require("../../common/FlexRow"));var _Metrics=require("../../common/Metrics");var _RText=_interopRequireDefault(require("../../common/RText"));var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/Users/tima/Repository/Tima/dautu/timadautu2025/src/screens/Support/index.tsx";var Support=exports.Support=function Support(){return(0,_jsxRuntime.jsxs)(_Container.default,{isStatusBar:true,children:[(0,_jsxRuntime.jsx)(_AppHeader.default,{title:"H\u1ED6 TR\u1EE2"}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignSelf:'center',paddingTop:(0,_Metrics.actuatedNormalize)(150)},children:[(0,_jsxRuntime.jsx)(_Ionicons.default,{name:"call",size:24,color:_Colors.default.ORANGE}),(0,_jsxRuntime.jsx)(_RText.default,{textStyle:{color:_Colors.default.ORANGE,fontWeight:'700',fontSize:20,marginLeft:8},children:"1900.633.688"})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignSelf:'center',paddingTop:(0,_Metrics.actuatedNormalize)(12)},children:[(0,_jsxRuntime.jsx)(_Ionicons.default,{name:"mail",size:24,color:_Colors.default.ORANGE}),(0,_jsxRuntime.jsx)(_RText.default,{textStyle:{color:_Colors.default.ORANGE,fontWeight:'700',fontSize:20,marginLeft:8},children:"vip@tima.vn"})]})]});};
|
2
2
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_Ionicons","_AppHeader","_Colors","_Container","_FlexRow","_Metrics","_RText","_jsxRuntime","_this","_jsxFileName","Support","exports","jsxs","default","isStatusBar","children","jsx","title","style","alignSelf","paddingTop","actuatedNormalize","name","size","color","Colors","ORANGE","textStyle","fontWeight","fontSize","marginLeft"],"sourceRoot":"../../../../src","sources":["screens/Support/index.tsx"],"mappings":"mKAEA,IAAAA,MAAA,CAAAC,sBAAA,CAAAC,OAAA,WACA,IAAAC,SAAA,CAAAF,sBAAA,CAAAC,OAAA,wCACA,IAAAE,UAAA,CAAAH,sBAAA,CAAAC,OAAA,4BACA,IAAAG,OAAA,CAAAJ,sBAAA,CAAAC,OAAA,yBACA,IAAAI,UAAA,CAAAL,sBAAA,CAAAC,OAAA,4BACA,IAAAK,QAAA,CAAAN,sBAAA,CAAAC,OAAA,0BACA,IAAAM,QAAA,CAAAN,OAAA,yBACA,I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AG,CAACC,KAAK,CAAEC,eAAM,CAACC,MAAO,CAAE,CAAC,CACpD,GAAAnB,WAAA,CAAAS,GAAA,EAACV,MAAA,CAAAO,OAAK,EACJc,SAAS,CAAE,CACTH,KAAK,CAAEC,eAAM,CAACC,MAAM,CACpBE,UAAU,CAAE,KAAK,CACjBC,QAAQ,CAAE,EAAE,CACZC,UAAU,CAAE,CACd,CAAE,CAAAf,QAAA,CACH,
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_Ionicons","_AppHeader","_Colors","_Container","_FlexRow","_Metrics","_RText","_jsxRuntime","_this","_jsxFileName","Support","exports","jsxs","default","isStatusBar","children","jsx","title","style","alignSelf","paddingTop","actuatedNormalize","name","size","color","Colors","ORANGE","textStyle","fontWeight","fontSize","marginLeft"],"sourceRoot":"../../../../src","sources":["screens/Support/index.tsx"],"mappings":"mKAEA,IAAAA,MAAA,CAAAC,sBAAA,CAAAC,OAAA,WACA,IAAAC,SAAA,CAAAF,sBAAA,CAAAC,OAAA,wCACA,IAAAE,UAAA,CAAAH,sBAAA,CAAAC,OAAA,4BACA,IAAAG,OAAA,CAAAJ,sBAAA,CAAAC,OAAA,yBACA,IAAAI,UAAA,CAAAL,sBAAA,CAAAC,OAAA,4BACA,IAAAK,QAAA,CAAAN,sBAAA,CAAAC,OAAA,0BACA,IAAAM,QAAA,CAAAN,OAAA,yBACA,IAAAO,MAAA,CAAAR,sBAAA,CAAAC,OAAA,wBAAuC,IAAAQ,WAAA,CAAAR,OAAA,0BAAAS,KAAA,MAAAC,YAAA,iFAEhC,GAAM,CAAAC,OAAO,CAAAC,OAAA,CAAAD,OAAA,CAAG,QAAV,CAAAA,OAAOA,CAAA,CAAS,CAC3B,MACE,GAAAH,WAAA,CAAAK,IAAA,EAACT,UAAA,CAAAU,OAAS,EAACC,WAAW,MAAAC,QAAA,EACpB,GAAAR,WAAA,CAAAS,GAAA,EAACf,UAAA,CAAAY,OAAS,EAACI,KAAK,CAAC,kBAAQ,CAAE,C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require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _asyncToGenerator2=_interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _toConsumableArray2=_interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactRedux=require("react-redux");var _Colors=_interopRequireDefault(require("../../../common/Colors"));var _Metrics=require("../../../common/Metrics");var _RText=_interopRequireDefault(require("../../../common/RText"));var _CustomPopover=_interopRequireDefault(require("../../../components/CustomPopover/CustomPopover"));var _userSlice=require("../../../components/Features/user/userSlice");var _selector=require("../../../components/Redux/selector");var _store=require("../../../components/Redux/store");var _Client=require("../../../controllers/Client");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/Users/tima/Repository/Tima/dautu/timadautu2025/src/screens/Transfer/Components/PopoverChooseShop.tsx";function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap(),t=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t:r;})(e);}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n;}var HEIGHT=_reactNative.Dimensions.get('screen').height;var WIDTH=_reactNative.Dimensions.get('screen').width;var PopoverChooseShop=function PopoverChooseShop(props){var isVisible=props.isVisible,onRequestClose=props.onRequestClose,from=props.from,setShopName=props.setShopName,onPress=props.onPress;var dispatch=(0,_store.useAppDispatch)();var userData=(0,_reactRedux.useSelector)(_selector.userInfor);var _useState=(0,_react.useState)(-1),_useState2=(0,_slicedToArray2.default)(_useState,2),currentShop=_useState2[0],setCurrentShop=_useState2[1];var _useState3=(0,_react.useState)(userData==null?void 0:userData.shops),_useState4=(0,_slicedToArray2.default)(_useState3,2),shops=_useState4[0],setShops=_useState4[1];(0,_react.useEffect)(function(){var clonedArr=(0,_toConsumableArray2.default)(shops);var includesByShop=clonedArr.filter(function(shop){var _shop$name;return!(shop!=null&&(_shop$name=shop.name)!=null&&_shop$name.includes('VH'));});setShops(includesByShop);},[]);var changeToken=function(){var _ref=(0,_asyncToGenerator2.default)(function*(shop){var _resp$payload,_resp$payload$meta;var resp=yield dispatch((0,_userSlice.ChangeToken)({shop_id:shop==null?void 0:shop.shopId}));console.log('resprespresp: ',resp);if(resp&&resp.payload&&(resp==null?void 0:(_resp$payload=resp.payload)==null?void 0:(_resp$payload$meta=_resp$payload.meta)==null?void 0:_resp$payload$meta.errCode)===200){var _resp$payload2,_resp$payload3;var obj=Object.assign({},userData,{accessToken:resp==null?void 0:(_resp$payload2=resp.payload)==null?void 0:_resp$payload2.data,regFromApp:shop==null?void 0:shop.regFromApp,shop:shop});(0,_Client.setClientToken)(resp.payload.data);dispatch((0,_userSlice.setUserLogin)(obj));onPress();console.log('resp.payload.test: ',(_resp$payload3=resp.payload)==null?void 0:_resp$payload3.data);}else{_reactNative.Alert.alert('Thông báo','Lấy token shop không thành công\nVui lòng đăng nhập lại!',[{text:'Đồng ý',onPress:function onPress(){return dispatch((0,_userSlice.logOut)());}}]);}});return function changeToken(_x){return _ref.apply(this,arguments);};}();var _renderShop=function _renderShop(_ref2){var item=_ref2.item,index=_ref2.index;var checked=false;if(currentShop===index){checked=true;}console.log('item: ',item);return(0,_jsxRuntime.jsx)(_reactNative.TouchableOpacity,{onPress:function onPress(){changeToken(item);setCurrentShop(index);setShopName(item==null?void 0:item.name);onRequestClose();},style:{height:(0,_Metrics.actuatedNormalize)(30),alignItems:'center',justifyContent:'center',borderRadius:16,backgroundColor:checked?'#FF8E4F':'white'
|
1
|
+
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _asyncToGenerator2=_interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _toConsumableArray2=_interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactRedux=require("react-redux");var _Colors=_interopRequireDefault(require("../../../common/Colors"));var _Metrics=require("../../../common/Metrics");var _RText=_interopRequireDefault(require("../../../common/RText"));var _CustomPopover=_interopRequireDefault(require("../../../components/CustomPopover/CustomPopover"));var _userSlice=require("../../../components/Features/user/userSlice");var _selector=require("../../../components/Redux/selector");var _store=require("../../../components/Redux/store");var _Client=require("../../../controllers/Client");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/Users/tima/Repository/Tima/dautu/timadautu2025/src/screens/Transfer/Components/PopoverChooseShop.tsx";function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap(),t=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t:r;})(e);}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n;}var HEIGHT=_reactNative.Dimensions.get('screen').height;var WIDTH=_reactNative.Dimensions.get('screen').width;var PopoverChooseShop=function PopoverChooseShop(props){var isVisible=props.isVisible,onRequestClose=props.onRequestClose,from=props.from,setShopName=props.setShopName,onPress=props.onPress;var dispatch=(0,_store.useAppDispatch)();var userData=(0,_reactRedux.useSelector)(_selector.userInfor);var _useState=(0,_react.useState)(-1),_useState2=(0,_slicedToArray2.default)(_useState,2),currentShop=_useState2[0],setCurrentShop=_useState2[1];var _useState3=(0,_react.useState)(userData==null?void 0:userData.shops),_useState4=(0,_slicedToArray2.default)(_useState3,2),shops=_useState4[0],setShops=_useState4[1];(0,_react.useEffect)(function(){var clonedArr=(0,_toConsumableArray2.default)(shops);var includesByShop=clonedArr.filter(function(shop){var _shop$name;return!(shop!=null&&(_shop$name=shop.name)!=null&&_shop$name.includes('VH'));});setShops(includesByShop);},[]);var changeToken=function(){var _ref=(0,_asyncToGenerator2.default)(function*(shop){var _resp$payload,_resp$payload$meta;var resp=yield dispatch((0,_userSlice.ChangeToken)({shop_id:shop==null?void 0:shop.shopId}));console.log('resprespresp: ',resp);if(resp&&resp.payload&&(resp==null?void 0:(_resp$payload=resp.payload)==null?void 0:(_resp$payload$meta=_resp$payload.meta)==null?void 0:_resp$payload$meta.errCode)===200){var _resp$payload2,_resp$payload3;var obj=Object.assign({},userData,{accessToken:resp==null?void 0:(_resp$payload2=resp.payload)==null?void 0:_resp$payload2.data,regFromApp:shop==null?void 0:shop.regFromApp,shop:shop});(0,_Client.setClientToken)(resp.payload.data);dispatch((0,_userSlice.setUserLogin)(obj));onPress();console.log('resp.payload.test: ',(_resp$payload3=resp.payload)==null?void 0:_resp$payload3.data);}else{_reactNative.Alert.alert('Thông báo','Lấy token shop không thành công\nVui lòng đăng nhập lại!',[{text:'Đồng ý',onPress:function onPress(){return dispatch((0,_userSlice.logOut)());}}]);}});return function changeToken(_x){return _ref.apply(this,arguments);};}();var _renderShop=function _renderShop(_ref2){var item=_ref2.item,index=_ref2.index;var checked=false;if(currentShop===index){checked=true;}console.log('item: ',item);return(0,_jsxRuntime.jsx)(_reactNative.TouchableOpacity,{onPress:function onPress(){changeToken(item);setCurrentShop(index);setShopName(item==null?void 0:item.name);onRequestClose();},style:{height:(0,_Metrics.actuatedNormalize)(30),alignItems:'center',justifyContent:'center',borderRadius:16,marginBottom:(0,_Metrics.actuatedNormalize)(16),backgroundColor:checked?'#FF8E4F':'white'},children:(0,_jsxRuntime.jsx)(_RText.default,{textStyle:{color:checked?_Colors.default.WHITE:_Colors.default.BLACK},children:item==null?void 0:item.name})});};return(0,_jsxRuntime.jsx)(_CustomPopover.default,{from:from,isVisible:isVisible,onRequestClose:onRequestClose,style:{marginTop:(0,_Metrics.actuatedNormalize)(8),width:WIDTH*0.25,padding:0},children:(0,_jsxRuntime.jsx)(_reactNative.View,{style:{backgroundColor:_Colors.default.WHITE},children:(0,_jsxRuntime.jsx)(_reactNative.FlatList,{style:{maxHeight:HEIGHT*0.3,padding:(0,_Metrics.actuatedNormalize)(8)},data:shops,keyExtractor:function keyExtractor(item,index){return index.toString();},renderItem:_renderShop})})});};var _default=exports.default=PopoverChooseShop;
|
2
2
|
//# sourceMappingURL=PopoverChooseShop.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactRedux","_Colors","_interopRequireDefault","_Metrics","_RText","_CustomPopover","_userSlice","_selector","_store","_Client","_jsxRuntime","_this","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","HEIGHT","Dimensions","height","WIDTH","width","PopoverChooseShop","props","isVisible","onRequestClose","from","setShopName","onPress","dispatch","useAppDispatch","userData","useSelector","userInfor","_useState","useState","_useState2","_slicedToArray2","currentShop","setCurrentShop","_useState3","shops","_useState4","setShops","useEffect","clonedArr","_toConsumableArray2","includesByShop","filter","shop","_shop$name","name","includes","changeToken","_ref","_asyncToGenerator2","_resp$payload","_resp$payload$meta","resp","ChangeToken","shop_id","shopId","console","log","payload","meta","errCode","_resp$payload2","_resp$payload3","obj","assign","accessToken","data","regFromApp","setClientToken","setUserLogin","Alert","alert","text","logOut","_x","apply","arguments","_renderShop","_ref2","item","index","checked","jsx","TouchableOpacity","style","actuatedNormalize","alignItems","justifyContent","borderRadius","
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactRedux","_Colors","_interopRequireDefault","_Metrics","_RText","_CustomPopover","_userSlice","_selector","_store","_Client","_jsxRuntime","_this","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","HEIGHT","Dimensions","height","WIDTH","width","PopoverChooseShop","props","isVisible","onRequestClose","from","setShopName","onPress","dispatch","useAppDispatch","userData","useSelector","userInfor","_useState","useState","_useState2","_slicedToArray2","currentShop","setCurrentShop","_useState3","shops","_useState4","setShops","useEffect","clonedArr","_toConsumableArray2","includesByShop","filter","shop","_shop$name","name","includes","changeToken","_ref","_asyncToGenerator2","_resp$payload","_resp$payload$meta","resp","ChangeToken","shop_id","shopId","console","log","payload","meta","errCode","_resp$payload2","_resp$payload3","obj","assign","accessToken","data","regFromApp","setClientToken","setUserLogin","Alert","alert","text","logOut","_x","apply","arguments","_renderShop","_ref2","item","index","checked","jsx","TouchableOpacity","style","actuatedNormalize","alignItems","justifyContent","borderRadius","marginBottom","backgroundColor","children","textStyle","color","Colors","WHITE","BLACK","marginTop","padding","View","FlatList","maxHeight","keyExtractor","toString","renderItem","_default","exports"],"sourceRoot":"../../../../../src","sources":["screens/Transfer/Components/PopoverChooseShop.tsx"],"mappings":"qcAEA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBAOA,IAAAE,WAAA,CAAAF,OAAA,gBACA,IAAAG,OAAA,CAAAC,sBAAA,CAAAJ,OAAA,4BACA,IAAAK,QAAA,CAAAL,OAAA,4BACA,IAAAM,MAAA,CAAAF,sBAAA,CAAAJ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-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.unSubscribeTopicFCM=exports.subscribeTopicNotification=exports.subscribeTopicFCM=exports.showNotification=exports.notificationListener=exports.checkPermission=void 0;var _asyncToGenerator2=_interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _messaging=_interopRequireDefault(require("@react-native-firebase/messaging"));var _reactNativePushNotification=_interopRequireDefault(require("react-native-push-notification"));var checkPermission=exports.checkPermission=function(){var _ref=(0,_asyncToGenerator2.default)(function*(){var enabled=yield(0,_messaging.default)().hasPermission();if(enabled===_messaging.default.AuthorizationStatus.AUTHORIZED){console.log('Permission status enable');}else{var authorizationStatus=yield(0,_messaging.default)().requestPermission();if(authorizationStatus){console.log('Permission status:',authorizationStatus);}}});return function checkPermission(){return _ref.apply(this,arguments);};}();var showNotification=exports.showNotification=function showNotification(notification){console.log('showNotification',notification);_reactNativePushNotification.default.localNotification({showWhen:true,autoCancel:true,largeIcon:'launch_screen',smallIcon:'launch_screen',bigText:notification.message,subText:notification.title,color:'red',vibrate:true,vibration:300,tag:'some_tag',group:'group',groupSummary:false,ongoing:false,priority:'high',visibility:'private',importance:'high',allowWhileIdle:false,ignoreInForeground:false,shortcutId:'shortcut-id',channelId:'1234',invokeApp:true,alertAction:'view',category:'',data:notification.data,userInfo:notification.data,title:notification.title,message:notification.message,playSound:true,repeted:true});};var notificationListener=exports.notificationListener=function(){var _ref2=(0,_asyncToGenerator2.default)(function*(show){(0,_messaging.default)().onNotificationOpenedApp(function(remoteMessage){showNotification(remoteMessage);});(0,_messaging.default)().onMessage(function(){var _ref3=(0,_asyncToGenerator2.default)(function*(remoteMessage){console.log('APP OPENED',remoteMessage);if(show)
|
1
|
+
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.unSubscribeTopicFCM=exports.subscribeTopicNotification=exports.subscribeTopicFCM=exports.showNotification=exports.notificationListener=exports.checkPermission=void 0;var _asyncToGenerator2=_interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _messaging=_interopRequireDefault(require("@react-native-firebase/messaging"));var _reactNativePushNotification=_interopRequireDefault(require("react-native-push-notification"));var checkPermission=exports.checkPermission=function(){var _ref=(0,_asyncToGenerator2.default)(function*(){var enabled=yield(0,_messaging.default)().hasPermission();if(enabled===_messaging.default.AuthorizationStatus.AUTHORIZED){console.log('Permission status enable');}else{var authorizationStatus=yield(0,_messaging.default)().requestPermission();if(authorizationStatus){console.log('Permission status:',authorizationStatus);}}});return function checkPermission(){return _ref.apply(this,arguments);};}();var showNotification=exports.showNotification=function showNotification(notification){console.log('showNotification',notification);_reactNativePushNotification.default.localNotification({showWhen:true,autoCancel:true,largeIcon:'launch_screen',smallIcon:'launch_screen',bigText:notification.message,subText:notification.title,color:'red',vibrate:true,vibration:300,tag:'some_tag',group:'group',groupSummary:false,ongoing:false,priority:'high',visibility:'private',importance:'high',allowWhileIdle:false,ignoreInForeground:false,shortcutId:'shortcut-id',channelId:'1234',invokeApp:true,alertAction:'view',category:'',data:notification.data,userInfo:notification.data,title:notification.title,message:notification.message,playSound:true,repeted:true});};var notificationListener=exports.notificationListener=function(){var _ref2=(0,_asyncToGenerator2.default)(function*(show){(0,_messaging.default)().onNotificationOpenedApp(function(remoteMessage){showNotification(remoteMessage);});(0,_messaging.default)().onMessage(function(){var _ref3=(0,_asyncToGenerator2.default)(function*(remoteMessage){console.log('APP OPENED',remoteMessage);if(show)show(remoteMessage);});return function(_x2){return _ref3.apply(this,arguments);};}());(0,_messaging.default)().getInitialNotification().then(function(remoteMessage){if(remoteMessage){showNotification(remoteMessage);}});});return function notificationListener(_x){return _ref2.apply(this,arguments);};}();var subscribeTopicFCM=exports.subscribeTopicFCM=function(){var _ref4=(0,_asyncToGenerator2.default)(function*(topic){try{yield(0,_messaging.default)().registerDeviceForRemoteMessages();(0,_messaging.default)().subscribeToTopic(topic).then(function(){console.log('subscribed to topic',topic);}).catch(function(err){console.log('err subscribing to topic',err);});yield(0,_messaging.default)().subscribeToTopic('all');}catch(error){console.log(error);}});return function subscribeTopicFCM(_x3){return _ref4.apply(this,arguments);};}();var subscribeTopicNotification=exports.subscribeTopicNotification=function(){var _ref5=(0,_asyncToGenerator2.default)(function*(topic){try{yield(0,_messaging.default)().registerDeviceForRemoteMessages();(0,_messaging.default)().subscribeToTopic(topic).then(function(){console.log('subscribed to topic notification',topic);}).catch(function(err){console.log('err subscribing to topic',err);});yield(0,_messaging.default)().subscribeToTopic('push_new_loan');}catch(error){console.log(error);}});return function subscribeTopicNotification(_x4){return _ref5.apply(this,arguments);};}();var unSubscribeTopicFCM=exports.unSubscribeTopicFCM=function(){var _ref6=(0,_asyncToGenerator2.default)(function*(topic){try{(0,_messaging.default)().unsubscribeFromTopic(topic).then(function(){console.log('unsubscribed to topic',topic);}).catch(function(err){console.log('err unsubscribing to topic',err);});}catch(error){console.log(error);}});return function unSubscribeTopicFCM(_x5){return _ref6.apply(this,arguments);};}();
|
2
2
|
//# sourceMappingURL=notification.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_messaging","_interopRequireDefault","require","_reactNativePushNotification","checkPermission","exports","_ref","_asyncToGenerator2","default","enabled","messaging","hasPermission","AuthorizationStatus","AUTHORIZED","console","log","authorizationStatus","requestPermission","apply","arguments","showNotification","notification","PushNotification","localNotification","showWhen","autoCancel","largeIcon","smallIcon","bigText","message","subText","title","color","vibrate","vibration","tag","group","groupSummary","ongoing","priority","visibility","importance","allowWhileIdle","ignoreInForeground","shortcutId","channelId","invokeApp","alertAction","category","data","userInfo","playSound","repeted","notificationListener","_ref2","show","onNotificationOpenedApp","remoteMessage","onMessage","_ref3","_x2","getInitialNotification","then","_x","subscribeTopicFCM","_ref4","topic","registerDeviceForRemoteMessages","subscribeToTopic","catch","err","error","_x3","subscribeTopicNotification","_ref5","_x4","unSubscribeTopicFCM","_ref6","unsubscribeFromTopic","_x5"],"sourceRoot":"../../../src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AAE,KAAK,CACnBC,OAAO,CAAE,KAAK,CACdC,QAAQ,CAAE,MAAM,CAChBC,UAAU,CAAE,SAAS,CACrBC,UAAU,CAAE,MAAM,CAClBC,cAAc,CAAE,KAAK,CACrBC,kBAAkB,CAAE,KAAK,CACzBC,UAAU,CAAE,aAAa,CACzBC,SAAS,CAAE,MAAM,CAGjBC,SAAS,CAAE,IAAI,CAGfC,WAAW,CAAE,MAAM,CACnBC,QAAQ,CAAE,EAAE,CAEZC,IAAI,CAAE5B,YAAY,CAAC4B,IAAI,CACvBC,QAAQ,CAAE7B,YAAY,CAAC4B,IAAI,CAC3BlB,KAAK,CAAEV,YAAY,CAACU,KAAK,CACzBF,OAAO,CAAER,YAAY,CAACQ,OAAO,CAC7BsB,SAAS,CAAE,IAAI,CACfC,OAAO,CAAE,IACX,CAAC,CAAC,CACJ,CAAC,CAEM,GAAM,CAAAC,oBAAoB,CAAAhD,OAAA,CAAAgD,oBAAA,gBAAAC,KAAA,IAAA/C,kBAAA,CAAAC,OAAA,EAAG,UAAO+C,IAAU,CAAK,CACxD,GAAA7C,kBAAS,EAAC,CAAC,CAAC8C,uBAAuB,CAAC,
|
1
|
+
{"version":3,"names":["_messaging","_interopRequireDefault","require","_reactNativePushNotification","checkPermission","exports","_ref","_asyncToGenerator2","default","enabled","messaging","hasPermission","AuthorizationStatus","AUTHORIZED","console","log","authorizationStatus","requestPermission","apply","arguments","showNotification","notification","PushNotification","localNotification","showWhen","autoCancel","largeIcon","smallIcon","bigText","message","subText","title","color","vibrate","vibration","tag","group","groupSummary","ongoing","priority","visibility","importance","allowWhileIdle","ignoreInForeground","shortcutId","channelId","invokeApp","alertAction","category","data","userInfo","playSound","repeted","notificationListener","_ref2","show","onNotificationOpenedApp","remoteMessage","onMessage","_ref3","_x2","getInitialNotification","then","_x","subscribeTopicFCM","_ref4","topic","registerDeviceForRemoteMessages","subscribeToTopic","catch","err","error","_x3","subscribeTopicNotification","_ref5","_x4","unSubscribeTopicFCM","_ref6","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VhD,OAAO,CAACC,GAAG,CAAC,kCAAkC,CAAEmD,KAAK,CAAC,CACxD,CAAC,CAAC,CACDG,KAAK,CAAC,SAAAC,GAAG,CAAI,CACZxD,OAAO,CAACC,GAAG,CAAC,0BAA0B,CAAEuD,GAAG,CAAC,CAC9C,CAAC,CAAC,CACJ,KAAM,GAAA5D,kBAAS,EAAC,CAAC,CAAC0D,gBAAgB,CAAC,eAAe,CAAC,CACrD,CAAE,MAAOG,KAAK,CAAE,CACdzD,OAAO,CAACC,GAAG,CAACwD,KAAK,CAAC,CACpB,CACF,CAAC,iBAfY,CAAAE,0BAA0BA,CAAAE,GAAA,SAAAD,KAAA,CAAAxD,KAAA,MAAAC,SAAA,OAetC,CAEM,GAAM,CAAAyD,mBAAmB,CAAAvE,OAAA,CAAAuE,mBAAA,gBAAAC,KAAA,IAAAtE,kBAAA,CAAAC,OAAA,EAAG,UAAO0D,KAAU,CAAK,CACvD,GAAI,CACF,GAAAxD,kBAAS,EAAC,CAAC,CACRoE,oBAAoB,CAACZ,KAAK,CAAC,CAC3BJ,IAAI,CAAC,UAAM,CACVhD,OAAO,CAACC,GAAG,CAAC,uBAAuB,CAAEmD,KAAK,CAAC,CAC7C,CAAC,CAAC,CACDG,KAAK,CAAC,SAAAC,GAAG,CAAI,CACZxD,OAAO,CAACC,GAAG,CAAC,4BAA4B,CAAEuD,GAAG,CAAC,CAChD,CAAC,CAAC,CACN,CAAE,MAAOC,KAAK,CAAE,CACdzD,OAAO,CAACC,GAAG,CAACwD,KAAK,CAAC,CACpB,CACF,CAAC,iBAbY,CAAAK,mBAAmBA,CAAAG,GAAA,SAAAF,KAAA,CAAA3D,KAAA,MAAAC,SAAA,OAa/B","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/images/Invest/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;;;;;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/images/Invest/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;;;;;CAQhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/images/InvestNew/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,eAAe;;;;;;;;;;;;;CAapB,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/images/InvestNew/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,eAAe;;;;;;;;;;;;;CAapB,CAAA;AAED,eAAe,eAAe,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TabNavigation.d.ts","sourceRoot":"","sources":["../../../../../src/components/Navigation/TabNavigation.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAoC1B,QAAA,MAAM,OAAO,
|
1
|
+
{"version":3,"file":"TabNavigation.d.ts","sourceRoot":"","sources":["../../../../../src/components/Navigation/TabNavigation.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAoC1B,QAAA,MAAM,OAAO,yBAwFZ,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Client.d.ts","sourceRoot":"","sources":["../../../../src/controllers/Client.tsx"],"names":[],"mappings":"AAiBA,QAAA,MAAM,MAAM,+BAQV,CAAC;AAyCH,eAAO,MAAM,cAAc,UAAW,MAAM,GAAG,IAAI,
|
1
|
+
{"version":3,"file":"Client.d.ts","sourceRoot":"","sources":["../../../../src/controllers/Client.tsx"],"names":[],"mappings":"AAiBA,QAAA,MAAM,MAAM,+BAQV,CAAC;AAyCH,eAAO,MAAM,cAAc,UAAW,MAAM,GAAG,IAAI,SAMlD,CAAC;AACF,eAAe,MAAM,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EkycCamera.d.ts","sourceRoot":"","sources":["../../../../../src/screens/EkycLiveness/EkycCamera.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAoBhD,eAAO,MAAM,UAAU;;
|
1
|
+
{"version":3,"file":"EkycCamera.d.ts","sourceRoot":"","sources":["../../../../../src/screens/EkycLiveness/EkycCamera.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAoBhD,eAAO,MAAM,UAAU;;uBAmJtB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/EkycLiveness/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAsC,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/EkycLiveness/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAgC3D,QAAA,MAAM,YAAY,0BAAyB,GAAG,sBAoR7C,CAAC;AAwDF,eAAe,YAAY,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HomeLoan.d.ts","sourceRoot":"","sources":["../../../../../../src/screens/Invest/Screens/HomeLoan.tsx"],"names":[],"mappings":"AAGA,OAAO,iBAAiB,CAAC;AACzB,OAAO,KAA8B,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"HomeLoan.d.ts","sourceRoot":"","sources":["../../../../../../src/screens/Invest/Screens/HomeLoan.tsx"],"names":[],"mappings":"AAGA,OAAO,iBAAiB,CAAC;AACzB,OAAO,KAA8B,MAAM,OAAO,CAAC;AA6BnD,QAAA,MAAM,QAAQ,mCA2Wb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HomeLoan.d.ts","sourceRoot":"","sources":["../../../../../../src/screens/InvestNew/Screens/HomeLoan.tsx"],"names":[],"mappings":"AAGA,OAAO,iBAAiB,CAAC;AACzB,OAAO,KAA8B,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"HomeLoan.d.ts","sourceRoot":"","sources":["../../../../../../src/screens/InvestNew/Screens/HomeLoan.tsx"],"names":[],"mappings":"AAGA,OAAO,iBAAiB,CAAC;AACzB,OAAO,KAA8B,MAAM,OAAO,CAAC;AA6BnD,QAAA,MAAM,QAAQ,mCA2Wb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/Optional/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AA2HnD,eAAO,MAAM,QAAQ,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/Optional/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AA2HnD,eAAO,MAAM,QAAQ,mBAAkB,GAAG,sBAyRzC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ConfirmContact.d.ts","sourceRoot":"","sources":["../../../../../src/screens/SignContractGpayTima/ConfirmContact.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"ConfirmContact.d.ts","sourceRoot":"","sources":["../../../../../src/screens/SignContractGpayTima/ConfirmContact.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAyCnD,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAC,UAAU,EAAE,KAAK,EAAC,EAAE,GAAG,qBA6L9D"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SignContract.d.ts","sourceRoot":"","sources":["../../../../../src/screens/SignContractGpayTima/SignContract.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"SignContract.d.ts","sourceRoot":"","sources":["../../../../../src/screens/SignContractGpayTima/SignContract.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAmBxC,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAC,UAAU,EAAE,KAAK,EAAC,EAAE,GAAG,qBAoH5D"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../../src/utils/notification.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe,qBAU3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,iBAAkB,GAAG,SAuCjD,CAAC;AAEF,eAAO,MAAM,oBAAoB,UAAiB,GAAG,
|
1
|
+
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../../src/utils/notification.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe,qBAU3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,iBAAkB,GAAG,SAuCjD,CAAC;AAEF,eAAO,MAAM,oBAAoB,UAAiB,GAAG,kBAiBpD,CAAC;AAEF,eAAO,MAAM,iBAAiB,UAAiB,GAAG,kBAejD,CAAC;AAEF,eAAO,MAAM,0BAA0B,UAAiB,GAAG,kBAe1D,CAAC;AAEF,eAAO,MAAM,mBAAmB,UAAiB,GAAG,kBAanD,CAAC"}
|
package/package.json
CHANGED
@@ -1,16 +1,9 @@
|
|
1
1
|
const InvestIcons = {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
// gold_plus: require('./gold_plus.png'),
|
8
|
-
// gold_vip: require('./gold_vip.png'),
|
9
|
-
diamond: require('./diamond_glink.png'),
|
10
|
-
gold: require('./gold_glink.png'),
|
11
|
-
money: require('./money_glink.png'),
|
12
|
-
titan: require('./titan_glink.png'),
|
13
|
-
ruby: require('./ruby_glink.png'),
|
2
|
+
diamond: require('./diamond.png'),
|
3
|
+
gold: require('./gold.png'),
|
4
|
+
money: require('./money.png'),
|
5
|
+
titan: require('./titan.png'),
|
6
|
+
ruby: require('./ruby.png'),
|
14
7
|
gold_plus: require('./gold_plus.png'),
|
15
8
|
gold_vip: require('./gold_vip.png'),
|
16
9
|
};
|
@@ -1,16 +1,16 @@
|
|
1
1
|
const InvestNewImages = {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
}
|
2
|
+
ic_new_invest: require('./ic_new_invest.png'),
|
3
|
+
bg_none: require('./bg_none.png'),
|
4
|
+
ic_transfer: require('./ic_transfer.png'),
|
5
|
+
ic_sell_debt: require('./ic_sell_debt.png'),
|
6
|
+
ic_buy_debt: require('./ic_buy_debt.png'),
|
7
|
+
hd_red: require('./hd_red.png'),
|
8
|
+
hd_orange: require('./hd_orange.png'),
|
9
|
+
hd_green: require('./hd_green.png'),
|
10
|
+
ic_store: require('./ic_store.png'),
|
11
|
+
ic_money: require('./ic_money.png'),
|
12
|
+
img_warn_loan: require('./img_warn_loan.png'),
|
13
|
+
warn_invest_new: require('./warn_invest_new.png'),
|
14
|
+
}
|
15
15
|
|
16
|
-
export default InvestNewImages
|
16
|
+
export default InvestNewImages
|
@@ -66,7 +66,7 @@ const ImageGallery = (props: ModalProps) => {
|
|
66
66
|
ref={ref}
|
67
67
|
style={{ justifyContent: 'center', flex: 0.6, alignItems: 'center' }}
|
68
68
|
captureMode="mount"
|
69
|
-
options={{ fileName: '
|
69
|
+
options={{ fileName: 'Tima-QR', format: 'png', quality: 0.9 }}
|
70
70
|
>
|
71
71
|
<LazyImage
|
72
72
|
source={{ uri: data }}
|
@@ -65,8 +65,10 @@ client.interceptors.response.use(
|
|
65
65
|
|
66
66
|
// Set JSON Web Token in Client to be included in all calls
|
67
67
|
export const setClientToken = (token: string | null) => {
|
68
|
-
|
69
|
-
|
70
|
-
|
68
|
+
if (token) {
|
69
|
+
client.defaults.headers.common.Authorization = `Bearer ${token}`;
|
70
|
+
} else {
|
71
|
+
delete client.defaults.headers.common.Authorization;
|
72
|
+
}
|
71
73
|
};
|
72
74
|
export default client;
|
@@ -6,7 +6,7 @@ import Container from '../../common/Container';
|
|
6
6
|
export const About = () => {
|
7
7
|
return (
|
8
8
|
<Container isStatusBar>
|
9
|
-
<AppHeader title="GIỚI THIỆU VỀ
|
9
|
+
<AppHeader title="GIỚI THIỆU VỀ TIMA" />
|
10
10
|
<WebView
|
11
11
|
source={{ uri: 'https://tima.vn/Home/About/' }}
|
12
12
|
onLoadProgress={(e) => console.log(e.nativeEvent.progress)}
|
@@ -62,10 +62,10 @@ const Success = (props: ModalProps) => {
|
|
62
62
|
fontSize: actuatedNormalize(16),
|
63
63
|
}}
|
64
64
|
>
|
65
|
-
|
65
|
+
Tima đã xác nhận thông tin!
|
66
66
|
</RText>
|
67
67
|
<RText textStyle={{ color: Colors.GRAY_3, textAlign: 'center' }}>
|
68
|
-
Số tiền sẽ được cập nhật ngay sau khi
|
68
|
+
Số tiền sẽ được cập nhật ngay sau khi Tima xác nhận giao dịch chuyển
|
69
69
|
khoản của bạn
|
70
70
|
</RText>
|
71
71
|
</View>
|
@@ -982,7 +982,7 @@ export const Confirm = ({ route, navigation }: any) => {
|
|
982
982
|
}}
|
983
983
|
>
|
984
984
|
{
|
985
|
-
'Mọi phát sinh trong giao dịch với
|
985
|
+
'Mọi phát sinh trong giao dịch với TIMA phải được Quý khách thực hiện và xác nhận'
|
986
986
|
}
|
987
987
|
</RText>
|
988
988
|
</FlexRow>
|
@@ -204,7 +204,7 @@ export const ConnectBank = ({ navigation }: any) => {
|
|
204
204
|
fontSize: 16,
|
205
205
|
}}
|
206
206
|
>
|
207
|
-
NGÂN HÀNG LIÊN KẾT VỚI
|
207
|
+
NGÂN HÀNG LIÊN KẾT VỚI TIMA
|
208
208
|
</RText>
|
209
209
|
<RText textStyle={{ color: Colors.GREY }}>
|
210
210
|
Vui lòng chọn ngân hàng bạn muốn liên kết
|
@@ -250,7 +250,7 @@ export const ConnectBank = ({ navigation }: any) => {
|
|
250
250
|
}}
|
251
251
|
/>
|
252
252
|
<RText textStyle={styles.content}>
|
253
|
-
Mọi phát sinh trong giao dịch với
|
253
|
+
Mọi phát sinh trong giao dịch với TIMA phải được Quý khách thực
|
254
254
|
hiện và xác nhận
|
255
255
|
</RText>
|
256
256
|
</FlexRow>
|
@@ -21,7 +21,7 @@ import { userInfor } from '../../components/Redux/selector';
|
|
21
21
|
import ModalSuccess from '../Camera/ModalSuccess';
|
22
22
|
import ModalGuideSelfie from '../EKYC/Components/ModalGuiDeSelfie';
|
23
23
|
|
24
|
-
export const EkycCamera = ({
|
24
|
+
export const EkycCamera = ({navigation}) => {
|
25
25
|
const userData = useSelector(userInfor);
|
26
26
|
const [photo, setPhoto] = useState(null);
|
27
27
|
const [openGuide, setOpenGuide] = useState(true);
|
@@ -51,29 +51,22 @@ export const EkycCamera = ({ navigation }) => {
|
|
51
51
|
|
52
52
|
await axios({
|
53
53
|
method: 'POST',
|
54
|
-
baseURL:
|
55
|
-
'https://apidevlos.tima.vn/api/v1.0/timacare/crm_compare_selfie_and_nationalcard',
|
54
|
+
baseURL: `https://apidevlos.tima.vn/api/v1.0/timacare/crm_compare_selfie_and_nationalcard`,
|
56
55
|
data: form,
|
57
56
|
headers: {
|
58
57
|
'Content-Type': 'multipart/form-data',
|
59
|
-
|
60
|
-
|
58
|
+
Accept: 'application/json',
|
59
|
+
Authorization: userData?.accessToken,
|
61
60
|
},
|
62
61
|
})
|
63
|
-
.then(async
|
62
|
+
.then(async res => {
|
64
63
|
console.log('res----', res);
|
65
64
|
const data = res?.data?.data;
|
66
|
-
// if (res.data.meta.errorCode !== 200) {
|
67
|
-
// WToastShowError(res?.data?.meta?.errorMessage);
|
68
|
-
// navigation.navigate(Screens.EkycLiveness);
|
69
|
-
// } else {
|
70
|
-
|
71
|
-
// }
|
72
65
|
})
|
73
|
-
.catch(
|
66
|
+
.catch(err => console.log(err));
|
74
67
|
};
|
75
68
|
return (
|
76
|
-
<Container style={{
|
69
|
+
<Container style={{backgroundColor: Colors.BLACK}}>
|
77
70
|
<AppHeader title="Chụp ảnh khuôn mặt" backColor={Colors.BLACK} />
|
78
71
|
<View
|
79
72
|
style={[
|
@@ -85,8 +78,7 @@ export const EkycCamera = ({ navigation }) => {
|
|
85
78
|
alignItems: 'center',
|
86
79
|
justifyContent: 'center',
|
87
80
|
},
|
88
|
-
]}
|
89
|
-
>
|
81
|
+
]}>
|
90
82
|
{/* <TouchableOpacity
|
91
83
|
onPress={() => setCameraBack(!cameraBack)}
|
92
84
|
style={{
|
@@ -109,20 +101,17 @@ export const EkycCamera = ({ navigation }) => {
|
|
109
101
|
flashMode={RNCamera.Constants.FlashMode.off}
|
110
102
|
// onFacesDetected={handlerFace}
|
111
103
|
>
|
112
|
-
{({
|
113
|
-
if (status !== 'READY')
|
114
|
-
return <ActivityIndicator />;
|
115
|
-
}
|
104
|
+
{({camera, status, recordAudioPermissionStatus}) => {
|
105
|
+
if (status !== 'READY') return <ActivityIndicator />;
|
116
106
|
}}
|
117
107
|
</RNCamera>
|
118
108
|
</View>
|
119
109
|
|
120
110
|
<SafeAreaView
|
121
111
|
style={[
|
122
|
-
{
|
123
|
-
]}
|
124
|
-
|
125
|
-
<View style={{ flex: 1 }} />
|
112
|
+
{position: 'absolute', width: '100%', height: '100%', flex: 1},
|
113
|
+
]}>
|
114
|
+
<View style={{flex: 1}} />
|
126
115
|
<View
|
127
116
|
style={{
|
128
117
|
flex: 0,
|
@@ -130,8 +119,7 @@ export const EkycCamera = ({ navigation }) => {
|
|
130
119
|
position: 'absolute',
|
131
120
|
bottom: 0,
|
132
121
|
width: '100%',
|
133
|
-
}}
|
134
|
-
>
|
122
|
+
}}>
|
135
123
|
<RText
|
136
124
|
style={[
|
137
125
|
{
|
@@ -140,8 +128,7 @@ export const EkycCamera = ({ navigation }) => {
|
|
140
128
|
backgroundColor: '#00000099',
|
141
129
|
paddingVertical: 12,
|
142
130
|
},
|
143
|
-
]}
|
144
|
-
>
|
131
|
+
]}>
|
145
132
|
Xin vui lòng nhìn thẳng, khuôn mặt ở trong{'\n'}khung hình, ánh sáng
|
146
133
|
đủ rõ nét khuôn mặt
|
147
134
|
</RText>
|
@@ -182,3 +169,4 @@ export const EkycCamera = ({ navigation }) => {
|
|
182
169
|
</Container>
|
183
170
|
);
|
184
171
|
};
|
172
|
+
|