@tesouro/embedded-components-react 0.5.188 → 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/index109.js +55 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +24 -18
- 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 +3 -3
- 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,82 +1,88 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useRootElements as e } from "./index48.js";
|
|
2
|
+
import "./index49.js";
|
|
3
|
+
import { cn as t } from "./index50.js";
|
|
2
4
|
import "react";
|
|
3
|
-
import { CheckIcon as
|
|
4
|
-
import { jsx as
|
|
5
|
-
import * as
|
|
5
|
+
import { CheckIcon as n, ChevronDownIcon as r, ChevronUpIcon as i } from "lucide-react";
|
|
6
|
+
import { jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
7
|
+
import * as s from "@radix-ui/react-select";
|
|
6
8
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js
|
|
7
|
-
function
|
|
8
|
-
return /* @__PURE__ */
|
|
9
|
+
function c({ ...e }) {
|
|
10
|
+
return /* @__PURE__ */ a(s.Root, {
|
|
9
11
|
"data-slot": "select",
|
|
10
12
|
...e
|
|
11
13
|
});
|
|
12
14
|
}
|
|
13
|
-
function
|
|
14
|
-
return /* @__PURE__ */
|
|
15
|
+
function l({ ...e }) {
|
|
16
|
+
return /* @__PURE__ */ a(s.Value, {
|
|
15
17
|
"data-slot": "select-value",
|
|
16
18
|
...e
|
|
17
19
|
});
|
|
18
20
|
}
|
|
19
|
-
function
|
|
20
|
-
return /* @__PURE__ */
|
|
21
|
+
function u({ className: e, size: n = "default", children: i, ...c }) {
|
|
22
|
+
return /* @__PURE__ */ o(s.Trigger, {
|
|
21
23
|
"data-slot": "select-trigger",
|
|
22
|
-
"data-size":
|
|
23
|
-
className:
|
|
24
|
+
"data-size": n,
|
|
25
|
+
className: t("ttw:border-input ttw:data-[placeholder]:text-muted-foreground ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive ttw:dark:bg-input/30 ttw:dark:hover:bg-input/50 ttw:flex ttw:w-fit ttw:items-center ttw:justify-between ttw:gap-2 ttw:rounded-md ttw:border ttw:bg-transparent ttw:px-3 ttw:py-2 ttw:text-sm ttw:whitespace-nowrap ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:outline-none ttw:focus-visible:ring-[3px] ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:data-[size=default]:h-9 ttw:data-[size=sm]:h-8 ttw:*:data-[slot=select-value]:line-clamp-1 ttw:*:data-[slot=select-value]:flex ttw:*:data-[slot=select-value]:min-w-0 ttw:*:data-[slot=select-value]:flex-1 ttw:*:data-[slot=select-value]:items-center ttw:*:data-[slot=select-value]:gap-2 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", e),
|
|
24
26
|
...c,
|
|
25
|
-
children: [
|
|
27
|
+
children: [i, /* @__PURE__ */ a(s.Icon, {
|
|
26
28
|
asChild: !0,
|
|
27
|
-
children: /* @__PURE__ */
|
|
29
|
+
children: /* @__PURE__ */ a(r, { className: "ttw:size-4 ttw:opacity-50" })
|
|
28
30
|
})]
|
|
29
31
|
});
|
|
30
32
|
}
|
|
31
|
-
function
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
33
|
+
function d({ className: n, children: r, position: i = "popper", ...c }) {
|
|
34
|
+
let { root: l } = e();
|
|
35
|
+
return /* @__PURE__ */ a(s.Portal, {
|
|
36
|
+
container: l,
|
|
37
|
+
children: /* @__PURE__ */ o(s.Content, {
|
|
38
|
+
"data-slot": "select-content",
|
|
39
|
+
className: t("ttw:bg-popover ttw:text-popover-foreground ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:relative ttw:z-1300 ttw:max-h-(--radix-select-content-available-height) ttw:min-w-[8rem] ttw:origin-(--radix-select-content-transform-origin) ttw:overflow-x-hidden ttw:overflow-y-auto ttw:rounded-md ttw:border-none ttw:shadow-md", i === "popper" && "ttw:data-[side=bottom]:translate-y-1 ttw:data-[side=left]:-translate-x-1 ttw:data-[side=right]:translate-x-1 ttw:data-[side=top]:-translate-y-1", n),
|
|
40
|
+
position: i,
|
|
41
|
+
...c,
|
|
42
|
+
children: [
|
|
43
|
+
/* @__PURE__ */ a(m, {}),
|
|
44
|
+
/* @__PURE__ */ a(s.Viewport, {
|
|
45
|
+
className: t("ttw:p-1", i === "popper" && "ttw:h-[var(--radix-select-trigger-height)] ttw:w-full ttw:min-w-[var(--radix-select-trigger-width)] ttw:scroll-my-1"),
|
|
46
|
+
children: r
|
|
47
|
+
}),
|
|
48
|
+
/* @__PURE__ */ a(h, {})
|
|
49
|
+
]
|
|
50
|
+
})
|
|
51
|
+
});
|
|
46
52
|
}
|
|
47
|
-
function
|
|
48
|
-
return /* @__PURE__ */
|
|
53
|
+
function f({ className: e, children: r, ...i }) {
|
|
54
|
+
return /* @__PURE__ */ o(s.Item, {
|
|
49
55
|
"data-slot": "select-item",
|
|
50
|
-
className:
|
|
51
|
-
...
|
|
52
|
-
children: [/* @__PURE__ */
|
|
56
|
+
className: t("ttw:focus:bg-accent ttw:focus:text-accent-foreground ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:relative ttw:flex ttw:w-full ttw:cursor-default ttw:items-center ttw:gap-2 ttw:rounded-sm ttw:py-1.5 ttw:pr-8 ttw:pl-2 ttw:text-sm ttw:outline-hidden ttw:select-none ttw:data-[disabled]:pointer-events-none ttw:data-[disabled]:opacity-50 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4 ttw:*:[span]:last:flex ttw:*:[span]:last:min-w-0 ttw:*:[span]:last:flex-1 ttw:*:[span]:last:items-center ttw:*:[span]:last:gap-2", e),
|
|
57
|
+
...i,
|
|
58
|
+
children: [/* @__PURE__ */ a("span", {
|
|
53
59
|
className: "ttw:absolute ttw:right-2 ttw:flex ttw:size-3.5 ttw:items-center ttw:justify-center",
|
|
54
|
-
children: /* @__PURE__ */
|
|
55
|
-
}), /* @__PURE__ */
|
|
60
|
+
children: /* @__PURE__ */ a(s.ItemIndicator, { children: /* @__PURE__ */ a(n, { className: "ttw:size-4" }) })
|
|
61
|
+
}), /* @__PURE__ */ a(s.ItemText, { children: r })]
|
|
56
62
|
});
|
|
57
63
|
}
|
|
58
|
-
function
|
|
59
|
-
return /* @__PURE__ */
|
|
64
|
+
function p({ className: e, ...n }) {
|
|
65
|
+
return /* @__PURE__ */ a(s.Separator, {
|
|
60
66
|
"data-slot": "select-separator",
|
|
61
|
-
className:
|
|
67
|
+
className: t("ttw:bg-border ttw:pointer-events-none ttw:-mx-1 ttw:my-1 ttw:h-px", e),
|
|
62
68
|
...n
|
|
63
69
|
});
|
|
64
70
|
}
|
|
65
|
-
function
|
|
66
|
-
return /* @__PURE__ */
|
|
71
|
+
function m({ className: e, ...n }) {
|
|
72
|
+
return /* @__PURE__ */ a(s.ScrollUpButton, {
|
|
67
73
|
"data-slot": "select-scroll-up-button",
|
|
68
|
-
className:
|
|
74
|
+
className: t("ttw:flex ttw:cursor-default ttw:items-center ttw:justify-center ttw:py-1", e),
|
|
69
75
|
...n,
|
|
70
|
-
children: /* @__PURE__ */ i
|
|
76
|
+
children: /* @__PURE__ */ a(i, { className: "ttw:size-4" })
|
|
71
77
|
});
|
|
72
78
|
}
|
|
73
|
-
function
|
|
74
|
-
return /* @__PURE__ */
|
|
79
|
+
function h({ className: e, ...n }) {
|
|
80
|
+
return /* @__PURE__ */ a(s.ScrollDownButton, {
|
|
75
81
|
"data-slot": "select-scroll-down-button",
|
|
76
|
-
className:
|
|
77
|
-
...
|
|
78
|
-
children: /* @__PURE__ */
|
|
82
|
+
className: t("ttw:flex ttw:cursor-default ttw:items-center ttw:justify-center ttw:py-1", e),
|
|
83
|
+
...n,
|
|
84
|
+
children: /* @__PURE__ */ a(r, { className: "ttw:size-4" })
|
|
79
85
|
});
|
|
80
86
|
}
|
|
81
87
|
//#endregion
|
|
82
|
-
export {
|
|
88
|
+
export { c as Select, d as SelectContent, f as SelectItem, h as SelectScrollDownButton, m as SelectScrollUpButton, p as SelectSeparator, u as SelectTrigger, l as SelectValue };
|
|
@@ -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,
|
|
@@ -1,37 +1,43 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useRootElements as e } from "./index48.js";
|
|
2
|
+
import "./index49.js";
|
|
3
|
+
import { cn as t } from "./index50.js";
|
|
2
4
|
import "react";
|
|
3
5
|
import "lucide-react";
|
|
4
|
-
import { jsx as
|
|
5
|
-
import * as
|
|
6
|
+
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
7
|
+
import * as r from "@radix-ui/react-dropdown-menu";
|
|
6
8
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js
|
|
7
|
-
function
|
|
8
|
-
return /* @__PURE__ */
|
|
9
|
+
function i({ ...e }) {
|
|
10
|
+
return /* @__PURE__ */ n(r.Root, {
|
|
9
11
|
"data-slot": "dropdown-menu",
|
|
10
12
|
...e
|
|
11
13
|
});
|
|
12
14
|
}
|
|
13
|
-
function
|
|
14
|
-
return /* @__PURE__ */
|
|
15
|
+
function a({ ...e }) {
|
|
16
|
+
return /* @__PURE__ */ n(r.Trigger, {
|
|
15
17
|
"data-slot": "dropdown-menu-trigger",
|
|
16
18
|
...e
|
|
17
19
|
});
|
|
18
20
|
}
|
|
19
|
-
function
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
function o({ className: i, sideOffset: a = 4, ...o }) {
|
|
22
|
+
let { root: s } = e();
|
|
23
|
+
return /* @__PURE__ */ n(r.Portal, {
|
|
24
|
+
container: s,
|
|
25
|
+
children: /* @__PURE__ */ n(r.Content, {
|
|
26
|
+
"data-slot": "dropdown-menu-content",
|
|
27
|
+
sideOffset: a,
|
|
28
|
+
className: t("ttw:bg-popover ttw:text-popover-foreground ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:z-1300 ttw:max-h-(--radix-dropdown-menu-content-available-height) ttw:min-w-[8rem] ttw:origin-(--radix-dropdown-menu-content-transform-origin) ttw:overflow-x-hidden ttw:overflow-y-auto ttw:rounded-md ttw:border-none ttw:p-1 ttw:shadow-md", i),
|
|
29
|
+
...o
|
|
30
|
+
})
|
|
31
|
+
});
|
|
26
32
|
}
|
|
27
|
-
function
|
|
28
|
-
return /* @__PURE__ */
|
|
33
|
+
function s({ className: e, inset: i, variant: a = "default", ...o }) {
|
|
34
|
+
return /* @__PURE__ */ n(r.Item, {
|
|
29
35
|
"data-slot": "dropdown-menu-item",
|
|
30
36
|
"data-inset": i,
|
|
31
37
|
"data-variant": a,
|
|
32
|
-
className:
|
|
38
|
+
className: t("ttw:focus:bg-accent ttw:focus:text-accent-foreground ttw:data-[variant=destructive]:text-destructive ttw:data-[variant=destructive]:focus:bg-destructive/10 ttw:dark:data-[variant=destructive]:focus:bg-destructive/20 ttw:data-[variant=destructive]:focus:text-destructive ttw:data-[variant=destructive]:*:[svg]:!text-destructive ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:relative ttw:flex ttw:cursor-pointer ttw:items-center ttw:gap-2 ttw:rounded-sm ttw:px-2 ttw:py-1.5 ttw:text-sm ttw:outline-hidden ttw:select-none ttw:data-[disabled]:pointer-events-none ttw:data-[disabled]:opacity-50 ttw:data-[inset]:pl-8 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", e),
|
|
33
39
|
...o
|
|
34
40
|
});
|
|
35
41
|
}
|
|
36
42
|
//#endregion
|
|
37
|
-
export {
|
|
43
|
+
export { i as DropdownMenu, o as DropdownMenuContent, s as DropdownMenuItem, a as DropdownMenuTrigger };
|
|
@@ -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,
|