@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,7 +1,7 @@
|
|
|
1
1
|
import { AuditHistoryList as e } from "../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import {
|
|
2
|
+
import { buildReceivableAuditHistory as t } from "../../shared/util/dist/lib/auditHistory/buildReceivableAuditHistory.js";
|
|
3
|
+
import { Scope as n } from "../../shared/data-access/dist/lib/scopes.js";
|
|
3
4
|
import "../../shared/data-access/dist/index.js";
|
|
4
|
-
import { buildReceivableAuditHistory as n } from "../../shared/util/dist/lib/auditHistory/buildReceivableAuditHistory.js";
|
|
5
5
|
import { useMoniteContext as r } from "./index46.js";
|
|
6
6
|
import { useCurrencies as i } from "./index64.js";
|
|
7
7
|
import { useEntityUserNames as a } from "./index137.js";
|
|
@@ -19,7 +19,7 @@ import { jsx as g, jsxs as _ } from "@emotion/react/jsx-runtime";
|
|
|
19
19
|
import { useLingui as v } from "@lingui/react";
|
|
20
20
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js
|
|
21
21
|
var y = ({ invoice: y, isOpen: b = !1 }) => {
|
|
22
|
-
let { i18n: x } = v(), { locale: S } = r(), { formatCurrencyToDisplay: C } = i(), w = u({ receivable_id: y.id }), T = h(() => w.data?.data ?? [], [w.data]), E = h(() => [...new Set(T.filter((e) => e.recorded_by === "user").map((e) => e.entity_user_id).filter((e) => !!e))], [T]), D = c().has(
|
|
22
|
+
let { i18n: x } = v(), { locale: S } = r(), { formatCurrencyToDisplay: C } = i(), w = u({ receivable_id: y.id }), T = h(() => w.data?.data ?? [], [w.data]), E = h(() => [...new Set(T.filter((e) => e.recorded_by === "user").map((e) => e.entity_user_id).filter((e) => !!e))], [T]), D = c().has(n.UserReadOrg), { userNames: O, isError: k } = a({
|
|
23
23
|
entityUserIds: E,
|
|
24
24
|
enabled: b && D
|
|
25
25
|
}), A = h(() => l({
|
|
@@ -30,7 +30,7 @@ var y = ({ invoice: y, isOpen: b = !1 }) => {
|
|
|
30
30
|
x,
|
|
31
31
|
S,
|
|
32
32
|
C
|
|
33
|
-
]), j = h(() =>
|
|
33
|
+
]), j = h(() => t(T, O, A, {
|
|
34
34
|
documentType: "invoice",
|
|
35
35
|
currency: y.currency,
|
|
36
36
|
documentNumber: y.document_id,
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
5
|
import { toast as e } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import { amountOutputToMajorUnits as t, minorExponentForCurrency as n } from "../../../../../shared/util/dist/lib/amountOutputToMajorUnits.js";
|
|
7
|
+
import { formatCalendarDate as r } from "../../../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
8
|
+
import { formatMoneyExact as i } from "../../../../../shared/util/dist/lib/formatMoneyExact.js";
|
|
9
|
+
import { parseDecimalAmountToMinorUnits as a } from "../../../../../shared/util/dist/lib/parseDecimalAmountToMinorUnits.js";
|
|
6
10
|
import "../../../../../shared/ui/dist/index.js";
|
|
7
|
-
import { useAnalyticsTrack as
|
|
8
|
-
import { amountOutputToMajorUnits as n, minorExponentForCurrency as r } from "../../../../../shared/util/dist/lib/amountOutputToMajorUnits.js";
|
|
9
|
-
import { formatCalendarDate as i } from "../../../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
10
|
-
import { formatMoneyExact as a } from "../../../../../shared/util/dist/lib/formatMoneyExact.js";
|
|
11
|
-
import { parseDecimalAmountToMinorUnits as o } from "../../../../../shared/util/dist/lib/parseDecimalAmountToMinorUnits.js";
|
|
11
|
+
import { useAnalyticsTrack as o } from "../../../../../shared/feature/dist/lib/analytics/hooks.js";
|
|
12
12
|
import { useWidgetConfig as s } from "../../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
13
13
|
import "../../../../../shared/feature/dist/index.js";
|
|
14
14
|
import { RemoteCheckCaptureWidgetAnalyticsEvent as c } from "../analytics/events.js";
|
|
@@ -70,15 +70,15 @@ function ce(e, t, n) {
|
|
|
70
70
|
function le(e) {
|
|
71
71
|
return "organization" in e ? e.organization.legal_name : `${e.individual.first_name} ${e.individual.last_name}`.trim();
|
|
72
72
|
}
|
|
73
|
-
function ue(e,
|
|
74
|
-
let o =
|
|
73
|
+
function ue(e, a) {
|
|
74
|
+
let o = n(e.currency), s = i(t({
|
|
75
75
|
value: e.amount_due ?? e.total_amount ?? 0,
|
|
76
76
|
currencyCode: e.currency
|
|
77
77
|
}), {
|
|
78
78
|
currencyCode: e.currency,
|
|
79
79
|
minimumFractionDigits: o,
|
|
80
80
|
maximumFractionDigits: o
|
|
81
|
-
}), c = e.due_date ? ` · ${
|
|
81
|
+
}), c = e.due_date ? ` · ${a} ${r(e.due_date)}` : "";
|
|
82
82
|
return `${e.document_id ?? e.id}${c} · ${s}`;
|
|
83
83
|
}
|
|
84
84
|
function v(e, t) {
|
|
@@ -87,20 +87,20 @@ function v(e, t) {
|
|
|
87
87
|
return n === -1 ? null : n;
|
|
88
88
|
}
|
|
89
89
|
function de(e, t) {
|
|
90
|
-
let
|
|
91
|
-
if (
|
|
92
|
-
let a =
|
|
93
|
-
return a === 0 ? e.slice(0,
|
|
90
|
+
let r = e.indexOf("."), i = e.lastIndexOf(".");
|
|
91
|
+
if (r === -1 || r !== i) return e;
|
|
92
|
+
let a = n(t);
|
|
93
|
+
return a === 0 ? e.slice(0, r) : e.slice(0, r + 1 + a);
|
|
94
94
|
}
|
|
95
|
-
function fe(e,
|
|
96
|
-
let
|
|
97
|
-
if (
|
|
98
|
-
let s = r
|
|
99
|
-
return
|
|
100
|
-
value:
|
|
101
|
-
currencyCode:
|
|
95
|
+
function fe(e, r) {
|
|
96
|
+
let o = a(e, r);
|
|
97
|
+
if (o === null) return `${r} ${e}`;
|
|
98
|
+
let s = n(r);
|
|
99
|
+
return i(t({
|
|
100
|
+
value: o,
|
|
101
|
+
currencyCode: r
|
|
102
102
|
}), {
|
|
103
|
-
currencyCode:
|
|
103
|
+
currencyCode: r,
|
|
104
104
|
minimumFractionDigits: s,
|
|
105
105
|
maximumFractionDigits: s
|
|
106
106
|
});
|
|
@@ -112,24 +112,24 @@ function pe(e) {
|
|
|
112
112
|
currencyDisplay: "narrowSymbol"
|
|
113
113
|
}).formatToParts(0).find((e) => e.type === "currency")?.value ?? e;
|
|
114
114
|
}
|
|
115
|
-
function me({ labels:
|
|
116
|
-
let
|
|
115
|
+
function me({ labels: t, onDepositComplete: n } = {}) {
|
|
116
|
+
let r = t?.details, i = {
|
|
117
117
|
...te,
|
|
118
|
-
...
|
|
119
|
-
}, h =
|
|
118
|
+
...r
|
|
119
|
+
}, h = o(), { initResponse: _ } = s(), me = ee(_?.scopes);
|
|
120
120
|
f(() => {
|
|
121
121
|
h(c.Mounted);
|
|
122
122
|
}, [h]);
|
|
123
123
|
let [y, he] = p(!1), [b, x] = p(m.Details), [S, C] = p(u.Front), [w, T] = p(""), [E, D] = p(""), [O, k] = p(null), [A, j] = p(null), [M, N] = p(null), [P, F] = p(""), [I, L] = p(null), R = ae({ enabled: y }), z = (R.data?.data ?? []).filter((e) => e.status === "ACTIVE"), B = ie({ enabled: y }), V = B.customers, H = O === null ? null : V.find((e) => e.id === O) ?? null, ge = v(V, O), _e = oe({
|
|
124
124
|
counterpartId: H?.id,
|
|
125
125
|
enabled: y && !!H
|
|
126
|
-
}), U = _e.invoices, W = re(), ve = H ? U.map((e) => ue(e,
|
|
126
|
+
}), U = _e.invoices, W = re(), ve = H ? U.map((e) => ue(e, i.invoiceDueDatePrefix)) : [], G = H && A !== null ? U.find((e) => e.id === A) ?? null : null, ye = v(U, A), K = H !== null, q = G ? ce(G, z, i.defaultAccountName) : null, J = K ? null : z.find((e) => e.id === M) ?? null, Y = G?.currency ?? J?.currencyCode ?? "USD";
|
|
127
127
|
f(() => {
|
|
128
128
|
F((e) => de(e, Y));
|
|
129
129
|
}, [Y]);
|
|
130
|
-
let be = K ? q ? [q.label] : [] : z.map((e) => g(e,
|
|
130
|
+
let be = K ? q ? [q.label] : [] : z.map((e) => g(e, i.defaultAccountName)), xe = K ? q ? 0 : null : v(z, M), X = K ? q : J ? {
|
|
131
131
|
id: J.id,
|
|
132
|
-
label: g(J,
|
|
132
|
+
label: g(J, i.defaultAccountName)
|
|
133
133
|
} : null, Z = () => {
|
|
134
134
|
x(m.Details), C(u.Front), T(""), D(""), k(null), j(null), N(null), F(""), L(null), W.reset();
|
|
135
135
|
}, Q = (e) => {
|
|
@@ -137,12 +137,12 @@ function me({ labels: n, onDepositComplete: r } = {}) {
|
|
|
137
137
|
}, Se = () => {
|
|
138
138
|
h(c.CollectPaymentClicked), Z(), he(!0);
|
|
139
139
|
}, Ce = () => {
|
|
140
|
-
let t =
|
|
140
|
+
let t = a(P, Y);
|
|
141
141
|
if (!X || t === null) {
|
|
142
|
-
e.error(X ?
|
|
142
|
+
e.error(X ? i.invalidAmountErrorToast : i.noDepositAccountErrorToast);
|
|
143
143
|
return;
|
|
144
144
|
}
|
|
145
|
-
let
|
|
145
|
+
let r = fe(P, Y), o = X.label;
|
|
146
146
|
W.mutate({
|
|
147
147
|
path: { id: X.id },
|
|
148
148
|
body: {
|
|
@@ -154,23 +154,23 @@ function me({ labels: n, onDepositComplete: r } = {}) {
|
|
|
154
154
|
onSuccess: () => {
|
|
155
155
|
L({
|
|
156
156
|
isSuccess: !0,
|
|
157
|
-
formattedAmount:
|
|
158
|
-
depositAccountLabel:
|
|
159
|
-
}), x(m.Complete),
|
|
157
|
+
formattedAmount: r,
|
|
158
|
+
depositAccountLabel: o
|
|
159
|
+
}), x(m.Complete), n?.();
|
|
160
160
|
},
|
|
161
161
|
onError: (e) => {
|
|
162
162
|
console.error("[remote-check-capture] check deposit failed", e), L({
|
|
163
163
|
isSuccess: !1,
|
|
164
|
-
formattedAmount:
|
|
165
|
-
depositAccountLabel:
|
|
164
|
+
formattedAmount: r,
|
|
165
|
+
depositAccountLabel: o
|
|
166
166
|
}), x(m.Complete);
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
|
-
}, we = b === m.Review ?
|
|
169
|
+
}, we = b === m.Review ? t?.review?.title ?? d.title : b === m.Complete ? I?.isSuccess === !1 ? t?.complete?.errorTitle ?? ne.errorTitle : t?.complete?.title ?? ne.title : i.title, $ = !!(w && E), Te = {
|
|
170
170
|
labels: {
|
|
171
|
-
...
|
|
172
|
-
currencyPrefix:
|
|
173
|
-
...$ ? { continueButton:
|
|
171
|
+
...r,
|
|
172
|
+
currencyPrefix: r?.currencyPrefix ?? pe(Y),
|
|
173
|
+
...$ ? { continueButton: i.continueToReviewButton } : {}
|
|
174
174
|
},
|
|
175
175
|
testIds: l.detailsScreen,
|
|
176
176
|
customerOptions: V.map(le),
|
|
@@ -201,7 +201,7 @@ function me({ labels: n, onDepositComplete: r } = {}) {
|
|
|
201
201
|
onAmountChange: (e) => {
|
|
202
202
|
F(de(e, Y));
|
|
203
203
|
},
|
|
204
|
-
limitsHint:
|
|
204
|
+
limitsHint: i.amountLimitsHint.replaceAll("{currencySymbol}", pe(Y)),
|
|
205
205
|
onBack: () => Q(!1),
|
|
206
206
|
onContinue: () => {
|
|
207
207
|
if ($) {
|
|
@@ -210,24 +210,24 @@ function me({ labels: n, onDepositComplete: r } = {}) {
|
|
|
210
210
|
}
|
|
211
211
|
C(u.Front), x(m.Capture);
|
|
212
212
|
},
|
|
213
|
-
continueDisabled:
|
|
213
|
+
continueDisabled: a(P, Y) === null || X === null || (H === null ? M === null : ye === null)
|
|
214
214
|
}, Ee = b === m.Capture ? {
|
|
215
|
-
labels:
|
|
215
|
+
labels: t?.capture,
|
|
216
216
|
testIds: l.captureScreen,
|
|
217
217
|
side: S,
|
|
218
218
|
onCapture: (e) => {
|
|
219
219
|
S === u.Front ? (T(e), E ? x(m.Review) : C(u.Back)) : (D(e), w ? x(m.Review) : C(u.Front));
|
|
220
220
|
}
|
|
221
221
|
} : null, De = b === m.Review ? {
|
|
222
|
-
labels:
|
|
222
|
+
labels: t?.review,
|
|
223
223
|
testIds: l.reviewScreen,
|
|
224
224
|
frontImage: w,
|
|
225
225
|
backImage: E,
|
|
226
226
|
amount: fe(P, Y),
|
|
227
227
|
depositTo: X?.label ?? "",
|
|
228
228
|
customer: H ? le(H) : "",
|
|
229
|
-
invoice: G ? ue(G,
|
|
230
|
-
availableDate: se(
|
|
229
|
+
invoice: G ? ue(G, i.invoiceDueDatePrefix) : void 0,
|
|
230
|
+
availableDate: se(t?.review?.availabilityEstimateSuffix ?? d.availabilityEstimateSuffix),
|
|
231
231
|
onBack: () => x(m.Details),
|
|
232
232
|
onRetakeFront: () => {
|
|
233
233
|
C(u.Front), x(m.Capture);
|
|
@@ -238,7 +238,7 @@ function me({ labels: n, onDepositComplete: r } = {}) {
|
|
|
238
238
|
onCompleteDeposit: Ce,
|
|
239
239
|
isSubmitting: W.isPending
|
|
240
240
|
} : null, Oe = b === m.Complete && I ? {
|
|
241
|
-
labels:
|
|
241
|
+
labels: t?.complete,
|
|
242
242
|
testIds: l.completeScreen,
|
|
243
243
|
isSuccess: I.isSuccess,
|
|
244
244
|
amount: I.formattedAmount,
|
|
@@ -255,7 +255,7 @@ function me({ labels: n, onDepositComplete: r } = {}) {
|
|
|
255
255
|
open: y,
|
|
256
256
|
onOpenChange: Q,
|
|
257
257
|
onCollectPaymentClick: Se,
|
|
258
|
-
collectPaymentButtonLabel:
|
|
258
|
+
collectPaymentButtonLabel: i.collectPaymentButton,
|
|
259
259
|
canCollectDeposit: me,
|
|
260
260
|
step: b,
|
|
261
261
|
modalTitle: we,
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
5
|
import { toast as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
-
import "../../../../shared/ui/dist/index.js";
|
|
7
6
|
import { extractApiErrorMessage as t } from "../../../../shared/util/dist/lib/apiErrors.js";
|
|
7
|
+
import "../../../../shared/ui/dist/index.js";
|
|
8
8
|
import { CHART_OF_ACCOUNTS_MESSAGE_LABELS_EN as n } from "./index5.js";
|
|
9
9
|
import { ACCOUNT_DELETE_DIALOG_LABELS_EN as r, ACCOUNT_FORM_SHEET_LABELS_EN as i } from "../../ui/dist/index2.js";
|
|
10
10
|
import "../../ui/dist/index.js";
|
package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/feature/dist/index4.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { formatPhoneDisplay as e } from "../../../../shared/util/dist/lib/formatPhoneDisplay.js";
|
|
6
|
+
import { useAnalyticsTrack as t } from "../../../../shared/feature/dist/lib/analytics/hooks.js";
|
|
7
|
+
import { WidgetProvider as n } from "../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
|
|
8
8
|
import { useWidgetConfig as r } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
9
9
|
import "../../../../shared/feature/dist/index.js";
|
|
10
10
|
import { DEFAULT_FEATURE_LABELS as i } from "./index3.js";
|
|
@@ -38,11 +38,11 @@ function g(e) {
|
|
|
38
38
|
function _(e) {
|
|
39
39
|
return e ? e.type === "organization" ? e.organization.legal_name : [e.individual.first_name, e.individual.last_name].filter((e) => !!e?.trim()).join(" ") : "";
|
|
40
40
|
}
|
|
41
|
-
function v({ labels:
|
|
41
|
+
function v({ labels: n, featureLabels: o, contactUrl: v }) {
|
|
42
42
|
let y = {
|
|
43
43
|
...i,
|
|
44
44
|
...o
|
|
45
|
-
}, b =
|
|
45
|
+
}, b = t();
|
|
46
46
|
u(() => {
|
|
47
47
|
b(a.Mounted);
|
|
48
48
|
}, [b]);
|
|
@@ -55,7 +55,7 @@ function v({ labels: t, featureLabels: o, contactUrl: v }) {
|
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
label: y.phoneLabel,
|
|
58
|
-
value:
|
|
58
|
+
value: e(A?.phone, P)
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
label: y.emailLabel,
|
|
@@ -72,7 +72,7 @@ function v({ labels: t, featureLabels: o, contactUrl: v }) {
|
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
label: y.companyPhoneLabel,
|
|
75
|
-
value:
|
|
75
|
+
value: e(j?.phone, P)
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
label: y.companyEmailLabel,
|
|
@@ -80,7 +80,7 @@ function v({ labels: t, featureLabels: o, contactUrl: v }) {
|
|
|
80
80
|
}
|
|
81
81
|
];
|
|
82
82
|
return /* @__PURE__ */ f(c, {
|
|
83
|
-
labels:
|
|
83
|
+
labels: n,
|
|
84
84
|
tabs: [{
|
|
85
85
|
id: p.Personal,
|
|
86
86
|
label: y.personalTab
|
|
@@ -100,11 +100,11 @@ function v({ labels: t, featureLabels: o, contactUrl: v }) {
|
|
|
100
100
|
isError: k
|
|
101
101
|
});
|
|
102
102
|
}
|
|
103
|
-
function y({ baseUrl: e, widgetToken:
|
|
104
|
-
return /* @__PURE__ */ f(
|
|
103
|
+
function y({ baseUrl: e, widgetToken: t, organizationId: r, configClient: i, gatewayRouting: a, linkComponent: s, implementation: c, uiFramework: l, errorFallback: u, onError: d, analytics: p, disclosuresAcceptance: m, providerLabels: h, ...g }) {
|
|
104
|
+
return /* @__PURE__ */ f(n, {
|
|
105
105
|
widgetName: o,
|
|
106
106
|
baseUrl: e,
|
|
107
|
-
widgetToken:
|
|
107
|
+
widgetToken: t,
|
|
108
108
|
organizationId: r,
|
|
109
109
|
configClient: i,
|
|
110
110
|
gatewayRouting: a,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../util/dist/lib/apiErrors.js";
|
|
2
|
-
import { useCounterpartsByIdsQuery as e, useCounterpartsQuery as t } from "../../data-access/dist/index3.js";
|
|
3
|
-
import { useCreateCounterpartBankAccountMutation as n, useUpdateCounterpartBankAccountMutation as r } from "../../data-access/dist/index5.js";
|
|
4
|
-
import { useCounterpartAddressesForRowsQuery as i, useCounterpartAddressesQuery as a } from "../../data-access/dist/index7.js";
|
|
5
|
-
import "../../data-access/dist/index.js";
|
|
6
2
|
import "../../ui/dist/index5.js";
|
|
7
|
-
import { CounterpartFormFields as
|
|
8
|
-
import { BankAccountFormSheet as
|
|
9
|
-
import { ConfirmDeleteDialog as
|
|
3
|
+
import { CounterpartFormFields as e, CounterpartFormSheet as t, useFocusFirstInvalidField as n } from "../../ui/dist/index9.js";
|
|
4
|
+
import { BankAccountFormSheet as r } from "../../ui/dist/index11.js";
|
|
5
|
+
import { ConfirmDeleteDialog as i } from "../../ui/dist/index14.js";
|
|
10
6
|
import "../../ui/dist/index.js";
|
|
11
|
-
import { COUNTERPART_MESSAGE_LABELS_EN as
|
|
12
|
-
import { buildAnalyticsMap as
|
|
7
|
+
import { COUNTERPART_MESSAGE_LABELS_EN as a } from "./lib/labels.js";
|
|
8
|
+
import { buildAnalyticsMap as o, buildCounterpartRows as s, counterpartFormBankAccountToCreatePayload as c, counterpartFormBankAccountToUpdatePayload as l, formatCounterpartDate as u, formatMoney as d, getAchInstructions as f, getCounterpartEmail as p, getCounterpartName as m, getPayableAchInstructions as h, hasSelectedText as g, isAchCompatibleBankAccount as _, resolveCounterpartBankAccountWrite as v, validateAchFormValues as y } from "./lib/helpers.js";
|
|
9
|
+
import { useCounterpartsByIdsQuery as b, useCounterpartsQuery as x } from "../../data-access/dist/index3.js";
|
|
10
|
+
import { useCreateCounterpartBankAccountMutation as S, useUpdateCounterpartBankAccountMutation as C } from "../../data-access/dist/index5.js";
|
|
11
|
+
import { useCounterpartAddressesForRowsQuery as w, useCounterpartAddressesQuery as T } from "../../data-access/dist/index7.js";
|
|
12
|
+
import "../../data-access/dist/index.js";
|
|
13
13
|
import { useAddressForm as E } from "./lib/useAddressForm.js";
|
|
14
14
|
import { useCounterpartDetails as D } from "./lib/useCounterpartDetails.js";
|
|
15
15
|
import { usePayableAchInstructions as O } from "./lib/usePayableAchInstructions.js";
|
|
@@ -19,4 +19,4 @@ import { CounterpartSelector as A } from "./lib/CounterpartSelector.js";
|
|
|
19
19
|
import { useDeleteController as j } from "./lib/useDeleteController.js";
|
|
20
20
|
import "./lib/useSubEntityForm.js";
|
|
21
21
|
import { useBankAccountForm as M } from "./lib/subEntityForms.js";
|
|
22
|
-
export {
|
|
22
|
+
export { r as BankAccountFormSheet, a as COUNTERPART_MESSAGE_LABELS_EN, i as ConfirmDeleteDialog, e as CounterpartFormFields, t as CounterpartFormSheet, A as CounterpartSelector, o as buildAnalyticsMap, s as buildCounterpartRows, c as counterpartFormBankAccountToCreatePayload, l as counterpartFormBankAccountToUpdatePayload, u as formatCounterpartDate, d as formatMoney, f as getAchInstructions, p as getCounterpartEmail, m as getCounterpartName, h as getPayableAchInstructions, g as hasSelectedText, _ as isAchCompatibleBankAccount, v as resolveCounterpartBankAccountWrite, E as useAddressForm, M as useBankAccountForm, w as useCounterpartAddressesForRowsQuery, T as useCounterpartAddressesQuery, D as useCounterpartDetails, k as useCounterpartForm, b as useCounterpartsByIdsQuery, x as useCounterpartsQuery, S as useCreateCounterpartBankAccountMutation, j as useDeleteController, n as useFocusFirstInvalidField, O as usePayableAchInstructions, C as useUpdateCounterpartBankAccountMutation, y as validateAchFormValues };
|
|
@@ -2,38 +2,38 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
5
|
+
import { bankAccountFormToCreatePayload as e, bankAccountFormToUpdatePayload as t, bankAccountToFormValues as n, emptyBankAccountFormValues as r, getCurrencyOptions as i, hasBankAccountFormErrors as a, validateBankAccountForm as o } from "./helpers.js";
|
|
6
|
+
import { useCreateCounterpartBankAccountMutation as s, useMakeCounterpartBankAccountDefaultMutation as c, useUpdateCounterpartBankAccountMutation as l } from "../../../data-access/dist/index5.js";
|
|
6
7
|
import "../../../data-access/dist/index.js";
|
|
7
|
-
import { bankAccountFormToCreatePayload as r, bankAccountFormToUpdatePayload as i, bankAccountToFormValues as a, emptyBankAccountFormValues as o, getCurrencyOptions as s, hasBankAccountFormErrors as c, validateBankAccountForm as l } from "./helpers.js";
|
|
8
8
|
import { useSubEntityForm as u } from "./useSubEntityForm.js";
|
|
9
9
|
import { useMemo as d } from "react";
|
|
10
10
|
//#region ../../libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/subEntityForms.js
|
|
11
11
|
function f({ items: f, selectedId: p, messages: m }) {
|
|
12
|
-
let h =
|
|
12
|
+
let h = s(), g = l(), _ = c(), v = u({
|
|
13
13
|
items: f,
|
|
14
|
-
empty:
|
|
15
|
-
toFormValues:
|
|
16
|
-
validate: (e) =>
|
|
17
|
-
hasErrors:
|
|
14
|
+
empty: r,
|
|
15
|
+
toFormValues: n,
|
|
16
|
+
validate: (e) => o(e, m),
|
|
17
|
+
hasErrors: a,
|
|
18
18
|
genericError: m.genericError,
|
|
19
|
-
onSubmit: async ({ mode:
|
|
19
|
+
onSubmit: async ({ mode: n, id: r, values: i, existing: a }) => {
|
|
20
20
|
if (!p) return;
|
|
21
|
-
let o =
|
|
22
|
-
|
|
21
|
+
let o = r;
|
|
22
|
+
n === "edit" && r ? await g.mutateAsync({
|
|
23
23
|
path: {
|
|
24
24
|
counterpart_id: p,
|
|
25
|
-
bank_account_id:
|
|
25
|
+
bank_account_id: r
|
|
26
26
|
},
|
|
27
|
-
body: i
|
|
27
|
+
body: t(i)
|
|
28
28
|
}) : o = (await h.mutateAsync({
|
|
29
29
|
path: { counterpart_id: p },
|
|
30
|
-
body:
|
|
31
|
-
}))?.id,
|
|
30
|
+
body: e(i)
|
|
31
|
+
}))?.id, i.isDefault && !a?.is_default_for_currency && o && await _.mutateAsync({ path: {
|
|
32
32
|
counterpart_id: p,
|
|
33
33
|
bank_account_id: o
|
|
34
34
|
} });
|
|
35
35
|
}
|
|
36
|
-
}), y = d(() =>
|
|
36
|
+
}), y = d(() => i(v.values.currency), [v.values.currency]);
|
|
37
37
|
return {
|
|
38
38
|
form: v,
|
|
39
39
|
inProgress: h.isPending || g.isPending || _.isPending,
|
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
5
|
import { extractApiErrorMessage as e } from "../../../../util/dist/lib/apiErrors.js";
|
|
6
|
-
import {
|
|
6
|
+
import { addressFormToCreatePayload as t, addressFormToUpdatePayload as n, addressResponseToFormValues as r, validateAddressForm as i } from "./helpers.js";
|
|
7
|
+
import { useCreateCounterpartAddressMutation as a, useUpdateCounterpartAddressMutation as o } from "../../../data-access/dist/index7.js";
|
|
7
8
|
import "../../../data-access/dist/index.js";
|
|
8
|
-
import { addressFormToCreatePayload as r, addressFormToUpdatePayload as i, addressResponseToFormValues as a, validateAddressForm as o } from "./helpers.js";
|
|
9
9
|
import { useCallback as s, useState as c } from "react";
|
|
10
10
|
//#region ../../libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useAddressForm.js
|
|
11
11
|
function l({ selectedId: l, primaryAddress: u, messages: d }) {
|
|
12
|
-
let f =
|
|
12
|
+
let f = a(), p = o(), [m, h] = c(!1), [g, _] = c(() => ({
|
|
13
13
|
line1: "",
|
|
14
14
|
line2: "",
|
|
15
15
|
city: "",
|
|
16
16
|
state: "",
|
|
17
17
|
postalCode: ""
|
|
18
18
|
})), [v, y] = c({}), [b, x] = c(), S = s(() => {
|
|
19
|
-
u && (_(
|
|
19
|
+
u && (_(r(u)), y({}), x(void 0), h(!0));
|
|
20
20
|
}, [u]), C = s(() => {
|
|
21
21
|
_({
|
|
22
22
|
line1: "",
|
|
@@ -27,9 +27,9 @@ function l({ selectedId: l, primaryAddress: u, messages: d }) {
|
|
|
27
27
|
}), y({}), x(void 0), h(!0);
|
|
28
28
|
}, []), w = s(() => h(!1), []), T = s(async () => {
|
|
29
29
|
if (!l) return;
|
|
30
|
-
let
|
|
31
|
-
if (Object.values(
|
|
32
|
-
y(
|
|
30
|
+
let r = i(g, d);
|
|
31
|
+
if (Object.values(r).some(Boolean)) {
|
|
32
|
+
y(r);
|
|
33
33
|
return;
|
|
34
34
|
}
|
|
35
35
|
y({});
|
|
@@ -39,10 +39,10 @@ function l({ selectedId: l, primaryAddress: u, messages: d }) {
|
|
|
39
39
|
counterpart_id: l,
|
|
40
40
|
address_id: u.id
|
|
41
41
|
},
|
|
42
|
-
body:
|
|
42
|
+
body: n(g)
|
|
43
43
|
}) : await f.mutateAsync({
|
|
44
44
|
path: { counterpart_id: l },
|
|
45
|
-
body:
|
|
45
|
+
body: t(g)
|
|
46
46
|
}), h(!1);
|
|
47
47
|
} catch (t) {
|
|
48
48
|
x(e(t) ?? d.genericError);
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { buildBankAccountItems as e, buildCounterpartDetailsView as t } from "./helpers.js";
|
|
6
|
+
import { useCounterpartQuery as n } from "../../../data-access/dist/index3.js";
|
|
7
|
+
import { useCounterpartBankAccountsQuery as r } from "../../../data-access/dist/index5.js";
|
|
8
|
+
import { useCounterpartAddressesQuery as i } from "../../../data-access/dist/index7.js";
|
|
8
9
|
import "../../../data-access/dist/index.js";
|
|
9
|
-
import { buildBankAccountItems as r, buildCounterpartDetailsView as i } from "./helpers.js";
|
|
10
10
|
import { useMemo as a } from "react";
|
|
11
11
|
//#region ../../libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartDetails.js
|
|
12
12
|
function o({ selectedId: o, enabled: s = !0 }) {
|
|
13
|
-
let c = s ? o : void 0, l =
|
|
13
|
+
let c = s ? o : void 0, l = n(c), u = l.data, d = u?.type === "organization", f = c ?? null, p = i(f), m = r(f), h = p.data?.data, g = a(() => {
|
|
14
14
|
if (h && h.length !== 0) {
|
|
15
15
|
if (u?.default_billing_address_id) {
|
|
16
16
|
let e = h.find((e) => e.id === u.default_billing_address_id);
|
|
@@ -18,10 +18,10 @@ function o({ selectedId: o, enabled: s = !0 }) {
|
|
|
18
18
|
}
|
|
19
19
|
return h[0];
|
|
20
20
|
}
|
|
21
|
-
}, [h, u?.default_billing_address_id]), _ = a(() => u ?
|
|
21
|
+
}, [h, u?.default_billing_address_id]), _ = a(() => u ? t({
|
|
22
22
|
counterpart: u,
|
|
23
23
|
primaryAddress: g
|
|
24
|
-
}) : void 0, [u, g]), v = a(() =>
|
|
24
|
+
}) : void 0, [u, g]), v = a(() => e(m.data?.data), [m.data]);
|
|
25
25
|
return {
|
|
26
26
|
counterpart: u,
|
|
27
27
|
isOrganization: d,
|