@tesouro/embedded-components-react 0.5.222 → 0.5.224
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/dist/index.d.ts +214 -214
- package/dist/index.js +1 -1
- package/dist/lib/BillPayWidget.d.ts +151 -151
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index21.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index26.js +251 -251
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index10.js +34 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useForceApprovePayableMutation.js → bill-detail/data-access/dist/index11.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useForceRejectPayableMutation.js → bill-detail/data-access/dist/index12.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useReopenPayableMutation.js → bill-detail/data-access/dist/index13.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useSubmitPayableForApprovalMutation.js → bill-detail/data-access/dist/index14.js} +9 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useUpdatePayableMutation.js → bill-detail/data-access/dist/index15.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useValidatePayableMutation.js → bill-detail/data-access/dist/index16.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index17.js +12 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayablePaymentRecordsQuery.js → bill-detail/data-access/dist/index18.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableSuggestionsQuery.js → bill-detail/data-access/dist/index19.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableApprovalRequests.js → bill-detail/data-access/dist/index2.js} +6 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/payablePolicyAssignmentQueryOptions.js → bill-detail/data-access/dist/index20.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayablesQueries/usePayableQuery.js → bill-detail/data-access/dist/index21.js} +9 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayablesQueries/usePayablesByIdsQueries.js → bill-detail/data-access/dist/index22.js} +6 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index23.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableHistoryQuery.js → bill-detail/data-access/dist/index3.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableLineItems.js → bill-detail/data-access/dist/index4.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useAttachPayableFileMutation.js → bill-detail/data-access/dist/index5.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayableMutations/useCancelPayableMutation.js → bill-detail/data-access/dist/index6.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index7.js +40 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index8.js +34 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index9.js +34 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index.js +12 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index10.js +11 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature → bill-detail/feature}/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature → bill-detail/feature}/dist/index12.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature → bill-detail/feature}/dist/index13.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature → bill-detail/feature}/dist/index14.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature → bill-detail/feature}/dist/index15.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index17.js → bill-detail/feature/dist/index16.js} +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index18.js → bill-detail/feature/dist/index17.js} +9 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index19.js → bill-detail/feature/dist/index18.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index20.js → bill-detail/feature/dist/index19.js} +9 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index2.js +59 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index21.js → bill-detail/feature/dist/index20.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index22.js → bill-detail/feature/dist/index21.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index23.js → bill-detail/feature/dist/index22.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index24.js → bill-detail/feature/dist/index23.js} +11 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index25.js → bill-detail/feature/dist/index24.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index26.js → bill-detail/feature/dist/index25.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index27.js → bill-detail/feature/dist/index26.js} +9 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index28.js → bill-detail/feature/dist/index27.js} +19 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index29.js → bill-detail/feature/dist/index28.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index30.js → bill-detail/feature/dist/index29.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index3.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index31.js → bill-detail/feature/dist/index30.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index32.js → bill-detail/feature/dist/index31.js} +14 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index33.js → bill-detail/feature/dist/index32.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index34.js → bill-detail/feature/dist/index33.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index35.js → bill-detail/feature/dist/index34.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index36.js → bill-detail/feature/dist/index35.js} +71 -70
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index36.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index38.js → bill-detail/feature/dist/index37.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index39.js → bill-detail/feature/dist/index38.js} +49 -48
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index39.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index4.js +17 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index40.js +5 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index41.js +67 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index42.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index5.js +40 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index6.js +229 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index7.js +87 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index8.js +50 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index9.js +16 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index.js +50 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index29.js → bill-detail/ui/dist/index10.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index30.js → bill-detail/ui/dist/index11.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index31.js → bill-detail/ui/dist/index12.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index13.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index33.js → bill-detail/ui/dist/index14.js} +12 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index34.js → bill-detail/ui/dist/index15.js} +27 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index16.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index36.js → bill-detail/ui/dist/index17.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index37.js → bill-detail/ui/dist/index18.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index19.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index2.js +15 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index42.js → bill-detail/ui/dist/index20.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index43.js → bill-detail/ui/dist/index21.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index22.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index45.js → bill-detail/ui/dist/index23.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index46.js → bill-detail/ui/dist/index24.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index25.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index48.js → bill-detail/ui/dist/index26.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index49.js → bill-detail/ui/dist/index27.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index28.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index51.js → bill-detail/ui/dist/index29.js} +10 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index3.js +55 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index52.js → bill-detail/ui/dist/index30.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index53.js → bill-detail/ui/dist/index31.js} +19 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index32.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index61.js → bill-detail/ui/dist/index33.js} +8 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index62.js → bill-detail/ui/dist/index34.js} +22 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index69.js → bill-detail/ui/dist/index36.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index70.js → bill-detail/ui/dist/index37.js} +8 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index72.js → bill-detail/ui/dist/index39.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index4.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index73.js → bill-detail/ui/dist/index40.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index64.js → bill-detail/ui/dist/index42.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index65.js → bill-detail/ui/dist/index43.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index89.js → bill-detail/ui/dist/index45.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index90.js → bill-detail/ui/dist/index46.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index95.js → bill-detail/ui/dist/index48.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index96.js → bill-detail/ui/dist/index49.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index5.js +19 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index98.js → bill-detail/ui/dist/index51.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index99.js → bill-detail/ui/dist/index52.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index54.js → bill-detail/ui/dist/index53.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index6.js +23 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index7.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index8.js +32 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index9.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayablesQueries/useFirstPayablesPagesQuery.js → bills-list/data-access/dist/index2.js} +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayablesQueries/usePayablesCountQueries.js → bills-list/data-access/dist/index3.js} +8 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/lib/usePayablesQueries/usePayablesQuery.js → bills-list/data-access/dist/index4.js} +8 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index5.js +30 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index6.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index10.js +17 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index52.js → bills-list/feature/dist/index11.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index53.js → bills-list/feature/dist/index12.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index54.js → bills-list/feature/dist/index13.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index55.js → bills-list/feature/dist/index14.js} +23 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index56.js → bills-list/feature/dist/index15.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +398 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +246 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index18.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index19.js +5 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index44.js → bills-list/feature/dist/index2.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index20.js +40 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index21.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index45.js → bills-list/feature/dist/index3.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index46.js → bills-list/feature/dist/index4.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index47.js → bills-list/feature/dist/index5.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index48.js → bills-list/feature/dist/index6.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index49.js → bills-list/feature/dist/index7.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index50.js → bills-list/feature/dist/index8.js} +3 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index9.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index.js +21 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index77.js → bills-list/ui/dist/index10.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index11.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index79.js → bills-list/ui/dist/index12.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index80.js → bills-list/ui/dist/index13.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index14.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index82.js → bills-list/ui/dist/index15.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index83.js → bills-list/ui/dist/index16.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index17.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index85.js → bills-list/ui/dist/index18.js} +15 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index86.js → bills-list/ui/dist/index19.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index2.js +14 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index87.js → bills-list/ui/dist/index20.js} +24 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index21.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index3.js +64 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index4.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index5.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index6.js +35 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index7.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index75.js → bills-list/ui/dist/index8.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index76.js → bills-list/ui/dist/index9.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +3 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/invalidation.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +1 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +23 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +3 -57
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +43 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +3 -36
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +109 -219
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +5 -85
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +104 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +1 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +17 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index10.js +50 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index12.js +2 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +36 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index15.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +14 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +8 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +74 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index2.js +16 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +25 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +28 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +2 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +30 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index3.js +16 -75
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/{index59.js → index4.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index6.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index7.js +2 -64
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index8.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index9.js +16 -6
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/index.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{bill-pay-widget/feature/dist/index16.js → shared/feature/dist/lib/calendar/useLocalCalendarDay.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/index.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/useCancelScheduledPaymentMutation.js +0 -40
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/useCreatePayableMutation.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/useDeletePayableFileMutation.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/useDeletePayableMutation.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayablesQueries/index.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayablesQueries/usePayablesTotalCountQuery.js +0 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +0 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +0 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +0 -396
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +0 -334
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +0 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +0 -108
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +0 -54
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +0 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +0 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +0 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +0 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +0 -2
- /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index35.js +0 -0
- /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index38.js +0 -0
- /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index41.js +0 -0
- /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index44.js +0 -0
- /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index47.js +0 -0
- /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui → bill-detail/ui}/dist/index50.js +0 -0
|
@@ -2,6 +2,157 @@ import * as React from 'react';
|
|
|
2
2
|
import { ReactNode, ComponentType, AnchorHTMLAttributes, ErrorInfo } from 'react';
|
|
3
3
|
import { FallbackProps } from 'react-error-boundary';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Action handlers for custom payment flows in payable operations.
|
|
7
|
+
*
|
|
8
|
+
* These handlers provide fine-grained control over payment workflows, allowing customers to:
|
|
9
|
+
* - Integrate external payment providers
|
|
10
|
+
* - Implement custom approval processes or multi-step authentication
|
|
11
|
+
* - Add specialized banking solutions or enterprise payment workflows
|
|
12
|
+
* - Control UI feedback and data refresh timing after payment completion
|
|
13
|
+
*
|
|
14
|
+
* @example Custom payment provider integration:
|
|
15
|
+
* ```typescript
|
|
16
|
+
* const onPay = (id: string, _data?: unknown, actions?: PayActionHandlers) => {
|
|
17
|
+
* // Start custom payment flow
|
|
18
|
+
* initiatePayment(id)
|
|
19
|
+
* .then(() => {
|
|
20
|
+
* // Payment successful - update SDK state and show success message
|
|
21
|
+
* actions?.resolve({ showToast: true });
|
|
22
|
+
* })
|
|
23
|
+
* .catch((error) => {
|
|
24
|
+
* // Payment failed - update SDK state and show error message
|
|
25
|
+
* actions?.reject(error, { showToast: true });
|
|
26
|
+
* });
|
|
27
|
+
* };
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
type PayActionHandlers = {
|
|
31
|
+
/**
|
|
32
|
+
* Call when a custom payment flow has been successfully initiated/completed.
|
|
33
|
+
* This triggers SDK's built-in state management: refreshes payable data,
|
|
34
|
+
* payment records, and optionally displays success feedback to the user.
|
|
35
|
+
*
|
|
36
|
+
* @param options.showToast - Whether to display a success toast notification
|
|
37
|
+
*/
|
|
38
|
+
resolve: (options?: {
|
|
39
|
+
showToast?: boolean;
|
|
40
|
+
}) => void;
|
|
41
|
+
/**
|
|
42
|
+
* Call when a custom payment flow failed or was cancelled by the user.
|
|
43
|
+
* This triggers SDK's built-in state management: refreshes payable data,
|
|
44
|
+
* payment records, and optionally displays error feedback to the user.
|
|
45
|
+
*
|
|
46
|
+
* @param error - Optional error details from the failed payment attempt
|
|
47
|
+
* @param options.showToast - Whether to display an error toast notification
|
|
48
|
+
*/
|
|
49
|
+
reject: (error?: unknown, options?: {
|
|
50
|
+
showToast?: boolean;
|
|
51
|
+
}) => void;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
type UsePayableDetailsProps = {
|
|
55
|
+
/**
|
|
56
|
+
* The ID of the payable
|
|
57
|
+
*/
|
|
58
|
+
id?: string;
|
|
59
|
+
/** when provided it takes precedence over component settings */
|
|
60
|
+
enableGLCodes?: boolean;
|
|
61
|
+
/** when provided it makes the payable open in edit mode */
|
|
62
|
+
shouldOpenInEditMode?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Callback function that is called when the payable is saved
|
|
65
|
+
*
|
|
66
|
+
* @param {string} id - The ID of the payable
|
|
67
|
+
*
|
|
68
|
+
* @returns {void}
|
|
69
|
+
*/
|
|
70
|
+
onSaved?: (id: string) => void;
|
|
71
|
+
/**
|
|
72
|
+
* Callback function that is called when the payable is canceled
|
|
73
|
+
*
|
|
74
|
+
* @param {string} id - The ID of the payable
|
|
75
|
+
*
|
|
76
|
+
* @returns {void}
|
|
77
|
+
*/
|
|
78
|
+
onCanceled?: (id: string) => void;
|
|
79
|
+
/**
|
|
80
|
+
* Callback function that is called when the payable is submitted
|
|
81
|
+
*
|
|
82
|
+
* @param {string} id - The ID of the payable
|
|
83
|
+
*
|
|
84
|
+
* @returns {void}
|
|
85
|
+
*/
|
|
86
|
+
onSubmitted?: (id: string) => void;
|
|
87
|
+
/**
|
|
88
|
+
* Callback function that is called when the payable is rejected
|
|
89
|
+
*
|
|
90
|
+
* @param {string} id - The ID of the payable
|
|
91
|
+
*
|
|
92
|
+
* @returns {void}
|
|
93
|
+
*/
|
|
94
|
+
onRejected?: (id: string) => void;
|
|
95
|
+
/**
|
|
96
|
+
* Callback function that is called when the payable is approved
|
|
97
|
+
*
|
|
98
|
+
* @param {string} id - The ID of the payable
|
|
99
|
+
*
|
|
100
|
+
* @returns {void}
|
|
101
|
+
*/
|
|
102
|
+
onApproved?: (id: string) => void;
|
|
103
|
+
/** Callback function that is called when the payable is reopened
|
|
104
|
+
*
|
|
105
|
+
* @param {string} id - The ID of the payable
|
|
106
|
+
*
|
|
107
|
+
* @returns {void}
|
|
108
|
+
*/
|
|
109
|
+
onReopened?: (id: string) => void;
|
|
110
|
+
/** Callback function that is called when the payable is deleted
|
|
111
|
+
*
|
|
112
|
+
* @param {string} id - The ID of the payable
|
|
113
|
+
*
|
|
114
|
+
* @returns {void}
|
|
115
|
+
*/
|
|
116
|
+
onDeleted?: (id: string) => void;
|
|
117
|
+
/**
|
|
118
|
+
* Callback function that is called when the user press the Pay button
|
|
119
|
+
*
|
|
120
|
+
* @param {string} id - The ID of the payable
|
|
121
|
+
*
|
|
122
|
+
* @returns {void}
|
|
123
|
+
*/
|
|
124
|
+
onPay?: (id: string, _data?: unknown, actions?: PayActionHandlers) => void;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
type PayablesProps = {
|
|
128
|
+
pageTitleComponent: (children: ReactNode) => ReactNode;
|
|
129
|
+
/**
|
|
130
|
+
* Enable GL code selection for payable line items.
|
|
131
|
+
* When true, users can assign GL codes to individual line items.
|
|
132
|
+
* GL codes are fetched from the connected accounting system.
|
|
133
|
+
*/
|
|
134
|
+
enableGLCodes?: boolean;
|
|
135
|
+
/** Arrival prop: 'create' opens the create-bill dialog on mount. */
|
|
136
|
+
initialView?: 'create';
|
|
137
|
+
/** Arrival prop: preselects this counterpart in the create-bill form. */
|
|
138
|
+
initialCounterpartId?: string;
|
|
139
|
+
} & Partial<Pick<UsePayableDetailsProps, 'onSaved' | 'onCanceled' | 'onSubmitted' | 'onRejected' | 'onApproved' | 'onReopened' | 'onDeleted' | 'onPay'>>;
|
|
140
|
+
|
|
141
|
+
type ALIGN_DIALOG_TYPES = 'left' | 'right';
|
|
142
|
+
declare module '@mui/material/transitions' {
|
|
143
|
+
interface TransitionProps {
|
|
144
|
+
alignDialog?: ALIGN_DIALOG_TYPES;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
interface FinopsThemeColors {
|
|
149
|
+
primary?: string;
|
|
150
|
+
primaryForeground?: string;
|
|
151
|
+
}
|
|
152
|
+
interface MoniteWrapperProps {
|
|
153
|
+
finopsThemeColors?: FinopsThemeColors;
|
|
154
|
+
}
|
|
155
|
+
|
|
5
156
|
type AuthToken = string | undefined;
|
|
6
157
|
interface Auth {
|
|
7
158
|
/**
|
|
@@ -331,157 +482,6 @@ type EmbeddedClient = Client;
|
|
|
331
482
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
332
483
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
333
484
|
|
|
334
|
-
/**
|
|
335
|
-
* Action handlers for custom payment flows in payable operations.
|
|
336
|
-
*
|
|
337
|
-
* These handlers provide fine-grained control over payment workflows, allowing customers to:
|
|
338
|
-
* - Integrate external payment providers
|
|
339
|
-
* - Implement custom approval processes or multi-step authentication
|
|
340
|
-
* - Add specialized banking solutions or enterprise payment workflows
|
|
341
|
-
* - Control UI feedback and data refresh timing after payment completion
|
|
342
|
-
*
|
|
343
|
-
* @example Custom payment provider integration:
|
|
344
|
-
* ```typescript
|
|
345
|
-
* const onPay = (id: string, _data?: unknown, actions?: PayActionHandlers) => {
|
|
346
|
-
* // Start custom payment flow
|
|
347
|
-
* initiatePayment(id)
|
|
348
|
-
* .then(() => {
|
|
349
|
-
* // Payment successful - update SDK state and show success message
|
|
350
|
-
* actions?.resolve({ showToast: true });
|
|
351
|
-
* })
|
|
352
|
-
* .catch((error) => {
|
|
353
|
-
* // Payment failed - update SDK state and show error message
|
|
354
|
-
* actions?.reject(error, { showToast: true });
|
|
355
|
-
* });
|
|
356
|
-
* };
|
|
357
|
-
* ```
|
|
358
|
-
*/
|
|
359
|
-
type PayActionHandlers = {
|
|
360
|
-
/**
|
|
361
|
-
* Call when a custom payment flow has been successfully initiated/completed.
|
|
362
|
-
* This triggers SDK's built-in state management: refreshes payable data,
|
|
363
|
-
* payment records, and optionally displays success feedback to the user.
|
|
364
|
-
*
|
|
365
|
-
* @param options.showToast - Whether to display a success toast notification
|
|
366
|
-
*/
|
|
367
|
-
resolve: (options?: {
|
|
368
|
-
showToast?: boolean;
|
|
369
|
-
}) => void;
|
|
370
|
-
/**
|
|
371
|
-
* Call when a custom payment flow failed or was cancelled by the user.
|
|
372
|
-
* This triggers SDK's built-in state management: refreshes payable data,
|
|
373
|
-
* payment records, and optionally displays error feedback to the user.
|
|
374
|
-
*
|
|
375
|
-
* @param error - Optional error details from the failed payment attempt
|
|
376
|
-
* @param options.showToast - Whether to display an error toast notification
|
|
377
|
-
*/
|
|
378
|
-
reject: (error?: unknown, options?: {
|
|
379
|
-
showToast?: boolean;
|
|
380
|
-
}) => void;
|
|
381
|
-
};
|
|
382
|
-
|
|
383
|
-
type UsePayableDetailsProps = {
|
|
384
|
-
/**
|
|
385
|
-
* The ID of the payable
|
|
386
|
-
*/
|
|
387
|
-
id?: string;
|
|
388
|
-
/** when provided it takes precedence over component settings */
|
|
389
|
-
enableGLCodes?: boolean;
|
|
390
|
-
/** when provided it makes the payable open in edit mode */
|
|
391
|
-
shouldOpenInEditMode?: boolean;
|
|
392
|
-
/**
|
|
393
|
-
* Callback function that is called when the payable is saved
|
|
394
|
-
*
|
|
395
|
-
* @param {string} id - The ID of the payable
|
|
396
|
-
*
|
|
397
|
-
* @returns {void}
|
|
398
|
-
*/
|
|
399
|
-
onSaved?: (id: string) => void;
|
|
400
|
-
/**
|
|
401
|
-
* Callback function that is called when the payable is canceled
|
|
402
|
-
*
|
|
403
|
-
* @param {string} id - The ID of the payable
|
|
404
|
-
*
|
|
405
|
-
* @returns {void}
|
|
406
|
-
*/
|
|
407
|
-
onCanceled?: (id: string) => void;
|
|
408
|
-
/**
|
|
409
|
-
* Callback function that is called when the payable is submitted
|
|
410
|
-
*
|
|
411
|
-
* @param {string} id - The ID of the payable
|
|
412
|
-
*
|
|
413
|
-
* @returns {void}
|
|
414
|
-
*/
|
|
415
|
-
onSubmitted?: (id: string) => void;
|
|
416
|
-
/**
|
|
417
|
-
* Callback function that is called when the payable is rejected
|
|
418
|
-
*
|
|
419
|
-
* @param {string} id - The ID of the payable
|
|
420
|
-
*
|
|
421
|
-
* @returns {void}
|
|
422
|
-
*/
|
|
423
|
-
onRejected?: (id: string) => void;
|
|
424
|
-
/**
|
|
425
|
-
* Callback function that is called when the payable is approved
|
|
426
|
-
*
|
|
427
|
-
* @param {string} id - The ID of the payable
|
|
428
|
-
*
|
|
429
|
-
* @returns {void}
|
|
430
|
-
*/
|
|
431
|
-
onApproved?: (id: string) => void;
|
|
432
|
-
/** Callback function that is called when the payable is reopened
|
|
433
|
-
*
|
|
434
|
-
* @param {string} id - The ID of the payable
|
|
435
|
-
*
|
|
436
|
-
* @returns {void}
|
|
437
|
-
*/
|
|
438
|
-
onReopened?: (id: string) => void;
|
|
439
|
-
/** Callback function that is called when the payable is deleted
|
|
440
|
-
*
|
|
441
|
-
* @param {string} id - The ID of the payable
|
|
442
|
-
*
|
|
443
|
-
* @returns {void}
|
|
444
|
-
*/
|
|
445
|
-
onDeleted?: (id: string) => void;
|
|
446
|
-
/**
|
|
447
|
-
* Callback function that is called when the user press the Pay button
|
|
448
|
-
*
|
|
449
|
-
* @param {string} id - The ID of the payable
|
|
450
|
-
*
|
|
451
|
-
* @returns {void}
|
|
452
|
-
*/
|
|
453
|
-
onPay?: (id: string, _data?: unknown, actions?: PayActionHandlers) => void;
|
|
454
|
-
};
|
|
455
|
-
|
|
456
|
-
type PayablesProps = {
|
|
457
|
-
pageTitleComponent: (children: ReactNode) => ReactNode;
|
|
458
|
-
/**
|
|
459
|
-
* Enable GL code selection for payable line items.
|
|
460
|
-
* When true, users can assign GL codes to individual line items.
|
|
461
|
-
* GL codes are fetched from the connected accounting system.
|
|
462
|
-
*/
|
|
463
|
-
enableGLCodes?: boolean;
|
|
464
|
-
/** Arrival prop: 'create' opens the create-bill dialog on mount. */
|
|
465
|
-
initialView?: 'create';
|
|
466
|
-
/** Arrival prop: preselects this counterpart in the create-bill form. */
|
|
467
|
-
initialCounterpartId?: string;
|
|
468
|
-
} & Partial<Pick<UsePayableDetailsProps, 'onSaved' | 'onCanceled' | 'onSubmitted' | 'onRejected' | 'onApproved' | 'onReopened' | 'onDeleted' | 'onPay'>>;
|
|
469
|
-
|
|
470
|
-
type ALIGN_DIALOG_TYPES = 'left' | 'right';
|
|
471
|
-
declare module '@mui/material/transitions' {
|
|
472
|
-
interface TransitionProps {
|
|
473
|
-
alignDialog?: ALIGN_DIALOG_TYPES;
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
interface FinopsThemeColors {
|
|
478
|
-
primary?: string;
|
|
479
|
-
primaryForeground?: string;
|
|
480
|
-
}
|
|
481
|
-
interface MoniteWrapperProps {
|
|
482
|
-
finopsThemeColors?: FinopsThemeColors;
|
|
483
|
-
}
|
|
484
|
-
|
|
485
485
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
486
486
|
children?: ReactNode;
|
|
487
487
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { BillPayWidget as e } from "../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
1
|
+
import { BillPayWidget as e } from "../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js";
|
|
2
2
|
import "../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js";
|
|
3
3
|
export { e as BillPayWidget };
|
|
@@ -156,30 +156,40 @@ function A({ businessDetails: e, savedBusinessDetails: t, savedOwners: n, dirty:
|
|
|
156
156
|
};
|
|
157
157
|
return Object.keys(p).length > 0 ? p : null;
|
|
158
158
|
}
|
|
159
|
-
var j = (e) => e
|
|
160
|
-
function
|
|
159
|
+
var j = (e) => e;
|
|
160
|
+
function M(e, t) {
|
|
161
|
+
return e.applicant?.workEmailAddress || !m(f.workEmail, t.workEmail) ? e : {
|
|
162
|
+
...e,
|
|
163
|
+
applicant: {
|
|
164
|
+
...e.applicant,
|
|
165
|
+
workEmailAddress: t.workEmail
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
var N = (e, t) => e === "" && !!t;
|
|
170
|
+
function P(e, t, n) {
|
|
161
171
|
let r = { ...e };
|
|
162
172
|
for (let e of Object.keys(n)) n[e] || (r[e] = t[e]);
|
|
163
173
|
return r;
|
|
164
174
|
}
|
|
165
|
-
function
|
|
175
|
+
function F({ current: e, saved: t, dirty: n, ownersWrite: r }) {
|
|
166
176
|
let i = v(e.business) ?? "", a = b(e.business, t.business);
|
|
167
177
|
return {
|
|
168
|
-
business: n.business ?
|
|
178
|
+
business: n.business ? P(e.business, t.business, {
|
|
169
179
|
...a,
|
|
170
180
|
companyDbaName: !0,
|
|
171
181
|
website: m(d.website, e.business.website),
|
|
172
|
-
taxId: a.taxId ||
|
|
182
|
+
taxId: a.taxId || N(e.business.taxId, e.business.taxIdOnFileLast4)
|
|
173
183
|
}) : e.business,
|
|
174
|
-
personal: n.personal ?
|
|
184
|
+
personal: n.personal ? P(e.personal, t.personal, {
|
|
175
185
|
...w(e.personal, i),
|
|
176
|
-
ssn: g(e.personal.ssn) ||
|
|
186
|
+
ssn: g(e.personal.ssn) || N(e.personal.ssn, e.personal.ssnOnFileLast4)
|
|
177
187
|
}) : e.personal,
|
|
178
|
-
owners: r === "cleared" ? [] : r === "list" ? e.owners.filter(O).map((e) =>
|
|
188
|
+
owners: r === "cleared" ? [] : r === "list" ? e.owners.filter(O).map((e) => P(e, e.id && t.owners.find((t) => t.id === e.id) || c, {
|
|
179
189
|
...E(e),
|
|
180
|
-
ssn: g(e.ssn) ||
|
|
190
|
+
ssn: g(e.ssn) || N(e.ssn, e.ssnOnFileLast4)
|
|
181
191
|
})) : t.owners
|
|
182
192
|
};
|
|
183
193
|
}
|
|
184
194
|
//#endregion
|
|
185
|
-
export {
|
|
195
|
+
export { F as acceptDraftedValues, j as asCreateBody, A as buildDraftApplicationBody, D as draftOwners, M as withApplicantWorkEmail };
|