@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,16 +2,25 @@
|
|
|
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 "../../../shared/data-access/dist/index.js";
|
|
8
|
+
import { useWidgetConfig as n } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
9
|
+
import "../../../shared/feature/dist/index.js";
|
|
10
|
+
import { isLiveScheduledPaymentRecord as r } from "../../util/dist/lib/isLiveScheduledPaymentRecord.js";
|
|
11
|
+
import { usePayablePaymentRecordsQuery as i } from "../../data-access/dist/index19.js";
|
|
6
12
|
import "../../data-access/dist/index.js";
|
|
7
13
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
let i = e(n, { enabled: r });
|
|
14
|
+
function a({ payableId: a, scheduledPaymentDate: o, enabled: s = !0 }) {
|
|
15
|
+
let { initResponse: c } = n(), l = e(c?.scopes, [t.PaymentRecordReadOrg]), u = i(s ? a : void 0, { enabled: s && l }), d = u.paymentRecords.find(r), f = !!d || !!o, p = d?.planned_payment_date ?? (f ? o : void 0);
|
|
11
16
|
return {
|
|
12
|
-
|
|
13
|
-
|
|
17
|
+
hasScheduledPayment: f,
|
|
18
|
+
paymentRecords: u.paymentRecords,
|
|
19
|
+
isError: u.isError,
|
|
20
|
+
isResolving: u.isResolving,
|
|
21
|
+
scheduledDate: p ?? void 0,
|
|
22
|
+
scheduledPaymentIntentId: d?.payment_intent_id ?? void 0
|
|
14
23
|
};
|
|
15
24
|
}
|
|
16
25
|
//#endregion
|
|
17
|
-
export {
|
|
26
|
+
export { a as useScheduledPayment };
|
|
@@ -2,68 +2,43 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { useAllOrganizationUsersQuery as r } from "../../../shared/data-access/dist/lib/user/useAllOrganizationUsersQuery.js";
|
|
5
|
+
import { toast as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import { hasAnyScope as t } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
7
|
+
import { Scope as n } from "../../../shared/data-access/dist/lib/scopes.js";
|
|
9
8
|
import "../../../shared/data-access/dist/index.js";
|
|
10
|
-
import
|
|
9
|
+
import "../../../shared/ui/dist/index.js";
|
|
10
|
+
import { useWidgetConfig as r } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
11
11
|
import "../../../shared/feature/dist/index.js";
|
|
12
|
-
import {
|
|
12
|
+
import { useDeletePayableMutation as i } from "../../data-access/dist/index27.js";
|
|
13
13
|
import "../../data-access/dist/index.js";
|
|
14
|
-
import {
|
|
15
|
-
import "../../../shared/approval-policy/data-access/dist/index.js";
|
|
16
|
-
import { buildApprovalPolicyCardView as s } from "./index28.js";
|
|
17
|
-
import { currentApprovalRound as c } from "./index4.js";
|
|
18
|
-
import { usePayableApprovalRoundStart as l } from "./index31.js";
|
|
19
|
-
import { buildPendingApproverGroups as u } from "./index29.js";
|
|
20
|
-
import { buildPendingApproverGroupsFromCardView as d } from "./index30.js";
|
|
21
|
-
import { useMemo as f } from "react";
|
|
14
|
+
import { useState as a } from "react";
|
|
22
15
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js
|
|
23
|
-
function
|
|
24
|
-
let
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
]);
|
|
16
|
+
function o({ payableId: o, status: s, enabled: c = !0, labels: l, onDeleted: u }) {
|
|
17
|
+
let { initResponse: d } = r(), f = i(), [p, m] = a(!1), h = t(d?.scopes, [n.PayableWriteOrg]), g = !!(c && o && s === "draft" && h), _ = g ? [{
|
|
18
|
+
id: "deleteDraft",
|
|
19
|
+
label: l.menuItem,
|
|
20
|
+
destructive: !0,
|
|
21
|
+
onSelect: () => m(!0)
|
|
22
|
+
}] : [], v = p && g;
|
|
52
23
|
return {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
24
|
+
menuItems: _,
|
|
25
|
+
dialog: {
|
|
26
|
+
open: v,
|
|
27
|
+
copy: v ? l.dialog : void 0,
|
|
28
|
+
isPending: f.isPending,
|
|
29
|
+
onCancel: () => {
|
|
30
|
+
f.isPending || m(!1);
|
|
31
|
+
},
|
|
32
|
+
onConfirm: () => {
|
|
33
|
+
g && o && !f.isPending && f.mutate({ path: { payable_id: o } }, {
|
|
34
|
+
onError: () => e.error(l.error),
|
|
35
|
+
onSuccess: () => {
|
|
36
|
+
m(!1), u();
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
66
41
|
};
|
|
67
42
|
}
|
|
68
43
|
//#endregion
|
|
69
|
-
export {
|
|
44
|
+
export { o as useDraftDelete };
|
|
@@ -1,13 +1,101 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { formatCalendarDate as e } from "../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
2
|
+
import { derivePayableStatus as t } from "../../util/dist/lib/derivePayableStatus.js";
|
|
3
|
+
import { formatBillMoney as n } from "../../util/dist/lib/formatBillMoney.js";
|
|
4
|
+
import { resolveLineItemAmountMinorUnits as r } from "../../util/dist/lib/resolveLineItemAmount.js";
|
|
5
|
+
import { resolveLineItemQuantity as i } from "../../util/dist/lib/resolveLineItemQuantity.js";
|
|
6
|
+
import { resolveVendor as a, resolveVendorName as o } from "../../util/dist/lib/resolveVendor.js";
|
|
2
7
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js
|
|
3
|
-
function
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
8
|
+
function s(e) {
|
|
9
|
+
return e.total_amount ?? e.amount_due ?? void 0;
|
|
10
|
+
}
|
|
11
|
+
function c(e) {
|
|
12
|
+
return typeof e == "string" ? e : "";
|
|
13
|
+
}
|
|
14
|
+
function l({ payable: l, lineItems: d, ledgerAccounts: f, labels: p, hasScheduledPayment: m, now: h, rejection: g, achInstructions: _, achInstructionsReadable: v = !1 }) {
|
|
15
|
+
let y = l.currency, b = (e) => n(e, y), x = t({
|
|
16
|
+
apiStatus: l.status,
|
|
17
|
+
dueDate: l.due_date,
|
|
18
|
+
scheduledPaymentDate: l.scheduled_payment_date,
|
|
19
|
+
hasScheduledPayment: m,
|
|
20
|
+
now: h
|
|
21
|
+
}), S = a(l), C = o(l), w = e(l.issued_at) || p.notProvided, T = e(l.due_date) || p.notProvided, E = [{
|
|
22
|
+
label: p.vendorRow,
|
|
23
|
+
value: C || p.notProvided,
|
|
24
|
+
secondaryValue: S?.email ?? void 0
|
|
25
|
+
}], D = v ? _?.account_number : void 0;
|
|
26
|
+
D && E.push({
|
|
27
|
+
label: p.bankAccountRow,
|
|
28
|
+
value: p.bankAccountValue(D.slice(-4))
|
|
29
|
+
});
|
|
30
|
+
let O = [
|
|
31
|
+
{
|
|
32
|
+
label: p.invoiceNumberRow,
|
|
33
|
+
value: l.document_id || p.notProvided
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
label: p.issueDateRow,
|
|
37
|
+
value: w
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
label: p.dueDateRow,
|
|
41
|
+
value: T
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
label: p.poNumberRow,
|
|
45
|
+
value: c(l.purchase_order_number) || p.notProvided
|
|
46
|
+
}
|
|
47
|
+
], k = new Map(f.map((e) => [e.id, [e.nominal_code, e.name].filter(Boolean).join(" — ")])), A = d.map((e) => {
|
|
48
|
+
let t = b(e.unit_price), n = String(i(e));
|
|
49
|
+
return {
|
|
50
|
+
id: e.id,
|
|
51
|
+
description: e.name ?? e.description ?? "",
|
|
52
|
+
glCodeLabel: (e.ledger_account_id ? k.get(e.ledger_account_id) : void 0) || p.glCodeMissing,
|
|
53
|
+
quantityLabel: t ? p.quantityValue(n, t) : p.quantityOnlyValue(n),
|
|
54
|
+
amountLabel: b(r(e)) ?? ""
|
|
55
|
+
};
|
|
56
|
+
}), j = [
|
|
57
|
+
{
|
|
58
|
+
label: p.subtotalRow,
|
|
59
|
+
value: l.subtotal
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
label: p.discountsRow,
|
|
63
|
+
value: l.discount
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
label: p.taxRow,
|
|
67
|
+
value: l.tax_amount
|
|
68
|
+
}
|
|
69
|
+
].map(({ label: e, value: t }) => ({
|
|
70
|
+
label: e,
|
|
71
|
+
value: b(t)
|
|
72
|
+
})).filter((e) => !!e.value), M = b(s(l));
|
|
73
|
+
M && j.push({
|
|
74
|
+
label: p.totalRow,
|
|
75
|
+
value: M,
|
|
76
|
+
emphasis: !0
|
|
77
|
+
});
|
|
78
|
+
let N = u(l);
|
|
7
79
|
return {
|
|
8
|
-
|
|
9
|
-
|
|
80
|
+
title: C,
|
|
81
|
+
subtitle: p.subtitle,
|
|
82
|
+
status: x.status,
|
|
83
|
+
statusTone: x.tone,
|
|
84
|
+
amountDueLabel: b(l.amount_due) ?? b(l.total_amount) ?? "",
|
|
85
|
+
amountPaidLabel: N ? b(l.amount_paid) : void 0,
|
|
86
|
+
paidOnLabel: N ? p.paidOnLabel(N) : void 0,
|
|
87
|
+
invoiceDateLabel: w,
|
|
88
|
+
dueDateLabel: T,
|
|
89
|
+
dueDateTone: x.isOverdue ? "danger" : "default",
|
|
90
|
+
payToItems: E,
|
|
91
|
+
invoiceItems: O,
|
|
92
|
+
lineItems: A,
|
|
93
|
+
totals: j,
|
|
94
|
+
rejection: g
|
|
10
95
|
};
|
|
11
96
|
}
|
|
97
|
+
function u(t) {
|
|
98
|
+
return t.status === "paid" && t.paid_at ? e(t.paid_at.slice(0, 10)) : void 0;
|
|
99
|
+
}
|
|
12
100
|
//#endregion
|
|
13
|
-
export {
|
|
101
|
+
export { u as getPaidAtLabel, l as mapPayableToBillDetails, s as resolveInvoiceTotalMinorUnits };
|
|
@@ -1,29 +1,86 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import "
|
|
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/index8.js";
|
|
12
|
-
import "../../data-access/dist/index.js";
|
|
13
|
-
import { currentApprovalRound as a } from "./index4.js";
|
|
14
|
-
import { usePayableApprovalRoundStart as o } from "./index31.js";
|
|
1
|
+
import { formatCalendarDate as e } from "../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
2
|
+
import { derivePayableStatus as t } from "../../util/dist/lib/derivePayableStatus.js";
|
|
3
|
+
import { formatBillMoney as n } from "../../util/dist/lib/formatBillMoney.js";
|
|
4
|
+
import { resolveAmountDueMinorUnits as r } from "../../util/dist/lib/resolveAmountDue.js";
|
|
5
|
+
import { resolveLineItemAmountMinorUnits as i } from "../../util/dist/lib/resolveLineItemAmount.js";
|
|
6
|
+
import { resolveLineItemQuantity as a } from "../../util/dist/lib/resolveLineItemQuantity.js";
|
|
7
|
+
import { resolveVendor as o } from "../../util/dist/lib/resolveVendor.js";
|
|
8
|
+
import { getPaidAtLabel as s, resolveInvoiceTotalMinorUnits as c } from "./index33.js";
|
|
15
9
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js
|
|
16
|
-
function
|
|
17
|
-
let
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
10
|
+
function l({ payable: l, lineItems: u, glCodeOptions: d, glCodeRosterAvailable: f = !0, history: p, paymentHistory: m, approvalPolicy: h, labels: g, hasScheduledPayment: _, rejection: v, payableAchInstructions: y, payableAchInstructionsReadable: b = !1 }) {
|
|
11
|
+
let x = l.currency, S = t({
|
|
12
|
+
apiStatus: l.status,
|
|
13
|
+
dueDate: l.due_date,
|
|
14
|
+
scheduledPaymentDate: l.scheduled_payment_date,
|
|
15
|
+
hasScheduledPayment: _
|
|
16
|
+
}), C = o(l), w = b ? y : void 0, T = w?.account_number, E = !!(w?.account_holder_name && w.routing_number && w.account_number), D = e(l.issued_at) || g.notProvided, O = e(l.due_date) || g.notProvided, k = new Map(d.map((e) => [e.value, e.label])), A = [
|
|
17
|
+
{
|
|
18
|
+
label: g.subtotalRow,
|
|
19
|
+
minorUnits: l.subtotal
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
label: g.discountRow,
|
|
23
|
+
minorUnits: l.discount
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
label: g.taxRow,
|
|
27
|
+
minorUnits: l.tax_amount
|
|
28
|
+
}
|
|
29
|
+
].map((e) => ({
|
|
30
|
+
label: e.label,
|
|
31
|
+
value: n(e.minorUnits, x)
|
|
32
|
+
})).filter((e) => !!e.value), j = n(c(l), x);
|
|
33
|
+
j && A.push({
|
|
34
|
+
label: g.totalRow,
|
|
35
|
+
value: j,
|
|
36
|
+
emphasis: !0
|
|
37
|
+
});
|
|
38
|
+
let M = s(l);
|
|
21
39
|
return {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
40
|
+
amountDue: n(r(l), x) ?? "",
|
|
41
|
+
amountPaid: M ? n(l.amount_paid, x) : void 0,
|
|
42
|
+
paidOnLabel: M ? g.paidOnLabel(M) : void 0,
|
|
43
|
+
invoiceDateLabel: D,
|
|
44
|
+
dueDateLabel: O,
|
|
45
|
+
dueDateTone: S.isOverdue ? "danger" : "default",
|
|
46
|
+
status: S.status,
|
|
47
|
+
statusTone: S.tone,
|
|
48
|
+
payTo: {
|
|
49
|
+
name: C?.name || g.notProvided,
|
|
50
|
+
email: C?.email ?? "",
|
|
51
|
+
methodLabel: E ? g.paymentInstructionsValue(T?.slice(-4) ?? "") : g.paymentInstructionsNotSet,
|
|
52
|
+
hasPaymentInstructions: E
|
|
53
|
+
},
|
|
54
|
+
invoiceFields: [
|
|
55
|
+
{
|
|
56
|
+
label: g.invoiceDateRow,
|
|
57
|
+
value: D
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
label: g.dueDateRow,
|
|
61
|
+
value: O
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
label: g.invoiceNumberRow,
|
|
65
|
+
value: l.document_id || g.notProvided
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
lineItems: u.map((e) => {
|
|
69
|
+
let t = n(e.unit_price, x), r = String(a(e));
|
|
70
|
+
return {
|
|
71
|
+
id: e.id,
|
|
72
|
+
description: e.name ?? e.description ?? "",
|
|
73
|
+
glCodeLabel: e.ledger_account_id ? k.get(e.ledger_account_id) ?? (f ? g.glCodeMissing : g.glCodeUnavailable) : g.glCodeMissing,
|
|
74
|
+
qtyPriceLabel: t ? g.qtyPriceValue(r, t) : g.qtyOnlyValue(r),
|
|
75
|
+
amount: n(i(e), x) ?? ""
|
|
76
|
+
};
|
|
77
|
+
}),
|
|
78
|
+
amountRows: A,
|
|
79
|
+
approvalPolicy: h,
|
|
80
|
+
paymentHistory: m,
|
|
81
|
+
history: p,
|
|
82
|
+
rejection: v
|
|
26
83
|
};
|
|
27
84
|
}
|
|
28
85
|
//#endregion
|
|
29
|
-
export {
|
|
86
|
+
export { l as buildBillDetailView };
|
|
@@ -1,161 +1,6 @@
|
|
|
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/index8.js";
|
|
10
|
-
import { useCancelPayableMutation as i, useCancelScheduledPaymentMutation as a, useForceApprovePayableMutation as o, useForceRejectPayableMutation as s, useReopenPayableMutation as c } from "../../data-access/dist/index13.js";
|
|
11
|
-
import "../../data-access/dist/index.js";
|
|
12
|
-
import { getBillDetailActions as l } from "./index19.js";
|
|
13
|
-
import { useState as u } from "react";
|
|
14
|
-
import { BanIcon as d, HandIcon as f } from "lucide-react";
|
|
15
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
-
status: f,
|
|
19
|
-
scopes: j?.scopes,
|
|
20
|
-
canDecideApprovalRequest: !!p,
|
|
21
|
-
arePendingApproversUnknown: m,
|
|
22
|
-
hasApprovalPolicy: w,
|
|
23
|
-
hasWaitingRequest: T,
|
|
24
|
-
hasScheduledPayment: h || v,
|
|
25
|
-
scheduledPaymentIntentId: g,
|
|
26
|
-
isPayabilityUnknown: x,
|
|
27
|
-
canEdit: !!k,
|
|
28
|
-
labels: S
|
|
29
|
-
}) : [], W = (t) => ({
|
|
30
|
-
onError: () => e.error(S.actionError),
|
|
31
|
-
onSuccess: () => {
|
|
32
|
-
let n = b(t) && !w ? `${t}NoApprovalPolicy` : t;
|
|
33
|
-
e.success(S.actionSuccess[n]), A?.(t);
|
|
34
|
-
}
|
|
35
|
-
}), G = {
|
|
36
|
-
reject: {
|
|
37
|
-
isPending: M.isPending,
|
|
38
|
-
run: (e) => p && M.mutate({
|
|
39
|
-
path: { approval_request_id: p },
|
|
40
|
-
body: e ? { reject_reason: e } : void 0
|
|
41
|
-
}, W("reject"))
|
|
42
|
-
},
|
|
43
|
-
approve: {
|
|
44
|
-
isPending: N.isPending,
|
|
45
|
-
run: () => p && N.mutate({ path: { approval_request_id: p } }, W("approve"))
|
|
46
|
-
},
|
|
47
|
-
cancel: {
|
|
48
|
-
isPending: P.isPending,
|
|
49
|
-
run: () => d && P.mutate({ path: { payable_id: d } }, W("cancel"))
|
|
50
|
-
},
|
|
51
|
-
cancelScheduledPayment: {
|
|
52
|
-
isPending: F.isPending,
|
|
53
|
-
run: () => {
|
|
54
|
-
let e = H?.scheduledPaymentIntentId;
|
|
55
|
-
d && e && F.mutate({
|
|
56
|
-
path: { payment_intent_id: e },
|
|
57
|
-
payableId: d
|
|
58
|
-
}, W("cancelScheduledPayment"));
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
reopen: {
|
|
62
|
-
isPending: I.isPending,
|
|
63
|
-
run: () => d && I.mutate({ path: { payable_id: d } }, W("reopen"))
|
|
64
|
-
},
|
|
65
|
-
forceApprove: {
|
|
66
|
-
isPending: L.isPending,
|
|
67
|
-
run: () => d && L.mutate({ path: { payable_id: d } }, W("forceApprove"))
|
|
68
|
-
},
|
|
69
|
-
forceReject: {
|
|
70
|
-
isPending: R.isPending,
|
|
71
|
-
run: () => d && R.mutate({ path: { payable_id: d } }, W("forceReject"))
|
|
72
|
-
}
|
|
73
|
-
}, K = U.map((e) => ({
|
|
74
|
-
...e,
|
|
75
|
-
disabled: z,
|
|
76
|
-
loading: e.id === "markAsPaid" ? C : G[e.id]?.isPending ?? !1,
|
|
77
|
-
onSelect: () => {
|
|
78
|
-
if (!z && d) {
|
|
79
|
-
if (e.id === "payBill") {
|
|
80
|
-
D();
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
if (e.id === "markAsPaid") {
|
|
84
|
-
O();
|
|
85
|
-
return;
|
|
86
|
-
}
|
|
87
|
-
if (e.id === "edit") {
|
|
88
|
-
k?.();
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
if (y(e.id)) {
|
|
92
|
-
V({
|
|
93
|
-
id: e.id,
|
|
94
|
-
scheduledPaymentIntentId: g
|
|
95
|
-
});
|
|
96
|
-
return;
|
|
97
|
-
}
|
|
98
|
-
G[e.id]?.run();
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}));
|
|
102
|
-
return {
|
|
103
|
-
isActionPending: z,
|
|
104
|
-
actions: {
|
|
105
|
-
row: K.filter((e) => e.surface === "row"),
|
|
106
|
-
menu: K.filter((e) => e.surface === "menu")
|
|
107
|
-
},
|
|
108
|
-
decisionDialog: {
|
|
109
|
-
open: !!H,
|
|
110
|
-
copy: H ? {
|
|
111
|
-
...S.decisionDialog[H.id],
|
|
112
|
-
...b(H.id) && !w ? S.decisionDialog[H.id].noApprovalPolicy : void 0,
|
|
113
|
-
presentation: _(H.id),
|
|
114
|
-
pendingApprovers: b(H.id) ? E ?? [] : void 0
|
|
115
|
-
} : void 0,
|
|
116
|
-
isPending: H ? G[H.id]?.isPending ?? !1 : !1,
|
|
117
|
-
onCancel: () => {
|
|
118
|
-
z || V(void 0);
|
|
119
|
-
},
|
|
120
|
-
onConfirm: (e) => {
|
|
121
|
-
H && !z && (G[H.id]?.run(e), V(void 0));
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
var m = {
|
|
127
|
-
alignment: "center",
|
|
128
|
-
icon: f,
|
|
129
|
-
tone: "destructive",
|
|
130
|
-
actionWidth: "equal"
|
|
131
|
-
}, h = {
|
|
132
|
-
alignment: "center",
|
|
133
|
-
icon: d,
|
|
134
|
-
tone: "destructive",
|
|
135
|
-
actionWidth: "equal"
|
|
136
|
-
}, g = {
|
|
137
|
-
alignment: "center",
|
|
138
|
-
icon: d,
|
|
139
|
-
tone: "destructive",
|
|
140
|
-
actionWidth: "equal"
|
|
141
|
-
};
|
|
142
|
-
function _(e) {
|
|
143
|
-
if (b(e)) return m;
|
|
144
|
-
if (e === "reject") return h;
|
|
145
|
-
if (e === "cancel") return g;
|
|
146
|
-
}
|
|
147
|
-
var v = [
|
|
148
|
-
"reject",
|
|
149
|
-
"cancel",
|
|
150
|
-
"cancelScheduledPayment",
|
|
151
|
-
"forceApprove",
|
|
152
|
-
"forceReject"
|
|
153
|
-
];
|
|
154
|
-
function y(e) {
|
|
155
|
-
return v.includes(e);
|
|
156
|
-
}
|
|
157
|
-
function b(e) {
|
|
158
|
-
return e === "forceApprove" || e === "forceReject";
|
|
2
|
+
function e({ isUnsavedPromptOpen: e, isLocked: t, isDirty: n }) {
|
|
3
|
+
return e ? "dismiss-prompt" : !t && n ? "prompt" : "close";
|
|
159
4
|
}
|
|
160
5
|
//#endregion
|
|
161
|
-
export {
|
|
6
|
+
export { e as resolveEditorDismissal };
|
|
@@ -1,12 +1,47 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getRelativeCalendarDay as t } from "../../../shared/util/dist/lib/relativeCalendarDay.js";
|
|
1
|
+
import { formatBillMoney as e } from "../../util/dist/lib/formatBillMoney.js";
|
|
3
2
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
3
|
+
var t = {
|
|
4
|
+
dateLabel: (e) => new Date(e).toLocaleDateString("en-US", {
|
|
5
|
+
month: "short",
|
|
6
|
+
day: "numeric",
|
|
7
|
+
year: "numeric"
|
|
8
|
+
}),
|
|
9
|
+
timeLabel: (e) => new Date(e).toLocaleTimeString(void 0, {
|
|
10
|
+
hour: "numeric",
|
|
11
|
+
minute: "2-digit",
|
|
12
|
+
timeZoneName: "short"
|
|
13
|
+
}),
|
|
14
|
+
byActor: (e, t) => `${e} by ${t}`,
|
|
15
|
+
formatAmount: (t) => e(t) ?? "",
|
|
16
|
+
billCreated: "Bill created",
|
|
17
|
+
createdManually: "Data entered manually",
|
|
18
|
+
createdFromUpload: "File uploaded and scanned automatically",
|
|
19
|
+
createdFromEmail: "File emailed and scanned automatically",
|
|
20
|
+
billDetailsUpdated: "Bill details updated",
|
|
21
|
+
submittedForReview: "Finalized and submitted for review",
|
|
22
|
+
approvalRequested: "Approval requested",
|
|
23
|
+
approved: "Approved",
|
|
24
|
+
approvedAutomatically: "Auto-approved",
|
|
25
|
+
rejected: "Rejected",
|
|
26
|
+
policyOverrideApproved: "Policy override: Approved",
|
|
27
|
+
policyOverrideRejected: "Policy override: Rejected",
|
|
28
|
+
quotedReason: (e) => `"${e}"`,
|
|
29
|
+
cancelled: "Cancelled",
|
|
30
|
+
reopened: "Re-opened",
|
|
31
|
+
paymentReleased: "Payment released",
|
|
32
|
+
paid: (e) => `Paid ${e}`,
|
|
33
|
+
paymentReverted: "Payment reverted",
|
|
34
|
+
billMarkedAsFullyPaid: "Bill marked as fully paid",
|
|
35
|
+
billMarkedAsPartiallyPaid: "Bill marked as partially paid",
|
|
36
|
+
draftDeleted: "Draft deleted",
|
|
37
|
+
fileAttached: "File attached",
|
|
38
|
+
fileRemoved: "File removed",
|
|
39
|
+
creditNoteLinked: "Credit note linked",
|
|
40
|
+
creditNoteUnlinked: "Credit note unlinked",
|
|
41
|
+
lineItemsUpdated: "Line items updated",
|
|
42
|
+
lineItemAdded: "Line item added",
|
|
43
|
+
lineItemUpdated: "Line item updated",
|
|
44
|
+
lineItemRemoved: "Line item removed"
|
|
45
|
+
};
|
|
11
46
|
//#endregion
|
|
12
|
-
export {
|
|
47
|
+
export { t as PAYABLE_AUDIT_HISTORY_LABELS_EN };
|