@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
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/ui/dist/index4.js
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { cn as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { BILL_UPLOAD_STATUS_TRAY_LABELS_EN as t } from "./index2.js";
|
|
3
|
+
import { UPLOAD_ITEM_ICON_TONE as n } from "./index3.js";
|
|
4
|
+
import { useId as r } from "react";
|
|
5
|
+
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
6
|
+
import { CheckCircle2 as s, ChevronDown as c, ChevronRight as l, ChevronUp as u, CopyX as d, Loader2 as f, X as p, XCircle as m } from "lucide-react";
|
|
7
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/ui/dist/index4.js
|
|
8
|
+
function h({ status: t }) {
|
|
9
|
+
let r = e("ttw:size-4", n[t]);
|
|
10
|
+
return t === "uploading" ? /* @__PURE__ */ a(f, {
|
|
11
|
+
"aria-hidden": !0,
|
|
12
|
+
className: e(r, "ttw:animate-spin")
|
|
13
|
+
}) : a(t === "ready" ? s : t === "duplicate" ? d : m, {
|
|
14
|
+
"aria-hidden": !0,
|
|
15
|
+
className: r
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function g({ item: t, labels: n }) {
|
|
19
|
+
let s = r(), c = /* @__PURE__ */ o(i, { children: [
|
|
20
|
+
/* @__PURE__ */ a(h, { status: t.status }),
|
|
21
|
+
/* @__PURE__ */ a("span", {
|
|
22
|
+
id: s,
|
|
23
|
+
className: "ttw:sr-only",
|
|
24
|
+
children: n.statusLabel(t.status)
|
|
25
|
+
}),
|
|
26
|
+
/* @__PURE__ */ a("span", {
|
|
27
|
+
className: "ttw:flex-1 ttw:truncate ttw:text-left ttw:text-sm ttw:text-foreground",
|
|
28
|
+
children: t.fileName
|
|
29
|
+
}),
|
|
30
|
+
t.onOpen ? /* @__PURE__ */ a(l, {
|
|
31
|
+
"aria-hidden": !0,
|
|
32
|
+
className: "ttw:size-4"
|
|
33
|
+
}) : null
|
|
34
|
+
] }), u = "ttw:flex ttw:items-center ttw:gap-3 ttw:px-4 ttw:py-2.5";
|
|
35
|
+
return t.onOpen ? /* @__PURE__ */ a("button", {
|
|
36
|
+
type: "button",
|
|
37
|
+
onClick: t.onOpen,
|
|
38
|
+
"aria-describedby": s,
|
|
39
|
+
"aria-label": n.openItem(t.fileName),
|
|
40
|
+
className: e(u, "ttw:w-full ttw:text-muted-foreground ttw:transition-colors ttw:hover:bg-muted/50 ttw:hover:text-foreground"),
|
|
41
|
+
children: c
|
|
42
|
+
}) : /* @__PURE__ */ a("div", {
|
|
43
|
+
"aria-describedby": s,
|
|
44
|
+
className: u,
|
|
45
|
+
children: c
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
function _({ sections: e, summaryLabel: n, collapsed: r, onToggleCollapsed: i, onClose: s, testId: l, labels: d }) {
|
|
49
|
+
let f = {
|
|
50
|
+
...t,
|
|
51
|
+
...d
|
|
52
|
+
};
|
|
53
|
+
return /* @__PURE__ */ o("div", {
|
|
54
|
+
className: "ttw:fixed ttw:right-4 ttw:bottom-4 ttw:z-50 ttw:w-96 ttw:max-w-[calc(100vw-2rem)] ttw:overflow-hidden ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card",
|
|
55
|
+
"data-testid": l,
|
|
56
|
+
children: [/* @__PURE__ */ o("div", {
|
|
57
|
+
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:border-b ttw:border-border ttw:bg-muted/40 ttw:px-4 ttw:py-3",
|
|
58
|
+
children: [
|
|
59
|
+
/* @__PURE__ */ a("span", {
|
|
60
|
+
"aria-live": "polite",
|
|
61
|
+
className: "ttw:flex-1 ttw:text-base ttw:font-semibold ttw:text-foreground",
|
|
62
|
+
children: n
|
|
63
|
+
}),
|
|
64
|
+
/* @__PURE__ */ a("button", {
|
|
65
|
+
type: "button",
|
|
66
|
+
onClick: i,
|
|
67
|
+
"aria-label": r ? f.expand : f.collapse,
|
|
68
|
+
"aria-expanded": !r,
|
|
69
|
+
className: "ttw:text-muted-foreground ttw:hover:text-foreground",
|
|
70
|
+
children: a(r ? u : c, { className: "ttw:size-4" })
|
|
71
|
+
}),
|
|
72
|
+
/* @__PURE__ */ a("button", {
|
|
73
|
+
type: "button",
|
|
74
|
+
onClick: s,
|
|
75
|
+
"aria-label": f.close,
|
|
76
|
+
className: "ttw:text-muted-foreground ttw:hover:text-foreground",
|
|
77
|
+
children: /* @__PURE__ */ a(p, { className: "ttw:size-4" })
|
|
78
|
+
})
|
|
79
|
+
]
|
|
80
|
+
}), r ? null : /* @__PURE__ */ a("div", {
|
|
81
|
+
className: "ttw:max-h-96 ttw:overflow-y-auto",
|
|
82
|
+
children: e.map((e) => /* @__PURE__ */ o("div", { children: [e.caption ? /* @__PURE__ */ a("p", {
|
|
83
|
+
className: "ttw:px-4 ttw:pt-3 ttw:pb-1 ttw:text-xs ttw:text-muted-foreground",
|
|
84
|
+
children: e.caption
|
|
85
|
+
}) : null, e.items.map((e) => /* @__PURE__ */ a(g, {
|
|
86
|
+
item: e,
|
|
87
|
+
labels: f
|
|
88
|
+
}, e.id))] }, e.id))
|
|
89
|
+
})]
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
//#endregion
|
|
93
|
+
export { _ as BillUploadStatusTray, _ as default };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js
CHANGED
|
@@ -1,35 +1,31 @@
|
|
|
1
1
|
import { useEmbedApi as e } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
2
2
|
import "../../../shared/data-access/dist/index.js";
|
|
3
|
-
import "
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { useAttachPayableFileMutation as
|
|
11
|
-
import { useCancelPayableMutation as
|
|
12
|
-
import { useCancelScheduledPaymentMutation as
|
|
13
|
-
import { useCreatePayableMutation as
|
|
14
|
-
import { useDeletePayableFileMutation as
|
|
15
|
-
import { useDeletePayableMutation as
|
|
16
|
-
import { useForceApprovePayableMutation as
|
|
17
|
-
import { useForceRejectPayableMutation as
|
|
18
|
-
import {
|
|
19
|
-
import "./
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import "./
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import
|
|
30
|
-
import {
|
|
31
|
-
|
|
32
|
-
import { usePayablesTotalCountQuery as j } from "./index45.js";
|
|
33
|
-
import "./index46.js";
|
|
34
|
-
import { usePayableSuggestionsQuery as M } from "./index47.js";
|
|
35
|
-
export { l as DuplicateVerdict, a as useAllPayableLineItemsQuery, u as useApplyDuplicateVerdictsMutation, t as useApprovePayableApprovalRequestMutation, d as useAttachPayableFileMutation, f as useCancelPayableMutation, p as useCancelScheduledPaymentMutation, m as useCreatePayableMutation, h as useDeletePayableFileMutation, g as useDeletePayableMutation, e as useEmbedApi, E as useFirstPayablesPagesQuery, _ as useForceApprovePayableMutation, v as useForceRejectPayableMutation, y as useMarkPayableAsPaidMutation, n as usePayableApprovalRequestsQuery, i as usePayableHistoryQuery, T as usePayableOcrQueries, s as usePayablePaymentRecordsQuery, D as usePayableQuery, M as usePayableSuggestionsQuery, O as usePayablesByIdsQueries, k as usePayablesCountQueries, A as usePayablesQuery, j as usePayablesTotalCountQuery, r as useRejectPayableApprovalRequestMutation, b as useReopenPayableMutation, o as useReplacePayableLineItemsMutation, c as useSchedulePaymentMutation, x as useSubmitPayableForApprovalMutation, S as useUpdatePayableMutation, C as useUploadPayableFromFileMutation, w as useValidatePayableMutation };
|
|
3
|
+
import { DuplicateVerdict as t } from "../../util/dist/lib/duplicateVerdict.js";
|
|
4
|
+
import "./lib/queryKeys.js";
|
|
5
|
+
import { useApprovePayableApprovalRequestMutation as n, usePayableApprovalRequestsQuery as r, useRejectPayableApprovalRequestMutation as i } from "./lib/usePayableApprovalRequests.js";
|
|
6
|
+
import { usePayableHistoryQuery as a } from "./lib/usePayableHistoryQuery.js";
|
|
7
|
+
import { useAllPayableLineItemsQuery as o, useReplacePayableLineItemsMutation as s } from "./lib/usePayableLineItems.js";
|
|
8
|
+
import { usePayablePaymentRecordsQuery as c } from "./lib/usePayablePaymentRecordsQuery.js";
|
|
9
|
+
import { useApplyDuplicateVerdictsMutation as l } from "./lib/useApplyDuplicateVerdictsMutation.js";
|
|
10
|
+
import { useAttachPayableFileMutation as u } from "./lib/usePayableMutations/useAttachPayableFileMutation.js";
|
|
11
|
+
import { useCancelPayableMutation as d } from "./lib/usePayableMutations/useCancelPayableMutation.js";
|
|
12
|
+
import { useCancelScheduledPaymentMutation as f } from "./lib/usePayableMutations/useCancelScheduledPaymentMutation.js";
|
|
13
|
+
import { useCreatePayableMutation as p } from "./lib/usePayableMutations/useCreatePayableMutation.js";
|
|
14
|
+
import { useDeletePayableFileMutation as m } from "./lib/usePayableMutations/useDeletePayableFileMutation.js";
|
|
15
|
+
import { useDeletePayableMutation as h } from "./lib/usePayableMutations/useDeletePayableMutation.js";
|
|
16
|
+
import { useForceApprovePayableMutation as g } from "./lib/usePayableMutations/useForceApprovePayableMutation.js";
|
|
17
|
+
import { useForceRejectPayableMutation as _ } from "./lib/usePayableMutations/useForceRejectPayableMutation.js";
|
|
18
|
+
import { useReopenPayableMutation as v } from "./lib/usePayableMutations/useReopenPayableMutation.js";
|
|
19
|
+
import { useSubmitPayableForApprovalMutation as y } from "./lib/usePayableMutations/useSubmitPayableForApprovalMutation.js";
|
|
20
|
+
import { useUpdatePayableMutation as b } from "./lib/usePayableMutations/useUpdatePayableMutation.js";
|
|
21
|
+
import { useValidatePayableMutation as x } from "./lib/usePayableMutations/useValidatePayableMutation.js";
|
|
22
|
+
import "./lib/usePayableMutations/index.js";
|
|
23
|
+
import { useFirstPayablesPagesQuery as S } from "./lib/usePayablesQueries/useFirstPayablesPagesQuery.js";
|
|
24
|
+
import { usePayableQuery as C } from "./lib/usePayablesQueries/usePayableQuery.js";
|
|
25
|
+
import { usePayablesByIdsQueries as w } from "./lib/usePayablesQueries/usePayablesByIdsQueries.js";
|
|
26
|
+
import { usePayablesCountQueries as T } from "./lib/usePayablesQueries/usePayablesCountQueries.js";
|
|
27
|
+
import { usePayablesQuery as E } from "./lib/usePayablesQueries/usePayablesQuery.js";
|
|
28
|
+
import { usePayablesTotalCountQuery as D } from "./lib/usePayablesQueries/usePayablesTotalCountQuery.js";
|
|
29
|
+
import "./lib/usePayablesQueries/index.js";
|
|
30
|
+
import { usePayableSuggestionsQuery as O } from "./lib/usePayableSuggestionsQuery.js";
|
|
31
|
+
export { t as DuplicateVerdict, o as useAllPayableLineItemsQuery, l as useApplyDuplicateVerdictsMutation, n as useApprovePayableApprovalRequestMutation, u as useAttachPayableFileMutation, d as useCancelPayableMutation, f as useCancelScheduledPaymentMutation, p as useCreatePayableMutation, m as useDeletePayableFileMutation, h as useDeletePayableMutation, e as useEmbedApi, S as useFirstPayablesPagesQuery, g as useForceApprovePayableMutation, _ as useForceRejectPayableMutation, r as usePayableApprovalRequestsQuery, a as usePayableHistoryQuery, c as usePayablePaymentRecordsQuery, C as usePayableQuery, O as usePayableSuggestionsQuery, w as usePayablesByIdsQueries, T as usePayablesCountQueries, E as usePayablesQuery, D as usePayablesTotalCountQuery, i as useRejectPayableApprovalRequestMutation, v as useReopenPayableMutation, s as useReplacePayableLineItemsMutation, y as useSubmitPayableForApprovalMutation, b as useUpdatePayableMutation, x as useValidatePayableMutation };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/invalidation.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { invalidatePayableQueries as e } from "./lib/invalidatePayableQueries/invalidatePayableQueries.js";
|
|
2
|
+
import { PAYABLE_PROJECTION_POLL_INTERVAL_MS as t, PAYABLE_PROJECTION_POLL_TIMEOUT_MS as n, nextPollInterval as r } from "./lib/invalidatePayableQueries/payableProjectionPolling.js";
|
|
3
|
+
import "./lib/invalidatePayableQueries/approvalDecisionQueries.js";
|
|
4
|
+
import "./lib/invalidatePayableQueries/approvalRequestWatch.js";
|
|
5
|
+
import "./lib/invalidatePayableQueries/invalidateDeletedPayableQueries.js";
|
|
6
|
+
import { hasLiveScheduledRecord as i } from "./lib/invalidatePayableQueries/hasLiveScheduledRecord.js";
|
|
7
|
+
import "./lib/invalidatePayableQueries/reconcileCancelledPaymentQueries.js";
|
|
8
|
+
import "./lib/invalidatePayableQueries/reconcileSubmittedForApprovalQueries.js";
|
|
9
|
+
import "./lib/invalidatePayableQueries/index.js";
|
|
10
|
+
import { OCR_POLL_INTERVAL_MS as a, payableOcrQueryOptions as o } from "./lib/payableOcrQueryOptions.js";
|
|
11
|
+
export { a as OCR_POLL_INTERVAL_MS, t as PAYABLE_PROJECTION_POLL_INTERVAL_MS, n as PAYABLE_PROJECTION_POLL_TIMEOUT_MS, i as hasLiveScheduledRecord, e as invalidatePayableQueries, r as nextPollInterval, o as payableOcrQueryOptions };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { getPayablesId as e } from "
|
|
2
|
-
import { invalidateAllClients as t } from "
|
|
3
|
-
import { organizationHeaders as n } from "
|
|
4
|
-
import "
|
|
5
|
-
import { approvalRequestsInvalidationKey as r } from "
|
|
6
|
-
import { invalidatePayableQueries as i } from "./
|
|
7
|
-
import { PAYABLE_PROJECTION_POLL_INTERVAL_MS as a, nextPollInterval as o } from "./
|
|
8
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
1
|
+
import { getPayablesId as e } from "../../../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
2
|
+
import { invalidateAllClients as t } from "../../../../../shared/data-access/dist/lib/clientRegistry.js";
|
|
3
|
+
import { organizationHeaders as n } from "../../../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
4
|
+
import "../../../../../shared/data-access/dist/index.js";
|
|
5
|
+
import { approvalRequestsInvalidationKey as r } from "../queryKeys.js";
|
|
6
|
+
import { invalidatePayableQueries as i } from "./invalidatePayableQueries.js";
|
|
7
|
+
import { PAYABLE_PROJECTION_POLL_INTERVAL_MS as a, nextPollInterval as o } from "./payableProjectionPolling.js";
|
|
8
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/invalidatePayableQueries/approvalDecisionQueries.js
|
|
9
9
|
var s = /* @__PURE__ */ new Set(["new", "approve_in_progress"]), c = 6e4;
|
|
10
10
|
async function l({ client: e, organizationId: n, payableId: a }) {
|
|
11
11
|
await t(r({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { getApprovalRequests as e, getPayablesIdHistory as t } from "
|
|
2
|
-
import { organizationHeaders as n } from "
|
|
3
|
-
import "
|
|
4
|
-
import { NEWEST_REQUEST_FIRST as r, PAYABLE_OBJECT_TYPE as i } from "
|
|
5
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
1
|
+
import { getApprovalRequests as e, getPayablesIdHistory as t } from "../../../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
2
|
+
import { organizationHeaders as n } from "../../../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
3
|
+
import "../../../../../shared/data-access/dist/index.js";
|
|
4
|
+
import { NEWEST_REQUEST_FIRST as r, PAYABLE_OBJECT_TYPE as i } from "../queryKeys.js";
|
|
5
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/invalidatePayableQueries/approvalRequestWatch.js
|
|
6
6
|
var a = 100;
|
|
7
7
|
async function o({ client: t, organizationId: o, payableId: s }) {
|
|
8
8
|
try {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { cancelAllClients as e, removeInactiveFromAllClients as t } from "
|
|
2
|
-
import "
|
|
3
|
-
import { payableHistoryInvalidationKey as n, payableInvalidationKey as r, payableLineItemsInvalidationKey as i } from "
|
|
4
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
1
|
+
import { cancelAllClients as e, removeInactiveFromAllClients as t } from "../../../../../shared/data-access/dist/lib/clientRegistry.js";
|
|
2
|
+
import "../../../../../shared/data-access/dist/index.js";
|
|
3
|
+
import { payableHistoryInvalidationKey as n, payableInvalidationKey as r, payableLineItemsInvalidationKey as i } from "../queryKeys.js";
|
|
4
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/invalidatePayableQueries/cleanUpDeletedPayableQueries.js
|
|
5
5
|
async function a({ client: a, organizationId: o, payableId: s }) {
|
|
6
6
|
if (!s) return;
|
|
7
7
|
let c = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { getPaymentRecords as e } from "
|
|
2
|
-
import { organizationHeaders as t } from "
|
|
3
|
-
import "
|
|
4
|
-
import { isLiveScheduledPaymentRecord as n } from "
|
|
5
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
1
|
+
import { getPaymentRecords 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 { isLiveScheduledPaymentRecord as n } from "../../../../util/dist/lib/isLiveScheduledPaymentRecord.js";
|
|
5
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/invalidatePayableQueries/hasLiveScheduledRecord.js
|
|
6
6
|
var r = 100;
|
|
7
7
|
async function i({ client: i, organizationId: a, payableId: o }) {
|
|
8
8
|
let s = /* @__PURE__ */ new Set(), c;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import "./invalidatePayableQueries.js";
|
|
2
|
+
import "./approvalDecisionQueries.js";
|
|
3
|
+
import "./approvalRequestWatch.js";
|
|
4
|
+
import "./invalidateDeletedPayableQueries.js";
|
|
5
|
+
import "./reconcileCancelledPaymentQueries.js";
|
|
6
|
+
import "./reconcileSubmittedForApprovalQueries.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { invalidateAllClients as e } from "
|
|
2
|
-
import "
|
|
3
|
-
import { analyticsPayablesInvalidationKey as t, payablesInvalidationKey as n } from "
|
|
4
|
-
import { cleanUpDeletedPayableQueries as r } from "./
|
|
5
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
1
|
+
import { invalidateAllClients as e } from "../../../../../shared/data-access/dist/lib/clientRegistry.js";
|
|
2
|
+
import "../../../../../shared/data-access/dist/index.js";
|
|
3
|
+
import { analyticsPayablesInvalidationKey as t, payablesInvalidationKey as n } from "../queryKeys.js";
|
|
4
|
+
import { cleanUpDeletedPayableQueries as r } from "./cleanUpDeletedPayableQueries.js";
|
|
5
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/invalidatePayableQueries/invalidateDeletedPayableQueries.js
|
|
6
6
|
async function i({ client: i, organizationId: a, payableId: o }) {
|
|
7
7
|
let s = {
|
|
8
8
|
client: i,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { invalidateAllClients as e } from "
|
|
2
|
-
import "
|
|
3
|
-
import { analyticsPayablesInvalidationKey as t, approvalRequestsInvalidationKey as n, payableHistoryInvalidationKey as r, payableInvalidationKey as i, payableLineItemsInvalidationKey as a, payablePaymentRecordsInvalidationKey as o, payablesInvalidationKey as s } from "
|
|
4
|
-
import { cleanUpDeletedPayableQueries as c } from "./
|
|
5
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
1
|
+
import { invalidateAllClients as e } from "../../../../../shared/data-access/dist/lib/clientRegistry.js";
|
|
2
|
+
import "../../../../../shared/data-access/dist/index.js";
|
|
3
|
+
import { analyticsPayablesInvalidationKey as t, approvalRequestsInvalidationKey as n, payableHistoryInvalidationKey as r, payableInvalidationKey as i, payableLineItemsInvalidationKey as a, payablePaymentRecordsInvalidationKey as o, payablesInvalidationKey as s } from "../queryKeys.js";
|
|
4
|
+
import { cleanUpDeletedPayableQueries as c } from "./cleanUpDeletedPayableQueries.js";
|
|
5
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/invalidatePayableQueries/invalidatePayableQueries.js
|
|
6
6
|
async function l({ client: l, organizationId: u, payableId: d, payableIds: f, deletedPayableIds: p, includeLineItems: m, includeApprovalRequests: h }) {
|
|
7
7
|
let g = {
|
|
8
8
|
client: l,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/invalidatePayableQueries/payableProjectionPolling.js
|
|
2
2
|
var e = 2e4, t = 1e3, n = (e) => Math.min(e * 1.5, 5e3);
|
|
3
3
|
//#endregion
|
|
4
4
|
export { t as PAYABLE_PROJECTION_POLL_INTERVAL_MS, e as PAYABLE_PROJECTION_POLL_TIMEOUT_MS, n as nextPollInterval };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { getPayablesId as e } from "
|
|
2
|
-
import { organizationHeaders as t } from "
|
|
3
|
-
import "
|
|
4
|
-
import { invalidatePayableQueries as n } from "./
|
|
5
|
-
import { PAYABLE_PROJECTION_POLL_INTERVAL_MS as r, PAYABLE_PROJECTION_POLL_TIMEOUT_MS as i } from "./
|
|
6
|
-
import { hasLiveScheduledRecord as a } from "./
|
|
7
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
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 "./invalidatePayableQueries.js";
|
|
5
|
+
import { PAYABLE_PROJECTION_POLL_INTERVAL_MS as r, PAYABLE_PROJECTION_POLL_TIMEOUT_MS as i } from "./payableProjectionPolling.js";
|
|
6
|
+
import { hasLiveScheduledRecord as a } from "./hasLiveScheduledRecord.js";
|
|
7
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/invalidatePayableQueries/reconcileCancelledPaymentQueries.js
|
|
8
8
|
async function o({ client: o, organizationId: s, payableId: c }) {
|
|
9
9
|
let l = Date.now() + i, u = !1;
|
|
10
10
|
for (; !u && Date.now() < l;) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { invalidatePayableQueries as e } from "./
|
|
2
|
-
import { nextPollInterval as t } from "./
|
|
3
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
1
|
+
import { invalidatePayableQueries as e } from "./invalidatePayableQueries.js";
|
|
2
|
+
import { nextPollInterval as t } from "./payableProjectionPolling.js";
|
|
3
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/invalidatePayableQueries/reconcileSubmittedForApprovalQueries.js
|
|
4
4
|
var n = 15e4, r = 3e3;
|
|
5
5
|
async function i({ client: i, organizationId: a, payableId: o, watch: s }) {
|
|
6
6
|
let c = Date.now() + n, l = r, u = !1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { getPayablesIdOptions as e } from "
|
|
2
|
-
import { organizationHeaders as t } from "
|
|
3
|
-
import "
|
|
4
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
1
|
+
import { getPayablesIdOptions as e } from "../../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
|
|
2
|
+
import { organizationHeaders as t } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
3
|
+
import "../../../../shared/data-access/dist/index.js";
|
|
4
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/payableOcrQueryOptions.js
|
|
5
5
|
var n = 2500;
|
|
6
6
|
function r({ client: n, organizationId: r, payableId: i }) {
|
|
7
7
|
return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { getPayablesIdOptions as e } from "
|
|
2
|
-
import { organizationHeaders as t } from "
|
|
3
|
-
import "
|
|
4
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
1
|
+
import { getPayablesIdOptions as e } from "../../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
|
|
2
|
+
import { organizationHeaders as t } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
3
|
+
import "../../../../shared/data-access/dist/index.js";
|
|
4
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/payablePolicyAssignmentQueryOptions.js
|
|
5
5
|
var n = 1e3;
|
|
6
6
|
function r({ client: r, organizationId: i, payableId: a }) {
|
|
7
7
|
return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { getAnalyticsPayablesQueryKey as e, getApprovalRequestsQueryKey as t, getPayablesIdHistoryQueryKey as n, getPayablesIdLineItemsQueryKey as r, getPayablesIdQueryKey as i, getPayablesQueryKey as a, getPaymentRecordsQueryKey as o } from "
|
|
2
|
-
import { organizationHeaders as s } from "
|
|
3
|
-
import "
|
|
4
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
1
|
+
import { getAnalyticsPayablesQueryKey as e, getApprovalRequestsQueryKey as t, getPayablesIdHistoryQueryKey as n, getPayablesIdLineItemsQueryKey as r, getPayablesIdQueryKey as i, getPayablesQueryKey as a, getPaymentRecordsQueryKey as o } from "../../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
|
|
2
|
+
import { organizationHeaders as s } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
3
|
+
import "../../../../shared/data-access/dist/index.js";
|
|
4
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/queryKeys.js
|
|
5
5
|
var c = {
|
|
6
6
|
metric: "id",
|
|
7
7
|
aggregation_function: "count"
|
|
@@ -2,18 +2,16 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { deletePayablesId as e, postPayablesIdCancel as t, postPayablesIdDuplicatesIdConfirm as n, postPayablesIdDuplicatesIdDismiss as r } from "
|
|
6
|
-
import { useEmbedApi as i } from "
|
|
7
|
-
import { organizationHeaders as a } from "
|
|
8
|
-
import "
|
|
9
|
-
import {
|
|
10
|
-
import "./
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
Remove: "remove"
|
|
16
|
-
}, l = class extends Error {
|
|
5
|
+
import { deletePayablesId as e, postPayablesIdCancel as t, postPayablesIdDuplicatesIdConfirm as n, postPayablesIdDuplicatesIdDismiss as r } from "../../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
6
|
+
import { useEmbedApi as i } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
|
+
import { organizationHeaders as a } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
8
|
+
import "../../../../shared/data-access/dist/index.js";
|
|
9
|
+
import { DuplicateVerdict as o } from "../../../util/dist/lib/duplicateVerdict.js";
|
|
10
|
+
import { invalidatePayableQueries as s } from "./invalidatePayableQueries/invalidatePayableQueries.js";
|
|
11
|
+
import "./invalidatePayableQueries/index.js";
|
|
12
|
+
import { useMutation as c } from "@tanstack/react-query";
|
|
13
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/useApplyDuplicateVerdictsMutation.js
|
|
14
|
+
var l = class extends Error {
|
|
17
15
|
applied;
|
|
18
16
|
constructor(e, t) {
|
|
19
17
|
super("A duplicate verdict batch failed partway through.", { cause: t }), this.name = "DuplicateVerdictBatchError", this.applied = e;
|
|
@@ -24,20 +22,20 @@ function u(e) {
|
|
|
24
22
|
}
|
|
25
23
|
function d() {
|
|
26
24
|
let { client: d, organizationId: f } = i();
|
|
27
|
-
return
|
|
28
|
-
mutationFn: async ({ verdict: i, targets:
|
|
29
|
-
let
|
|
25
|
+
return c({
|
|
26
|
+
mutationFn: async ({ verdict: i, targets: s }) => {
|
|
27
|
+
let c = a(f), u = [], p = [], m = () => s.filter((e) => e.matchedPayableId !== void 0 && p.includes(e.payableId) && !p.includes(e.matchedPayableId)).map((e) => e.matchedPayableId), h = () => ({
|
|
30
28
|
payableIds: [.../* @__PURE__ */ new Set([...u, ...m()])],
|
|
31
29
|
deletedPayableIds: [...new Set(p)]
|
|
32
30
|
});
|
|
33
31
|
try {
|
|
34
32
|
let a = /* @__PURE__ */ new Set();
|
|
35
|
-
if (i ===
|
|
36
|
-
for (let n of
|
|
33
|
+
if (i === o.Remove) {
|
|
34
|
+
for (let n of s) if (!a.has(n.payableId)) {
|
|
37
35
|
if (a.add(n.payableId), n.removeBy === "delete") {
|
|
38
36
|
await e({
|
|
39
37
|
client: d,
|
|
40
|
-
headers:
|
|
38
|
+
headers: c,
|
|
41
39
|
path: { payable_id: n.payableId },
|
|
42
40
|
throwOnError: !0
|
|
43
41
|
}), p.push(n.payableId);
|
|
@@ -45,16 +43,16 @@ function d() {
|
|
|
45
43
|
}
|
|
46
44
|
n.removeBy === "cancel" && (await t({
|
|
47
45
|
client: d,
|
|
48
|
-
headers:
|
|
46
|
+
headers: c,
|
|
49
47
|
path: { payable_id: n.payableId },
|
|
50
48
|
throwOnError: !0
|
|
51
49
|
}), u.push(n.payableId));
|
|
52
50
|
}
|
|
53
51
|
}
|
|
54
|
-
let l = /* @__PURE__ */ new Set(), f = i ===
|
|
55
|
-
for (let e of
|
|
52
|
+
let l = /* @__PURE__ */ new Set(), f = i === o.Remove ? n : r;
|
|
53
|
+
for (let e of s) l.has(e.duplicateId) || p.includes(e.payableId) || e.matchedPayableId && p.includes(e.matchedPayableId) || (l.add(e.duplicateId), await f({
|
|
56
54
|
client: d,
|
|
57
|
-
headers:
|
|
55
|
+
headers: c,
|
|
58
56
|
path: {
|
|
59
57
|
payable_id: e.payableId,
|
|
60
58
|
duplicate_id: e.duplicateId
|
|
@@ -67,7 +65,7 @@ function d() {
|
|
|
67
65
|
return h();
|
|
68
66
|
},
|
|
69
67
|
onSuccess: async (e) => {
|
|
70
|
-
await
|
|
68
|
+
await s({
|
|
71
69
|
client: d,
|
|
72
70
|
organizationId: f,
|
|
73
71
|
payableIds: e.payableIds,
|
|
@@ -75,7 +73,7 @@ function d() {
|
|
|
75
73
|
});
|
|
76
74
|
},
|
|
77
75
|
onError: async (e) => {
|
|
78
|
-
e instanceof l && u(e.applied) && await
|
|
76
|
+
e instanceof l && u(e.applied) && await s({
|
|
79
77
|
client: d,
|
|
80
78
|
organizationId: f,
|
|
81
79
|
payableIds: e.applied.payableIds,
|
|
@@ -85,4 +83,4 @@ function d() {
|
|
|
85
83
|
});
|
|
86
84
|
}
|
|
87
85
|
//#endregion
|
|
88
|
-
export {
|
|
86
|
+
export { o as DuplicateVerdict, l as DuplicateVerdictBatchError, d as useApplyDuplicateVerdictsMutation };
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { postApprovalRequestsIdApprove as e, postApprovalRequestsIdReject as t } from "
|
|
6
|
-
import { getApprovalRequestsOptions as n } from "
|
|
7
|
-
import { withAuthEpoch as r } from "
|
|
8
|
-
import { useEmbedApi as i } from "
|
|
9
|
-
import { organizationHeaders as a } from "
|
|
10
|
-
import "
|
|
11
|
-
import { NEWEST_REQUEST_FIRST as o, PAYABLE_OBJECT_TYPE as s } from "./
|
|
12
|
-
import { invalidateApprovalDecisionQueries as c, reconcileApprovalDecisionQueries as l } from "./
|
|
13
|
-
import { beginApprovalRequestWatch as u } from "./
|
|
14
|
-
import "./
|
|
5
|
+
import { postApprovalRequestsIdApprove as e, postApprovalRequestsIdReject as t } from "../../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
6
|
+
import { getApprovalRequestsOptions as n } from "../../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
|
|
7
|
+
import { withAuthEpoch as r } from "../../../../shared/data-access/dist/lib/withAuthEpoch.js";
|
|
8
|
+
import { useEmbedApi as i } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
9
|
+
import { organizationHeaders as a } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
10
|
+
import "../../../../shared/data-access/dist/index.js";
|
|
11
|
+
import { NEWEST_REQUEST_FIRST as o, PAYABLE_OBJECT_TYPE as s } from "./queryKeys.js";
|
|
12
|
+
import { invalidateApprovalDecisionQueries as c, reconcileApprovalDecisionQueries as l } from "./invalidatePayableQueries/approvalDecisionQueries.js";
|
|
13
|
+
import { beginApprovalRequestWatch as u } from "./invalidatePayableQueries/approvalRequestWatch.js";
|
|
14
|
+
import "./invalidatePayableQueries/index.js";
|
|
15
15
|
import { useMutation as d, useQuery as f } from "@tanstack/react-query";
|
|
16
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
16
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableApprovalRequests.js
|
|
17
17
|
function p(e, { enabled: t } = {}) {
|
|
18
18
|
let { client: c, organizationId: l, widgetToken: u, authEpoch: d, organizationPending: p } = i(), m = !!(l && u && e) && t !== !1, h = n({
|
|
19
19
|
client: c,
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { getPayablesIdHistoryOptions as e } from "
|
|
6
|
-
import { withAuthEpoch as t } from "
|
|
7
|
-
import { useEmbedApi as n } from "
|
|
8
|
-
import { organizationHeaders as r } from "
|
|
9
|
-
import "
|
|
5
|
+
import { getPayablesIdHistoryOptions 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
10
|
import { useQuery as i } from "@tanstack/react-query";
|
|
11
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
11
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableHistoryQuery.js
|
|
12
12
|
var a = 100;
|
|
13
13
|
function o(o, { enabled: s } = {}) {
|
|
14
14
|
let { client: c, organizationId: l, widgetToken: u, authEpoch: d, organizationPending: f } = n(), p = !!(l && u && o) && s !== !1, m = e({
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { getPayablesIdLineItems as e, putPayablesIdLineItems as t } from "
|
|
6
|
-
import { getPayablesIdLineItemsOptions as n } from "
|
|
7
|
-
import { authEpochPlaceholder as r, withAuthEpoch as i } from "
|
|
8
|
-
import { useEmbedApi as a } from "
|
|
9
|
-
import { organizationHeaders as o } from "
|
|
10
|
-
import { getAllPagesNextPaginationTokenParam as s, isAllPagesResolving as c, useAutoFetchNextPage as l } from "
|
|
11
|
-
import "
|
|
12
|
-
import { invalidatePayableQueries as u } from "./
|
|
13
|
-
import "./
|
|
5
|
+
import { getPayablesIdLineItems as e, putPayablesIdLineItems as t } from "../../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
6
|
+
import { getPayablesIdLineItemsOptions as n } from "../../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
|
|
7
|
+
import { authEpochPlaceholder as r, withAuthEpoch as i } from "../../../../shared/data-access/dist/lib/withAuthEpoch.js";
|
|
8
|
+
import { useEmbedApi as a } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
9
|
+
import { organizationHeaders as o } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
10
|
+
import { getAllPagesNextPaginationTokenParam as s, isAllPagesResolving as c, useAutoFetchNextPage as l } from "../../../../shared/data-access/dist/lib/allPages.js";
|
|
11
|
+
import "../../../../shared/data-access/dist/index.js";
|
|
12
|
+
import { invalidatePayableQueries as u } from "./invalidatePayableQueries/invalidatePayableQueries.js";
|
|
13
|
+
import "./invalidatePayableQueries/index.js";
|
|
14
14
|
import { useMemo as d } from "react";
|
|
15
15
|
import { useInfiniteQuery as f, useMutation as p } from "@tanstack/react-query";
|
|
16
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
16
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableLineItems.js
|
|
17
17
|
var m = 100;
|
|
18
18
|
function h(t, { enabled: u } = {}) {
|
|
19
19
|
let { client: p, organizationId: h, widgetToken: g, authEpoch: _, organizationPending: v } = a(), y = o(h), b = !!(h && g && t) && u !== !1, x = n({
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "./useAttachPayableFileMutation.js";
|
|
2
|
+
import "./useCancelPayableMutation.js";
|
|
3
|
+
import "./useCancelScheduledPaymentMutation.js";
|
|
4
|
+
import "./useCreatePayableMutation.js";
|
|
5
|
+
import "./useDeletePayableFileMutation.js";
|
|
6
|
+
import "./useDeletePayableMutation.js";
|
|
7
|
+
import "./useForceApprovePayableMutation.js";
|
|
8
|
+
import "./useForceRejectPayableMutation.js";
|
|
9
|
+
import "./useReopenPayableMutation.js";
|
|
10
|
+
import "./useSubmitPayableForApprovalMutation.js";
|
|
11
|
+
import "./useUpdatePayableMutation.js";
|
|
12
|
+
import "./useValidatePayableMutation.js";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { postPayablesIdAttachFile as e } from "
|
|
6
|
-
import { useEmbedApi as t } from "
|
|
7
|
-
import { organizationHeaders as n } from "
|
|
8
|
-
import "
|
|
9
|
-
import { invalidatePayableQueries as r } from "
|
|
10
|
-
import "
|
|
5
|
+
import { postPayablesIdAttachFile 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 "../invalidatePayableQueries/invalidatePayableQueries.js";
|
|
10
|
+
import "../invalidatePayableQueries/index.js";
|
|
11
11
|
import { useMutation as i } from "@tanstack/react-query";
|
|
12
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/
|
|
12
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/usePayableMutations/useAttachPayableFileMutation.js
|
|
13
13
|
function a() {
|
|
14
14
|
let { client: a, organizationId: o } = t();
|
|
15
15
|
return i({
|