react-native-timacare 3.1.8-beta → 3.1.10-beta

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 (26) hide show
  1. package/lib/commonjs/components/select/index.js +1 -1
  2. package/lib/commonjs/components/select/index.js.flow +2 -2
  3. package/lib/commonjs/components/select/index.js.map +1 -1
  4. package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js +1 -1
  5. package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js.flow +3 -3
  6. package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js.map +1 -1
  7. package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js +1 -1
  8. package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js.flow +6 -6
  9. package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js.map +1 -1
  10. package/lib/commonjs/screens/toan-trinh-so/VehicleCamera.js +1 -1
  11. package/lib/commonjs/screens/toan-trinh-so/VehicleCamera.js.flow +76 -75
  12. package/lib/commonjs/screens/toan-trinh-so/VehicleCamera.js.map +1 -1
  13. package/lib/module/components/select/index.js +1 -1
  14. package/lib/module/components/select/index.js.map +1 -1
  15. package/lib/module/screens/toan-trinh-so/ReviewInformation.js +1 -1
  16. package/lib/module/screens/toan-trinh-so/ReviewInformation.js.map +1 -1
  17. package/lib/module/screens/toan-trinh-so/ReviewLoan.js +1 -1
  18. package/lib/module/screens/toan-trinh-so/ReviewLoan.js.map +1 -1
  19. package/lib/module/screens/toan-trinh-so/VehicleCamera.js +1 -1
  20. package/lib/module/screens/toan-trinh-so/VehicleCamera.js.map +1 -1
  21. package/lib/typescript/screens/toan-trinh-so/VehicleCamera.d.ts.map +1 -1
  22. package/package.json +1 -1
  23. package/src/components/select/index.tsx +2 -2
  24. package/src/screens/toan-trinh-so/ReviewInformation.tsx +3 -3
  25. package/src/screens/toan-trinh-so/ReviewLoan.tsx +6 -6
  26. package/src/screens/toan-trinh-so/VehicleCamera.tsx +76 -75
@@ -282,8 +282,8 @@ export default function ReviewLoan(props: any) {
282
282
  Number(textParam.replace(/\D/g, '')),
283
283
  formRef.current.values.loanTime?.id,
284
284
  formRef.current.values?.rateTypeId?.id,
285
- formRef.current.values.timeInsurenceCustomer?.id,
286
- formRef.current.values.timeInsuranceProperty?.id
285
+ formRef.current.values.timeInsurenceCustomer?.id ?? 0,
286
+ formRef.current.values.timeInsuranceProperty?.id ?? 0
287
287
  );
288
288
  }, 500),
289
289
  []
@@ -469,8 +469,8 @@ export default function ReviewLoan(props: any) {
469
469
  values.loanAmount,
470
470
  value?.id,
471
471
  values?.rateTypeId,
472
- values.timeInsurenceCustomer?.id,
473
- values.timeInsuranceProperty?.id
472
+ values.timeInsurenceCustomer?.id ?? 0,
473
+ values.timeInsuranceProperty?.id ?? 0
474
474
  );
475
475
  },
476
476
  });
@@ -574,7 +574,7 @@ export default function ReviewLoan(props: any) {
574
574
  values.loanTime,
575
575
  values?.rateTypeId,
576
576
  value?.id,
577
- values.timeInsuranceProperty?.id
577
+ values.timeInsuranceProperty?.id ?? 0
578
578
  );
579
579
  },
580
580
  });
@@ -666,7 +666,7 @@ export default function ReviewLoan(props: any) {
666
666
  values.loanAmount,
667
667
  values.loanTime,
668
668
  values?.rateTypeId,
669
- values?.timeInsurenceCustomer?.id,
669
+ values?.timeInsurenceCustomer?.id ?? 0,
670
670
  value?.id
671
671
  );
672
672
  },
@@ -209,6 +209,7 @@ export default function VehicleCamera(props: any) {
209
209
  position: 'absolute',
210
210
  width: Dimensions.get('window').width,
211
211
  height: Dimensions.get('window').height,
212
+ zIndex: 1000,
212
213
  },
213
214
  ]}
214
215
  >
@@ -241,6 +242,7 @@ export default function VehicleCamera(props: any) {
241
242
  alignItems: 'center',
242
243
  gap: 8,
243
244
  marginTop: 16,
245
+ zIndex: 1000,
244
246
  }}
245
247
  >
246
248
  <IconUpload />
@@ -253,89 +255,88 @@ export default function VehicleCamera(props: any) {
253
255
  Tải ảnh từ thư viện
254
256
  </MText>
255
257
  </TouchableOpacity>
256
- </View>
257
- )}
258
-
259
- <SafeAreaView
260
- style={[
261
- commonStyles.fill,
262
- { position: 'absolute', width: '100%', height: '100%' },
263
- ]}
264
- >
265
- <View
266
- style={[
267
- commonStyles.row,
268
- commonStyles.alignCenter,
269
- { paddingVertical: 16 },
270
- ]}
271
- >
272
- <MButton
273
- onPress={() => {
274
- navigation.goBack();
258
+ <View
259
+ style={{
260
+ position: 'absolute',
261
+ bottom: 20,
262
+ left: 0,
263
+ right: 0,
275
264
  }}
265
+ >
266
+ {!taking && (
267
+ <>
268
+ <MText
269
+ style={{
270
+ color: 'white',
271
+ textAlign: 'center',
272
+ fontSize: 14,
273
+ }}
274
+ >
275
+ Vui lòng đặt giấy tờ nằm vừa khung hình chữ nhật,{'\n'}chụp đủ
276
+ ánh sáng và rõ nét.
277
+ </MText>
278
+ <View
279
+ style={{
280
+ alignItems: 'center',
281
+ marginVertical: 24,
282
+ }}
283
+ >
284
+ <MButton
285
+ onPress={() => {
286
+ takePhoto();
287
+ }}
288
+ >
289
+ <TakePhotoSvg />
290
+ </MButton>
291
+ </View>
292
+ </>
293
+ )}
294
+ </View>
295
+ <SafeAreaView
276
296
  style={[
277
- {
278
- width: 48,
279
- height: 48,
280
- zIndex: 1000,
281
- position: 'absolute',
282
- left: 16,
283
- top: 16,
284
- },
297
+ commonStyles.fill,
298
+ { position: 'absolute', width: '100%', height: '100%' },
285
299
  ]}
286
300
  >
287
- <IconBackWhite />
288
- </MButton>
289
- <View style={{ flex: 1, alignItems: 'center' }}>
290
- <MText style={$title}>ĐĂNG KÝ XE</MText>
291
- </View>
292
- </View>
293
- <MText
294
- style={{
295
- color: 'white',
296
- textAlign: 'center',
297
- }}
298
- >
299
- {title}
300
- </MText>
301
- <View
302
- style={{
303
- position: 'absolute',
304
- bottom: 20,
305
- left: 0,
306
- right: 0,
307
- }}
308
- >
309
- {!taking && (
310
- <>
311
- <MText
312
- style={{
313
- color: 'white',
314
- textAlign: 'center',
315
- fontSize: 14,
316
- }}
317
- >
318
- Vui lòng đặt giấy tờ nằm vừa khung hình chữ nhật,{'\n'}chụp đủ
319
- ánh sáng và rõ nét.
320
- </MText>
321
- <View
322
- style={{
323
- alignItems: 'center',
324
- marginVertical: 24,
301
+ <View
302
+ style={[
303
+ commonStyles.row,
304
+ commonStyles.alignCenter,
305
+ { paddingVertical: 16 },
306
+ ]}
307
+ >
308
+ <MButton
309
+ onPress={() => {
310
+ navigation.goBack();
325
311
  }}
312
+ style={[
313
+ {
314
+ width: 48,
315
+ height: 48,
316
+ zIndex: 1000,
317
+ position: 'absolute',
318
+ left: 16,
319
+ top: 16,
320
+ },
321
+ ]}
326
322
  >
327
- <MButton
328
- onPress={() => {
329
- takePhoto();
330
- }}
331
- >
332
- <TakePhotoSvg />
333
- </MButton>
323
+ <IconBackWhite />
324
+ </MButton>
325
+ <View style={{ flex: 1, alignItems: 'center' }}>
326
+ <MText style={$title}>ĐĂNG KÝ XE</MText>
334
327
  </View>
335
- </>
336
- )}
328
+ </View>
329
+ <MText
330
+ style={{
331
+ color: 'white',
332
+ textAlign: 'center',
333
+ }}
334
+ >
335
+ {title}
336
+ </MText>
337
+ </SafeAreaView>
337
338
  </View>
338
- </SafeAreaView>
339
+ )}
339
340
  <Modal
340
341
  isVisible={showModal}
341
342
  style={$modal}