@tima2025/react-native-timalender 1.1.7 → 1.1.9

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 (154) hide show
  1. package/lib/commonjs/assets/images/Avatar/avatar_boy.png +0 -0
  2. package/lib/commonjs/assets/images/Avatar/avatar_girl.png +0 -0
  3. package/lib/commonjs/assets/images/HomePage/avatar_boy.png +0 -0
  4. package/lib/commonjs/assets/images/HomePage/avatar_girl.png +0 -0
  5. package/lib/commonjs/assets/images/HomePage/ic_down.png +0 -0
  6. package/lib/commonjs/assets/images/HomePage/ic_primary_star.png +0 -0
  7. package/lib/commonjs/assets/images/HomePage/ic_success_star.png +0 -0
  8. package/lib/commonjs/assets/images/HomePage/ic_up.png +0 -0
  9. package/lib/commonjs/assets/images/HomePage/index.js +1 -1
  10. package/lib/commonjs/assets/images/HomePage/index.js.flow +4 -0
  11. package/lib/commonjs/assets/images/HomePage/index.js.map +1 -1
  12. package/lib/commonjs/components/Features/Debt/debtSlice.js.flow +2 -2
  13. package/lib/commonjs/components/Features/Debt/debtSlice.js.map +1 -1
  14. package/lib/commonjs/components/Features/Lender/lenderSlice.js +1 -1
  15. package/lib/commonjs/components/Features/Lender/lenderSlice.js.flow +16 -0
  16. package/lib/commonjs/components/Features/Lender/lenderSlice.js.map +1 -1
  17. package/lib/commonjs/components/Navigation/AppNavigator.js +1 -1
  18. package/lib/commonjs/components/Navigation/AppNavigator.js.flow +8 -0
  19. package/lib/commonjs/components/Navigation/AppNavigator.js.map +1 -1
  20. package/lib/commonjs/components/Navigation/Screens.js +1 -1
  21. package/lib/commonjs/components/Navigation/Screens.js.flow +1 -0
  22. package/lib/commonjs/components/Navigation/Screens.js.map +1 -1
  23. package/lib/commonjs/controllers/Debt.js +1 -1
  24. package/lib/commonjs/controllers/Debt.js.flow +12 -4
  25. package/lib/commonjs/controllers/Debt.js.map +1 -1
  26. package/lib/commonjs/controllers/Lender.js +1 -1
  27. package/lib/commonjs/controllers/Lender.js.flow +23 -1
  28. package/lib/commonjs/controllers/Lender.js.map +1 -1
  29. package/lib/commonjs/screens/BuyDebt/Components/ListSuccess/ListSuccess.js +1 -1
  30. package/lib/commonjs/screens/BuyDebt/Components/ListSuccess/ListSuccess.js.flow +1 -0
  31. package/lib/commonjs/screens/BuyDebt/Components/ListSuccess/ListSuccess.js.map +1 -1
  32. package/lib/commonjs/screens/ContractDetail/index.js +1 -1
  33. package/lib/commonjs/screens/ContractDetail/index.js.flow +1 -0
  34. package/lib/commonjs/screens/ContractDetail/index.js.map +1 -1
  35. package/lib/commonjs/screens/CooperationAgreement/index.js +1 -1
  36. package/lib/commonjs/screens/CooperationAgreement/index.js.flow +2 -1
  37. package/lib/commonjs/screens/CooperationAgreement/index.js.map +1 -1
  38. package/lib/commonjs/screens/DetailBuyDue/index.js +1 -1
  39. package/lib/commonjs/screens/DetailBuyDue/index.js.flow +4 -15
  40. package/lib/commonjs/screens/DetailBuyDue/index.js.map +1 -1
  41. package/lib/commonjs/screens/DetailHistory/index.js +1 -1
  42. package/lib/commonjs/screens/DetailHistory/index.js.flow +947 -603
  43. package/lib/commonjs/screens/DetailHistory/index.js.map +1 -1
  44. package/lib/commonjs/screens/ListLoan/index.js +1 -1
  45. package/lib/commonjs/screens/ListLoan/index.js.flow +61 -53
  46. package/lib/commonjs/screens/ListLoan/index.js.map +1 -1
  47. package/lib/commonjs/screens/ScheduleMore/index.js +2 -0
  48. package/lib/commonjs/screens/ScheduleMore/index.js.flow +610 -0
  49. package/lib/commonjs/screens/ScheduleMore/index.js.map +1 -0
  50. package/lib/commonjs/screens/SellDebt/Tabs/Sold.js +1 -1
  51. package/lib/commonjs/screens/SellDebt/Tabs/Sold.js.flow +3 -2
  52. package/lib/commonjs/screens/SellDebt/Tabs/Sold.js.map +1 -1
  53. package/lib/commonjs/screens/Transfer/Tabs/Buy.js +1 -1
  54. package/lib/commonjs/screens/Transfer/Tabs/Buy.js.flow +8 -4
  55. package/lib/commonjs/screens/Transfer/Tabs/Buy.js.map +1 -1
  56. package/lib/commonjs/screens/Transfer/Tabs/Sell.js +1 -1
  57. package/lib/commonjs/screens/Transfer/Tabs/Sell.js.flow +12 -3
  58. package/lib/commonjs/screens/Transfer/Tabs/Sell.js.map +1 -1
  59. package/lib/commonjs/screens/Transfer/index.js +1 -1
  60. package/lib/commonjs/screens/Transfer/index.js.flow +19 -18
  61. package/lib/commonjs/screens/Transfer/index.js.map +1 -1
  62. package/lib/module/assets/images/Avatar/avatar_boy.png +0 -0
  63. package/lib/module/assets/images/Avatar/avatar_girl.png +0 -0
  64. package/lib/module/assets/images/HomePage/avatar_boy.png +0 -0
  65. package/lib/module/assets/images/HomePage/avatar_girl.png +0 -0
  66. package/lib/module/assets/images/HomePage/ic_down.png +0 -0
  67. package/lib/module/assets/images/HomePage/ic_primary_star.png +0 -0
  68. package/lib/module/assets/images/HomePage/ic_success_star.png +0 -0
  69. package/lib/module/assets/images/HomePage/ic_up.png +0 -0
  70. package/lib/module/assets/images/HomePage/index.js +1 -1
  71. package/lib/module/assets/images/HomePage/index.js.map +1 -1
  72. package/lib/module/components/Features/Debt/debtSlice.js.map +1 -1
  73. package/lib/module/components/Features/Lender/lenderSlice.js +1 -1
  74. package/lib/module/components/Features/Lender/lenderSlice.js.map +1 -1
  75. package/lib/module/components/Navigation/AppNavigator.js +1 -1
  76. package/lib/module/components/Navigation/AppNavigator.js.map +1 -1
  77. package/lib/module/components/Navigation/Screens.js +1 -1
  78. package/lib/module/components/Navigation/Screens.js.map +1 -1
  79. package/lib/module/controllers/Debt.js +1 -1
  80. package/lib/module/controllers/Debt.js.map +1 -1
  81. package/lib/module/controllers/Lender.js +1 -1
  82. package/lib/module/controllers/Lender.js.map +1 -1
  83. package/lib/module/screens/BuyDebt/Components/ListSuccess/ListSuccess.js +1 -1
  84. package/lib/module/screens/BuyDebt/Components/ListSuccess/ListSuccess.js.map +1 -1
  85. package/lib/module/screens/ContractDetail/index.js +1 -1
  86. package/lib/module/screens/ContractDetail/index.js.map +1 -1
  87. package/lib/module/screens/CooperationAgreement/index.js +1 -1
  88. package/lib/module/screens/CooperationAgreement/index.js.map +1 -1
  89. package/lib/module/screens/DetailBuyDue/index.js +1 -1
  90. package/lib/module/screens/DetailBuyDue/index.js.map +1 -1
  91. package/lib/module/screens/DetailHistory/index.js +1 -1
  92. package/lib/module/screens/DetailHistory/index.js.map +1 -1
  93. package/lib/module/screens/ListLoan/index.js +1 -1
  94. package/lib/module/screens/ListLoan/index.js.map +1 -1
  95. package/lib/module/screens/ScheduleMore/index.js +2 -0
  96. package/lib/module/screens/ScheduleMore/index.js.map +1 -0
  97. package/lib/module/screens/SellDebt/Tabs/Sold.js +1 -1
  98. package/lib/module/screens/SellDebt/Tabs/Sold.js.map +1 -1
  99. package/lib/module/screens/Transfer/Tabs/Buy.js +1 -1
  100. package/lib/module/screens/Transfer/Tabs/Buy.js.map +1 -1
  101. package/lib/module/screens/Transfer/Tabs/Sell.js +1 -1
  102. package/lib/module/screens/Transfer/Tabs/Sell.js.map +1 -1
  103. package/lib/module/screens/Transfer/index.js +1 -1
  104. package/lib/module/screens/Transfer/index.js.map +1 -1
  105. package/lib/typescript/src/assets/images/HomePage/index.d.ts +4 -0
  106. package/lib/typescript/src/assets/images/HomePage/index.d.ts.map +1 -1
  107. package/lib/typescript/src/components/Features/Lender/lenderSlice.d.ts +2 -0
  108. package/lib/typescript/src/components/Features/Lender/lenderSlice.d.ts.map +1 -1
  109. package/lib/typescript/src/components/Navigation/AppNavigator.d.ts.map +1 -1
  110. package/lib/typescript/src/components/Navigation/Screens.d.ts +1 -0
  111. package/lib/typescript/src/components/Navigation/Screens.d.ts.map +1 -1
  112. package/lib/typescript/src/controllers/Debt.d.ts +2 -2
  113. package/lib/typescript/src/controllers/Debt.d.ts.map +1 -1
  114. package/lib/typescript/src/controllers/Lender.d.ts +2 -0
  115. package/lib/typescript/src/controllers/Lender.d.ts.map +1 -1
  116. package/lib/typescript/src/screens/BuyDebt/Components/ListSuccess/ListSuccess.d.ts.map +1 -1
  117. package/lib/typescript/src/screens/ContractDetail/index.d.ts.map +1 -1
  118. package/lib/typescript/src/screens/CooperationAgreement/index.d.ts.map +1 -1
  119. package/lib/typescript/src/screens/DetailBuyDue/index.d.ts.map +1 -1
  120. package/lib/typescript/src/screens/DetailHistory/index.d.ts.map +1 -1
  121. package/lib/typescript/src/screens/ListLoan/index.d.ts.map +1 -1
  122. package/lib/typescript/src/screens/ScheduleMore/index.d.ts +4 -0
  123. package/lib/typescript/src/screens/ScheduleMore/index.d.ts.map +1 -0
  124. package/lib/typescript/src/screens/SellDebt/Tabs/Sold.d.ts.map +1 -1
  125. package/lib/typescript/src/screens/Transfer/Tabs/Buy.d.ts.map +1 -1
  126. package/lib/typescript/src/screens/Transfer/Tabs/Sell.d.ts.map +1 -1
  127. package/lib/typescript/src/screens/Transfer/index.d.ts.map +1 -1
  128. package/package.json +1 -1
  129. package/src/assets/images/Avatar/avatar_boy.png +0 -0
  130. package/src/assets/images/Avatar/avatar_girl.png +0 -0
  131. package/src/assets/images/HomePage/avatar_boy.png +0 -0
  132. package/src/assets/images/HomePage/avatar_girl.png +0 -0
  133. package/src/assets/images/HomePage/ic_down.png +0 -0
  134. package/src/assets/images/HomePage/ic_primary_star.png +0 -0
  135. package/src/assets/images/HomePage/ic_success_star.png +0 -0
  136. package/src/assets/images/HomePage/ic_up.png +0 -0
  137. package/src/assets/images/HomePage/index.ts +4 -0
  138. package/src/components/Features/Debt/debtSlice.ts +2 -2
  139. package/src/components/Features/Lender/lenderSlice.ts +16 -0
  140. package/src/components/Navigation/AppNavigator.tsx +8 -0
  141. package/src/components/Navigation/Screens.ts +1 -0
  142. package/src/controllers/Debt.ts +12 -4
  143. package/src/controllers/Lender.ts +23 -1
  144. package/src/screens/BuyDebt/Components/ListSuccess/ListSuccess.tsx +1 -0
  145. package/src/screens/ContractDetail/index.tsx +1 -0
  146. package/src/screens/CooperationAgreement/index.tsx +2 -1
  147. package/src/screens/DetailBuyDue/index.tsx +4 -15
  148. package/src/screens/DetailHistory/index.tsx +947 -603
  149. package/src/screens/ListLoan/index.tsx +61 -53
  150. package/src/screens/ScheduleMore/index.tsx +610 -0
  151. package/src/screens/SellDebt/Tabs/Sold.tsx +3 -2
  152. package/src/screens/Transfer/Tabs/Buy.tsx +8 -4
  153. package/src/screens/Transfer/Tabs/Sell.tsx +12 -3
  154. package/src/screens/Transfer/index.tsx +19 -18
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/images/HomePage/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCf,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/images/HomePage/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCf,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -13,6 +13,8 @@ export declare const getTransferBanks: any;
13
13
  export declare const deletePendingInvest: any;
14
14
  export declare const getMoneyInSafe: any;
15
15
  export declare const cancelWithdrawRequest: any;
16
+ export declare const getDetailLoanLender: any;
17
+ export declare const getPaymentSchedule: any;
16
18
  declare const reducer: any;
17
19
  export default reducer;
18
20
  //# sourceMappingURL=lenderSlice.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lenderSlice.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Features/Lender/lenderSlice.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,gBAAgB,KAM5B,CAAC;AAEF,eAAO,MAAM,mBAAmB,KAM/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,KAMjC,CAAC;AAEF,eAAO,MAAM,oBAAoB,KAMhC,CAAC;AAEF,eAAO,MAAM,oBAAoB,KAMhC,CAAC;AAEF,eAAO,MAAM,oBAAoB,KAMhC,CAAC;AAEF,eAAO,MAAM,YAAY,KAMxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,KAM7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,KAM9B,CAAC;AAEF,eAAO,MAAM,yBAAyB,KAMrC,CAAC;AAEF,eAAO,MAAM,kBAAkB,KAM9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,KAM5B,CAAC;AAEF,eAAO,MAAM,mBAAmB,KAM/B,CAAC;AAEF,eAAO,MAAM,cAAc,KAM1B,CAAC;AAEF,eAAO,MAAM,qBAAqB,KAMjC,CAAC;AAGF,QAAA,MAAiB,OAAO,KAAW,CAAC;AACpC,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"lenderSlice.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Features/Lender/lenderSlice.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,gBAAgB,KAM5B,CAAC;AAEF,eAAO,MAAM,mBAAmB,KAM/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,KAMjC,CAAC;AAEF,eAAO,MAAM,oBAAoB,KAMhC,CAAC;AAEF,eAAO,MAAM,oBAAoB,KAMhC,CAAC;AAEF,eAAO,MAAM,oBAAoB,KAMhC,CAAC;AAEF,eAAO,MAAM,YAAY,KAMxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,KAM7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,KAM9B,CAAC;AAEF,eAAO,MAAM,yBAAyB,KAMrC,CAAC;AAEF,eAAO,MAAM,kBAAkB,KAM9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,KAM5B,CAAC;AAEF,eAAO,MAAM,mBAAmB,KAM/B,CAAC;AAEF,eAAO,MAAM,cAAc,KAM1B,CAAC;AAEF,eAAO,MAAM,qBAAqB,KAMjC,CAAC;AAEF,eAAO,MAAM,mBAAmB,KAM/B,CAAC;AAEF,eAAO,MAAM,kBAAkB,KAM9B,CAAC;AAGF,QAAA,MAAiB,OAAO,KAAW,CAAC;AACpC,eAAe,OAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AppNavigator.d.ts","sourceRoot":"","sources":["../../../../../src/components/Navigation/AppNavigator.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAuFzC,QAAA,MAAM,YAAY,UAAW,GAAG,sBA2sB/B,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"AppNavigator.d.ts","sourceRoot":"","sources":["../../../../../src/components/Navigation/AppNavigator.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAwFzC,QAAA,MAAM,YAAY,UAAW,GAAG,sBAktB/B,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -83,6 +83,7 @@ declare const Screens: {
83
83
  OTPSignDebtContract: string;
84
84
  AvailableAmount: string;
85
85
  DetailDebt: string;
86
+ ScheduleMore: string;
86
87
  };
87
88
  export default Screens;
88
89
  //# sourceMappingURL=Screens.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Screens.d.ts","sourceRoot":"","sources":["../../../../../src/components/Navigation/Screens.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFZ,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Screens.d.ts","sourceRoot":"","sources":["../../../../../src/components/Navigation/Screens.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsFZ,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,6 +1,6 @@
1
1
  declare const Debt: {
2
- getBuyingDebtsTrading(params: number): Promise<import("axios").AxiosResponse<any>>;
3
- getSellingDebtsTrading(params: number): Promise<import("axios").AxiosResponse<any>>;
2
+ getBuyingDebtsTrading(params: number | number[]): Promise<import("axios").AxiosResponse<any>>;
3
+ getSellingDebtsTrading(params: number | number[]): Promise<import("axios").AxiosResponse<any>>;
4
4
  getBuyingPendingDebtsTrading(params: number | string): Promise<import("axios").AxiosResponse<any>>;
5
5
  getPushedDebtsTrading(params: number | string): Promise<import("axios").AxiosResponse<any>>;
6
6
  getMetConditionDebtsTrading(params: any): Promise<import("axios").AxiosResponse<any>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Debt.d.ts","sourceRoot":"","sources":["../../../../src/controllers/Debt.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,IAAI;kCAE4B,MAAM;mCAWL,MAAM;yCAWA,MAAM,GAAG,MAAM;kCAYtB,MAAM,GAAG,MAAM;;;;;;8BAmEnB,MAAM,GAAG,MAAM;uCAWN,MAAM,GAAG,MAAM;;+BAsBvB,MAAM,GAAG,MAAM;wCAWN,MAAM,GAAG,MAAM;;;0BAkC7B,MAAM;8BASF,MAAM;;;;CAuCvC,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Debt.d.ts","sourceRoot":"","sources":["../../../../src/controllers/Debt.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,IAAI;kCAE4B,MAAM,GAAG,MAAM,EAAE;mCAehB,MAAM,GAAG,MAAM,EAAE;yCAeX,MAAM,GAAG,MAAM;kCAYtB,MAAM,GAAG,MAAM;;;;;;8BAmEnB,MAAM,GAAG,MAAM;uCAWN,MAAM,GAAG,MAAM;;+BAsBvB,MAAM,GAAG,MAAM;wCAWN,MAAM,GAAG,MAAM;;;0BAkC7B,MAAM;8BASF,MAAM;;;;CAuCvC,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -23,6 +23,8 @@ declare const Lender: {
23
23
  Id: number;
24
24
  Money: string;
25
25
  }): Promise<import("axios").AxiosResponse<any>>;
26
+ detailLoanLender(loanId: number): Promise<import("axios").AxiosResponse<any>>;
27
+ paymentSchedule(loanId: number, status: number): Promise<import("axios").AxiosResponse<any>>;
26
28
  };
27
29
  export default Lender;
28
30
  //# sourceMappingURL=Lender.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Lender.d.ts","sourceRoot":"","sources":["../../../../src/controllers/Lender.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAG3C,QAAA,MAAM,MAAM;;gCAWwB,WAAW;kCAaT,WAAW;iCAaZ,WAAW;;;oCAiCR,MAAM,GAAG,MAAM;0BAYzB,MAAM,GAAG,MAAM;+BAYV,GAAG;;;+BAkCH;QAC/B,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;QAC7B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;QACvB,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;KAC3B;oCAYqC,MAAM,GAAG,MAAM;;2BAsBxB;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE;CAY3D,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Lender.d.ts","sourceRoot":"","sources":["../../../../src/controllers/Lender.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAG3C,QAAA,MAAM,MAAM;;gCAWwB,WAAW;kCAaT,WAAW;iCAaZ,WAAW;;;oCAiCR,MAAM,GAAG,MAAM;0BAYzB,MAAM,GAAG,MAAM;+BAYV,GAAG;;;+BAkCH;QAC/B,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;QAC7B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;QACvB,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;KAC3B;oCAYqC,MAAM,GAAG,MAAM;;2BAsBxB;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE;6BAa3B,MAAM;4BAUP,MAAM,UAAU,MAAM;CAWrD,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ListSuccess.d.ts","sourceRoot":"","sources":["../../../../../../../src/screens/BuyDebt/Components/ListSuccess/ListSuccess.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAehE,QAAA,MAAM,WAAW,yBAoRhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"ListSuccess.d.ts","sourceRoot":"","sources":["../../../../../../../src/screens/BuyDebt/Components/ListSuccess/ListSuccess.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAehE,QAAA,MAAM,WAAW,yBAqRhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ContractDetail/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAsC,MAAM,OAAO,CAAC;AA+B3D,eAAO,MAAM,cAAc,0BAA2B,GAAG,sBAqOxD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ContractDetail/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAsC,MAAM,OAAO,CAAC;AA+B3D,eAAO,MAAM,cAAc,0BAA2B,GAAG,sBAsOxD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/CooperationAgreement/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAmBnD,QAAA,MAAM,oBAAoB,mBAAoB,GAAG,sBA4JhD,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/CooperationAgreement/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAmBnD,QAAA,MAAM,oBAAoB,mBAAoB,GAAG,sBA6JhD,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/DetailBuyDue/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAgBnD,eAAO,MAAM,YAAY,0BAA2B,GAAG,sBA+EtD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/DetailBuyDue/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAgBnD,eAAO,MAAM,YAAY,0BAA2B,GAAG,sBAoEtD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/DetailHistory/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAoCnD,eAAO,MAAM,aAAa,0BAA2B,GAAG,sBA0/BvD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/DetailHistory/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAuChE,eAAO,MAAM,aAAa,0BAA2B,GAAG,sBA+0CvD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ListLoan/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAkD3D,eAAO,MAAM,QAAQ,0BAA2B,GAAG,sBA0gBlD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ListLoan/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAmD3D,eAAO,MAAM,QAAQ,0BAA2B,GAAG,sBAihBlD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ declare const ScheduleMoreScreen: ({ navigation, route }: any) => React.JSX.Element;
3
+ export default ScheduleMoreScreen;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ScheduleMore/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAuBzE,QAAA,MAAM,kBAAkB,0BAA2B,GAAG,sBAskBrD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Sold.d.ts","sourceRoot":"","sources":["../../../../../../src/screens/SellDebt/Tabs/Sold.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAiBnD,QAAA,MAAM,IAAI,yBAqVT,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Sold.d.ts","sourceRoot":"","sources":["../../../../../../src/screens/SellDebt/Tabs/Sold.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAiBnD,QAAA,MAAM,IAAI,yBAsVT,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Buy.d.ts","sourceRoot":"","sources":["../../../../../../src/screens/Transfer/Tabs/Buy.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAqBnD,QAAA,MAAM,GAAG,mCAmPR,CAAC;AAEF,eAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"Buy.d.ts","sourceRoot":"","sources":["../../../../../../src/screens/Transfer/Tabs/Buy.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAqBnD,QAAA,MAAM,GAAG,mCAuPR,CAAC;AAEF,eAAe,GAAG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Sell.d.ts","sourceRoot":"","sources":["../../../../../../src/screens/Transfer/Tabs/Sell.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAqBxC,QAAA,MAAM,IAAI,mCAkPT,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Sell.d.ts","sourceRoot":"","sources":["../../../../../../src/screens/Transfer/Tabs/Sell.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAqBnD,QAAA,MAAM,IAAI,mCA2PT,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/Transfer/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsC,MAAM,OAAO,CAAC;AA6B3D,QAAA,MAAM,QAAQ,0BAA2B,GAAG,sBAkT3C,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/Transfer/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsC,MAAM,OAAO,CAAC;AA6B3D,QAAA,MAAM,QAAQ,0BAA2B,GAAG,sBAmT3C,CAAC;AAEF,eAAe,QAAQ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tima2025/react-native-timalender",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "Tima Investor SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -10,6 +10,8 @@ const HomeImages = {
10
10
  ic_fast_speed: require('./ic_fast_speed.png'),
11
11
  ic_money_interest: require('./ic_money_interest.png'),
12
12
  ic_insurance: require('./ic_insurance.png'),
13
+ ic_down: require('./ic_down.png'),
14
+ ic_up: require('./ic_up.png'),
13
15
  ic_status: require('./ic_status.png'),
14
16
  ic_debt: require('./ic_debt.png'),
15
17
  ic_product: require('./ic_product.png'),
@@ -30,6 +32,8 @@ const HomeImages = {
30
32
  ic_chart_3: require('./ic_chart_3.png'),
31
33
  bg_dashboard: require('./bg_dashboard.png'),
32
34
  bg_card: require('./bg_card.png'),
35
+ ic_primary_star: require('./ic_primary_star.png'),
36
+ ic_success_star: require('./ic_success_star.png'),
33
37
  };
34
38
 
35
39
  export default HomeImages;
@@ -12,7 +12,7 @@ const debt = createSlice({
12
12
 
13
13
  export const getBuyingDebtsTrading = createAsyncThunk(
14
14
  'debt/getBuyingDebtsTrading',
15
- async (params: number) => {
15
+ async (params: number | number[]) => {
16
16
  const resp = await Debt.getBuyingDebtsTrading(params);
17
17
  return resp;
18
18
  }
@@ -20,7 +20,7 @@ export const getBuyingDebtsTrading = createAsyncThunk(
20
20
 
21
21
  export const getSellingDebtsTrading = createAsyncThunk(
22
22
  'debt/getSellingDebtsTrading',
23
- async (params: number) => {
23
+ async (params: number | number[]) => {
24
24
  const resp = await Debt.getSellingDebtsTrading(params);
25
25
  return resp;
26
26
  }
@@ -131,6 +131,22 @@ export const cancelWithdrawRequest = createAsyncThunk(
131
131
  }
132
132
  );
133
133
 
134
+ export const getDetailLoanLender = createAsyncThunk(
135
+ 'lender/getDetailLoanLender',
136
+ async (loanId: number) => {
137
+ const resp = await Lender.detailLoanLender(loanId);
138
+ return resp;
139
+ }
140
+ );
141
+
142
+ export const getPaymentSchedule = createAsyncThunk(
143
+ 'lender/getPaymentSchedule',
144
+ async (params: { loanId: number; status: number }) => {
145
+ const resp = await Lender.paymentSchedule(params.loanId, params.status);
146
+ return resp;
147
+ }
148
+ );
149
+
134
150
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
135
151
  const { actions, reducer } = lender;
136
152
  export default reducer;
@@ -71,6 +71,7 @@ import { OTP } from '../../screens/OTP';
71
71
  import OTPSignDebtContract from '../../screens/OTPSignDebtContract';
72
72
  import { PassCode } from '../../screens/PassCode';
73
73
  import ReceivedLoan from '../../screens/ReceivedLoan';
74
+ import ScheduleMoreScreen from '../../screens/ScheduleMore';
74
75
  import SellDebt from '../../screens/SellDebt';
75
76
  import { SignContractGpayTima } from '../../screens/SignContractGpayTima';
76
77
  import ConfirmContact from '../../screens/SignContractGpayTima/ConfirmContact';
@@ -802,6 +803,13 @@ const AppNavigator = (props: any) => {
802
803
  headerShown: false,
803
804
  }}
804
805
  />
806
+ <Stack.Screen
807
+ name={Screens.ScheduleMore}
808
+ component={ScheduleMoreScreen}
809
+ options={{
810
+ headerShown: false,
811
+ }}
812
+ />
805
813
  </Stack.Navigator>
806
814
  );
807
815
  };
@@ -83,6 +83,7 @@ const Screens = {
83
83
  OTPSignDebtContract: 'OTPSignDebtContract',
84
84
  AvailableAmount: 'AvailableAmount',
85
85
  DetailDebt: 'DetailDebt',
86
+ ScheduleMore: 'ScheduleMore',
86
87
  };
87
88
 
88
89
  export default Screens;
@@ -5,10 +5,14 @@ import client from './Client';
5
5
 
6
6
  const Debt = {
7
7
  // status = -111 tất cả,2 chờ ký,3 chờ nđt bán ký, 7 hoàn tất
8
- async getBuyingDebtsTrading(params: number) {
8
+ async getBuyingDebtsTrading(params: number | number[]) {
9
9
  try {
10
+ const query = Array.isArray(params)
11
+ ? params.join(',')
12
+ : params.toString();
13
+
10
14
  const res = await client.get(
11
- `/api/stats/get_buying_debts_trading?status=${params}`
15
+ `/api/stats/get_buying_debts_trading?status=${query}`
12
16
  );
13
17
  return res;
14
18
  } catch (err) {
@@ -16,10 +20,14 @@ const Debt = {
16
20
  }
17
21
  },
18
22
 
19
- async getSellingDebtsTrading(params: number) {
23
+ async getSellingDebtsTrading(params: number | number[]) {
20
24
  try {
25
+ const query = Array.isArray(params)
26
+ ? params.join(',')
27
+ : params.toString();
28
+
21
29
  const res = await client.get(
22
- `/api/stats/get_selling_debts_trading?status=${params}`
30
+ `/api/stats/get_selling_debts_trading?status=${query}`
23
31
  );
24
32
  return res;
25
33
  } catch (err) {
@@ -173,7 +173,7 @@ const Lender = {
173
173
  async cancelWithdraw(params: { Id: number; Money: string }) {
174
174
  try {
175
175
  const res = await client.post(
176
- `/api/stats/cancel_withdraw_request`,
176
+ '/api/stats/cancel_withdraw_request',
177
177
  params
178
178
  );
179
179
  return res;
@@ -182,6 +182,28 @@ const Lender = {
182
182
  throw err;
183
183
  }
184
184
  },
185
+
186
+ async detailLoanLender(loanId: number) {
187
+ try {
188
+ const res = await client.get(`/api/loans/${loanId}/details`);
189
+ return res;
190
+ } catch (err) {
191
+ WToastShowError(err);
192
+ throw err;
193
+ }
194
+ },
195
+
196
+ async paymentSchedule(loanId: number, status: number) {
197
+ try {
198
+ const res = await client.get(
199
+ `/api/loans/${loanId}/payment_schedule?status=${status}`
200
+ );
201
+ return res;
202
+ } catch (err) {
203
+ WToastShowError(err);
204
+ throw err;
205
+ }
206
+ },
185
207
  };
186
208
 
187
209
  export default Lender;
@@ -281,6 +281,7 @@ const ListSuccess = () => {
281
281
  tintColor={Colors.ORANGE_H}
282
282
  />
283
283
  }
284
+ contentContainerStyle={{ paddingBottom: 200 }}
284
285
  data={data}
285
286
  stickyHeaderIndices={[0]}
286
287
  keyExtractor={(item, index) =>
@@ -244,6 +244,7 @@ export const ContractDetail = ({ route, navigation }: any) => {
244
244
  <FlatList
245
245
  data={listContracts?.detailData}
246
246
  keyExtractor={(item, index) => `${index}`}
247
+ contentContainerStyle={{ paddingBottom: 40 }}
247
248
  renderItem={_renderItem}
248
249
  ListEmptyComponent={() => <EmptyView text="Không có hợp đồng nào" />}
249
250
  />
@@ -59,7 +59,7 @@ const CooperationAgreement = ({ navigation }: any) => {
59
59
  />
60
60
  <View>
61
61
  <RText textStyle={{ fontWeight: '600' }}>
62
- Phụ đính {item?.contractNumber}
62
+ {item?.contractNumber}
63
63
  </RText>
64
64
  {/* {item?.statusEsign === 2 && (
65
65
  <FlexRow
@@ -170,6 +170,7 @@ const CooperationAgreement = ({ navigation }: any) => {
170
170
  ListEmptyComponent={<EmptyView text={'Trống'} />}
171
171
  keyExtractor={(item, index) => item?.id}
172
172
  renderItem={_renderItem}
173
+ contentContainerStyle={{ paddingBottom: 120 }}
173
174
  />
174
175
  </View>
175
176
  {isLoading && <Loading />}
@@ -54,27 +54,16 @@ export const DetailBuyDue = ({ navigation, route }: any) => {
54
54
  title="Hợp đồng"
55
55
  onPress={() => navigation.navigate('MyBank.Main')}
56
56
  />
57
- <View
58
- style={{
59
- width: '100%',
60
- height: '100%',
61
- }}
62
- >
57
+ <View style={{ flex: 1 }}>
63
58
  <Pdf
64
59
  showsVerticalScrollIndicator={false}
65
60
  source={{ uri: data?.url, cache: true }}
66
- style={{ width: '100%', height: '100%' }}
61
+ style={{ flex: 1 }}
67
62
  trustAllCerts={false}
68
63
  />
69
- <View
70
- style={{
71
- position: 'absolute',
72
- width: '100%',
73
- bottom: actuatedNormalize(100),
74
- }}
75
- >
64
+ <View style={{ padding: actuatedNormalize(16) }}>
76
65
  <Button
77
- text={'Ký hợp đồng'}
66
+ text="Ký hợp đồng"
78
67
  onPress={onSubmit}
79
68
  buttonStyle={{
80
69
  marginBottom: actuatedNormalize(32),