@tesouro/embedded-components-react 0.5.213 → 0.5.215
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 +88 -1
- package/dist/index.js +2 -2
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/ReceivablesWidget.d.ts +88 -1
- package/dist/lib/ReceivablesWidget.js +1 -1
- package/dist/libs/shared/util-validation/dist/index5.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/data-access/dist/index.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/index38.js → bill-upload/data-access/dist/index2.js} +7 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/data-access/dist/index3.js +33 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/index35.js → bill-upload/data-access/dist/index4.js} +6 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index2.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index3.js +13 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index4.js +133 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index5.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index6.js +5 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index7.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index8.js +56 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index9.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/ui/dist/index.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/ui/dist/index2.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/ui/dist/index3.js +9 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/ui/dist/index4.js +93 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/ui/dist/index6.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +29 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/invalidation.js +11 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index6.js → lib/invalidatePayableQueries/approvalDecisionQueries.js} +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index7.js → lib/invalidatePayableQueries/approvalRequestWatch.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index3.js → lib/invalidatePayableQueries/cleanUpDeletedPayableQueries.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index9.js → lib/invalidatePayableQueries/hasLiveScheduledRecord.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/invalidatePayableQueries/index.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index8.js → lib/invalidatePayableQueries/invalidateDeletedPayableQueries.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index4.js → lib/invalidatePayableQueries/invalidatePayableQueries.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index5.js → lib/invalidatePayableQueries/payableProjectionPolling.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index10.js → lib/invalidatePayableQueries/reconcileCancelledPaymentQueries.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index12.js → lib/invalidatePayableQueries/reconcileSubmittedForApprovalQueries.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index13.js → lib/payableOcrQueryOptions.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index40.js → lib/payablePolicyAssignmentQueryOptions.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index2.js → lib/queryKeys.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index21.js → lib/useApplyDuplicateVerdictsMutation.js} +23 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index16.js → lib/usePayableApprovalRequests.js} +11 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index17.js → lib/usePayableHistoryQuery.js} +6 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index18.js → lib/usePayableLineItems.js} +10 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/index.js +12 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index22.js → lib/usePayableMutations/useAttachPayableFileMutation.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index23.js → lib/usePayableMutations/useCancelPayableMutation.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/useCancelScheduledPaymentMutation.js +40 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/useCreatePayableMutation.js +34 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/useDeletePayableFileMutation.js +34 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/useDeletePayableMutation.js +34 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index28.js → lib/usePayableMutations/useForceApprovePayableMutation.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index29.js → lib/usePayableMutations/useForceRejectPayableMutation.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index32.js → lib/usePayableMutations/useReopenPayableMutation.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index33.js → lib/usePayableMutations/useSubmitPayableForApprovalMutation.js} +9 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index34.js → lib/usePayableMutations/useUpdatePayableMutation.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index36.js → lib/usePayableMutations/useValidatePayableMutation.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index19.js → lib/usePayablePaymentRecordsQuery.js} +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index47.js → lib/usePayableSuggestionsQuery.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayablesQueries/index.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index39.js → lib/usePayablesQueries/useFirstPayablesPagesQuery.js} +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index41.js → lib/usePayablesQueries/usePayableQuery.js} +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index42.js → lib/usePayablesQueries/usePayablesByIdsQueries.js} +6 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index43.js → lib/usePayablesQueries/usePayablesCountQueries.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/{index44.js → lib/usePayablesQueries/usePayablesQuery.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayablesQueries/usePayablesTotalCountQuery.js +29 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +11 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +11 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +12 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +66 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +9 -62
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +29 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +160 -82
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +26 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +22 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +38 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +92 -164
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +82 -45
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +6 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +44 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +112 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +184 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +72 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +31 -65
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +89 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +401 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +12 -161
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +83 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +79 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +222 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +38 -93
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +247 -79
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +23 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +612 -45
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +4 -116
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +27 -179
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +232 -70
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +15 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +3 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +3 -90
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +36 -405
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +1 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +23 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +3 -80
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +124 -228
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +8 -43
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +6 -251
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +81 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +38 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +20 -625
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +22 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +28 -42
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +82 -256
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +50 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +260 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +27 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +396 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +332 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +217 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +5 -130
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +107 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +1 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +24 -129
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +84 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +46 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +12 -223
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/data-access/dist/index.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/index30.js → pay-bill/data-access/dist/index2.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/data-access/dist/index3.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/index11.js → pay-bill/data-access/dist/index4.js} +5 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{data-access/dist/index20.js → pay-bill/data-access/dist/index5.js} +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index10.js +179 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index11.js +51 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index12.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index13.js +5 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index14.js +73 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index15.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index2.js +18 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index3.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index4.js +72 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index5.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index6.js +9 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index7.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index8.js +35 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index9.js +41 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index108.js → pay-bill/ui/dist/index10.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index11.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index103.js → pay-bill/ui/dist/index2.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index104.js → pay-bill/ui/dist/index3.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index4.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index5.js +13 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index101.js → pay-bill/ui/dist/index6.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index7.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index106.js → pay-bill/ui/dist/index8.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{ui/dist/index107.js → pay-bill/ui/dist/index9.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +10 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +3 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +28 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +2 -93
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +12 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +108 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +52 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/duplicateVerdict.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/groupDuplicates.js +40 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableRemoval.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +63 -67
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +160 -1
- package/dist/libs/tesouro-embedded-components-react/{bill-pay-widget/data-access/dist/index31.js → invoicing-widget/data-access/dist/index12.js} +0 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index2.js +32 -25
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +25 -200
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +175 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index8.js +1 -101
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index9.js +92 -71
- 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/index10.js +44 -100
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index11.js +93 -421
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js +442 -112
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js +166 -157
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index14.js +150 -204
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index15.js +202 -31
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index16.js +32 -145
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index17.js +145 -37
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index18.js +44 -58
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index19.js +113 -87
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index20.js +58 -116
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index21.js +83 -357
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index22.js +111 -65
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +449 -99
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index24.js +68 -281
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index25.js +115 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index26.js +314 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index6.js +34 -23
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index8.js +444 -92
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +113 -52
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +18 -14
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index10.js +2 -92
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index11.js +95 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index12.js +3 -24
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +1 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js +3 -18
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index17.js +18 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +0 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index19.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index20.js +11 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index21.js +1 -264
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index22.js +258 -42
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index23.js +38 -62
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index24.js +61 -463
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +457 -89
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index26.js +91 -234
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js +89 -82
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js +22 -338
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index29.js +236 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index3.js +26 -204
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index30.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index31.js +249 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index32.js +93 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index33.js +344 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index4.js +208 -32
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index5.js +29 -202
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js +183 -137
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +157 -12
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index8.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index9.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +40 -40
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +167 -156
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +66 -34
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
- package/dist/packages/shared-ui-shadcn/dist/index.js +13 -13
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index15.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index24.js +0 -40
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index25.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index26.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index27.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index37.js +0 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index45.js +0 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index46.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +0 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +0 -84
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +0 -86
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +0 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +0 -262
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +0 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +0 -395
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +0 -310
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +0 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +0 -114
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index109.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index110.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index111.js +0 -108
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index112.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index113.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index114.js +0 -52
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index115.js +0 -2
|
@@ -1,264 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ErrorState as c } from "../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
|
|
3
|
-
import "../../../shared/ui/dist/index.js";
|
|
4
|
-
import { RECEIVABLE_DETAILS_SHEET_LABELS_EN as l } from "./index3.js";
|
|
5
|
-
import { ReceivableStatusBadge as u } from "./index12.js";
|
|
6
|
-
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
7
|
-
import { DownloadIcon as m } from "lucide-react";
|
|
8
|
-
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index21.js
|
|
9
|
-
function h({ title: e, children: t }) {
|
|
10
|
-
return /* @__PURE__ */ p("section", {
|
|
11
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
12
|
-
children: [/* @__PURE__ */ f(s, {
|
|
13
|
-
variant: "body2",
|
|
14
|
-
className: "ttw:font-semibold",
|
|
15
|
-
children: e
|
|
16
|
-
}), t]
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
function g({ open: s, onOpenChange: g, details: _, isLoading: v, isError: y, onActionClick: b, onClose: x, labels: S }) {
|
|
20
|
-
let C = {
|
|
21
|
-
...l,
|
|
22
|
-
...S,
|
|
23
|
-
statusBadge: {
|
|
24
|
-
...l.statusBadge,
|
|
25
|
-
...S?.statusBadge
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
return /* @__PURE__ */ f(t, {
|
|
29
|
-
open: s,
|
|
30
|
-
onOpenChange: g,
|
|
31
|
-
children: /* @__PURE__ */ p(n, {
|
|
32
|
-
className: "ttw:w-180 ttw:overflow-y-auto ttw:sm:max-w-180",
|
|
33
|
-
children: [
|
|
34
|
-
/* @__PURE__ */ p(a, { children: [/* @__PURE__ */ f(o, { children: v ? C.loadingTitle : _?.title }), /* @__PURE__ */ f(r, {
|
|
35
|
-
className: "ttw:sr-only",
|
|
36
|
-
children: C.hiddenDescription
|
|
37
|
-
})] }),
|
|
38
|
-
/* @__PURE__ */ f("div", {
|
|
39
|
-
className: "ttw:flex ttw:flex-col ttw:gap-6 ttw:px-6 ttw:pb-6",
|
|
40
|
-
children: y ? /* @__PURE__ */ f(c, {
|
|
41
|
-
title: C.errorTitle,
|
|
42
|
-
description: C.errorDescription
|
|
43
|
-
}) : _ ? /* @__PURE__ */ p(d, { children: [
|
|
44
|
-
/* @__PURE__ */ p("div", {
|
|
45
|
-
className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:justify-between ttw:gap-3",
|
|
46
|
-
children: [/* @__PURE__ */ p("div", {
|
|
47
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
48
|
-
children: [/* @__PURE__ */ f("span", {
|
|
49
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
50
|
-
children: _.customerLabel
|
|
51
|
-
}), /* @__PURE__ */ p("div", {
|
|
52
|
-
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
53
|
-
children: [/* @__PURE__ */ f(u, {
|
|
54
|
-
status: _.status,
|
|
55
|
-
tone: _.statusTone,
|
|
56
|
-
labels: C.statusBadge
|
|
57
|
-
}), /* @__PURE__ */ f("span", {
|
|
58
|
-
className: "ttw:text-sm ttw:font-medium",
|
|
59
|
-
children: _.totalLabel
|
|
60
|
-
})]
|
|
61
|
-
})]
|
|
62
|
-
}), _.pdfUrl && /* @__PURE__ */ f(e, {
|
|
63
|
-
asChild: !0,
|
|
64
|
-
variant: "outline",
|
|
65
|
-
children: /* @__PURE__ */ p("a", {
|
|
66
|
-
href: _.pdfUrl,
|
|
67
|
-
target: "_blank",
|
|
68
|
-
rel: "noreferrer",
|
|
69
|
-
children: [/* @__PURE__ */ f(m, { className: "ttw:size-4" }), C.downloadPdfButton]
|
|
70
|
-
})
|
|
71
|
-
})]
|
|
72
|
-
}),
|
|
73
|
-
/* @__PURE__ */ f(h, {
|
|
74
|
-
title: C.summaryHeading,
|
|
75
|
-
children: /* @__PURE__ */ f("dl", {
|
|
76
|
-
className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6 ttw:gap-y-3",
|
|
77
|
-
children: _.summaryItems.map((e) => /* @__PURE__ */ p("div", {
|
|
78
|
-
className: "ttw:flex ttw:flex-col",
|
|
79
|
-
children: [/* @__PURE__ */ f("dt", {
|
|
80
|
-
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
81
|
-
children: e.label
|
|
82
|
-
}), /* @__PURE__ */ f("dd", {
|
|
83
|
-
className: "ttw:text-sm ttw:font-medium",
|
|
84
|
-
children: e.value
|
|
85
|
-
})]
|
|
86
|
-
}, e.label))
|
|
87
|
-
})
|
|
88
|
-
}),
|
|
89
|
-
/* @__PURE__ */ f(h, {
|
|
90
|
-
title: C.lineItemsHeading,
|
|
91
|
-
children: _.lineItems.length === 0 ? /* @__PURE__ */ f("p", {
|
|
92
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
93
|
-
children: C.noLineItems
|
|
94
|
-
}) : /* @__PURE__ */ f("div", {
|
|
95
|
-
className: "ttw:overflow-hidden ttw:rounded-md ttw:border",
|
|
96
|
-
children: /* @__PURE__ */ p("table", {
|
|
97
|
-
className: "ttw:w-full ttw:text-sm",
|
|
98
|
-
children: [/* @__PURE__ */ f("thead", {
|
|
99
|
-
className: "ttw:bg-muted/50",
|
|
100
|
-
children: /* @__PURE__ */ p("tr", { children: [
|
|
101
|
-
/* @__PURE__ */ f("th", {
|
|
102
|
-
className: "ttw:p-2 ttw:text-left",
|
|
103
|
-
children: C.lineItemsHeading
|
|
104
|
-
}),
|
|
105
|
-
/* @__PURE__ */ f("th", {
|
|
106
|
-
className: "ttw:p-2 ttw:text-right",
|
|
107
|
-
children: C.quantityColumn
|
|
108
|
-
}),
|
|
109
|
-
/* @__PURE__ */ f("th", {
|
|
110
|
-
className: "ttw:p-2 ttw:text-right",
|
|
111
|
-
children: C.unitPriceColumn
|
|
112
|
-
}),
|
|
113
|
-
/* @__PURE__ */ f("th", {
|
|
114
|
-
className: "ttw:p-2 ttw:text-right",
|
|
115
|
-
children: C.totalColumn
|
|
116
|
-
})
|
|
117
|
-
] })
|
|
118
|
-
}), /* @__PURE__ */ f("tbody", { children: _.lineItems.map((e) => /* @__PURE__ */ p("tr", {
|
|
119
|
-
className: "ttw:border-t",
|
|
120
|
-
children: [
|
|
121
|
-
/* @__PURE__ */ f("td", {
|
|
122
|
-
className: "ttw:p-2",
|
|
123
|
-
children: e.name
|
|
124
|
-
}),
|
|
125
|
-
/* @__PURE__ */ f("td", {
|
|
126
|
-
className: "ttw:p-2 ttw:text-right",
|
|
127
|
-
children: e.quantityLabel
|
|
128
|
-
}),
|
|
129
|
-
/* @__PURE__ */ f("td", {
|
|
130
|
-
className: "ttw:p-2 ttw:text-right",
|
|
131
|
-
children: e.unitPriceLabel
|
|
132
|
-
}),
|
|
133
|
-
/* @__PURE__ */ f("td", {
|
|
134
|
-
className: "ttw:p-2 ttw:text-right",
|
|
135
|
-
children: e.totalLabel
|
|
136
|
-
})
|
|
137
|
-
]
|
|
138
|
-
}, e.id)) })]
|
|
139
|
-
})
|
|
140
|
-
})
|
|
141
|
-
}),
|
|
142
|
-
/* @__PURE__ */ f(h, {
|
|
143
|
-
title: C.activityHeading,
|
|
144
|
-
children: _.activityItems.length === 0 ? /* @__PURE__ */ f("p", {
|
|
145
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
146
|
-
children: C.noActivity
|
|
147
|
-
}) : /* @__PURE__ */ f("div", {
|
|
148
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
149
|
-
children: _.activityItems.map((e) => /* @__PURE__ */ p("div", {
|
|
150
|
-
className: "ttw:flex ttw:flex-col",
|
|
151
|
-
children: [
|
|
152
|
-
/* @__PURE__ */ f("span", {
|
|
153
|
-
className: "ttw:text-sm ttw:font-medium",
|
|
154
|
-
children: e.title
|
|
155
|
-
}),
|
|
156
|
-
/* @__PURE__ */ f("span", {
|
|
157
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
158
|
-
children: e.description
|
|
159
|
-
}),
|
|
160
|
-
/* @__PURE__ */ f("span", {
|
|
161
|
-
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
162
|
-
children: e.timestampLabel
|
|
163
|
-
})
|
|
164
|
-
]
|
|
165
|
-
}, e.id))
|
|
166
|
-
})
|
|
167
|
-
}),
|
|
168
|
-
/* @__PURE__ */ f(h, {
|
|
169
|
-
title: C.mailsHeading,
|
|
170
|
-
children: _.mailItems.length === 0 ? /* @__PURE__ */ f("p", {
|
|
171
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
172
|
-
children: C.noMails
|
|
173
|
-
}) : /* @__PURE__ */ f("div", {
|
|
174
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
175
|
-
children: _.mailItems.map((e) => /* @__PURE__ */ p("div", {
|
|
176
|
-
className: "ttw:flex ttw:flex-col",
|
|
177
|
-
children: [
|
|
178
|
-
/* @__PURE__ */ f("span", {
|
|
179
|
-
className: "ttw:text-sm ttw:font-medium",
|
|
180
|
-
children: e.statusLabel
|
|
181
|
-
}),
|
|
182
|
-
/* @__PURE__ */ f("span", {
|
|
183
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
184
|
-
children: e.recipientsLabel
|
|
185
|
-
}),
|
|
186
|
-
/* @__PURE__ */ f("span", {
|
|
187
|
-
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
188
|
-
children: e.sentAtLabel
|
|
189
|
-
})
|
|
190
|
-
]
|
|
191
|
-
}, e.id))
|
|
192
|
-
})
|
|
193
|
-
})
|
|
194
|
-
] }) : null
|
|
195
|
-
}),
|
|
196
|
-
/* @__PURE__ */ f(i, { children: _ && /* @__PURE__ */ p("div", {
|
|
197
|
-
className: "ttw:flex ttw:flex-wrap ttw:justify-end ttw:gap-2",
|
|
198
|
-
children: [
|
|
199
|
-
_.actions.edit && /* @__PURE__ */ f(e, {
|
|
200
|
-
variant: "outline",
|
|
201
|
-
onClick: () => b("edit", _),
|
|
202
|
-
children: C.editButton
|
|
203
|
-
}),
|
|
204
|
-
_.actions.issue && /* @__PURE__ */ f(e, {
|
|
205
|
-
onClick: () => b("issue", _),
|
|
206
|
-
children: C.issueButton
|
|
207
|
-
}),
|
|
208
|
-
_.actions.send && /* @__PURE__ */ f(e, {
|
|
209
|
-
variant: "outline",
|
|
210
|
-
onClick: () => b("send", _),
|
|
211
|
-
children: C.sendButton
|
|
212
|
-
}),
|
|
213
|
-
_.actions.accept && /* @__PURE__ */ f(e, {
|
|
214
|
-
onClick: () => b("accept", _),
|
|
215
|
-
children: C.acceptButton
|
|
216
|
-
}),
|
|
217
|
-
_.actions.decline && /* @__PURE__ */ f(e, {
|
|
218
|
-
variant: "outline",
|
|
219
|
-
onClick: () => b("decline", _),
|
|
220
|
-
children: C.declineButton
|
|
221
|
-
}),
|
|
222
|
-
_.actions.recordPayment && /* @__PURE__ */ f(e, {
|
|
223
|
-
variant: "outline",
|
|
224
|
-
onClick: () => b("recordPayment", _),
|
|
225
|
-
children: C.recordPaymentButton
|
|
226
|
-
}),
|
|
227
|
-
_.actions.markPaid && /* @__PURE__ */ f(e, {
|
|
228
|
-
variant: "outline",
|
|
229
|
-
onClick: () => b("markPaid", _),
|
|
230
|
-
children: C.markPaidButton
|
|
231
|
-
}),
|
|
232
|
-
_.actions.markUncollectible && /* @__PURE__ */ f(e, {
|
|
233
|
-
variant: "outline",
|
|
234
|
-
onClick: () => b("markUncollectible", _),
|
|
235
|
-
children: C.markUncollectibleButton
|
|
236
|
-
}),
|
|
237
|
-
_.actions.cancel && /* @__PURE__ */ f(e, {
|
|
238
|
-
variant: "outline",
|
|
239
|
-
onClick: () => b("cancel", _),
|
|
240
|
-
children: C.cancelButton
|
|
241
|
-
}),
|
|
242
|
-
_.actions.clone && /* @__PURE__ */ f(e, {
|
|
243
|
-
variant: "outline",
|
|
244
|
-
onClick: () => b("clone", _),
|
|
245
|
-
children: C.cloneButton
|
|
246
|
-
}),
|
|
247
|
-
_.actions.delete && /* @__PURE__ */ f(e, {
|
|
248
|
-
variant: "destructive",
|
|
249
|
-
onClick: () => b("delete", _),
|
|
250
|
-
children: C.deleteButton
|
|
251
|
-
}),
|
|
252
|
-
/* @__PURE__ */ f(e, {
|
|
253
|
-
variant: "ghost",
|
|
254
|
-
onClick: x,
|
|
255
|
-
children: C.closeButton
|
|
256
|
-
})
|
|
257
|
-
]
|
|
258
|
-
}) })
|
|
259
|
-
]
|
|
260
|
-
})
|
|
261
|
-
});
|
|
262
|
-
}
|
|
263
|
-
//#endregion
|
|
264
|
-
export { g as ReceivableDetailsSheet, g as default };
|
|
1
|
+
import "./index20.js";
|
|
@@ -1,48 +1,264 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Button as e, Sheet as t, SheetContent as n, SheetDescription as r, SheetFooter as i, SheetHeader as a, SheetTitle as o, Typography as s } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { ErrorState as c } from "../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
|
|
3
|
+
import "../../../shared/ui/dist/index.js";
|
|
4
|
+
import { RECEIVABLE_DETAILS_SHEET_LABELS_EN as l } from "./index4.js";
|
|
5
|
+
import { ReceivableStatusBadge as u } from "./index13.js";
|
|
6
|
+
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
7
|
+
import { DownloadIcon as m } from "lucide-react";
|
|
3
8
|
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index22.js
|
|
4
|
-
function
|
|
5
|
-
return /* @__PURE__ */
|
|
6
|
-
className:
|
|
7
|
-
children: [/* @__PURE__ */
|
|
9
|
+
function h({ title: e, children: t }) {
|
|
10
|
+
return /* @__PURE__ */ p("section", {
|
|
11
|
+
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
12
|
+
children: [/* @__PURE__ */ f(s, {
|
|
13
|
+
variant: "body2",
|
|
14
|
+
className: "ttw:font-semibold",
|
|
15
|
+
children: e
|
|
16
|
+
}), t]
|
|
8
17
|
});
|
|
9
18
|
}
|
|
10
|
-
function
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
19
|
+
function g({ open: s, onOpenChange: g, details: _, isLoading: v, isError: y, onActionClick: b, onClose: x, labels: S }) {
|
|
20
|
+
let C = {
|
|
21
|
+
...l,
|
|
22
|
+
...S,
|
|
23
|
+
statusBadge: {
|
|
24
|
+
...l.statusBadge,
|
|
25
|
+
...S?.statusBadge
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
return /* @__PURE__ */ f(t, {
|
|
29
|
+
open: s,
|
|
30
|
+
onOpenChange: g,
|
|
31
|
+
children: /* @__PURE__ */ p(n, {
|
|
32
|
+
className: "ttw:w-180 ttw:overflow-y-auto ttw:sm:max-w-180",
|
|
33
|
+
children: [
|
|
34
|
+
/* @__PURE__ */ p(a, { children: [/* @__PURE__ */ f(o, { children: v ? C.loadingTitle : _?.title }), /* @__PURE__ */ f(r, {
|
|
35
|
+
className: "ttw:sr-only",
|
|
36
|
+
children: C.hiddenDescription
|
|
37
|
+
})] }),
|
|
38
|
+
/* @__PURE__ */ f("div", {
|
|
39
|
+
className: "ttw:flex ttw:flex-col ttw:gap-6 ttw:px-6 ttw:pb-6",
|
|
40
|
+
children: y ? /* @__PURE__ */ f(c, {
|
|
41
|
+
title: C.errorTitle,
|
|
42
|
+
description: C.errorDescription
|
|
43
|
+
}) : _ ? /* @__PURE__ */ p(d, { children: [
|
|
44
|
+
/* @__PURE__ */ p("div", {
|
|
45
|
+
className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:justify-between ttw:gap-3",
|
|
46
|
+
children: [/* @__PURE__ */ p("div", {
|
|
47
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
48
|
+
children: [/* @__PURE__ */ f("span", {
|
|
49
|
+
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
50
|
+
children: _.customerLabel
|
|
51
|
+
}), /* @__PURE__ */ p("div", {
|
|
52
|
+
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
53
|
+
children: [/* @__PURE__ */ f(u, {
|
|
54
|
+
status: _.status,
|
|
55
|
+
tone: _.statusTone,
|
|
56
|
+
labels: C.statusBadge
|
|
57
|
+
}), /* @__PURE__ */ f("span", {
|
|
58
|
+
className: "ttw:text-sm ttw:font-medium",
|
|
59
|
+
children: _.totalLabel
|
|
60
|
+
})]
|
|
61
|
+
})]
|
|
62
|
+
}), _.pdfUrl && /* @__PURE__ */ f(e, {
|
|
63
|
+
asChild: !0,
|
|
64
|
+
variant: "outline",
|
|
65
|
+
children: /* @__PURE__ */ p("a", {
|
|
66
|
+
href: _.pdfUrl,
|
|
67
|
+
target: "_blank",
|
|
68
|
+
rel: "noreferrer",
|
|
69
|
+
children: [/* @__PURE__ */ f(m, { className: "ttw:size-4" }), C.downloadPdfButton]
|
|
70
|
+
})
|
|
71
|
+
})]
|
|
72
|
+
}),
|
|
73
|
+
/* @__PURE__ */ f(h, {
|
|
74
|
+
title: C.summaryHeading,
|
|
75
|
+
children: /* @__PURE__ */ f("dl", {
|
|
76
|
+
className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6 ttw:gap-y-3",
|
|
77
|
+
children: _.summaryItems.map((e) => /* @__PURE__ */ p("div", {
|
|
78
|
+
className: "ttw:flex ttw:flex-col",
|
|
79
|
+
children: [/* @__PURE__ */ f("dt", {
|
|
80
|
+
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
81
|
+
children: e.label
|
|
82
|
+
}), /* @__PURE__ */ f("dd", {
|
|
83
|
+
className: "ttw:text-sm ttw:font-medium",
|
|
84
|
+
children: e.value
|
|
85
|
+
})]
|
|
86
|
+
}, e.label))
|
|
87
|
+
})
|
|
88
|
+
}),
|
|
89
|
+
/* @__PURE__ */ f(h, {
|
|
90
|
+
title: C.lineItemsHeading,
|
|
91
|
+
children: _.lineItems.length === 0 ? /* @__PURE__ */ f("p", {
|
|
92
|
+
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
93
|
+
children: C.noLineItems
|
|
94
|
+
}) : /* @__PURE__ */ f("div", {
|
|
95
|
+
className: "ttw:overflow-hidden ttw:rounded-md ttw:border",
|
|
96
|
+
children: /* @__PURE__ */ p("table", {
|
|
97
|
+
className: "ttw:w-full ttw:text-sm",
|
|
98
|
+
children: [/* @__PURE__ */ f("thead", {
|
|
99
|
+
className: "ttw:bg-muted/50",
|
|
100
|
+
children: /* @__PURE__ */ p("tr", { children: [
|
|
101
|
+
/* @__PURE__ */ f("th", {
|
|
102
|
+
className: "ttw:p-2 ttw:text-left",
|
|
103
|
+
children: C.lineItemsHeading
|
|
104
|
+
}),
|
|
105
|
+
/* @__PURE__ */ f("th", {
|
|
106
|
+
className: "ttw:p-2 ttw:text-right",
|
|
107
|
+
children: C.quantityColumn
|
|
108
|
+
}),
|
|
109
|
+
/* @__PURE__ */ f("th", {
|
|
110
|
+
className: "ttw:p-2 ttw:text-right",
|
|
111
|
+
children: C.unitPriceColumn
|
|
112
|
+
}),
|
|
113
|
+
/* @__PURE__ */ f("th", {
|
|
114
|
+
className: "ttw:p-2 ttw:text-right",
|
|
115
|
+
children: C.totalColumn
|
|
116
|
+
})
|
|
117
|
+
] })
|
|
118
|
+
}), /* @__PURE__ */ f("tbody", { children: _.lineItems.map((e) => /* @__PURE__ */ p("tr", {
|
|
119
|
+
className: "ttw:border-t",
|
|
120
|
+
children: [
|
|
121
|
+
/* @__PURE__ */ f("td", {
|
|
122
|
+
className: "ttw:p-2",
|
|
123
|
+
children: e.name
|
|
124
|
+
}),
|
|
125
|
+
/* @__PURE__ */ f("td", {
|
|
126
|
+
className: "ttw:p-2 ttw:text-right",
|
|
127
|
+
children: e.quantityLabel
|
|
128
|
+
}),
|
|
129
|
+
/* @__PURE__ */ f("td", {
|
|
130
|
+
className: "ttw:p-2 ttw:text-right",
|
|
131
|
+
children: e.unitPriceLabel
|
|
132
|
+
}),
|
|
133
|
+
/* @__PURE__ */ f("td", {
|
|
134
|
+
className: "ttw:p-2 ttw:text-right",
|
|
135
|
+
children: e.totalLabel
|
|
136
|
+
})
|
|
137
|
+
]
|
|
138
|
+
}, e.id)) })]
|
|
139
|
+
})
|
|
140
|
+
})
|
|
141
|
+
}),
|
|
142
|
+
/* @__PURE__ */ f(h, {
|
|
143
|
+
title: C.activityHeading,
|
|
144
|
+
children: _.activityItems.length === 0 ? /* @__PURE__ */ f("p", {
|
|
145
|
+
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
146
|
+
children: C.noActivity
|
|
147
|
+
}) : /* @__PURE__ */ f("div", {
|
|
148
|
+
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
149
|
+
children: _.activityItems.map((e) => /* @__PURE__ */ p("div", {
|
|
150
|
+
className: "ttw:flex ttw:flex-col",
|
|
151
|
+
children: [
|
|
152
|
+
/* @__PURE__ */ f("span", {
|
|
153
|
+
className: "ttw:text-sm ttw:font-medium",
|
|
154
|
+
children: e.title
|
|
155
|
+
}),
|
|
156
|
+
/* @__PURE__ */ f("span", {
|
|
157
|
+
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
158
|
+
children: e.description
|
|
159
|
+
}),
|
|
160
|
+
/* @__PURE__ */ f("span", {
|
|
161
|
+
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
162
|
+
children: e.timestampLabel
|
|
163
|
+
})
|
|
164
|
+
]
|
|
165
|
+
}, e.id))
|
|
166
|
+
})
|
|
167
|
+
}),
|
|
168
|
+
/* @__PURE__ */ f(h, {
|
|
169
|
+
title: C.mailsHeading,
|
|
170
|
+
children: _.mailItems.length === 0 ? /* @__PURE__ */ f("p", {
|
|
171
|
+
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
172
|
+
children: C.noMails
|
|
173
|
+
}) : /* @__PURE__ */ f("div", {
|
|
174
|
+
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
175
|
+
children: _.mailItems.map((e) => /* @__PURE__ */ p("div", {
|
|
176
|
+
className: "ttw:flex ttw:flex-col",
|
|
177
|
+
children: [
|
|
178
|
+
/* @__PURE__ */ f("span", {
|
|
179
|
+
className: "ttw:text-sm ttw:font-medium",
|
|
180
|
+
children: e.statusLabel
|
|
181
|
+
}),
|
|
182
|
+
/* @__PURE__ */ f("span", {
|
|
183
|
+
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
184
|
+
children: e.recipientsLabel
|
|
185
|
+
}),
|
|
186
|
+
/* @__PURE__ */ f("span", {
|
|
187
|
+
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
188
|
+
children: e.sentAtLabel
|
|
189
|
+
})
|
|
190
|
+
]
|
|
191
|
+
}, e.id))
|
|
192
|
+
})
|
|
193
|
+
})
|
|
194
|
+
] }) : null
|
|
195
|
+
}),
|
|
196
|
+
/* @__PURE__ */ f(i, { children: _ && /* @__PURE__ */ p("div", {
|
|
197
|
+
className: "ttw:flex ttw:flex-wrap ttw:justify-end ttw:gap-2",
|
|
198
|
+
children: [
|
|
199
|
+
_.actions.edit && /* @__PURE__ */ f(e, {
|
|
200
|
+
variant: "outline",
|
|
201
|
+
onClick: () => b("edit", _),
|
|
202
|
+
children: C.editButton
|
|
203
|
+
}),
|
|
204
|
+
_.actions.issue && /* @__PURE__ */ f(e, {
|
|
205
|
+
onClick: () => b("issue", _),
|
|
206
|
+
children: C.issueButton
|
|
207
|
+
}),
|
|
208
|
+
_.actions.send && /* @__PURE__ */ f(e, {
|
|
209
|
+
variant: "outline",
|
|
210
|
+
onClick: () => b("send", _),
|
|
211
|
+
children: C.sendButton
|
|
212
|
+
}),
|
|
213
|
+
_.actions.accept && /* @__PURE__ */ f(e, {
|
|
214
|
+
onClick: () => b("accept", _),
|
|
215
|
+
children: C.acceptButton
|
|
216
|
+
}),
|
|
217
|
+
_.actions.decline && /* @__PURE__ */ f(e, {
|
|
218
|
+
variant: "outline",
|
|
219
|
+
onClick: () => b("decline", _),
|
|
220
|
+
children: C.declineButton
|
|
221
|
+
}),
|
|
222
|
+
_.actions.recordPayment && /* @__PURE__ */ f(e, {
|
|
223
|
+
variant: "outline",
|
|
224
|
+
onClick: () => b("recordPayment", _),
|
|
225
|
+
children: C.recordPaymentButton
|
|
226
|
+
}),
|
|
227
|
+
_.actions.markPaid && /* @__PURE__ */ f(e, {
|
|
228
|
+
variant: "outline",
|
|
229
|
+
onClick: () => b("markPaid", _),
|
|
230
|
+
children: C.markPaidButton
|
|
231
|
+
}),
|
|
232
|
+
_.actions.markUncollectible && /* @__PURE__ */ f(e, {
|
|
233
|
+
variant: "outline",
|
|
234
|
+
onClick: () => b("markUncollectible", _),
|
|
235
|
+
children: C.markUncollectibleButton
|
|
236
|
+
}),
|
|
237
|
+
_.actions.cancel && /* @__PURE__ */ f(e, {
|
|
238
|
+
variant: "outline",
|
|
239
|
+
onClick: () => b("cancel", _),
|
|
240
|
+
children: C.cancelButton
|
|
241
|
+
}),
|
|
242
|
+
_.actions.clone && /* @__PURE__ */ f(e, {
|
|
243
|
+
variant: "outline",
|
|
244
|
+
onClick: () => b("clone", _),
|
|
245
|
+
children: C.cloneButton
|
|
246
|
+
}),
|
|
247
|
+
_.actions.delete && /* @__PURE__ */ f(e, {
|
|
248
|
+
variant: "destructive",
|
|
249
|
+
onClick: () => b("delete", _),
|
|
250
|
+
children: C.deleteButton
|
|
251
|
+
}),
|
|
252
|
+
/* @__PURE__ */ f(e, {
|
|
253
|
+
variant: "ghost",
|
|
254
|
+
onClick: x,
|
|
255
|
+
children: C.closeButton
|
|
256
|
+
})
|
|
257
|
+
]
|
|
258
|
+
}) })
|
|
259
|
+
]
|
|
260
|
+
})
|
|
45
261
|
});
|
|
46
262
|
}
|
|
47
263
|
//#endregion
|
|
48
|
-
export {
|
|
264
|
+
export { g as ReceivableDetailsSheet, g as default };
|