@tesouro/embedded-components-react 0.5.189 → 0.5.190
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/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/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
|
@@ -3,72 +3,72 @@
|
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
5
|
import { Dialog as e, DialogContent as t, DialogTitle as n, toast as r } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
6
|
+
import { getStateOptions as i } from "../../../shared/util/dist/lib/usStates.js";
|
|
7
|
+
import { extractApiErrorMessage as a } from "../../../shared/util/dist/lib/apiErrors.js";
|
|
8
|
+
import { useEmbedApi as o } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
9
|
+
import { useAcceptWidgetDisclosures as s } from "../../../shared/data-access/dist/lib/disclosures/useAcceptWidgetDisclosures.js";
|
|
10
|
+
import { useDisclosuresQuery as c } from "../../../shared/data-access/dist/lib/disclosures/useDisclosuresQuery.js";
|
|
11
|
+
import { OnboardingSuppressionReason as l } from "../../../shared/data-access/dist/lib/onboardingSuppressionReason.js";
|
|
12
|
+
import { useOrganizationOnboardingSuppression as u } from "../../../shared/data-access/dist/lib/useOrganizationOnboardingSuppression.js";
|
|
11
13
|
import "../../../shared/data-access/dist/index.js";
|
|
12
|
-
import { EmbeddedToaster as
|
|
13
|
-
import { OnboardingShell as
|
|
14
|
+
import { EmbeddedToaster as ee } from "../../../shared/ui/dist/lib/EmbeddedToaster.js";
|
|
15
|
+
import { OnboardingShell as te } from "../../../shared/ui/dist/lib/OnboardingShell/OnboardingShell.js";
|
|
14
16
|
import "../../../shared/ui/dist/index.js";
|
|
15
|
-
import { useAnalyticsTrack as
|
|
16
|
-
import { WidgetProvider as
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { useRefetchWidget as ne, useWidgetConfig as re } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
20
|
-
import { getNaicsOptions as ie } from "../../../shared/feature/dist/lib/naicsCodeMap.js";
|
|
17
|
+
import { useAnalyticsTrack as d } from "../../../shared/feature/dist/lib/analytics/hooks.js";
|
|
18
|
+
import { WidgetProvider as ne } from "../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
|
|
19
|
+
import { useRefetchWidget as re, useWidgetConfig as ie } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
20
|
+
import { getNaicsOptions as ae } from "../../../shared/feature/dist/lib/naicsCodeMap.js";
|
|
21
21
|
import "../../../shared/feature/dist/index.js";
|
|
22
|
-
import { identifierLast4 as
|
|
23
|
-
import { bankAccountOnboardingTestIds as
|
|
24
|
-
import { ADDITIONAL_OWNERS_LABELS_EN as
|
|
25
|
-
import { interpolateBankName as
|
|
26
|
-
import { ResultStep as
|
|
27
|
-
import { UnsavedApplicationDialog as
|
|
28
|
-
import { DeleteApplicationDialog as
|
|
22
|
+
import { identifierLast4 as oe, isIdentifierEnteredOrStored as se } from "./index7.js";
|
|
23
|
+
import { bankAccountOnboardingTestIds as f } from "./index12.js";
|
|
24
|
+
import { ADDITIONAL_OWNERS_LABELS_EN as p } from "../../ui/dist/index5.js";
|
|
25
|
+
import { interpolateBankName as ce } from "../../ui/dist/index7.js";
|
|
26
|
+
import { ResultStep as le } from "../../ui/dist/index12.js";
|
|
27
|
+
import { UnsavedApplicationDialog as ue } from "../../ui/dist/index26.js";
|
|
28
|
+
import { DeleteApplicationDialog as de } from "../../ui/dist/index28.js";
|
|
29
29
|
import "../../ui/dist/index.js";
|
|
30
|
-
import { BusinessDetailsStep as
|
|
31
|
-
import { PersonalDetailsStep as
|
|
32
|
-
import { valuesKey as
|
|
33
|
-
import { AdditionalOwnersStep as
|
|
34
|
-
import { buildCreateApplicationBody as
|
|
35
|
-
import { buildOnboardingPrefill as
|
|
36
|
-
import { acceptDraftedValues as
|
|
37
|
-
import { OnboardingAnalyticsEvent as
|
|
38
|
-
import { DEFAULT_LABELS as
|
|
39
|
-
import { withoutResumeOnlyOwnerFields as
|
|
40
|
-
import { ApplicationClientSecretProvider as
|
|
41
|
-
import { useCreateApplication as
|
|
42
|
-
import { useUpdateApplication as
|
|
43
|
-
import { useSubmitApplication as
|
|
44
|
-
import { useDeleteApplication as
|
|
45
|
-
import { usePollApplicationCompletion as
|
|
46
|
-
import { useResumableBankAccountApplication as
|
|
47
|
-
import { useStartedBankAccountApplication as
|
|
30
|
+
import { BusinessDetailsStep as fe } from "./index13.js";
|
|
31
|
+
import { PersonalDetailsStep as pe } from "./index15.js";
|
|
32
|
+
import { valuesKey as m } from "./index17.js";
|
|
33
|
+
import { AdditionalOwnersStep as me } from "./index18.js";
|
|
34
|
+
import { buildCreateApplicationBody as he, buildUpdateApplicationBody as ge } from "./index19.js";
|
|
35
|
+
import { buildOnboardingPrefill as _e } from "./index20.js";
|
|
36
|
+
import { acceptDraftedValues as ve, asCreateBody as ye, buildDraftApplicationBody as be, draftOwners as xe } from "./index21.js";
|
|
37
|
+
import { OnboardingAnalyticsEvent as Se, WIDGET_NAME as Ce } from "./index22.js";
|
|
38
|
+
import { DEFAULT_LABELS as h } from "./index23.js";
|
|
39
|
+
import { withoutResumeOnlyOwnerFields as we, withoutStoredIdentifierMarkers as Te } from "./index24.js";
|
|
40
|
+
import { ApplicationClientSecretProvider as Ee, useApplicationClientSecret as De } from "../../data-access/dist/index3.js";
|
|
41
|
+
import { useCreateApplication as Oe } from "../../data-access/dist/index5.js";
|
|
42
|
+
import { useUpdateApplication as ke } from "../../data-access/dist/index6.js";
|
|
43
|
+
import { useSubmitApplication as Ae } from "../../data-access/dist/index7.js";
|
|
44
|
+
import { useDeleteApplication as je } from "../../data-access/dist/index8.js";
|
|
45
|
+
import { usePollApplicationCompletion as Me } from "../../data-access/dist/index9.js";
|
|
46
|
+
import { useResumableBankAccountApplication as Ne } from "../../data-access/dist/index11.js";
|
|
47
|
+
import { useStartedBankAccountApplication as Pe } from "../../data-access/dist/index12.js";
|
|
48
48
|
import "../../data-access/dist/index.js";
|
|
49
|
-
import { useCallback as
|
|
50
|
-
import { Fragment as
|
|
49
|
+
import { useCallback as Fe, useEffect as g, useMemo as _, useRef as Ie, useState as v } from "react";
|
|
50
|
+
import { Fragment as Le, jsx as y, jsxs as Re } from "react/jsx-runtime";
|
|
51
51
|
//#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index25.js
|
|
52
|
-
var
|
|
53
|
-
function
|
|
52
|
+
var ze = "DRAFT", Be = [], b = (e) => se(e, void 0);
|
|
53
|
+
function Ve(e) {
|
|
54
54
|
return {
|
|
55
55
|
...e,
|
|
56
56
|
taxId: "",
|
|
57
|
-
taxIdOnFileLast4:
|
|
57
|
+
taxIdOnFileLast4: oe(e.taxId),
|
|
58
58
|
taxIdOnFileStructure: e.companyStructure === "" ? void 0 : e.companyStructure
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function x(e) {
|
|
62
62
|
return {
|
|
63
63
|
...e,
|
|
64
64
|
ssn: "",
|
|
65
|
-
ssnOnFileLast4:
|
|
65
|
+
ssnOnFileLast4: oe(e.ssn)
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function He(e, t) {
|
|
69
69
|
return t ? t.index === null ? [...e, t.owner] : e.map((e, n) => n === t.index ? t.owner : e) : e;
|
|
70
70
|
}
|
|
71
|
-
var
|
|
71
|
+
var Ue = {
|
|
72
72
|
companyLegalName: "",
|
|
73
73
|
companyDbaName: "",
|
|
74
74
|
businessAddress: "",
|
|
@@ -82,7 +82,7 @@ var He = {
|
|
|
82
82
|
naicsCode: "",
|
|
83
83
|
isAuthorized: null,
|
|
84
84
|
isCheckboxChecked: !1
|
|
85
|
-
},
|
|
85
|
+
}, We = {
|
|
86
86
|
firstName: "",
|
|
87
87
|
lastName: "",
|
|
88
88
|
dateOfBirth: void 0,
|
|
@@ -96,7 +96,7 @@ var He = {
|
|
|
96
96
|
ownsOver25Percent: null,
|
|
97
97
|
ownershipPercentage: null
|
|
98
98
|
};
|
|
99
|
-
function
|
|
99
|
+
function Ge(e, t) {
|
|
100
100
|
if (e === 0) return {
|
|
101
101
|
title: t.businessReviewTitle,
|
|
102
102
|
subtitle: t.businessReviewSubtitle
|
|
@@ -106,7 +106,7 @@ function We(e, t) {
|
|
|
106
106
|
subtitle: t.personalReviewSubtitle
|
|
107
107
|
};
|
|
108
108
|
let n = {
|
|
109
|
-
...
|
|
109
|
+
...p,
|
|
110
110
|
...t.additionalOwners
|
|
111
111
|
};
|
|
112
112
|
return {
|
|
@@ -114,60 +114,60 @@ function We(e, t) {
|
|
|
114
114
|
subtitle: n.subheading
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
|
-
function
|
|
118
|
-
let
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}, [
|
|
122
|
-
let
|
|
123
|
-
...
|
|
124
|
-
...
|
|
117
|
+
function Ke({ onEmbeddedOnboardingCompletedSuccessfully: ne, onNavigateToDashboard: se, labels: p, initialBusinessDetails: _e, initialPersonalDetails: Ce, initialAdditionalOwners: Te, initialApplicationId: Ee = null, initialBoundAuthEpoch: Ne, onEditableDraftChange: Pe, onApplicationDeleted: ze, bankLogoSrc: Ke, disclosureLinks: qe, open: Je, defaultOpen: Ye, onOpenChange: S, isFullScreenInline: C = !1 }) {
|
|
118
|
+
let w = d(), { authEpoch: Xe } = o();
|
|
119
|
+
g(() => {
|
|
120
|
+
w(Se.Mounted);
|
|
121
|
+
}, [w]);
|
|
122
|
+
let T = {
|
|
123
|
+
...h,
|
|
124
|
+
...p,
|
|
125
125
|
stepIndicator: {
|
|
126
|
-
...
|
|
127
|
-
...
|
|
126
|
+
...h.stepIndicator,
|
|
127
|
+
...p?.stepIndicator
|
|
128
128
|
},
|
|
129
|
-
businessDetails:
|
|
130
|
-
personalDetails:
|
|
131
|
-
additionalOwners:
|
|
129
|
+
businessDetails: p?.businessDetails ?? {},
|
|
130
|
+
personalDetails: p?.personalDetails ?? {},
|
|
131
|
+
additionalOwners: p?.additionalOwners ?? {},
|
|
132
132
|
result: {
|
|
133
|
-
...
|
|
134
|
-
...
|
|
133
|
+
...h.result,
|
|
134
|
+
...p?.result
|
|
135
135
|
},
|
|
136
|
-
unsavedApplicationDialog:
|
|
137
|
-
deleteApplicationDialog:
|
|
138
|
-
},
|
|
139
|
-
|
|
140
|
-
}, [
|
|
141
|
-
|
|
142
|
-
}, [
|
|
143
|
-
...He,
|
|
144
|
-
...ge
|
|
145
|
-
})), [M, N] = y(() => ({
|
|
136
|
+
unsavedApplicationDialog: p?.unsavedApplicationDialog ?? {},
|
|
137
|
+
deleteApplicationDialog: p?.deleteApplicationDialog ?? {}
|
|
138
|
+
}, E = ie().initResponse, { termsHref: Ze, privacyHref: Qe, electronicCommunicationHref: $e, patriotActHref: et } = qe ?? {}, tt = Je === void 0, [nt, rt] = v(() => Ye ?? !1), it = tt ? nt : Je, at = Ye ?? !1, D = Fe((e) => {
|
|
139
|
+
tt && rt(e), S?.(e);
|
|
140
|
+
}, [S, tt]), ot = Fe(() => {
|
|
141
|
+
ne();
|
|
142
|
+
}, [ne]), st = re(), [O, ct] = v(0), [k, A] = v(() => ({
|
|
146
143
|
...Ue,
|
|
147
|
-
...
|
|
148
|
-
})), [
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
144
|
+
..._e
|
|
145
|
+
})), [j, M] = v(() => ({
|
|
146
|
+
...We,
|
|
147
|
+
...Ce
|
|
148
|
+
})), [N, P] = v(() => Te ?? []), [F, lt] = v(() => ({
|
|
149
|
+
business: k,
|
|
150
|
+
personal: j,
|
|
151
|
+
owners: N
|
|
152
|
+
})), [I, ut] = v(null);
|
|
153
|
+
g(() => {
|
|
154
|
+
if (!I) return;
|
|
155
155
|
let e = {
|
|
156
|
-
business:
|
|
157
|
-
personal:
|
|
158
|
-
owners:
|
|
156
|
+
business: k,
|
|
157
|
+
personal: j,
|
|
158
|
+
owners: N
|
|
159
159
|
};
|
|
160
|
-
|
|
160
|
+
lt((t) => I.next(e, t)), ut(null);
|
|
161
161
|
}, [
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
162
|
+
I,
|
|
163
|
+
k,
|
|
164
|
+
j,
|
|
165
|
+
N
|
|
166
166
|
]);
|
|
167
167
|
let dt = (e, { owners: t = "none" } = {}) => ut({ next: (n, r) => ({
|
|
168
168
|
business: e.includes("business") ? n.business : r.business,
|
|
169
169
|
personal: e.includes("personal") ? n.personal : r.personal,
|
|
170
|
-
owners: t === "cleared" ?
|
|
170
|
+
owners: t === "cleared" ? Be : t === "restored" ? ve({
|
|
171
171
|
current: n,
|
|
172
172
|
saved: r,
|
|
173
173
|
dirty: {
|
|
@@ -177,76 +177,76 @@ function Ge({ onEmbeddedOnboardingCompletedSuccessfully: d, onNavigateToDashboar
|
|
|
177
177
|
},
|
|
178
178
|
ownersWrite: "list"
|
|
179
179
|
}).owners : e.includes("owners") ? n.owners : r.owners
|
|
180
|
-
}) }), [ft, pt] =
|
|
180
|
+
}) }), [ft, pt] = v(null), [mt, ht] = v(0), [gt, L] = v(!1), [_t, vt] = v(!1), [R, yt] = v(null), [z, bt] = v(null), [xt, St] = v(null), [B, Ct] = v(Ee), [wt, Tt] = v(!1), [V, Et] = v({}), Dt = (e) => Et((t) => ({
|
|
181
181
|
...t,
|
|
182
|
-
...e.taxId &&
|
|
182
|
+
...e.taxId && b(e.taxId) && e.taxIdStructure ? {
|
|
183
183
|
taxId: e.taxId,
|
|
184
184
|
taxIdStructure: e.taxIdStructure
|
|
185
185
|
} : {},
|
|
186
|
-
...e.ssn &&
|
|
186
|
+
...e.ssn && b(e.ssn) ? { ssn: e.ssn } : {}
|
|
187
187
|
})), Ot = (e) => {
|
|
188
|
-
let { taxId: t, taxIdStructure: n } = V, r = t !== void 0 && n !== void 0 && e.companyStructure !==
|
|
189
|
-
|
|
188
|
+
let { taxId: t, taxIdStructure: n } = V, r = t !== void 0 && n !== void 0 && e.companyStructure !== k.companyStructure && e.companyStructure !== "" && e.companyStructure === "SOLE_PROPRIETORSHIP" != (n === "SOLE_PROPRIETORSHIP");
|
|
189
|
+
A(r ? {
|
|
190
190
|
...e,
|
|
191
191
|
taxId: e.taxId === t ? "" : e.taxId,
|
|
192
|
-
taxIdOnFileLast4:
|
|
192
|
+
taxIdOnFileLast4: oe(t),
|
|
193
193
|
taxIdOnFileStructure: n
|
|
194
194
|
} : e);
|
|
195
|
-
}, [kt, At] =
|
|
196
|
-
!
|
|
197
|
-
let [Ft, It] =
|
|
198
|
-
|
|
199
|
-
let Yt =
|
|
200
|
-
|
|
201
|
-
K && q && (
|
|
195
|
+
}, [kt, At] = v(Ne ?? Xe), [jt, H] = v(null), [Mt, Nt] = v(!1), [Pt, U] = v(!1);
|
|
196
|
+
!C && !it && Pt && U(!1);
|
|
197
|
+
let [Ft, It] = v(!1), [Lt, Rt] = v(null), zt = Oe(), W = ke(), Bt = Ae(), Vt = je(), Ht = Me(), { setClientSecret: Ut } = De(), { data: Wt, refetch: Gt } = c(), { mutateAsync: Kt } = s(), qt = u(), Jt = Ie(null);
|
|
198
|
+
g(() => () => Jt.current?.abort(), []);
|
|
199
|
+
let Yt = _(() => ae(T.businessDetails.naicsTitles), [T.businessDetails.naicsTitles]), Xt = _(() => i(T.businessDetails.stateTitles), [T.businessDetails.stateTitles]), Zt = _(() => i(T.personalDetails.stateTitles), [T.personalDetails.stateTitles]), Qt = _(() => i(T.additionalOwners.stateTitles), [T.additionalOwners.stateTitles]), G = Ft || Lt !== null, $t = E?.status === "ACTIVE" || E?.status === "INACTIVE", en = E?.status === "INVITED", K = !!E && !G && ($t || en || qt.isSuppressed), q = K ? $t ? l.UserAlreadyOnboarded : en ? l.UserInvitedToOrganization : qt.reason : null;
|
|
200
|
+
g(() => {
|
|
201
|
+
K && q && (w(Se.Suppressed, { reason: q }), console.info(`[onboarding] not shown: ${q}`));
|
|
202
202
|
}, [
|
|
203
203
|
K,
|
|
204
204
|
q,
|
|
205
|
-
|
|
206
|
-
]),
|
|
207
|
-
|
|
205
|
+
w
|
|
206
|
+
]), g(() => {
|
|
207
|
+
Pe?.(G || B === null ? null : {
|
|
208
208
|
applicationId: B,
|
|
209
209
|
authEpoch: kt
|
|
210
210
|
});
|
|
211
211
|
}, [
|
|
212
|
-
|
|
212
|
+
Pe,
|
|
213
213
|
G,
|
|
214
214
|
B,
|
|
215
215
|
kt
|
|
216
216
|
]);
|
|
217
|
-
let tn =
|
|
218
|
-
if (tn.current =
|
|
217
|
+
let tn = Ie(Xe);
|
|
218
|
+
if (tn.current = Xe, !E || !G && (K || !qt.isResolved)) return null;
|
|
219
219
|
let J = R?.companyStructure === "SOLE_PROPRIETORSHIP", nn = [
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
], rn =
|
|
224
|
-
H(null),
|
|
220
|
+
T.stepIndicator.business,
|
|
221
|
+
T.stepIndicator.personal,
|
|
222
|
+
T.stepIndicator.ownership
|
|
223
|
+
], rn = O === 0 ? R : O === 1 ? z : O === 2 ? xt : null, Y = zt.isPending || W.isPending || Bt.isPending || Vt.isPending || Ft, an = () => {
|
|
224
|
+
H(null), ct((e) => e === 0 ? 0 : e - 1);
|
|
225
225
|
}, X = {
|
|
226
|
-
business:
|
|
227
|
-
personal:
|
|
228
|
-
owners:
|
|
226
|
+
business: m(k) !== m(F.business),
|
|
227
|
+
personal: m(j) !== m(F.personal),
|
|
228
|
+
owners: m(k.companyStructure === "SOLE_PROPRIETORSHIP" ? Be : He(N, ft)) !== m(F.owners)
|
|
229
229
|
}, on = X.business || X.personal || X.owners, Z = {
|
|
230
|
-
business: (e) => V.taxId && e.taxId === V.taxId ?
|
|
231
|
-
personal: (e) => V.ssn && e.ssn === V.ssn ?
|
|
232
|
-
owners: (e) => e.map((e) => e.id &&
|
|
233
|
-
}, sn = () =>
|
|
230
|
+
business: (e) => V.taxId && e.taxId === V.taxId ? Ve(e) : e,
|
|
231
|
+
personal: (e) => V.ssn && e.ssn === V.ssn ? x(e) : e,
|
|
232
|
+
owners: (e) => e.map((e) => e.id && b(e.ssn) ? x(e) : e)
|
|
233
|
+
}, sn = () => lt((e) => ({
|
|
234
234
|
business: Z.business(e.business),
|
|
235
235
|
personal: Z.personal(e.personal),
|
|
236
236
|
owners: Z.owners(e.owners)
|
|
237
237
|
})), cn = () => {
|
|
238
|
-
Y || (on ? L(!0) : (
|
|
238
|
+
Y || (on ? L(!0) : (A(Z.business), M(Z.personal), P(Z.owners), sn(), D(!1)));
|
|
239
239
|
}, ln = (e) => {
|
|
240
|
-
e ?
|
|
240
|
+
e ? D(!0) : cn();
|
|
241
241
|
}, un = cn, dn = async (e) => {
|
|
242
|
-
It(!0),
|
|
242
|
+
It(!0), D(!0);
|
|
243
243
|
let t = new AbortController();
|
|
244
244
|
Jt.current = t;
|
|
245
245
|
let n = !1;
|
|
246
246
|
try {
|
|
247
247
|
let r = await Bt.mutateAsync({ path: { id: e } });
|
|
248
248
|
if (t.signal.aborted) return;
|
|
249
|
-
if (!r.id) throw Error(
|
|
249
|
+
if (!r.id) throw Error(T.submitFailedError);
|
|
250
250
|
if (n = !0, (await Ht(e, { signal: t.signal })).status === "complete") {
|
|
251
251
|
let e = Wt;
|
|
252
252
|
if (e === void 0 && (e = (await Gt()).data), t.signal.aborted) return;
|
|
@@ -254,7 +254,7 @@ function Ge({ onEmbeddedOnboardingCompletedSuccessfully: d, onNavigateToDashboar
|
|
|
254
254
|
await Kt({ displayedVersion: e.version ?? null });
|
|
255
255
|
} catch {}
|
|
256
256
|
if (t.signal.aborted) return;
|
|
257
|
-
Rt("success"),
|
|
257
|
+
Rt("success"), st(), ot();
|
|
258
258
|
} else Rt("pending");
|
|
259
259
|
} catch (e) {
|
|
260
260
|
if (e instanceof DOMException && e.name === "AbortError") return;
|
|
@@ -264,39 +264,39 @@ function Ge({ onEmbeddedOnboardingCompletedSuccessfully: d, onNavigateToDashboar
|
|
|
264
264
|
Jt.current = null, It(!1);
|
|
265
265
|
}
|
|
266
266
|
}, Q = ({ evenWithoutMarker: e = !1 } = {}) => {
|
|
267
|
-
|
|
267
|
+
A((t) => (t.taxIdOnFileLast4 || e) && b(t.taxId) ? Ve(t) : t);
|
|
268
268
|
}, fn = ({ evenWithoutMarker: e = !1 } = {}) => {
|
|
269
|
-
|
|
269
|
+
M((t) => (t.ssnOnFileLast4 || e) && b(t.ssn) ? x(t) : t);
|
|
270
270
|
}, pn = ({ evenWithoutMarker: e = !1 } = {}) => {
|
|
271
|
-
|
|
271
|
+
P((t) => t.map((t) => (t.ssnOnFileLast4 || e && t.id) && b(t.ssn) ? x(t) : t));
|
|
272
272
|
}, mn = () => {
|
|
273
|
-
|
|
273
|
+
P((e) => e.map(we));
|
|
274
274
|
}, hn = async (e) => {
|
|
275
275
|
let t = tn.current, n = await zt.mutateAsync({ body: e });
|
|
276
276
|
return Ct(n.id), At(t), n.clientSecret && Ut(n.id, n.clientSecret), n.id;
|
|
277
277
|
}, gn = async () => {
|
|
278
|
-
let e =
|
|
279
|
-
if (
|
|
278
|
+
let e = F.business.companyStructure === "SOLE_PROPRIETORSHIP" && !J ? xe(N) : [], t = e.length > 0 ? { businessOwners: e } : {};
|
|
279
|
+
if (O === 0) {
|
|
280
280
|
if (!R) return null;
|
|
281
281
|
let e = B;
|
|
282
282
|
return e ? await W.mutateAsync({
|
|
283
283
|
path: { id: e },
|
|
284
284
|
body: {
|
|
285
|
-
...
|
|
285
|
+
...ge({
|
|
286
286
|
businessDetails: R,
|
|
287
287
|
carryConsent: !wt
|
|
288
288
|
}),
|
|
289
289
|
...t
|
|
290
290
|
}
|
|
291
|
-
}) : (e = await hn(
|
|
291
|
+
}) : (e = await hn(he(R)), Tt(!0)), Dt({
|
|
292
292
|
taxId: R.taxId,
|
|
293
293
|
taxIdStructure: R.companyStructure
|
|
294
294
|
}), Q(), J && mn(), dt(["business"], { owners: J ? "cleared" : t.businessOwners ? "restored" : "none" }), e;
|
|
295
295
|
}
|
|
296
|
-
return
|
|
296
|
+
return O === 1 ? !z || !R || !B ? null : (await W.mutateAsync({
|
|
297
297
|
path: { id: B },
|
|
298
298
|
body: {
|
|
299
|
-
...
|
|
299
|
+
...ge({
|
|
300
300
|
businessDetails: R,
|
|
301
301
|
applicant: z,
|
|
302
302
|
carryConsent: !wt
|
|
@@ -307,16 +307,16 @@ function Ge({ onEmbeddedOnboardingCompletedSuccessfully: d, onNavigateToDashboar
|
|
|
307
307
|
taxId: R.taxId,
|
|
308
308
|
taxIdStructure: R.companyStructure,
|
|
309
309
|
ssn: z.ssn
|
|
310
|
-
}), Q(), fn(), dt(["business", "personal"], { owners: J ? "cleared" : t.businessOwners ? "restored" : "none" }), B) :
|
|
310
|
+
}), Q(), fn(), dt(["business", "personal"], { owners: J ? "cleared" : t.businessOwners ? "restored" : "none" }), B) : O === 2 ? !xt || !B ? null : (await W.mutateAsync({
|
|
311
311
|
path: { id: B },
|
|
312
|
-
body:
|
|
312
|
+
body: ge({ businessOwners: xt })
|
|
313
313
|
}), pn(), dt(["owners"]), B) : null;
|
|
314
|
-
}, $ = (e) =>
|
|
314
|
+
}, $ = (e) => a(e) ?? (e instanceof Error ? e.message : void 0) ?? T.genericRetryError, _n = async () => {
|
|
315
315
|
H(null);
|
|
316
316
|
try {
|
|
317
317
|
let e = await gn();
|
|
318
318
|
if (e === null) return;
|
|
319
|
-
|
|
319
|
+
O === 2 ? await dn(e) : ct(O + 1);
|
|
320
320
|
} catch (e) {
|
|
321
321
|
H($(e));
|
|
322
322
|
}
|
|
@@ -324,52 +324,52 @@ function Ge({ onEmbeddedOnboardingCompletedSuccessfully: d, onNavigateToDashboar
|
|
|
324
324
|
H(null), Nt(!0);
|
|
325
325
|
try {
|
|
326
326
|
if (await gn() === null) return;
|
|
327
|
-
Q({ evenWithoutMarker: !0 }),
|
|
327
|
+
Q({ evenWithoutMarker: !0 }), O >= 1 && fn({ evenWithoutMarker: !0 }), O === 2 && pn({ evenWithoutMarker: !0 }), r.success(T.applicationSavedToast), D(!1);
|
|
328
328
|
} catch (e) {
|
|
329
329
|
r.error($(e));
|
|
330
330
|
} finally {
|
|
331
331
|
Nt(!1);
|
|
332
332
|
}
|
|
333
333
|
}, yn = async () => {
|
|
334
|
-
let e =
|
|
335
|
-
businessDetails:
|
|
336
|
-
applicant:
|
|
334
|
+
let e = He(N, ft), t = be({
|
|
335
|
+
businessDetails: k,
|
|
336
|
+
applicant: j,
|
|
337
337
|
businessOwners: e,
|
|
338
|
-
savedBusinessDetails:
|
|
339
|
-
savedOwners:
|
|
338
|
+
savedBusinessDetails: F.business,
|
|
339
|
+
savedOwners: F.owners,
|
|
340
340
|
dirty: X
|
|
341
341
|
}), n = X;
|
|
342
342
|
vt(!0);
|
|
343
343
|
try {
|
|
344
344
|
if (!t) {
|
|
345
|
-
r.error(
|
|
345
|
+
r.error(T.saveDraftNothingValidError);
|
|
346
346
|
return;
|
|
347
347
|
}
|
|
348
348
|
let i = !B;
|
|
349
349
|
B ? await W.mutateAsync({
|
|
350
350
|
path: { id: B },
|
|
351
351
|
body: t
|
|
352
|
-
}) : await hn(
|
|
352
|
+
}) : await hn(ye(t)), ft && P(e), r.success(T.applicationSavedToast);
|
|
353
353
|
let a = t;
|
|
354
354
|
i && a.applicant?.isLegallyAuthorized && a.applicant?.hasAcceptedDisclosures && Tt(!0), Dt({
|
|
355
355
|
taxId: a.businessDetails?.taxId?.value,
|
|
356
|
-
taxIdStructure:
|
|
356
|
+
taxIdStructure: k.companyStructure,
|
|
357
357
|
ssn: a.applicant?.personalIdentificationNumber?.value
|
|
358
358
|
}), a.businessDetails?.taxId !== void 0 && Q({ evenWithoutMarker: !0 }), a.applicant?.personalIdentificationNumber !== void 0 && fn({ evenWithoutMarker: !0 }), Array.isArray(a.businessOwners) && pn({ evenWithoutMarker: !0 }), a.businessOwners === null && e.length > 0 && mn();
|
|
359
359
|
let o = Array.isArray(a.businessOwners) ? "list" : a.businessOwners === null ? "cleared" : "none";
|
|
360
|
-
ut({ next: (e, t) =>
|
|
360
|
+
ut({ next: (e, t) => ve({
|
|
361
361
|
current: e,
|
|
362
362
|
saved: t,
|
|
363
363
|
dirty: n,
|
|
364
364
|
ownersWrite: o
|
|
365
|
-
}) }), pt(null), ht((e) => e + 1), L(!1),
|
|
365
|
+
}) }), pt(null), ht((e) => e + 1), L(!1), D(!1);
|
|
366
366
|
} catch (e) {
|
|
367
367
|
r.error($(e));
|
|
368
368
|
} finally {
|
|
369
369
|
vt(!1);
|
|
370
370
|
}
|
|
371
371
|
}, bn = () => {
|
|
372
|
-
|
|
372
|
+
A(Z.business(F.business)), M(Z.personal(F.personal)), P(Z.owners(F.owners)), sn(), pt(null), ht((e) => e + 1), H(null), L(!1), D(!1);
|
|
373
373
|
}, xn = async () => {
|
|
374
374
|
if (B !== null) {
|
|
375
375
|
try {
|
|
@@ -378,18 +378,18 @@ function Ge({ onEmbeddedOnboardingCompletedSuccessfully: d, onNavigateToDashboar
|
|
|
378
378
|
r.error($(e));
|
|
379
379
|
return;
|
|
380
380
|
}
|
|
381
|
-
r.success(
|
|
381
|
+
r.success(T.applicationDeletedToast);
|
|
382
382
|
}
|
|
383
|
-
U(!1),
|
|
384
|
-
}, Sn =
|
|
383
|
+
U(!1), D(!1), ze?.();
|
|
384
|
+
}, Sn = Ge(Math.min(O, 2), T), Cn = E.bankName?.trim() || T.fallbackBankName, wn = ce(T.shellFdicDisclaimer, Cn);
|
|
385
385
|
if (G) {
|
|
386
|
-
let r = R?.companyLegalName ?? "", i =
|
|
387
|
-
...
|
|
388
|
-
...
|
|
389
|
-
}, c = /* @__PURE__ */
|
|
386
|
+
let r = R?.companyLegalName ?? "", i = E.bankName?.trim() || T.fallbackBankName, a = Lt ?? "pending", o = a === "success", s = {
|
|
387
|
+
...h.result,
|
|
388
|
+
...T.result
|
|
389
|
+
}, c = /* @__PURE__ */ y(le, {
|
|
390
390
|
testIds: {
|
|
391
|
-
processing:
|
|
392
|
-
dashboardButton:
|
|
391
|
+
processing: f.resultProcessing,
|
|
392
|
+
dashboardButton: f.resultDashboardButton
|
|
393
393
|
},
|
|
394
394
|
status: a,
|
|
395
395
|
isLoading: Ft,
|
|
@@ -400,40 +400,40 @@ function Ge({ onEmbeddedOnboardingCompletedSuccessfully: d, onNavigateToDashboar
|
|
|
400
400
|
followUpEmail: z?.workEmail ?? "",
|
|
401
401
|
emailBoxLead: s.pendingEmailBoxLead,
|
|
402
402
|
navigateToDashboardLabel: s.navigateToDashboard,
|
|
403
|
-
bankLogoSrc:
|
|
404
|
-
bankLogoAlt:
|
|
405
|
-
fdicDisclaimer:
|
|
406
|
-
onNavigateToDashboard:
|
|
403
|
+
bankLogoSrc: Ke,
|
|
404
|
+
bankLogoAlt: ce(s.bankLogoAlt, i),
|
|
405
|
+
fdicDisclaimer: ce(s.fdicDisclaimer, i),
|
|
406
|
+
onNavigateToDashboard: se
|
|
407
407
|
});
|
|
408
|
-
return
|
|
408
|
+
return C ? /* @__PURE__ */ y("div", {
|
|
409
409
|
className: "ttw:grid ttw:h-full ttw:w-full ttw:grid-rows-[1fr] ttw:place-items-center ttw:gap-0 ttw:overflow-auto ttw:bg-background",
|
|
410
410
|
children: c
|
|
411
|
-
}) : /* @__PURE__ */
|
|
412
|
-
open:
|
|
413
|
-
onOpenChange:
|
|
414
|
-
children: /* @__PURE__ */
|
|
411
|
+
}) : /* @__PURE__ */ y(e, {
|
|
412
|
+
open: it,
|
|
413
|
+
onOpenChange: D,
|
|
414
|
+
children: /* @__PURE__ */ Re(t, {
|
|
415
415
|
className: "ttw:grid ttw:max-h-[95vh] ttw:w-[720px] ttw:max-w-[calc(100vw-2rem)] ttw:grid-rows-[1fr] ttw:gap-0 ttw:overflow-hidden ttw:rounded-2xl ttw:p-0",
|
|
416
|
-
children: [/* @__PURE__ */
|
|
416
|
+
children: [/* @__PURE__ */ y(n, {
|
|
417
417
|
className: "ttw:sr-only",
|
|
418
|
-
children:
|
|
418
|
+
children: T.modalTitle
|
|
419
419
|
}), c]
|
|
420
420
|
})
|
|
421
421
|
});
|
|
422
422
|
}
|
|
423
|
-
let Tn =
|
|
424
|
-
return /* @__PURE__ */ Le
|
|
425
|
-
/* @__PURE__ */
|
|
426
|
-
open:
|
|
427
|
-
defaultOpen:
|
|
423
|
+
let Tn = O === 2 ? T.submit : T.next, En = rn === null || Y;
|
|
424
|
+
return /* @__PURE__ */ Re(Le, { children: [
|
|
425
|
+
/* @__PURE__ */ Re(te, {
|
|
426
|
+
open: it,
|
|
427
|
+
defaultOpen: at,
|
|
428
428
|
onOpenChange: ln,
|
|
429
|
-
isFullScreenInline:
|
|
429
|
+
isFullScreenInline: C,
|
|
430
430
|
title: Sn.title,
|
|
431
431
|
subtitle: Sn.subtitle,
|
|
432
432
|
stepLabels: nn,
|
|
433
|
-
activeStep:
|
|
433
|
+
activeStep: O,
|
|
434
434
|
disclaimerText: wn,
|
|
435
|
-
onBack:
|
|
436
|
-
onCancel:
|
|
435
|
+
onBack: O === 0 ? un : an,
|
|
436
|
+
onCancel: O > 0 ? un : void 0,
|
|
437
437
|
onNext: _n,
|
|
438
438
|
onSaveAndClose: vn,
|
|
439
439
|
onDelete: () => U(!0),
|
|
@@ -446,95 +446,95 @@ function Ge({ onEmbeddedOnboardingCompletedSuccessfully: d, onNavigateToDashboar
|
|
|
446
446
|
nextIcon: null,
|
|
447
447
|
errorMessage: jt,
|
|
448
448
|
labels: {
|
|
449
|
-
backButton:
|
|
450
|
-
cancelButton:
|
|
451
|
-
saveAndCloseButton:
|
|
452
|
-
deleteButton:
|
|
449
|
+
backButton: O === 0 ? T.cancel : T.back,
|
|
450
|
+
cancelButton: T.cancel,
|
|
451
|
+
saveAndCloseButton: T.saveAndClose,
|
|
452
|
+
deleteButton: T.deleteApplication
|
|
453
453
|
},
|
|
454
454
|
testIds: {
|
|
455
|
-
root:
|
|
456
|
-
dismiss:
|
|
457
|
-
back:
|
|
458
|
-
cancel:
|
|
459
|
-
saveAndClose:
|
|
460
|
-
delete:
|
|
461
|
-
next:
|
|
455
|
+
root: f.shell,
|
|
456
|
+
dismiss: f.shellDismiss,
|
|
457
|
+
back: f.shellBack,
|
|
458
|
+
cancel: f.shellCancel,
|
|
459
|
+
saveAndClose: f.shellSaveAndClose,
|
|
460
|
+
delete: f.shellDelete,
|
|
461
|
+
next: f.shellNext,
|
|
462
462
|
scrollRegion: {
|
|
463
|
-
root:
|
|
464
|
-
fade:
|
|
465
|
-
hint:
|
|
463
|
+
root: f.shellScrollRegion,
|
|
464
|
+
fade: f.shellScrollFade,
|
|
465
|
+
hint: f.shellScrollHint
|
|
466
466
|
}
|
|
467
467
|
},
|
|
468
468
|
children: [
|
|
469
|
-
|
|
470
|
-
value:
|
|
469
|
+
O === 0 ? /* @__PURE__ */ y(fe, {
|
|
470
|
+
value: k,
|
|
471
471
|
onValueChange: Ot,
|
|
472
472
|
onSnapshotChange: yt,
|
|
473
473
|
naicsOptions: Yt,
|
|
474
474
|
stateOptions: Xt,
|
|
475
475
|
isSubmitting: Y,
|
|
476
|
-
labels:
|
|
476
|
+
labels: T.businessDetails,
|
|
477
477
|
bankName: Cn,
|
|
478
|
-
termsHref:
|
|
479
|
-
privacyHref:
|
|
480
|
-
electronicCommunicationHref:
|
|
481
|
-
patriotActHref:
|
|
478
|
+
termsHref: Ze,
|
|
479
|
+
privacyHref: Qe,
|
|
480
|
+
electronicCommunicationHref: $e,
|
|
481
|
+
patriotActHref: et
|
|
482
482
|
}, "business") : null,
|
|
483
|
-
|
|
484
|
-
value:
|
|
485
|
-
onValueChange:
|
|
483
|
+
O === 1 ? /* @__PURE__ */ y(pe, {
|
|
484
|
+
value: j,
|
|
485
|
+
onValueChange: M,
|
|
486
486
|
onSnapshotChange: bt,
|
|
487
487
|
stateOptions: Zt,
|
|
488
488
|
isSubmitting: Y,
|
|
489
|
-
labels:
|
|
489
|
+
labels: T.personalDetails
|
|
490
490
|
}, "personal") : null,
|
|
491
|
-
|
|
492
|
-
owners: J ?
|
|
493
|
-
onOwnersChange:
|
|
494
|
-
primaryOwnerName: `${
|
|
491
|
+
O === 2 ? /* @__PURE__ */ y(me, {
|
|
492
|
+
owners: J ? Be : N,
|
|
493
|
+
onOwnersChange: P,
|
|
494
|
+
primaryOwnerName: `${j.firstName} ${j.lastName}`.trim(),
|
|
495
495
|
primaryOwnerPercentage: J ? 100 : z?.ownsOver25Percent === !0 ? z.ownershipPercentage ?? 0 : 0,
|
|
496
496
|
stateOptions: Qt,
|
|
497
497
|
onSnapshotChange: St,
|
|
498
498
|
onPendingOwnerChange: pt,
|
|
499
499
|
isSubmitting: Y,
|
|
500
|
-
labels:
|
|
500
|
+
labels: T.additionalOwners
|
|
501
501
|
}, mt) : null
|
|
502
502
|
]
|
|
503
503
|
}),
|
|
504
|
-
/* @__PURE__ */
|
|
504
|
+
/* @__PURE__ */ y(ue, {
|
|
505
505
|
open: gt,
|
|
506
506
|
onSaveDraft: yn,
|
|
507
507
|
onDiscard: bn,
|
|
508
508
|
onCancel: () => L(!1),
|
|
509
509
|
isSaving: _t,
|
|
510
|
-
labels:
|
|
510
|
+
labels: T.unsavedApplicationDialog,
|
|
511
511
|
testIds: {
|
|
512
|
-
root:
|
|
513
|
-
saveDraft:
|
|
514
|
-
discard:
|
|
515
|
-
close:
|
|
512
|
+
root: f.unsavedDialog,
|
|
513
|
+
saveDraft: f.unsavedDialogSaveDraft,
|
|
514
|
+
discard: f.unsavedDialogDiscard,
|
|
515
|
+
close: f.unsavedDialogClose
|
|
516
516
|
}
|
|
517
517
|
}),
|
|
518
|
-
/* @__PURE__ */
|
|
518
|
+
/* @__PURE__ */ y(de, {
|
|
519
519
|
open: Pt,
|
|
520
520
|
onConfirm: xn,
|
|
521
521
|
onCancel: () => U(!1),
|
|
522
522
|
isDeleting: Vt.isPending,
|
|
523
523
|
labels: {
|
|
524
|
-
descriptionEmphasis:
|
|
525
|
-
...
|
|
524
|
+
descriptionEmphasis: T.saveAndClose,
|
|
525
|
+
...T.deleteApplicationDialog
|
|
526
526
|
},
|
|
527
527
|
testIds: {
|
|
528
|
-
root:
|
|
529
|
-
confirm:
|
|
530
|
-
cancel:
|
|
528
|
+
root: f.deleteDialog,
|
|
529
|
+
confirm: f.deleteDialogConfirm,
|
|
530
|
+
cancel: f.deleteDialogCancel
|
|
531
531
|
}
|
|
532
532
|
}),
|
|
533
|
-
/* @__PURE__ */
|
|
533
|
+
/* @__PURE__ */ y(ee, {})
|
|
534
534
|
] });
|
|
535
535
|
}
|
|
536
|
-
function
|
|
537
|
-
return /* @__PURE__ */
|
|
536
|
+
function qe({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: i, linkComponent: a, implementation: o, uiFramework: s, errorFallback: c, onError: l, analytics: u, disclosuresAcceptance: ee, providerLabels: te, ...d }) {
|
|
537
|
+
return /* @__PURE__ */ y(ne, {
|
|
538
538
|
baseUrl: e,
|
|
539
539
|
widgetToken: t,
|
|
540
540
|
organizationId: n,
|
|
@@ -547,72 +547,72 @@ function Ke({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, ga
|
|
|
547
547
|
onError: l,
|
|
548
548
|
analytics: u,
|
|
549
549
|
disclosuresAcceptance: ee,
|
|
550
|
-
providerLabels:
|
|
551
|
-
widgetName:
|
|
552
|
-
children: /* @__PURE__ */
|
|
550
|
+
providerLabels: te,
|
|
551
|
+
widgetName: Ce,
|
|
552
|
+
children: /* @__PURE__ */ y(Je, { ...d })
|
|
553
553
|
});
|
|
554
554
|
}
|
|
555
|
-
function qe(e) {
|
|
556
|
-
let { initResponse: t } = re(), { client: n } = i(), r = t?.userId ?? null, [a, o] = y(r), [s, c] = y(0);
|
|
557
|
-
r !== a && (o(r), a !== null && r !== null && c((e) => e + 1));
|
|
558
|
-
let [l, u] = y(n);
|
|
559
|
-
return n !== l && (u(n), c((e) => e + 1)), /* @__PURE__ */ b(Je, { ...e }, s);
|
|
560
|
-
}
|
|
561
555
|
function Je(e) {
|
|
562
|
-
let {
|
|
563
|
-
|
|
556
|
+
let { initResponse: t } = ie(), { client: n } = o(), r = t?.userId ?? null, [i, a] = v(r), [s, c] = v(0);
|
|
557
|
+
r !== i && (a(r), i !== null && r !== null && c((e) => e + 1));
|
|
558
|
+
let [l, u] = v(n);
|
|
559
|
+
return n !== l && (u(n), c((e) => e + 1)), /* @__PURE__ */ y(Ye, { ...e }, s);
|
|
560
|
+
}
|
|
561
|
+
function Ye(e) {
|
|
562
|
+
let { authEpoch: t } = o(), { ownApplicationIds: n } = Ne(), [r, i] = v(null), [a, s] = v(0), [c, l] = v(!1), u = Fe(() => {
|
|
563
|
+
i(null), l(!0), s((e) => e + 1);
|
|
564
564
|
}, []);
|
|
565
|
-
return r !== null && t !== r.authEpoch && n !== null && !n.includes(r.applicationId) && (
|
|
565
|
+
return r !== null && t !== r.authEpoch && n !== null && !n.includes(r.applicationId) && (i(null), s((e) => e + 1)), /* @__PURE__ */ y(Ee, { children: /* @__PURE__ */ y(C, {
|
|
566
566
|
...e,
|
|
567
567
|
defaultOpen: !c && e.defaultOpen,
|
|
568
|
-
onEditableDraftChange:
|
|
568
|
+
onEditableDraftChange: i,
|
|
569
569
|
onApplicationDeleted: u
|
|
570
|
-
},
|
|
570
|
+
}, a) }, a);
|
|
571
571
|
}
|
|
572
|
-
var
|
|
573
|
-
function
|
|
574
|
-
let { authEpoch: t } =
|
|
575
|
-
if (
|
|
576
|
-
if (l?.canRender !== !0 &&
|
|
572
|
+
var S = { canRender: !1 };
|
|
573
|
+
function C(e) {
|
|
574
|
+
let { authEpoch: t } = o(), { applicationId: n, clientSecret: r, isResolved: i } = Ne(), { application: a, isResolved: s, isUnavailable: c } = Pe(n, r), [l, u] = v(null);
|
|
575
|
+
if (g(() => {
|
|
576
|
+
if (l?.canRender !== !0 && i && s) {
|
|
577
577
|
if (c) {
|
|
578
|
-
u(
|
|
578
|
+
u(S);
|
|
579
579
|
return;
|
|
580
580
|
}
|
|
581
|
-
if (
|
|
582
|
-
u(
|
|
581
|
+
if (a !== null && a.status !== void 0 && a.status !== ze) {
|
|
582
|
+
u(S);
|
|
583
583
|
return;
|
|
584
584
|
}
|
|
585
585
|
u({
|
|
586
586
|
canRender: !0,
|
|
587
|
-
applicationId:
|
|
587
|
+
applicationId: a === null ? null : n,
|
|
588
588
|
authEpoch: t,
|
|
589
|
-
prefill:
|
|
589
|
+
prefill: _e(a)
|
|
590
590
|
});
|
|
591
591
|
}
|
|
592
592
|
}, [
|
|
593
593
|
t,
|
|
594
594
|
l,
|
|
595
|
-
|
|
595
|
+
i,
|
|
596
596
|
s,
|
|
597
597
|
c,
|
|
598
|
-
|
|
598
|
+
a,
|
|
599
599
|
n
|
|
600
600
|
]), l === null || !l.canRender) return null;
|
|
601
|
-
let { applicationId: ee, authEpoch:
|
|
602
|
-
return /* @__PURE__ */
|
|
601
|
+
let { applicationId: ee, authEpoch: te, prefill: d } = l;
|
|
602
|
+
return /* @__PURE__ */ y(Ke, {
|
|
603
603
|
...e,
|
|
604
604
|
initialApplicationId: ee,
|
|
605
|
-
initialBoundAuthEpoch:
|
|
605
|
+
initialBoundAuthEpoch: te,
|
|
606
606
|
initialBusinessDetails: {
|
|
607
|
-
...
|
|
608
|
-
...
|
|
607
|
+
...Te(e.initialBusinessDetails),
|
|
608
|
+
...d?.businessDetails
|
|
609
609
|
},
|
|
610
610
|
initialPersonalDetails: {
|
|
611
|
-
...
|
|
612
|
-
...
|
|
611
|
+
...Te(e.initialPersonalDetails),
|
|
612
|
+
...d?.personalDetails
|
|
613
613
|
},
|
|
614
|
-
initialAdditionalOwners:
|
|
614
|
+
initialAdditionalOwners: d?.additionalOwners ?? e.initialAdditionalOwners?.map(we)
|
|
615
615
|
});
|
|
616
616
|
}
|
|
617
617
|
//#endregion
|
|
618
|
-
export {
|
|
618
|
+
export { qe as BankAccountOnboardingWidget, qe as default };
|