react-native-timacare 3.3.3 → 3.3.5

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.
Files changed (65) hide show
  1. package/lib/commonjs/AppStore.js +1 -1
  2. package/lib/commonjs/AppStore.js.flow +1 -1
  3. package/lib/commonjs/AppStore.js.map +1 -1
  4. package/lib/commonjs/components/keyboardspace/index.js +1 -1
  5. package/lib/commonjs/components/keyboardspace/index.js.flow +74 -113
  6. package/lib/commonjs/components/keyboardspace/index.js.map +1 -1
  7. package/lib/commonjs/screens/digital-lending/Step1.js +1 -1
  8. package/lib/commonjs/screens/digital-lending/Step1.js.flow +1 -1
  9. package/lib/commonjs/screens/digital-lending/Step1.js.map +1 -1
  10. package/lib/commonjs/services/api/api.js +1 -1
  11. package/lib/commonjs/services/api/api.js.flow +18 -1
  12. package/lib/commonjs/services/api/api.js.map +1 -1
  13. package/lib/module/AppStore.js +1 -1
  14. package/lib/module/AppStore.js.map +1 -1
  15. package/lib/module/components/keyboardspace/index.js +1 -1
  16. package/lib/module/components/keyboardspace/index.js.map +1 -1
  17. package/lib/module/screens/digital-lending/Step1.js +1 -1
  18. package/lib/module/screens/digital-lending/Step1.js.map +1 -1
  19. package/lib/module/services/api/api.js +1 -1
  20. package/lib/module/services/api/api.js.map +1 -1
  21. package/lib/typescript/components/keyboardspace/index.d.ts +9 -22
  22. package/lib/typescript/components/keyboardspace/index.d.ts.map +1 -1
  23. package/lib/typescript/services/api/api.d.ts +16 -0
  24. package/lib/typescript/services/api/api.d.ts.map +1 -1
  25. package/package.json +1 -13
  26. package/src/AppStore.tsx +1 -1
  27. package/src/components/keyboardspace/index.tsx +74 -113
  28. package/src/screens/digital-lending/Step1.tsx +1 -1
  29. package/src/services/api/api.ts +18 -1
  30. package/lib/commonjs/components/logoTima/index.js +0 -2
  31. package/lib/commonjs/components/logoTima/index.js.flow +0 -32
  32. package/lib/commonjs/components/logoTima/index.js.map +0 -1
  33. package/lib/commonjs/components/logoTima/logo.png +0 -0
  34. package/lib/commonjs/components/logoTima/slogan.png +0 -0
  35. package/lib/commonjs/screens/intro/Store.js +0 -2
  36. package/lib/commonjs/screens/intro/Store.js.flow +0 -36
  37. package/lib/commonjs/screens/intro/Store.js.map +0 -1
  38. package/lib/commonjs/screens/intro/background_initial.png +0 -0
  39. package/lib/commonjs/screens/intro/index.js +0 -2
  40. package/lib/commonjs/screens/intro/index.js.flow +0 -300
  41. package/lib/commonjs/screens/intro/index.js.map +0 -1
  42. package/lib/commonjs/screens/intro/rightBottom.png +0 -0
  43. package/lib/module/components/logoTima/index.js +0 -2
  44. package/lib/module/components/logoTima/index.js.map +0 -1
  45. package/lib/module/components/logoTima/logo.png +0 -0
  46. package/lib/module/components/logoTima/slogan.png +0 -0
  47. package/lib/module/screens/intro/Store.js +0 -2
  48. package/lib/module/screens/intro/Store.js.map +0 -1
  49. package/lib/module/screens/intro/background_initial.png +0 -0
  50. package/lib/module/screens/intro/index.js +0 -2
  51. package/lib/module/screens/intro/index.js.map +0 -1
  52. package/lib/module/screens/intro/rightBottom.png +0 -0
  53. package/lib/typescript/components/logoTima/index.d.ts +0 -2
  54. package/lib/typescript/components/logoTima/index.d.ts.map +0 -1
  55. package/lib/typescript/screens/intro/Store.d.ts +0 -8
  56. package/lib/typescript/screens/intro/Store.d.ts.map +0 -1
  57. package/lib/typescript/screens/intro/index.d.ts +0 -2
  58. package/lib/typescript/screens/intro/index.d.ts.map +0 -1
  59. package/src/components/logoTima/index.tsx +0 -32
  60. package/src/components/logoTima/logo.png +0 -0
  61. package/src/components/logoTima/slogan.png +0 -0
  62. package/src/screens/intro/Store.tsx +0 -36
  63. package/src/screens/intro/background_initial.png +0 -0
  64. package/src/screens/intro/index.tsx +0 -300
  65. package/src/screens/intro/rightBottom.png +0 -0
@@ -1,23 +1,10 @@
1
- /**
2
- * Created by andrewhurst on 10/5/15.
3
- */
4
- import { Component } from 'react';
5
- import PropTypes from 'prop-types';
6
- export default class KeyboardSpacer extends Component {
7
- static propTypes: {
8
- topSpacing: PropTypes.Requireable<number>;
9
- onToggle: PropTypes.Requireable<(...args: any[]) => any>;
10
- style: PropTypes.Validator<import("react-native").StyleProp<import("react-native").ViewStyle>> | undefined;
11
- };
12
- static defaultProps: {
13
- topSpacing: number;
14
- onToggle: () => null;
15
- };
16
- constructor(props: any, context: any);
17
- componentDidMount(): void;
18
- componentWillUnmount(): void;
19
- updateKeyboardSpace(event: any): void;
20
- resetKeyboardSpace(event: any): void;
21
- render(): JSX.Element;
22
- }
1
+ import React from 'react';
2
+ import { ViewStyle } from 'react-native';
3
+ type Props = {
4
+ topSpacing?: number;
5
+ onToggle?: (isOpen: boolean, height: number) => void;
6
+ style?: ViewStyle;
7
+ };
8
+ declare const KeyboardSpacer: React.FC<Props>;
9
+ export default KeyboardSpacer;
23
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/keyboardspace/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,SAAS,MAAM,YAAY,CAAC;AAiCnC,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,SAAS;IACnD,MAAM,CAAC,SAAS;;;;MAId;IAEF,MAAM,CAAC,YAAY;;;MAGjB;gBAEU,KAAK,KAAA,EAAE,OAAO,KAAA;IAW1B,iBAAiB;IAajB,oBAAoB;IAMpB,mBAAmB,CAAC,KAAK,KAAA;IAiCzB,kBAAkB,CAAC,KAAK,KAAA;IAoBxB,MAAM;CAWP"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/keyboardspace/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAOL,SAAS,EAEV,MAAM,cAAc,CAAC;AAEtB,KAAK,KAAK,GAAG;IACX,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAwBF,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA8DnC,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -2135,6 +2135,22 @@ export declare class Api {
2135
2135
  kind: string;
2136
2136
  data?: undefined;
2137
2137
  }>;
2138
+ getRateTypeAllNew(): Promise<{
2139
+ kind: "timeout";
2140
+ temporary: true;
2141
+ } | {
2142
+ kind: "cannot-connect";
2143
+ temporary: true;
2144
+ } | {
2145
+ kind: "unknown";
2146
+ temporary: true;
2147
+ } | {
2148
+ kind: string;
2149
+ data: any;
2150
+ } | {
2151
+ kind: string;
2152
+ data?: undefined;
2153
+ }>;
2138
2154
  getInsurenceTimeAll(): Promise<{
2139
2155
  kind: "timeout";
2140
2156
  temporary: true;
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/services/api/api.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAuB,MAAM,UAAU,CAAA;AAOhE,OAAO,EAAgB,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAEzD;;GAEG;AACH,qBAAa,GAAG;IACd,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAM;IAC7B,QAAQ,EAAE,gBAAgB,CAAA;IAC1B,gBAAgB,EAAE,gBAAgB,CAAA;IAClC,MAAM,EAAE,SAAS,CAAA;IACjB;;OAEG;IAEH;;;;OAIG;gBACS,MAAM,GAAE,SAA0B;WAKhC,WAAW,IAAI,GAAG;IAQ1B,KAAK;IAwBX;;OAEG;IAEG,KAAK,CAAC,MAAM,KAAA;;;;;;;;;;;;;;;;IAkBlB;;OAEG;IAEG,QAAQ,CAAC,MAAM,KAAA;;;;;;;;;;;;;;;;IAmBrB;;OAEG;IAEG,Q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EAAE,EAAE,GAAG;;;;;;;;;;;;;;;;IAgB1B,iBAAiB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;IAgB3B,qBAAqB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;IAgB/B,mBAAmB,CAAC,EAAE,KAAA;;;;;;;;;;;;;;;;IAgBtB,iBAAiB,CAAC,EAAE,KAAA;;;;;;;;;;;;;;;;IAgBpB,iBAAiB,CAAC,IAAI,KAAA;;;;;;;;;;;;;;;;IAgBtB,qBAAqB,CAAC,IAAI,KAAA;;;;;;;;;;;;;;;;IAgB1B,YAAY,CAAC,EAAE,KAAA;;;;;;;;;;;;;;;;CAetB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-timacare",
3
- "version": "3.3.3",
3
+ "version": "3.3.5",
4
4
  "description": "SDK Tima Care",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -42,14 +42,8 @@
42
42
  "react-native-blob-util": "*",
43
43
  "@react-native-camera-roll/camera-roll": "*",
44
44
  "@react-native-async-storage/async-storage": "*",
45
- "@react-native-community/checkbox": "*",
46
45
  "@react-native-community/image-editor": "*",
47
46
  "@react-native-community/masked-view": "*",
48
- "@react-native-community/netinfo": "*",
49
- "@react-native-community/progress-bar-android": "*",
50
- "@react-native-community/progress-view": "*",
51
- "@react-native-community/push-notification-ios": "*",
52
- "@react-native-community/slider": "*",
53
47
  "@react-native-firebase/analytics": "*",
54
48
  "@react-navigation/native": "*",
55
49
  "@react-native-ml-kit/text-recognition": "*",
@@ -77,7 +71,6 @@
77
71
  "react-native-camera": "*",
78
72
  "react-native-vision-camera": "*",
79
73
  "react-native-communications": "*",
80
- "react-native-compressor": "*",
81
74
  "react-native-circular-progress-indicator": "*",
82
75
  "react-native-confirmation-code-field": "*",
83
76
  "react-native-date-picker": "*",
@@ -95,22 +88,17 @@
95
88
  "react-native-image-viewing": "*",
96
89
  "react-native-keychain": "*",
97
90
  "react-native-linear-gradient": "*",
98
- "react-native-localize": "*",
99
91
  "react-native-masked-text": "*",
100
- "react-native-mirror": "*",
101
92
  "react-native-modal": "*",
102
93
  "react-native-pager-view": "*",
103
94
  "react-native-pdf": "*",
104
95
  "react-native-permissions": "*",
105
96
  "react-native-public-ip": "^1.0.2",
106
- "react-native-push-notification": "*",
107
97
  "react-native-render-html": "*",
108
98
  "react-native-safe-area-context": "*",
109
99
  "react-native-safe-area-view": "*",
110
100
  "react-native-screens": "*",
111
101
  "react-native-slack-webhook": "*",
112
- "react-native-slider": "*",
113
- "react-native-sliders": "*",
114
102
  "react-native-svg": "*",
115
103
  "react-native-svg-transformer": "*",
116
104
  "react-native-vector-icons": "*",
package/src/AppStore.tsx CHANGED
@@ -252,7 +252,7 @@ class AppStore {
252
252
  @action
253
253
  async getRateTypeAll(onSuccess?) {
254
254
  try {
255
- const response = await Api.getInstance().getRateTypeAll();
255
+ const response = await Api.getInstance().getRateTypeAllNew();
256
256
  if (response.kind === 'ok') {
257
257
  if (response.data.meta.errorCode === 200) {
258
258
  this.listRateType = response.data.data;
@@ -1,28 +1,31 @@
1
- /**
2
- * Created by andrewhurst on 10/5/15.
3
- */
4
1
  //@ts-nocheck
5
- import React, { Component } from 'react';
6
- import PropTypes from 'prop-types';
2
+ import React, { useEffect, useState } from 'react';
7
3
  import {
8
4
  Keyboard,
9
5
  LayoutAnimation,
10
6
  View,
11
7
  Dimensions,
12
- ViewPropTypes,
13
8
  Platform,
14
9
  StyleSheet,
10
+ ViewStyle,
11
+ KeyboardEvent,
15
12
  } from 'react-native';
16
13
 
14
+ type Props = {
15
+ topSpacing?: number;
16
+ onToggle?: (isOpen: boolean, height: number) => void;
17
+ style?: ViewStyle;
18
+ };
19
+
17
20
  const styles = StyleSheet.create({
18
21
  container: {
22
+ position: 'absolute',
19
23
  bottom: 0,
20
24
  left: 0,
21
25
  right: 0,
22
26
  },
23
27
  });
24
28
 
25
- // From: https://medium.com/man-moon/writing-modern-react-native-ui-e317ff956f02
26
29
  const defaultAnimation = {
27
30
  duration: 500,
28
31
  create: {
@@ -36,110 +39,68 @@ const defaultAnimation = {
36
39
  },
37
40
  };
38
41
 
39
- export default class KeyboardSpacer extends Component {
40
- static propTypes = {
41
- topSpacing: PropTypes.number,
42
- onToggle: PropTypes.func,
43
- style: ViewPropTypes.style,
44
- };
45
-
46
- static defaultProps = {
47
- topSpacing: 0,
48
- onToggle: () => null,
49
- };
50
-
51
- constructor(props, context) {
52
- super(props, context);
53
- this.state = {
54
- keyboardSpace: 0,
55
- isKeyboardOpened: false,
42
+ const KeyboardSpacer: React.FC<Props> = ({
43
+ topSpacing = 0,
44
+ onToggle = () => {},
45
+ style,
46
+ }) => {
47
+ const [keyboardSpace, setKeyboardSpace] = useState(0);
48
+
49
+ useEffect(() => {
50
+ const showEvent =
51
+ Platform.OS === 'android' ? 'keyboardDidShow' : 'keyboardWillShow';
52
+ const hideEvent =
53
+ Platform.OS === 'android' ? 'keyboardDidHide' : 'keyboardWillHide';
54
+
55
+ const onShow = (event: KeyboardEvent) => {
56
+ if (!event?.endCoordinates) return;
57
+
58
+ let animationConfig = defaultAnimation;
59
+
60
+ if (Platform.OS === 'ios') {
61
+ animationConfig = LayoutAnimation.create(
62
+ event.duration,
63
+ LayoutAnimation.Types[event.easing] || 'keyboard',
64
+ LayoutAnimation.Properties.opacity
65
+ );
66
+ }
67
+
68
+ LayoutAnimation.configureNext(animationConfig);
69
+
70
+ const screenHeight = Dimensions.get('window').height;
71
+ const height = screenHeight - event.endCoordinates.screenY + topSpacing;
72
+
73
+ setKeyboardSpace(height);
74
+ onToggle(true, height);
75
+ };
76
+
77
+ const onHide = (event: KeyboardEvent) => {
78
+ let animationConfig = defaultAnimation;
79
+
80
+ if (Platform.OS === 'ios') {
81
+ animationConfig = LayoutAnimation.create(
82
+ event?.duration || 250,
83
+ LayoutAnimation.Types[event?.easing] || 'keyboard',
84
+ LayoutAnimation.Properties.opacity
85
+ );
86
+ }
87
+
88
+ LayoutAnimation.configureNext(animationConfig);
89
+
90
+ setKeyboardSpace(0);
91
+ onToggle(false, 0);
92
+ };
93
+
94
+ const showSub = Keyboard.addListener(showEvent, onShow);
95
+ const hideSub = Keyboard.addListener(hideEvent, onHide);
96
+
97
+ return () => {
98
+ showSub.remove();
99
+ hideSub.remove();
56
100
  };
57
- this._listeners = null;
58
- this.updateKeyboardSpace = this.updateKeyboardSpace.bind(this);
59
- this.resetKeyboardSpace = this.resetKeyboardSpace.bind(this);
60
- }
61
-
62
- componentDidMount() {
63
- if (Platform.OS === 'ios') {
64
- const updateListener =
65
- Platform.OS === 'android' ? 'keyboardDidShow' : 'keyboardWillShow';
66
- const resetListener =
67
- Platform.OS === 'android' ? 'keyboardDidHide' : 'keyboardWillHide';
68
- this._listeners = [
69
- Keyboard.addListener(updateListener, this.updateKeyboardSpace),
70
- Keyboard.addListener(resetListener, this.resetKeyboardSpace),
71
- ];
72
- }
73
- }
74
-
75
- componentWillUnmount() {
76
- if (this._listeners !== null && this._listeners !== undefined) {
77
- this._listeners.forEach((listener) => listener.remove());
78
- }
79
- }
80
-
81
- updateKeyboardSpace(event) {
82
- // console.log('event', event);
83
- if (!event.endCoordinates) {
84
- return;
85
- }
86
-
87
- let animationConfig = defaultAnimation;
88
- if (Platform.OS === 'ios') {
89
- animationConfig = LayoutAnimation.create(
90
- event.duration,
91
- LayoutAnimation.Types[event.easing],
92
- LayoutAnimation.Properties.opacity
93
- );
94
- }
95
- LayoutAnimation.configureNext(animationConfig);
96
-
97
- // get updated on rotation
98
- const screenHeight = Dimensions.get('window').height;
99
- // when external physical keyboard is connected
100
- // event.endCoordinates.height still equals virtual keyboard height
101
- // however only the keyboard toolbar is showing if there should be one
102
- const keyboardSpace =
103
- screenHeight - event.endCoordinates.screenY + this.props.topSpacing;
104
- // console.log('keyboardSpace', keyboardSpace);
105
- this.setState(
106
- {
107
- keyboardSpace,
108
- isKeyboardOpened: true,
109
- },
110
- this.props.onToggle(true, keyboardSpace)
111
- );
112
- }
113
-
114
- resetKeyboardSpace(event) {
115
- let animationConfig = defaultAnimation;
116
- if (Platform.OS === 'ios') {
117
- animationConfig = LayoutAnimation.create(
118
- event.duration,
119
- LayoutAnimation.Types[event.easing],
120
- LayoutAnimation.Properties.opacity
121
- );
122
- }
123
- LayoutAnimation.configureNext(animationConfig);
124
-
125
- this.setState(
126
- {
127
- keyboardSpace: 0,
128
- isKeyboardOpened: false,
129
- },
130
- this.props.onToggle(false, 0)
131
- );
132
- }
133
-
134
- render() {
135
- return (
136
- <View
137
- style={[
138
- styles.container,
139
- { height: this.state.keyboardSpace },
140
- this.props.style,
141
- ]}
142
- />
143
- );
144
- }
145
- }
101
+ }, [topSpacing, onToggle]);
102
+
103
+ return <View style={[styles.container, { height: keyboardSpace }, style]} />;
104
+ };
105
+
106
+ export default KeyboardSpacer;
@@ -22,10 +22,10 @@ import { Formik } from 'formik';
22
22
  import digitalLendingStore from './store';
23
23
  import { formatDDMMYYY } from '../../utils';
24
24
  import DatePicker from 'react-native-date-picker';
25
- import KeyboardSpacer from '../../components/keyboardspace';
26
25
  import { useNavigation } from '@react-navigation/native';
27
26
  import moment from 'moment';
28
27
  import Loading from '../../components/Loading';
28
+ import KeyboardSpacer from '../../components/keyboardspace';
29
29
 
30
30
  const EnumGender = [
31
31
  {
@@ -2551,6 +2551,23 @@ export class Api {
2551
2551
  }
2552
2552
  }
2553
2553
 
2554
+ async getRateTypeAllNew() {
2555
+ // make the api call
2556
+ const response: ApiResponse<any> = await this.apisauce.get(`api/v2.0/autodev2/get_rate_type`)
2557
+ myLog(response)
2558
+ // the typical ways to die when calling an api
2559
+ if (!response.ok) {
2560
+ const problem = getGeneralApiProblem(response)
2561
+ if (problem) return problem
2562
+ }
2563
+ // transform the data into the format we are expecting
2564
+ try {
2565
+ return { kind: "ok", data: response.data }
2566
+ } catch {
2567
+ return { kind: "bad-data" }
2568
+ }
2569
+ }
2570
+
2554
2571
  async getInsurenceTimeAll() {
2555
2572
  // make the api call
2556
2573
  const response: ApiResponse<any> = await this.apisauce.get(`api/v1.0/landingpage/get_insurence_time_all`)
@@ -3052,7 +3069,7 @@ export class Api {
3052
3069
 
3053
3070
  async getLoanTimeByType(rateTypeId, typeLoan) {
3054
3071
  // make the api call
3055
- const response: ApiResponse<any> = await this.apisauce.get(`api/v1.0/landingpage/get_loan_time_timaone?rateTypeId=${rateTypeId}&typeLoan=${typeLoan}`)
3072
+ const response: ApiResponse<any> = await this.apisauce.get(`api/v2.0/autodev2/get_loan_time?rateTypeId=${rateTypeId}`)
3056
3073
  // the typical ways to die when calling an api
3057
3074
  if (!response.ok) {
3058
3075
  const problem = getGeneralApiProblem(response)
@@ -1,2 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.LogoTima=void 0;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _mobxReactLite=require("mobx-react-lite");var Animatable=_interopRequireWildcard(require("react-native-animatable"));var _jsxFileName="/Users/tima/Documents/Tima/tima-care-v2-sdk/src/components/logoTima/index.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&&Object.prototype.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 LogoTima=exports.LogoTima=(0,_mobxReactLite.observer)(function LogoTima(){return _react.default.createElement(_reactNative.View,{style:{alignItems:'center',justifyContent:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:9,columnNumber:5}},_react.default.createElement(Animatable.View,{animation:'fadeInUp',duration:1000,__self:this,__source:{fileName:_jsxFileName,lineNumber:10,columnNumber:7}},_react.default.createElement(_reactNative.Image,{source:require('./logo.png'),style:{width:200,height:150*200/397,resizeMode:'contain'},__self:this,__source:{fileName:_jsxFileName,lineNumber:11,columnNumber:9}})),_react.default.createElement(Animatable.View,{animation:'fadeInLeft',duration:1000,delay:1000,__self:this,__source:{fileName:_jsxFileName,lineNumber:20,columnNumber:7}},_react.default.createElement(_reactNative.Image,{source:require('./slogan.png'),style:{width:200,height:73*200/397,resizeMode:'contain'},__self:this,__source:{fileName:_jsxFileName,lineNumber:21,columnNumber:9}})));});
2
- //# sourceMappingURL=index.js.map
@@ -1,32 +0,0 @@
1
- //@ts-nocheck
2
- import React from 'react';
3
- import { View, Image } from 'react-native';
4
- import { observer } from 'mobx-react-lite';
5
- import * as Animatable from 'react-native-animatable';
6
-
7
- export const LogoTima = observer(function LogoTima() {
8
- return (
9
- <View style={{ alignItems: 'center', justifyContent: 'center' }}>
10
- <Animatable.View animation={'fadeInUp'} duration={1000}>
11
- <Image
12
- source={require('./logo.png')}
13
- style={{
14
- width: 200,
15
- height: (150 * 200) / 397,
16
- resizeMode: 'contain',
17
- }}
18
- />
19
- </Animatable.View>
20
- <Animatable.View animation={'fadeInLeft'} duration={1000} delay={1000}>
21
- <Image
22
- source={require('./slogan.png')}
23
- style={{
24
- width: 200,
25
- height: (73 * 200) / 397,
26
- resizeMode: 'contain',
27
- }}
28
- />
29
- </Animatable.View>
30
- </View>
31
- );
32
- });
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_mobxReactLite","Animatable","_interopRequireWildcard","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","LogoTima","exports","observer","createElement","View","style","alignItems","justifyContent","__self","__source","fileName","lineNumber","columnNumber","animation","duration","Image","source","width","height","resizeMode","delay"],"sourceRoot":"../../../../src","sources":["components/logoTima/index.tsx"],"mappings":"oKACA,IAAAA,MAAA,CAAAC,sBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBACA,IAAAE,cAAA,CAAAF,OAAA,oBACA,IAAAG,UAAA,CAAAC,uBAAA,CAAAJ,OAAA,6BAAsD,IAAAK,YAAA,0FAAAC,yBAAAC,CAAA,wBAAAC,OAAA,iBAAAC,CAAA,KAAAD,OAAA,GAAAE,CAAA,KAAAF,OAAA,UAAAF,wBAAA,UAAAA,yBAAAC,CAAA,SAAAA,CAAA,CAAAG,CAAA,CAAAD,CAAA,IAAAF,CAAA,YAAAH,wBAAAG,CAAA,CAAAE,CAAA,MAAAA,CAAA,EAAAF,CAAA,EAAAA,CAAA,CAAAI,UAAA,QAAAJ,CAAA,WAAAA,CAAA,mBAAAA,CAAA,qBAAAA,CAAA,QAAAK,OAAA,CAAAL,CAAA,MAAAG,CAAA,CAAAJ,wBAAA,CAAAG,CAAA,KAAAC,CAAA,EAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,SAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,MAAAQ,CAAA,EAAAC,SAAA,OAAAC,CAAA,CAAAC,MAAA,CAAAC,cAAA,EAAAD,MAAA,CAAAE,wBAAA,SAAAC,CAAA,IAAAd,CAAA,gBAAAc,CAAA,EAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAjB,CAAA,CAAAc,CAAA,OAAAI,CAAA,CAAAR,CAAA,CAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,CAAAc,CAAA,OAAAI,CAAA,GAAAA,CAAA,CAAAX,GAAA,EAAAW,CAAA,CAAAC,GAAA,EAAAR,MAAA,CAAAC,cAAA,CAAAJ,CAAA,CAAAM,CAAA,CAAAI,CAAA,EAAAV,CAAA,CAAAM,CAAA,EAAAd,CAAA,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AAiC,UAAA,IAAAC,YAAA,KACpEzC,MAAA,CAAAc,OAAA,CAAAkB,aAAA,CAAC7B,YAAA,CAAAyC,KAAK,EACJC,MAAM,CAAE3C,OAAO,CAAC,cAAc,CAAE,CAChCgC,KAAK,CAAE,CACLY,KAAK,CAAE,GAAG,CACVC,MAAM,CAAG,EAAE,CAAG,GAAG,CAAI,GAAG,CACxBC,UAAU,CAAE,SACd,CAAE,CAAAX,MAAA,MAAAC,QAAA,EAAAC,QAAA,CAAAhC,YAAA,CAAAiC,UAAA,IAAAC,YAAA,IACH,CACc,CACb,CAAC,CAEX,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _initializerDefineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/initializerDefineProperty"));var _classCallCheck2=_interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));var _createClass2=_interopRequireDefault(require("@babel/runtime/helpers/createClass"));var _defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));var _applyDecoratedDescriptor2=_interopRequireDefault(require("@babel/runtime/helpers/applyDecoratedDescriptor"));var _initializerWarningHelper2=_interopRequireDefault(require("@babel/runtime/helpers/initializerWarningHelper"));var _mobx=require("mobx");var _api=require("../../services/api");var _log=require("../../utils/log");var _reactNative=require("react-native");var _class,_descriptor,_descriptor2;var Store=(_class=function(){function Store(){(0,_classCallCheck2.default)(this,Store);(0,_initializerDefineProperty2.default)(this,"isLoading",_descriptor,this);(0,_initializerDefineProperty2.default)(this,"isError",_descriptor2,this);}(0,_createClass2.default)(Store,[{key:"getOTP",value:function getOTP(params,onSuccess,onFailure){var response;return _regenerator.default.async(function getOTP$(_context){while(1)switch(_context.prev=_context.next){case 0:this.isLoading=true;_context.next=3;return _regenerator.default.awrap(_api.Api.getInstance().getOTP(params));case 3:response=_context.sent;(0,_log.myLog)(response);if(response.kind==='ok'){this.isLoading=false;this.isError=false;if(response.data.meta.errorCode===200){(0,_log.myLog)('data',response.data.data);if(onSuccess){onSuccess(response.data.data);}}}else{this.isLoading=false;this.isError=false;_reactNative.Alert.alert('Lỗi',response.Messages);}case 6:case"end":return _context.stop();}},null,this,null,Promise);}}]);return Store;}(),(_descriptor=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"isLoading",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return false;}}),_descriptor2=(0,_applyDecoratedDescriptor2.default)(_class.prototype,"isError",[_mobx.observable],{configurable:true,enumerable:true,writable:true,initializer:function initializer(){return false;}}),(0,_applyDecoratedDescriptor2.default)(_class.prototype,"getOTP",[_mobx.action],Object.getOwnPropertyDescriptor(_class.prototype,"getOTP"),_class.prototype)),_class);var registerStore=new Store();var _default=exports.default=registerStore;
2
- //# sourceMappingURL=Store.js.map
@@ -1,36 +0,0 @@
1
- //@ts-nocheck
2
- import { observable, action } from 'mobx';
3
- import { Api } from '../../services/api';
4
- import { myLog } from '../../utils/log';
5
- import { Alert } from 'react-native';
6
- import { save, USER } from '../../utils/storage';
7
-
8
- class Store {
9
- @observable isLoading = false;
10
- @observable isError = false;
11
-
12
- @action
13
- async getOTP(params, onSuccess?, onFailure?) {
14
- this.isLoading = true;
15
- const response = await Api.getInstance().getOTP(params);
16
- myLog(response);
17
- if (response.kind === 'ok') {
18
- this.isLoading = false;
19
- this.isError = false;
20
- if (response.data.meta.errorCode === 200) {
21
- myLog('data', response.data.data);
22
- if (onSuccess) {
23
- onSuccess(response.data.data);
24
- }
25
- }
26
- } else {
27
- this.isLoading = false;
28
- this.isError = false;
29
- Alert.alert('Lỗi', response.Messages);
30
- }
31
- }
32
- }
33
-
34
- const registerStore = new Store();
35
-
36
- export default registerStore;
@@ -1 +0,0 @@
1
- {"version":3,"names":["_mobx","require","_api","_log","_reactNative","_class","_descriptor","_descriptor2","Store","_classCallCheck2","default","_initializerDefineProperty2","_createClass2","key","value","getOTP","params","onSuccess","onFailure","response","_regenerator","async","getOTP$","_context","prev","next","isLoading","awrap","Api","getInstance","sent","myLog","kind","isError","data","meta","errorCode","Alert","alert","Messages","stop","Promise","_applyDecoratedDescriptor2","prototype","observable","configurable","enumerable","writable","initializer","action","Object","getOwnPropertyDescriptor","registerStore","_default","exports"],"sourceRoot":"../../../../src","sources":["screens/intro/Store.tsx"],"mappings":"81BACA,IAAAA,KAAA,CAAAC,OAAA,SACA,IAAAC,IAAA,CAAAD,OAAA,uBACA,IAAAE,IAAA,CAAAF,OAAA,oBACA,IAAAG,YAAA,CAAAH,OAAA,iBAAqC,IAAAI,MAAA,CAAAC,WAAA,CAAAC,YAAA,IAG/B,CAAAC,KAAK,EAAAH,MAAA,qBAAAG,MAAA,KAAAC,gBAAA,CAAAC,OAAA,OAAAF,KAAA,KAAAG,2BAAA,CAAAD,OAAA,mBAAAJ,WAAA,UAAAK,2BAAA,CAAAD,OAAA,iBAAAH,YAAA,WAAAK,aAAA,CAAAF,OAAA,EAAAF,KAAA,GAAAK,GAAA,UAAAC,KAAA,CAIT,SAAAC,OACaC,MAAM,CAAEC,SAAU,CAAEC,SAAU,MAAAC,QAAA,QAAAC,YAAA,CAAAV,OAAA,CAAAW,KAAA,UAAAC,QAAAC,QAAA,iBAAAA,QAAA,CAAAC,IAAA,CAAAD,QAAA,CAAAE,IAAA,SACzC,IAAI,CAACC,SAAS,CAAG,IAAI,CAACH,QAAA,CAAAE,IAAA,UAAAL,YAAA,CAAAV,OAAA,CAAAiB,KAAA,CACCC,QAAG,CAACC,WAAW,CAAC,CAAC,CAACd,MAAM,CAACC,MAAM,CAAC,SAAjDG,QAAQ,CAAAI,QAAA,CAAAO,IAAA,CACd,GAAAC,UAAK,EAACZ,QAAQ,CAAC,CACf,GAAIA,QAAQ,CAACa,IAAI,GAAK,IAAI,CAAE,CAC1B,IAAI,CAACN,SAAS,CAAG,KAAK,CACtB,IAAI,CAACO,OAAO,CAAG,KAAK,CACpB,GAAId,QAAQ,CAACe,IAAI,CAACC,IAAI,CAACC,SAAS,GAAK,GAAG,CAAE,CACxC,GAAAL,UAAK,EAAC,MAAM,CAAEZ,QAAQ,CAACe,IAAI,CAACA,IAAI,CAAC,CACjC,GAAIjB,SAAS,CAAE,CACbA,SAAS,CAACE,QAAQ,CAACe,IAAI,CAACA,IAAI,CAAC,CAC/B,CACF,CACF,CAAC,IAAM,CACL,IAAI,CAACR,SAAS,CAAG,KAAK,CACtB,IAAI,CAACO,OAAO,CAAG,KAAK,CACpBI,kBAAK,CAACC,KAAK,CAAC,KAAK,CAAEnB,QAAQ,CAACoB,QAAQ,CAAC,CACvC,CAAC,wBAAAhB,QAAA,CAAAiB,IAAA,qBAAAC,OAAA,GACF,WAAAjC,KAAA,MAAAF,WAAA,IAAAoC,0BAAA,CAAAhC,OAAA,EAAAL,MAAA,CAAAsC,SAAA,cAtBAC,gBAAU,GAAAC,YAAA,MAAAC,UAAA,MAAAC,QAAA,MAAAC,WAAA,UAAAA,YAAA,QAAa,MAAK,KAAAzC,YAAA,IAAAmC,0BAAA,CAAAhC,OAAA,EAAAL,MAAA,CAAAsC,SAAA,YAC5BC,gBAAU,GAAAC,YAAA,MAAAC,UAAA,MAAAC,QAAA,MAAAC,WAAA,UAAAA,YAAA,QAAW,MAAK,QAAAN,0BAAA,CAAAhC,OAAA,EAAAL,MAAA,CAAAsC,SAAA,WAE1BM,YAAM,EAAAC,MAAA,CAAAC,wBAAA,CAAA9C,MAAA,CAAAsC,SAAA,WAAAtC,MAAA,CAAAsC,SAAA,GAAAtC,MAAA,EAsBT,GAAM,CAAA+C,aAAa,CAAG,GAAI,CAAA5C,KAAK,CAAC,CAAC,CAAC,IAAA6C,QAAA,CAAAC,OAAA,CAAA5C,OAAA,CAEnB0C,aAAa"}
@@ -1,2 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.Intro=void 0;var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _native=require("@react-navigation/native");var _mobxReactLite=require("mobx-react-lite");var _CommonStyles=require("../CommonStyles");var _keyboardspace=_interopRequireDefault(require("../../components/keyboardspace"));var _MButton=_interopRequireDefault(require("../../components/MButton"));var _theme=require("../../theme");var _MText=require("../../components/MText");var _icons=require("../../assets/icons");var _navigation=require("../../navigation");var _reactNativePagerView=_interopRequireDefault(require("react-native-pager-view"));var _log=require("../../utils/log");var _storage=require("../../utils/storage");var _jsxFileName="/Users/tima/Documents/Tima/tima-care-v2-sdk/src/screens/intro/index.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&&Object.prototype.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 Intro=exports.Intro=(0,_mobxReactLite.observer)(function Intro(){var navigation=(0,_native.useNavigation)();var _useState=(0,_react.useState)(0),_useState2=(0,_slicedToArray2.default)(_useState,2),index=_useState2[0],setIndex=_useState2[1];var pagerView=(0,_react.useRef)(null);var skip=function skip(){(0,_storage.save)(_storage.INTRO,'true');navigation.dispatch(_native.CommonActions.reset({index:1,routes:[{name:_navigation.ScreenNames.Register}]}));};return _react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill,_CommonStyles.commonStyles.backgroundWhite],__self:this,__source:{fileName:_jsxFileName,lineNumber:51,columnNumber:5}},_react.default.createElement(_reactNative.SafeAreaView,{style:_CommonStyles.commonStyles.fill,__self:this,__source:{fileName:_jsxFileName,lineNumber:52,columnNumber:7}},_react.default.createElement(_reactNativePagerView.default,{ref:pagerView,style:{flex:1},initialPage:index,onPageSelected:function onPageSelected(event){(0,_log.myLog)(event.nativeEvent);setIndex(event.nativeEvent.position);},__self:this,__source:{fileName:_jsxFileName,lineNumber:53,columnNumber:9}},_react.default.createElement(_reactNative.View,{key:"1",__self:this,__source:{fileName:_jsxFileName,lineNumber:62,columnNumber:11}},_react.default.createElement(_reactNative.View,{style:_CommonStyles.commonStyles.fill,__self:this,__source:{fileName:_jsxFileName,lineNumber:63,columnNumber:13}},_react.default.createElement(_reactNative.Image,{source:require('../../../assets/img/logo.png'),style:{width:80,height:80,alignSelf:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:64,columnNumber:15}}),_react.default.createElement(_reactNative.Image,{source:require('../../../assets/img/sao_khue.png'),style:{width:80,height:150,marginTop:24,alignSelf:'center',resizeMode:'contain'},__self:this,__source:{fileName:_jsxFileName,lineNumber:68,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{fontSize:18,marginTop:16,color:_theme.color.primary,textAlign:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:78,columnNumber:15}},"Top 10 Sao Khu\xEA 2018"),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:14,lineHeight:24,marginTop:8,textAlign:'center',paddingHorizontal:36}],__self:this,__source:{fileName:_jsxFileName,lineNumber:91,columnNumber:15}},"T\u1EA1i l\u1EC5 c\xF4ng b\u1ED1 v\xE0 trao danh hi\u1EC7u Sao Khu\xEA 2018, s\u1EA3n ph\u1EA9m S\xE0n k\u1EBFt n\u1ED1i T\xE0i ch\xEDnh Tima c\u1EE7a C\xF4ng ty c\u1ED5 ph\u1EA7n T\u1EADp \u0111o\xE0n Tima \u0111\xE3 l\u1ECDt v\xE0o Top 10 c\xE1c s\u1EA3n ph\u1EA9m, d\u1ECBch v\u1EE5 xu\u1EA5t s\u1EAFc trong t\u1ED5ng s\u1ED1 73 s\u1EA3n ph\u1EA9m, d\u1ECBch v\u1EE5 CNTT \u0111\u01B0\u1EE3c trao gi\u1EA3i."))),_react.default.createElement(_reactNative.View,{key:"2",__self:this,__source:{fileName:_jsxFileName,lineNumber:105,columnNumber:11}},_react.default.createElement(_reactNative.View,{style:_CommonStyles.commonStyles.fill,__self:this,__source:{fileName:_jsxFileName,lineNumber:106,columnNumber:13}},_react.default.createElement(_reactNative.Image,{source:require('../../../assets/img/logo.png'),style:{width:80,height:80,alignSelf:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:107,columnNumber:15}}),_react.default.createElement(_reactNative.Image,{source:require('../../../assets/img/slogan.png'),style:{width:'60%',height:150,marginTop:24,alignSelf:'center',resizeMode:'contain'},__self:this,__source:{fileName:_jsxFileName,lineNumber:111,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{fontSize:18,marginTop:16,color:_theme.color.primary,textAlign:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:121,columnNumber:15}},"Vay nhanh & d\u1EC5 d\xE0ng h\u01A1n v\u1EDBi Tima"),_react.default.createElement(_reactNative.View,{style:{alignSelf:'center',marginTop:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:134,columnNumber:15}},_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.row,_CommonStyles.commonStyles.alignCenter,{marginTop:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:135,columnNumber:17}},_react.default.createElement(_icons.IconHand,{width:10,height:9,style:{transform:[{scale:1.5}]},__self:this,__source:{fileName:_jsxFileName,lineNumber:142,columnNumber:19}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{paddingLeft:8,color:_theme.color.primary,textAlign:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:147,columnNumber:19}},"Ch\u1EC9 m\u1EA5t 3 ph\xFAt \u0111\u0103ng k\xFD")),_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.row,_CommonStyles.commonStyles.alignCenter,{marginTop:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:160,columnNumber:17}},_react.default.createElement(_icons.IconHand,{width:10,height:9,style:{transform:[{scale:1.5}]},__self:this,__source:{fileName:_jsxFileName,lineNumber:167,columnNumber:19}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{paddingLeft:8,color:_theme.color.primary,textAlign:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:172,columnNumber:19}},"Th\xF4ng tin chi ti\u1EBFt & l\xE3i su\u1EA5t minh b\u1EA1ch")),_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.row,_CommonStyles.commonStyles.alignCenter,{marginTop:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:185,columnNumber:17}},_react.default.createElement(_icons.IconHand,{width:10,height:9,style:{transform:[{scale:1.5}]},__self:this,__source:{fileName:_jsxFileName,lineNumber:192,columnNumber:19}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{paddingLeft:8,color:_theme.color.primary,textAlign:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:197,columnNumber:19}},"Nh\u1EADt k\u1EBFt qu\u1EA3 h\u1ED3 s\u01A1 nhanh ch\xF3ng")))))),_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.row,_CommonStyles.commonStyles.alignCenter,{marginBottom:24,marginTop:16,alignSelf:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:214,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{backgroundColor:index===0?_theme.color.primary:_theme.color.textHint,width:12,height:12,borderRadius:6},__self:this,__source:{fileName:_jsxFileName,lineNumber:221,columnNumber:11}}),_react.default.createElement(_reactNative.View,{style:{backgroundColor:index===1?_theme.color.primary:_theme.color.textHint,width:12,height:12,borderRadius:6,marginLeft:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:229,columnNumber:11}})),_react.default.createElement(_MButton.default,{onPress:function onPress(){if(index==0){pagerView.current.setPage(1);setIndex(1);}else{skip();}},style:[_CommonStyles.commonStyles.justifyCenter,_CommonStyles.commonStyles.alignCenter,{backgroundColor:_theme.color.primary,width:'50%',height:48,borderRadius:24,alignSelf:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:239,columnNumber:9}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{fontSize:16,color:'white'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:260,columnNumber:11}},"Ti\u1EBFp theo")),_react.default.createElement(_MButton.default,{onPress:skip,style:[_CommonStyles.commonStyles.justifyCenter,_CommonStyles.commonStyles.alignCenter,{width:'60%',height:48,alignSelf:'center',marginTop:16,marginBottom:24}],__self:this,__source:{fileName:_jsxFileName,lineNumber:269,columnNumber:9}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:16,color:_theme.color.primary,textDecorationLine:'underline'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:283,columnNumber:11}},"B\u1ECF qua")),_react.default.createElement(_keyboardspace.default,{__self:this,__source:{fileName:_jsxFileName,lineNumber:296,columnNumber:9}})));});
2
- //# sourceMappingURL=index.js.map