@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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { formatRejectionDate as e } from "
|
|
2
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js
|
|
1
|
+
import { formatRejectionDate as e } from "../../../../shared/util/dist/lib/formatRejectionDate.js";
|
|
2
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index13.js
|
|
3
3
|
function t({ payableStatus: t, approvalRequests: n, userNames: r, payableUpdatedAt: i, labels: a, now: o }) {
|
|
4
4
|
let s = n.find((e) => e.status === "rejected");
|
|
5
5
|
if (!s) return t !== "rejected" || !i ? void 0 : { actorLabel: a.rejectedOn(e(i, o)) };
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { hasAnyScope as e } from "
|
|
6
|
-
import { useCurrentUserQuery as t } from "
|
|
7
|
-
import { Scope as n } from "
|
|
8
|
-
import "
|
|
9
|
-
import { useWidgetConfig as r } from "
|
|
10
|
-
import "
|
|
11
|
-
import { usePayableApprovalRequestsQuery as i } from "../../data-access/dist/
|
|
5
|
+
import { hasAnyScope as e } from "../../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
6
|
+
import { useCurrentUserQuery as t } from "../../../../shared/data-access/dist/lib/useCurrentUserQuery.js";
|
|
7
|
+
import { Scope as n } from "../../../../shared/data-access/dist/lib/scopes.js";
|
|
8
|
+
import "../../../../shared/data-access/dist/index.js";
|
|
9
|
+
import { useWidgetConfig as r } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
10
|
+
import "../../../../shared/feature/dist/index.js";
|
|
11
|
+
import { usePayableApprovalRequestsQuery as i } from "../../data-access/dist/index2.js";
|
|
12
12
|
import "../../data-access/dist/index.js";
|
|
13
13
|
import { currentApprovalRound as a } from "./index3.js";
|
|
14
14
|
import { usePayableApprovalRoundStart as o } from "./index11.js";
|
|
15
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js
|
|
15
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index14.js
|
|
16
16
|
function s({ payableId: s, status: c }) {
|
|
17
17
|
let { initResponse: l } = r(), u = e(l?.scopes, [n.ApprovalRequestReadOrg]), d = c === "approve_in_progress" && u, f = i(s, { enabled: d }), p = t({ enabled: d }), { roundStartedAt: m } = o({
|
|
18
18
|
payableId: s,
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { toast as e } from "
|
|
6
|
-
import "
|
|
7
|
-
import { useWidgetConfig as t } from "
|
|
8
|
-
import "
|
|
9
|
-
import { useApprovePayableApprovalRequestMutation as n, useRejectPayableApprovalRequestMutation as r } from "../../data-access/dist/
|
|
10
|
-
import { useCancelPayableMutation as i } from "../../data-access/dist/
|
|
11
|
-
import { useCancelScheduledPaymentMutation as a } from "../../data-access/dist/
|
|
12
|
-
import { useForceApprovePayableMutation as o } from "../../data-access/dist/
|
|
13
|
-
import { useForceRejectPayableMutation as s } from "../../data-access/dist/
|
|
14
|
-
import { useReopenPayableMutation as c } from "../../data-access/dist/
|
|
5
|
+
import { toast as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import "../../../../shared/ui/dist/index.js";
|
|
7
|
+
import { useWidgetConfig as t } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
8
|
+
import "../../../../shared/feature/dist/index.js";
|
|
9
|
+
import { useApprovePayableApprovalRequestMutation as n, useRejectPayableApprovalRequestMutation as r } from "../../data-access/dist/index2.js";
|
|
10
|
+
import { useCancelPayableMutation as i } from "../../data-access/dist/index6.js";
|
|
11
|
+
import { useCancelScheduledPaymentMutation as a } from "../../data-access/dist/index7.js";
|
|
12
|
+
import { useForceApprovePayableMutation as o } from "../../data-access/dist/index11.js";
|
|
13
|
+
import { useForceRejectPayableMutation as s } from "../../data-access/dist/index12.js";
|
|
14
|
+
import { useReopenPayableMutation as c } from "../../data-access/dist/index13.js";
|
|
15
15
|
import "../../data-access/dist/index.js";
|
|
16
16
|
import { getBillDetailActions as l } from "./index7.js";
|
|
17
17
|
import { useState as u } from "react";
|
|
18
18
|
import { BanIcon as d, HandIcon as f } from "lucide-react";
|
|
19
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js
|
|
19
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index15.js
|
|
20
20
|
function p({ payableId: d, status: f, currentApprovalRequestId: p, arePendingApproversUnknown: m, hasScheduledPayment: h, scheduledPaymentIntentId: g, isScheduledPaymentUnknown: v, isPayabilityUnknown: x, labels: S, isMarkAsPaidPending: C, hasApprovalPolicy: w = !0, hasWaitingRequest: T, pendingApprovers: E, onPayBillSelect: D, onMarkAsPaidSelect: O, onEditSelect: k, onActionSucceeded: A }) {
|
|
21
21
|
let { initResponse: j } = t(), M = r(), N = n(), P = i(), F = a(), I = c(), L = o(), R = s(), z = C || M.isPending || N.isPending || P.isPending || F.isPending || I.isPending || L.isPending || R.isPending, [B, V] = u(), H = B && (B.id !== "cancelScheduledPayment" || B.scheduledPaymentIntentId === g) ? B : void 0, U = d && f ? l({
|
|
22
22
|
status: f,
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { hasAnyScope as e } from "
|
|
6
|
-
import { Scope as t } from "
|
|
7
|
-
import "
|
|
8
|
-
import { useWidgetConfig as n } from "
|
|
9
|
-
import "
|
|
10
|
-
import { isLiveScheduledPaymentRecord as r } from "
|
|
11
|
-
import { usePayablePaymentRecordsQuery as i } from "../../data-access/dist/
|
|
5
|
+
import { hasAnyScope as e } from "../../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
6
|
+
import { Scope as t } from "../../../../shared/data-access/dist/lib/scopes.js";
|
|
7
|
+
import "../../../../shared/data-access/dist/index.js";
|
|
8
|
+
import { useWidgetConfig as n } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
9
|
+
import "../../../../shared/feature/dist/index.js";
|
|
10
|
+
import { isLiveScheduledPaymentRecord as r } from "../../../util/dist/lib/isLiveScheduledPaymentRecord.js";
|
|
11
|
+
import { usePayablePaymentRecordsQuery as i } from "../../data-access/dist/index18.js";
|
|
12
12
|
import "../../data-access/dist/index.js";
|
|
13
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
13
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index16.js
|
|
14
14
|
function a({ payableId: a, scheduledPaymentDate: o, enabled: s = !0 }) {
|
|
15
15
|
let { initResponse: c } = n(), l = e(c?.scopes, [t.PaymentRecordReadOrg]), u = i(s ? a : void 0, { enabled: s && l }), d = u.paymentRecords.find(r), f = !!d || !!o, p = d?.planned_payment_date ?? (f ? o : void 0);
|
|
16
16
|
return {
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { toast as e } from "
|
|
6
|
-
import { hasAnyScope as t } from "
|
|
7
|
-
import { Scope as n } from "
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
10
|
-
import { useWidgetConfig as r } from "
|
|
11
|
-
import "
|
|
12
|
-
import { useDeletePayableMutation as i } from "../../data-access/dist/
|
|
5
|
+
import { toast as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import { hasAnyScope as t } from "../../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
7
|
+
import { Scope as n } from "../../../../shared/data-access/dist/lib/scopes.js";
|
|
8
|
+
import "../../../../shared/data-access/dist/index.js";
|
|
9
|
+
import "../../../../shared/ui/dist/index.js";
|
|
10
|
+
import { useWidgetConfig as r } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
11
|
+
import "../../../../shared/feature/dist/index.js";
|
|
12
|
+
import { useDeletePayableMutation as i } from "../../data-access/dist/index10.js";
|
|
13
13
|
import "../../data-access/dist/index.js";
|
|
14
14
|
import { useState as a } from "react";
|
|
15
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
15
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index17.js
|
|
16
16
|
function o({ payableId: o, status: s, enabled: c = !0, labels: l, onDeleted: u }) {
|
|
17
17
|
let { initResponse: d } = r(), f = i(), [p, m] = a(!1), h = t(d?.scopes, [n.PayableWriteOrg]), g = !!(c && o && s === "draft" && h), _ = g ? [{
|
|
18
18
|
id: "deleteDraft",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { formatCalendarDate as e } from "
|
|
2
|
-
import { derivePayableStatus as t } from "
|
|
3
|
-
import { formatBillMoney as n } from "
|
|
4
|
-
import { resolveLineItemAmountMinorUnits as r } from "
|
|
5
|
-
import { resolveLineItemQuantity as i } from "
|
|
6
|
-
import { resolveVendor as a, resolveVendorName as o } from "
|
|
7
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
1
|
+
import { formatCalendarDate as e } from "../../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
2
|
+
import { derivePayableStatus as t } from "../../../util/dist/lib/derivePayableStatus.js";
|
|
3
|
+
import { formatBillMoney as n } from "../../../util/dist/lib/formatBillMoney.js";
|
|
4
|
+
import { resolveLineItemAmountMinorUnits as r } from "../../../util/dist/lib/resolveLineItemAmount.js";
|
|
5
|
+
import { resolveLineItemQuantity as i } from "../../../util/dist/lib/resolveLineItemQuantity.js";
|
|
6
|
+
import { resolveVendor as a, resolveVendorName as o } from "../../../util/dist/lib/resolveVendor.js";
|
|
7
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index18.js
|
|
8
8
|
function s(e) {
|
|
9
9
|
return e.total_amount ?? e.amount_due ?? void 0;
|
|
10
10
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { formatCalendarDate as e } from "
|
|
2
|
-
import { derivePayableStatus as t } from "
|
|
3
|
-
import { formatBillMoney as n } from "
|
|
4
|
-
import { resolveAmountDueMinorUnits as r } from "
|
|
5
|
-
import { resolveLineItemAmountMinorUnits as i } from "
|
|
6
|
-
import { resolveLineItemQuantity as a } from "
|
|
7
|
-
import { resolveVendor as o } from "
|
|
8
|
-
import { getPaidAtLabel as s, resolveInvoiceTotalMinorUnits as c } from "./
|
|
9
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
1
|
+
import { formatCalendarDate as e } from "../../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
2
|
+
import { derivePayableStatus as t } from "../../../util/dist/lib/derivePayableStatus.js";
|
|
3
|
+
import { formatBillMoney as n } from "../../../util/dist/lib/formatBillMoney.js";
|
|
4
|
+
import { resolveAmountDueMinorUnits as r } from "../../../util/dist/lib/resolveAmountDue.js";
|
|
5
|
+
import { resolveLineItemAmountMinorUnits as i } from "../../../util/dist/lib/resolveLineItemAmount.js";
|
|
6
|
+
import { resolveLineItemQuantity as a } from "../../../util/dist/lib/resolveLineItemQuantity.js";
|
|
7
|
+
import { resolveVendor as o } from "../../../util/dist/lib/resolveVendor.js";
|
|
8
|
+
import { getPaidAtLabel as s, resolveInvoiceTotalMinorUnits as c } from "./index18.js";
|
|
9
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index19.js
|
|
10
10
|
function l({ payable: l, lineItems: u, glCodeOptions: d, glCodeRosterAvailable: f = !0, history: p, paymentHistory: m, approvalPolicy: h, labels: g, hasScheduledPayment: _, rejection: v, payableAchInstructions: y, payableAchInstructionsReadable: b = !1 }) {
|
|
11
11
|
let x = l.currency, S = t({
|
|
12
12
|
apiStatus: l.status,
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { formatCalendarDate as e } from "../../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
2
|
+
import { formatBillMoney as t } from "../../../util/dist/lib/formatBillMoney.js";
|
|
3
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index2.js
|
|
4
|
+
var n = /* @__PURE__ */ new Set([
|
|
5
|
+
"marked_as_paid",
|
|
6
|
+
"marked_as_partially_paid",
|
|
7
|
+
"payment_reverted"
|
|
8
|
+
]);
|
|
9
|
+
function r(e, t) {
|
|
10
|
+
let n = e?.[t];
|
|
11
|
+
return typeof n == "string" && n ? n : void 0;
|
|
12
|
+
}
|
|
13
|
+
function i(e, t) {
|
|
14
|
+
let n = e?.[t];
|
|
15
|
+
return typeof n == "number" ? n : void 0;
|
|
16
|
+
}
|
|
17
|
+
function a(e) {
|
|
18
|
+
let t;
|
|
19
|
+
for (let n of e.history ?? []) n.status === e.status && (t = n.timestamp);
|
|
20
|
+
return t;
|
|
21
|
+
}
|
|
22
|
+
var o = /* @__PURE__ */ new Set(["created", "processing"]);
|
|
23
|
+
function s(e, t) {
|
|
24
|
+
if (e) return t[e.toLowerCase()] ?? e.split("_").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ");
|
|
25
|
+
}
|
|
26
|
+
function c({ records: c, events: l = [], currencyCode: u, labels: d }) {
|
|
27
|
+
let f = (e) => t(e, u), p = (e) => e?.slice(0, 10) ?? "", m = [], h = new Set(c.map((e) => e.id));
|
|
28
|
+
for (let t of c) {
|
|
29
|
+
let n = o.has(t.status ?? ""), r = t.paid_at ?? a(t), i = n ? t.planned_payment_date : r?.slice(0, 10) ?? t.planned_payment_date, c = t.status === "succeeded" ? d.paymentHistorySentLabel : n ? d.paymentHistoryScheduledLabel : t.status === "canceled" ? d.paymentHistoryCanceledLabel : d.paymentHistoryOtherLabel, l = s(t.payment_method, d.paymentHistoryMethodLabels), u = t.overpaid_amount && t.overpaid_amount > 0 ? f(t.overpaid_amount) : void 0;
|
|
30
|
+
m.push({
|
|
31
|
+
key: p(i),
|
|
32
|
+
view: {
|
|
33
|
+
id: t.id,
|
|
34
|
+
dateLabel: e(i),
|
|
35
|
+
statusLabel: l ? d.paymentHistoryMethodSuffix(c, l) : c,
|
|
36
|
+
amountLabel: f(t.amount) ?? "",
|
|
37
|
+
overpaidLabel: u ? d.paymentHistoryOverpaidLabel(u) : void 0
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
for (let t of l) {
|
|
42
|
+
if (!n.has(t.event_type)) continue;
|
|
43
|
+
let a = t.event_data, o = r(a, "payment_record_id");
|
|
44
|
+
if (o && h.has(o)) continue;
|
|
45
|
+
let c = a?.is_external === !0, l = t.event_type === "payment_reverted" ? d.paymentHistoryRevertedLabel : t.event_type === "marked_as_partially_paid" ? c ? d.paymentHistoryPartiallyPaidExternalLabel : d.paymentHistoryPartiallyPaidLabel : c ? d.paymentHistoryMarkedPaidExternalLabel : d.paymentHistoryMarkedPaidLabel, u = s(r(a, "payment_method"), d.paymentHistoryMethodLabels), g = r(a, "paid_at") ?? t.timestamp;
|
|
46
|
+
m.push({
|
|
47
|
+
key: p(g),
|
|
48
|
+
view: {
|
|
49
|
+
id: `event:${t.id}`,
|
|
50
|
+
dateLabel: e(g?.slice(0, 10)),
|
|
51
|
+
statusLabel: u ? d.paymentHistoryMethodSuffix(l, u) : l,
|
|
52
|
+
amountLabel: f(i(a, "amount_paid")) ?? ""
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
return m.slice().sort((e, t) => !e.key || !t.key ? e.key ? -1 : +!!t.key : e.key.localeCompare(t.key)).map((e) => e.view);
|
|
57
|
+
}
|
|
58
|
+
//#endregion
|
|
59
|
+
export { c as buildPaymentHistory };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index20.js
|
|
2
2
|
function e({ isUnsavedPromptOpen: e, isLocked: t, isDirty: n }) {
|
|
3
3
|
return e ? "dismiss-prompt" : !t && n ? "prompt" : "close";
|
|
4
4
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { formatBillMoney as e } from "
|
|
2
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
1
|
+
import { formatBillMoney as e } from "../../../util/dist/lib/formatBillMoney.js";
|
|
2
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index21.js
|
|
3
3
|
var t = {
|
|
4
4
|
dateLabel: (e) => new Date(e).toLocaleDateString("en-US", {
|
|
5
5
|
month: "short",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useEffect as e, useRef as t, useState as n } from "react";
|
|
2
2
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
3
|
import "react-pdf/dist/Page/TextLayer.css";
|
|
4
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
4
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index22.js
|
|
5
5
|
var a = {
|
|
6
6
|
previewUnavailable: "Preview not available for this file type.",
|
|
7
7
|
openFile: "Open file"
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { AWAITING_APPROVAL_LABEL_EN as e, AWAITING_APPROVAL_UNKNOWN_LABEL_EN as t, BILL_DETAIL_ACTIONS_LABELS_EN as n, PAYMENT_HISTORY_LABELS_EN as r, SCHEDULED_RELATIVE_DAY_LABELS_EN as i, SCHEDULED_STATUS_BADGE_LABEL_EN as a, SCHEDULED_SUMMARY_LABEL_EN as o, mergeBillDetailActionsLabels as s, mergePaymentHistoryMethodLabels as c } from "
|
|
1
|
+
import { AWAITING_APPROVAL_LABEL_EN as e, AWAITING_APPROVAL_UNKNOWN_LABEL_EN as t, BILL_DETAIL_ACTIONS_LABELS_EN as n, PAYMENT_HISTORY_LABELS_EN as r, SCHEDULED_RELATIVE_DAY_LABELS_EN as i, SCHEDULED_STATUS_BADGE_LABEL_EN as a, SCHEDULED_SUMMARY_LABEL_EN as o, mergeBillDetailActionsLabels as s, mergePaymentHistoryMethodLabels as c } from "../../../util/dist/lib/billDetailLabels.js";
|
|
2
2
|
import { APPROVAL_POLICY_RULE_COPY_EN as l } from "./index8.js";
|
|
3
|
-
import { PAYABLE_AUDIT_HISTORY_LABELS_EN as u } from "./
|
|
4
|
-
import { SOURCE_DOCUMENT_PREVIEW_LABELS_EN as d } from "./
|
|
5
|
-
import { ACH_FIELD_GROUP_LABELS_EN as f } from "
|
|
6
|
-
import "
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { UNSAVED_BILL_DIALOG_LABELS_EN as h } from "../../ui/dist/
|
|
3
|
+
import { PAYABLE_AUDIT_HISTORY_LABELS_EN as u } from "./index21.js";
|
|
4
|
+
import { SOURCE_DOCUMENT_PREVIEW_LABELS_EN as d } from "./index22.js";
|
|
5
|
+
import { ACH_FIELD_GROUP_LABELS_EN as f } from "../../../../shared/counterpart-management/ui/dist/index2.js";
|
|
6
|
+
import "../../../../shared/counterpart-management/ui/dist/index.js";
|
|
7
|
+
import { BILL_REJECTED_BANNER_LABELS_EN as p } from "../../ui/dist/index39.js";
|
|
8
|
+
import { DISCARD_CHANGES_DIALOG_LABELS_EN as m } from "../../ui/dist/index42.js";
|
|
9
|
+
import { UNSAVED_BILL_DIALOG_LABELS_EN as h } from "../../ui/dist/index51.js";
|
|
10
10
|
import "../../ui/dist/index.js";
|
|
11
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
11
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index23.js
|
|
12
12
|
var g = {
|
|
13
13
|
unmappedValidationError: (e, t) => `${e}: ${t}`,
|
|
14
14
|
unknownValidationField: "(unknown field)",
|
|
@@ -77,7 +77,7 @@ var g = {
|
|
|
77
77
|
readOnlyTitle: "Bill details",
|
|
78
78
|
addedOn: (e) => `Added on ${e}`,
|
|
79
79
|
unsavedChanges: h,
|
|
80
|
-
discardChanges:
|
|
80
|
+
discardChanges: m,
|
|
81
81
|
scheduledRelativeDay: i,
|
|
82
82
|
scheduledSummary: o,
|
|
83
83
|
scheduledStatusBadge: a,
|
|
@@ -101,7 +101,7 @@ var g = {
|
|
|
101
101
|
noAccess: "You don't have access to GL codes",
|
|
102
102
|
empty: "No GL codes set up yet"
|
|
103
103
|
},
|
|
104
|
-
rejectedBanner:
|
|
104
|
+
rejectedBanner: p
|
|
105
105
|
};
|
|
106
106
|
function x(e) {
|
|
107
107
|
return {
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { createSourceDocumentPreview as e } from "./
|
|
6
|
-
import { SourceDocumentPanel as t } from "../../ui/dist/
|
|
5
|
+
import { createSourceDocumentPreview as e } from "./index22.js";
|
|
6
|
+
import { SourceDocumentPanel as t } from "../../ui/dist/index49.js";
|
|
7
7
|
import "../../ui/dist/index.js";
|
|
8
|
-
import { SOURCE_DOCUMENT_CONTAINER_LABELS_EN as n } from "./
|
|
9
|
-
import { useAttachPayableFileMutation as r } from "../../data-access/dist/
|
|
8
|
+
import { SOURCE_DOCUMENT_CONTAINER_LABELS_EN as n } from "./index23.js";
|
|
9
|
+
import { useAttachPayableFileMutation as r } from "../../data-access/dist/index5.js";
|
|
10
10
|
import "../../data-access/dist/index.js";
|
|
11
11
|
import { useEffect as i, useState as a } from "react";
|
|
12
12
|
import { jsx as o } from "react/jsx-runtime";
|
|
13
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
13
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index24.js
|
|
14
14
|
function s(e) {
|
|
15
15
|
let [t, n] = a();
|
|
16
16
|
return i(() => {
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { Button as e } from "
|
|
6
|
-
import { getStateOptions as t } from "
|
|
7
|
-
import { AchFieldGroup as n } from "
|
|
8
|
-
import { CounterpartFormFields as r, useFocusFirstInvalidField as i } from "
|
|
9
|
-
import "
|
|
10
|
-
import { VendorSearchCombobox as a } from "../../ui/dist/
|
|
5
|
+
import { Button as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import { getStateOptions as t } from "../../../../shared/util/dist/lib/usStates.js";
|
|
7
|
+
import { AchFieldGroup as n } from "../../../../shared/counterpart-management/ui/dist/index5.js";
|
|
8
|
+
import { CounterpartFormFields as r, useFocusFirstInvalidField as i } from "../../../../shared/counterpart-management/ui/dist/index9.js";
|
|
9
|
+
import "../../../../shared/counterpart-management/ui/dist/index.js";
|
|
10
|
+
import { VendorSearchCombobox as a } from "../../ui/dist/index24.js";
|
|
11
11
|
import "../../ui/dist/index.js";
|
|
12
|
-
import { mergeVendorInlineFormLabels as o } from "./
|
|
13
|
-
import "
|
|
12
|
+
import { mergeVendorInlineFormLabels as o } from "./index23.js";
|
|
13
|
+
import "../../../../shared/counterpart-management/feature/dist/index.js";
|
|
14
14
|
import { useMemo as s } from "react";
|
|
15
15
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
16
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
16
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index26.js
|
|
17
17
|
function u({ mode: u, values: d, errors: f, onChange: p, onAddressChange: m, sectionsToExpand: h, onAddressExpand: g, onCancel: _, onSave: v, isSaving: y = !1, search: b, paymentInstructions: x, labels: S }) {
|
|
18
18
|
let C = s(() => o(S), [S]), w = s(() => t(), []), T = i(f ?? {});
|
|
19
19
|
return /* @__PURE__ */ l("div", {
|
|
@@ -2,28 +2,28 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { toast as e } from "
|
|
6
|
-
import { hasAnyScope as t } from "
|
|
7
|
-
import { Scope as n } from "
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
10
|
-
import { useWidgetConfig as r } from "
|
|
11
|
-
import "
|
|
12
|
-
import { VENDOR_SECTION_PROPS_LABELS_EN as i } from "./
|
|
13
|
-
import { usePayableSuggestionsQuery as a } from "../../data-access/dist/
|
|
5
|
+
import { toast as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import { hasAnyScope as t } from "../../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
7
|
+
import { Scope as n } from "../../../../shared/data-access/dist/lib/scopes.js";
|
|
8
|
+
import "../../../../shared/data-access/dist/index.js";
|
|
9
|
+
import "../../../../shared/ui/dist/index.js";
|
|
10
|
+
import { useWidgetConfig as r } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
11
|
+
import "../../../../shared/feature/dist/index.js";
|
|
12
|
+
import { VENDOR_SECTION_PROPS_LABELS_EN as i } from "./index23.js";
|
|
13
|
+
import { usePayableSuggestionsQuery as a } from "../../data-access/dist/index19.js";
|
|
14
14
|
import "../../data-access/dist/index.js";
|
|
15
|
-
import { buildVendorPrefill as o } from "./
|
|
16
|
-
import { COUNTERPART_MESSAGE_LABELS_EN as s } from "
|
|
17
|
-
import { counterpartFormBankAccountToCreatePayload as ee, counterpartFormBankAccountToUpdatePayload as te, getAchInstructions as ne, getCounterpartEmail as c, getCounterpartName as l, getPayableAchInstructions as re, isAchCompatibleBankAccount as u, resolveCounterpartBankAccountWrite as ie, validateAchFormValues as ae } from "
|
|
18
|
-
import { useCounterpartsQuery as oe } from "
|
|
19
|
-
import { useCreateCounterpartBankAccountMutation as se, useUpdateCounterpartBankAccountMutation as ce } from "
|
|
20
|
-
import { useCounterpartDetails as le } from "
|
|
21
|
-
import { useCounterpartForm as ue } from "
|
|
22
|
-
import "
|
|
23
|
-
import { VendorInlineForm as de } from "./
|
|
15
|
+
import { buildVendorPrefill as o } from "./index25.js";
|
|
16
|
+
import { COUNTERPART_MESSAGE_LABELS_EN as s } from "../../../../shared/counterpart-management/feature/dist/lib/labels.js";
|
|
17
|
+
import { counterpartFormBankAccountToCreatePayload as ee, counterpartFormBankAccountToUpdatePayload as te, getAchInstructions as ne, getCounterpartEmail as c, getCounterpartName as l, getPayableAchInstructions as re, isAchCompatibleBankAccount as u, resolveCounterpartBankAccountWrite as ie, validateAchFormValues as ae } from "../../../../shared/counterpart-management/feature/dist/lib/helpers.js";
|
|
18
|
+
import { useCounterpartsQuery as oe } from "../../../../shared/counterpart-management/data-access/dist/index3.js";
|
|
19
|
+
import { useCreateCounterpartBankAccountMutation as se, useUpdateCounterpartBankAccountMutation as ce } from "../../../../shared/counterpart-management/data-access/dist/index5.js";
|
|
20
|
+
import { useCounterpartDetails as le } from "../../../../shared/counterpart-management/feature/dist/lib/useCounterpartDetails.js";
|
|
21
|
+
import { useCounterpartForm as ue } from "../../../../shared/counterpart-management/feature/dist/lib/useCounterpartForm.js";
|
|
22
|
+
import "../../../../shared/counterpart-management/feature/dist/index.js";
|
|
23
|
+
import { VendorInlineForm as de } from "./index26.js";
|
|
24
24
|
import { useCallback as d, useEffect as f, useMemo as p, useRef as m, useState as h } from "react";
|
|
25
25
|
import { jsx as fe } from "react/jsx-runtime";
|
|
26
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
26
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index27.js
|
|
27
27
|
var pe = 10, me = 300, g = {
|
|
28
28
|
accountHolderName: "",
|
|
29
29
|
routingNumber: "",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index28.js
|
|
2
2
|
function e(e) {
|
|
3
3
|
return new Promise((t, n) => {
|
|
4
4
|
let r = new FileReader();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { parseDecimalAmountToMinorUnits as e } from "
|
|
2
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
1
|
+
import { parseDecimalAmountToMinorUnits as e } from "../../../../shared/util/dist/lib/parseDecimalAmountToMinorUnits.js";
|
|
2
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index29.js
|
|
3
3
|
var t = "USD";
|
|
4
4
|
function n(n) {
|
|
5
5
|
return e(n, t);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index3.js
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
let n = e ?? [];
|
|
4
|
+
return t ? n.filter((e) => !e.created_at || e.created_at >= t) : n.slice(0, 1);
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { e as currentApprovalRound };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BILL_CREATE_MESSAGE_LABELS_EN as e } from "./
|
|
2
|
-
import { isPersistableLineItem as t, parseMoneyToMinorUnits as n, parseQuantity as r } from "./
|
|
3
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
1
|
+
import { BILL_CREATE_MESSAGE_LABELS_EN as e } from "./index23.js";
|
|
2
|
+
import { isPersistableLineItem as t, parseMoneyToMinorUnits as n, parseQuantity as r } from "./index29.js";
|
|
3
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index30.js
|
|
4
4
|
var i = /^(?:\d{1,3}(?:,\d{3})+(?:\.\d+)?|\d+(?:\.\d+)?|\.\d+)$/, a = 255, o = 10, s = 5, c = 30, l = 864e5;
|
|
5
5
|
function u() {
|
|
6
6
|
let e = /* @__PURE__ */ new Date();
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { toast as e } from "
|
|
6
|
-
import { extractApiErrorMessage as t } from "
|
|
7
|
-
import "
|
|
8
|
-
import { BILL_CREATE_MESSAGE_LABELS_EN as n } from "./
|
|
9
|
-
import { encodeFileToBase64 as r } from "./
|
|
10
|
-
import { mapBillFormToPayload as i, mapLineItemsToPayload as a, mapPayableAmountFieldsToPayload as o } from "./
|
|
11
|
-
import { validateBillCompleteness as s, validateBillTotalIsPayable as c, validateBillTotals as l, validateBillValues as u, validateLineItems as d, validateStoredAmountDue as ee } from "./
|
|
12
|
-
import { useReplacePayableLineItemsMutation as f } from "../../data-access/dist/
|
|
13
|
-
import { useCreatePayableMutation as p } from "../../data-access/dist/
|
|
14
|
-
import { useDeletePayableFileMutation as m } from "../../data-access/dist/
|
|
15
|
-
import { useSubmitPayableForApprovalMutation as te } from "../../data-access/dist/
|
|
16
|
-
import { useUpdatePayableMutation as h } from "../../data-access/dist/
|
|
17
|
-
import { useValidatePayableMutation as g } from "../../data-access/dist/
|
|
5
|
+
import { toast as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import { extractApiErrorMessage as t } from "../../../../shared/util/dist/lib/apiErrors.js";
|
|
7
|
+
import "../../../../shared/ui/dist/index.js";
|
|
8
|
+
import { BILL_CREATE_MESSAGE_LABELS_EN as n } from "./index23.js";
|
|
9
|
+
import { encodeFileToBase64 as r } from "./index28.js";
|
|
10
|
+
import { mapBillFormToPayload as i, mapLineItemsToPayload as a, mapPayableAmountFieldsToPayload as o } from "./index29.js";
|
|
11
|
+
import { validateBillCompleteness as s, validateBillTotalIsPayable as c, validateBillTotals as l, validateBillValues as u, validateLineItems as d, validateStoredAmountDue as ee } from "./index30.js";
|
|
12
|
+
import { useReplacePayableLineItemsMutation as f } from "../../data-access/dist/index4.js";
|
|
13
|
+
import { useCreatePayableMutation as p } from "../../data-access/dist/index8.js";
|
|
14
|
+
import { useDeletePayableFileMutation as m } from "../../data-access/dist/index9.js";
|
|
15
|
+
import { useSubmitPayableForApprovalMutation as te } from "../../data-access/dist/index14.js";
|
|
16
|
+
import { useUpdatePayableMutation as h } from "../../data-access/dist/index15.js";
|
|
17
|
+
import { useValidatePayableMutation as g } from "../../data-access/dist/index16.js";
|
|
18
18
|
import "../../data-access/dist/index.js";
|
|
19
19
|
import { useCallback as _, useRef as ne, useState as v } from "react";
|
|
20
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
20
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index31.js
|
|
21
21
|
var y = {
|
|
22
22
|
document_id: "invoiceNumber",
|
|
23
23
|
issued_at: "invoiceDate",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { resolveLineItemAmountMinorUnits as e } from "
|
|
2
|
-
import { resolveLineItemQuantity as t } from "
|
|
3
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
1
|
+
import { resolveLineItemAmountMinorUnits as e } from "../../../util/dist/lib/resolveLineItemAmount.js";
|
|
2
|
+
import { resolveLineItemQuantity as t } from "../../../util/dist/lib/resolveLineItemQuantity.js";
|
|
3
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index32.js
|
|
4
4
|
function n() {
|
|
5
5
|
return {
|
|
6
6
|
id: crypto.randomUUID(),
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { BILL_CREATE_MESSAGE_LABELS_EN as e } from "./
|
|
6
|
-
import { calculateTotal as t, displayLineAmount as n, normalizeMoneyOnBlur as r, parseMoneyToMinorUnits as i, parseQuantity as a } from "./
|
|
7
|
-
import { validateBillTotals as o } from "./
|
|
8
|
-
import { emptyLineItem as s, mapPayableToBillForm as c } from "./
|
|
5
|
+
import { BILL_CREATE_MESSAGE_LABELS_EN as e } from "./index23.js";
|
|
6
|
+
import { calculateTotal as t, displayLineAmount as n, normalizeMoneyOnBlur as r, parseMoneyToMinorUnits as i, parseQuantity as a } from "./index29.js";
|
|
7
|
+
import { validateBillTotals as o } from "./index30.js";
|
|
8
|
+
import { emptyLineItem as s, mapPayableToBillForm as c } from "./index32.js";
|
|
9
9
|
import { useCallback as l, useEffect as u, useMemo as d, useRef as f, useState as p } from "react";
|
|
10
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
10
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index33.js
|
|
11
11
|
var m = /^[0-9.,-]+$/;
|
|
12
12
|
function h(e) {
|
|
13
13
|
let t = e.trim().replace(/^\$\s*/, "");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index34.js
|
|
2
2
|
var e = {
|
|
3
3
|
dialog: "bill-pay-bill-create-dialog",
|
|
4
4
|
vendorSection: "bill-pay-bill-create-vendor",
|