@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
|
@@ -2,44 +2,44 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
5
|
+
import { TESOURO_NEW_EMBEDDED_BANK_ACCOUNT_CREATED_SUCCESS_EVENT as e, TESOURO_NEW_EXTERNAL_BANK_ACCOUNT_LINKED_SUCCESS_EVENT as t } from "../../../shared/util/dist/lib/widgetDomEvents.js";
|
|
6
|
+
import { Scope as n } from "../../../shared/data-access/dist/lib/scopes.js";
|
|
6
7
|
import "../../../shared/data-access/dist/index.js";
|
|
7
|
-
import { useAnalyticsTrack as
|
|
8
|
-
import { TESOURO_NEW_EMBEDDED_BANK_ACCOUNT_CREATED_SUCCESS_EVENT as n, TESOURO_NEW_EXTERNAL_BANK_ACCOUNT_LINKED_SUCCESS_EVENT as r } from "../../../shared/util/dist/lib/widgetDomEvents.js";
|
|
8
|
+
import { useAnalyticsTrack as r } from "../../../shared/feature/dist/lib/analytics/hooks.js";
|
|
9
9
|
import { useWidgetConfig as i } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
10
10
|
import "../../../shared/feature/dist/index.js";
|
|
11
11
|
import { DEFAULT_FEATURE_LABELS as a } from "./index3.js";
|
|
12
|
-
import { TRANSFERS_ANALYTICS_EVENTS as
|
|
13
|
-
import { isPaginatedAccountsQueryInFlight as
|
|
14
|
-
import { useTransferBankAccountsQuery as
|
|
15
|
-
import { useTransferExternalAccountsQuery as
|
|
16
|
-
import { useMergedRecentBankAccountTransfersQuery as
|
|
12
|
+
import { TRANSFERS_ANALYTICS_EVENTS as ee } from "./index2.js";
|
|
13
|
+
import { isPaginatedAccountsQueryInFlight as o } from "../../data-access/dist/index2.js";
|
|
14
|
+
import { useTransferBankAccountsQuery as s } from "../../data-access/dist/index4.js";
|
|
15
|
+
import { useTransferExternalAccountsQuery as c } from "../../data-access/dist/index5.js";
|
|
16
|
+
import { useMergedRecentBankAccountTransfersQuery as l } from "../../data-access/dist/index6.js";
|
|
17
17
|
import "../../data-access/dist/index.js";
|
|
18
|
-
import { mapTransferToRowView as
|
|
19
|
-
import { transfersWidgetTestIds as
|
|
20
|
-
import { TRANSFERS_WIDGET_LABELS_EN as
|
|
21
|
-
import { TransfersWidget as
|
|
18
|
+
import { mapTransferToRowView as u, useTransferMoneyModalController as d } from "./index4.js";
|
|
19
|
+
import { transfersWidgetTestIds as f } from "./index5.js";
|
|
20
|
+
import { TRANSFERS_WIDGET_LABELS_EN as p } from "../../ui/dist/lib/TransfersWidget/labels.js";
|
|
21
|
+
import { TransfersWidget as m } from "../../ui/dist/lib/TransfersWidget/TransfersWidget.js";
|
|
22
22
|
import "../../ui/dist/index.js";
|
|
23
|
-
import { useCallback as
|
|
24
|
-
import { jsx as
|
|
23
|
+
import { useCallback as h, useEffect as g, useMemo as _ } from "react";
|
|
24
|
+
import { jsx as v } from "react/jsx-runtime";
|
|
25
25
|
//#region ../../libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index6.js
|
|
26
|
-
var y = [
|
|
26
|
+
var y = [n.TransferWriteOrg, n.BankAccountReadOrg], b = [t, e];
|
|
27
27
|
function x(e) {
|
|
28
28
|
return e.slice(-4);
|
|
29
29
|
}
|
|
30
|
-
function S({ labels:
|
|
30
|
+
function S({ labels: e, featureLabels: t, isTransferMoneyOpen: S, defaultIsTransferMoneyOpen: C, onTransferMoneyOpenChange: w }) {
|
|
31
31
|
let T = {
|
|
32
32
|
...a,
|
|
33
|
-
...
|
|
33
|
+
...t
|
|
34
34
|
}, E = {
|
|
35
|
-
...
|
|
36
|
-
...
|
|
37
|
-
...
|
|
38
|
-
}, D =
|
|
39
|
-
|
|
40
|
-
D(
|
|
35
|
+
...p,
|
|
36
|
+
...e,
|
|
37
|
+
...t?.routeSeparator === void 0 ? {} : { listAccountsSeparator: t.routeSeparator }
|
|
38
|
+
}, D = r(), { initResponse: O } = i();
|
|
39
|
+
g(() => {
|
|
40
|
+
D(ee.Mounted);
|
|
41
41
|
}, [D]);
|
|
42
|
-
let k = O?.scopes ?? [], A = k.includes(
|
|
42
|
+
let k = O?.scopes ?? [], A = k.includes(n.ExternalBankAccountReadOrg), te = k.includes(n.PaymentRailAch), j = A && te, M = y.every((e) => k.includes(e)), { mergedTransfers: N, isLoading: P, isError: F, refetch: I } = l(), L = s(), { data: R, isError: z, refetch: B } = L, V = c({ enabled: A }), { data: H, isError: U, refetch: W } = V, G = R?.data ?? [], K = _(() => j ? (H?.data ?? []).filter((e) => e.verificationStatus === "VERIFIED" && e.accountStatus === "ACTIVE") : [], [j, H?.data]), q = _(() => {
|
|
43
43
|
let e = /* @__PURE__ */ new Map();
|
|
44
44
|
for (let t of G) {
|
|
45
45
|
let n = x(t.accountNumber), r = t.nickname?.trim() || E.accountFallbackName;
|
|
@@ -54,12 +54,12 @@ function S({ labels: n, featureLabels: r, isTransferMoneyOpen: S, defaultIsTrans
|
|
|
54
54
|
G,
|
|
55
55
|
E.accountFallbackName,
|
|
56
56
|
K
|
|
57
|
-
]), J =
|
|
57
|
+
]), J = _(() => N.map((e) => u(e, q, E, T)), [
|
|
58
58
|
q,
|
|
59
59
|
T,
|
|
60
60
|
E,
|
|
61
61
|
N
|
|
62
|
-
]), Y =
|
|
62
|
+
]), Y = h(() => {
|
|
63
63
|
I(), B(), A && W();
|
|
64
64
|
}, [
|
|
65
65
|
A,
|
|
@@ -67,7 +67,7 @@ function S({ labels: n, featureLabels: r, isTransferMoneyOpen: S, defaultIsTrans
|
|
|
67
67
|
W,
|
|
68
68
|
I
|
|
69
69
|
]);
|
|
70
|
-
|
|
70
|
+
g(() => {
|
|
71
71
|
let e = () => {
|
|
72
72
|
Y();
|
|
73
73
|
};
|
|
@@ -76,7 +76,7 @@ function S({ labels: n, featureLabels: r, isTransferMoneyOpen: S, defaultIsTrans
|
|
|
76
76
|
for (let t of b) window.removeEventListener(t, e);
|
|
77
77
|
};
|
|
78
78
|
}, [Y]);
|
|
79
|
-
let { modalProps: X, openModal: Z } =
|
|
79
|
+
let { modalProps: X, openModal: Z } = d({
|
|
80
80
|
labels: E,
|
|
81
81
|
featureLabels: T,
|
|
82
82
|
embeddedBankAccounts: G,
|
|
@@ -85,8 +85,8 @@ function S({ labels: n, featureLabels: r, isTransferMoneyOpen: S, defaultIsTrans
|
|
|
85
85
|
isTransferMoneyOpen: S,
|
|
86
86
|
defaultIsTransferMoneyOpen: C,
|
|
87
87
|
onTransferMoneyOpenChange: w
|
|
88
|
-
}), ne =
|
|
89
|
-
return /* @__PURE__ */
|
|
88
|
+
}), ne = o(L), re = A && o(V), ie = P || ne || re, Q = F || z || A && U, ae = G.length + K.length, $ = !(G.length > 0) || ae <= 1;
|
|
89
|
+
return /* @__PURE__ */ v(m, {
|
|
90
90
|
transferRows: J,
|
|
91
91
|
isLoading: ie,
|
|
92
92
|
isError: Q,
|
|
@@ -97,27 +97,27 @@ function S({ labels: n, featureLabels: r, isTransferMoneyOpen: S, defaultIsTrans
|
|
|
97
97
|
transferMoneyModal: {
|
|
98
98
|
...X,
|
|
99
99
|
testIds: {
|
|
100
|
-
root:
|
|
101
|
-
closeButton:
|
|
102
|
-
fromAccountTrigger:
|
|
103
|
-
toAccountTrigger:
|
|
104
|
-
accountsConfirm:
|
|
105
|
-
amountInput:
|
|
100
|
+
root: f.modal,
|
|
101
|
+
closeButton: f.modalCloseButton,
|
|
102
|
+
fromAccountTrigger: f.modalFromAccountTrigger,
|
|
103
|
+
toAccountTrigger: f.modalToAccountTrigger,
|
|
104
|
+
accountsConfirm: f.modalAccountsConfirmButton,
|
|
105
|
+
amountInput: f.modalAmountInput,
|
|
106
106
|
reviewStep: {
|
|
107
|
-
confirm:
|
|
108
|
-
goBack:
|
|
107
|
+
confirm: f.modalConfirmTransferButton,
|
|
108
|
+
goBack: f.modalGoBackButton
|
|
109
109
|
},
|
|
110
|
-
resultStep: { backToTransfers:
|
|
110
|
+
resultStep: { backToTransfers: f.modalBackToTransfersButton }
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
|
-
labels:
|
|
113
|
+
labels: e,
|
|
114
114
|
testIds: {
|
|
115
|
-
transferMoneyButton:
|
|
116
|
-
skeleton:
|
|
117
|
-
error:
|
|
118
|
-
retry:
|
|
119
|
-
empty:
|
|
120
|
-
transferRow:
|
|
115
|
+
transferMoneyButton: f.transferMoneyButton,
|
|
116
|
+
skeleton: f.skeleton,
|
|
117
|
+
error: f.error,
|
|
118
|
+
retry: f.retry,
|
|
119
|
+
empty: f.empty,
|
|
120
|
+
transferRow: f.transferRow
|
|
121
121
|
}
|
|
122
122
|
});
|
|
123
123
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { WIDGET_SUITE_SHELL_LABELS_EN as e } from "../../ui/dist/index2.js";
|
|
2
2
|
import "../../ui/dist/index.js";
|
|
3
|
+
import { mergeLabelTree as t } from "../../../shared/util/dist/lib/mergeLabelTree.js";
|
|
3
4
|
//#region ../../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index4.js
|
|
4
|
-
var
|
|
5
|
+
var n = {
|
|
5
6
|
shell: e,
|
|
6
7
|
menu: {
|
|
7
8
|
dashboard: "Dashboard",
|
|
@@ -39,17 +40,8 @@ var t = {
|
|
|
39
40
|
}
|
|
40
41
|
}
|
|
41
42
|
};
|
|
42
|
-
function
|
|
43
|
-
return
|
|
44
|
-
}
|
|
45
|
-
function r(e, t) {
|
|
46
|
-
if (!n(e) || !n(t)) return t === void 0 ? e : t;
|
|
47
|
-
let i = { ...e };
|
|
48
|
-
for (let [a, o] of Object.entries(t)) o !== void 0 && (i[a] = n(e[a]) ? r(e[a], o) : o);
|
|
49
|
-
return i;
|
|
50
|
-
}
|
|
51
|
-
function i(e) {
|
|
52
|
-
return r(t, e);
|
|
43
|
+
function r(e) {
|
|
44
|
+
return t(n, e);
|
|
53
45
|
}
|
|
54
46
|
//#endregion
|
|
55
|
-
export {
|
|
47
|
+
export { n as WIDGET_SUITE_LABELS_EN, r as resolveWidgetSuiteLabels };
|
|
@@ -7,7 +7,7 @@ import "../../../shared/data-access/dist/index.js";
|
|
|
7
7
|
import { Implementation as t } from "../../../shared/feature/dist/lib/WidgetProvider/types.js";
|
|
8
8
|
import { useWidgetConfig as n } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
9
9
|
import "../../../shared/feature/dist/index.js";
|
|
10
|
-
import { BillPayWidget as r } from "../../../bill-pay-widget/feature/dist/
|
|
10
|
+
import { BillPayWidget as r } from "../../../bill-pay-widget/feature/dist/index80.js";
|
|
11
11
|
import "../../../bill-pay-widget/feature/dist/index.js";
|
|
12
12
|
import { jsx as i } from "react/jsx-runtime";
|
|
13
13
|
//#region ../../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js
|
package/package.json
CHANGED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { endOfDay as e, endOfMonth as t, endOfQuarter as n, endOfWeek as r, endOfYear as i, startOfDay as a, startOfMonth as o, startOfQuarter as s, startOfWeek as c, startOfYear as l, subDays as u, subMonths as d, subQuarters as f, subWeeks as p, subYears as m } from "date-fns";
|
|
2
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js
|
|
3
|
-
var h = {
|
|
4
|
-
Today: "today",
|
|
5
|
-
ThisWeek: "this_week",
|
|
6
|
-
ThisMonth: "this_month",
|
|
7
|
-
ThisQuarter: "this_quarter",
|
|
8
|
-
ThisYear: "this_year",
|
|
9
|
-
Yesterday: "yesterday",
|
|
10
|
-
LastWeek: "last_week",
|
|
11
|
-
LastMonth: "last_month",
|
|
12
|
-
Last30Days: "last_30_days",
|
|
13
|
-
Last90Days: "last_90_days",
|
|
14
|
-
LastQuarter: "last_quarter",
|
|
15
|
-
LastYear: "last_year"
|
|
16
|
-
};
|
|
17
|
-
function g(g, _ = /* @__PURE__ */ new Date()) {
|
|
18
|
-
let v = a(_);
|
|
19
|
-
switch (g) {
|
|
20
|
-
case h.Today: return {
|
|
21
|
-
from: v,
|
|
22
|
-
to: e(v)
|
|
23
|
-
};
|
|
24
|
-
case h.ThisWeek: return {
|
|
25
|
-
from: c(v),
|
|
26
|
-
to: r(v)
|
|
27
|
-
};
|
|
28
|
-
case h.ThisMonth: return {
|
|
29
|
-
from: o(v),
|
|
30
|
-
to: t(v)
|
|
31
|
-
};
|
|
32
|
-
case h.ThisQuarter: return {
|
|
33
|
-
from: s(v),
|
|
34
|
-
to: n(v)
|
|
35
|
-
};
|
|
36
|
-
case h.ThisYear: return {
|
|
37
|
-
from: l(v),
|
|
38
|
-
to: i(v)
|
|
39
|
-
};
|
|
40
|
-
case h.Yesterday: {
|
|
41
|
-
let t = u(v, 1);
|
|
42
|
-
return {
|
|
43
|
-
from: t,
|
|
44
|
-
to: e(t)
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
case h.LastWeek: {
|
|
48
|
-
let e = c(p(v, 1));
|
|
49
|
-
return {
|
|
50
|
-
from: e,
|
|
51
|
-
to: r(e)
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
case h.LastMonth: {
|
|
55
|
-
let e = o(d(v, 1));
|
|
56
|
-
return {
|
|
57
|
-
from: e,
|
|
58
|
-
to: t(e)
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
case h.Last30Days: return {
|
|
62
|
-
from: u(v, 29),
|
|
63
|
-
to: e(v)
|
|
64
|
-
};
|
|
65
|
-
case h.Last90Days: return {
|
|
66
|
-
from: u(v, 89),
|
|
67
|
-
to: e(v)
|
|
68
|
-
};
|
|
69
|
-
case h.LastQuarter: {
|
|
70
|
-
let e = s(f(v, 1));
|
|
71
|
-
return {
|
|
72
|
-
from: e,
|
|
73
|
-
to: n(e)
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
case h.LastYear: {
|
|
77
|
-
let e = l(m(v, 1));
|
|
78
|
-
return {
|
|
79
|
-
from: e,
|
|
80
|
-
to: i(e)
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
//#endregion
|
|
86
|
-
export { h as BillsDatePreset, g as resolveDatePreset };
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { BillStatusFilter as e } from "./index80.js";
|
|
2
|
-
import { BillsDatePreset as t } from "./index81.js";
|
|
3
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js
|
|
4
|
-
var n = {
|
|
5
|
-
presets: {
|
|
6
|
-
[t.Today]: "Today",
|
|
7
|
-
[t.ThisWeek]: "This week",
|
|
8
|
-
[t.ThisMonth]: "This month",
|
|
9
|
-
[t.ThisQuarter]: "This quarter",
|
|
10
|
-
[t.ThisYear]: "This year",
|
|
11
|
-
[t.Yesterday]: "Yesterday",
|
|
12
|
-
[t.LastWeek]: "Last week",
|
|
13
|
-
[t.LastMonth]: "Last month",
|
|
14
|
-
[t.Last30Days]: "Last 30 days",
|
|
15
|
-
[t.Last90Days]: "Last 90 days",
|
|
16
|
-
[t.LastQuarter]: "Last quarter",
|
|
17
|
-
[t.LastYear]: "Last year"
|
|
18
|
-
},
|
|
19
|
-
presetGroupCurrent: "Current",
|
|
20
|
-
presetGroupPast: "Past",
|
|
21
|
-
statuses: {
|
|
22
|
-
[e.Draft]: "Draft",
|
|
23
|
-
[e.ReadyToSubmit]: "Ready to submit",
|
|
24
|
-
[e.PendingApproval]: "Pending review",
|
|
25
|
-
[e.ReadyToPay]: "Ready to pay",
|
|
26
|
-
[e.Paid]: "Paid",
|
|
27
|
-
[e.Canceled]: "Cancelled",
|
|
28
|
-
[e.Rejected]: "Rejected"
|
|
29
|
-
},
|
|
30
|
-
dateFieldNames: {
|
|
31
|
-
issueDate: "Issue date",
|
|
32
|
-
dueDate: "Due date",
|
|
33
|
-
addedOn: "Added on"
|
|
34
|
-
},
|
|
35
|
-
dateChip: (e, t) => `${e}: ${t}`,
|
|
36
|
-
statusChip: (e) => `Status: ${e}`,
|
|
37
|
-
vendorChip: (e) => `Vendor: ${e}`,
|
|
38
|
-
amountChip: (e) => `Total amount: ${e}`,
|
|
39
|
-
attachmentChipHas: "Has attachment",
|
|
40
|
-
attachmentChipNone: "No attachment",
|
|
41
|
-
moreSelected: (e, t) => `${e} + ${t} more`,
|
|
42
|
-
amountAtLeast: (e) => `${e} or more`,
|
|
43
|
-
amountAtMost: (e) => `${e} or less`,
|
|
44
|
-
amountBetween: (e, t) => `${e} - ${t}`,
|
|
45
|
-
dateRange: (e, t) => `${e} - ${t}`,
|
|
46
|
-
dateFrom: (e) => `From ${e}`,
|
|
47
|
-
dateTo: (e) => `Until ${e}`
|
|
48
|
-
};
|
|
49
|
-
//#endregion
|
|
50
|
-
export { n as BILLS_FILTER_LABELS_EN };
|
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { formatMoneyExact as e } from "../../../shared/util/dist/lib/formatMoneyExact.js";
|
|
6
|
-
import { useCounterpartsQuery as t } from "../../../shared/counterpart-management/data-access/dist/index3.js";
|
|
7
|
-
import "../../data-access/dist/index.js";
|
|
8
|
-
import { BillsFilterField as n } from "../../ui/dist/index80.js";
|
|
9
|
-
import "../../ui/dist/index.js";
|
|
10
|
-
import { getCounterpartName as r } from "../../../shared/counterpart-management/feature/dist/lib/helpers.js";
|
|
11
|
-
import "../../../shared/counterpart-management/feature/dist/index.js";
|
|
12
|
-
import { BILL_STATUS_FILTER_ORDER as i, billStatusFilterApiValues as a } from "./index80.js";
|
|
13
|
-
import { BillsDatePreset as o, resolveDatePreset as s } from "./index81.js";
|
|
14
|
-
import { BILLS_FILTER_LABELS_EN as c } from "./index82.js";
|
|
15
|
-
import { useCallback as l, useEffect as u, useMemo as d, useState as f } from "react";
|
|
16
|
-
import { format as p, formatISO as m } from "date-fns";
|
|
17
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js
|
|
18
|
-
var h = {
|
|
19
|
-
Date: "date",
|
|
20
|
-
Status: "status",
|
|
21
|
-
Amount: "amount",
|
|
22
|
-
Vendor: "vendor",
|
|
23
|
-
Attachment: "attachment"
|
|
24
|
-
}, g = 50, _ = 300, v = "MMM d, yyyy", y = 864e5, b = {
|
|
25
|
-
[n.IssueDate]: "issued_at",
|
|
26
|
-
[n.DueDate]: "due_date",
|
|
27
|
-
[n.AddedOn]: "created_at"
|
|
28
|
-
}, x = {
|
|
29
|
-
[o.Today]: "current",
|
|
30
|
-
[o.ThisWeek]: "current",
|
|
31
|
-
[o.ThisMonth]: "current",
|
|
32
|
-
[o.ThisQuarter]: "current",
|
|
33
|
-
[o.ThisYear]: "current",
|
|
34
|
-
[o.Yesterday]: "past",
|
|
35
|
-
[o.LastWeek]: "past",
|
|
36
|
-
[o.LastMonth]: "past",
|
|
37
|
-
[o.Last30Days]: "past",
|
|
38
|
-
[o.Last90Days]: "past",
|
|
39
|
-
[o.LastQuarter]: "past",
|
|
40
|
-
[o.LastYear]: "past"
|
|
41
|
-
};
|
|
42
|
-
function S() {
|
|
43
|
-
return {
|
|
44
|
-
dateField: n.DueDate,
|
|
45
|
-
statuses: [],
|
|
46
|
-
amountMode: "any",
|
|
47
|
-
amountMin: "",
|
|
48
|
-
amountMax: "",
|
|
49
|
-
vendorIds: []
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
function C(e) {
|
|
53
|
-
let t = Number.parseFloat(e);
|
|
54
|
-
return Number.isFinite(t) ? Math.round(t * 100) : void 0;
|
|
55
|
-
}
|
|
56
|
-
function w({ offersStatusFilter: o = !1, offersVendorFilter: w = !0, isVendorFilterPaused: T = !1, onFiltersChange: E, labels: D } = {}) {
|
|
57
|
-
let O = d(() => ({
|
|
58
|
-
...c,
|
|
59
|
-
...D,
|
|
60
|
-
presets: {
|
|
61
|
-
...c.presets,
|
|
62
|
-
...D?.presets
|
|
63
|
-
},
|
|
64
|
-
statuses: {
|
|
65
|
-
...c.statuses,
|
|
66
|
-
...D?.statuses
|
|
67
|
-
},
|
|
68
|
-
dateFieldNames: {
|
|
69
|
-
...c.dateFieldNames,
|
|
70
|
-
...D?.dateFieldNames
|
|
71
|
-
}
|
|
72
|
-
}), [D]), [k, A] = f(S), [j, M] = f({}), [N, P] = f(""), [F, I] = f(""), L = l((e) => {
|
|
73
|
-
A((t) => ({
|
|
74
|
-
...t,
|
|
75
|
-
...e
|
|
76
|
-
})), E?.();
|
|
77
|
-
}, [E]);
|
|
78
|
-
u(() => {
|
|
79
|
-
w || A((e) => e.vendorIds.length === 0 ? e : (E?.(), {
|
|
80
|
-
...e,
|
|
81
|
-
vendorIds: []
|
|
82
|
-
}));
|
|
83
|
-
}, [w, E]), u(() => {
|
|
84
|
-
o || A((e) => e.statuses.length === 0 ? e : (E?.(), {
|
|
85
|
-
...e,
|
|
86
|
-
statuses: []
|
|
87
|
-
}));
|
|
88
|
-
}, [o, E]), u(() => {
|
|
89
|
-
let e = setTimeout(() => I(N.trim()), _);
|
|
90
|
-
return () => clearTimeout(e);
|
|
91
|
-
}, [N]);
|
|
92
|
-
let R = t({
|
|
93
|
-
enabled: w && !T,
|
|
94
|
-
is_vendor: !0,
|
|
95
|
-
sort: "counterpart_name",
|
|
96
|
-
order: "asc",
|
|
97
|
-
limit: g,
|
|
98
|
-
counterpart_name__icontains: F || void 0
|
|
99
|
-
}), z = d(() => (R.data?.data ?? []).map((e) => ({
|
|
100
|
-
value: e.id,
|
|
101
|
-
label: r(e)
|
|
102
|
-
})), [R.data?.data]), B = d(() => i.map((e) => ({
|
|
103
|
-
value: e,
|
|
104
|
-
label: O.statuses[e]
|
|
105
|
-
})), [O.statuses]), V = d(() => Object.entries(x).map(([e, t]) => ({
|
|
106
|
-
value: e,
|
|
107
|
-
label: O.presets[e],
|
|
108
|
-
group: t === "current" ? O.presetGroupCurrent : O.presetGroupPast
|
|
109
|
-
})), [
|
|
110
|
-
O.presetGroupCurrent,
|
|
111
|
-
O.presetGroupPast,
|
|
112
|
-
O.presets
|
|
113
|
-
]), H = d(() => {
|
|
114
|
-
let e = {}, t = b[k.dateField], n = (e) => Date.UTC(e.getFullYear(), e.getMonth(), e.getDate());
|
|
115
|
-
if (k.dateFrom && (e[`${t}__gte`] = t === "created_at" ? new Date(n(k.dateFrom)).toISOString() : m(k.dateFrom, { representation: "date" })), k.dateTo && (t === "created_at" ? e.created_at__lt = new Date(n(k.dateTo) + y).toISOString() : e[`${t}__lte`] = m(k.dateTo, { representation: "date" })), k.statuses.length > 0 && (e.status__in = a(k.statuses)), k.amountMode !== "any") {
|
|
116
|
-
let t = "total_amount__gte", n = "total_amount__lte", r = C(k.amountMin), i = C(k.amountMax);
|
|
117
|
-
k.amountMode === "exact" ? r !== void 0 && (e[t] = r, e[n] = r) : (r !== void 0 && (e[t] = r), i !== void 0 && (e[n] = i));
|
|
118
|
-
}
|
|
119
|
-
return k.vendorIds.length > 0 && (e.counterpart_id__in = [...k.vendorIds]), k.hasFile !== void 0 && (e.has_file = k.hasFile), e;
|
|
120
|
-
}, [k]), U = d(() => {
|
|
121
|
-
let t = [], n = (e) => p(e, v), r = (e) => {
|
|
122
|
-
let [t, ...n] = e;
|
|
123
|
-
return t ? n.length === 0 ? t : O.moreSelected(t, n.length) : "";
|
|
124
|
-
};
|
|
125
|
-
if (k.dateFrom || k.dateTo) {
|
|
126
|
-
let e = (k.datePreset ? O.presets[k.datePreset] : void 0) ?? (k.dateFrom && k.dateTo ? O.dateRange(n(k.dateFrom), n(k.dateTo)) : k.dateFrom ? O.dateFrom(n(k.dateFrom)) : O.dateTo(n(k.dateTo)));
|
|
127
|
-
t.push({
|
|
128
|
-
key: h.Date,
|
|
129
|
-
label: O.dateChip(O.dateFieldNames[k.dateField], e)
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
if (k.statuses.length > 0 && t.push({
|
|
133
|
-
key: h.Status,
|
|
134
|
-
label: O.statusChip(r(k.statuses.map((e) => O.statuses[e] ?? e)))
|
|
135
|
-
}), k.vendorIds.length > 0 && t.push({
|
|
136
|
-
key: h.Vendor,
|
|
137
|
-
label: O.vendorChip(r(k.vendorIds.map((e) => j[e] ?? e)))
|
|
138
|
-
}), k.amountMode !== "any") {
|
|
139
|
-
let n = (t) => {
|
|
140
|
-
let n = Number.parseFloat(t);
|
|
141
|
-
return Number.isFinite(n) ? e(n, { currencyCode: "USD" }) : "";
|
|
142
|
-
}, r = n(k.amountMin), i = n(k.amountMax), a = k.amountMode === "exact" ? r : r && i ? O.amountBetween(r, i) : r ? O.amountAtLeast(r) : i ? O.amountAtMost(i) : "";
|
|
143
|
-
a && t.push({
|
|
144
|
-
key: h.Amount,
|
|
145
|
-
label: O.amountChip(a)
|
|
146
|
-
});
|
|
147
|
-
}
|
|
148
|
-
return k.hasFile !== void 0 && t.push({
|
|
149
|
-
key: h.Attachment,
|
|
150
|
-
label: k.hasFile ? O.attachmentChipHas : O.attachmentChipNone
|
|
151
|
-
}), t;
|
|
152
|
-
}, [
|
|
153
|
-
O,
|
|
154
|
-
k,
|
|
155
|
-
j
|
|
156
|
-
]), W = l((e) => {
|
|
157
|
-
switch (e) {
|
|
158
|
-
case h.Date:
|
|
159
|
-
L({
|
|
160
|
-
datePreset: void 0,
|
|
161
|
-
dateFrom: void 0,
|
|
162
|
-
dateTo: void 0
|
|
163
|
-
});
|
|
164
|
-
break;
|
|
165
|
-
case h.Status:
|
|
166
|
-
L({ statuses: [] });
|
|
167
|
-
break;
|
|
168
|
-
case h.Vendor:
|
|
169
|
-
L({ vendorIds: [] });
|
|
170
|
-
break;
|
|
171
|
-
case h.Amount:
|
|
172
|
-
L({
|
|
173
|
-
amountMode: "any",
|
|
174
|
-
amountMin: "",
|
|
175
|
-
amountMax: ""
|
|
176
|
-
});
|
|
177
|
-
break;
|
|
178
|
-
case h.Attachment: L({ hasFile: void 0 });
|
|
179
|
-
}
|
|
180
|
-
}, [L]), G = l(() => {
|
|
181
|
-
A(S()), E?.();
|
|
182
|
-
}, [E]), K = l((e) => {
|
|
183
|
-
M((t) => ({
|
|
184
|
-
...t,
|
|
185
|
-
[e.id]: e.name
|
|
186
|
-
})), A({
|
|
187
|
-
...S(),
|
|
188
|
-
vendorIds: [e.id]
|
|
189
|
-
}), E?.();
|
|
190
|
-
}, [E]), q = l((e) => {
|
|
191
|
-
M((t) => {
|
|
192
|
-
let n = { ...t };
|
|
193
|
-
for (let t of z) e.includes(t.value) && (n[t.value] = t.label);
|
|
194
|
-
return n;
|
|
195
|
-
}), L({ vendorIds: e });
|
|
196
|
-
}, [L, z]);
|
|
197
|
-
return {
|
|
198
|
-
filterBarProps: {
|
|
199
|
-
fields: [...d(() => [
|
|
200
|
-
...w ? [n.Vendor] : [],
|
|
201
|
-
n.IssueDate,
|
|
202
|
-
n.DueDate,
|
|
203
|
-
...o ? [n.Status] : [],
|
|
204
|
-
n.TotalAmount,
|
|
205
|
-
n.AddedOn,
|
|
206
|
-
n.Attachment
|
|
207
|
-
], [o, w])],
|
|
208
|
-
activeFilterCount: U.length,
|
|
209
|
-
chips: U,
|
|
210
|
-
onRemoveChip: W,
|
|
211
|
-
onClearAll: G,
|
|
212
|
-
dateField: k.dateField,
|
|
213
|
-
onDateFieldChange: (e) => {
|
|
214
|
-
let t = !!(k.dateFrom || k.dateTo);
|
|
215
|
-
A((t) => ({
|
|
216
|
-
...t,
|
|
217
|
-
dateField: e
|
|
218
|
-
})), t && E?.();
|
|
219
|
-
},
|
|
220
|
-
datePresets: V,
|
|
221
|
-
selectedDatePreset: k.datePreset,
|
|
222
|
-
dateFrom: k.dateFrom,
|
|
223
|
-
dateTo: k.dateTo,
|
|
224
|
-
onDateRangeChange: ({ from: e, to: t }) => L({
|
|
225
|
-
datePreset: void 0,
|
|
226
|
-
dateFrom: e,
|
|
227
|
-
dateTo: t
|
|
228
|
-
}),
|
|
229
|
-
onDatePresetChange: (e) => {
|
|
230
|
-
let t = /* @__PURE__ */ new Date(), r = k.dateField === n.AddedOn ? new Date(t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate()) : t, { from: i, to: a } = s(e, r);
|
|
231
|
-
L({
|
|
232
|
-
datePreset: e,
|
|
233
|
-
dateFrom: i,
|
|
234
|
-
dateTo: a
|
|
235
|
-
});
|
|
236
|
-
},
|
|
237
|
-
statusOptions: B,
|
|
238
|
-
selectedStatuses: k.statuses,
|
|
239
|
-
onStatusChange: (e) => L({ statuses: e }),
|
|
240
|
-
amountMode: k.amountMode,
|
|
241
|
-
onAmountModeChange: (e) => L({ amountMode: e }),
|
|
242
|
-
amountMin: k.amountMin,
|
|
243
|
-
amountMax: k.amountMax,
|
|
244
|
-
onAmountMinChange: (e) => L({ amountMin: e }),
|
|
245
|
-
onAmountMaxChange: (e) => L({ amountMax: e }),
|
|
246
|
-
vendorOptions: z,
|
|
247
|
-
selectedVendors: k.vendorIds,
|
|
248
|
-
onVendorChange: q,
|
|
249
|
-
vendorSearchValue: N,
|
|
250
|
-
onVendorSearchChange: P,
|
|
251
|
-
isVendorLoading: R.isLoading || T,
|
|
252
|
-
isVendorError: R.isError,
|
|
253
|
-
hasAttachment: k.hasFile,
|
|
254
|
-
onHasAttachmentChange: (e) => L({ hasFile: e })
|
|
255
|
-
},
|
|
256
|
-
query: H,
|
|
257
|
-
isFilterActive: U.length > 0,
|
|
258
|
-
clearAll: G,
|
|
259
|
-
filterByVendor: K
|
|
260
|
-
};
|
|
261
|
-
}
|
|
262
|
-
//#endregion
|
|
263
|
-
export { h as BillsFilterChipKey, w as useBillsFilters };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { useCounterpartsByIdsQuery as e } from "../../../shared/counterpart-management/data-access/dist/index3.js";
|
|
6
|
-
import { resolveVendorName as t } from "./index12.js";
|
|
7
|
-
import { getCounterpartName as n } from "../../../shared/counterpart-management/feature/dist/lib/helpers.js";
|
|
8
|
-
import "../../../shared/counterpart-management/feature/dist/index.js";
|
|
9
|
-
import { useMemo as r } from "react";
|
|
10
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js
|
|
11
|
-
var i = {
|
|
12
|
-
Resolving: "resolving",
|
|
13
|
-
Unavailable: "unavailable",
|
|
14
|
-
Settled: "settled"
|
|
15
|
-
}, a = /* @__PURE__ */ new Map();
|
|
16
|
-
function o({ payables: i, enabled: o, canReadVendors: c = !0, isPaused: l = !1 } = {}) {
|
|
17
|
-
let u = r(() => (i ?? []).filter((e) => !t(e)).map((e) => e.counterpart_id).filter((e) => !!e), [i]), d = e({
|
|
18
|
-
counterpartIds: u,
|
|
19
|
-
enabled: o !== !1 && c && !l
|
|
20
|
-
}), f = !c && !l;
|
|
21
|
-
return {
|
|
22
|
-
vendorNames: r(() => f ? a : new Map((d.data?.data ?? []).map((e) => [e.id, n(e)]).filter((e) => !!e[1])), [d.data?.data, f]),
|
|
23
|
-
lookup: s({
|
|
24
|
-
hasUnresolvedIds: u.length > 0,
|
|
25
|
-
isScopeWithdrawn: f,
|
|
26
|
-
isFetching: d.isFetching,
|
|
27
|
-
isError: d.isError
|
|
28
|
-
})
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
function s({ hasUnresolvedIds: e, isScopeWithdrawn: t, isFetching: n, isError: r }) {
|
|
32
|
-
return e ? t ? i.Unavailable : n ? i.Resolving : r ? i.Unavailable : i.Settled : i.Settled;
|
|
33
|
-
}
|
|
34
|
-
//#endregion
|
|
35
|
-
export { i as BillVendorLookup, o as useBillVendorNames };
|