@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
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableDuplicates.js
|
|
2
|
+
var e = [
|
|
3
|
+
"suspected",
|
|
4
|
+
"dismissed",
|
|
5
|
+
"confirmed"
|
|
6
|
+
];
|
|
7
|
+
function t(t) {
|
|
8
|
+
if (typeof t != "object" || !t) return !1;
|
|
9
|
+
let n = t;
|
|
10
|
+
return typeof n.id == "string" && typeof n.matched_payable_id == "string" && e.includes(n.status);
|
|
11
|
+
}
|
|
12
|
+
function n(e) {
|
|
13
|
+
return Array.isArray(e?.duplicates) ? e.duplicates.filter(t) : [];
|
|
14
|
+
}
|
|
15
|
+
function r(e) {
|
|
16
|
+
return n(e).filter((e) => e.status === "suspected");
|
|
17
|
+
}
|
|
18
|
+
function i(e) {
|
|
19
|
+
return r(e).length > 0;
|
|
20
|
+
}
|
|
21
|
+
function a(e) {
|
|
22
|
+
let t = new Set(e.map((e) => e.id)), n = /* @__PURE__ */ new Map(), i = (e) => {
|
|
23
|
+
n.has(e) || n.set(e, /* @__PURE__ */ new Set());
|
|
24
|
+
}, a = (e, t) => {
|
|
25
|
+
i(e), i(t), n.get(e)?.add(t), n.get(t)?.add(e);
|
|
26
|
+
};
|
|
27
|
+
for (let t of e) {
|
|
28
|
+
let e = r(t);
|
|
29
|
+
if (e.length !== 0) {
|
|
30
|
+
i(t.id);
|
|
31
|
+
for (let n of e) a(t.id, n.matched_payable_id);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
let o = /* @__PURE__ */ new Set(), s = 0;
|
|
35
|
+
for (let e of n.keys()) {
|
|
36
|
+
if (o.has(e)) continue;
|
|
37
|
+
let r = [e], i = !1;
|
|
38
|
+
for (o.add(e); r.length > 0;) {
|
|
39
|
+
let e = r.pop();
|
|
40
|
+
i ||= t.has(e);
|
|
41
|
+
for (let t of n.get(e) ?? []) o.has(t) || (o.add(t), r.push(t));
|
|
42
|
+
}
|
|
43
|
+
i && (s += 1);
|
|
44
|
+
}
|
|
45
|
+
return s;
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
export { a as countSuspectedPayableDuplicateGroups, i as hasSuspectedPayableDuplicate, n as readPayableDuplicates, r as suspectedPayableDuplicates };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableTotals.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableTotals.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
return typeof e == "number" && Number.isFinite(e) ? e : 0;
|
|
4
|
+
}
|
|
5
|
+
function t(t) {
|
|
6
|
+
let n = e(t), r = Math.round(Number(Math.abs(n).toFixed(6)));
|
|
7
|
+
return n < 0 ? -r || 0 : r;
|
|
8
|
+
}
|
|
9
|
+
function n({ quantity: n, unitPrice: r, tax: i }) {
|
|
10
|
+
let a = t(e(n) * e(r)), o = t(a * e(i) / 1e4);
|
|
11
|
+
return {
|
|
12
|
+
subtotal: a,
|
|
13
|
+
taxAmount: o,
|
|
14
|
+
total: a + o
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { n as calculateLineItemTotals, t as roundToMinorUnits };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { calculateLineItemTotals as e } from "./payableTotals.js";
|
|
2
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveLineItemAmount.js
|
|
3
|
+
function t(t) {
|
|
4
|
+
if (typeof t.subtotal == "number") return t.subtotal;
|
|
5
|
+
if (typeof t.quantity == "number" && typeof t.unit_price == "number") return e({
|
|
6
|
+
quantity: t.quantity,
|
|
7
|
+
unitPrice: t.unit_price
|
|
8
|
+
}).subtotal;
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { t as resolveLineItemAmountMinorUnits };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveLineItemQuantity.js
|
|
2
|
+
var e = (e) => typeof e == "number" && Number.isFinite(e) && e > 0;
|
|
3
|
+
function t({ quantity: t, unit_price: n, subtotal: r }) {
|
|
4
|
+
return e(t) ? t : e(n) && e(r) && r % n === 0 ? r / n : 1;
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { t as resolveLineItemQuantity };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveVendor.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveVendor.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
return e?.counterpart ?? e?.counterpart_raw_data ?? void 0;
|
|
4
|
+
}
|
|
5
|
+
function t(e) {
|
|
6
|
+
return e?.counterpart?.name ?? e?.counterpart_raw_data?.name ?? "";
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { e as resolveVendor, t as resolveVendorName };
|
package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
5
|
import { toast as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
6
|
+
import { getStateOptions as t } from "../../../../shared/util/dist/lib/usStates.js";
|
|
7
|
+
import { Scope as n } from "../../../../shared/data-access/dist/lib/scopes.js";
|
|
8
|
+
import { useAllBankAccountsQuery as r } from "../../../../shared/data-access/dist/lib/bank-account/useAllBankAccountsQuery.js";
|
|
9
|
+
import { useAllMerchantCategoryGroupsQuery as i } from "../../../../shared/data-access/dist/lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
|
|
10
|
+
import { useAllOrganizationUsersQuery as a } from "../../../../shared/data-access/dist/lib/user/useAllOrganizationUsersQuery.js";
|
|
10
11
|
import "../../../../shared/data-access/dist/index.js";
|
|
11
|
-
import { EmbeddedToaster as
|
|
12
|
+
import { EmbeddedToaster as o } from "../../../../shared/ui/dist/lib/EmbeddedToaster.js";
|
|
12
13
|
import "../../../../shared/ui/dist/index.js";
|
|
13
|
-
import { useAnalyticsTrack as
|
|
14
|
+
import { useAnalyticsTrack as ee } from "../../../../shared/feature/dist/lib/analytics/hooks.js";
|
|
14
15
|
import { WidgetProvider as s } from "../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
|
|
15
|
-
import { getStateOptions as ee } from "../../../../shared/util/dist/lib/usStates.js";
|
|
16
16
|
import { useWidgetConfig as te } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
17
17
|
import "../../../../shared/feature/dist/index.js";
|
|
18
18
|
import { filterUsersForOrganization as ne } from "../../../../../shared/util-validation/dist/index7.js";
|
|
@@ -35,7 +35,7 @@ import "../../data-access/dist/index.js";
|
|
|
35
35
|
import { useEffect as p, useMemo as m, useRef as h, useState as g } from "react";
|
|
36
36
|
import { Fragment as Se, jsx as _, jsxs as Ce } from "react/jsx-runtime";
|
|
37
37
|
//#region ../../libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js
|
|
38
|
-
var we =
|
|
38
|
+
var we = n.DebitCardIssueOrg, Te = {
|
|
39
39
|
street: "",
|
|
40
40
|
city: "",
|
|
41
41
|
state: "",
|
|
@@ -59,8 +59,8 @@ function ke(e, t) {
|
|
|
59
59
|
let n = e.nickname?.trim(), r = Oe(e.accountNumber);
|
|
60
60
|
return n && r ? `${n} (${r})` : n || r || t;
|
|
61
61
|
}
|
|
62
|
-
function y({ cardArtSrc:
|
|
63
|
-
let Me =
|
|
62
|
+
function y({ cardArtSrc: n, labels: s, featureLabels: de, className: Oe, onClose: y, onCancel: Ae, onViewCard: je }) {
|
|
63
|
+
let Me = ee(), { isReady: b } = _e(), { initResponse: Ne, organizationId: x } = te(), S = m(() => he(Ne?.scopes), [Ne?.scopes]), C = le(de), w = {
|
|
64
64
|
...c,
|
|
65
65
|
...s,
|
|
66
66
|
setup: {
|
|
@@ -73,60 +73,60 @@ function y({ cardArtSrc: t, labels: s, featureLabels: de, className: Oe, onClose
|
|
|
73
73
|
}, {
|
|
74
74
|
value: d.Physical,
|
|
75
75
|
label: w.setup.cardFormatPhysical
|
|
76
|
-
}], [w.setup.cardFormatPhysical, w.setup.cardFormatVirtual]), Fe = m(() =>
|
|
77
|
-
Le(null), Re(null), Be(null), k(null),
|
|
78
|
-
},
|
|
79
|
-
x && x !==
|
|
80
|
-
let
|
|
81
|
-
p(() => (
|
|
82
|
-
|
|
76
|
+
}], [w.setup.cardFormatPhysical, w.setup.cardFormatVirtual]), Fe = m(() => t(), []), [Ie, T] = g(l.Setup), [E, Le] = g(null), [D, Re] = g(null), [ze, Be] = g(null), [O, k] = g(null), [Ve, He] = g(Te), [Ue, We] = g(null), [Ge, Ke] = g(null), [A, j] = g(!1), [M, N] = g(""), [P, F] = g(null), [I, L] = g(!1), [R, z] = g(""), [B, V] = g(!1), [H, U] = g([]), qe = () => {
|
|
77
|
+
Le(null), Re(null), Be(null), k(null), He(Te), We(null), Ke(null), j(!1), N(""), F(null), L(!1), z(""), V(!1), U([]), T(l.Setup);
|
|
78
|
+
}, Je = h(x);
|
|
79
|
+
x && x !== Je.current && (Je.current = x, qe());
|
|
80
|
+
let W = h(!0);
|
|
81
|
+
p(() => (W.current = !0, () => {
|
|
82
|
+
W.current = !1;
|
|
83
83
|
}), []), p(() => {
|
|
84
84
|
Me(ue.Mounted);
|
|
85
85
|
}, [Me]);
|
|
86
|
-
let { options:
|
|
86
|
+
let { options: Ye, isError: G, refetch: Xe } = ge({ enabled: b && S.canReadUsers }), K = a({
|
|
87
87
|
enabled: b && S.canReadUsers,
|
|
88
88
|
permissions: [we]
|
|
89
|
-
}),
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
}), Ze = m(() => !b || !S.canReadUsers || K.isResolving || K.isError ? [] : ne(K.data?.data ?? [], x).map((e) => e.id), [
|
|
90
|
+
K.data?.data,
|
|
91
|
+
K.isError,
|
|
92
|
+
K.isResolving,
|
|
93
93
|
b,
|
|
94
94
|
x,
|
|
95
95
|
S.canReadUsers
|
|
96
|
-
]),
|
|
96
|
+
]), q = !!K.isError && b && S.canReadUsers, Qe = b && S.canReadUsers && K.isResolving, J = h(null);
|
|
97
97
|
p(() => {
|
|
98
|
-
if (!
|
|
99
|
-
|
|
98
|
+
if (!q) {
|
|
99
|
+
J.current !== null && (e.dismiss(J.current), J.current = null);
|
|
100
100
|
return;
|
|
101
101
|
}
|
|
102
|
-
return
|
|
102
|
+
return J.current = e.error(C.toast.debitCardIssuersError, {
|
|
103
103
|
duration: Infinity,
|
|
104
104
|
action: {
|
|
105
105
|
label: C.toast.retry,
|
|
106
106
|
onClick: () => {
|
|
107
|
-
|
|
107
|
+
K.refetch();
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
}), () => {
|
|
111
|
-
|
|
111
|
+
J.current !== null && (e.dismiss(J.current), J.current = null);
|
|
112
112
|
};
|
|
113
113
|
}, [
|
|
114
|
-
|
|
114
|
+
K.refetch,
|
|
115
115
|
C.toast.debitCardIssuersError,
|
|
116
116
|
C.toast.retry,
|
|
117
|
-
|
|
117
|
+
q
|
|
118
118
|
]);
|
|
119
|
-
let
|
|
119
|
+
let $e = xe({ enabled: b && S.canReadOrganization }), Y = r({ enabled: b && S.canReadFundingAccounts }), et = i({ enabled: b && S.canReadMerchantCategoryGroups }), tt = ve(), nt = ye(), rt = be(), X = !!Y.isError && b && S.canReadFundingAccounts, Z = m(() => X ? [] : (Y.data?.data ?? []).map((e) => ({
|
|
120
120
|
value: e.id,
|
|
121
121
|
label: ke(e, C.untitledFundingAccount)
|
|
122
122
|
})), [
|
|
123
|
-
|
|
123
|
+
Y.data?.data,
|
|
124
124
|
C.untitledFundingAccount,
|
|
125
|
-
|
|
126
|
-
]),
|
|
125
|
+
X
|
|
126
|
+
]), Q = m(() => (et.data?.data ?? []).map((e) => ({
|
|
127
127
|
value: e.id,
|
|
128
128
|
label: e.name
|
|
129
|
-
})), [
|
|
129
|
+
})), [et.data?.data]), $ = ze ?? (Z.length === 1 ? Z[0].value : null), it = $e.data?.address, at = oe(it), ot = se(it), st = D === d.Physical, ct = st && O === u.BusinessAddress && !!at, lt = st && O === u.DifferentAddress, ut = X || Z.length > 0, dt = b && S.canWriteAuthorizationControls, ft = m(() => [
|
|
130
130
|
{
|
|
131
131
|
value: f.OneTime,
|
|
132
132
|
label: C.spendLimit.periodOneTime
|
|
@@ -165,45 +165,45 @@ function y({ cardArtSrc: t, labels: s, featureLabels: de, className: Oe, onClose
|
|
|
165
165
|
C.spendLimit.monthlyResetNotice,
|
|
166
166
|
C.spendLimit.oneTimeWarningDescription,
|
|
167
167
|
C.spendLimit.oneTimeWarningTitle
|
|
168
|
-
]), mt =
|
|
169
|
-
dt || (
|
|
168
|
+
]), mt = A && (me(M) === null || P === null), ht = I && me(R) === null, gt = B && H.length === 0, _t = Q.length === 0 && !B;
|
|
169
|
+
dt || (A && j(!1), M !== "" && N(""), P !== null && F(null), I && L(!1), R !== "" && z(""), B && V(!1), H.length > 0 && U([]));
|
|
170
170
|
let vt = m(() => ({
|
|
171
|
-
isSpendLimitEnabled:
|
|
171
|
+
isSpendLimitEnabled: A,
|
|
172
172
|
onSpendLimitEnabledChange: (e) => {
|
|
173
|
-
|
|
173
|
+
j(e), e && F((e) => e ?? f.Monthly);
|
|
174
174
|
},
|
|
175
|
-
spendLimitAmount:
|
|
176
|
-
onSpendLimitAmountChange:
|
|
175
|
+
spendLimitAmount: M,
|
|
176
|
+
onSpendLimitAmountChange: N,
|
|
177
177
|
spendLimitPeriodOptions: ft,
|
|
178
|
-
selectedSpendLimitPeriod:
|
|
179
|
-
onSpendLimitPeriodSelect:
|
|
178
|
+
selectedSpendLimitPeriod: P,
|
|
179
|
+
onSpendLimitPeriodSelect: F,
|
|
180
180
|
spendLimitPeriodNotices: pt,
|
|
181
|
-
isMerchantCategoriesEnabled:
|
|
182
|
-
onMerchantCategoriesEnabledChange:
|
|
183
|
-
merchantCategoryOptions:
|
|
184
|
-
selectedMerchantCategories:
|
|
181
|
+
isMerchantCategoriesEnabled: B,
|
|
182
|
+
onMerchantCategoriesEnabledChange: V,
|
|
183
|
+
merchantCategoryOptions: Q,
|
|
184
|
+
selectedMerchantCategories: H,
|
|
185
185
|
onMerchantCategoryToggle: (e) => {
|
|
186
|
-
|
|
186
|
+
U((t) => t.includes(e) ? t.filter((t) => t !== e) : [...t, e]);
|
|
187
187
|
},
|
|
188
188
|
isMerchantCategoriesToggleDisabled: _t,
|
|
189
|
-
isPerTransactionMaximumEnabled:
|
|
190
|
-
onPerTransactionMaximumEnabledChange:
|
|
191
|
-
perTransactionMaximumAmount:
|
|
192
|
-
onPerTransactionMaximumAmountChange:
|
|
189
|
+
isPerTransactionMaximumEnabled: I,
|
|
190
|
+
onPerTransactionMaximumEnabledChange: L,
|
|
191
|
+
perTransactionMaximumAmount: R,
|
|
192
|
+
onPerTransactionMaximumAmountChange: z
|
|
193
193
|
}), [
|
|
194
|
-
|
|
194
|
+
B,
|
|
195
195
|
_t,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
196
|
+
I,
|
|
197
|
+
A,
|
|
198
|
+
Q,
|
|
199
|
+
R,
|
|
200
|
+
H,
|
|
201
|
+
P,
|
|
202
|
+
M,
|
|
203
203
|
pt,
|
|
204
204
|
ft
|
|
205
|
-
]), yt = !b || !S.canIssue ||
|
|
206
|
-
let e = De(
|
|
205
|
+
]), yt = !b || !S.canIssue || tt.isPending || nt.isPending || rt.isPending || G || X || q || Qe || !E || !D || !$ || mt || ht || gt || D === d.Physical && (!O || O === u.BusinessAddress && !ot || O === u.DifferentAddress && !ce(Ve)), bt = m(() => {
|
|
206
|
+
let e = De(Ge, C);
|
|
207
207
|
return {
|
|
208
208
|
...s,
|
|
209
209
|
success: {
|
|
@@ -212,7 +212,7 @@ function y({ cardArtSrc: t, labels: s, featureLabels: de, className: Oe, onClose
|
|
|
212
212
|
}
|
|
213
213
|
};
|
|
214
214
|
}, [
|
|
215
|
-
|
|
215
|
+
Ge,
|
|
216
216
|
C,
|
|
217
217
|
s
|
|
218
218
|
]), xt = async () => {
|
|
@@ -220,37 +220,37 @@ function y({ cardArtSrc: t, labels: s, featureLabels: de, className: Oe, onClose
|
|
|
220
220
|
let t = ae(), n = ie({
|
|
221
221
|
cardholderUserId: E,
|
|
222
222
|
format: D,
|
|
223
|
-
bankAccountId:
|
|
223
|
+
bankAccountId: $,
|
|
224
224
|
reference: t,
|
|
225
225
|
mailingOption: O,
|
|
226
226
|
orgAddress: it,
|
|
227
|
-
manualAddress:
|
|
227
|
+
manualAddress: Ve
|
|
228
228
|
});
|
|
229
229
|
if (!n) return;
|
|
230
230
|
T(l.Preparing);
|
|
231
231
|
let r = e.loading(C.toast.creating);
|
|
232
232
|
try {
|
|
233
|
-
let t = await
|
|
234
|
-
if (!
|
|
233
|
+
let t = await tt.mutateAsync({ body: n });
|
|
234
|
+
if (!W.current) {
|
|
235
235
|
e.dismiss(r);
|
|
236
236
|
return;
|
|
237
237
|
}
|
|
238
|
-
|
|
238
|
+
We(t.id), Ke(t.cardStatus);
|
|
239
239
|
let i = [];
|
|
240
|
-
if (
|
|
240
|
+
if (A) {
|
|
241
241
|
let e = pe({
|
|
242
242
|
cardId: t.id,
|
|
243
|
-
amount:
|
|
244
|
-
period:
|
|
243
|
+
amount: M,
|
|
244
|
+
period: P,
|
|
245
245
|
id: crypto.randomUUID(),
|
|
246
246
|
name: C.velocityControlNames.spendLimit
|
|
247
247
|
});
|
|
248
248
|
e && i.push(e);
|
|
249
249
|
}
|
|
250
|
-
if (
|
|
250
|
+
if (I) {
|
|
251
251
|
let e = fe({
|
|
252
252
|
cardId: t.id,
|
|
253
|
-
amount:
|
|
253
|
+
amount: R,
|
|
254
254
|
id: crypto.randomUUID(),
|
|
255
255
|
name: C.velocityControlNames.perTransactionMaximum
|
|
256
256
|
});
|
|
@@ -258,25 +258,25 @@ function y({ cardArtSrc: t, labels: s, featureLabels: de, className: Oe, onClose
|
|
|
258
258
|
}
|
|
259
259
|
let a = !1;
|
|
260
260
|
if (i.length > 0) try {
|
|
261
|
-
await Promise.all(i.map((e) =>
|
|
261
|
+
await Promise.all(i.map((e) => nt.mutateAsync({ body: e })));
|
|
262
262
|
} catch {
|
|
263
263
|
a = !0;
|
|
264
264
|
}
|
|
265
|
-
if (!
|
|
265
|
+
if (!W.current) {
|
|
266
266
|
e.dismiss(r);
|
|
267
267
|
return;
|
|
268
268
|
}
|
|
269
269
|
let o = !1;
|
|
270
|
-
if (
|
|
271
|
-
await
|
|
270
|
+
if (Ze.length > 0) try {
|
|
271
|
+
await rt.mutateAsync({ body: {
|
|
272
272
|
debitCardIds: [t.id],
|
|
273
273
|
type: "GRANT",
|
|
274
|
-
userIds:
|
|
274
|
+
userIds: Ze
|
|
275
275
|
} });
|
|
276
276
|
} catch {
|
|
277
277
|
o = !0;
|
|
278
278
|
}
|
|
279
|
-
if (!
|
|
279
|
+
if (!W.current) {
|
|
280
280
|
e.dismiss(r);
|
|
281
281
|
return;
|
|
282
282
|
}
|
|
@@ -306,7 +306,7 @@ function y({ cardArtSrc: t, labels: s, featureLabels: de, className: Oe, onClose
|
|
|
306
306
|
duration: Ee
|
|
307
307
|
});
|
|
308
308
|
} catch {
|
|
309
|
-
if (!
|
|
309
|
+
if (!W.current) {
|
|
310
310
|
e.dismiss(r);
|
|
311
311
|
return;
|
|
312
312
|
}
|
|
@@ -316,28 +316,28 @@ function y({ cardArtSrc: t, labels: s, featureLabels: de, className: Oe, onClose
|
|
|
316
316
|
});
|
|
317
317
|
}
|
|
318
318
|
};
|
|
319
|
-
return /* @__PURE__ */ Ce(Se, { children: [/* @__PURE__ */ _(
|
|
319
|
+
return /* @__PURE__ */ Ce(Se, { children: [/* @__PURE__ */ _(o, {}), /* @__PURE__ */ _(re, {
|
|
320
320
|
view: Ie,
|
|
321
|
-
cardArtSrc:
|
|
321
|
+
cardArtSrc: n,
|
|
322
322
|
labels: bt,
|
|
323
323
|
className: Oe,
|
|
324
|
-
cardholderOptions:
|
|
324
|
+
cardholderOptions: Ye,
|
|
325
325
|
selectedCardholder: E,
|
|
326
326
|
onCardholderSelect: Le,
|
|
327
|
-
isCardholderError:
|
|
328
|
-
onCardholderRetry:
|
|
327
|
+
isCardholderError: G,
|
|
328
|
+
onCardholderRetry: G ? Xe : void 0,
|
|
329
329
|
cardFormatOptions: Pe,
|
|
330
330
|
selectedCardFormat: D,
|
|
331
331
|
onCardFormatSelect: (e) => {
|
|
332
332
|
Re(e), k(null);
|
|
333
333
|
},
|
|
334
334
|
isFundingAccountVisible: ut,
|
|
335
|
-
fundingAccountOptions:
|
|
336
|
-
selectedFundingAccount:
|
|
335
|
+
fundingAccountOptions: Z,
|
|
336
|
+
selectedFundingAccount: $,
|
|
337
337
|
onFundingAccountSelect: Be,
|
|
338
|
-
isFundingAccountError:
|
|
339
|
-
onFundingAccountRetry:
|
|
340
|
-
|
|
338
|
+
isFundingAccountError: X,
|
|
339
|
+
onFundingAccountRetry: X ? () => {
|
|
340
|
+
Y.refetch();
|
|
341
341
|
} : void 0,
|
|
342
342
|
isMailingSectionVisible: st,
|
|
343
343
|
selectedMailingOption: O,
|
|
@@ -345,8 +345,8 @@ function y({ cardArtSrc: t, labels: s, featureLabels: de, className: Oe, onClose
|
|
|
345
345
|
businessAddress: at,
|
|
346
346
|
isBusinessAddressVisible: ct,
|
|
347
347
|
isManualAddressVisible: lt,
|
|
348
|
-
manualAddress:
|
|
349
|
-
onManualAddressChange: (e) =>
|
|
348
|
+
manualAddress: Ve,
|
|
349
|
+
onManualAddressChange: (e) => He((t) => ({
|
|
350
350
|
...t,
|
|
351
351
|
...e
|
|
352
352
|
})),
|
|
@@ -361,9 +361,9 @@ function y({ cardArtSrc: t, labels: s, featureLabels: de, className: Oe, onClose
|
|
|
361
361
|
Ae?.(), y?.();
|
|
362
362
|
},
|
|
363
363
|
onClose: y,
|
|
364
|
-
onCreateAnotherClick:
|
|
365
|
-
onViewCardClick: je &&
|
|
366
|
-
je(
|
|
364
|
+
onCreateAnotherClick: qe,
|
|
365
|
+
onViewCardClick: je && Ue ? () => {
|
|
366
|
+
je(Ue);
|
|
367
367
|
} : void 0
|
|
368
368
|
})] });
|
|
369
369
|
}
|
package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index4.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
"use client";
|
|
5
5
|
import { toast as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
6
|
import "../../../shared/ui/dist/index.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { buildAnalyticsMap as t, buildCounterpartRows as n } from "../../../shared/counterpart-management/feature/dist/lib/helpers.js";
|
|
8
|
+
import { useCounterpartsQuery as r } from "../../../shared/counterpart-management/data-access/dist/index3.js";
|
|
9
|
+
import { useCounterpartAddressesForRowsQuery as i } from "../../../shared/counterpart-management/data-access/dist/index7.js";
|
|
10
10
|
import "../../../shared/counterpart-management/feature/dist/index.js";
|
|
11
11
|
import { PAYABLES_BILLED_STATUSES as a, PAYABLES_OWED_STATUSES as o, RECEIVABLES_BILLED_STATUSES as s, RECEIVABLES_DUE_STATUSES as c } from "./index3.js";
|
|
12
12
|
import { usePayablesAnalyticsByCounterpartQuery as l, useReceivablesAnalyticsByCounterpartQuery as u } from "../../data-access/dist/index2.js";
|
|
@@ -21,7 +21,7 @@ function h({ isCustomer: h, enabled: g = !0, messages: _ }) {
|
|
|
21
21
|
}, 400);
|
|
22
22
|
return () => clearTimeout(e);
|
|
23
23
|
}, [w]);
|
|
24
|
-
let A = v[0], j =
|
|
24
|
+
let A = v[0], j = r({
|
|
25
25
|
sort: A ? "counterpart_name" : void 0,
|
|
26
26
|
order: A ? A.desc ? "desc" : "asc" : void 0,
|
|
27
27
|
limit: b,
|
|
@@ -30,7 +30,7 @@ function h({ isCustomer: h, enabled: g = !0, messages: _ }) {
|
|
|
30
30
|
type: O === "all" ? void 0 : O,
|
|
31
31
|
...h ? { is_customer: !0 } : { is_vendor: !0 },
|
|
32
32
|
enabled: g
|
|
33
|
-
}), M = p(() => j.data?.data.map((e) => e.id) ?? [], [j.data?.data]), N = M.length > 0, P =
|
|
33
|
+
}), M = p(() => j.data?.data.map((e) => e.id) ?? [], [j.data?.data]), N = M.length > 0, P = i({
|
|
34
34
|
counterpartIds: M,
|
|
35
35
|
enabled: g && N
|
|
36
36
|
}), F = u({
|
|
@@ -53,11 +53,11 @@ function h({ isCustomer: h, enabled: g = !0, messages: _ }) {
|
|
|
53
53
|
statusIn: [...o],
|
|
54
54
|
counterpartIdIn: M,
|
|
55
55
|
enabled: g && !h && N
|
|
56
|
-
}), z = p(() => h ? F.data ?
|
|
56
|
+
}), z = p(() => h ? F.data ? t(F.data.data) : void 0 : L.data ? t(L.data.data) : void 0, [
|
|
57
57
|
h,
|
|
58
58
|
F.data,
|
|
59
59
|
L.data
|
|
60
|
-
]), B = p(() => h ? I.data ?
|
|
60
|
+
]), B = p(() => h ? I.data ? t(I.data.data) : void 0 : R.data ? t(R.data.data) : void 0, [
|
|
61
61
|
h,
|
|
62
62
|
I.data,
|
|
63
63
|
R.data
|
|
@@ -69,7 +69,7 @@ function h({ isCustomer: h, enabled: g = !0, messages: _ }) {
|
|
|
69
69
|
U,
|
|
70
70
|
_.amountsUnavailable
|
|
71
71
|
]);
|
|
72
|
-
let W = p(() =>
|
|
72
|
+
let W = p(() => n({
|
|
73
73
|
counterparts: j.data?.data ?? [],
|
|
74
74
|
addresses: V,
|
|
75
75
|
billedAmounts: z,
|
|
@@ -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 {
|
|
7
|
-
import {
|
|
6
|
+
import { formatCalendarDate as t } from "../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
7
|
+
import { formatMoneyExact as n } from "../../../shared/util/dist/lib/formatMoneyExact.js";
|
|
8
|
+
import { hasAnyScope as r } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
9
|
+
import { Scope as i } from "../../../shared/data-access/dist/lib/scopes.js";
|
|
8
10
|
import "../../../shared/data-access/dist/index.js";
|
|
9
11
|
import "../../../shared/ui/dist/index.js";
|
|
10
|
-
import { formatCalendarDate as r } from "../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
11
|
-
import { formatMoneyExact as i } from "../../../shared/util/dist/lib/formatMoneyExact.js";
|
|
12
12
|
import { useWidgetConfig as ee } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
13
13
|
import "../../../shared/feature/dist/index.js";
|
|
14
14
|
import { ApprovalPolicyObjectType as te } from "../../../shared/approval-policy/data-access/dist/lib/queryKeys.js";
|
|
@@ -107,7 +107,7 @@ function u({ open: u, onClose: Re, selectedTransactionId: ze, actionItemIds: Be,
|
|
|
107
107
|
let f = {
|
|
108
108
|
..._e,
|
|
109
109
|
...Ve
|
|
110
|
-
}, [p, m] = a(0), [qe, Je] = a(!1), [h, g] = a(null), [_, v] = a(null), [y, b] = a(null), [Ye, x] = a(!1), [S, C] = a(null), w = Ee(null), T = Be ?? [], Xe = T.length > 1, E = T.length > 0 ? T[p] ?? "" : ze ?? "", { initResponse: Ze } = ee(), Qe = Ze?.userId ?? "", D = Ze?.scopes, O = Se(D), k = xe(D), $e = be(D), et =
|
|
110
|
+
}, [p, m] = a(0), [qe, Je] = a(!1), [h, g] = a(null), [_, v] = a(null), [y, b] = a(null), [Ye, x] = a(!1), [S, C] = a(null), w = Ee(null), T = Be ?? [], Xe = T.length > 1, E = T.length > 0 ? T[p] ?? "" : ze ?? "", { initResponse: Ze } = ee(), Qe = Ze?.userId ?? "", D = Ze?.scopes, O = Se(D), k = xe(D), $e = be(D), et = r(D, [i.ApprovalRequestUpdateOrg]), tt = !k && !et && !$e, A = ue({ transactionId: u ? E : void 0 }), j = A.data, M = j?.applied_policy_id || void 0, nt = ne({
|
|
111
111
|
objectType: te.Transaction,
|
|
112
112
|
enabled: u && !!M
|
|
113
113
|
}).data?.data?.find((e) => e.id === M), rt = me({ transactionId: u ? E : void 0 }), N = rt.latestRequest, P = pe({ enabled: u }), F = he(), it = fe(), I = de(), at = ae({ enabled: u && O }), ot = se({ enabled: u && O }), st = ce({ enabled: u && O }), L = le({
|
|
@@ -185,10 +185,10 @@ function u({ open: u, onClose: Re, selectedTransactionId: ze, actionItemIds: Be,
|
|
|
185
185
|
} finally {
|
|
186
186
|
x(!1);
|
|
187
187
|
}
|
|
188
|
-
}, Z = je(nt?.trigger), At = Z.greaterThanCents == null ? void 0 :
|
|
188
|
+
}, Z = je(nt?.trigger), At = Z.greaterThanCents == null ? void 0 : n(Z.greaterThanCents / 100, {
|
|
189
189
|
currencyCode: j?.merchant_currency,
|
|
190
190
|
includeSpaceAfterCurrencySymbol: !1
|
|
191
|
-
}), jt = Z.lessThanCents == null ? void 0 :
|
|
191
|
+
}), jt = Z.lessThanCents == null ? void 0 : n(Z.lessThanCents / 100, {
|
|
192
192
|
currencyCode: j?.merchant_currency,
|
|
193
193
|
includeSpaceAfterCurrencySymbol: !1
|
|
194
194
|
}), Mt = R === "approved" || R === "rejected" ? L.data?.data : void 0, Nt = Pe(Mt), Q = Me(Mt), $ = Ne(N), Pt = R === "approved" && (Q.source ? Q.source === "auto" : $ === 0), Ft = R === "approved" && (Q.source ? Q.source !== "auto" : $ > 0), It = Nt ?? (At || jt ? void 0 : nt?.name);
|
|
@@ -209,10 +209,10 @@ function u({ open: u, onClose: Re, selectedTransactionId: ze, actionItemIds: Be,
|
|
|
209
209
|
open: u,
|
|
210
210
|
onClose: G,
|
|
211
211
|
transactionId: E,
|
|
212
|
-
transactionDate:
|
|
212
|
+
transactionDate: t(j?.started_at?.slice(0, 10), { month: "long" }),
|
|
213
213
|
status: R,
|
|
214
214
|
hasValidationError: !!j?.has_validation_errors,
|
|
215
|
-
amount:
|
|
215
|
+
amount: n(Math.abs(z) / 100, {
|
|
216
216
|
currencyCode: j?.merchant_currency,
|
|
217
217
|
includeSpaceAfterCurrencySymbol: !1
|
|
218
218
|
}),
|
package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js
CHANGED
|
@@ -2,9 +2,12 @@ import { usePaymentTermsQuery as e } from "../../../shared/data-access/dist/lib/
|
|
|
2
2
|
import "../../../shared/data-access/dist/index.js";
|
|
3
3
|
import "./index2.js";
|
|
4
4
|
import "./index3.js";
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import "./index8.js";
|
|
5
|
+
import "./index4.js";
|
|
6
|
+
import { useSendReceivableEmailMutation as t } from "./index5.js";
|
|
7
|
+
import { useAcceptReceivableMutation as n, useCancelReceivableMutation as r, useCloneReceivableMutation as i, useCreateReceivableMutation as a, useDeclineReceivableMutation as o, useDeleteReceivableMutation as s, useIssueReceivableMutation as c, useUpdateReceivableMutation as l } from "./index6.js";
|
|
8
|
+
import "./index7.js";
|
|
9
|
+
import { useMarkReceivablePaidMutation as u, useMarkReceivablePartiallyPaidMutation as d, useMarkReceivableUncollectibleMutation as f } from "./index8.js";
|
|
10
|
+
import { useReceivableHistoryQuery as p, useReceivableMailsQuery as m, useReceivablePdfLinkQuery as h, useReceivableQuery as g, useReceivablesQuery as _ } from "./index9.js";
|
|
11
|
+
import "./index10.js";
|
|
12
|
+
import "./index11.js";
|
|
10
13
|
export { n as useAcceptReceivableMutation, r as useCancelReceivableMutation, i as useCloneReceivableMutation, a as useCreateReceivableMutation, o as useDeclineReceivableMutation, s as useDeleteReceivableMutation, c as useIssueReceivableMutation, u as useMarkReceivablePaidMutation, d as useMarkReceivablePartiallyPaidMutation, f as useMarkReceivableUncollectibleMutation, e as usePaymentTermsQuery, p as useReceivableHistoryQuery, m as useReceivableMailsQuery, h as useReceivablePdfLinkQuery, g as useReceivableQuery, _ as useReceivablesQuery, t as useSendReceivableEmailMutation, l as useUpdateReceivableMutation };
|