@tesouro/embedded-components-react 0.5.222 → 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.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/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
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ApprovalPoliciesSettingsDefaultLabels as e } from "../../../../shared/approval-policy/feature/dist/lib/labels.js";
|
|
2
|
+
import { parseApprovalPolicyScript as t } from "../../../../shared/approval-policy/util/dist/lib/policyScript.js";
|
|
3
|
+
import { parseApprovalPolicyTrigger as n } from "../../../../shared/approval-policy/util/dist/lib/policyTrigger.js";
|
|
4
|
+
import { buildPolicySentence as r, buildPolicyTitle as i } from "../../../../shared/approval-policy/feature/dist/lib/policyViewModel.js";
|
|
5
|
+
import "../../../../shared/approval-policy/feature/dist/index.js";
|
|
6
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index8.js
|
|
7
|
+
var a = {
|
|
8
|
+
ruleTitleRange: e.ruleTitleRange,
|
|
9
|
+
ruleTitleUpTo: e.ruleTitleUpTo,
|
|
10
|
+
ruleTitleFrom: e.ruleTitleFrom,
|
|
11
|
+
ruleTitleAny: e.ruleTitleAny,
|
|
12
|
+
ruleSentenceRange: e.ruleSentenceRange,
|
|
13
|
+
ruleSentenceUpTo: e.ruleSentenceUpTo,
|
|
14
|
+
ruleSentenceFrom: e.ruleSentenceFrom,
|
|
15
|
+
ruleSentenceAny: e.ruleSentenceAny
|
|
16
|
+
};
|
|
17
|
+
function o({ policy: a, lookup: o, approvedUserIds: s, approvedRoleIds: c, copy: l }) {
|
|
18
|
+
let u = t(a.script);
|
|
19
|
+
if (!u.groups.length || !u.isSupported) return;
|
|
20
|
+
let d = [];
|
|
21
|
+
for (let [e, t] of u.groups.entries()) {
|
|
22
|
+
let n = [];
|
|
23
|
+
for (let e of [...t.roleIds, ...t.userIds]) {
|
|
24
|
+
let t = o.get(e);
|
|
25
|
+
t && n.push({
|
|
26
|
+
id: e,
|
|
27
|
+
label: t.label,
|
|
28
|
+
approved: t.kind === "user" ? s.has(e) : !!c?.has(e)
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
n.length && d.push({
|
|
32
|
+
id: `group-${e + 1}`,
|
|
33
|
+
chips: n
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
if (!d.length) return;
|
|
37
|
+
let { condition: f, hasKnownAmountBounds: p } = n(a.trigger);
|
|
38
|
+
if (!p) return;
|
|
39
|
+
let m = {
|
|
40
|
+
...e,
|
|
41
|
+
...l
|
|
42
|
+
};
|
|
43
|
+
return {
|
|
44
|
+
title: i(f, m),
|
|
45
|
+
sentence: r(f, m),
|
|
46
|
+
steps: d
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
//#endregion
|
|
50
|
+
export { a as APPROVAL_POLICY_RULE_COPY_EN, o as buildApprovalPolicyCardView };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { currentApprovalRound as e } from "./index3.js";
|
|
2
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index9.js
|
|
3
|
+
function t({ requestsNewestFirst: t, roundStartedAt: n, lookup: r }) {
|
|
4
|
+
let i = e(t, n), a = [];
|
|
5
|
+
for (let e of i) {
|
|
6
|
+
if (e.status !== "waiting") continue;
|
|
7
|
+
let t = [...e.role_ids ?? [], ...e.user_ids ?? []].map((e) => r.get(e)?.label).filter((e) => !!e);
|
|
8
|
+
t.length && a.push({
|
|
9
|
+
id: e.id,
|
|
10
|
+
names: t
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
return a;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { t as buildPendingApproverGroups };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index.js
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import "./index2.js";
|
|
2
|
+
import "./index3.js";
|
|
3
|
+
import "./index4.js";
|
|
4
|
+
import "./index6.js";
|
|
5
|
+
import "./index7.js";
|
|
6
|
+
import "./index8.js";
|
|
7
|
+
import "./index9.js";
|
|
8
|
+
import "./index11.js";
|
|
9
|
+
import "./index12.js";
|
|
10
|
+
import "./index13.js";
|
|
11
|
+
import "./index14.js";
|
|
12
|
+
import "./index15.js";
|
|
13
|
+
import "./index16.js";
|
|
14
|
+
import "./index17.js";
|
|
15
|
+
import "./index18.js";
|
|
16
|
+
import "./index19.js";
|
|
17
|
+
import "./index20.js";
|
|
18
|
+
import "./index21.js";
|
|
19
|
+
import "./index22.js";
|
|
20
|
+
import "./index23.js";
|
|
21
|
+
import { VendorSearchCombobox as e } from "./index24.js";
|
|
22
|
+
import "./index25.js";
|
|
23
|
+
import "./index26.js";
|
|
24
|
+
import "./index27.js";
|
|
25
|
+
import "./index28.js";
|
|
26
|
+
import "./index29.js";
|
|
27
|
+
import { BillCreateScreen as t } from "./index31.js";
|
|
28
|
+
import "./index32.js";
|
|
29
|
+
import { BILL_DETAILS_SHEET_LABELS_EN as n } from "./index33.js";
|
|
30
|
+
import { BillDetailsSheet as r } from "./index34.js";
|
|
31
|
+
import "./index35.js";
|
|
32
|
+
import "./index36.js";
|
|
33
|
+
import { BillDuplicateNotice as i } from "./index37.js";
|
|
34
|
+
import "./index38.js";
|
|
35
|
+
import { BILL_REJECTED_BANNER_LABELS_EN as a } from "./index39.js";
|
|
36
|
+
import { BillRejectedBanner as o } from "./index40.js";
|
|
37
|
+
import "./index41.js";
|
|
38
|
+
import { DISCARD_CHANGES_DIALOG_LABELS_EN as s } from "./index42.js";
|
|
39
|
+
import { DiscardChangesDialog as c } from "./index43.js";
|
|
40
|
+
import "./index44.js";
|
|
41
|
+
import "./index45.js";
|
|
42
|
+
import { ExtractionNotice as l } from "./index46.js";
|
|
43
|
+
import "./index47.js";
|
|
44
|
+
import "./index48.js";
|
|
45
|
+
import { SourceDocumentPanel as u } from "./index49.js";
|
|
46
|
+
import "./index50.js";
|
|
47
|
+
import { UNSAVED_BILL_DIALOG_LABELS_EN as d } from "./index51.js";
|
|
48
|
+
import { UnsavedBillDialog as f } from "./index52.js";
|
|
49
|
+
import "./index53.js";
|
|
50
|
+
export { n as BILL_DETAILS_SHEET_LABELS_EN, a as BILL_REJECTED_BANNER_LABELS_EN, t as BillCreateScreen, r as BillDetailsSheet, i as BillDuplicateNotice, o as BillRejectedBanner, s as DISCARD_CHANGES_DIALOG_LABELS_EN, c as DiscardChangesDialog, l as ExtractionNotice, u as SourceDocumentPanel, d as UNSAVED_BILL_DIALOG_LABELS_EN, f as UnsavedBillDialog, e as VendorSearchCombobox };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Button as e } from "
|
|
2
|
-
import { AchFieldGroup as t } from "
|
|
3
|
-
import "
|
|
1
|
+
import { Button as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { AchFieldGroup as t } from "../../../../shared/counterpart-management/ui/dist/index5.js";
|
|
3
|
+
import "../../../../shared/counterpart-management/ui/dist/index.js";
|
|
4
4
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/
|
|
5
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index10.js
|
|
6
6
|
function i({ paymentInstructions: i, labels: a }) {
|
|
7
7
|
return /* @__PURE__ */ r("div", {
|
|
8
8
|
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ACH_FIELD_GROUP_LABELS_EN as e } from "
|
|
2
|
-
import "
|
|
3
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/
|
|
1
|
+
import { ACH_FIELD_GROUP_LABELS_EN as e } from "../../../../shared/counterpart-management/ui/dist/index2.js";
|
|
2
|
+
import "../../../../shared/counterpart-management/ui/dist/index.js";
|
|
3
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index11.js
|
|
4
4
|
var t = {
|
|
5
5
|
payToHeading: "Pay to",
|
|
6
6
|
vendorLabel: "Vendor",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Button as e } from "
|
|
2
|
-
import { VENDOR_SUMMARY_CARD_LABELS_EN as t } from "./
|
|
3
|
-
import { AchEditGroup as n } from "./
|
|
1
|
+
import { Button as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { VENDOR_SUMMARY_CARD_LABELS_EN as t } from "./index11.js";
|
|
3
|
+
import { AchEditGroup as n } from "./index10.js";
|
|
4
4
|
import { useMemo as r } from "react";
|
|
5
5
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
6
|
import { ChevronRightIcon as o, Plus as s } from "lucide-react";
|
|
7
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/
|
|
7
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index12.js
|
|
8
8
|
var c = "ttw:flex ttw:items-start ttw:gap-4 ttw:py-2.5", l = "ttw:w-[140px] ttw:shrink-0 ttw:text-sm ttw:font-medium ttw:text-muted-foreground", u = "ttw:-mx-2 ttw:-my-1 ttw:flex ttw:flex-1 ttw:items-center ttw:justify-between ttw:gap-3 ttw:rounded-md ttw:px-2 ttw:py-1 ttw:text-left ttw:hover:bg-muted";
|
|
9
9
|
function d({ summary: d, onEdit: f, paymentInstructions: p, showPaymentInstructions: m = !0, detailsWarning: h, testId: g, labels: _ }) {
|
|
10
10
|
let v = r(() => ({
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { AUDIT_HISTORY_LABELS_EN as e, REQUIRED_FIELDS_LEGEND_LABELS_EN as t, mergeRequiredFieldsLegendLabels as n } from "
|
|
2
|
-
import { APPROVAL_POLICY_CARD_LABELS_EN as r } from "./
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import {
|
|
7
|
-
import "
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js
|
|
1
|
+
import { AUDIT_HISTORY_LABELS_EN as e, REQUIRED_FIELDS_LEGEND_LABELS_EN as t, mergeRequiredFieldsLegendLabels as n } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { APPROVAL_POLICY_CARD_LABELS_EN as r } from "./index2.js";
|
|
3
|
+
import "./index4.js";
|
|
4
|
+
import { VENDOR_SUMMARY_CARD_LABELS_EN as i } from "./index11.js";
|
|
5
|
+
import "./index13.js";
|
|
6
|
+
import { BILL_STATUS_BADGE_LABELS_EN as a } from "../../../ui/dist/index15.js";
|
|
7
|
+
import { DUE_DATE_VALUE_LABELS_EN as o } from "../../../ui/dist/index23.js";
|
|
8
|
+
import "../../../ui/dist/index.js";
|
|
9
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index14.js
|
|
11
10
|
var s = {
|
|
12
11
|
...e,
|
|
13
12
|
error: "Couldn't load audit history.",
|
|
@@ -33,11 +32,11 @@ var s = {
|
|
|
33
32
|
paymentHistoryHeading: "Payment history",
|
|
34
33
|
paymentHistoryErrorDescription: "Couldn't load payment history.",
|
|
35
34
|
history: s,
|
|
36
|
-
statusBadge:
|
|
35
|
+
statusBadge: a,
|
|
37
36
|
approvalPolicy: r,
|
|
38
|
-
dueDate:
|
|
37
|
+
dueDate: o,
|
|
39
38
|
payToCard: {
|
|
40
|
-
...
|
|
39
|
+
...i,
|
|
41
40
|
editAction: "Edit vendor"
|
|
42
41
|
},
|
|
43
42
|
requiredFieldsLegend: t
|
|
@@ -1,28 +1,27 @@
|
|
|
1
|
-
import { AuditHistoryList as e, Badge as t, Button as n, RequiredFieldsLegend as r, Skeleton as i, Typography as a, cn as o } from "
|
|
2
|
-
import { ErrorState as s } from "
|
|
3
|
-
import "
|
|
4
|
-
import { ApprovalPolicyCard as c } from "./
|
|
5
|
-
import "./
|
|
6
|
-
import { BillRejectionNotice as l } from "./
|
|
7
|
-
import "./
|
|
8
|
-
import {
|
|
9
|
-
import "./
|
|
10
|
-
import {
|
|
11
|
-
import "./
|
|
12
|
-
import {
|
|
13
|
-
import "
|
|
14
|
-
import {
|
|
15
|
-
import "
|
|
16
|
-
import { mergeBillDetailBodyLabels as
|
|
17
|
-
import { ScheduledSummaryBadge as
|
|
18
|
-
import { BillActionButtons as g, NO_BILL_ACTIONS as _ } from "./index18.js";
|
|
1
|
+
import { AuditHistoryList as e, Badge as t, Button as n, RequiredFieldsLegend as r, Skeleton as i, Typography as a, cn as o } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { ErrorState as s } from "../../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
|
|
3
|
+
import "../../../../shared/ui/dist/index.js";
|
|
4
|
+
import { ApprovalPolicyCard as c } from "./index3.js";
|
|
5
|
+
import "./index4.js";
|
|
6
|
+
import { BillRejectionNotice as l } from "./index6.js";
|
|
7
|
+
import "./index7.js";
|
|
8
|
+
import { PaymentHistoryList as u } from "./index8.js";
|
|
9
|
+
import "./index9.js";
|
|
10
|
+
import { VendorSummaryCard as d } from "./index12.js";
|
|
11
|
+
import "./index13.js";
|
|
12
|
+
import { BillActionButtons as f, NO_BILL_ACTIONS as p } from "../../../ui/dist/index2.js";
|
|
13
|
+
import { BillStatusBadge as m } from "../../../ui/dist/index16.js";
|
|
14
|
+
import { DueDateValue as h } from "../../../ui/dist/index24.js";
|
|
15
|
+
import "../../../ui/dist/index.js";
|
|
16
|
+
import { mergeBillDetailBodyLabels as g } from "./index14.js";
|
|
17
|
+
import { ScheduledSummaryBadge as _ } from "./index5.js";
|
|
19
18
|
import { useMemo as v } from "react";
|
|
20
19
|
import { jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
21
20
|
import { AlertTriangle as x } from "lucide-react";
|
|
22
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/
|
|
21
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index15.js
|
|
23
22
|
var S = "ttw:text-base ttw:font-semibold", C = "ttw:px-3 ttw:py-2", w = "ttw:py-2 ttw:pr-3", T = "ttw:flex ttw:items-start ttw:gap-4 ttw:py-2.5", E = "ttw:w-[140px] ttw:shrink-0 ttw:text-sm ttw:font-medium ttw:text-muted-foreground";
|
|
24
|
-
function D({ view: D, actions: O =
|
|
25
|
-
let W = v(() =>
|
|
23
|
+
function D({ view: D, actions: O = p, scheduledSummary: k, scheduledSummaryDate: A, scheduledStatusLabel: j, showApprovalOverrideNotice: M, awaitingApprovalNotice: N, payTo: P, hideMissingPaymentInstructions: F, paymentHistoryError: I, paymentHistoryLoading: L, historyError: R, historyLoading: z, historyNamesError: B, isLoading: V, isError: H, labels: U }) {
|
|
24
|
+
let W = v(() => g(U), [U]), G = v(() => ({
|
|
26
25
|
...W.payToCard,
|
|
27
26
|
payToHeading: D?.paidOnLabel ? W.payToHeadingPaid : W.payToHeading,
|
|
28
27
|
vendorLabel: W.vendorRow,
|
|
@@ -103,10 +102,10 @@ function D({ view: D, actions: O = _, scheduledSummary: k, scheduledSummaryDate:
|
|
|
103
102
|
variant: "outline",
|
|
104
103
|
className: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700",
|
|
105
104
|
children: D.paidOnLabel
|
|
106
|
-
}) : k ? /* @__PURE__ */ y(
|
|
105
|
+
}) : k ? /* @__PURE__ */ y(_, {
|
|
107
106
|
summary: k,
|
|
108
107
|
date: A
|
|
109
|
-
}) : /* @__PURE__ */ y(
|
|
108
|
+
}) : /* @__PURE__ */ y(m, {
|
|
110
109
|
status: D.status,
|
|
111
110
|
tone: D.statusTone,
|
|
112
111
|
labels: K
|
|
@@ -127,7 +126,7 @@ function D({ view: D, actions: O = _, scheduledSummary: k, scheduledSummaryDate:
|
|
|
127
126
|
children: [/* @__PURE__ */ y("span", {
|
|
128
127
|
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
129
128
|
children: W.dueDateLabel
|
|
130
|
-
}), /* @__PURE__ */ y(
|
|
129
|
+
}), /* @__PURE__ */ y(h, {
|
|
131
130
|
className: "ttw:text-sm ttw:font-medium",
|
|
132
131
|
value: D.dueDateLabel,
|
|
133
132
|
tone: D.dueDateTone,
|
|
@@ -147,20 +146,20 @@ function D({ view: D, actions: O = _, scheduledSummary: k, scheduledSummaryDate:
|
|
|
147
146
|
}) : null,
|
|
148
147
|
!k && O.row.length ? /* @__PURE__ */ y("div", {
|
|
149
148
|
className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-2",
|
|
150
|
-
children: /* @__PURE__ */ y(
|
|
149
|
+
children: /* @__PURE__ */ y(f, { actions: O.row })
|
|
151
150
|
}) : null
|
|
152
151
|
]
|
|
153
152
|
}),
|
|
154
153
|
q?.isOpen && !F ? /* @__PURE__ */ y(r, { labels: W.requiredFieldsLegend }) : null,
|
|
155
154
|
P?.editForm ? /* @__PURE__ */ b("div", {
|
|
156
155
|
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
157
|
-
children: [P.editForm, /* @__PURE__ */ y(
|
|
156
|
+
children: [P.editForm, /* @__PURE__ */ y(d, {
|
|
158
157
|
summary: D.payTo,
|
|
159
158
|
paymentInstructions: q,
|
|
160
159
|
detailsWarning: P?.detailsWarning,
|
|
161
160
|
labels: G
|
|
162
161
|
})]
|
|
163
|
-
}) : /* @__PURE__ */ y(
|
|
162
|
+
}) : /* @__PURE__ */ y(d, {
|
|
164
163
|
summary: D.payTo,
|
|
165
164
|
onEdit: P?.onEdit,
|
|
166
165
|
paymentInstructions: q,
|
|
@@ -175,7 +174,7 @@ function D({ view: D, actions: O = _, scheduledSummary: k, scheduledSummaryDate:
|
|
|
175
174
|
}), I ? /* @__PURE__ */ y("p", {
|
|
176
175
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
177
176
|
children: W.paymentHistoryErrorDescription
|
|
178
|
-
}) : L ? /* @__PURE__ */ y(i, { className: "ttw:h-9 ttw:w-full" }) : /* @__PURE__ */ y(
|
|
177
|
+
}) : L ? /* @__PURE__ */ y(i, { className: "ttw:h-9 ttw:w-full" }) : /* @__PURE__ */ y(u, { records: D.paymentHistory })]
|
|
179
178
|
}) : null,
|
|
180
179
|
/* @__PURE__ */ b("section", {
|
|
181
180
|
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LABEL_LABELS_EN as e } from "
|
|
2
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/
|
|
1
|
+
import { LABEL_LABELS_EN as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index17.js
|
|
3
3
|
var t = {
|
|
4
4
|
invoiceNumber: "Invoice number",
|
|
5
5
|
invoiceDate: "Invoice date",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FieldRequirement as e, Input as t, Label as n } from "
|
|
2
|
-
import { mergeBillFormFieldsLabels as r } from "./
|
|
1
|
+
import { FieldRequirement as e, Input as t, Label as n } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { mergeBillFormFieldsLabels as r } from "./index17.js";
|
|
3
3
|
import { useId as i } from "react";
|
|
4
4
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
5
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/
|
|
5
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index18.js
|
|
6
6
|
var s = 255, c = {
|
|
7
7
|
invoiceDate: e.Required,
|
|
8
8
|
dueDate: e.Required,
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index2.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index2.js
|
|
2
|
+
var e = {
|
|
3
|
+
heading: "Approval policy",
|
|
4
|
+
stepConnector: "And",
|
|
5
|
+
chipConnector: "or",
|
|
6
|
+
approvedIndicator: "Approved"
|
|
7
|
+
};
|
|
8
|
+
function t(t) {
|
|
9
|
+
return {
|
|
10
|
+
...e,
|
|
11
|
+
...t
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { e as APPROVAL_POLICY_CARD_LABELS_EN, t as mergeApprovalPolicyCardLabels };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LABEL_LABELS_EN as e } from "
|
|
2
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/
|
|
1
|
+
import { LABEL_LABELS_EN as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index20.js
|
|
3
3
|
var t = {
|
|
4
4
|
heading: "Line items",
|
|
5
5
|
helpText: "Enter a single amount for this payment, or split it into line items to assign a GL code to each one.",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Button as e, FieldRequirement as t, Input as n, InputGroup as r, InputGroupAddon as i, InputGroupInput as a, Label as o, Select as s, SelectContent as c, SelectItem as l, SelectTrigger as u, SelectValue as d, Tooltip as f, TooltipContent as p, TooltipProvider as m, TooltipTrigger as h, Typography as g, cn as _ } from "
|
|
2
|
-
import { mergeLineItemsSectionLabels as v } from "./
|
|
1
|
+
import { Button as e, FieldRequirement as t, Input as n, InputGroup as r, InputGroupAddon as i, InputGroupInput as a, Label as o, Select as s, SelectContent as c, SelectItem as l, SelectTrigger as u, SelectValue as d, Tooltip as f, TooltipContent as p, TooltipProvider as m, TooltipTrigger as h, Typography as g, cn as _ } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { mergeLineItemsSectionLabels as v } from "./index20.js";
|
|
3
3
|
import { useId as y } from "react";
|
|
4
4
|
import { jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
5
5
|
import { CircleAlert as S, Minus as C, Plus as w, Trash2 as T, X as E } from "lucide-react";
|
|
6
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/
|
|
6
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index21.js
|
|
7
7
|
var D = {
|
|
8
8
|
description: t.Required,
|
|
9
9
|
glCode: t.Optional,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LABEL_LABELS_EN as e } from "
|
|
2
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/
|
|
1
|
+
import { LABEL_LABELS_EN as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index23.js
|
|
3
3
|
var t = {
|
|
4
4
|
fieldLabel: "Select or add vendor",
|
|
5
5
|
triggerPlaceholder: "Select vendor",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Command as e, CommandGroup as t, CommandInput as n, CommandItem as r, CommandList as i, CommandSeparator as a, FieldRequirement as o, Label as s, Popover as c, PopoverContent as l, PopoverTrigger as u, Skeleton as d, cn as f } from "
|
|
2
|
-
import { mergeVendorSearchComboboxLabels as p } from "./
|
|
1
|
+
import { Command as e, CommandGroup as t, CommandInput as n, CommandItem as r, CommandList as i, CommandSeparator as a, FieldRequirement as o, Label as s, Popover as c, PopoverContent as l, PopoverTrigger as u, Skeleton as d, cn as f } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { mergeVendorSearchComboboxLabels as p } from "./index23.js";
|
|
3
3
|
import { useId as m, useState as h } from "react";
|
|
4
4
|
import { jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
5
5
|
import { ChevronDown as v, Plus as y } from "lucide-react";
|
|
6
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/
|
|
6
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index24.js
|
|
7
7
|
var b = 5, x = "ttw:min-h-44";
|
|
8
8
|
function S({ query: S, onQueryChange: C, results: w, isLoading: T, onAddVendor: E, testId: D, labels: O }) {
|
|
9
9
|
let k = p(O), A = m(), [j, M] = h(!1);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { VENDOR_SUMMARY_CARD_LABELS_EN as e } from "./
|
|
2
|
-
import "./
|
|
3
|
-
import { VENDOR_SEARCH_COMBOBOX_LABELS_EN as t, mergeVendorSearchComboboxLabels as n } from "./
|
|
4
|
-
import "./
|
|
5
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/
|
|
1
|
+
import { VENDOR_SUMMARY_CARD_LABELS_EN as e } from "./index11.js";
|
|
2
|
+
import "./index13.js";
|
|
3
|
+
import { VENDOR_SEARCH_COMBOBOX_LABELS_EN as t, mergeVendorSearchComboboxLabels as n } from "./index23.js";
|
|
4
|
+
import "./index25.js";
|
|
5
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index26.js
|
|
6
6
|
var r = {
|
|
7
7
|
heading: "Who are you paying?",
|
|
8
8
|
summaryCard: e,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Typography as e } from "
|
|
2
|
-
import { VendorSummaryCard as t } from "./
|
|
3
|
-
import "./
|
|
4
|
-
import { VendorSearchCombobox as n } from "./
|
|
5
|
-
import "./
|
|
6
|
-
import { mergeVendorSectionLabels as r } from "./
|
|
1
|
+
import { Typography as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { VendorSummaryCard as t } from "./index12.js";
|
|
3
|
+
import "./index13.js";
|
|
4
|
+
import { VendorSearchCombobox as n } from "./index24.js";
|
|
5
|
+
import "./index25.js";
|
|
6
|
+
import { mergeVendorSectionLabels as r } from "./index26.js";
|
|
7
7
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
8
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/
|
|
8
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index27.js
|
|
9
9
|
function o(o) {
|
|
10
10
|
let { onEdit: s, error: c, testId: l, labels: u, disabled: d } = o, f = r(u);
|
|
11
11
|
return /* @__PURE__ */ a("section", {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { LABEL_LABELS_EN as e, REQUIRED_FIELDS_LEGEND_LABELS_EN as t, mergeRequiredFieldsLegendLabels as n } from "
|
|
2
|
-
import { BILL_DETAIL_BODY_LABELS_EN as r, mergeBillDetailBodyLabels as i } from "./
|
|
3
|
-
import "./
|
|
4
|
-
import { BILL_FORM_FIELDS_LABELS_EN as a, mergeBillFormFieldsLabels as o } from "./
|
|
5
|
-
import "./
|
|
6
|
-
import { LINE_ITEMS_SECTION_LABELS_EN as s, mergeLineItemsSectionLabels as c } from "./
|
|
7
|
-
import "./
|
|
8
|
-
import { VENDOR_SECTION_LABELS_EN as l, mergeVendorSectionLabels as u } from "./
|
|
9
|
-
import "./
|
|
10
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/
|
|
1
|
+
import { LABEL_LABELS_EN as e, REQUIRED_FIELDS_LEGEND_LABELS_EN as t, mergeRequiredFieldsLegendLabels as n } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { BILL_DETAIL_BODY_LABELS_EN as r, mergeBillDetailBodyLabels as i } from "./index14.js";
|
|
3
|
+
import "./index16.js";
|
|
4
|
+
import { BILL_FORM_FIELDS_LABELS_EN as a, mergeBillFormFieldsLabels as o } from "./index17.js";
|
|
5
|
+
import "./index19.js";
|
|
6
|
+
import { LINE_ITEMS_SECTION_LABELS_EN as s, mergeLineItemsSectionLabels as c } from "./index20.js";
|
|
7
|
+
import "./index22.js";
|
|
8
|
+
import { VENDOR_SECTION_LABELS_EN as l, mergeVendorSectionLabels as u } from "./index26.js";
|
|
9
|
+
import "./index28.js";
|
|
10
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index29.js
|
|
11
11
|
var d = {
|
|
12
12
|
closeButton: "Close",
|
|
13
13
|
collapseButton: "Exit full screen",
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index3.js
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Badge as e, Typography as t } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { mergeApprovalPolicyCardLabels as n } from "./index2.js";
|
|
3
|
+
import { Fragment as r } from "react";
|
|
4
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
|
+
import { CheckCircle2Icon as o } from "lucide-react";
|
|
6
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index3.js
|
|
7
|
+
var s = "ttw:text-base ttw:font-semibold";
|
|
8
|
+
function c({ view: c, labels: l }) {
|
|
9
|
+
let u = n(l);
|
|
10
|
+
return /* @__PURE__ */ a("section", {
|
|
11
|
+
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
12
|
+
children: [/* @__PURE__ */ i("h3", {
|
|
13
|
+
className: s,
|
|
14
|
+
children: u.heading
|
|
15
|
+
}), /* @__PURE__ */ a("div", {
|
|
16
|
+
className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:rounded-lg ttw:bg-muted ttw:p-4",
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ i(t, {
|
|
19
|
+
variant: "body1",
|
|
20
|
+
className: "ttw:font-medium",
|
|
21
|
+
children: c.title
|
|
22
|
+
}),
|
|
23
|
+
/* @__PURE__ */ i(t, {
|
|
24
|
+
variant: "body2",
|
|
25
|
+
color: "muted",
|
|
26
|
+
children: c.sentence
|
|
27
|
+
}),
|
|
28
|
+
c.steps.map((n, s) => /* @__PURE__ */ a(r, { children: [s > 0 ? /* @__PURE__ */ a("div", {
|
|
29
|
+
className: "ttw:flex ttw:items-center ttw:gap-2.5",
|
|
30
|
+
children: [/* @__PURE__ */ i(t, {
|
|
31
|
+
variant: "caption",
|
|
32
|
+
color: "muted",
|
|
33
|
+
children: u.stepConnector
|
|
34
|
+
}), /* @__PURE__ */ i("div", { className: "ttw:h-px ttw:flex-1 ttw:bg-border" })]
|
|
35
|
+
}) : null, /* @__PURE__ */ i("div", {
|
|
36
|
+
className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-1.5",
|
|
37
|
+
children: n.chips.map((n, s) => /* @__PURE__ */ a(r, { children: [s > 0 ? /* @__PURE__ */ i(t, {
|
|
38
|
+
variant: "body2",
|
|
39
|
+
color: "muted",
|
|
40
|
+
children: u.chipConnector
|
|
41
|
+
}) : null, /* @__PURE__ */ a(e, {
|
|
42
|
+
variant: "outline",
|
|
43
|
+
className: "ttw:flex ttw:items-center ttw:gap-1",
|
|
44
|
+
children: [n.label, n.approved ? /* @__PURE__ */ i(o, {
|
|
45
|
+
"aria-label": u.approvedIndicator,
|
|
46
|
+
className: "ttw:size-3.5 ttw:text-emerald-600"
|
|
47
|
+
}) : null]
|
|
48
|
+
})] }, n.id))
|
|
49
|
+
})] }, n.id))
|
|
50
|
+
]
|
|
51
|
+
})]
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
export { c as ApprovalPolicyCard, c as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEffect as e, useRef as t } from "react";
|
|
2
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/
|
|
2
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index30.js
|
|
3
3
|
function n(n) {
|
|
4
4
|
let r = t(null), i = t(n);
|
|
5
5
|
return e(() => {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { Button as e, Dialog as t, DialogContent as n, DialogDescription as r, DialogHeader as i, DialogTitle as a, DropdownMenu as o, DropdownMenuContent as s, DropdownMenuGroup as c, DropdownMenuItem as l, DropdownMenuLabel as ee, DropdownMenuSeparator as u, DropdownMenuTrigger as d, RequiredFieldsLegend as f } from "
|
|
2
|
-
import { InlineErrorAlert as te } from "
|
|
3
|
-
import "
|
|
4
|
-
import {
|
|
5
|
-
import "
|
|
6
|
-
import {
|
|
7
|
-
import "./
|
|
8
|
-
import {
|
|
9
|
-
import "./
|
|
10
|
-
import { LineItemsSection as g } from "./
|
|
11
|
-
import "./
|
|
12
|
-
import { VendorSection as _ } from "./
|
|
13
|
-
import "./
|
|
14
|
-
import { mergeBillCreateScreenLabels as v } from "./
|
|
15
|
-
import { useFocusFirstInvalidField as y } from "./
|
|
1
|
+
import { Button as e, Dialog as t, DialogContent as n, DialogDescription as r, DialogHeader as i, DialogTitle as a, DropdownMenu as o, DropdownMenuContent as s, DropdownMenuGroup as c, DropdownMenuItem as l, DropdownMenuLabel as ee, DropdownMenuSeparator as u, DropdownMenuTrigger as d, RequiredFieldsLegend as f } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { InlineErrorAlert as te } from "../../../../shared/ui/dist/lib/InlineErrorAlert/InlineErrorAlert.js";
|
|
3
|
+
import "../../../../shared/ui/dist/index.js";
|
|
4
|
+
import { groupBySectionHeading as p } from "../../../ui/dist/index9.js";
|
|
5
|
+
import "../../../ui/dist/index.js";
|
|
6
|
+
import { BillDetailBody as m } from "./index15.js";
|
|
7
|
+
import "./index16.js";
|
|
8
|
+
import { BillFormFields as h } from "./index18.js";
|
|
9
|
+
import "./index19.js";
|
|
10
|
+
import { LineItemsSection as g } from "./index21.js";
|
|
11
|
+
import "./index22.js";
|
|
12
|
+
import { VendorSection as _ } from "./index27.js";
|
|
13
|
+
import "./index28.js";
|
|
14
|
+
import { mergeBillCreateScreenLabels as v } from "./index29.js";
|
|
15
|
+
import { useFocusFirstInvalidField as y } from "./index30.js";
|
|
16
16
|
import { Fragment as b, useId as x } from "react";
|
|
17
17
|
import { Fragment as S, jsx as C, jsxs as w } from "react/jsx-runtime";
|
|
18
18
|
import { Minimize2 as ne, MoreVertical as T, X as E } from "lucide-react";
|
|
19
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/
|
|
19
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index31.js
|
|
20
20
|
function D({ open: D, onOpenChange: O, title: k, subtitle: A, notice: j, vendor: M, values: N, errors: P, onChange: F, lineItems: I, documentPanel: L, menuItems: R, readOnly: z, detail: B, detailEdit: V, isLineItemsLoading: H, isSaving: U, isSavingDraft: W, isSubmitting: G, showSubmit: K = !0, onCancel: q, onCollapse: J, onSaveDraft: Y, onFinalize: X, scrollToErrorToken: Z, testId: re, labels: ie }) {
|
|
21
|
-
let ae = x(), Q = v(ie), $ = !!(z && B), oe = R ?
|
|
21
|
+
let ae = x(), Q = v(ie), $ = !!(z && B), oe = R ? p(R) : [], se = y(Z);
|
|
22
22
|
return /* @__PURE__ */ C(t, {
|
|
23
23
|
open: D,
|
|
24
24
|
onOpenChange: O,
|
|
@@ -121,7 +121,7 @@ function D({ open: D, onOpenChange: O, title: k, subtitle: A, notice: j, vendor:
|
|
|
121
121
|
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
122
122
|
children: j
|
|
123
123
|
}) : null,
|
|
124
|
-
$ ? /* @__PURE__ */ C(
|
|
124
|
+
$ ? /* @__PURE__ */ C(m, {
|
|
125
125
|
...B,
|
|
126
126
|
labels: Q.detailBody
|
|
127
127
|
}) : /* @__PURE__ */ w(S, { children: [
|
|
@@ -132,7 +132,7 @@ function D({ open: D, onOpenChange: O, title: k, subtitle: A, notice: j, vendor:
|
|
|
132
132
|
disabled: z,
|
|
133
133
|
labels: Q.vendorSection
|
|
134
134
|
}),
|
|
135
|
-
/* @__PURE__ */ C(
|
|
135
|
+
/* @__PURE__ */ C(h, {
|
|
136
136
|
values: N,
|
|
137
137
|
errors: P,
|
|
138
138
|
onChange: F,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import "./index29.js";
|
|
2
2
|
import "./index31.js";
|