@huma-finance/widgets 0.0.48-beta.202 → 0.0.48-beta.279
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/API.md +407 -0
- package/dist/cjs/index.cjs +6063 -3827
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/index.d.ts +248 -1
- package/dist/index.js +6056 -3829
- package/dist/index.js.map +1 -1
- package/package.json +5 -4
- package/src/components/ApproveAllowanceModal.tsx +3 -8
- package/src/components/ApproveAllowanceModalV2.tsx +141 -0
- package/src/components/CreditLine/approve/index.tsx +9 -3
- package/src/components/CreditLine/autoPaybackV2/1-ApproveAllowance.tsx +33 -0
- package/src/components/CreditLine/autoPaybackV2/2-Success.tsx +13 -0
- package/src/components/CreditLine/autoPaybackV2/index.tsx +87 -0
- package/src/components/CreditLine/borrow/2-ChooseAmount.tsx +12 -3
- package/src/components/CreditLine/borrow/index.tsx +4 -2
- package/src/components/CreditLine/borrowV2/1-ChooseAmount.tsx +79 -0
- package/src/components/CreditLine/borrowV2/2-ApproveAllowance.tsx +33 -0
- package/src/components/CreditLine/borrowV2/3-Transfer.tsx +50 -0
- package/src/components/CreditLine/borrowV2/4-Success.tsx +41 -0
- package/src/components/CreditLine/borrowV2/5-Notifications.tsx +10 -0
- package/src/components/CreditLine/borrowV2/index.tsx +140 -0
- package/src/components/CreditLine/payment/1-ChooseAmount.tsx +7 -2
- package/src/components/CreditLine/payment/index.tsx +4 -2
- package/src/components/CreditLine/paymentV2/1-ChooseAmount.tsx +86 -0
- package/src/components/CreditLine/paymentV2/2-ApproveAllowance.tsx +33 -0
- package/src/components/CreditLine/paymentV2/3-Transfer.tsx +55 -0
- package/src/components/CreditLine/paymentV2/4-Success.tsx +42 -0
- package/src/components/CreditLine/paymentV2/index.tsx +111 -0
- package/src/components/CreditLine/supplyFLC/1-ApproveAllowance.tsx +40 -0
- package/src/components/CreditLine/supplyFLC/2-Transfer.tsx +53 -0
- package/src/components/CreditLine/supplyFLC/3-Success.tsx +26 -0
- package/src/components/CreditLine/supplyFLC/index.tsx +121 -0
- package/src/components/Factoring/FactoredList.tsx +2 -1
- package/src/components/InvoiceFactoring/borrow/2-ChooseAmount.tsx +8 -1
- package/src/components/InvoiceFactoring/borrow/4-ApproveNFT.tsx +6 -2
- package/src/components/InvoiceFactoring/borrow/index.tsx +9 -3
- package/src/components/InvoiceFactoring/payment/1-ChooseAmount.tsx +7 -2
- package/src/components/InvoiceFactoring/payment/index.tsx +9 -3
- package/src/components/Lend/redeemV2/1-ChooseAction.tsx +236 -0
- package/src/components/Lend/redeemV2/2-ChooseAmount.tsx +162 -0
- package/src/components/Lend/redeemV2/3-Transfer.tsx +61 -0
- package/src/components/Lend/redeemV2/4-Done.tsx +33 -0
- package/src/components/Lend/redeemV2/index.tsx +207 -0
- package/src/components/Lend/supply/1-Evaluation/EvaluationKYC.tsx +19 -2
- package/src/components/Lend/supply/index.tsx +17 -3
- package/src/components/Lend/supplyV2/1-ChooseTranche.tsx +155 -0
- package/src/components/Lend/supplyV2/2-Evaluation.tsx +345 -0
- package/src/components/Lend/supplyV2/3-ChooseAmount.tsx +122 -0
- package/src/components/Lend/supplyV2/4-ApproveAllowance.tsx +33 -0
- package/src/components/Lend/supplyV2/5-Transfer.tsx +59 -0
- package/src/components/Lend/supplyV2/6-Success.tsx +79 -0
- package/src/components/Lend/supplyV2/7-Notifications.tsx +10 -0
- package/src/components/Lend/supplyV2/index.tsx +127 -0
- package/src/components/Lend/withdraw/1-CheckWithdrawble.tsx +5 -1
- package/src/components/Lend/withdraw/2-ChooseAmount.tsx +1 -7
- package/src/components/Lend/withdraw/index.tsx +8 -13
- package/src/components/Lend/withdrawV2/1-ChooseTranche.tsx +201 -0
- package/src/components/Lend/withdrawV2/2-Transfer.tsx +48 -0
- package/src/components/Lend/withdrawV2/3-Done.tsx +31 -0
- package/src/components/Lend/withdrawV2/index.tsx +129 -0
- package/src/components/Notifi/NotifiSubscriptionModal.tsx +29 -37
- package/src/components/NumericFormatCustom.tsx +31 -0
- package/src/components/ReceivableBackedCreditLine/borrow/1-ChooseAmount.tsx +101 -0
- package/src/components/ReceivableBackedCreditLine/borrow/2-ApproveAllowance.tsx +33 -0
- package/src/components/ReceivableBackedCreditLine/borrow/3-ApproveReceivable.tsx +64 -0
- package/src/components/ReceivableBackedCreditLine/borrow/4-Transfer.tsx +61 -0
- package/src/components/ReceivableBackedCreditLine/borrow/5-Success.tsx +41 -0
- package/src/components/ReceivableBackedCreditLine/borrow/6-Notifications.tsx +10 -0
- package/src/components/ReceivableBackedCreditLine/borrow/index.tsx +148 -0
- package/src/components/ReceivableBackedCreditLine/payment/1-ChoosePaymentType.tsx +115 -0
- package/src/components/ReceivableBackedCreditLine/payment/2-ChooseAmount.tsx +84 -0
- package/src/components/ReceivableBackedCreditLine/payment/3-ApproveAllowance.tsx +41 -0
- package/src/components/ReceivableBackedCreditLine/payment/4-CreateReceivable.tsx +107 -0
- package/src/components/ReceivableBackedCreditLine/payment/5-ApproveReceivable.tsx +64 -0
- package/src/components/ReceivableBackedCreditLine/payment/6-Transfer.tsx +107 -0
- package/src/components/ReceivableBackedCreditLine/payment/7-Success.tsx +49 -0
- package/src/components/ReceivableBackedCreditLine/payment/index.tsx +159 -0
- package/src/components/StreamFactoring/borrow/1-Evaluation.tsx +3 -4
- package/src/components/StreamFactoring/borrow/2-ChooseAmount.tsx +23 -22
- package/src/components/StreamFactoring/borrow/3-ConfirmTransfer.tsx +8 -3
- package/src/components/StreamFactoring/borrow/5-Permit.tsx +35 -2
- package/src/components/StreamFactoring/borrow/6-Transfer.tsx +3 -1
- package/src/components/StreamFactoring/borrow/index.tsx +4 -3
- package/src/components/SuperfluidFactoring/SuperfluidFactoredList.tsx +2 -2
- package/src/components/SuperfluidFactoring/SuperfluidUpcomingList.tsx +1 -3
- package/src/components/TxDoneModal.tsx +1 -1
- package/src/components/TxSendModal.tsx +8 -2
- package/src/components/TxSendModalV2.tsx +51 -0
- package/src/index.tsx +239 -1
- package/src/store/widgets.reducers.ts +15 -0
- package/src/store/widgets.store.ts +6 -0
package/dist/index.d.ts
CHANGED
|
@@ -21,6 +21,19 @@ type CreditLineApproveProps = {
|
|
|
21
21
|
handleSuccess?: (blockNumber?: number) => void;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
+
/**
|
|
25
|
+
* Auto payback props V2
|
|
26
|
+
* @typedef {Object} AutoPaybackPropsV2
|
|
27
|
+
* @property {POOL_NAME} poolName The name of the pool.
|
|
28
|
+
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
29
|
+
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the credit line pool borrow action is successful.
|
|
30
|
+
*/
|
|
31
|
+
interface AutoPaybackPropsV2 {
|
|
32
|
+
poolName: keyof typeof POOL_NAME;
|
|
33
|
+
handleClose: () => void;
|
|
34
|
+
handleSuccess?: (blockNumber?: number) => void;
|
|
35
|
+
}
|
|
36
|
+
|
|
24
37
|
/**
|
|
25
38
|
* Credit line pool borrow props
|
|
26
39
|
* @typedef {Object} CreditLineBorrowProps
|
|
@@ -38,6 +51,19 @@ interface CreditLineBorrowProps {
|
|
|
38
51
|
handleSuccess?: (blockNumber?: number) => void;
|
|
39
52
|
}
|
|
40
53
|
|
|
54
|
+
/**
|
|
55
|
+
* Credit line pool borrow props V2
|
|
56
|
+
* @typedef {Object} CreditLineBorrowPropsV2
|
|
57
|
+
* @property {POOL_NAME} poolName The name of the pool.
|
|
58
|
+
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
59
|
+
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the credit line pool borrow action is successful.
|
|
60
|
+
*/
|
|
61
|
+
interface CreditLineBorrowPropsV2 {
|
|
62
|
+
poolName: keyof typeof POOL_NAME;
|
|
63
|
+
handleClose: () => void;
|
|
64
|
+
handleSuccess?: (blockNumber?: number) => void;
|
|
65
|
+
}
|
|
66
|
+
|
|
41
67
|
/**
|
|
42
68
|
* Credit line pool payment props
|
|
43
69
|
* @typedef {Object} CreditLinePaymentProps
|
|
@@ -53,6 +79,32 @@ type CreditLinePaymentProps = {
|
|
|
53
79
|
handleSuccess?: (blockNumber?: number) => void;
|
|
54
80
|
};
|
|
55
81
|
|
|
82
|
+
/**
|
|
83
|
+
* Credit line pool payment props V2
|
|
84
|
+
* @typedef {Object} CreditLinePaymentPropsV2
|
|
85
|
+
* @property {POOL_NAME} poolName The name of the pool.
|
|
86
|
+
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
87
|
+
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the credit line pool payment action is successful.
|
|
88
|
+
*/
|
|
89
|
+
type CreditLinePaymentPropsV2 = {
|
|
90
|
+
poolName: keyof typeof POOL_NAME;
|
|
91
|
+
handleClose: () => void;
|
|
92
|
+
handleSuccess?: (blockNumber?: number) => void;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Supply first loss cover props
|
|
97
|
+
* @typedef {Object} SupplyFirstLossCoverProps
|
|
98
|
+
* @property {POOL_NAME} poolName The name of the pool.
|
|
99
|
+
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
100
|
+
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the credit line pool borrow action is successful.
|
|
101
|
+
*/
|
|
102
|
+
interface SupplyFirstLossCoverProps {
|
|
103
|
+
poolName: keyof typeof POOL_NAME;
|
|
104
|
+
handleClose: () => void;
|
|
105
|
+
handleSuccess?: (blockNumber?: number) => void;
|
|
106
|
+
}
|
|
107
|
+
|
|
56
108
|
/**
|
|
57
109
|
* Invoice factoring pool borrow props
|
|
58
110
|
* @typedef {Object} InvoiceFactoringBorrowProps
|
|
@@ -85,6 +137,19 @@ type InvoiceFactoringPaymentProps = {
|
|
|
85
137
|
handleSuccess?: (blockNumber?: number) => void;
|
|
86
138
|
};
|
|
87
139
|
|
|
140
|
+
/**
|
|
141
|
+
* Lend pool withdraw props
|
|
142
|
+
* @typedef {Object} LendRedeemPropsV2
|
|
143
|
+
* @property {POOL_NAME} poolName The name of the pool.
|
|
144
|
+
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
145
|
+
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the lending pool withdraw action is successful.
|
|
146
|
+
*/
|
|
147
|
+
type LendRedeemPropsV2 = {
|
|
148
|
+
poolName: keyof typeof POOL_NAME;
|
|
149
|
+
handleClose: () => void;
|
|
150
|
+
handleSuccess?: (blockNumber?: number) => void;
|
|
151
|
+
};
|
|
152
|
+
|
|
88
153
|
/**
|
|
89
154
|
* Lend pool supply props
|
|
90
155
|
* @typedef {Object} LendSupplyProps
|
|
@@ -100,6 +165,19 @@ interface LendSupplyProps {
|
|
|
100
165
|
handleSuccess?: (blockNumber?: number) => void;
|
|
101
166
|
}
|
|
102
167
|
|
|
168
|
+
/**
|
|
169
|
+
* Lend pool supply props
|
|
170
|
+
* @typedef {Object} LendSupplyPropsV2
|
|
171
|
+
* @property {POOL_NAME} poolName The name of the pool.
|
|
172
|
+
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
173
|
+
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the lending pool supply action is successful.
|
|
174
|
+
*/
|
|
175
|
+
interface LendSupplyPropsV2 {
|
|
176
|
+
poolName: keyof typeof POOL_NAME;
|
|
177
|
+
handleClose: () => void;
|
|
178
|
+
handleSuccess?: (blockNumber?: number) => void;
|
|
179
|
+
}
|
|
180
|
+
|
|
103
181
|
/**
|
|
104
182
|
* Lend pool withdraw props
|
|
105
183
|
* @typedef {Object} LendWithdrawProps
|
|
@@ -115,6 +193,49 @@ type LendWithdrawProps = {
|
|
|
115
193
|
handleSuccess?: (blockNumber?: number) => void;
|
|
116
194
|
};
|
|
117
195
|
|
|
196
|
+
/**
|
|
197
|
+
* Lend pool withdraw props
|
|
198
|
+
* @typedef {Object} LendWithdrawPropsV2
|
|
199
|
+
* @property {POOL_NAME} poolName The name of the pool.
|
|
200
|
+
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
201
|
+
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the lending pool withdraw action is successful.
|
|
202
|
+
*/
|
|
203
|
+
type LendWithdrawPropsV2 = {
|
|
204
|
+
poolName: keyof typeof POOL_NAME;
|
|
205
|
+
handleClose: () => void;
|
|
206
|
+
handleSuccess?: (blockNumber?: number) => void;
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Receivable backed credit line pool borrow props V2
|
|
211
|
+
* @typedef {Object} ReceivableBackedCreditLineBorrowPropsV2
|
|
212
|
+
* @property {POOL_NAME} poolName The name of the pool.
|
|
213
|
+
* @property {tokenId} tokenId The receivable token id.
|
|
214
|
+
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
215
|
+
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the credit line pool borrow action is successful.
|
|
216
|
+
*/
|
|
217
|
+
interface ReceivableBackedCreditLineBorrowPropsV2 {
|
|
218
|
+
poolName: keyof typeof POOL_NAME;
|
|
219
|
+
tokenId: string;
|
|
220
|
+
handleClose: () => void;
|
|
221
|
+
handleSuccess?: (blockNumber?: number) => void;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Credit line pool payment props V2
|
|
226
|
+
* @typedef {Object} CreditLinePaymentPropsV2
|
|
227
|
+
* @property {POOL_NAME} poolName The name of the pool.
|
|
228
|
+
* @property {tokenId} tokenID The receivable token id.
|
|
229
|
+
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
230
|
+
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the credit line pool payment action is successful.
|
|
231
|
+
*/
|
|
232
|
+
type ReceivableBackedCreditLinePaymentPropsV2 = {
|
|
233
|
+
poolName: keyof typeof POOL_NAME;
|
|
234
|
+
tokenId: string;
|
|
235
|
+
handleClose: () => void;
|
|
236
|
+
handleSuccess?: (blockNumber?: number) => void;
|
|
237
|
+
};
|
|
238
|
+
|
|
118
239
|
/**
|
|
119
240
|
* Mapping of your JSON-RPC connections indexed by chainId
|
|
120
241
|
* @typedef {Object} JsonRpcConnectionMap
|
|
@@ -178,6 +299,20 @@ type CreditLineBorrowWidgetProps = CreditLineBorrowProps & WidgetProps;
|
|
|
178
299
|
* @returns Credit line pool borrow widget component
|
|
179
300
|
*/
|
|
180
301
|
declare function CreditLineBorrowWidget(props: CreditLineBorrowWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
302
|
+
/**
|
|
303
|
+
* Credit line pool borrow widget props V2
|
|
304
|
+
* @typedef {Object} CreditLineBorrowWidgetPropsV2
|
|
305
|
+
* @property {CreditLineBorrowPropsV2} CreditLineBorrowPropsV2 - Credit line pool borrow props V2.
|
|
306
|
+
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
307
|
+
*/
|
|
308
|
+
type CreditLineBorrowWidgetPropsV2 = CreditLineBorrowPropsV2 & WidgetProps;
|
|
309
|
+
/**
|
|
310
|
+
* Credit line borrow widget V2
|
|
311
|
+
*
|
|
312
|
+
* @param {CreditLineBorrowWidgetPropsV2} props - The credit line pool borrow widget props V2.
|
|
313
|
+
* @returns Credit line pool borrow widget component V2
|
|
314
|
+
*/
|
|
315
|
+
declare function CreditLineBorrowWidgetV2(props: CreditLineBorrowWidgetPropsV2): _emotion_react_jsx_runtime.JSX.Element;
|
|
181
316
|
/**
|
|
182
317
|
* Credit line pool payment widget props
|
|
183
318
|
* @typedef {Object} CreditLinePaymentWidgetProps
|
|
@@ -192,6 +327,20 @@ type CreditLinePaymentWidgetProps = CreditLinePaymentProps & WidgetProps;
|
|
|
192
327
|
* @returns Credit line pool payment widget component
|
|
193
328
|
*/
|
|
194
329
|
declare function CreditLinePaymentWidget(props: CreditLinePaymentWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
330
|
+
/**
|
|
331
|
+
* Credit line pool payment widget props V2
|
|
332
|
+
* @typedef {Object} CreditLinePaymentWidgetPropsV2
|
|
333
|
+
* @property {CreditLinePaymentPropsV2} CreditLinePaymentPropsV2 - Credit line pool payment props V2.
|
|
334
|
+
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
335
|
+
*/
|
|
336
|
+
type CreditLinePaymentWidgetPropsV2 = CreditLinePaymentPropsV2 & WidgetProps;
|
|
337
|
+
/**
|
|
338
|
+
* Credit line payment widget V2
|
|
339
|
+
*
|
|
340
|
+
* @param {CreditLinePaymentWidgetPropsV2} props - The credit line pool payment widget props V2.
|
|
341
|
+
* @returns Credit line pool payment widget component V2
|
|
342
|
+
*/
|
|
343
|
+
declare function CreditLinePaymentWidgetV2(props: CreditLinePaymentWidgetPropsV2): _emotion_react_jsx_runtime.JSX.Element;
|
|
195
344
|
/**
|
|
196
345
|
* Credit line allowance approval widget props
|
|
197
346
|
* @typedef {Object} CreditLinePaymentWidgetProps
|
|
@@ -221,6 +370,20 @@ type LendSupplyWidgetProps = LendSupplyProps & WidgetProps;
|
|
|
221
370
|
* @returns Lend pool supply widget component
|
|
222
371
|
*/
|
|
223
372
|
declare function LendSupplyWidget(props: LendSupplyWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
373
|
+
/**
|
|
374
|
+
* Lend pool supply widget props V2
|
|
375
|
+
* @typedef {Object} LendSupplyWidgetPropsV2
|
|
376
|
+
* @property {LendSupplyPropsV2} LendSupplyPropsV2 - Lend pool supply props V2.
|
|
377
|
+
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
378
|
+
*/
|
|
379
|
+
type LendSupplyWidgetPropsV2 = LendSupplyPropsV2 & WidgetProps;
|
|
380
|
+
/**
|
|
381
|
+
* Lend supply widget V2
|
|
382
|
+
*
|
|
383
|
+
* @param {LendSupplyWidgetPropsV2} props - The lend pool supply widget props V2.
|
|
384
|
+
* @returns Lend pool supply widget component V2
|
|
385
|
+
*/
|
|
386
|
+
declare function LendSupplyWidgetV2(props: LendSupplyWidgetPropsV2): _emotion_react_jsx_runtime.JSX.Element;
|
|
224
387
|
/**
|
|
225
388
|
* Lend pool withdraw widget props
|
|
226
389
|
* @typedef {Object} LendWithdrawWidgetProps
|
|
@@ -235,6 +398,48 @@ type LendWithdrawWidgetProps = LendWithdrawProps & WidgetProps;
|
|
|
235
398
|
* @returns Lend pool withdraw widget component
|
|
236
399
|
*/
|
|
237
400
|
declare function LendWithdrawWidget(props: LendWithdrawWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
401
|
+
/**
|
|
402
|
+
* Lend pool supply widget props V2
|
|
403
|
+
* @typedef {Object} LendSupplyWidgetPropsV2
|
|
404
|
+
* @property {LendWithdrawPropsV2} LendSupplyPropsV2 - Lend pool supply props V2.
|
|
405
|
+
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
406
|
+
*/
|
|
407
|
+
type LendWithdrawWidgetPropsV2 = LendWithdrawPropsV2 & WidgetProps;
|
|
408
|
+
/**
|
|
409
|
+
* Lend withdraw widget V2
|
|
410
|
+
*
|
|
411
|
+
* @param {LendWithdrawWidgetPropsV2} props - The lend pool supply widget props V2.
|
|
412
|
+
* @returns Lend pool supply widget component V2
|
|
413
|
+
*/
|
|
414
|
+
declare function LendWithdrawWidgetV2(props: LendWithdrawWidgetPropsV2): _emotion_react_jsx_runtime.JSX.Element;
|
|
415
|
+
/**
|
|
416
|
+
* Lend pool redeem widget props V2
|
|
417
|
+
* @typedef {Object} LendRedeemWidgetPropsV2
|
|
418
|
+
* @property {LendRedeemPropsV2} LendRedeemPropsV2 - Lend pool redeem props V2.
|
|
419
|
+
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
420
|
+
*/
|
|
421
|
+
type LendRedeemWidgetPropsV2 = LendRedeemPropsV2 & WidgetProps;
|
|
422
|
+
/**
|
|
423
|
+
* Lend redeem widget V2
|
|
424
|
+
*
|
|
425
|
+
* @param {LendRedeemWidgetPropsV2} props - The lend pool redeem widget props V2.
|
|
426
|
+
* @returns Lend pool redeem widget component V2
|
|
427
|
+
*/
|
|
428
|
+
declare function LendRedeemWidgetV2(props: LendRedeemWidgetPropsV2): _emotion_react_jsx_runtime.JSX.Element;
|
|
429
|
+
/**
|
|
430
|
+
* Supply first loss cover widget props
|
|
431
|
+
* @typedef {Object} SupplyFirstLossCoverWidgetProps
|
|
432
|
+
* @property {SupplyFirstLossCover} SupplyFirstLossCover - Supply first loss cover props.
|
|
433
|
+
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
434
|
+
*/
|
|
435
|
+
type SupplyFirstLossCoverWidgetProps = SupplyFirstLossCoverProps & WidgetProps;
|
|
436
|
+
/**
|
|
437
|
+
* Supply first loss cover widget
|
|
438
|
+
*
|
|
439
|
+
* @param {SupplyFirstLossCoverWidgetProps} props - The supply first loss cover widget props.
|
|
440
|
+
* @returns Supply first loss cover widget component
|
|
441
|
+
*/
|
|
442
|
+
declare function SupplyFirstLossCoverWidget(props: SupplyFirstLossCoverWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
238
443
|
/**
|
|
239
444
|
* Superfluid factoring widget
|
|
240
445
|
*
|
|
@@ -242,5 +447,47 @@ declare function LendWithdrawWidget(props: LendWithdrawWidgetProps): _emotion_re
|
|
|
242
447
|
* @returns Superfluid factoring widget component
|
|
243
448
|
*/
|
|
244
449
|
declare function SuperfluidFactoringWidget(props: WidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
450
|
+
/**
|
|
451
|
+
* Auto payback widget props V2
|
|
452
|
+
* @typedef {Object} AutoPaybackWidgetPropsV2
|
|
453
|
+
* @property {AutoPayback} AutoPayback - Auto payback props V2.
|
|
454
|
+
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
455
|
+
*/
|
|
456
|
+
type AutoPaybackWidgetPropsV2 = AutoPaybackPropsV2 & WidgetProps;
|
|
457
|
+
/**
|
|
458
|
+
* Supply first loss cover widget
|
|
459
|
+
*
|
|
460
|
+
* @param {SupplyFirstLossCoverWidgetProps} props - The supply first loss cover widget props.
|
|
461
|
+
* @returns Supply first loss cover widget component
|
|
462
|
+
*/
|
|
463
|
+
declare function AutoPaybackWidgetV2(props: AutoPaybackWidgetPropsV2): _emotion_react_jsx_runtime.JSX.Element;
|
|
464
|
+
/**
|
|
465
|
+
* Receivable backed credit line pool borrow widget props V2
|
|
466
|
+
* @typedef {Object} ReceivableBackedCreditLineBorrowWidgetPropsV2
|
|
467
|
+
* @property {ReceivableBackedCreditLineBorrowPropsV2} ReceivableBackedCreditLineBorrowPropsV2 - Receivable backed credit line pool borrow props V2.
|
|
468
|
+
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
469
|
+
*/
|
|
470
|
+
type ReceivableBackedCreditLineBorrowWidgetPropsV2 = ReceivableBackedCreditLineBorrowPropsV2 & WidgetProps;
|
|
471
|
+
/**
|
|
472
|
+
* Receivable backed credit line borrow widget V2
|
|
473
|
+
*
|
|
474
|
+
* @param {ReceivableBackedCreditLineBorrowWidgetPropsV2} props - The receivable backed credit line pool borrow widget props V2.
|
|
475
|
+
* @returns Receivable backed credit line pool borrow widget component V2
|
|
476
|
+
*/
|
|
477
|
+
declare function ReceivableBackedCreditLineBorrowWidgetV2(props: ReceivableBackedCreditLineBorrowWidgetPropsV2): _emotion_react_jsx_runtime.JSX.Element;
|
|
478
|
+
/**
|
|
479
|
+
* Receivable backed credit line pool payment widget props V2
|
|
480
|
+
* @typedef {Object} ReceivableBackedCreditLinePaymentWidgetPropsV2
|
|
481
|
+
* @property {ReceivableBackedCreditLinePaymentPropsV2} ReceivableBackedCreditLinePaymentPropsV2 - Receivable backed credit line pool payment props V2.
|
|
482
|
+
* @property {WidgetProps} WidgetProps - Widget general props.
|
|
483
|
+
*/
|
|
484
|
+
type ReceivableBackedCreditLinePaymentWidgetPropsV2 = ReceivableBackedCreditLinePaymentPropsV2 & WidgetProps;
|
|
485
|
+
/**
|
|
486
|
+
* Receivable backed credit line payment widget V2
|
|
487
|
+
*
|
|
488
|
+
* @param {ReceivableBackedCreditLinePaymentWidgetPropsV2} props - The receivable backed credit line pool payment widget props V2.
|
|
489
|
+
* @returns Receivable backed credit line pool payment widget component V2
|
|
490
|
+
*/
|
|
491
|
+
declare function ReceivableBackedCreditLinePaymentWidgetV2(props: ReceivableBackedCreditLinePaymentWidgetPropsV2): _emotion_react_jsx_runtime.JSX.Element;
|
|
245
492
|
|
|
246
|
-
export { CreditLineApproveWidget, CreditLineBorrowWidget, CreditLinePaymentWidget, InvoiceFactoringBorrowWidget, InvoiceFactoringPaymentWidget, LendSupplyWidget, LendWithdrawWidget, SuperfluidFactoringWidget };
|
|
493
|
+
export { AutoPaybackWidgetV2, CreditLineApproveWidget, CreditLineBorrowWidget, CreditLineBorrowWidgetV2, CreditLinePaymentWidget, CreditLinePaymentWidgetV2, InvoiceFactoringBorrowWidget, InvoiceFactoringPaymentWidget, LendRedeemWidgetV2, LendSupplyWidget, LendSupplyWidgetV2, LendWithdrawWidget, LendWithdrawWidgetV2, ReceivableBackedCreditLineBorrowWidgetV2, ReceivableBackedCreditLinePaymentWidgetV2, SuperfluidFactoringWidget, SupplyFirstLossCoverWidget };
|