@tesouro/embedded-components-react 0.5.189 → 0.5.191
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -1
- package/dist/lib/BankAccountsWidget.d.ts +0 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/WidgetSuite.d.ts +0 -1
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index5.js +34 -34
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index3.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index25.js +263 -263
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index5.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index7.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index7.js +89 -89
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +33 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index10.js +29 -74
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index11.js +18 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index12.js +24 -42
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index13.js +13 -327
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js +31 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index15.js +8 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index16.js +92 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index17.js +20 -137
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index18.js +69 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index19.js +58 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index2.js +35 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index20.js +47 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index21.js +88 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index22.js +36 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index23.js +35 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index24.js +40 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index25.js +34 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index26.js +34 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index27.js +34 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index28.js +36 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index29.js +36 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index3.js +16 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index30.js +36 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index31.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index32.js +35 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index33.js +49 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index34.js +36 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index35.js +47 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index36.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index37.js +15 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index38.js +35 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index39.js +55 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index4.js +27 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index40.js +20 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index41.js +43 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index42.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index43.js +35 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index44.js +29 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index45.js +29 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index46.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index47.js +39 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index5.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index6.js +35 -255
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index7.js +59 -123
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index8.js +13 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index9.js +29 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +19 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +5 -62
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +15 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +22 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +51 -211
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +84 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +5 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +31 -62
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +167 -81
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +56 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +46 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +47 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +13 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +8 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +7 -163
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +61 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +24 -45
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +162 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +4 -56
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +25 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +32 -57
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +96 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +81 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +3 -158
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +45 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +111 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +189 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +69 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +38 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +29 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +89 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +412 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +12 -97
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +83 -82
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +80 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +224 -134
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +44 -45
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +247 -109
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +22 -191
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +6 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +614 -66
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +4 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +42 -89
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +243 -398
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +3 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +3 -86
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +43 -80
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +1 -232
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +6 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +11 -252
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +24 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +130 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +3 -628
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +6 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +127 -40
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +8 -257
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +10 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +82 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +22 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +29 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +83 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +48 -130
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +262 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +32 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +387 -124
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +307 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +4 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +4 -81
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +111 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +37 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +24 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +222 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +46 -42
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +10 -126
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +105 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +28 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +73 -126
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +30 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +8 -106
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index108.js +181 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index109.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index110.js +12 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index111.js +108 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index112.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index113.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index114.js +52 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index115.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +1 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +2 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +32 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +19 -135
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +137 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +78 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +278 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +56 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +1 -106
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +15 -76
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +51 -275
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +368 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +19 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +92 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +25 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +43 -363
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +48 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +10 -93
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +197 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +1 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +2 -52
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +75 -184
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +46 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +313 -36
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +6 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +26 -81
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +2 -317
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +13 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +170 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +34 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +2 -170
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +39 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +195 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +2 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +14 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +2 -201
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +20 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +1 -508
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +62 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +14 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +493 -77
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index87.js → ui/dist/index88.js} +1 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +5 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +88 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +5 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +5 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +2 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/billDetailLabels.js +146 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/derivePayableStatus.js +62 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/formatBillMoney.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/formatScheduledDateLabel.js +12 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/isEditablePayableStatus.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/isLiveScheduledPaymentRecord.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/maskAccountNumber.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableDuplicates.js +48 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableTotals.js +18 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveAmountDue.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveLineItemAmount.js +11 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveLineItemQuantity.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveVendor.js +9 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/widgetName.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +95 -95
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index4.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index13.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index2.js +31 -18
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index4.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index5.js +23 -190
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +163 -50
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +1 -80
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index8.js +101 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index9.js +85 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index7.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index8.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index9.js +104 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/useRemoteCheckCaptureWidget.js +47 -47
- package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/feature/dist/index4.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/subEntityForms.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useAddressForm.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartDetails.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +53 -53
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartSelector.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +35 -35
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetTokenRefreshProvider.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/mergeLabelTree.js +12 -0
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index6.js +46 -46
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index4.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +0 -86
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +0 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +0 -263
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +0 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +0 -392
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +0 -310
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +0 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index89.js +0 -114
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index90.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index91.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +0 -2
|
@@ -2,172 +2,16 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
6
|
-
import { useAllBankAccountsQuery as t } from "../../../shared/data-access/dist/lib/bank-account/useAllBankAccountsQuery.js";
|
|
7
|
-
import "../../../shared/data-access/dist/index.js";
|
|
8
|
-
import "../../../shared/ui/dist/index.js";
|
|
9
|
-
import { useAnalyticsCaptureException as n } from "../../../shared/feature/dist/lib/analytics/hooks.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
|
-
import { extractApiErrorMessage as a } from "../../../shared/util/dist/lib/apiErrors.js";
|
|
13
|
-
import "../../../shared/feature/dist/index.js";
|
|
14
|
-
import { useSchedulePaymentMutation as o } from "../../data-access/dist/index12.js";
|
|
5
|
+
import { usePayableHistoryQuery as e } from "../../data-access/dist/index17.js";
|
|
15
6
|
import "../../data-access/dist/index.js";
|
|
16
|
-
import { dateToCalendarKey as s, getDefaultPaymentDate as c, isPastEasternDate as l, isTodayInEastern as u } from "./index16.js";
|
|
17
|
-
import { maskAccountNumber as d } from "./index22.js";
|
|
18
|
-
import { deriveSourceAccountFunds as f, mapSourceAccountOptions as p } from "./index23.js";
|
|
19
|
-
import { mergePayBillFlowLabels as m } from "./index24.js";
|
|
20
|
-
import { useMemo as h, useState as g } from "react";
|
|
21
7
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
function v({ selectedDate: e, selectedAccount: t, amountDueMinorUnits: n, labels: r }) {
|
|
26
|
-
if (!e) return {
|
|
27
|
-
ok: !1,
|
|
28
|
-
error: r.selectDateError
|
|
29
|
-
};
|
|
30
|
-
if (l(e)) return {
|
|
31
|
-
ok: !1,
|
|
32
|
-
error: r.staleDateError
|
|
33
|
-
};
|
|
34
|
-
if (!t) return {
|
|
35
|
-
ok: !1,
|
|
36
|
-
error: r.selectAccountError
|
|
37
|
-
};
|
|
38
|
-
let i = f({
|
|
39
|
-
selectedAccount: t,
|
|
40
|
-
amountDueMinorUnits: n,
|
|
41
|
-
isToday: u(e),
|
|
42
|
-
labels: r
|
|
43
|
-
});
|
|
44
|
-
return i.state === "error" ? {
|
|
45
|
-
ok: !1,
|
|
46
|
-
error: i.message ?? r.todayInsufficientFunds
|
|
47
|
-
} : {
|
|
48
|
-
ok: !0,
|
|
49
|
-
date: e,
|
|
50
|
-
account: t
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
function y({ payableId: l, amountDueMinorUnits: y, currencyCode: b = "USD", dueDate: x, vendorName: S, vendorEmail: C, vendorBankAccount: w, isVendorBankAccountLoading: T, isVendorBankAccountError: E, onMissingAchInstructions: D, poweredByBankName: O, labels: k }) {
|
|
54
|
-
let A = h(() => m(k), [k]), j = S ?? A.missingVendorName, [M, N] = g(!1), [P, F] = g(!1), [I, L] = g(() => c()), [R, z] = g(), B = t({ enabled: M || P }), V = o(), H = n(), U = h(() => p(B.data?.data ?? [], A), [B.data?.data, A]), W = U.find((e) => e.id === R), G = I ? u(I) : !1, K = { before: c() }, q = f({
|
|
55
|
-
selectedAccount: W,
|
|
56
|
-
amountDueMinorUnits: y,
|
|
57
|
-
isToday: G,
|
|
58
|
-
labels: A
|
|
59
|
-
}), J = i(y / 100, { currencyCode: b }), Y = I ? r(s(I)) : void 0, X = x ? A.dueDateSuffix(r(x)) : void 0, Z = () => v({
|
|
60
|
-
selectedDate: I,
|
|
61
|
-
selectedAccount: W,
|
|
62
|
-
amountDueMinorUnits: y,
|
|
63
|
-
labels: A
|
|
64
|
-
}), Q = () => {
|
|
65
|
-
if (T) {
|
|
66
|
-
e.error(A.checkingPaymentInstructionsError);
|
|
67
|
-
return;
|
|
68
|
-
}
|
|
69
|
-
if (E) {
|
|
70
|
-
e.error(A.paymentInstructionsUnavailableError);
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
if (!_(w)) {
|
|
74
|
-
D ? D() : e.error(A.missingPaymentInstructionsError);
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
N(!0);
|
|
78
|
-
}, $ = () => {
|
|
79
|
-
F(!1), N(!1);
|
|
80
|
-
};
|
|
8
|
+
var t = "submitted_for_approval";
|
|
9
|
+
function n({ payableId: n, enabled: r = !0 }) {
|
|
10
|
+
let i = e(n, { enabled: r });
|
|
81
11
|
return {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
open: M,
|
|
85
|
-
onOpenChange: N,
|
|
86
|
-
amountDueLabel: A.amountDue,
|
|
87
|
-
amountDue: J,
|
|
88
|
-
dueDateSuffix: X,
|
|
89
|
-
paymentAmountLabel: A.paymentAmount,
|
|
90
|
-
paymentAmount: J,
|
|
91
|
-
selectedDate: I,
|
|
92
|
-
selectedDateLabel: Y,
|
|
93
|
-
calendarDisabled: K,
|
|
94
|
-
isToday: G,
|
|
95
|
-
selectedAccountId: R,
|
|
96
|
-
accounts: U,
|
|
97
|
-
poweredByBankName: O,
|
|
98
|
-
funds: q,
|
|
99
|
-
isAccountsLoading: B.isLoading,
|
|
100
|
-
isAccountsError: B.isError,
|
|
101
|
-
isSubmitting: V.isPending,
|
|
102
|
-
onDateChange: L,
|
|
103
|
-
onAccountChange: z,
|
|
104
|
-
onReview: () => {
|
|
105
|
-
let t = Z();
|
|
106
|
-
if (!t.ok) {
|
|
107
|
-
e.error(t.error);
|
|
108
|
-
return;
|
|
109
|
-
}
|
|
110
|
-
N(!1), F(!0);
|
|
111
|
-
},
|
|
112
|
-
onCancel: $,
|
|
113
|
-
labels: A.scheduleDialog
|
|
114
|
-
},
|
|
115
|
-
reviewProps: {
|
|
116
|
-
open: P,
|
|
117
|
-
onOpenChange: F,
|
|
118
|
-
amountLabel: A.paymentAmount,
|
|
119
|
-
amount: J,
|
|
120
|
-
rows: [{
|
|
121
|
-
label: A.sourceAccount,
|
|
122
|
-
value: W?.primaryLabel ?? ""
|
|
123
|
-
}, {
|
|
124
|
-
label: A.paymentDate,
|
|
125
|
-
value: Y ?? ""
|
|
126
|
-
}],
|
|
127
|
-
payTo: {
|
|
128
|
-
name: j,
|
|
129
|
-
email: C,
|
|
130
|
-
methodLabel: A.achMethod,
|
|
131
|
-
fields: _(w) ? [
|
|
132
|
-
{
|
|
133
|
-
label: A.routingNumber,
|
|
134
|
-
value: w.routing_number
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
label: A.accountNumber,
|
|
138
|
-
value: w.account_number,
|
|
139
|
-
maskedValue: d(w.account_number)
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
label: A.accountHolder,
|
|
143
|
-
value: w.account_holder_name
|
|
144
|
-
}
|
|
145
|
-
] : []
|
|
146
|
-
},
|
|
147
|
-
isSubmitting: V.isPending,
|
|
148
|
-
onBack: () => {
|
|
149
|
-
F(!1), N(!0);
|
|
150
|
-
},
|
|
151
|
-
onCancel: $,
|
|
152
|
-
onSubmit: async () => {
|
|
153
|
-
let t = Z();
|
|
154
|
-
if (!t.ok) {
|
|
155
|
-
F(!1), e.error(t.error), N(!0);
|
|
156
|
-
return;
|
|
157
|
-
}
|
|
158
|
-
try {
|
|
159
|
-
await V.mutateAsync({
|
|
160
|
-
payableId: l,
|
|
161
|
-
paymentDate: s(t.date),
|
|
162
|
-
sourceBankAccountId: t.account.id
|
|
163
|
-
}), $(), e.success(A.scheduledToast);
|
|
164
|
-
} catch (t) {
|
|
165
|
-
H(t, { payable_id: l }), e.error(a(t) ?? A.submitError);
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
labels: A.reviewDialog
|
|
169
|
-
}
|
|
12
|
+
roundStartedAt: (i.data?.data ?? []).reduce((e, n) => n.event_type === t ? n.timestamp : e, void 0),
|
|
13
|
+
isLoading: i.isLoading
|
|
170
14
|
};
|
|
171
15
|
}
|
|
172
16
|
//#endregion
|
|
173
|
-
export {
|
|
17
|
+
export { n as usePayableApprovalRoundStart };
|
|
@@ -2,48 +2,68 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
5
|
+
import { hasAnyScope as e } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
6
|
+
import { Scope as t } from "../../../shared/data-access/dist/lib/scopes.js";
|
|
7
|
+
import { useAllOrganizationRolesQuery as n } from "../../../shared/data-access/dist/lib/role/useAllOrganizationRolesQuery.js";
|
|
8
|
+
import { useAllOrganizationUsersQuery as r } from "../../../shared/data-access/dist/lib/user/useAllOrganizationUsersQuery.js";
|
|
9
|
+
import "../../../shared/data-access/dist/index.js";
|
|
10
|
+
import { useWidgetConfig as i } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
6
11
|
import "../../../shared/feature/dist/index.js";
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import "
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import "
|
|
17
|
-
import { useImperativeHandle as l } from "react";
|
|
18
|
-
import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
12
|
+
import { usePayableApprovalRequestsQuery as a } from "../../data-access/dist/index16.js";
|
|
13
|
+
import "../../data-access/dist/index.js";
|
|
14
|
+
import { useGetApprovalPoliciesQuery as o } from "../../../shared/approval-policy/data-access/dist/lib/approvalPoliciesApi.js";
|
|
15
|
+
import "../../../shared/approval-policy/data-access/dist/index.js";
|
|
16
|
+
import { buildApprovalPolicyCardView as s } from "./index22.js";
|
|
17
|
+
import { currentApprovalRound as c } from "./index3.js";
|
|
18
|
+
import { usePayableApprovalRoundStart as l } from "./index25.js";
|
|
19
|
+
import { buildPendingApproverGroups as u } from "./index23.js";
|
|
20
|
+
import { buildPendingApproverGroupsFromCardView as d } from "./index24.js";
|
|
21
|
+
import { useMemo as f } from "react";
|
|
19
22
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js
|
|
20
|
-
function p({
|
|
21
|
-
let
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
23
|
+
function p({ payableId: p, approvalPolicyId: m, enabled: h = !0, copy: g }) {
|
|
24
|
+
let _ = h && !!m, { initResponse: v } = i(), y = e(v?.scopes, [t.ApprovalPolicyReadOrg]), b = e(v?.scopes, [t.ApprovalRequestReadOrg]), x = e(v?.scopes, [t.RoleReadOrg]), S = e(v?.scopes, [t.UserReadOrg]), C = o({ enabled: _ && y }), w = n({ enabled: _ && x }), T = r({ enabled: _ && S }), E = a(p, { enabled: _ && b }), { roundStartedAt: D } = l({
|
|
25
|
+
payableId: p,
|
|
26
|
+
enabled: _ && b
|
|
27
|
+
}), O = f(() => {
|
|
28
|
+
let e = /* @__PURE__ */ new Map();
|
|
29
|
+
for (let t of w.data?.data ?? []) e.set(t.id, {
|
|
30
|
+
label: t.name,
|
|
31
|
+
kind: "role"
|
|
32
|
+
});
|
|
33
|
+
for (let t of T.data?.data ?? []) e.set(t.id, {
|
|
34
|
+
label: t.name,
|
|
35
|
+
kind: "user"
|
|
36
|
+
});
|
|
37
|
+
return e;
|
|
38
|
+
}, [w.data, T.data]), k = f(() => c(E.data?.data, D), [E.data, D]), A = f(() => new Set(k.flatMap((e) => e.approved_by ?? [])), [k]), j = f(() => new Set(k.filter((e) => (e.approved_by ?? []).length > 0).flatMap((e) => e.role_ids ?? [])), [k]), M = f(() => m ? C.data?.data.find((e) => e.id === m) : void 0, [C.data, m]), N = f(() => _ && M ? s({
|
|
39
|
+
policy: M,
|
|
40
|
+
lookup: O,
|
|
41
|
+
approvedUserIds: A,
|
|
42
|
+
approvedRoleIds: j,
|
|
43
|
+
copy: g
|
|
44
|
+
}) : void 0, [
|
|
45
|
+
_,
|
|
46
|
+
M,
|
|
47
|
+
O,
|
|
48
|
+
A,
|
|
49
|
+
j,
|
|
50
|
+
g
|
|
51
|
+
]);
|
|
52
|
+
return {
|
|
53
|
+
view: N,
|
|
54
|
+
pendingApprovers: f(() => _ ? N ? d(N) : u({
|
|
55
|
+
requestsNewestFirst: E.data?.data,
|
|
56
|
+
roundStartedAt: D,
|
|
57
|
+
lookup: O
|
|
58
|
+
}) : [], [
|
|
59
|
+
_,
|
|
60
|
+
N,
|
|
61
|
+
E.data,
|
|
62
|
+
D,
|
|
63
|
+
O
|
|
64
|
+
]),
|
|
65
|
+
isLoading: !!m && (!h || C.isResolving || w.isResolving || T.isResolving || E.isLoading || E.isError || !b)
|
|
66
|
+
};
|
|
47
67
|
}
|
|
48
68
|
//#endregion
|
|
49
|
-
export { p as
|
|
69
|
+
export { p as useApprovalPolicyCardView };
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import { formatRejectionDate as e } from "../../../shared/util/dist/lib/formatRejectionDate.js";
|
|
2
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js
|
|
3
|
+
function t({ payableStatus: t, approvalRequests: n, userNames: r, payableUpdatedAt: i, labels: a, now: o }) {
|
|
4
|
+
let s = n.find((e) => e.status === "rejected");
|
|
5
|
+
if (!s) return t !== "rejected" || !i ? void 0 : { actorLabel: a.rejectedOn(e(i, o)) };
|
|
6
|
+
let c = s.rejected_by ? r.get(s.rejected_by) : void 0, l = e(s.updated_at, o);
|
|
7
|
+
return {
|
|
8
|
+
actorLabel: c ? a.rejectedByOn(c, l) : a.rejectedOn(l),
|
|
9
|
+
message: s.reject_reason ? a.rejectionMessage(s.reject_reason) : void 0
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { t as resolveBillRejectionNotice };
|
|
@@ -1,50 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import "../../../shared/
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { hasAnyScope as e } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
6
|
+
import { useCurrentUserQuery as t } from "../../../shared/data-access/dist/lib/useCurrentUserQuery.js";
|
|
7
|
+
import { Scope as n } from "../../../shared/data-access/dist/lib/scopes.js";
|
|
8
|
+
import "../../../shared/data-access/dist/index.js";
|
|
9
|
+
import { useWidgetConfig as r } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
10
|
+
import "../../../shared/feature/dist/index.js";
|
|
11
|
+
import { usePayableApprovalRequestsQuery as i } from "../../data-access/dist/index16.js";
|
|
12
|
+
import "../../data-access/dist/index.js";
|
|
13
|
+
import { currentApprovalRound as a } from "./index3.js";
|
|
14
|
+
import { usePayableApprovalRoundStart as o } from "./index25.js";
|
|
6
15
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
ruleSentenceRange: e.ruleSentenceRange,
|
|
13
|
-
ruleSentenceUpTo: e.ruleSentenceUpTo,
|
|
14
|
-
ruleSentenceFrom: e.ruleSentenceFrom,
|
|
15
|
-
ruleSentenceAny: e.ruleSentenceAny
|
|
16
|
-
};
|
|
17
|
-
function o({ policy: a, lookup: o, approvedUserIds: s, approvedRoleIds: c, copy: l }) {
|
|
18
|
-
let u = t(a.script);
|
|
19
|
-
if (!u.groups.length || !u.isSupported) return;
|
|
20
|
-
let d = [];
|
|
21
|
-
for (let [e, t] of u.groups.entries()) {
|
|
22
|
-
let n = [];
|
|
23
|
-
for (let e of [...t.roleIds, ...t.userIds]) {
|
|
24
|
-
let t = o.get(e);
|
|
25
|
-
t && n.push({
|
|
26
|
-
id: e,
|
|
27
|
-
label: t.label,
|
|
28
|
-
approved: t.kind === "user" ? s.has(e) : !!c?.has(e)
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
n.length && d.push({
|
|
32
|
-
id: `group-${e + 1}`,
|
|
33
|
-
chips: n
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
if (!d.length) return;
|
|
37
|
-
let { condition: f, hasKnownAmountBounds: p } = n(a.trigger);
|
|
38
|
-
if (!p) return;
|
|
39
|
-
let m = {
|
|
40
|
-
...e,
|
|
41
|
-
...l
|
|
42
|
-
};
|
|
16
|
+
function s({ payableId: s, status: c }) {
|
|
17
|
+
let { initResponse: l } = r(), u = e(l?.scopes, [n.ApprovalRequestReadOrg]), d = c === "approve_in_progress" && u, f = i(s, { enabled: d }), p = t({ enabled: d }), { roundStartedAt: m } = o({
|
|
18
|
+
payableId: s,
|
|
19
|
+
enabled: d
|
|
20
|
+
}), h = p.data?.id, g = d ? a(f.data?.data, m) : [], _ = (e) => e.caller_is_policy_approver ?? !!(h && e.user_ids.includes(h)), v = g.some(_), y = g.filter((e) => e.status === "waiting");
|
|
43
21
|
return {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
22
|
+
id: y.filter(_).find((e) => !(h && (e.approved_by ?? []).includes(h)))?.id,
|
|
23
|
+
isPolicyApprover: v,
|
|
24
|
+
hasWaitingRequest: y.length > 0,
|
|
25
|
+
isLoading: f.isLoading || p.isLoading
|
|
47
26
|
};
|
|
48
27
|
}
|
|
49
28
|
//#endregion
|
|
50
|
-
export {
|
|
29
|
+
export { s as useCurrentApprovalRequestId };
|
|
@@ -1,16 +1,165 @@
|
|
|
1
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { toast as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import "../../../shared/ui/dist/index.js";
|
|
7
|
+
import { useWidgetConfig as t } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
8
|
+
import "../../../shared/feature/dist/index.js";
|
|
9
|
+
import { useApprovePayableApprovalRequestMutation as n, useRejectPayableApprovalRequestMutation as r } from "../../data-access/dist/index16.js";
|
|
10
|
+
import { useCancelPayableMutation as i } from "../../data-access/dist/index23.js";
|
|
11
|
+
import { useCancelScheduledPaymentMutation as a } from "../../data-access/dist/index24.js";
|
|
12
|
+
import { useForceApprovePayableMutation as o } from "../../data-access/dist/index28.js";
|
|
13
|
+
import { useForceRejectPayableMutation as s } from "../../data-access/dist/index29.js";
|
|
14
|
+
import { useReopenPayableMutation as c } from "../../data-access/dist/index32.js";
|
|
15
|
+
import "../../data-access/dist/index.js";
|
|
16
|
+
import { getBillDetailActions as l } from "./index15.js";
|
|
17
|
+
import { useState as u } from "react";
|
|
18
|
+
import { BanIcon as d, HandIcon as f } from "lucide-react";
|
|
2
19
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js
|
|
3
|
-
function
|
|
4
|
-
let
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
20
|
+
function p({ payableId: d, status: f, currentApprovalRequestId: p, arePendingApproversUnknown: m, hasScheduledPayment: h, scheduledPaymentIntentId: g, isScheduledPaymentUnknown: v, isPayabilityUnknown: x, labels: S, isMarkAsPaidPending: C, hasApprovalPolicy: w = !0, hasWaitingRequest: T, pendingApprovers: E, onPayBillSelect: D, onMarkAsPaidSelect: O, onEditSelect: k, onActionSucceeded: A }) {
|
|
21
|
+
let { initResponse: j } = t(), M = r(), N = n(), P = i(), F = a(), I = c(), L = o(), R = s(), z = C || M.isPending || N.isPending || P.isPending || F.isPending || I.isPending || L.isPending || R.isPending, [B, V] = u(), H = B && (B.id !== "cancelScheduledPayment" || B.scheduledPaymentIntentId === g) ? B : void 0, U = d && f ? l({
|
|
22
|
+
status: f,
|
|
23
|
+
scopes: j?.scopes,
|
|
24
|
+
canDecideApprovalRequest: !!p,
|
|
25
|
+
arePendingApproversUnknown: m,
|
|
26
|
+
hasApprovalPolicy: w,
|
|
27
|
+
hasWaitingRequest: T,
|
|
28
|
+
hasScheduledPayment: h || v,
|
|
29
|
+
scheduledPaymentIntentId: g,
|
|
30
|
+
isPayabilityUnknown: x,
|
|
31
|
+
canEdit: !!k,
|
|
32
|
+
labels: S
|
|
33
|
+
}) : [], W = (t) => ({
|
|
34
|
+
onError: () => e.error(S.actionError),
|
|
35
|
+
onSuccess: () => {
|
|
36
|
+
let n = b(t) && !w ? `${t}NoApprovalPolicy` : t;
|
|
37
|
+
e.success(S.actionSuccess[n]), A?.(t);
|
|
38
|
+
}
|
|
39
|
+
}), G = {
|
|
40
|
+
reject: {
|
|
41
|
+
isPending: M.isPending,
|
|
42
|
+
run: (e) => p && M.mutate({
|
|
43
|
+
path: { approval_request_id: p },
|
|
44
|
+
body: e ? { reject_reason: e } : void 0
|
|
45
|
+
}, W("reject"))
|
|
46
|
+
},
|
|
47
|
+
approve: {
|
|
48
|
+
isPending: N.isPending,
|
|
49
|
+
run: () => p && N.mutate({ path: { approval_request_id: p } }, W("approve"))
|
|
50
|
+
},
|
|
51
|
+
cancel: {
|
|
52
|
+
isPending: P.isPending,
|
|
53
|
+
run: () => d && P.mutate({ path: { payable_id: d } }, W("cancel"))
|
|
54
|
+
},
|
|
55
|
+
cancelScheduledPayment: {
|
|
56
|
+
isPending: F.isPending,
|
|
57
|
+
run: () => {
|
|
58
|
+
let e = H?.scheduledPaymentIntentId;
|
|
59
|
+
d && e && F.mutate({
|
|
60
|
+
path: { payment_intent_id: e },
|
|
61
|
+
payableId: d
|
|
62
|
+
}, W("cancelScheduledPayment"));
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
reopen: {
|
|
66
|
+
isPending: I.isPending,
|
|
67
|
+
run: () => d && I.mutate({ path: { payable_id: d } }, W("reopen"))
|
|
68
|
+
},
|
|
69
|
+
forceApprove: {
|
|
70
|
+
isPending: L.isPending,
|
|
71
|
+
run: () => d && L.mutate({ path: { payable_id: d } }, W("forceApprove"))
|
|
72
|
+
},
|
|
73
|
+
forceReject: {
|
|
74
|
+
isPending: R.isPending,
|
|
75
|
+
run: () => d && R.mutate({ path: { payable_id: d } }, W("forceReject"))
|
|
76
|
+
}
|
|
77
|
+
}, K = U.map((e) => ({
|
|
78
|
+
...e,
|
|
79
|
+
disabled: z,
|
|
80
|
+
loading: e.id === "markAsPaid" ? C : G[e.id]?.isPending ?? !1,
|
|
81
|
+
onSelect: () => {
|
|
82
|
+
if (!z && d) {
|
|
83
|
+
if (e.id === "payBill") {
|
|
84
|
+
D();
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
if (e.id === "markAsPaid") {
|
|
88
|
+
O();
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
if (e.id === "edit") {
|
|
92
|
+
k?.();
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
if (y(e.id)) {
|
|
96
|
+
V({
|
|
97
|
+
id: e.id,
|
|
98
|
+
scheduledPaymentIntentId: g
|
|
99
|
+
});
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
G[e.id]?.run();
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}));
|
|
106
|
+
return {
|
|
107
|
+
isActionPending: z,
|
|
108
|
+
actions: {
|
|
109
|
+
row: K.filter((e) => e.surface === "row"),
|
|
110
|
+
menu: K.filter((e) => e.surface === "menu")
|
|
111
|
+
},
|
|
112
|
+
decisionDialog: {
|
|
113
|
+
open: !!H,
|
|
114
|
+
copy: H ? {
|
|
115
|
+
...S.decisionDialog[H.id],
|
|
116
|
+
...b(H.id) && !w ? S.decisionDialog[H.id].noApprovalPolicy : void 0,
|
|
117
|
+
presentation: _(H.id),
|
|
118
|
+
pendingApprovers: b(H.id) ? E ?? [] : void 0
|
|
119
|
+
} : void 0,
|
|
120
|
+
isPending: H ? G[H.id]?.isPending ?? !1 : !1,
|
|
121
|
+
onCancel: () => {
|
|
122
|
+
z || V(void 0);
|
|
123
|
+
},
|
|
124
|
+
onConfirm: (e) => {
|
|
125
|
+
H && !z && (G[H.id]?.run(e), V(void 0));
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
var m = {
|
|
131
|
+
alignment: "center",
|
|
132
|
+
icon: f,
|
|
133
|
+
tone: "destructive",
|
|
134
|
+
actionWidth: "equal"
|
|
135
|
+
}, h = {
|
|
136
|
+
alignment: "center",
|
|
137
|
+
icon: d,
|
|
138
|
+
tone: "destructive",
|
|
139
|
+
actionWidth: "equal"
|
|
140
|
+
}, g = {
|
|
141
|
+
alignment: "center",
|
|
142
|
+
icon: d,
|
|
143
|
+
tone: "destructive",
|
|
144
|
+
actionWidth: "equal"
|
|
145
|
+
};
|
|
146
|
+
function _(e) {
|
|
147
|
+
if (b(e)) return m;
|
|
148
|
+
if (e === "reject") return h;
|
|
149
|
+
if (e === "cancel") return g;
|
|
150
|
+
}
|
|
151
|
+
var v = [
|
|
152
|
+
"reject",
|
|
153
|
+
"cancel",
|
|
154
|
+
"cancelScheduledPayment",
|
|
155
|
+
"forceApprove",
|
|
156
|
+
"forceReject"
|
|
157
|
+
];
|
|
158
|
+
function y(e) {
|
|
159
|
+
return v.includes(e);
|
|
160
|
+
}
|
|
161
|
+
function b(e) {
|
|
162
|
+
return e === "forceApprove" || e === "forceReject";
|
|
14
163
|
}
|
|
15
164
|
//#endregion
|
|
16
|
-
export {
|
|
165
|
+
export { p as usePayableDetailActions };
|
|
@@ -1,59 +1,7 @@
|
|
|
1
|
-
import { formatCalendarDate as e } from "../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
2
|
-
import { formatBillMoney as t } from "./index2.js";
|
|
3
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"payment_reverted"
|
|
8
|
-
]);
|
|
9
|
-
function r(e, t) {
|
|
10
|
-
let n = e?.[t];
|
|
11
|
-
return typeof n == "string" && n ? n : void 0;
|
|
12
|
-
}
|
|
13
|
-
function i(e, t) {
|
|
14
|
-
let n = e?.[t];
|
|
15
|
-
return typeof n == "number" ? n : void 0;
|
|
16
|
-
}
|
|
17
|
-
function a(e) {
|
|
18
|
-
let t;
|
|
19
|
-
for (let n of e.history ?? []) n.status === e.status && (t = n.timestamp);
|
|
20
|
-
return t;
|
|
21
|
-
}
|
|
22
|
-
var o = /* @__PURE__ */ new Set(["created", "processing"]);
|
|
23
|
-
function s(e, t) {
|
|
24
|
-
if (e) return t[e.toLowerCase()] ?? e.split("_").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ");
|
|
25
|
-
}
|
|
26
|
-
function c({ records: c, events: l = [], currencyCode: u, labels: d }) {
|
|
27
|
-
let f = (e) => t(e, u), p = (e) => e?.slice(0, 10) ?? "", m = [], h = new Set(c.map((e) => e.id));
|
|
28
|
-
for (let t of c) {
|
|
29
|
-
let n = o.has(t.status ?? ""), r = t.paid_at ?? a(t), i = n ? t.planned_payment_date : r?.slice(0, 10) ?? t.planned_payment_date, c = t.status === "succeeded" ? d.paymentHistorySentLabel : n ? d.paymentHistoryScheduledLabel : t.status === "canceled" ? d.paymentHistoryCanceledLabel : d.paymentHistoryOtherLabel, l = s(t.payment_method, d.paymentHistoryMethodLabels), u = t.overpaid_amount && t.overpaid_amount > 0 ? f(t.overpaid_amount) : void 0;
|
|
30
|
-
m.push({
|
|
31
|
-
key: p(i),
|
|
32
|
-
view: {
|
|
33
|
-
id: t.id,
|
|
34
|
-
dateLabel: e(i),
|
|
35
|
-
statusLabel: l ? d.paymentHistoryMethodSuffix(c, l) : c,
|
|
36
|
-
amountLabel: f(t.amount) ?? "",
|
|
37
|
-
overpaidLabel: u ? d.paymentHistoryOverpaidLabel(u) : void 0
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
for (let t of l) {
|
|
42
|
-
if (!n.has(t.event_type)) continue;
|
|
43
|
-
let a = t.event_data, o = r(a, "payment_record_id");
|
|
44
|
-
if (o && h.has(o)) continue;
|
|
45
|
-
let c = a?.is_external === !0, l = t.event_type === "payment_reverted" ? d.paymentHistoryRevertedLabel : t.event_type === "marked_as_partially_paid" ? c ? d.paymentHistoryPartiallyPaidExternalLabel : d.paymentHistoryPartiallyPaidLabel : c ? d.paymentHistoryMarkedPaidExternalLabel : d.paymentHistoryMarkedPaidLabel, u = s(r(a, "payment_method"), d.paymentHistoryMethodLabels), g = r(a, "paid_at") ?? t.timestamp;
|
|
46
|
-
m.push({
|
|
47
|
-
key: p(g),
|
|
48
|
-
view: {
|
|
49
|
-
id: `event:${t.id}`,
|
|
50
|
-
dateLabel: e(g?.slice(0, 10)),
|
|
51
|
-
statusLabel: u ? d.paymentHistoryMethodSuffix(l, u) : l,
|
|
52
|
-
amountLabel: f(i(a, "amount_paid")) ?? ""
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
return m.slice().sort((e, t) => !e.key || !t.key ? e.key ? -1 : +!!t.key : e.key.localeCompare(t.key)).map((e) => e.view);
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
let n = e ?? [];
|
|
4
|
+
return t ? n.filter((e) => !e.created_at || e.created_at >= t) : n.slice(0, 1);
|
|
57
5
|
}
|
|
58
6
|
//#endregion
|
|
59
|
-
export {
|
|
7
|
+
export { e as currentApprovalRound };
|
|
@@ -1,11 +1,28 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { useEffect as e, useState as t } from "react";
|
|
1
6
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
var n = (e) => [
|
|
8
|
+
e.getFullYear(),
|
|
9
|
+
String(e.getMonth() + 1).padStart(2, "0"),
|
|
10
|
+
String(e.getDate()).padStart(2, "0")
|
|
11
|
+
].join("-"), r = (e) => new Date(e.getFullYear(), e.getMonth(), e.getDate() + 1).getTime() - e.getTime();
|
|
12
|
+
function i() {
|
|
13
|
+
let [i, a] = t();
|
|
14
|
+
return e(() => {
|
|
15
|
+
let e, t = () => a(n(/* @__PURE__ */ new Date())), i = () => {
|
|
16
|
+
e = setTimeout(() => {
|
|
17
|
+
t(), i();
|
|
18
|
+
}, r(/* @__PURE__ */ new Date()));
|
|
19
|
+
}, o = () => {
|
|
20
|
+
document.visibilityState === "visible" && (t(), clearTimeout(e), i());
|
|
21
|
+
};
|
|
22
|
+
return t(), i(), document.addEventListener("visibilitychange", o), () => {
|
|
23
|
+
clearTimeout(e), document.removeEventListener("visibilitychange", o);
|
|
24
|
+
};
|
|
25
|
+
}, []), i;
|
|
9
26
|
}
|
|
10
27
|
//#endregion
|
|
11
|
-
export {
|
|
28
|
+
export { i as useLocalCalendarDay };
|