@tesouro/embedded-components-react 0.5.221 → 0.5.223
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.css +84 -0
- package/dist/index.d.ts +239 -214
- package/dist/index.js +2 -2
- package/dist/lib/BillPayWidget.d.ts +151 -151
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/ReceivablesWidget.d.ts +25 -0
- package/dist/lib/ReceivablesWidget.js +1 -1
- 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/invoicing-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js +18 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +219 -453
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index24.js +34 -41
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index25.js +463 -32
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index26.js +39 -77
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index27.js +34 -112
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index28.js +75 -310
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index29.js +121 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index30.js +317 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +30 -27
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js +2 -28
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index29.js +4 -236
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index30.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index31.js +90 -239
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index32.js +24 -89
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index33.js +231 -54
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index34.js +3 -353
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index35.js +249 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index36.js +93 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index37.js +59 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index38.js +353 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useMyEntityQuery.js +8 -8
- 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/invoicing-widget/ui/dist/index27.js +0 -100
- /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
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import { useWidgetToken as v } from "./libs/tesouro-embedded-components-react/sh
|
|
|
14
14
|
import { RefreshingRootWidgetProvider as y } from "./libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RefreshingRootWidgetProvider.js";
|
|
15
15
|
import { useDisclosuresAcceptanceSurface as b, useOwnWidgetConfig as x, useRefetchWidget as S, useWidgetConfig as C, useWidgetError as w, useWidgetInitStaleForToken as T, useWidgetLoading as E } from "./libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
16
16
|
import { BankAccountsWidget as D } from "./libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index8.js";
|
|
17
|
-
import { BillPayWidget as O } from "./libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
17
|
+
import { BillPayWidget as O } from "./libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js";
|
|
18
18
|
import { CardDetailsWidget as k } from "./libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index13.js";
|
|
19
19
|
import { CreditCardsWidget as A } from "./libs/tesouro-embedded-components-react/cards-widget/feature/dist/index11.js";
|
|
20
20
|
import { DebitCardsWidget as j } from "./libs/tesouro-embedded-components-react/cards-widget/feature/dist/index12.js";
|
|
@@ -27,7 +27,7 @@ import { InsightsWidget as L } from "./libs/tesouro-embedded-components-react/in
|
|
|
27
27
|
import { UploadReceiptWidget as R } from "./libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index2.js";
|
|
28
28
|
import { ExpenseManagementWidget as z } from "./libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index21.js";
|
|
29
29
|
import { InvoicingWidget as B } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js";
|
|
30
|
-
import { ReceivablesWidget as V } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/
|
|
30
|
+
import { ReceivablesWidget as V } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index30.js";
|
|
31
31
|
import { SettingsSection as H } from "./libs/tesouro-embedded-components-react/settings-widget/feature/dist/index4.js";
|
|
32
32
|
import { HELP_FAQ_EN as U } from "./libs/tesouro-embedded-components-react/settings-widget/help/ui/contract/dist/index3.js";
|
|
33
33
|
import { SettingsWidget as W } from "./libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js";
|
|
@@ -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 };
|
|
@@ -1310,6 +1310,31 @@ interface ReceivableMessageLabels {
|
|
|
1310
1310
|
issueRemindersDisabled: string;
|
|
1311
1311
|
issueRemindersNoEmail: string;
|
|
1312
1312
|
issueRemindersDisabledNoEmail: string;
|
|
1313
|
+
/** `{taxId}` is replaced with the party's tax ID. */
|
|
1314
|
+
previewTaxId: string;
|
|
1315
|
+
previewTaxableYes: string;
|
|
1316
|
+
previewTaxableNo: string;
|
|
1317
|
+
previewSubtotal: string;
|
|
1318
|
+
previewDiscount: string;
|
|
1319
|
+
previewNonTaxableSubtotal: string;
|
|
1320
|
+
previewTaxableSubtotal: string;
|
|
1321
|
+
previewTax: string;
|
|
1322
|
+
/** `{rate}` is replaced with the tax rate, e.g. "6.25". */
|
|
1323
|
+
previewTaxWithRate: string;
|
|
1324
|
+
previewTotal: string;
|
|
1325
|
+
previewDueOnReceipt: string;
|
|
1326
|
+
/** `{days}` is replaced with the term's number of days. */
|
|
1327
|
+
previewNetDays: string;
|
|
1328
|
+
/** `{days}` is replaced with the early-payment window. */
|
|
1329
|
+
previewEarlyPaymentDays: string;
|
|
1330
|
+
/** `{rate}` is replaced with the early-payment discount percentage. */
|
|
1331
|
+
previewEarlyPaymentDiscount: string;
|
|
1332
|
+
/** `{value}` is replaced with the account holder's name. */
|
|
1333
|
+
previewAccountHolderName: string;
|
|
1334
|
+
/** `{value}` is replaced with the routing number. */
|
|
1335
|
+
previewRoutingNumber: string;
|
|
1336
|
+
/** `{value}` is replaced with the account number. */
|
|
1337
|
+
previewAccountNumber: string;
|
|
1313
1338
|
}
|
|
1314
1339
|
|
|
1315
1340
|
interface ReceivablesWidgetOwnProps {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ReceivablesWidget as e } from "../libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/
|
|
1
|
+
import { ReceivablesWidget as e } from "../libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index30.js";
|
|
2
2
|
import "../libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js";
|
|
3
3
|
export { e as ReceivablesWidget };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { useApprovePayableApprovalRequestMutation as e, usePayableApprovalRequestsQuery as t, useRejectPayableApprovalRequestMutation as n } from "./index2.js";
|
|
2
|
+
import { usePayableHistoryQuery as r } from "./index3.js";
|
|
3
|
+
import { useAllPayableLineItemsQuery as i, useReplacePayableLineItemsMutation as a } from "./index4.js";
|
|
4
|
+
import { useAttachPayableFileMutation as o } from "./index5.js";
|
|
5
|
+
import { useCancelPayableMutation as s } from "./index6.js";
|
|
6
|
+
import { useCancelScheduledPaymentMutation as c } from "./index7.js";
|
|
7
|
+
import { useCreatePayableMutation as l } from "./index8.js";
|
|
8
|
+
import { useDeletePayableFileMutation as u } from "./index9.js";
|
|
9
|
+
import { useDeletePayableMutation as d } from "./index10.js";
|
|
10
|
+
import { useForceApprovePayableMutation as f } from "./index11.js";
|
|
11
|
+
import { useForceRejectPayableMutation as p } from "./index12.js";
|
|
12
|
+
import { useReopenPayableMutation as m } from "./index13.js";
|
|
13
|
+
import { useSubmitPayableForApprovalMutation as h } from "./index14.js";
|
|
14
|
+
import { useUpdatePayableMutation as g } from "./index15.js";
|
|
15
|
+
import { useValidatePayableMutation as _ } from "./index16.js";
|
|
16
|
+
import "./index17.js";
|
|
17
|
+
import { usePayablePaymentRecordsQuery as v } from "./index18.js";
|
|
18
|
+
import { usePayableSuggestionsQuery as y } from "./index19.js";
|
|
19
|
+
import { usePayableQuery as b } from "./index21.js";
|
|
20
|
+
import { usePayablesByIdsQueries as x } from "./index22.js";
|
|
21
|
+
import "./index23.js";
|
|
22
|
+
export { i as useAllPayableLineItemsQuery, e as useApprovePayableApprovalRequestMutation, o as useAttachPayableFileMutation, s as useCancelPayableMutation, c as useCancelScheduledPaymentMutation, l as useCreatePayableMutation, u as useDeletePayableFileMutation, d as useDeletePayableMutation, f as useForceApprovePayableMutation, p as useForceRejectPayableMutation, t as usePayableApprovalRequestsQuery, r as usePayableHistoryQuery, v as usePayablePaymentRecordsQuery, b as usePayableQuery, y as usePayableSuggestionsQuery, x as usePayablesByIdsQueries, n as useRejectPayableApprovalRequestMutation, m as useReopenPayableMutation, a as useReplacePayableLineItemsMutation, h as useSubmitPayableForApprovalMutation, g as useUpdatePayableMutation, _ as useValidatePayableMutation };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { deletePayablesId as e } from "../../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
6
|
+
import { useEmbedApi as t } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
|
+
import { organizationHeaders as n } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
8
|
+
import "../../../../shared/data-access/dist/index.js";
|
|
9
|
+
import { invalidateDeletedPayableQueries as r } from "../../../data-access/dist/lib/invalidatePayableQueries/invalidateDeletedPayableQueries.js";
|
|
10
|
+
import "../../../data-access/dist/invalidation.js";
|
|
11
|
+
import { useMutation as i } from "@tanstack/react-query";
|
|
12
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index10.js
|
|
13
|
+
function a() {
|
|
14
|
+
let { client: a, organizationId: o } = t();
|
|
15
|
+
return i({
|
|
16
|
+
mutationFn: async ({ path: t }) => {
|
|
17
|
+
await e({
|
|
18
|
+
client: a,
|
|
19
|
+
headers: n(o),
|
|
20
|
+
path: t,
|
|
21
|
+
throwOnError: !0
|
|
22
|
+
});
|
|
23
|
+
},
|
|
24
|
+
onSuccess: async (e, t) => {
|
|
25
|
+
await r({
|
|
26
|
+
client: a,
|
|
27
|
+
organizationId: o,
|
|
28
|
+
payableId: t.path.payable_id
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
//#endregion
|
|
34
|
+
export { a as useDeletePayableMutation };
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { postPayablesIdApprovePaymentOperation as e } from "
|
|
6
|
-
import { useEmbedApi as t } from "
|
|
7
|
-
import { organizationHeaders as n } from "
|
|
8
|
-
import "
|
|
9
|
-
import { invalidatePayableQueries as r } from "
|
|
10
|
-
import "
|
|
5
|
+
import { postPayablesIdApprovePaymentOperation as e } from "../../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
6
|
+
import { useEmbedApi as t } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
|
+
import { organizationHeaders as n } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
8
|
+
import "../../../../shared/data-access/dist/index.js";
|
|
9
|
+
import { invalidatePayableQueries as r } from "../../../data-access/dist/lib/invalidatePayableQueries/invalidatePayableQueries.js";
|
|
10
|
+
import "../../../data-access/dist/invalidation.js";
|
|
11
11
|
import { useMutation as i } from "@tanstack/react-query";
|
|
12
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
12
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index11.js
|
|
13
13
|
function a() {
|
|
14
14
|
let { client: a, organizationId: o } = t();
|
|
15
15
|
return i({
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { postPayablesIdReject as e } from "
|
|
6
|
-
import { useEmbedApi as t } from "
|
|
7
|
-
import { organizationHeaders as n } from "
|
|
8
|
-
import "
|
|
9
|
-
import { invalidatePayableQueries as r } from "
|
|
10
|
-
import "
|
|
5
|
+
import { postPayablesIdReject as e } from "../../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
6
|
+
import { useEmbedApi as t } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
|
+
import { organizationHeaders as n } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
8
|
+
import "../../../../shared/data-access/dist/index.js";
|
|
9
|
+
import { invalidatePayableQueries as r } from "../../../data-access/dist/lib/invalidatePayableQueries/invalidatePayableQueries.js";
|
|
10
|
+
import "../../../data-access/dist/invalidation.js";
|
|
11
11
|
import { useMutation as i } from "@tanstack/react-query";
|
|
12
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
12
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index12.js
|
|
13
13
|
function a() {
|
|
14
14
|
let { client: a, organizationId: o } = t();
|
|
15
15
|
return i({
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { postPayablesIdReopen as e } from "
|
|
6
|
-
import { useEmbedApi as t } from "
|
|
7
|
-
import { organizationHeaders as n } from "
|
|
8
|
-
import "
|
|
9
|
-
import { invalidatePayableQueries as r } from "
|
|
10
|
-
import "
|
|
5
|
+
import { postPayablesIdReopen as e } from "../../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
6
|
+
import { useEmbedApi as t } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
|
+
import { organizationHeaders as n } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
8
|
+
import "../../../../shared/data-access/dist/index.js";
|
|
9
|
+
import { invalidatePayableQueries as r } from "../../../data-access/dist/lib/invalidatePayableQueries/invalidatePayableQueries.js";
|
|
10
|
+
import "../../../data-access/dist/invalidation.js";
|
|
11
11
|
import { useMutation as i } from "@tanstack/react-query";
|
|
12
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
12
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index13.js
|
|
13
13
|
function a() {
|
|
14
14
|
let { client: a, organizationId: o } = t();
|
|
15
15
|
return i({
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { postPayablesIdSubmitForApproval as e } from "
|
|
6
|
-
import { useEmbedApi as t } from "
|
|
7
|
-
import { organizationHeaders as n } from "
|
|
8
|
-
import "
|
|
9
|
-
import { invalidatePayableQueries as r } from "
|
|
10
|
-
import { beginApprovalRequestWatch as i } from "
|
|
11
|
-
import { reconcileSubmittedForApprovalQueries as a } from "
|
|
12
|
-
import "
|
|
5
|
+
import { postPayablesIdSubmitForApproval as e } from "../../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
6
|
+
import { useEmbedApi as t } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
|
+
import { organizationHeaders as n } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
8
|
+
import "../../../../shared/data-access/dist/index.js";
|
|
9
|
+
import { invalidatePayableQueries as r } from "../../../data-access/dist/lib/invalidatePayableQueries/invalidatePayableQueries.js";
|
|
10
|
+
import { beginApprovalRequestWatch as i } from "../../../data-access/dist/lib/invalidatePayableQueries/approvalRequestWatch.js";
|
|
11
|
+
import { reconcileSubmittedForApprovalQueries as a } from "../../../data-access/dist/lib/invalidatePayableQueries/reconcileSubmittedForApprovalQueries.js";
|
|
12
|
+
import "../../../data-access/dist/invalidation.js";
|
|
13
13
|
import { useMutation as o } from "@tanstack/react-query";
|
|
14
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
14
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index14.js
|
|
15
15
|
function s() {
|
|
16
16
|
let { client: s, organizationId: c } = t();
|
|
17
17
|
return o({
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { patchPayablesId as e } from "
|
|
6
|
-
import { useEmbedApi as t } from "
|
|
7
|
-
import { organizationHeaders as n } from "
|
|
8
|
-
import "
|
|
9
|
-
import { invalidatePayableQueries as r } from "
|
|
10
|
-
import "
|
|
5
|
+
import { patchPayablesId as e } from "../../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
6
|
+
import { useEmbedApi as t } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
|
+
import { organizationHeaders as n } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
8
|
+
import "../../../../shared/data-access/dist/index.js";
|
|
9
|
+
import { invalidatePayableQueries as r } from "../../../data-access/dist/lib/invalidatePayableQueries/invalidatePayableQueries.js";
|
|
10
|
+
import "../../../data-access/dist/invalidation.js";
|
|
11
11
|
import { useMutation as i } from "@tanstack/react-query";
|
|
12
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
12
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index15.js
|
|
13
13
|
function a() {
|
|
14
14
|
let { client: a, organizationId: o } = t();
|
|
15
15
|
return i({
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { postPayablesIdValidate as e } from "
|
|
6
|
-
import { useEmbedApi as t } from "
|
|
7
|
-
import { organizationHeaders as n } from "
|
|
8
|
-
import "
|
|
5
|
+
import { postPayablesIdValidate as e } from "../../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
6
|
+
import { useEmbedApi as t } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
|
+
import { organizationHeaders as n } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
8
|
+
import "../../../../shared/data-access/dist/index.js";
|
|
9
9
|
import { useMutation as r } from "@tanstack/react-query";
|
|
10
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
10
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index16.js
|
|
11
11
|
function i() {
|
|
12
12
|
let { client: i, organizationId: a } = t();
|
|
13
13
|
return r({ mutationFn: async ({ path: t }) => {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "./index5.js";
|
|
2
|
+
import "./index6.js";
|
|
3
|
+
import "./index7.js";
|
|
4
|
+
import "./index8.js";
|
|
5
|
+
import "./index9.js";
|
|
6
|
+
import "./index10.js";
|
|
7
|
+
import "./index11.js";
|
|
8
|
+
import "./index12.js";
|
|
9
|
+
import "./index13.js";
|
|
10
|
+
import "./index14.js";
|
|
11
|
+
import "./index15.js";
|
|
12
|
+
import "./index16.js";
|
|
@@ -11,7 +11,7 @@ import { getAllPagesNextPaginationTokenParam as o, isAllPagesResolving as s, use
|
|
|
11
11
|
import "../../../../shared/data-access/dist/index.js";
|
|
12
12
|
import { useMemo as l } from "react";
|
|
13
13
|
import { useInfiniteQuery as u } from "@tanstack/react-query";
|
|
14
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
14
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index18.js
|
|
15
15
|
var d = 100;
|
|
16
16
|
function f(f, { enabled: p } = {}) {
|
|
17
17
|
let { client: m, organizationId: h, widgetToken: g, authEpoch: _, organizationPending: v } = i(), y = a(h), b = !!(h && g && f) && p !== !1, x = {
|
|
@@ -9,7 +9,7 @@ import { organizationHeaders as r } from "../../../../shared/data-access/dist/li
|
|
|
9
9
|
import { isApiNotFoundError as i } from "../../../../shared/data-access/dist/lib/isApiNotFoundError.js";
|
|
10
10
|
import "../../../../shared/data-access/dist/index.js";
|
|
11
11
|
import { useQuery as a } from "@tanstack/react-query";
|
|
12
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
12
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index19.js
|
|
13
13
|
function o(o, { enabled: s = !0 } = {}) {
|
|
14
14
|
let { client: c, organizationId: l, widgetToken: u, authEpoch: d, organizationPending: f } = n(), p = !!(l && u && o) && s, m = e({
|
|
15
15
|
client: c,
|
|
@@ -8,12 +8,13 @@ import { withAuthEpoch as r } from "../../../../shared/data-access/dist/lib/with
|
|
|
8
8
|
import { useEmbedApi as i } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
9
9
|
import { organizationHeaders as a } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
10
10
|
import "../../../../shared/data-access/dist/index.js";
|
|
11
|
-
import { NEWEST_REQUEST_FIRST as o, PAYABLE_OBJECT_TYPE as s } from "
|
|
12
|
-
import { invalidateApprovalDecisionQueries as c, reconcileApprovalDecisionQueries as l } from "
|
|
13
|
-
import { beginApprovalRequestWatch as u } from "
|
|
14
|
-
import "
|
|
11
|
+
import { NEWEST_REQUEST_FIRST as o, PAYABLE_OBJECT_TYPE as s } from "../../../data-access/dist/lib/queryKeys.js";
|
|
12
|
+
import { invalidateApprovalDecisionQueries as c, reconcileApprovalDecisionQueries as l } from "../../../data-access/dist/lib/invalidatePayableQueries/approvalDecisionQueries.js";
|
|
13
|
+
import { beginApprovalRequestWatch as u } from "../../../data-access/dist/lib/invalidatePayableQueries/approvalRequestWatch.js";
|
|
14
|
+
import "../../../data-access/dist/invalidation.js";
|
|
15
|
+
import "../../../data-access/dist/index.js";
|
|
15
16
|
import { useMutation as d, useQuery as f } from "@tanstack/react-query";
|
|
16
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
17
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index2.js
|
|
17
18
|
function p(e, { enabled: t } = {}) {
|
|
18
19
|
let { client: c, organizationId: l, widgetToken: u, authEpoch: d, organizationPending: p } = i(), m = !!(l && u && e) && t !== !1, h = n({
|
|
19
20
|
client: c,
|