@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 +1,396 @@
|
|
|
1
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { toast as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import { formatCalendarDate as t } from "../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
7
|
+
import { formatMoneyExact as n } from "../../../shared/util/dist/lib/formatMoneyExact.js";
|
|
8
|
+
import { useEmbedApi as r } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
9
|
+
import "../../../shared/ui/dist/index.js";
|
|
10
|
+
import { derivePayableStatus as i } from "../../util/dist/lib/derivePayableStatus.js";
|
|
11
|
+
import { DuplicateVerdict as a } from "../../util/dist/lib/duplicateVerdict.js";
|
|
12
|
+
import { formatScheduledDateLabel as o } from "../../util/dist/lib/formatScheduledDateLabel.js";
|
|
13
|
+
import { hasSuspectedPayableDuplicate as s, suspectedPayableDuplicates as c } from "../../util/dist/lib/payableDuplicates.js";
|
|
14
|
+
import { compareByArrival as l, duplicateVerdictMatches as u, resolveDuplicateOriginalId as d } from "../../util/dist/lib/groupDuplicates.js";
|
|
15
|
+
import { isEditablePayableStatus as f } from "../../util/dist/lib/isEditablePayableStatus.js";
|
|
16
|
+
import { payableRemoval as p } from "../../util/dist/lib/payableRemoval.js";
|
|
17
|
+
import { resolveVendorName as ee } from "../../util/dist/lib/resolveVendor.js";
|
|
18
|
+
import { BillColumn as m } from "../../ui/dist/index86.js";
|
|
19
|
+
import "../../ui/dist/index.js";
|
|
20
|
+
import { useApplyDuplicateVerdictsMutation as h } from "../../data-access/dist/lib/useApplyDuplicateVerdictsMutation.js";
|
|
21
|
+
import { useFirstPayablesPagesQuery as te } from "../../data-access/dist/lib/usePayablesQueries/useFirstPayablesPagesQuery.js";
|
|
22
|
+
import { usePayablesQuery as g } from "../../data-access/dist/lib/usePayablesQueries/usePayablesQuery.js";
|
|
23
|
+
import { usePayablesTotalCountQuery as ne } from "../../data-access/dist/lib/usePayablesQueries/usePayablesTotalCountQuery.js";
|
|
24
|
+
import "../../data-access/dist/index.js";
|
|
25
|
+
import { duplicateRemovalPrompt as _ } from "./index4.js";
|
|
26
|
+
import { useLocalCalendarDay as re } from "./index16.js";
|
|
27
|
+
import { BillQueue as v, DEFAULT_BILL_QUEUE as ie, billQueueColumns as ae, billQueueHasScheduledPayment as oe, billQueueOffersAddPanel as se, billQueueStatuses as ce, billSortColumnId as le, billSortField as ue } from "./index46.js";
|
|
28
|
+
import { useBillsFilters as de } from "./index55.js";
|
|
29
|
+
import { BillVendorLookup as fe, useBillVendorNames as pe } from "./index56.js";
|
|
30
|
+
import { useCallback as y, useEffect as b, useMemo as x, useState as S } from "react";
|
|
31
|
+
import { BanIcon as me, FileCheckIcon as he, Trash2Icon as ge } from "lucide-react";
|
|
32
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js
|
|
33
|
+
var _e = 10, C = 100, ve = 3, ye = [{
|
|
34
|
+
id: "addedOnLabel",
|
|
35
|
+
desc: !0
|
|
36
|
+
}], w = {
|
|
37
|
+
AllBills: "allBills",
|
|
38
|
+
PossibleDuplicates: "possibleDuplicates"
|
|
39
|
+
};
|
|
40
|
+
function be(e, t) {
|
|
41
|
+
let n = new Map(e.map((e) => [e.id, e])), r = /* @__PURE__ */ new Map(), i = (e) => {
|
|
42
|
+
r.has(e) || r.set(e, /* @__PURE__ */ new Set());
|
|
43
|
+
}, a = (e, t) => {
|
|
44
|
+
i(e), i(t), r.get(e)?.add(t), r.get(t)?.add(e);
|
|
45
|
+
};
|
|
46
|
+
for (let t of e) {
|
|
47
|
+
let e = c(t);
|
|
48
|
+
if (e.length !== 0) {
|
|
49
|
+
i(t.id);
|
|
50
|
+
for (let n of e) a(t.id, n.matched_payable_id);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
let o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Set();
|
|
54
|
+
for (let e of r.keys()) {
|
|
55
|
+
if (s.has(e)) continue;
|
|
56
|
+
let i = [], a = [e];
|
|
57
|
+
for (s.add(e); a.length > 0;) {
|
|
58
|
+
let e = a.pop();
|
|
59
|
+
n.has(e) && i.push(e);
|
|
60
|
+
for (let t of r.get(e) ?? []) s.has(t) || (s.add(t), a.push(t));
|
|
61
|
+
}
|
|
62
|
+
if (i.length === 0) continue;
|
|
63
|
+
let c = i.map((e) => n.get(e)).filter((e) => !!e).sort(l), u = d(c), [f] = c, p = {
|
|
64
|
+
key: `duplicate-group:${[...i].sort().join(":")}`,
|
|
65
|
+
headerLabel: t.groupHeader({
|
|
66
|
+
vendorLabel: ee(f),
|
|
67
|
+
invoiceNumberLabel: f?.document_id ?? ""
|
|
68
|
+
}),
|
|
69
|
+
memberCount: i.length,
|
|
70
|
+
originalPayableId: u
|
|
71
|
+
};
|
|
72
|
+
for (let e of i) o.set(e, p);
|
|
73
|
+
}
|
|
74
|
+
return o;
|
|
75
|
+
}
|
|
76
|
+
function T({ enabled: c = !0, canReadVendors: l = !0, isVendorFilterPaused: d = !1, filterLabels: fe, onOpenBill: T, duplicateRowNote: Ce, attachmentLabel: we, duplicateGroupLabels: E, canManageDuplicates: Te = !1, duplicateView: D = w.AllBills, scheduledRelativeDayLabels: Ee }) {
|
|
77
|
+
let De = re(), [O, Oe] = S(ie), [ke, Ae] = S(ye), [k, je] = S(_e), [Me, A] = S(), [Ne, j] = S(0), [M, N] = S(""), [P, Pe] = S(""), [F, I] = S(), [L, R] = S(), z = y(() => {
|
|
78
|
+
A(void 0), j(0);
|
|
79
|
+
}, []);
|
|
80
|
+
b(() => {
|
|
81
|
+
if (M === P) return;
|
|
82
|
+
let e = setTimeout(() => {
|
|
83
|
+
Pe(M), z();
|
|
84
|
+
}, 300);
|
|
85
|
+
return () => clearTimeout(e);
|
|
86
|
+
}, [
|
|
87
|
+
M,
|
|
88
|
+
P,
|
|
89
|
+
z
|
|
90
|
+
]), b(() => {
|
|
91
|
+
z();
|
|
92
|
+
}, [D, z]);
|
|
93
|
+
let B = de({
|
|
94
|
+
offersStatusFilter: O === v.All,
|
|
95
|
+
offersVendorFilter: l,
|
|
96
|
+
isVendorFilterPaused: d,
|
|
97
|
+
labels: fe,
|
|
98
|
+
onFiltersChange: z
|
|
99
|
+
}), { clearAll: Fe, filterByVendor: Ie } = B, Le = ke[0], V = ue(Le?.id), Re = V ? Le?.desc ? "desc" : "asc" : void 0, H = D === w.PossibleDuplicates, U = H ? v.All : O, ze = x(() => ({
|
|
100
|
+
...B.query,
|
|
101
|
+
limit: H ? C : k,
|
|
102
|
+
pagination_token: H ? void 0 : Me,
|
|
103
|
+
status__in: H ? void 0 : ce(U) ?? B.query.status__in,
|
|
104
|
+
has_scheduled_payment: H ? void 0 : oe(U),
|
|
105
|
+
duplicate_match_status: H ? "suspected" : void 0,
|
|
106
|
+
counterpart_name__icontains: P || void 0,
|
|
107
|
+
sort: V,
|
|
108
|
+
order: Re
|
|
109
|
+
}), [
|
|
110
|
+
B.query,
|
|
111
|
+
k,
|
|
112
|
+
Me,
|
|
113
|
+
H,
|
|
114
|
+
U,
|
|
115
|
+
P,
|
|
116
|
+
V,
|
|
117
|
+
Re
|
|
118
|
+
]), { organizationId: Be } = r(), W = JSON.stringify([Be, ze]), G = g({
|
|
119
|
+
...ze,
|
|
120
|
+
enabled: c && !H,
|
|
121
|
+
pollWhileOcrProcessing: !0
|
|
122
|
+
}), K = te({
|
|
123
|
+
...ze,
|
|
124
|
+
enabled: c && H,
|
|
125
|
+
maxPages: ve
|
|
126
|
+
}), q = H ? {
|
|
127
|
+
...K,
|
|
128
|
+
data: { data: K.payables },
|
|
129
|
+
isLoading: K.isResolving,
|
|
130
|
+
isFetching: K.isFetching || K.isResolving
|
|
131
|
+
} : G, J = (q.data?.data ?? []).filter((e) => e.ocr_status !== "processing"), Y = h(), X = y(async (t, n, r, i) => {
|
|
132
|
+
let a = u(t, n, i);
|
|
133
|
+
if (a.length) try {
|
|
134
|
+
await Y.mutateAsync({
|
|
135
|
+
verdict: n,
|
|
136
|
+
targets: a.map((e) => ({
|
|
137
|
+
payableId: t.id,
|
|
138
|
+
duplicateId: e.id,
|
|
139
|
+
matchedPayableId: e.matched_payable_id,
|
|
140
|
+
removeBy: p(t.status)
|
|
141
|
+
}))
|
|
142
|
+
}), e.success(r);
|
|
143
|
+
} catch {
|
|
144
|
+
e.error(E.actionFailedToast);
|
|
145
|
+
}
|
|
146
|
+
}, [Y, E.actionFailedToast]), Z = x(() => ({
|
|
147
|
+
delete: {
|
|
148
|
+
action: E.deleteAction,
|
|
149
|
+
title: E.deleteConfirmTitle,
|
|
150
|
+
description: E.deleteConfirmDescription,
|
|
151
|
+
confirmButton: E.deleteConfirmButton,
|
|
152
|
+
backButton: E.cancelConfirmBackButton,
|
|
153
|
+
toast: E.deletedToast
|
|
154
|
+
},
|
|
155
|
+
cancel: {
|
|
156
|
+
action: E.cancelAction,
|
|
157
|
+
title: E.cancelConfirmTitle,
|
|
158
|
+
description: E.cancelConfirmDescription,
|
|
159
|
+
confirmButton: E.cancelConfirmButton,
|
|
160
|
+
backButton: E.cancelConfirmBackButton,
|
|
161
|
+
toast: E.cancelledToast
|
|
162
|
+
},
|
|
163
|
+
confirm: {
|
|
164
|
+
action: E.confirmAction,
|
|
165
|
+
title: E.confirmDuplicateTitle,
|
|
166
|
+
description: E.confirmDuplicateDescription,
|
|
167
|
+
confirmButton: E.confirmDuplicateButton,
|
|
168
|
+
backButton: E.cancelConfirmBackButton,
|
|
169
|
+
toast: E.confirmedToast
|
|
170
|
+
}
|
|
171
|
+
}), [E]), Ve = F?.removeBy ?? "cancel", He = y(async () => {
|
|
172
|
+
F && (await X(F.payable, a.Remove, Z[F.removeBy].toast), I(void 0));
|
|
173
|
+
}, [
|
|
174
|
+
X,
|
|
175
|
+
F,
|
|
176
|
+
Z
|
|
177
|
+
]), Ue = y(async () => {
|
|
178
|
+
L && (await X(L.payable, a.Keep, E.dismissedToast, L.originalPayableId), R(void 0));
|
|
179
|
+
}, [
|
|
180
|
+
X,
|
|
181
|
+
E.dismissedToast,
|
|
182
|
+
L
|
|
183
|
+
]), [We, Ge] = S(W);
|
|
184
|
+
b(() => {
|
|
185
|
+
q.isFetching || Ge(W);
|
|
186
|
+
}, [q.isFetching, W]);
|
|
187
|
+
let Ke = q.data?.data.length, qe = Ke === 0, Je = ne({ enabled: c && qe }), Ye = !qe || (Je.data?.count ?? 1) > 0, Q = x(() => D === w.PossibleDuplicates ? be(J, E) : /* @__PURE__ */ new Map(), [
|
|
188
|
+
D,
|
|
189
|
+
J,
|
|
190
|
+
E
|
|
191
|
+
]), Xe = x(() => {
|
|
192
|
+
if (Q.size === 0) return J;
|
|
193
|
+
let e = /* @__PURE__ */ new Map();
|
|
194
|
+
return J.forEach((t, n) => {
|
|
195
|
+
let r = Q.get(t.id)?.key;
|
|
196
|
+
r !== void 0 && !e.has(r) && e.set(r, n);
|
|
197
|
+
}), J.map((t, n) => ({
|
|
198
|
+
payable: t,
|
|
199
|
+
order: e.get(Q.get(t.id)?.key ?? "") ?? n
|
|
200
|
+
})).sort((e, t) => e.order - t.order).map(({ payable: e }) => e);
|
|
201
|
+
}, [J, Q]), { vendorNames: Ze, lookup: Qe } = pe({
|
|
202
|
+
payables: q.data?.data,
|
|
203
|
+
enabled: c,
|
|
204
|
+
canReadVendors: l,
|
|
205
|
+
isPaused: d
|
|
206
|
+
}), $e = x(() => Xe.map((e) => {
|
|
207
|
+
let r = i({
|
|
208
|
+
apiStatus: e.status,
|
|
209
|
+
dueDate: e.due_date,
|
|
210
|
+
scheduledPaymentDate: e.scheduled_payment_date
|
|
211
|
+
}), a = e.amount_due ?? e.total_amount, c = e.status === "partially_paid" || e.status === "paid", l = (t) => t == null ? "" : n(t / 100, { currencyCode: e.currency ?? "USD" }), u = o(e.scheduled_payment_date, Ee, De), d = Q.get(e.id), m = s(e), h = ee(e) || (e.counterpart_id ? Ze.get(e.counterpart_id) ?? "" : ""), te = e.document_id ?? "", g = p(e.status), ne = d?.originalPayableId !== void 0 && d.originalPayableId === e.id, _ = H && m && Te && d ? {
|
|
212
|
+
triggerLabel: E.menuTrigger({
|
|
213
|
+
vendorLabel: h,
|
|
214
|
+
invoiceNumberLabel: te
|
|
215
|
+
}),
|
|
216
|
+
items: [{
|
|
217
|
+
id: "not-duplicate",
|
|
218
|
+
label: E.notDuplicateAction,
|
|
219
|
+
icon: he,
|
|
220
|
+
disabled: Y.isPending,
|
|
221
|
+
onSelect: () => R({
|
|
222
|
+
payable: e,
|
|
223
|
+
originalPayableId: ne ? void 0 : d.originalPayableId
|
|
224
|
+
})
|
|
225
|
+
}, ...g ? [{
|
|
226
|
+
id: "cancel-duplicate",
|
|
227
|
+
label: Z[g].action,
|
|
228
|
+
icon: g === "delete" ? ge : me,
|
|
229
|
+
disabled: Y.isPending,
|
|
230
|
+
onSelect: () => I({
|
|
231
|
+
payable: e,
|
|
232
|
+
removeBy: g
|
|
233
|
+
})
|
|
234
|
+
}] : []]
|
|
235
|
+
} : void 0;
|
|
236
|
+
return {
|
|
237
|
+
rowKey: e.id,
|
|
238
|
+
vendorLabel: h,
|
|
239
|
+
vendorLookup: h || !e.counterpart_id ? void 0 : Se(Qe),
|
|
240
|
+
invoiceNumberLabel: te,
|
|
241
|
+
issueDateLabel: t(e.issued_at),
|
|
242
|
+
dueDateLabel: t(e.due_date),
|
|
243
|
+
dueDateTone: r.isOverdue ? "danger" : "default",
|
|
244
|
+
scheduledDateLabel: u.label,
|
|
245
|
+
scheduledDateExact: u.absoluteLabel,
|
|
246
|
+
scheduledDateIsGap: U === v.Scheduled,
|
|
247
|
+
paidDateLabel: t(e.paid_at?.slice(0, 10)),
|
|
248
|
+
amountDueLabel: l(a),
|
|
249
|
+
amountPaidLabel: c ? l(e.amount_paid) : "",
|
|
250
|
+
amountPaidIsGap: U === v.Paid,
|
|
251
|
+
amountScheduledLabel: l(e.amount_to_pay ?? a),
|
|
252
|
+
totalAmountLabel: l(e.total_amount),
|
|
253
|
+
attachment: e.file_id ? { label: we } : void 0,
|
|
254
|
+
status: r.status,
|
|
255
|
+
statusTone: r.tone,
|
|
256
|
+
addedOnLabel: t(e.created_at?.slice(0, 10)),
|
|
257
|
+
...d ? {
|
|
258
|
+
group: {
|
|
259
|
+
key: d.key,
|
|
260
|
+
headerLabel: d.headerLabel,
|
|
261
|
+
memberCount: d.memberCount
|
|
262
|
+
},
|
|
263
|
+
groupedRowLabel: h,
|
|
264
|
+
groupedRowLabelTone: void 0,
|
|
265
|
+
groupedRowBadge: ne ? E.originalBill : void 0
|
|
266
|
+
} : {},
|
|
267
|
+
..._ ? { menu: _ } : {},
|
|
268
|
+
...!H && !d && m ? {
|
|
269
|
+
rowTone: "warning",
|
|
270
|
+
rowNote: Ce
|
|
271
|
+
} : {},
|
|
272
|
+
onOpen: () => T(e.id, f(e.status))
|
|
273
|
+
};
|
|
274
|
+
}), [
|
|
275
|
+
Xe,
|
|
276
|
+
Q,
|
|
277
|
+
E,
|
|
278
|
+
Z,
|
|
279
|
+
Y.isPending,
|
|
280
|
+
Te,
|
|
281
|
+
H,
|
|
282
|
+
Ce,
|
|
283
|
+
we,
|
|
284
|
+
Ee,
|
|
285
|
+
De,
|
|
286
|
+
T,
|
|
287
|
+
U,
|
|
288
|
+
Ze,
|
|
289
|
+
Qe
|
|
290
|
+
]), et = x(() => H ? xe($e, C) : [], [$e, H]), $ = Math.min(Ne, Math.max(0, et.length - 1)), tt = H ? et[$] ?? [] : $e, nt = y((e) => {
|
|
291
|
+
let t = e;
|
|
292
|
+
Oe(t), Ae((e) => {
|
|
293
|
+
let n = e[0]?.id;
|
|
294
|
+
return n ? ae(t).some((e) => le(e) === n) ? e : ye : e;
|
|
295
|
+
}), z();
|
|
296
|
+
}, [z]), rt = y((e) => {
|
|
297
|
+
nt(v.All), N(""), Ie(e);
|
|
298
|
+
}, [Ie, nt]), it = y(() => {
|
|
299
|
+
N(""), Pe(""), Fe(), z();
|
|
300
|
+
}, [Fe, z]), at = y((e) => {
|
|
301
|
+
Ae((t) => typeof e == "function" ? e(t) : e), z();
|
|
302
|
+
}, [z]), ot = y((e) => {
|
|
303
|
+
je(e), z();
|
|
304
|
+
}, [z]), st = y(() => {
|
|
305
|
+
if (H) {
|
|
306
|
+
j($ + 1);
|
|
307
|
+
return;
|
|
308
|
+
}
|
|
309
|
+
A(G.data?.next_pagination_token ?? void 0);
|
|
310
|
+
}, [
|
|
311
|
+
$,
|
|
312
|
+
H,
|
|
313
|
+
G.data?.next_pagination_token
|
|
314
|
+
]), ct = y(() => {
|
|
315
|
+
if (H) {
|
|
316
|
+
j(Math.max(0, $ - 1));
|
|
317
|
+
return;
|
|
318
|
+
}
|
|
319
|
+
A(G.data?.prev_pagination_token ?? void 0);
|
|
320
|
+
}, [
|
|
321
|
+
$,
|
|
322
|
+
H,
|
|
323
|
+
G.data?.prev_pagination_token
|
|
324
|
+
]), lt = y(() => {
|
|
325
|
+
q.refetch();
|
|
326
|
+
}, [q.refetch]);
|
|
327
|
+
return {
|
|
328
|
+
rows: tt,
|
|
329
|
+
isLoading: q.isLoading || W !== We || qe && Je.isLoading || (Ke ?? 0) > 0 && tt.length === 0,
|
|
330
|
+
isError: q.isError,
|
|
331
|
+
onRetry: lt,
|
|
332
|
+
selectedFilterTabId: O,
|
|
333
|
+
onFilterTabChange: nt,
|
|
334
|
+
showVendorBills: rt,
|
|
335
|
+
clearQueryConstraints: it,
|
|
336
|
+
searchValue: M,
|
|
337
|
+
onSearchChange: N,
|
|
338
|
+
hasAnyBills: Ye,
|
|
339
|
+
isSearchActive: P.length > 0 || B.isFilterActive || H,
|
|
340
|
+
filterBarProps: B.filterBarProps,
|
|
341
|
+
visibleColumns: H ? [
|
|
342
|
+
m.Vendor,
|
|
343
|
+
m.AmountDue,
|
|
344
|
+
m.DueDate,
|
|
345
|
+
m.AddedOn,
|
|
346
|
+
m.Status
|
|
347
|
+
] : ae(O),
|
|
348
|
+
showAddPanelWhenEmpty: !H && se(O),
|
|
349
|
+
sorting: ke,
|
|
350
|
+
onSortingChange: at,
|
|
351
|
+
pageSize: H ? C : k,
|
|
352
|
+
pageSizeOptions: H ? [C] : void 0,
|
|
353
|
+
onPageSizeChange: ot,
|
|
354
|
+
hasNextPage: H ? $ < et.length - 1 : !!G.data?.next_pagination_token,
|
|
355
|
+
hasPrevPage: H ? $ > 0 : !!G.data?.prev_pagination_token,
|
|
356
|
+
onNextPage: st,
|
|
357
|
+
onPrevPage: ct,
|
|
358
|
+
cancelConfirmation: {
|
|
359
|
+
open: !!F,
|
|
360
|
+
copy: _(Z[Ve], Ve),
|
|
361
|
+
onConfirm: () => void He(),
|
|
362
|
+
onCancel: () => I(void 0),
|
|
363
|
+
isPending: Y.isPending,
|
|
364
|
+
cancelButtonLabel: Z[Ve].backButton
|
|
365
|
+
},
|
|
366
|
+
keepConfirmation: {
|
|
367
|
+
open: !!L,
|
|
368
|
+
copy: {
|
|
369
|
+
title: E.notDuplicateConfirmTitle,
|
|
370
|
+
description: E.notDuplicateConfirmDescription,
|
|
371
|
+
confirmButton: E.notDuplicateConfirmButton,
|
|
372
|
+
presentation: {
|
|
373
|
+
alignment: "center",
|
|
374
|
+
icon: he,
|
|
375
|
+
actionWidth: "equal"
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
onConfirm: () => void Ue(),
|
|
379
|
+
onCancel: () => R(void 0),
|
|
380
|
+
isPending: Y.isPending,
|
|
381
|
+
cancelButtonLabel: E.notDuplicateConfirmBackButton
|
|
382
|
+
}
|
|
383
|
+
};
|
|
384
|
+
}
|
|
385
|
+
function xe(e, t) {
|
|
386
|
+
let n = [], r = [];
|
|
387
|
+
return e.forEach((i, a) => {
|
|
388
|
+
let o = i.group !== void 0 && i.group.key === e[a - 1]?.group?.key;
|
|
389
|
+
r.length >= t && !o && (n.push(r), r = []), r.push(i);
|
|
390
|
+
}), r.length && n.push(r), n;
|
|
391
|
+
}
|
|
392
|
+
function Se(e) {
|
|
393
|
+
return e === fe.Settled ? void 0 : e;
|
|
394
|
+
}
|
|
395
|
+
//#endregion
|
|
396
|
+
export { w as BillDuplicateView, T as useBillsTable };
|