@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
|
@@ -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",
|
|
@@ -2,69 +2,70 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { toast as e } from "
|
|
6
|
-
import { formatCalendarDate as t } from "
|
|
7
|
-
import { buildPayableAuditHistory as n, hasUnattributedAuditRows as r } from "
|
|
8
|
-
import { hasAnyScope as i } from "
|
|
9
|
-
import { Scope as a } from "
|
|
10
|
-
import { useAllLedgerAccountsQuery as ee } from "
|
|
11
|
-
import "
|
|
12
|
-
import "
|
|
13
|
-
import { useWidgetConfig as te } from "
|
|
14
|
-
import { useOrganizationUserNames as ne } from "
|
|
15
|
-
import "
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { BillDecisionDialog as o } from "
|
|
22
|
-
import
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
5
|
+
import { toast as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import { formatCalendarDate as t } from "../../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
7
|
+
import { buildPayableAuditHistory as n, hasUnattributedAuditRows as r } from "../../../../shared/util/dist/lib/auditHistory/buildPayableAuditHistory.js";
|
|
8
|
+
import { hasAnyScope as i } from "../../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
9
|
+
import { Scope as a } from "../../../../shared/data-access/dist/lib/scopes.js";
|
|
10
|
+
import { useAllLedgerAccountsQuery as ee } from "../../../../shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js";
|
|
11
|
+
import "../../../../shared/data-access/dist/index.js";
|
|
12
|
+
import "../../../../shared/ui/dist/index.js";
|
|
13
|
+
import { useWidgetConfig as te } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
14
|
+
import { useOrganizationUserNames as ne } from "../../../../shared/feature/dist/lib/user/useOrganizationUserNames.js";
|
|
15
|
+
import { useLocalCalendarDay as re } from "../../../../shared/feature/dist/lib/calendar/useLocalCalendarDay.js";
|
|
16
|
+
import "../../../../shared/feature/dist/index.js";
|
|
17
|
+
import { hasUnpaidBalance as ie } from "../../../util/dist/lib/derivePayableStatus.js";
|
|
18
|
+
import { formatScheduledDateLabel as ae } from "../../../util/dist/lib/formatScheduledDateLabel.js";
|
|
19
|
+
import { isEditablePayableStatus as oe } from "../../../util/dist/lib/isEditablePayableStatus.js";
|
|
20
|
+
import { resolveVendor as se } from "../../../util/dist/lib/resolveVendor.js";
|
|
21
|
+
import { BillDecisionDialog as o } from "../../../ui/dist/index4.js";
|
|
22
|
+
import "../../../ui/dist/index.js";
|
|
23
|
+
import { BillCreateScreen as ce } from "../../ui/dist/index31.js";
|
|
24
|
+
import { BillDuplicateNotice as le } from "../../ui/dist/index37.js";
|
|
25
|
+
import { BillRejectedBanner as ue } from "../../ui/dist/index40.js";
|
|
26
|
+
import { DiscardChangesDialog as de } from "../../ui/dist/index43.js";
|
|
27
|
+
import { ExtractionNotice as fe } from "../../ui/dist/index46.js";
|
|
28
|
+
import { UnsavedBillDialog as pe } from "../../ui/dist/index52.js";
|
|
27
29
|
import "../../ui/dist/index.js";
|
|
28
|
-
import { BILL_CREATE_MESSAGE_LABELS_EN as
|
|
29
|
-
import { usePayableApprovalRequestsQuery as
|
|
30
|
-
import { usePayableHistoryQuery as
|
|
31
|
-
import { useAllPayableLineItemsQuery as
|
|
32
|
-
import { useUpdatePayableMutation as
|
|
33
|
-
import { usePayableQuery as
|
|
30
|
+
import { BILL_CREATE_MESSAGE_LABELS_EN as me, mergeBillCreateScreenCopy as he } from "./index23.js";
|
|
31
|
+
import { usePayableApprovalRequestsQuery as ge } from "../../data-access/dist/index2.js";
|
|
32
|
+
import { usePayableHistoryQuery as _e } from "../../data-access/dist/index3.js";
|
|
33
|
+
import { useAllPayableLineItemsQuery as ve } from "../../data-access/dist/index4.js";
|
|
34
|
+
import { useUpdatePayableMutation as ye } from "../../data-access/dist/index15.js";
|
|
35
|
+
import { usePayableQuery as be } from "../../data-access/dist/index21.js";
|
|
34
36
|
import "../../data-access/dist/index.js";
|
|
35
|
-
import { useBillCreateController as
|
|
36
|
-
import { useBillForm as
|
|
37
|
-
import { buildPaymentHistory as
|
|
38
|
-
import { currentApprovalRound as
|
|
39
|
-
import { usePayableDuplicateReview as
|
|
40
|
-
import { canOverrideApprovalPolicy as
|
|
41
|
-
import { usePayableApprovalRoundStart as
|
|
42
|
-
import { useApprovalPolicyCardView as
|
|
43
|
-
import { resolveBillRejectionNotice as
|
|
44
|
-
import { useCurrentApprovalRequestId as
|
|
45
|
-
import { usePayableDetailActions as
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import
|
|
53
|
-
import "
|
|
54
|
-
import {
|
|
55
|
-
import { billCreateTestIds as s } from "./index35.js";
|
|
37
|
+
import { useBillCreateController as xe } from "./index31.js";
|
|
38
|
+
import { useBillForm as Se } from "./index33.js";
|
|
39
|
+
import { buildPaymentHistory as Ce } from "./index2.js";
|
|
40
|
+
import { currentApprovalRound as we } from "./index3.js";
|
|
41
|
+
import { usePayableDuplicateReview as Te } from "./index6.js";
|
|
42
|
+
import { canOverrideApprovalPolicy as Ee, canReadCounterpartBankAccounts as De } from "./index7.js";
|
|
43
|
+
import { usePayableApprovalRoundStart as Oe } from "./index11.js";
|
|
44
|
+
import { useApprovalPolicyCardView as ke } from "./index12.js";
|
|
45
|
+
import { resolveBillRejectionNotice as Ae } from "./index13.js";
|
|
46
|
+
import { useCurrentApprovalRequestId as je } from "./index14.js";
|
|
47
|
+
import { usePayableDetailActions as Me } from "./index15.js";
|
|
48
|
+
import { useScheduledPayment as Ne } from "./index16.js";
|
|
49
|
+
import { useDraftDelete as Pe } from "./index17.js";
|
|
50
|
+
import { buildBillDetailView as Fe } from "./index19.js";
|
|
51
|
+
import { resolveEditorDismissal as Ie } from "./index20.js";
|
|
52
|
+
import { SourceDocumentContainer as Le } from "./index24.js";
|
|
53
|
+
import { usePayableAchInstructions as Re } from "../../../../shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js";
|
|
54
|
+
import "../../../../shared/counterpart-management/feature/dist/index.js";
|
|
55
|
+
import { useVendorSectionProps as ze } from "./index27.js";
|
|
56
|
+
import { billCreateTestIds as s } from "./index34.js";
|
|
56
57
|
import { cloneElement as Be, isValidElement as Ve, useCallback as c, useEffect as He, useMemo as l, useRef as Ue, useState as u } from "react";
|
|
57
58
|
import { Fragment as We, jsx as d, jsxs as Ge } from "react/jsx-runtime";
|
|
58
59
|
import { Trash2Icon as Ke } from "lucide-react";
|
|
59
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
60
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index35.js
|
|
60
61
|
function qe(e) {
|
|
61
62
|
let t = [...new Set(e)];
|
|
62
63
|
return t.length > 0 ? t : void 0;
|
|
63
64
|
}
|
|
64
65
|
function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye, readOnly: m = !1, copy: Xe, onCollapse: Ze, onEdit: Qe, onOpenBill: h, renderPaymentFlows: $e }) {
|
|
65
|
-
let g = l(() =>
|
|
66
|
+
let g = l(() => he(Xe), [Xe]), et = p ? void 0 : Ye, [tt, nt] = u(et), [rt, it] = u(!!et), [at, ot] = u(!1), [st, _] = u(!1), [ct, v] = u(), y = c((e) => {
|
|
66
67
|
v(() => e);
|
|
67
|
-
}, []), [lt, ut] = u(), b = p ?? lt, x =
|
|
68
|
+
}, []), [lt, ut] = u(), b = p ?? lt, x = be(b, { pollWhileOcrProcessing: !0 }), S = ve(b), { initResponse: C } = te(), dt = !!C, ft = i(C?.scopes, [a.AccountingConfigReadOrg]), w = ee({ enabled: ft }), T = x.data, E = !b || !!T, D = !m && E && !!b && T?.status !== "draft", pt = !m && !!T && !oe(T?.status), O = m || pt, k = Se({
|
|
68
69
|
payable: T,
|
|
69
70
|
lineItems: S.lineItems
|
|
70
71
|
}), A = T?.counterpart_id;
|
|
@@ -77,12 +78,12 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
|
|
|
77
78
|
payableId: b,
|
|
78
79
|
scheduledPaymentDate: T?.scheduled_payment_date,
|
|
79
80
|
enabled: m || D
|
|
80
|
-
}), ht =
|
|
81
|
+
}), ht = re(), M = l(() => j.hasScheduledPayment && j.scheduledDate ? ae(j.scheduledDate, g.scheduledRelativeDay, ht) : void 0, [
|
|
81
82
|
j.hasScheduledPayment,
|
|
82
83
|
j.scheduledDate,
|
|
83
84
|
g.scheduledRelativeDay,
|
|
84
85
|
ht
|
|
85
|
-
]), N =
|
|
86
|
+
]), N = De(C?.scopes), gt = i(C?.scopes, [a.PayableWriteOrg]), _t = i(C?.scopes, [a.CounterpartWriteOrg]) && gt, P = _t && ie(T?.status) && !j.hasScheduledPayment && !j.isResolving, vt = P && N, yt = P || _t && T?.status === "rejected", bt = !m && E && (!b || T?.status === "draft") && !j.hasScheduledPayment && !j.isResolving, F = ze({
|
|
86
87
|
payableId: b,
|
|
87
88
|
counterpartId: m ? A : tt,
|
|
88
89
|
payableCounterpartId: A,
|
|
@@ -99,7 +100,7 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
|
|
|
99
100
|
}), I = F.activePayToOperation === "missingInstructions" ? bt || yt : F.activePayToOperation === "existingInstructions" ? bt || P : F.activePayToOperation === "vendor" && m ? vt : !1, xt = !!(b && rt) && !tt, L = x.refetch, St = c(async () => {
|
|
100
101
|
let { data: e } = await L();
|
|
101
102
|
return e?.status ?? void 0;
|
|
102
|
-
}, [L]), Ct =
|
|
103
|
+
}, [L]), Ct = ye(), [R, wt] = u(!1), z = Ue(void 0), Tt = c(async () => {
|
|
103
104
|
if (z.current) return z.current;
|
|
104
105
|
let t = (async () => {
|
|
105
106
|
if (I) {
|
|
@@ -188,7 +189,7 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
|
|
|
188
189
|
F.discardPayToEdits,
|
|
189
190
|
F.isEditingPayTo
|
|
190
191
|
]);
|
|
191
|
-
let Et = l(() => D ? { draftSaved:
|
|
192
|
+
let Et = l(() => D ? { draftSaved: me.submittedSaved } : void 0, [D]), V = xe({
|
|
192
193
|
payableId: p,
|
|
193
194
|
form: k,
|
|
194
195
|
labels: Et,
|
|
@@ -201,20 +202,20 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
|
|
|
201
202
|
onDraftSaved: () => f(!1),
|
|
202
203
|
onFinalized: () => f(!1),
|
|
203
204
|
readSavedStatus: D ? St : void 0
|
|
204
|
-
}), Dt = !!(V.isSavingDraft || V.isFinalizing || F.isVendorSavePending), H = m ? b : void 0, U =
|
|
205
|
+
}), Dt = !!(V.isSavingDraft || V.isFinalizing || F.isVendorSavePending), H = m ? b : void 0, U = je({
|
|
205
206
|
payableId: H,
|
|
206
207
|
status: T?.status
|
|
207
|
-
}), Ot = Ue(null), [kt, At] = u(!1), jt =
|
|
208
|
+
}), Ot = Ue(null), [kt, At] = u(!1), jt = se(T), W = Re({
|
|
208
209
|
counterpartId: m ? A : void 0,
|
|
209
210
|
currency: T?.currency,
|
|
210
211
|
currentBankAccountId: m ? T?.counterpart_bank_account_id ?? void 0 : void 0,
|
|
211
212
|
enabled: N && m
|
|
212
|
-
}), G =
|
|
213
|
+
}), G = ke({
|
|
213
214
|
payableId: H,
|
|
214
215
|
approvalPolicyId: T?.approval_policy_id,
|
|
215
216
|
enabled: m,
|
|
216
217
|
copy: g.approvalPolicyCopy
|
|
217
|
-
}), Mt =
|
|
218
|
+
}), Mt = Ee({
|
|
218
219
|
status: T?.status,
|
|
219
220
|
scopes: C?.scopes,
|
|
220
221
|
arePendingApproversUnknown: G.isLoading,
|
|
@@ -225,7 +226,7 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
|
|
|
225
226
|
F.discardPayToEdits(), e?.();
|
|
226
227
|
};
|
|
227
228
|
F.hasUnsavedVendorChanges ? y(t) : t();
|
|
228
|
-
}, [y, F]), { actions: Rt, decisionDialog: zt, isActionPending: Bt } =
|
|
229
|
+
}, [y, F]), { actions: Rt, decisionDialog: zt, isActionPending: Bt } = Me({
|
|
229
230
|
payableId: It,
|
|
230
231
|
status: T?.status,
|
|
231
232
|
currentApprovalRequestId: U.id,
|
|
@@ -274,14 +275,14 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
|
|
|
274
275
|
label: [e.nominal_code, e.name].filter(Boolean).join(" — ")
|
|
275
276
|
})), [w.data]), J;
|
|
276
277
|
dt && (ft ? w.isError ? J = g.lineItemsGlCodeUnavailable.loadError : !w.isResolving && q.length === 0 && (J = g.lineItemsGlCodeUnavailable.empty) : J = g.lineItemsGlCodeUnavailable.noAccess);
|
|
277
|
-
let Jt = !dt || !!J || w.isResolving, Yt = ft && !w.isResolving && !w.isError, Y =
|
|
278
|
+
let Jt = !dt || !!J || w.isResolving, Yt = ft && !w.isResolving && !w.isError, Y = _e(H), Xt = T?.status === "rejected" || !m && D, Zt = i(C?.scopes, [a.ApprovalRequestReadOrg]), Qt = Xt && Zt, $t = i(C?.scopes, [a.UserReadOrg]), { userNames: X, isError: en, isResolving: tn } = ne({ enabled: (m || Xt) && $t }), nn = l(() => n(Y.data?.data ?? [], X, g.history), [
|
|
278
279
|
Y.data,
|
|
279
280
|
X,
|
|
280
281
|
g.history
|
|
281
|
-
]), rn = $t && en && r(Y.data?.data ?? [], nn, X), an =
|
|
282
|
+
]), rn = $t && en && r(Y.data?.data ?? [], nn, X), an = Oe({
|
|
282
283
|
payableId: b,
|
|
283
284
|
enabled: Qt
|
|
284
|
-
}), on =
|
|
285
|
+
}), on = ge(b, { enabled: Qt }), sn = l(() => we(on.data?.data, an.roundStartedAt), [on.data, an.roundStartedAt]), Z = l(() => Ae({
|
|
285
286
|
payableStatus: T?.status,
|
|
286
287
|
approvalRequests: sn,
|
|
287
288
|
userNames: X,
|
|
@@ -293,7 +294,7 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
|
|
|
293
294
|
sn,
|
|
294
295
|
X,
|
|
295
296
|
g.detail
|
|
296
|
-
]), cn = l(() =>
|
|
297
|
+
]), cn = l(() => Ce({
|
|
297
298
|
records: j.paymentRecords,
|
|
298
299
|
events: Y.data?.data ?? [],
|
|
299
300
|
currencyCode: T?.currency,
|
|
@@ -410,7 +411,7 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
|
|
|
410
411
|
V,
|
|
411
412
|
_n,
|
|
412
413
|
f
|
|
413
|
-
]), $ =
|
|
414
|
+
]), $ = Te({
|
|
414
415
|
payable: T,
|
|
415
416
|
onOpenPayable: h ? mn : void 0,
|
|
416
417
|
onRemoved: () => f(!1),
|
|
@@ -437,10 +438,10 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
|
|
|
437
438
|
labels: $.removeBillLabel ? { removeBillButton: $.removeBillLabel } : void 0,
|
|
438
439
|
testId: s.duplicateNotice
|
|
439
440
|
}) : null,
|
|
440
|
-
xn ? /* @__PURE__ */ d(
|
|
441
|
+
xn ? /* @__PURE__ */ d(fe, { onDismiss: () => ot(!0) }) : null
|
|
441
442
|
] }) : void 0;
|
|
442
443
|
return /* @__PURE__ */ Ge(We, { children: [
|
|
443
|
-
/* @__PURE__ */ d(
|
|
444
|
+
/* @__PURE__ */ d(ce, {
|
|
444
445
|
open: Je,
|
|
445
446
|
onOpenChange: yn,
|
|
446
447
|
title: dn,
|
|
@@ -533,7 +534,7 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
|
|
|
533
534
|
showSubmit: !O && E,
|
|
534
535
|
testId: s.dialog
|
|
535
536
|
}),
|
|
536
|
-
/* @__PURE__ */ d(
|
|
537
|
+
/* @__PURE__ */ d(pe, {
|
|
537
538
|
open: st,
|
|
538
539
|
onSaveDraft: vn,
|
|
539
540
|
onDiscard: gn,
|
|
@@ -546,7 +547,7 @@ function Je({ open: Je, onOpenChange: f, payableId: p, initialCounterpartId: Ye,
|
|
|
546
547
|
discardTestId: s.unsavedDiscard,
|
|
547
548
|
closeTestId: s.unsavedClose
|
|
548
549
|
}),
|
|
549
|
-
/* @__PURE__ */ d(
|
|
550
|
+
/* @__PURE__ */ d(de, {
|
|
550
551
|
open: !!ct,
|
|
551
552
|
onDiscard: () => {
|
|
552
553
|
let e = ct;
|
|
@@ -1,9 +1,9 @@
|
|
|
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 } 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 } from "../../../util/dist/lib/billDetailLabels.js";
|
|
2
2
|
import { APPROVAL_POLICY_RULE_COPY_EN as s } from "./index8.js";
|
|
3
|
-
import { PAYABLE_AUDIT_HISTORY_LABELS_EN as c } from "./
|
|
4
|
-
import { BILL_DETAILS_SHEET_LABELS_EN as l } from "../../ui/dist/
|
|
3
|
+
import { PAYABLE_AUDIT_HISTORY_LABELS_EN as c } from "./index21.js";
|
|
4
|
+
import { BILL_DETAILS_SHEET_LABELS_EN as l } from "../../ui/dist/index33.js";
|
|
5
5
|
import "../../ui/dist/index.js";
|
|
6
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
6
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index37.js
|
|
7
7
|
var u = {
|
|
8
8
|
subtitle: "Accounts payable",
|
|
9
9
|
vendorRow: "Vendor",
|