@tesouro/embedded-components-react 0.5.212 → 0.5.214
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.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- 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/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/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/index31.js +0 -8
- 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,2 +1,108 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "./
|
|
1
|
+
import { Button as e, Skeleton as t } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { BillUploadDropzone as n } from "./index3.js";
|
|
3
|
+
import "./index5.js";
|
|
4
|
+
import { SOURCE_DOCUMENT_PANEL_LABELS_EN as r } from "./index95.js";
|
|
5
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
|
+
import { Download as o, Trash2 as s } from "lucide-react";
|
|
7
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js
|
|
8
|
+
function c(c) {
|
|
9
|
+
let { mode: l, testId: u, labels: d } = c, f = {
|
|
10
|
+
...r,
|
|
11
|
+
...d,
|
|
12
|
+
dropzone: {
|
|
13
|
+
...r.dropzone,
|
|
14
|
+
...d?.dropzone
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
if (l === "loading") return /* @__PURE__ */ a("div", {
|
|
18
|
+
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
19
|
+
"data-testid": u,
|
|
20
|
+
children: [/* @__PURE__ */ i("div", {
|
|
21
|
+
className: "ttw:flex ttw:items-center ttw:justify-end ttw:gap-1",
|
|
22
|
+
children: /* @__PURE__ */ i("span", {
|
|
23
|
+
"aria-live": "polite",
|
|
24
|
+
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
25
|
+
children: c.fileName ? f.scanningAttachment(c.fileName) : f.scanning
|
|
26
|
+
})
|
|
27
|
+
}), /* @__PURE__ */ a("div", {
|
|
28
|
+
className: "ttw:flex ttw:h-[min(70vh,44rem)] ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
|
|
29
|
+
children: [
|
|
30
|
+
/* @__PURE__ */ i(t, { className: "ttw:h-6 ttw:w-2/5" }),
|
|
31
|
+
/* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-3/5" }),
|
|
32
|
+
/* @__PURE__ */ i(t, { className: "ttw:mt-4 ttw:h-4 ttw:w-full" }),
|
|
33
|
+
/* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-full" }),
|
|
34
|
+
/* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-4/5" }),
|
|
35
|
+
/* @__PURE__ */ i(t, { className: "ttw:mt-auto ttw:h-24 ttw:w-full" })
|
|
36
|
+
]
|
|
37
|
+
})]
|
|
38
|
+
});
|
|
39
|
+
if (l === "document") {
|
|
40
|
+
let { fileName: t, preview: n, onDownload: r, onDelete: l, isDeleting: d, deleteErrorMessage: p } = c;
|
|
41
|
+
return /* @__PURE__ */ a("div", {
|
|
42
|
+
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
43
|
+
"data-testid": u,
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ a("div", {
|
|
46
|
+
className: "ttw:flex ttw:items-center ttw:justify-end ttw:gap-1",
|
|
47
|
+
children: [
|
|
48
|
+
/* @__PURE__ */ i("span", {
|
|
49
|
+
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
50
|
+
children: f.scannedAttachment(t ?? "")
|
|
51
|
+
}),
|
|
52
|
+
r ? /* @__PURE__ */ i(e, {
|
|
53
|
+
type: "button",
|
|
54
|
+
variant: "ghost",
|
|
55
|
+
size: "icon",
|
|
56
|
+
"aria-label": f.download,
|
|
57
|
+
onClick: r,
|
|
58
|
+
children: /* @__PURE__ */ i(o, { className: "ttw:size-4" })
|
|
59
|
+
}) : null,
|
|
60
|
+
l ? /* @__PURE__ */ i(e, {
|
|
61
|
+
type: "button",
|
|
62
|
+
variant: "ghost",
|
|
63
|
+
size: "icon",
|
|
64
|
+
"aria-label": f.delete,
|
|
65
|
+
disabled: d,
|
|
66
|
+
onClick: l,
|
|
67
|
+
children: /* @__PURE__ */ i(s, { className: "ttw:size-4" })
|
|
68
|
+
}) : null
|
|
69
|
+
]
|
|
70
|
+
}),
|
|
71
|
+
p ? /* @__PURE__ */ i("p", {
|
|
72
|
+
role: "alert",
|
|
73
|
+
className: "ttw:text-sm ttw:text-destructive",
|
|
74
|
+
"data-testid": u ? `${u}-delete-error` : void 0,
|
|
75
|
+
children: p
|
|
76
|
+
}) : null,
|
|
77
|
+
/* @__PURE__ */ i("div", {
|
|
78
|
+
className: "ttw:flex ttw:h-[min(70vh,44rem)] ttw:items-start ttw:justify-center ttw:overflow-auto ttw:rounded-lg ttw:border ttw:border-border ttw:bg-white ttw:p-4",
|
|
79
|
+
children: n
|
|
80
|
+
})
|
|
81
|
+
]
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
return /* @__PURE__ */ a("div", {
|
|
85
|
+
className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
|
|
86
|
+
"data-testid": u,
|
|
87
|
+
children: [
|
|
88
|
+
/* @__PURE__ */ i("p", {
|
|
89
|
+
className: "ttw:mb-3 ttw:text-sm ttw:font-medium ttw:text-foreground",
|
|
90
|
+
children: f.uploadHeading
|
|
91
|
+
}),
|
|
92
|
+
c.noticeMessage ? /* @__PURE__ */ i("p", {
|
|
93
|
+
"aria-live": "polite",
|
|
94
|
+
className: "ttw:mb-3 ttw:text-sm ttw:text-muted-foreground",
|
|
95
|
+
"data-testid": u ? `${u}-notice` : void 0,
|
|
96
|
+
children: c.noticeMessage
|
|
97
|
+
}) : null,
|
|
98
|
+
/* @__PURE__ */ i(n, {
|
|
99
|
+
status: c.uploadStatus,
|
|
100
|
+
errorMessage: c.uploadErrorMessage,
|
|
101
|
+
onFilesSelected: c.onFilesSelected,
|
|
102
|
+
labels: f.dropzone
|
|
103
|
+
})
|
|
104
|
+
]
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
//#endregion
|
|
108
|
+
export { c as SourceDocumentPanel, c as default };
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
revealValue: "Show value",
|
|
4
|
-
hideValue: "Hide value"
|
|
5
|
-
};
|
|
6
|
-
//#endregion
|
|
7
|
-
export { e as REVEALABLE_FIELD_LABELS_EN };
|
|
1
|
+
import "./index95.js";
|
|
2
|
+
import "./index96.js";
|
|
@@ -1,34 +1,10 @@
|
|
|
1
|
-
import { Button as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import { REVEALABLE_FIELD_LABELS_EN as t } from "./index97.js";
|
|
3
|
-
import { useState as n } from "react";
|
|
4
|
-
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
|
-
import { Eye as a, EyeOff as o } from "lucide-react";
|
|
6
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
children: [/* @__PURE__ */ i("div", {
|
|
15
|
-
className: "ttw:min-w-0",
|
|
16
|
-
children: [/* @__PURE__ */ r("dt", {
|
|
17
|
-
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
18
|
-
children: s.label
|
|
19
|
-
}), /* @__PURE__ */ r("dd", {
|
|
20
|
-
className: "ttw:break-words ttw:text-sm ttw:font-medium",
|
|
21
|
-
children: f
|
|
22
|
-
})]
|
|
23
|
-
}), s.maskedValue ? /* @__PURE__ */ r(e, {
|
|
24
|
-
type: "button",
|
|
25
|
-
variant: "ghost",
|
|
26
|
-
size: "icon",
|
|
27
|
-
"aria-label": u ? l.hideValue : l.revealValue,
|
|
28
|
-
onClick: () => d((e) => !e),
|
|
29
|
-
children: r(u ? o : a, { className: "ttw:size-4" })
|
|
30
|
-
}) : null]
|
|
31
|
-
});
|
|
32
|
-
}
|
|
2
|
+
var e = {
|
|
3
|
+
title: "Save this bill as a draft?",
|
|
4
|
+
description: "This bill has changes that have not been saved. Save it as a draft to finish later, or discard the changes.",
|
|
5
|
+
saveDraftButton: "Save as draft",
|
|
6
|
+
discardButton: "Discard changes",
|
|
7
|
+
closeButton: "Close"
|
|
8
|
+
};
|
|
33
9
|
//#endregion
|
|
34
|
-
export {
|
|
10
|
+
export { e as UNSAVED_BILL_DIALOG_LABELS_EN };
|
|
@@ -1,2 +1,52 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "./index98.js";
|
|
1
|
+
import { AlertDialog as e, AlertDialogContent as t, AlertDialogDescription as n, AlertDialogFooter as r, AlertDialogHeader as i, AlertDialogTitle as a, Button as o } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { UNSAVED_BILL_DIALOG_LABELS_EN as s } from "./index98.js";
|
|
3
|
+
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
4
|
+
import { XIcon as u } from "lucide-react";
|
|
5
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js
|
|
6
|
+
function d({ open: d, onSaveDraft: f, onDiscard: p, onCancel: m, isSaving: h, isSaveDraftDisabled: g, labels: _, testId: v, saveDraftTestId: y, discardTestId: b, closeTestId: x }) {
|
|
7
|
+
let S = {
|
|
8
|
+
...s,
|
|
9
|
+
..._
|
|
10
|
+
};
|
|
11
|
+
return /* @__PURE__ */ c(e, {
|
|
12
|
+
open: d,
|
|
13
|
+
onOpenChange: (e) => {
|
|
14
|
+
!e && !h && m();
|
|
15
|
+
},
|
|
16
|
+
children: /* @__PURE__ */ l(t, {
|
|
17
|
+
"data-testid": v,
|
|
18
|
+
children: [
|
|
19
|
+
/* @__PURE__ */ l("button", {
|
|
20
|
+
type: "button",
|
|
21
|
+
onClick: m,
|
|
22
|
+
disabled: h,
|
|
23
|
+
"data-testid": x,
|
|
24
|
+
className: "ttw:absolute ttw:right-4 ttw:top-4 ttw:cursor-pointer ttw:rounded-sm ttw:opacity-70 ttw:ring-offset-background ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:outline-hidden ttw:focus:ring-2 ttw:focus:ring-ring ttw:focus:ring-offset-2 ttw:disabled:pointer-events-none",
|
|
25
|
+
children: [/* @__PURE__ */ c(u, { className: "ttw:size-4" }), /* @__PURE__ */ c("span", {
|
|
26
|
+
className: "ttw:sr-only",
|
|
27
|
+
children: S.closeButton
|
|
28
|
+
})]
|
|
29
|
+
}),
|
|
30
|
+
/* @__PURE__ */ l(i, { children: [/* @__PURE__ */ c(a, { children: S.title }), /* @__PURE__ */ c(n, { children: S.description })] }),
|
|
31
|
+
/* @__PURE__ */ l(r, { children: [/* @__PURE__ */ c(o, {
|
|
32
|
+
type: "button",
|
|
33
|
+
variant: "outline",
|
|
34
|
+
onClick: p,
|
|
35
|
+
disabled: h,
|
|
36
|
+
"data-testid": b,
|
|
37
|
+
children: S.discardButton
|
|
38
|
+
}), /* @__PURE__ */ c(o, {
|
|
39
|
+
type: "button",
|
|
40
|
+
variant: "default",
|
|
41
|
+
loading: h,
|
|
42
|
+
disabled: h || g,
|
|
43
|
+
onClick: f,
|
|
44
|
+
"data-testid": y,
|
|
45
|
+
children: S.saveDraftButton
|
|
46
|
+
})] })
|
|
47
|
+
]
|
|
48
|
+
})
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
//#endregion
|
|
52
|
+
export { d as UnsavedBillDialog, d as default };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/groupDuplicates.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { DuplicateVerdict as e } from "./duplicateVerdict.js";
|
|
2
|
+
import { suspectedPayableDuplicates as t } from "./payableDuplicates.js";
|
|
3
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/groupDuplicates.js
|
|
4
|
+
function n(e) {
|
|
5
|
+
let n = new Map(e.map((e) => [e.id, e])), i = /* @__PURE__ */ new Map(), a = (e) => {
|
|
6
|
+
let t = i.get(e);
|
|
7
|
+
if (t === void 0 || t === e) return e;
|
|
8
|
+
let n = a(t);
|
|
9
|
+
return i.set(e, n), n;
|
|
10
|
+
}, o = (e, t) => {
|
|
11
|
+
let n = a(e), r = a(t);
|
|
12
|
+
n !== r && i.set(n, r);
|
|
13
|
+
};
|
|
14
|
+
e.forEach((e) => {
|
|
15
|
+
i.set(e.id, i.get(e.id) ?? e.id), t(e).forEach((t) => {
|
|
16
|
+
n.has(t.matched_payable_id) && o(e.id, t.matched_payable_id);
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
let s = /* @__PURE__ */ new Map();
|
|
20
|
+
return e.forEach((e) => {
|
|
21
|
+
let t = a(e.id);
|
|
22
|
+
s.set(t, [...s.get(t) ?? [], e]);
|
|
23
|
+
}), [...s.values()].map((e) => ({ members: [...e].sort(r) }));
|
|
24
|
+
}
|
|
25
|
+
function r(e, t) {
|
|
26
|
+
return (e.created_at ?? "").localeCompare(t.created_at ?? "") || e.id.localeCompare(t.id);
|
|
27
|
+
}
|
|
28
|
+
function i(e) {
|
|
29
|
+
if (e.length < 2) return;
|
|
30
|
+
let n = new Set(e.map((e) => e.id));
|
|
31
|
+
if (e.every((e) => t(e).every((e) => n.has(e.matched_payable_id)))) return [...e].sort(r)[0].id;
|
|
32
|
+
}
|
|
33
|
+
function a(n, r, i) {
|
|
34
|
+
let a = t(n);
|
|
35
|
+
if (r !== e.Keep || !i) return a;
|
|
36
|
+
let o = a.find((e) => e.matched_payable_id === i);
|
|
37
|
+
return o ? [o] : a;
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
export { r as compareByArrival, a as duplicateVerdictMatches, n as groupSuspectedDuplicates, i as resolveDuplicateOriginalId };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableRemoval.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableRemoval.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
if (e === "draft") return "delete";
|
|
4
|
+
if (e === "new") return "cancel";
|
|
5
|
+
if (e === "canceled") return "confirm";
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { e as payableRemoval };
|
package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
|
|
2
|
-
var e = "@tesouro/embedded-components-react", t = "0.5.
|
|
2
|
+
var e = "@tesouro/embedded-components-react", t = "0.5.214", n = "b0bbb056113f49692e90cd0867b0aa70a281d493", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|
|
@@ -7,7 +7,7 @@ import "../../../shared/data-access/dist/index.js";
|
|
|
7
7
|
import { Implementation as t } from "../../../shared/feature/dist/lib/WidgetProvider/types.js";
|
|
8
8
|
import { useWidgetConfig as n } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
9
9
|
import "../../../shared/feature/dist/index.js";
|
|
10
|
-
import { BillPayWidget as r } from "../../../bill-pay-widget/feature/dist/
|
|
10
|
+
import { BillPayWidget as r } from "../../../bill-pay-widget/feature/dist/index63.js";
|
|
11
11
|
import "../../../bill-pay-widget/feature/dist/index.js";
|
|
12
12
|
import { jsx as i } from "react/jsx-runtime";
|
|
13
13
|
//#region ../../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js
|
package/package.json
CHANGED
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { getPayablesId as e } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
2
|
-
import { organizationHeaders as t } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
3
|
-
import "../../../shared/data-access/dist/index.js";
|
|
4
|
-
import { invalidatePayableQueries as n } from "./index4.js";
|
|
5
|
-
import { nextPollInterval as r } from "./index5.js";
|
|
6
|
-
import { OCR_POLL_INTERVAL_MS as i } from "./index13.js";
|
|
7
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js
|
|
8
|
-
var a = 9e4;
|
|
9
|
-
async function o({ client: o, organizationId: s, payableId: c }) {
|
|
10
|
-
let l = Date.now() + a, u = i, d = !1;
|
|
11
|
-
for (; !d && Date.now() < l;) {
|
|
12
|
-
await new Promise((e) => {
|
|
13
|
-
setTimeout(e, u);
|
|
14
|
-
}), u = r(u);
|
|
15
|
-
try {
|
|
16
|
-
let { data: n } = await e({
|
|
17
|
-
client: o,
|
|
18
|
-
headers: t(s),
|
|
19
|
-
path: { payable_id: c }
|
|
20
|
-
});
|
|
21
|
-
d = n?.ocr_status !== "processing";
|
|
22
|
-
} catch {}
|
|
23
|
-
}
|
|
24
|
-
return await n({
|
|
25
|
-
client: o,
|
|
26
|
-
organizationId: s,
|
|
27
|
-
payableId: c,
|
|
28
|
-
includeLineItems: !0
|
|
29
|
-
}), d;
|
|
30
|
-
}
|
|
31
|
-
//#endregion
|
|
32
|
-
export { o as reconcileUploadedPayableOcr };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index24.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { postPaymentIntentsIdCancel as e } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
6
|
-
import { useEmbedApi as t } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
|
-
import { organizationHeaders as n } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
8
|
-
import "../../../shared/data-access/dist/index.js";
|
|
9
|
-
import { invalidatePayableQueries as r } from "./index4.js";
|
|
10
|
-
import { reconcileCancelledPaymentQueries as i } from "./index10.js";
|
|
11
|
-
import "./index15.js";
|
|
12
|
-
import { useMutation as a } from "@tanstack/react-query";
|
|
13
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index24.js
|
|
14
|
-
function o() {
|
|
15
|
-
let { client: o, organizationId: s } = t();
|
|
16
|
-
return a({
|
|
17
|
-
mutationFn: async ({ path: t }) => {
|
|
18
|
-
let { data: r } = await e({
|
|
19
|
-
client: o,
|
|
20
|
-
headers: n(s),
|
|
21
|
-
path: t,
|
|
22
|
-
throwOnError: !0
|
|
23
|
-
});
|
|
24
|
-
return r;
|
|
25
|
-
},
|
|
26
|
-
onSuccess: async (e, t) => {
|
|
27
|
-
await r({
|
|
28
|
-
client: o,
|
|
29
|
-
organizationId: s,
|
|
30
|
-
payableId: t.payableId
|
|
31
|
-
}), i({
|
|
32
|
-
client: o,
|
|
33
|
-
organizationId: s,
|
|
34
|
-
payableId: t.payableId
|
|
35
|
-
}).catch(() => {});
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
//#endregion
|
|
40
|
-
export { o as useCancelScheduledPaymentMutation };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index25.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { postPayables as e } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
6
|
-
import { useEmbedApi as t } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
|
-
import { organizationHeaders as n } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
8
|
-
import "../../../shared/data-access/dist/index.js";
|
|
9
|
-
import { invalidatePayableQueries as r } from "./index4.js";
|
|
10
|
-
import "./index15.js";
|
|
11
|
-
import { useMutation as i } from "@tanstack/react-query";
|
|
12
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index25.js
|
|
13
|
-
function a() {
|
|
14
|
-
let { client: a, organizationId: o } = t();
|
|
15
|
-
return i({
|
|
16
|
-
mutationFn: async ({ body: t }) => {
|
|
17
|
-
let { data: r } = await e({
|
|
18
|
-
client: a,
|
|
19
|
-
headers: n(o),
|
|
20
|
-
body: t,
|
|
21
|
-
throwOnError: !0
|
|
22
|
-
});
|
|
23
|
-
return r;
|
|
24
|
-
},
|
|
25
|
-
onSuccess: async () => {
|
|
26
|
-
await r({
|
|
27
|
-
client: a,
|
|
28
|
-
organizationId: o
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
//#endregion
|
|
34
|
-
export { a as useCreatePayableMutation };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index26.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { deletePayablesIdFile as e } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
6
|
-
import { useEmbedApi as t } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
|
-
import { organizationHeaders as n } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
8
|
-
import "../../../shared/data-access/dist/index.js";
|
|
9
|
-
import { invalidatePayableQueries as r } from "./index4.js";
|
|
10
|
-
import "./index15.js";
|
|
11
|
-
import { useMutation as i } from "@tanstack/react-query";
|
|
12
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index26.js
|
|
13
|
-
function a() {
|
|
14
|
-
let { client: a, organizationId: o } = t();
|
|
15
|
-
return i({
|
|
16
|
-
mutationFn: async ({ path: t }) => {
|
|
17
|
-
await e({
|
|
18
|
-
client: a,
|
|
19
|
-
headers: n(o),
|
|
20
|
-
path: t,
|
|
21
|
-
throwOnError: !0
|
|
22
|
-
});
|
|
23
|
-
},
|
|
24
|
-
onSuccess: async (e, t) => {
|
|
25
|
-
await r({
|
|
26
|
-
client: a,
|
|
27
|
-
organizationId: o,
|
|
28
|
-
payableId: t.path.payable_id
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
//#endregion
|
|
34
|
-
export { a as useDeletePayableFileMutation };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index27.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { deletePayablesId as e } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
6
|
-
import { useEmbedApi as t } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
|
-
import { organizationHeaders as n } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
8
|
-
import "../../../shared/data-access/dist/index.js";
|
|
9
|
-
import { invalidateDeletedPayableQueries as r } from "./index8.js";
|
|
10
|
-
import "./index15.js";
|
|
11
|
-
import { useMutation as i } from "@tanstack/react-query";
|
|
12
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index27.js
|
|
13
|
-
function a() {
|
|
14
|
-
let { client: a, organizationId: o } = t();
|
|
15
|
-
return i({
|
|
16
|
-
mutationFn: async ({ path: t }) => {
|
|
17
|
-
await e({
|
|
18
|
-
client: a,
|
|
19
|
-
headers: n(o),
|
|
20
|
-
path: t,
|
|
21
|
-
throwOnError: !0
|
|
22
|
-
});
|
|
23
|
-
},
|
|
24
|
-
onSuccess: async (e, t) => {
|
|
25
|
-
await r({
|
|
26
|
-
client: a,
|
|
27
|
-
organizationId: o,
|
|
28
|
-
payableId: t.path.payable_id
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
//#endregion
|
|
34
|
-
export { a as useDeletePayableMutation };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index37.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import "./index22.js";
|
|
2
|
-
import "./index23.js";
|
|
3
|
-
import "./index24.js";
|
|
4
|
-
import "./index25.js";
|
|
5
|
-
import "./index26.js";
|
|
6
|
-
import "./index27.js";
|
|
7
|
-
import "./index28.js";
|
|
8
|
-
import "./index29.js";
|
|
9
|
-
import "./index30.js";
|
|
10
|
-
import "./index31.js";
|
|
11
|
-
import "./index32.js";
|
|
12
|
-
import "./index33.js";
|
|
13
|
-
import "./index34.js";
|
|
14
|
-
import "./index35.js";
|
|
15
|
-
import "./index36.js";
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index45.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { getAnalyticsPayablesOptions as e } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
|
|
6
|
-
import { withAuthEpoch as t } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
|
|
7
|
-
import { useEmbedApi as n } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
8
|
-
import { organizationHeaders as r } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
9
|
-
import "../../../shared/data-access/dist/index.js";
|
|
10
|
-
import { PAYABLE_COUNT_ANALYTICS as i } from "./index2.js";
|
|
11
|
-
import { useQuery as a } from "@tanstack/react-query";
|
|
12
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index45.js
|
|
13
|
-
function o({ enabled: o } = {}) {
|
|
14
|
-
let { client: s, organizationId: c, widgetToken: l, authEpoch: u, organizationPending: d } = n(), f = !!(c && l) && (o === !0 || o === void 0), p = e({
|
|
15
|
-
client: s,
|
|
16
|
-
headers: r(c),
|
|
17
|
-
query: i
|
|
18
|
-
});
|
|
19
|
-
return a({
|
|
20
|
-
...t(p, {
|
|
21
|
-
authEpoch: u,
|
|
22
|
-
organizationPending: d
|
|
23
|
-
}),
|
|
24
|
-
enabled: f,
|
|
25
|
-
select: (e) => ({ count: e.data[0]?.metric_value ?? 0 })
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
//#endregion
|
|
29
|
-
export { o as usePayablesTotalCountQuery };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js
|
|
2
|
-
async function e(e) {
|
|
3
|
-
if (!e.trim()) return !1;
|
|
4
|
-
try {
|
|
5
|
-
return await navigator.clipboard.writeText(e), !0;
|
|
6
|
-
} catch {
|
|
7
|
-
return !1;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
export { e as copyTextToClipboard };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import "./index6.js";
|
|
2
|
-
import "./index10.js";
|
|
3
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js
|
|
4
|
-
function e(e, t, n = !1) {
|
|
5
|
-
if (e.isError) return t.duplicateWarningUnavailable;
|
|
6
|
-
if (e.isCapped) return t.duplicateWarningManyCapped(100);
|
|
7
|
-
if (e.count !== 0) return e.count === 1 ? n ? t.duplicateReviewingOne : t.duplicateWarningOne : n ? t.duplicateReviewingMany(e.count, e.groupCount) : t.duplicateWarningMany(e.count, e.groupCount);
|
|
8
|
-
}
|
|
9
|
-
//#endregion
|
|
10
|
-
export { e as resolveDuplicateWarning };
|