@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
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { useAnalyticsTrack as e } from "../../../shared/feature/dist/lib/analytics/hooks.js";
|
|
6
|
+
import "../../../shared/feature/dist/index.js";
|
|
7
|
+
import { ReceivablesWidgetAnalyticsEvent as t } from "./index2.js";
|
|
8
|
+
import { RECEIVABLE_STATUS_BADGE_LABELS_EN as n } from "../../ui/dist/index4.js";
|
|
9
|
+
import "../../ui/dist/index.js";
|
|
10
|
+
import { coerceEnabledTabs as r, resolveInitialTab as i, tabForType as a, typeForTab as o } from "./index12.js";
|
|
11
|
+
import { RECEIVABLE_MESSAGE_LABELS_EN as s } from "./index13.js";
|
|
12
|
+
import { useReceivableActions as c } from "./index15.js";
|
|
13
|
+
import { useReceivableDetails as l } from "./index16.js";
|
|
14
|
+
import { hasSelectedText as u } from "../../../shared/product-catalog/feature/dist/lib/helpers.js";
|
|
15
|
+
import "../../../shared/product-catalog/feature/dist/index.js";
|
|
16
|
+
import { useReceivableForm as d } from "./index25.js";
|
|
17
|
+
import { useReceivablesTable as f } from "./index28.js";
|
|
18
|
+
import { useCallback as p, useEffect as m, useMemo as h, useState as g } from "react";
|
|
19
|
+
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index29.js
|
|
20
|
+
function _({ counterpartMessageLabels: _, defaultTab: v, embeddedBankName: y, enabledTabs: b, messageLabels: x, onReceivableCreated: S, onReceivableOpened: C, screenLabels: w }) {
|
|
21
|
+
let T = e();
|
|
22
|
+
m(() => {
|
|
23
|
+
T(t.Mounted);
|
|
24
|
+
}, [T]);
|
|
25
|
+
let E = h(() => ({
|
|
26
|
+
...s,
|
|
27
|
+
...x
|
|
28
|
+
}), [x]), D = w?.statusBadge, O = h(() => ({
|
|
29
|
+
...n,
|
|
30
|
+
...D
|
|
31
|
+
}), [D]), k = h(() => r(b), [b]), [A, j] = g(() => i({
|
|
32
|
+
defaultTab: v,
|
|
33
|
+
enabledTabs: k
|
|
34
|
+
})), [M, N] = g(), [P, F] = g(!1);
|
|
35
|
+
m(() => {
|
|
36
|
+
k.includes(A) || j(i({
|
|
37
|
+
defaultTab: v,
|
|
38
|
+
enabledTabs: k
|
|
39
|
+
}));
|
|
40
|
+
}, [
|
|
41
|
+
A,
|
|
42
|
+
v,
|
|
43
|
+
k
|
|
44
|
+
]);
|
|
45
|
+
let I = p((e, t) => {
|
|
46
|
+
j(a(t)), N(e), F(!0), S?.(e, t);
|
|
47
|
+
}, [S]), L = f({
|
|
48
|
+
activeTab: A,
|
|
49
|
+
messages: E,
|
|
50
|
+
statusLabels: O
|
|
51
|
+
}), R = l({
|
|
52
|
+
selectedReceivableId: M,
|
|
53
|
+
enabled: P,
|
|
54
|
+
messages: E
|
|
55
|
+
}), z = d({
|
|
56
|
+
messages: E,
|
|
57
|
+
counterpartMessageLabels: _,
|
|
58
|
+
embeddedBankName: y,
|
|
59
|
+
onCreated: I
|
|
60
|
+
}), B = p(() => {
|
|
61
|
+
let e = o(A);
|
|
62
|
+
z.openCreate(e === "quote" ? "quote" : "invoice");
|
|
63
|
+
}, [A, z.openCreate]), V = c({
|
|
64
|
+
selectedReceivable: R.receivable,
|
|
65
|
+
messages: E,
|
|
66
|
+
onCreated: I,
|
|
67
|
+
onDeleted: (e) => {
|
|
68
|
+
e === M && (N(void 0), F(!1));
|
|
69
|
+
}
|
|
70
|
+
}), H = p((e) => {
|
|
71
|
+
u() || (N(e.id), F(!0), C?.(e.id, e.type));
|
|
72
|
+
}, [C]);
|
|
73
|
+
return {
|
|
74
|
+
activeTab: A,
|
|
75
|
+
enabledTabs: k,
|
|
76
|
+
setActiveTab: j,
|
|
77
|
+
table: L,
|
|
78
|
+
details: R,
|
|
79
|
+
detailsOpen: P,
|
|
80
|
+
closeDetails: p(() => {
|
|
81
|
+
F(!1), N(void 0);
|
|
82
|
+
}, []),
|
|
83
|
+
form: z,
|
|
84
|
+
openCreate: B,
|
|
85
|
+
actions: V,
|
|
86
|
+
handleRowClick: H,
|
|
87
|
+
handleActionClick: p((e, t) => {
|
|
88
|
+
let n = L.getReceivableById(t.id);
|
|
89
|
+
if (e === "edit") {
|
|
90
|
+
if (n) {
|
|
91
|
+
z.openEdit(n);
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
N(t.id), F(!0);
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
N(t.id), V.openAction(e, t, n ?? null);
|
|
98
|
+
}, [
|
|
99
|
+
V,
|
|
100
|
+
z.openEdit,
|
|
101
|
+
L.getReceivableById
|
|
102
|
+
]),
|
|
103
|
+
handleDetailsActionClick: p((e, t) => {
|
|
104
|
+
if (e === "edit") {
|
|
105
|
+
R.receivable && (z.openEdit(R.receivable), F(!1));
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
V.openAction(e, {
|
|
109
|
+
id: t.id,
|
|
110
|
+
title: t.title,
|
|
111
|
+
type: t.type
|
|
112
|
+
}, R.receivable ?? null);
|
|
113
|
+
}, [
|
|
114
|
+
V,
|
|
115
|
+
R.receivable,
|
|
116
|
+
z.openEdit
|
|
117
|
+
])
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
//#endregion
|
|
121
|
+
export { _ as useReceivablesWidget };
|
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { Calendar as e, Skeleton as t } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import { EmbeddedToaster as n } from "../../../shared/ui/dist/lib/EmbeddedToaster.js";
|
|
7
|
+
import "../../../shared/ui/dist/index.js";
|
|
8
|
+
import { useAnalyticsTrack as r } from "../../../shared/feature/dist/lib/analytics/hooks.js";
|
|
9
|
+
import { WidgetProvider as i } from "../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
|
|
10
|
+
import "../../../shared/feature/dist/index.js";
|
|
11
|
+
import { CounterpartFormSheet as a } from "../../../shared/counterpart-management/ui/dist/index9.js";
|
|
12
|
+
import { CounterpartSelector as o } from "../../../shared/counterpart-management/feature/dist/lib/CounterpartSelector.js";
|
|
13
|
+
import "../../../shared/counterpart-management/feature/dist/index.js";
|
|
14
|
+
import { ReceivablesWidgetAnalyticsEvent as s, WIDGET_NAME as c } from "./index2.js";
|
|
15
|
+
import { PAGE_SIZE_OPTIONS as l } from "./index4.js";
|
|
16
|
+
import { ReceivableActionDialog as u } from "../../ui/dist/index5.js";
|
|
17
|
+
import { ReceivableBankAccountSection as d } from "../../ui/dist/index6.js";
|
|
18
|
+
import { ReceivableBillingSection as f } from "../../ui/dist/index11.js";
|
|
19
|
+
import { ReceivableDetailsSheet as p } from "../../ui/dist/index22.js";
|
|
20
|
+
import { ReceivableFormSheet as m } from "../../ui/dist/index25.js";
|
|
21
|
+
import { ReceivablePaymentDialog as h } from "../../ui/dist/index26.js";
|
|
22
|
+
import { ReceivableRecurrenceEmailDialog as g } from "../../ui/dist/index31.js";
|
|
23
|
+
import { ReceivableRecurrenceSection as _ } from "../../ui/dist/index33.js";
|
|
24
|
+
import { ReceivableRemindersSection as v } from "../../ui/dist/index35.js";
|
|
25
|
+
import { ReceivableSendDialog as y } from "../../ui/dist/index36.js";
|
|
26
|
+
import { ReceivablesScreen as b } from "../../ui/dist/index38.js";
|
|
27
|
+
import "../../ui/dist/index.js";
|
|
28
|
+
import { ReceivableAttachmentsSection as x } from "./index5.js";
|
|
29
|
+
import { MeasureUnitsManagerContainer as S } from "../../../shared/product-catalog/feature/dist/lib/MeasureUnitsManagerContainer.js";
|
|
30
|
+
import { ProductSelector as C } from "../../../shared/product-catalog/feature/dist/lib/ProductSelector.js";
|
|
31
|
+
import "../../../shared/product-catalog/feature/dist/index.js";
|
|
32
|
+
import { useReceivablesWidget as w } from "./index29.js";
|
|
33
|
+
import { useEffect as T, useId as E, useState as D } from "react";
|
|
34
|
+
import { Fragment as O, jsx as k, jsxs as A } from "react/jsx-runtime";
|
|
35
|
+
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index30.js
|
|
36
|
+
function j({ counterpartFormLabels: i, counterpartMessageLabels: c, defaultTab: j, detailsLabels: M, embeddedBankName: N, enabledTabs: P, formLabels: F, measureUnitDeleteLabels: I, measureUnitsLabels: L, messageLabels: R, onReceivableCreated: z, onReceivableOpened: B, onTemplateSettingsClick: V, pageSizeOptions: H = l, paymentLabels: U, productMessageLabels: W, screenLabels: G, sendLabels: K, actionLabels: q }) {
|
|
37
|
+
let J = r();
|
|
38
|
+
T(() => {
|
|
39
|
+
J(s.Mounted);
|
|
40
|
+
}, [J]);
|
|
41
|
+
let Y = w({
|
|
42
|
+
counterpartMessageLabels: c,
|
|
43
|
+
defaultTab: j,
|
|
44
|
+
embeddedBankName: N,
|
|
45
|
+
enabledTabs: P,
|
|
46
|
+
messageLabels: R,
|
|
47
|
+
onReceivableCreated: z,
|
|
48
|
+
onReceivableOpened: B,
|
|
49
|
+
screenLabels: G
|
|
50
|
+
}), [X, Z] = D(!1), Q = E(), $ = E(), ee = E(), te = E();
|
|
51
|
+
return /* @__PURE__ */ A(O, { children: [
|
|
52
|
+
/* @__PURE__ */ k(n, {}),
|
|
53
|
+
/* @__PURE__ */ k(b, {
|
|
54
|
+
rows: Y.table.rows,
|
|
55
|
+
activeTab: Y.activeTab,
|
|
56
|
+
enabledTabs: Y.enabledTabs,
|
|
57
|
+
onTabChange: Y.setActiveTab,
|
|
58
|
+
isLoading: Y.table.isLoading,
|
|
59
|
+
isError: Y.table.isError,
|
|
60
|
+
sorting: Y.table.sorting,
|
|
61
|
+
onSortingChange: Y.table.onSortingChange,
|
|
62
|
+
pageSize: Y.table.pageSize,
|
|
63
|
+
onPageSizeChange: Y.table.onPageSizeChange,
|
|
64
|
+
pageSizeOptions: H,
|
|
65
|
+
hasNextPage: Y.table.hasNextPage,
|
|
66
|
+
hasPrevPage: Y.table.hasPrevPage,
|
|
67
|
+
onNextPage: Y.table.onNextPage,
|
|
68
|
+
onPrevPage: Y.table.onPrevPage,
|
|
69
|
+
searchValue: Y.table.searchValue,
|
|
70
|
+
onSearchChange: Y.table.onSearchChange,
|
|
71
|
+
statusFilter: Y.table.statusFilter,
|
|
72
|
+
statusOptions: Y.table.statusOptions,
|
|
73
|
+
onStatusFilterChange: Y.table.onStatusFilterChange,
|
|
74
|
+
statusCards: Y.table.statusCards,
|
|
75
|
+
onStatusCardSelect: Y.table.onStatusFilterChange,
|
|
76
|
+
isFiltering: Y.table.isFiltering,
|
|
77
|
+
onCreateClick: Y.openCreate,
|
|
78
|
+
onTemplateSettingsClick: V,
|
|
79
|
+
onRowClick: Y.handleRowClick,
|
|
80
|
+
onActionClick: Y.handleActionClick,
|
|
81
|
+
onRetry: Y.table.onRetry,
|
|
82
|
+
labels: G
|
|
83
|
+
}),
|
|
84
|
+
/* @__PURE__ */ k(m, {
|
|
85
|
+
open: Y.form.open,
|
|
86
|
+
onOpenChange: (e) => {
|
|
87
|
+
e || Y.form.close();
|
|
88
|
+
},
|
|
89
|
+
mode: Y.form.mode,
|
|
90
|
+
values: Y.form.sheetValues,
|
|
91
|
+
errors: Y.form.errors,
|
|
92
|
+
currencyOptions: Y.form.currencyOptions,
|
|
93
|
+
unitOptions: Y.form.lineItemUnitOptions,
|
|
94
|
+
currencySymbol: Y.form.currencySymbol,
|
|
95
|
+
lineItemControls: Y.form.lineItemControls,
|
|
96
|
+
autoFocusLineItemId: Y.form.autoFocusLineItemId,
|
|
97
|
+
lineItemsLoading: Y.form.lineItemsLoading,
|
|
98
|
+
inProgress: Y.form.isSubmitting,
|
|
99
|
+
customerSelector: /* @__PURE__ */ k(o, {
|
|
100
|
+
mode: "customer",
|
|
101
|
+
value: Y.form.values.customerId || void 0,
|
|
102
|
+
onValueChange: (e) => Y.form.updateValues({ customerId: e }),
|
|
103
|
+
onCreateClick: Y.form.openCounterpartCreate
|
|
104
|
+
}),
|
|
105
|
+
renderProductSelector: (e, t) => /* @__PURE__ */ k(C, {
|
|
106
|
+
...t,
|
|
107
|
+
inputValue: e.name,
|
|
108
|
+
selectedProductId: Y.form.values.lineItems.find((t) => t.id === e.id)?.productId || void 0,
|
|
109
|
+
currency: Y.form.values.currency,
|
|
110
|
+
maxLength: 100,
|
|
111
|
+
onInputValueChange: (t) => Y.form.updateLineItem(e.id, { name: t }),
|
|
112
|
+
onProductSelect: (t) => Y.form.selectProduct(e.id, t)
|
|
113
|
+
}),
|
|
114
|
+
onChange: Y.form.updateValues,
|
|
115
|
+
onLineItemChange: Y.form.updateLineItem,
|
|
116
|
+
onLineItemCommit: Y.form.commitLineItem,
|
|
117
|
+
onLineItemQuantityStep: Y.form.stepLineItem,
|
|
118
|
+
onTaxRateCommit: Y.form.commitTaxRate,
|
|
119
|
+
onDiscountFocus: Y.form.focusDiscount,
|
|
120
|
+
onDiscountCommit: Y.form.commitDiscount,
|
|
121
|
+
totals: Y.form.totalsView,
|
|
122
|
+
onManageUnits: () => Z(!0),
|
|
123
|
+
onAddLineItem: Y.form.addLineItem,
|
|
124
|
+
onRemoveLineItem: Y.form.removeLineItem,
|
|
125
|
+
showDueDateField: Y.form.showDueDateField,
|
|
126
|
+
billingSection: Y.form.showBillingSection && /* @__PURE__ */ k(f, {
|
|
127
|
+
idPrefix: Q,
|
|
128
|
+
paymentTerms: Y.form.paymentTerms.view,
|
|
129
|
+
paymentTermsError: Y.form.errors.paymentTermsId,
|
|
130
|
+
disabled: Y.form.isSubmitting,
|
|
131
|
+
onPaymentTermsChange: Y.form.paymentTerms.select,
|
|
132
|
+
onCustomDatePickerOpenChange: Y.form.paymentTerms.changeCustomDatePickerOpen,
|
|
133
|
+
customDateCalendar: /* @__PURE__ */ k(e, {
|
|
134
|
+
mode: "single",
|
|
135
|
+
captionLayout: "dropdown",
|
|
136
|
+
...Y.form.paymentTerms.calendar,
|
|
137
|
+
onSelect: Y.form.paymentTerms.selectCustomDate
|
|
138
|
+
}),
|
|
139
|
+
recurrenceSection: Y.form.showRecurrenceSection && (Y.form.recurrenceLoading ? /* @__PURE__ */ k(t, { className: "ttw:h-9 ttw:w-full" }) : /* @__PURE__ */ k(_, {
|
|
140
|
+
idPrefix: $,
|
|
141
|
+
view: Y.form.recurrence.view,
|
|
142
|
+
disabled: Y.form.isSubmitting,
|
|
143
|
+
onFrequencyChange: Y.form.recurrence.changeFrequency,
|
|
144
|
+
onMonthDayChange: Y.form.recurrence.changeMonthDay,
|
|
145
|
+
onWeekdayChange: Y.form.recurrence.changeWeekday,
|
|
146
|
+
onStartDateChange: Y.form.recurrence.changeStartDate,
|
|
147
|
+
onEndModeChange: Y.form.recurrence.changeEndMode,
|
|
148
|
+
onEndDateChange: Y.form.recurrence.changeEndDate,
|
|
149
|
+
onMaxOccurrencesChange: Y.form.recurrence.changeMaxOccurrences,
|
|
150
|
+
onCreationModeChange: Y.form.recurrence.changeCreationMode,
|
|
151
|
+
onSetUpEmailClick: Y.form.recurrence.setUpEmail,
|
|
152
|
+
emailDialog: /* @__PURE__ */ k(g, {
|
|
153
|
+
idPrefix: $,
|
|
154
|
+
view: Y.form.recurrence.emailView,
|
|
155
|
+
onOpenChange: Y.form.recurrence.changeEmailOpen,
|
|
156
|
+
onChange: Y.form.recurrence.changeEmail,
|
|
157
|
+
onSave: Y.form.recurrence.saveEmail,
|
|
158
|
+
labels: F
|
|
159
|
+
}),
|
|
160
|
+
labels: F
|
|
161
|
+
})),
|
|
162
|
+
labels: F
|
|
163
|
+
}),
|
|
164
|
+
remindersSection: Y.form.reminders.view && /* @__PURE__ */ k(v, {
|
|
165
|
+
idPrefix: te,
|
|
166
|
+
view: Y.form.reminders.view,
|
|
167
|
+
onToggle: Y.form.reminders.toggle,
|
|
168
|
+
onPaymentReminderSelect: Y.form.reminders.selectPaymentReminder,
|
|
169
|
+
onOverdueReminderSelect: Y.form.reminders.selectOverdueReminder,
|
|
170
|
+
onBeforeDueInputChange: Y.form.reminders.changeBeforeDueInput,
|
|
171
|
+
onBeforeDueSave: Y.form.reminders.saveBeforeDue,
|
|
172
|
+
onOverdueTermChange: Y.form.reminders.changeOverdueTerm,
|
|
173
|
+
onOverdueAddTerm: Y.form.reminders.addOverdueTerm,
|
|
174
|
+
onOverdueClear: Y.form.reminders.clearOverdueTerms,
|
|
175
|
+
onOverdueSave: Y.form.reminders.saveOverdue,
|
|
176
|
+
labels: F
|
|
177
|
+
}),
|
|
178
|
+
bankAccountSection: /* @__PURE__ */ k(d, {
|
|
179
|
+
idPrefix: ee,
|
|
180
|
+
view: Y.form.bankAccount.view,
|
|
181
|
+
disabled: Y.form.isSubmitting,
|
|
182
|
+
onAccountSelect: Y.form.bankAccount.selectAccount,
|
|
183
|
+
onAddAccountClick: Y.form.bankAccount.openAddAccount,
|
|
184
|
+
onFormChange: Y.form.bankAccount.updateAccountForm,
|
|
185
|
+
onFormSave: Y.form.bankAccount.saveAccount,
|
|
186
|
+
onFormCancel: Y.form.bankAccount.cancelAddAccount,
|
|
187
|
+
labels: F
|
|
188
|
+
}),
|
|
189
|
+
attachmentsSection: Y.form.attachmentsView && /* @__PURE__ */ k(x, {
|
|
190
|
+
view: Y.form.attachmentsView,
|
|
191
|
+
disabled: Y.form.isSubmitting,
|
|
192
|
+
onFilesSelect: Y.form.selectAttachmentFiles,
|
|
193
|
+
onIncludeInEmailChange: Y.form.setAttachmentIncludeInEmail,
|
|
194
|
+
onRemove: Y.form.removeAttachment,
|
|
195
|
+
labels: F
|
|
196
|
+
}),
|
|
197
|
+
cancelDisabled: Y.form.attachmentsUploading,
|
|
198
|
+
saveDisabled: Y.form.saveDisabled,
|
|
199
|
+
submitLabel: Y.form.submitLabel,
|
|
200
|
+
onSubmit: Y.form.submit,
|
|
201
|
+
onCancel: Y.form.close,
|
|
202
|
+
labels: F
|
|
203
|
+
}),
|
|
204
|
+
/* @__PURE__ */ k(p, {
|
|
205
|
+
open: Y.detailsOpen,
|
|
206
|
+
onOpenChange: (e) => {
|
|
207
|
+
e || Y.closeDetails();
|
|
208
|
+
},
|
|
209
|
+
details: Y.details.detailsView,
|
|
210
|
+
isLoading: Y.details.isLoading,
|
|
211
|
+
isError: Y.details.isError,
|
|
212
|
+
onActionClick: Y.handleDetailsActionClick,
|
|
213
|
+
onClose: Y.closeDetails,
|
|
214
|
+
labels: M
|
|
215
|
+
}),
|
|
216
|
+
/* @__PURE__ */ k(y, {
|
|
217
|
+
open: Y.actions.sendOpen,
|
|
218
|
+
onOpenChange: (e) => {
|
|
219
|
+
e || Y.actions.closeSend();
|
|
220
|
+
},
|
|
221
|
+
values: Y.actions.sendValues,
|
|
222
|
+
errors: Y.actions.sendErrors,
|
|
223
|
+
inProgress: Y.actions.sendInProgress,
|
|
224
|
+
onChange: (e) => Y.actions.setSendValues((t) => ({
|
|
225
|
+
...t,
|
|
226
|
+
...e
|
|
227
|
+
})),
|
|
228
|
+
onSubmit: Y.actions.submitSend,
|
|
229
|
+
onCancel: Y.actions.closeSend,
|
|
230
|
+
labels: K
|
|
231
|
+
}),
|
|
232
|
+
/* @__PURE__ */ k(h, {
|
|
233
|
+
open: Y.actions.paymentOpen,
|
|
234
|
+
onOpenChange: (e) => {
|
|
235
|
+
e || Y.actions.closePayment();
|
|
236
|
+
},
|
|
237
|
+
values: Y.actions.paymentValues,
|
|
238
|
+
errors: Y.actions.paymentErrors,
|
|
239
|
+
inProgress: Y.actions.paymentInProgress,
|
|
240
|
+
onChange: (e) => Y.actions.setPaymentValues((t) => ({
|
|
241
|
+
...t,
|
|
242
|
+
...e
|
|
243
|
+
})),
|
|
244
|
+
onSubmit: Y.actions.submitPayment,
|
|
245
|
+
onCancel: Y.actions.closePayment,
|
|
246
|
+
labels: U
|
|
247
|
+
}),
|
|
248
|
+
Y.actions.actionDialog && /* @__PURE__ */ k(u, {
|
|
249
|
+
open: !!Y.actions.actionTarget,
|
|
250
|
+
onOpenChange: (e) => {
|
|
251
|
+
e || Y.actions.closeAction();
|
|
252
|
+
},
|
|
253
|
+
title: Y.actions.actionDialog.title,
|
|
254
|
+
description: Y.actions.actionDialog.description,
|
|
255
|
+
confirmLabel: Y.actions.actionDialog.confirmLabel,
|
|
256
|
+
destructive: Y.actions.actionDialog.destructive,
|
|
257
|
+
error: Y.actions.actionError,
|
|
258
|
+
inProgress: Y.actions.actionInProgress,
|
|
259
|
+
onConfirm: Y.actions.confirmAction,
|
|
260
|
+
onCancel: Y.actions.closeAction,
|
|
261
|
+
labels: q
|
|
262
|
+
}),
|
|
263
|
+
/* @__PURE__ */ k(a, {
|
|
264
|
+
open: Y.form.counterpartView === "create",
|
|
265
|
+
onOpenChange: (e) => {
|
|
266
|
+
e || Y.form.counterpartForm.close();
|
|
267
|
+
},
|
|
268
|
+
mode: "create",
|
|
269
|
+
values: Y.form.counterpartForm.values,
|
|
270
|
+
errors: Y.form.counterpartForm.errors,
|
|
271
|
+
stateOptions: Y.form.stateOptions,
|
|
272
|
+
inProgress: Y.form.counterpartForm.isSubmitting,
|
|
273
|
+
onChange: (e) => Y.form.counterpartForm.setValues((t) => ({
|
|
274
|
+
...t,
|
|
275
|
+
...e
|
|
276
|
+
})),
|
|
277
|
+
onAddressChange: (e) => Y.form.counterpartForm.setValues((t) => ({
|
|
278
|
+
...t,
|
|
279
|
+
address: {
|
|
280
|
+
...t.address,
|
|
281
|
+
...e
|
|
282
|
+
}
|
|
283
|
+
})),
|
|
284
|
+
onSubmit: Y.form.counterpartForm.submit,
|
|
285
|
+
onCancel: Y.form.counterpartForm.close,
|
|
286
|
+
labels: i
|
|
287
|
+
}),
|
|
288
|
+
/* @__PURE__ */ k(S, {
|
|
289
|
+
open: X,
|
|
290
|
+
onClose: () => Z(!1),
|
|
291
|
+
managerLabels: L,
|
|
292
|
+
deleteLabels: I,
|
|
293
|
+
messageLabels: W
|
|
294
|
+
})
|
|
295
|
+
] });
|
|
296
|
+
}
|
|
297
|
+
function M({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: a, linkComponent: o, implementation: s, uiFramework: l, errorFallback: u, onError: d, analytics: f, disclosuresAcceptance: p, providerLabels: m, ...h }) {
|
|
298
|
+
return /* @__PURE__ */ k(i, {
|
|
299
|
+
widgetName: c,
|
|
300
|
+
baseUrl: e,
|
|
301
|
+
widgetToken: t,
|
|
302
|
+
organizationId: n,
|
|
303
|
+
configClient: r,
|
|
304
|
+
gatewayRouting: a,
|
|
305
|
+
linkComponent: o,
|
|
306
|
+
implementation: s,
|
|
307
|
+
uiFramework: l,
|
|
308
|
+
errorFallback: u,
|
|
309
|
+
onError: d,
|
|
310
|
+
analytics: f,
|
|
311
|
+
disclosuresAcceptance: p,
|
|
312
|
+
providerLabels: m,
|
|
313
|
+
children: /* @__PURE__ */ k(j, { ...h })
|
|
314
|
+
});
|
|
315
|
+
}
|
|
316
|
+
//#endregion
|
|
317
|
+
export { M as ReceivablesWidget, M as default };
|
|
@@ -23,33 +23,36 @@ function m(e) {
|
|
|
23
23
|
return !t.has(n) && (t.add(n), !0);
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
-
function h(e
|
|
26
|
+
function h(e) {
|
|
27
|
+
return i(e, l);
|
|
28
|
+
}
|
|
29
|
+
function g(e, t) {
|
|
27
30
|
let r = e.term_final?.number_of_days;
|
|
28
31
|
return r ? n(t, r) : void 0;
|
|
29
32
|
}
|
|
30
|
-
function
|
|
31
|
-
let n =
|
|
33
|
+
function _(e, t) {
|
|
34
|
+
let n = g(e, t);
|
|
32
35
|
return {
|
|
33
36
|
value: e.id,
|
|
34
37
|
label: e.name,
|
|
35
|
-
...n ? { dueDateLabel:
|
|
38
|
+
...n ? { dueDateLabel: h(n) } : {}
|
|
36
39
|
};
|
|
37
40
|
}
|
|
38
|
-
function
|
|
41
|
+
function v(e) {
|
|
39
42
|
return e ? s(e) : void 0;
|
|
40
43
|
}
|
|
41
|
-
function
|
|
44
|
+
function y({ terms: e, isLoading: t, fields: n, customDatePickerOpen: r, isRecurring: i = !1, messages: a, today: o = /* @__PURE__ */ new Date() }) {
|
|
42
45
|
if (t) return { kind: "loading" };
|
|
43
|
-
let
|
|
44
|
-
if (n.paymentTermsId === "receipt_due")
|
|
45
|
-
else if (n.paymentTermsId === "custom")
|
|
46
|
+
let s = m(e ?? []).map((e) => _(e, o)), c = v(n.paymentTermsCustomDate), l;
|
|
47
|
+
if (n.paymentTermsId === "receipt_due") l = { kind: "receiptDue" };
|
|
48
|
+
else if (n.paymentTermsId === "custom") l = {
|
|
46
49
|
kind: "customDate",
|
|
47
|
-
hasDate: !!
|
|
48
|
-
dateLabel:
|
|
50
|
+
hasDate: !!c,
|
|
51
|
+
dateLabel: c ? h(c) : a.paymentTermsCustomDatePlaceholder
|
|
49
52
|
};
|
|
50
53
|
else {
|
|
51
|
-
let e =
|
|
52
|
-
e && (
|
|
54
|
+
let e = s.find((e) => e.value === n.paymentTermsId);
|
|
55
|
+
e && (l = {
|
|
53
56
|
kind: "term",
|
|
54
57
|
option: e
|
|
55
58
|
});
|
|
@@ -57,22 +60,22 @@ function v({ terms: e, isLoading: t, fields: n, customDatePickerOpen: r, isRecur
|
|
|
57
60
|
return {
|
|
58
61
|
kind: "ready",
|
|
59
62
|
value: n.paymentTermsId,
|
|
60
|
-
options:
|
|
61
|
-
selection:
|
|
63
|
+
options: s,
|
|
64
|
+
selection: l,
|
|
62
65
|
customDatePicker: { open: r },
|
|
63
|
-
showCustomDate: !
|
|
64
|
-
...
|
|
66
|
+
showCustomDate: !i,
|
|
67
|
+
...i ? { description: a.recurrenceSeriesPaymentTerms } : {}
|
|
65
68
|
};
|
|
66
69
|
}
|
|
67
|
-
function
|
|
68
|
-
let n =
|
|
70
|
+
function b(e, t = /* @__PURE__ */ new Date()) {
|
|
71
|
+
let n = v(e), i = c(t, d), s = r(t, f);
|
|
69
72
|
return {
|
|
70
73
|
selected: n,
|
|
71
74
|
startMonth: n ? o([i, n]) : i,
|
|
72
75
|
endMonth: n ? a([s, n]) : s
|
|
73
76
|
};
|
|
74
77
|
}
|
|
75
|
-
function
|
|
78
|
+
function x(e, t) {
|
|
76
79
|
return t === "custom" ? {
|
|
77
80
|
paymentTermsId: t,
|
|
78
81
|
paymentTermsCustomDate: e.paymentTermsId === "custom" ? e.paymentTermsCustomDate : ""
|
|
@@ -81,25 +84,25 @@ function b(e, t) {
|
|
|
81
84
|
paymentTermsCustomDate: ""
|
|
82
85
|
};
|
|
83
86
|
}
|
|
84
|
-
function
|
|
87
|
+
function S(e) {
|
|
85
88
|
return e.paymentTermsId === "custom" && !e.paymentTermsCustomDate ? {
|
|
86
89
|
paymentTermsId: "",
|
|
87
90
|
paymentTermsCustomDate: ""
|
|
88
91
|
} : e;
|
|
89
92
|
}
|
|
90
|
-
function
|
|
93
|
+
function C(e) {
|
|
91
94
|
return e ? i(e, u) : "";
|
|
92
95
|
}
|
|
93
|
-
function
|
|
96
|
+
function w(e) {
|
|
94
97
|
return e.paymentTermsId === "custom" ? e.paymentTermsCustomDate ? { payment_terms: { term_final: { end_date: e.paymentTermsCustomDate } } } : { payment_terms: { term_final: { number_of_days: 0 } } } : e.paymentTermsId === "receipt_due" ? { payment_terms: { term_final: { number_of_days: 0 } } } : e.paymentTermsId ? { payment_terms_id: e.paymentTermsId } : {};
|
|
95
98
|
}
|
|
96
|
-
function
|
|
97
|
-
return e.paymentTermsId ?
|
|
99
|
+
function T(e) {
|
|
100
|
+
return e.paymentTermsId ? w(e) : {
|
|
98
101
|
payment_terms_id: null,
|
|
99
102
|
payment_terms: null
|
|
100
103
|
};
|
|
101
104
|
}
|
|
102
|
-
function
|
|
105
|
+
function E(n) {
|
|
103
106
|
if (n?.id) return {
|
|
104
107
|
paymentTermsId: n.id,
|
|
105
108
|
paymentTermsCustomDate: ""
|
|
@@ -117,4 +120,4 @@ function T(n) {
|
|
|
117
120
|
};
|
|
118
121
|
}
|
|
119
122
|
//#endregion
|
|
120
|
-
export {
|
|
123
|
+
export { b as buildCustomDateCalendar, w as buildPaymentTermsPayload, T as buildPaymentTermsUpdatePayload, y as buildPaymentTermsView, S as closeCustomDatePickerFields, m as dedupePaymentTerms, h as formatTermDate, E as paymentTermsToFormFields, x as selectPaymentTermsFields, g as termDueDate, C as toCustomDateValue };
|
|
@@ -13,10 +13,12 @@ import "./index21.js";
|
|
|
13
13
|
import { ReceivableDetailsSheet as s } from "./index22.js";
|
|
14
14
|
import { ReceivableFormSheet as c } from "./index25.js";
|
|
15
15
|
import { ReceivablePaymentDialog as l } from "./index26.js";
|
|
16
|
-
import
|
|
17
|
-
import { ReceivableRecurrenceSection as d } from "./index29.js";
|
|
16
|
+
import "./index29.js";
|
|
18
17
|
import "./index30.js";
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import
|
|
18
|
+
import { ReceivableRecurrenceEmailDialog as u } from "./index31.js";
|
|
19
|
+
import { ReceivableRecurrenceSection as d } from "./index33.js";
|
|
20
|
+
import "./index34.js";
|
|
21
|
+
import { ReceivableRemindersSection as f } from "./index35.js";
|
|
22
|
+
import { ReceivableSendDialog as p } from "./index36.js";
|
|
23
|
+
import { ReceivablesScreen as m } from "./index38.js";
|
|
22
24
|
export { i as RECEIVABLE_PAYMENT_TERMS_CUSTOM_DATE, a as RECEIVABLE_PAYMENT_TERMS_RECEIPT_DUE, e as RECEIVABLE_STATUS_BADGE_LABELS_EN, t as ReceivableActionDialog, r as ReceivableAttachmentsSection, n as ReceivableBankAccountSection, o as ReceivableBillingSection, s as ReceivableDetailsSheet, c as ReceivableFormSheet, l as ReceivablePaymentDialog, u as ReceivableRecurrenceEmailDialog, d as ReceivableRecurrenceSection, f as ReceivableRemindersSection, p as ReceivableSendDialog, m as ReceivablesScreen };
|
|
@@ -1,28 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { FileIcon as r, MailXIcon as i, SendIcon as a } from "lucide-react";
|
|
4
|
-
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js
|
|
5
|
-
var o = {
|
|
6
|
-
issue_and_send: a,
|
|
7
|
-
issue: i,
|
|
8
|
-
draft: r
|
|
9
|
-
};
|
|
10
|
-
function s({ option: r }) {
|
|
11
|
-
let i = o[r.value];
|
|
12
|
-
return /* @__PURE__ */ n("div", {
|
|
13
|
-
className: "ttw:flex ttw:items-center ttw:gap-3",
|
|
14
|
-
children: [/* @__PURE__ */ t(i, { className: "ttw:size-5 ttw:shrink-0 ttw:text-muted-foreground" }), /* @__PURE__ */ n("div", {
|
|
15
|
-
className: "ttw:flex ttw:flex-col ttw:text-left",
|
|
16
|
-
children: [/* @__PURE__ */ t(e, {
|
|
17
|
-
variant: "body2",
|
|
18
|
-
children: r.title
|
|
19
|
-
}), /* @__PURE__ */ t(e, {
|
|
20
|
-
variant: "body2",
|
|
21
|
-
color: "muted",
|
|
22
|
-
children: r.description
|
|
23
|
-
})]
|
|
24
|
-
})]
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
//#endregion
|
|
28
|
-
export { s as CreationModeOption };
|
|
1
|
+
import "react";
|
|
2
|
+
import "react/jsx-runtime";
|