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