@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.
- package/lib/commonjs/assets/images/Avatar/avatar_boy.png +0 -0
- package/lib/commonjs/assets/images/Avatar/avatar_girl.png +0 -0
- package/lib/commonjs/assets/images/HomePage/avatar_boy.png +0 -0
- package/lib/commonjs/assets/images/HomePage/avatar_girl.png +0 -0
- package/lib/commonjs/assets/images/HomePage/ic_down.png +0 -0
- package/lib/commonjs/assets/images/HomePage/ic_primary_star.png +0 -0
- package/lib/commonjs/assets/images/HomePage/ic_success_star.png +0 -0
- package/lib/commonjs/assets/images/HomePage/ic_up.png +0 -0
- package/lib/commonjs/assets/images/HomePage/index.js +1 -1
- package/lib/commonjs/assets/images/HomePage/index.js.flow +4 -0
- package/lib/commonjs/assets/images/HomePage/index.js.map +1 -1
- package/lib/commonjs/components/Features/Debt/debtSlice.js.flow +2 -2
- package/lib/commonjs/components/Features/Debt/debtSlice.js.map +1 -1
- package/lib/commonjs/components/Features/Lender/lenderSlice.js +1 -1
- package/lib/commonjs/components/Features/Lender/lenderSlice.js.flow +16 -0
- package/lib/commonjs/components/Features/Lender/lenderSlice.js.map +1 -1
- package/lib/commonjs/components/Navigation/AppNavigator.js +1 -1
- package/lib/commonjs/components/Navigation/AppNavigator.js.flow +8 -0
- package/lib/commonjs/components/Navigation/AppNavigator.js.map +1 -1
- package/lib/commonjs/components/Navigation/Screens.js +1 -1
- package/lib/commonjs/components/Navigation/Screens.js.flow +1 -0
- package/lib/commonjs/components/Navigation/Screens.js.map +1 -1
- package/lib/commonjs/controllers/Debt.js +1 -1
- package/lib/commonjs/controllers/Debt.js.flow +12 -4
- package/lib/commonjs/controllers/Debt.js.map +1 -1
- package/lib/commonjs/controllers/Lender.js +1 -1
- package/lib/commonjs/controllers/Lender.js.flow +23 -1
- package/lib/commonjs/controllers/Lender.js.map +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListSuccess/ListSuccess.js +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListSuccess/ListSuccess.js.flow +1 -0
- package/lib/commonjs/screens/BuyDebt/Components/ListSuccess/ListSuccess.js.map +1 -1
- package/lib/commonjs/screens/ContractDetail/index.js +1 -1
- package/lib/commonjs/screens/ContractDetail/index.js.flow +1 -0
- package/lib/commonjs/screens/ContractDetail/index.js.map +1 -1
- package/lib/commonjs/screens/CooperationAgreement/index.js +1 -1
- package/lib/commonjs/screens/CooperationAgreement/index.js.flow +2 -1
- package/lib/commonjs/screens/CooperationAgreement/index.js.map +1 -1
- package/lib/commonjs/screens/DetailBuyDue/index.js +1 -1
- package/lib/commonjs/screens/DetailBuyDue/index.js.flow +4 -15
- package/lib/commonjs/screens/DetailBuyDue/index.js.map +1 -1
- package/lib/commonjs/screens/DetailHistory/index.js +1 -1
- package/lib/commonjs/screens/DetailHistory/index.js.flow +947 -603
- package/lib/commonjs/screens/DetailHistory/index.js.map +1 -1
- package/lib/commonjs/screens/ListLoan/index.js +1 -1
- package/lib/commonjs/screens/ListLoan/index.js.flow +61 -53
- package/lib/commonjs/screens/ListLoan/index.js.map +1 -1
- package/lib/commonjs/screens/ScheduleMore/index.js +2 -0
- package/lib/commonjs/screens/ScheduleMore/index.js.flow +610 -0
- package/lib/commonjs/screens/ScheduleMore/index.js.map +1 -0
- package/lib/commonjs/screens/SellDebt/Tabs/Sold.js +1 -1
- package/lib/commonjs/screens/SellDebt/Tabs/Sold.js.flow +3 -2
- package/lib/commonjs/screens/SellDebt/Tabs/Sold.js.map +1 -1
- package/lib/commonjs/screens/Transfer/Tabs/Buy.js +1 -1
- package/lib/commonjs/screens/Transfer/Tabs/Buy.js.flow +8 -4
- package/lib/commonjs/screens/Transfer/Tabs/Buy.js.map +1 -1
- package/lib/commonjs/screens/Transfer/Tabs/Sell.js +1 -1
- package/lib/commonjs/screens/Transfer/Tabs/Sell.js.flow +12 -3
- package/lib/commonjs/screens/Transfer/Tabs/Sell.js.map +1 -1
- package/lib/commonjs/screens/Transfer/index.js +1 -1
- package/lib/commonjs/screens/Transfer/index.js.flow +19 -18
- package/lib/commonjs/screens/Transfer/index.js.map +1 -1
- package/lib/module/assets/images/Avatar/avatar_boy.png +0 -0
- package/lib/module/assets/images/Avatar/avatar_girl.png +0 -0
- package/lib/module/assets/images/HomePage/avatar_boy.png +0 -0
- package/lib/module/assets/images/HomePage/avatar_girl.png +0 -0
- package/lib/module/assets/images/HomePage/ic_down.png +0 -0
- package/lib/module/assets/images/HomePage/ic_primary_star.png +0 -0
- package/lib/module/assets/images/HomePage/ic_success_star.png +0 -0
- package/lib/module/assets/images/HomePage/ic_up.png +0 -0
- package/lib/module/assets/images/HomePage/index.js +1 -1
- package/lib/module/assets/images/HomePage/index.js.map +1 -1
- package/lib/module/components/Features/Debt/debtSlice.js.map +1 -1
- package/lib/module/components/Features/Lender/lenderSlice.js +1 -1
- package/lib/module/components/Features/Lender/lenderSlice.js.map +1 -1
- package/lib/module/components/Navigation/AppNavigator.js +1 -1
- package/lib/module/components/Navigation/AppNavigator.js.map +1 -1
- package/lib/module/components/Navigation/Screens.js +1 -1
- package/lib/module/components/Navigation/Screens.js.map +1 -1
- package/lib/module/controllers/Debt.js +1 -1
- package/lib/module/controllers/Debt.js.map +1 -1
- package/lib/module/controllers/Lender.js +1 -1
- package/lib/module/controllers/Lender.js.map +1 -1
- package/lib/module/screens/BuyDebt/Components/ListSuccess/ListSuccess.js +1 -1
- package/lib/module/screens/BuyDebt/Components/ListSuccess/ListSuccess.js.map +1 -1
- package/lib/module/screens/ContractDetail/index.js +1 -1
- package/lib/module/screens/ContractDetail/index.js.map +1 -1
- package/lib/module/screens/CooperationAgreement/index.js +1 -1
- package/lib/module/screens/CooperationAgreement/index.js.map +1 -1
- package/lib/module/screens/DetailBuyDue/index.js +1 -1
- package/lib/module/screens/DetailBuyDue/index.js.map +1 -1
- package/lib/module/screens/DetailHistory/index.js +1 -1
- package/lib/module/screens/DetailHistory/index.js.map +1 -1
- package/lib/module/screens/ListLoan/index.js +1 -1
- package/lib/module/screens/ListLoan/index.js.map +1 -1
- package/lib/module/screens/ScheduleMore/index.js +2 -0
- package/lib/module/screens/ScheduleMore/index.js.map +1 -0
- package/lib/module/screens/SellDebt/Tabs/Sold.js +1 -1
- package/lib/module/screens/SellDebt/Tabs/Sold.js.map +1 -1
- package/lib/module/screens/Transfer/Tabs/Buy.js +1 -1
- package/lib/module/screens/Transfer/Tabs/Buy.js.map +1 -1
- package/lib/module/screens/Transfer/Tabs/Sell.js +1 -1
- package/lib/module/screens/Transfer/Tabs/Sell.js.map +1 -1
- package/lib/module/screens/Transfer/index.js +1 -1
- package/lib/module/screens/Transfer/index.js.map +1 -1
- package/lib/typescript/src/assets/images/HomePage/index.d.ts +4 -0
- package/lib/typescript/src/assets/images/HomePage/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Features/Lender/lenderSlice.d.ts +2 -0
- package/lib/typescript/src/components/Features/Lender/lenderSlice.d.ts.map +1 -1
- package/lib/typescript/src/components/Navigation/AppNavigator.d.ts.map +1 -1
- package/lib/typescript/src/components/Navigation/Screens.d.ts +1 -0
- package/lib/typescript/src/components/Navigation/Screens.d.ts.map +1 -1
- package/lib/typescript/src/controllers/Debt.d.ts +2 -2
- package/lib/typescript/src/controllers/Debt.d.ts.map +1 -1
- package/lib/typescript/src/controllers/Lender.d.ts +2 -0
- package/lib/typescript/src/controllers/Lender.d.ts.map +1 -1
- package/lib/typescript/src/screens/BuyDebt/Components/ListSuccess/ListSuccess.d.ts.map +1 -1
- package/lib/typescript/src/screens/ContractDetail/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/CooperationAgreement/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/DetailBuyDue/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/DetailHistory/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/ListLoan/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/ScheduleMore/index.d.ts +4 -0
- package/lib/typescript/src/screens/ScheduleMore/index.d.ts.map +1 -0
- package/lib/typescript/src/screens/SellDebt/Tabs/Sold.d.ts.map +1 -1
- package/lib/typescript/src/screens/Transfer/Tabs/Buy.d.ts.map +1 -1
- package/lib/typescript/src/screens/Transfer/Tabs/Sell.d.ts.map +1 -1
- package/lib/typescript/src/screens/Transfer/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/assets/images/Avatar/avatar_boy.png +0 -0
- package/src/assets/images/Avatar/avatar_girl.png +0 -0
- package/src/assets/images/HomePage/avatar_boy.png +0 -0
- package/src/assets/images/HomePage/avatar_girl.png +0 -0
- package/src/assets/images/HomePage/ic_down.png +0 -0
- package/src/assets/images/HomePage/ic_primary_star.png +0 -0
- package/src/assets/images/HomePage/ic_success_star.png +0 -0
- package/src/assets/images/HomePage/ic_up.png +0 -0
- package/src/assets/images/HomePage/index.ts +4 -0
- package/src/components/Features/Debt/debtSlice.ts +2 -2
- package/src/components/Features/Lender/lenderSlice.ts +16 -0
- package/src/components/Navigation/AppNavigator.tsx +8 -0
- package/src/components/Navigation/Screens.ts +1 -0
- package/src/controllers/Debt.ts +12 -4
- package/src/controllers/Lender.ts +23 -1
- package/src/screens/BuyDebt/Components/ListSuccess/ListSuccess.tsx +1 -0
- package/src/screens/ContractDetail/index.tsx +1 -0
- package/src/screens/CooperationAgreement/index.tsx +2 -1
- package/src/screens/DetailBuyDue/index.tsx +4 -15
- package/src/screens/DetailHistory/index.tsx +947 -603
- package/src/screens/ListLoan/index.tsx +61 -53
- package/src/screens/ScheduleMore/index.tsx +610 -0
- package/src/screens/SellDebt/Tabs/Sold.tsx +3 -2
- package/src/screens/Transfer/Tabs/Buy.tsx +8 -4
- package/src/screens/Transfer/Tabs/Sell.tsx +12 -3
- 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
|
|
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;
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Screens.d.ts","sourceRoot":"","sources":["../../../../../src/components/Navigation/Screens.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,OAAO
|
|
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;
|
|
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;
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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;
|
|
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 @@
|
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -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
|
};
|
package/src/controllers/Debt.ts
CHANGED
|
@@ -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=${
|
|
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=${
|
|
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
|
-
|
|
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;
|
|
@@ -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
|
-
|
|
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={{
|
|
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=
|
|
66
|
+
text="Ký hợp đồng"
|
|
78
67
|
onPress={onSubmit}
|
|
79
68
|
buttonStyle={{
|
|
80
69
|
marginBottom: actuatedNormalize(32),
|