@tesouro/embedded-components-react 0.5.182 → 0.5.184
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.css +49 -36
- package/dist/index.d.ts +30 -1
- package/dist/lib/BankAccountOnboardingWidget.d.ts +30 -1
- package/dist/lib/WidgetSuite.d.ts +30 -1
- package/dist/lib/monite-sdk.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index10.js +3 -32
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index11.js +24 -33
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index12.js +44 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index8.js +13 -36
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js +43 -3
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index12.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index23.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index25.js +339 -301
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index.js +3 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index27.js +11 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index28.js +64 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +2 -292
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +95 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +287 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +49 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +66 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +100 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +89 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +15 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +54 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +67 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +8 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +67 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +165 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +36 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +184 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +89 -257
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +98 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +257 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +183 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +127 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +5 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +8 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +17 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +3 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +4 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +35 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +34 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +38 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +1 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +46 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +47 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +4 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +3 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +42 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +21 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +6 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +4 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +2 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +32 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +73 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +11 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +6 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +12 -213
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +134 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +211 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +7 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +5 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +15 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +5 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +8 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +16 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +34 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +5 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +57 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +2 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +3 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +8 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +7 -348
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +13 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +349 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +22 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +8 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +6 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +2 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +15 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +6 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +115 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +32 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +10 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +10 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +4 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +18 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +20 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +1 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +4 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +33 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +7 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +5 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +15 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +24 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +51 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +13 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +26 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +5 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +10 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +22 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +49 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +3 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +26 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +39 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +16 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +1 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +5 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +83 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +25 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +4 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +21 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +29 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +9 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +34 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +38 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +13 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +80 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +35 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +1 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +22 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +48 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +47 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +13 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +17 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +17 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +23 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +4 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +4 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +18 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +3 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +17 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +3 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +26 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +8 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +17 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +3 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +21 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +70 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +11 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +25 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +104 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +255 -151
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +108 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +150 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +11 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +28 -93
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +34 -34
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +188 -181
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +162 -154
- 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/monite-wrapper/feature/dist/lib/MoniteWrapper.js +97 -73
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/HostIsolationScope/HostIsolationScope.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/OnboardingShell.js +67 -55
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/labels.js +1 -0
- package/package.json +1 -1
|
@@ -1,92 +1,68 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import { useState as i } from "react";
|
|
6
|
-
import { Landmark as a, Plus as o } from "lucide-react";
|
|
7
|
-
import { Fragment as s, jsx as c, jsxs as l } from "@emotion/react/jsx-runtime";
|
|
8
|
-
import { useLingui as u } from "@lingui/react";
|
|
9
|
-
import { twMerge as d } from "tailwind-merge";
|
|
1
|
+
import { AllowedCountries as e } from "./index93.js";
|
|
2
|
+
import "./index102.js";
|
|
3
|
+
import "./index103.js";
|
|
4
|
+
import { z as t } from "zod";
|
|
10
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
className: "ttw:leading-5",
|
|
73
|
-
children: y._("ACH bank transfer")
|
|
74
|
-
}), /* @__PURE__ */ c(t, {
|
|
75
|
-
variant: "caption",
|
|
76
|
-
color: "muted",
|
|
77
|
-
className: "ttw:leading-4",
|
|
78
|
-
children: y._("Fast, direct deposit to the vendor's bank. Arrives in 1–3 business days.")
|
|
79
|
-
})]
|
|
80
|
-
}), /* @__PURE__ */ l(e, {
|
|
81
|
-
type: "button",
|
|
82
|
-
variant: "ghost",
|
|
83
|
-
className: "ttw:text-primary ttw:hover:text-primary/70 ttw:w-fit ttw:px-0 ttw:has-[>svg]:px-0 ttw:py-2 ttw:hover:bg-transparent",
|
|
84
|
-
onClick: () => x(!0),
|
|
85
|
-
disabled: v,
|
|
86
|
-
children: [/* @__PURE__ */ c(o, {}), y._("Add bank account")]
|
|
87
|
-
})]
|
|
88
|
-
})]
|
|
89
|
-
});
|
|
90
|
-
};
|
|
6
|
+
var n = (n, r) => ({
|
|
7
|
+
line1: t.string().optional().refine((e) => !r || !!e?.trim(), { message: n._("Street address is required") }),
|
|
8
|
+
line2: t.string().optional(),
|
|
9
|
+
city: t.string().optional().refine((e) => !r || !!e?.trim(), { message: n._("City is required") }),
|
|
10
|
+
state: t.string().optional().refine((e) => !r || !!e?.trim(), { message: n._("State is required") }),
|
|
11
|
+
country: t.enum(e).optional().refine((e) => !r || !!e, { message: n._("Country is required") }),
|
|
12
|
+
postalCode: t.string().optional().refine((e) => !r || !!e?.trim(), { message: n._("Postal code is required") })
|
|
13
|
+
}), r = (e, t) => e.superRefine((e, n) => {
|
|
14
|
+
let r = e;
|
|
15
|
+
(r.line1?.trim() || r.line2?.trim() || r.city?.trim() || r.state?.trim() || r.postalCode?.trim()) && (r.line1?.trim() || n.addIssue({
|
|
16
|
+
code: "custom",
|
|
17
|
+
message: t._("Street address is required"),
|
|
18
|
+
path: ["line1"]
|
|
19
|
+
}), r.city?.trim() || n.addIssue({
|
|
20
|
+
code: "custom",
|
|
21
|
+
message: t._("City is required"),
|
|
22
|
+
path: ["city"]
|
|
23
|
+
}), r.state?.trim() || n.addIssue({
|
|
24
|
+
code: "custom",
|
|
25
|
+
message: t._("State is required"),
|
|
26
|
+
path: ["state"]
|
|
27
|
+
}), r.postalCode?.trim() || n.addIssue({
|
|
28
|
+
code: "custom",
|
|
29
|
+
message: t._("Postal code is required"),
|
|
30
|
+
path: ["postalCode"]
|
|
31
|
+
}));
|
|
32
|
+
}), i = (e, i) => {
|
|
33
|
+
let a = t.object(n(e, i));
|
|
34
|
+
return i ? a : r(a, e);
|
|
35
|
+
}, a = (e, i, a) => {
|
|
36
|
+
let o = a === "vendor", c = t.object({
|
|
37
|
+
tax_id: t.string().optional(),
|
|
38
|
+
remindersEnabled: t.boolean(),
|
|
39
|
+
email: t.email(e._("Email must be a valid email")).min(1, e._("Email is required")),
|
|
40
|
+
phone: t.string().optional(),
|
|
41
|
+
isVendor: t.boolean(),
|
|
42
|
+
isCustomer: t.boolean(),
|
|
43
|
+
...s(e).shape,
|
|
44
|
+
...n(e, o)
|
|
45
|
+
}), l = c.extend({
|
|
46
|
+
firstName: t.string().min(1, e._("First name is required")),
|
|
47
|
+
lastName: t.string().min(1, e._("Last name is required"))
|
|
48
|
+
}), u = c.extend({ companyName: t.string().min(1, e._("Company name is required")) });
|
|
49
|
+
return o ? i === "individual" ? l : u : r(i === "individual" ? l : u, e);
|
|
50
|
+
}, o = (e, i, a) => {
|
|
51
|
+
let o = a === "vendor", s = t.object({
|
|
52
|
+
tax_id: t.string().optional(),
|
|
53
|
+
remindersEnabled: t.boolean(),
|
|
54
|
+
email: t.email(e._("Email must be a valid email")).min(1, e._("Email is required")),
|
|
55
|
+
phone: t.string().optional(),
|
|
56
|
+
...n(e, o)
|
|
57
|
+
}), c = s.extend({
|
|
58
|
+
firstName: t.string().min(1, e._("First name is required")),
|
|
59
|
+
lastName: t.string().min(1, e._("Last name is required"))
|
|
60
|
+
}), l = s.extend({ companyName: t.string().min(1, e._("Company name is required")) });
|
|
61
|
+
return o ? i === "individual" ? c : l : r(i === "individual" ? c : l, e);
|
|
62
|
+
}, s = (e) => t.object({
|
|
63
|
+
accountHolderName: t.string().optional(),
|
|
64
|
+
routingNumber: t.string().refine((e) => !e || e.length === 9, { message: e._("Routing number must be 9 digits") }).optional(),
|
|
65
|
+
accountNumber: t.string().refine((e) => !e || e.length >= 9 && e.length <= 12, { message: e._("Account number must be between 9 and 12 digits") }).optional()
|
|
66
|
+
});
|
|
91
67
|
//#endregion
|
|
92
|
-
export {
|
|
68
|
+
export { i as getAddressValidationSchema, s as getCounterpartBankValidationSchema, a as getCreateCounterpartValidationSchema, o as getUpdateCounterpartValidationSchema };
|
|
@@ -1,20 +1,104 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { getCounterpartName as e } from "./index54.js";
|
|
2
|
+
import { Button as t } from "./index57.js";
|
|
3
|
+
import { LoadingSpinner as n } from "./index52.js";
|
|
4
|
+
import "./index53.js";
|
|
5
|
+
import { useCreateCounterpartBank as r } from "./index67.js";
|
|
6
|
+
import { useUpdateCounterpartBank as i } from "./index68.js";
|
|
7
|
+
import "./index87.js";
|
|
8
|
+
import { CounterpartBankFormContent as a } from "./index92.js";
|
|
9
|
+
import { getCounterpartBankValidationSchema as o } from "./index104.js";
|
|
10
|
+
import { useCallback as s, useId as c, useMemo as l } from "react";
|
|
11
|
+
import { jsx as u, jsxs as d } from "@emotion/react/jsx-runtime";
|
|
12
|
+
import { toast as f } from "react-hot-toast";
|
|
13
|
+
import { useLingui as p } from "@lingui/react";
|
|
14
|
+
import { FormProvider as m, useForm as h } from "react-hook-form";
|
|
15
|
+
import { zodResolver as g } from "@hookform/resolvers/zod";
|
|
6
16
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
17
|
+
var _ = ({ counterpartId: _, isStandalone: v, bankAccount: y, handleClose: b, onUpdate: x, onCreate: S }) => {
|
|
18
|
+
let { i18n: C } = p(), w = `vendor-bank-form-${c()}`, T = !!y, { mutate: E, isPending: D } = i(), { mutate: O, isPending: k } = r(), A = D || k, j = l(() => ({
|
|
19
|
+
accountHolderName: y?.account_holder_name ?? "",
|
|
20
|
+
accountNumber: y?.account_number ?? "",
|
|
21
|
+
routingNumber: y?.routing_number ?? ""
|
|
22
|
+
}), [y]), { resetField: M, ...N } = h({
|
|
23
|
+
resolver: g(o(C)),
|
|
24
|
+
defaultValues: j
|
|
25
|
+
}), P = s((e) => {
|
|
26
|
+
e.preventDefault(), e.stopPropagation(), N.handleSubmit((e) => {
|
|
27
|
+
if (y) {
|
|
28
|
+
let t = {
|
|
29
|
+
account_holder_name: e.accountHolderName,
|
|
30
|
+
account_number: e.accountNumber,
|
|
31
|
+
routing_number: e.routingNumber
|
|
32
|
+
};
|
|
33
|
+
return E({
|
|
34
|
+
path: {
|
|
35
|
+
counterpart_id: _,
|
|
36
|
+
bank_account_id: y?.id
|
|
37
|
+
},
|
|
38
|
+
body: t
|
|
39
|
+
}, { onSuccess: () => {
|
|
40
|
+
f.success(C._("Bank account information has been updated.")), x && x();
|
|
41
|
+
} });
|
|
42
|
+
}
|
|
43
|
+
{
|
|
44
|
+
let t = {
|
|
45
|
+
account_holder_name: e.accountHolderName,
|
|
46
|
+
account_number: e.accountNumber,
|
|
47
|
+
routing_number: e.routingNumber,
|
|
48
|
+
country: "US",
|
|
49
|
+
currency: "USD",
|
|
50
|
+
is_default_for_currency: !0
|
|
51
|
+
};
|
|
52
|
+
return O({
|
|
53
|
+
path: { counterpart_id: _ },
|
|
54
|
+
body: t
|
|
55
|
+
}, { onSuccess: () => {
|
|
56
|
+
f.success(C._("Bank Account has been added.")), S && S();
|
|
57
|
+
} });
|
|
58
|
+
}
|
|
59
|
+
})(e);
|
|
60
|
+
}, [
|
|
61
|
+
f,
|
|
62
|
+
E,
|
|
63
|
+
O,
|
|
64
|
+
e,
|
|
65
|
+
x,
|
|
66
|
+
S,
|
|
67
|
+
N.handleSubmit,
|
|
68
|
+
C
|
|
69
|
+
]);
|
|
70
|
+
return /* @__PURE__ */ u(m, {
|
|
71
|
+
resetField: M,
|
|
72
|
+
...N,
|
|
73
|
+
children: /* @__PURE__ */ d("form", {
|
|
74
|
+
id: w,
|
|
75
|
+
onSubmit: P,
|
|
76
|
+
className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:p-4 ttw:border ttw:border-primary ttw:rounded-[10px] ttw:bg-zinc-100",
|
|
77
|
+
children: [/* @__PURE__ */ u(a, {
|
|
78
|
+
hasExistingBankAccount: T,
|
|
79
|
+
handleCancel: b,
|
|
80
|
+
isLoading: A,
|
|
81
|
+
isStandalone: v
|
|
82
|
+
}), /* @__PURE__ */ d("div", {
|
|
83
|
+
className: "ttw:flex ttw:gap-4 ttw:pt-6",
|
|
84
|
+
children: [/* @__PURE__ */ u(t, {
|
|
85
|
+
type: "button",
|
|
86
|
+
variant: "outline",
|
|
87
|
+
className: "ttw:border-border ttw:flex-1",
|
|
88
|
+
disabled: A,
|
|
89
|
+
onClick: () => {
|
|
90
|
+
M("accountHolderName"), M("accountNumber"), M("routingNumber"), b();
|
|
91
|
+
},
|
|
92
|
+
children: C._("Cancel")
|
|
93
|
+
}), /* @__PURE__ */ d(t, {
|
|
94
|
+
type: "submit",
|
|
95
|
+
className: "ttw:flex-1",
|
|
96
|
+
disabled: A || !N.formState.isDirty,
|
|
97
|
+
children: [A && /* @__PURE__ */ u(n, { className: "ttw:border-white ttw:border-t-transparent ttw:size-4" }), C._("Save")]
|
|
98
|
+
})]
|
|
99
|
+
})]
|
|
16
100
|
})
|
|
17
101
|
});
|
|
18
|
-
}
|
|
102
|
+
};
|
|
19
103
|
//#endregion
|
|
20
|
-
export {
|
|
104
|
+
export { _ as CounterpartBankForm };
|
|
@@ -1,56 +1,92 @@
|
|
|
1
|
+
import { Button as e } from "./index57.js";
|
|
2
|
+
import { Typography as t } from "./index63.js";
|
|
3
|
+
import { CounterpartBankFormContent as n } from "./index92.js";
|
|
4
|
+
import { CounterpartBankForm as r } from "./index105.js";
|
|
5
|
+
import { useState as i } from "react";
|
|
6
|
+
import { Landmark as a, Plus as o } from "lucide-react";
|
|
7
|
+
import { Fragment as s, jsx as c, jsxs as l } from "@emotion/react/jsx-runtime";
|
|
8
|
+
import { useLingui as u } from "@lingui/react";
|
|
9
|
+
import { twMerge as d } from "tailwind-merge";
|
|
1
10
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
11
|
+
var f = ({ isStandalone: f, counterpartId: p, bankAccount: m, isUpdateAllowed: h, isDeleteAllowed: g, onRemoveClick: _, isLoading: v }) => {
|
|
12
|
+
let { i18n: y } = u(), [b, x] = i(!1), S = !!m, C = S && (!m?.account_holder_name || !m?.account_number || !m?.routing_number), w = () => {
|
|
13
|
+
x(!1);
|
|
14
|
+
};
|
|
15
|
+
return b ? /* @__PURE__ */ c(s, { children: f && p ? /* @__PURE__ */ c(s, { children: m ? /* @__PURE__ */ c(r, {
|
|
16
|
+
bankAccount: m,
|
|
17
|
+
handleClose: w,
|
|
18
|
+
counterpartId: p,
|
|
19
|
+
onUpdate: w,
|
|
20
|
+
isStandalone: !0
|
|
21
|
+
}) : /* @__PURE__ */ c(r, {
|
|
22
|
+
handleClose: w,
|
|
23
|
+
counterpartId: p,
|
|
24
|
+
onCreate: w,
|
|
25
|
+
isStandalone: !0
|
|
26
|
+
}) }) : /* @__PURE__ */ c(n, {
|
|
27
|
+
hasExistingBankAccount: !1,
|
|
28
|
+
handleCancel: w,
|
|
29
|
+
isLoading: v,
|
|
30
|
+
isStandalone: !1
|
|
31
|
+
}) }) : /* @__PURE__ */ l("div", {
|
|
32
|
+
className: d("ttw:flex ttw:items-start ttw:gap-3 ttw:p-3 ttw:rounded-lg ttw:border ttw:border-border", C ? "ttw:border-danger" : "ttw:border-border"),
|
|
33
|
+
children: [/* @__PURE__ */ c("div", {
|
|
34
|
+
className: "ttw:p-2 ttw:text-white ttw:flex ttw:items-center ttw:justify-center ttw:bg-primary ttw:rounded-lg",
|
|
35
|
+
children: /* @__PURE__ */ c(a, { className: "ttw:size-4" })
|
|
36
|
+
}), S ? /* @__PURE__ */ l("div", {
|
|
37
|
+
className: "ttw:flex ttw:items-center ttw:flex-1 ttw:gap-0.5",
|
|
38
|
+
children: [/* @__PURE__ */ l("div", {
|
|
39
|
+
className: "ttw:flex ttw:flex-col ttw:gap-0.5 ttw:flex-1",
|
|
40
|
+
children: [/* @__PURE__ */ c(t, {
|
|
41
|
+
variant: "body2",
|
|
42
|
+
className: "ttw:leading-5",
|
|
43
|
+
children: y._("ACH bank transfer")
|
|
44
|
+
}), /* @__PURE__ */ c(t, {
|
|
45
|
+
variant: "caption",
|
|
46
|
+
color: C ? "destructive" : "muted",
|
|
47
|
+
className: "ttw:leading-4",
|
|
48
|
+
children: C ? y._("Incomplete") : y._("Account ending in {last4}", { last4: m?.account_number?.slice(m.account_number?.length - 4) })
|
|
49
|
+
})]
|
|
50
|
+
}), (h || g) && /* @__PURE__ */ l("div", {
|
|
51
|
+
className: "ttw:flex ttw:gap-3 ttw:items-center",
|
|
52
|
+
children: [h && /* @__PURE__ */ c(e, {
|
|
53
|
+
type: "button",
|
|
54
|
+
variant: "ghost",
|
|
55
|
+
className: "ttw:text-primary ttw:p-0 ttw:hover:text-primary ttw:hover:underline ttw:w-fit ttw:hover:bg-transparent",
|
|
56
|
+
onClick: () => x(!0),
|
|
57
|
+
children: y._("Edit")
|
|
58
|
+
}), g && /* @__PURE__ */ c(e, {
|
|
59
|
+
type: "button",
|
|
60
|
+
variant: "ghost",
|
|
61
|
+
className: "ttw:text-primary ttw:p-0 ttw:hover:text-primary ttw:hover:underline ttw:w-fit ttw:hover:bg-transparent",
|
|
62
|
+
onClick: () => _?.(),
|
|
63
|
+
children: y._("Remove")
|
|
64
|
+
})]
|
|
65
|
+
})]
|
|
66
|
+
}) : /* @__PURE__ */ l("div", {
|
|
67
|
+
className: "ttw:flex ttw:flex-col ttw:gap-0.5",
|
|
68
|
+
children: [/* @__PURE__ */ l("div", {
|
|
69
|
+
className: "ttw:flex ttw:flex-col ttw:gap-0.5",
|
|
70
|
+
children: [/* @__PURE__ */ c(t, {
|
|
71
|
+
variant: "body2",
|
|
72
|
+
className: "ttw:leading-5",
|
|
73
|
+
children: y._("ACH bank transfer")
|
|
74
|
+
}), /* @__PURE__ */ c(t, {
|
|
75
|
+
variant: "caption",
|
|
76
|
+
color: "muted",
|
|
77
|
+
className: "ttw:leading-4",
|
|
78
|
+
children: y._("Fast, direct deposit to the vendor's bank. Arrives in 1–3 business days.")
|
|
79
|
+
})]
|
|
80
|
+
}), /* @__PURE__ */ l(e, {
|
|
81
|
+
type: "button",
|
|
82
|
+
variant: "ghost",
|
|
83
|
+
className: "ttw:text-primary ttw:hover:text-primary/70 ttw:w-fit ttw:px-0 ttw:has-[>svg]:px-0 ttw:py-2 ttw:hover:bg-transparent",
|
|
84
|
+
onClick: () => x(!0),
|
|
85
|
+
disabled: v,
|
|
86
|
+
children: [/* @__PURE__ */ c(o, {}), y._("Add bank account")]
|
|
87
|
+
})]
|
|
88
|
+
})]
|
|
89
|
+
});
|
|
54
90
|
};
|
|
55
91
|
//#endregion
|
|
56
|
-
export {
|
|
92
|
+
export { f as CounterpartBankSection };
|
|
@@ -1,82 +1,20 @@
|
|
|
1
|
-
import { cn as e } from "./
|
|
1
|
+
import { cn as e } from "./index50.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import { CheckIcon as t
|
|
4
|
-
import { jsx as
|
|
5
|
-
import * as
|
|
3
|
+
import { CheckIcon as t } from "lucide-react";
|
|
4
|
+
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
5
|
+
import * as r from "@radix-ui/react-checkbox";
|
|
6
6
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js
|
|
7
|
-
function
|
|
8
|
-
return /* @__PURE__ */
|
|
9
|
-
"data-slot": "
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
function l({ className: t, size: r = "default", children: s, ...c }) {
|
|
20
|
-
return /* @__PURE__ */ a(o.Trigger, {
|
|
21
|
-
"data-slot": "select-trigger",
|
|
22
|
-
"data-size": r,
|
|
23
|
-
className: e("ttw:border-input ttw:data-[placeholder]:text-muted-foreground ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive ttw:dark:bg-input/30 ttw:dark:hover:bg-input/50 ttw:flex ttw:w-fit ttw:items-center ttw:justify-between ttw:gap-2 ttw:rounded-md ttw:border ttw:bg-transparent ttw:px-3 ttw:py-2 ttw:text-sm ttw:whitespace-nowrap ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:outline-none ttw:focus-visible:ring-[3px] ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:data-[size=default]:h-9 ttw:data-[size=sm]:h-8 ttw:*:data-[slot=select-value]:line-clamp-1 ttw:*:data-[slot=select-value]:flex ttw:*:data-[slot=select-value]:min-w-0 ttw:*:data-[slot=select-value]:flex-1 ttw:*:data-[slot=select-value]:items-center ttw:*:data-[slot=select-value]:gap-2 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", t),
|
|
24
|
-
...c,
|
|
25
|
-
children: [s, /* @__PURE__ */ i(o.Icon, {
|
|
26
|
-
asChild: !0,
|
|
27
|
-
children: /* @__PURE__ */ i(n, { className: "ttw:size-4 ttw:opacity-50" })
|
|
28
|
-
})]
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
function u({ className: t, children: n, position: r = "popper", ...s }) {
|
|
32
|
-
return /* @__PURE__ */ i(o.Portal, { children: /* @__PURE__ */ a(o.Content, {
|
|
33
|
-
"data-slot": "select-content",
|
|
34
|
-
className: e("ttw:bg-popover ttw:text-popover-foreground ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:relative ttw:z-1300 ttw:max-h-(--radix-select-content-available-height) ttw:min-w-[8rem] ttw:origin-(--radix-select-content-transform-origin) ttw:overflow-x-hidden ttw:overflow-y-auto ttw:rounded-md ttw:border-none ttw:shadow-md", r === "popper" && "ttw:data-[side=bottom]:translate-y-1 ttw:data-[side=left]:-translate-x-1 ttw:data-[side=right]:translate-x-1 ttw:data-[side=top]:-translate-y-1", t),
|
|
35
|
-
position: r,
|
|
36
|
-
...s,
|
|
37
|
-
children: [
|
|
38
|
-
/* @__PURE__ */ i(p, {}),
|
|
39
|
-
/* @__PURE__ */ i(o.Viewport, {
|
|
40
|
-
className: e("ttw:p-1", r === "popper" && "ttw:h-[var(--radix-select-trigger-height)] ttw:w-full ttw:min-w-[var(--radix-select-trigger-width)] ttw:scroll-my-1"),
|
|
41
|
-
children: n
|
|
42
|
-
}),
|
|
43
|
-
/* @__PURE__ */ i(m, {})
|
|
44
|
-
]
|
|
45
|
-
}) });
|
|
46
|
-
}
|
|
47
|
-
function d({ className: n, children: r, ...s }) {
|
|
48
|
-
return /* @__PURE__ */ a(o.Item, {
|
|
49
|
-
"data-slot": "select-item",
|
|
50
|
-
className: e("ttw:focus:bg-accent ttw:focus:text-accent-foreground ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:relative ttw:flex ttw:w-full ttw:cursor-default ttw:items-center ttw:gap-2 ttw:rounded-sm ttw:py-1.5 ttw:pr-8 ttw:pl-2 ttw:text-sm ttw:outline-hidden ttw:select-none ttw:data-[disabled]:pointer-events-none ttw:data-[disabled]:opacity-50 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4 ttw:*:[span]:last:flex ttw:*:[span]:last:min-w-0 ttw:*:[span]:last:flex-1 ttw:*:[span]:last:items-center ttw:*:[span]:last:gap-2", n),
|
|
51
|
-
...s,
|
|
52
|
-
children: [/* @__PURE__ */ i("span", {
|
|
53
|
-
className: "ttw:absolute ttw:right-2 ttw:flex ttw:size-3.5 ttw:items-center ttw:justify-center",
|
|
54
|
-
children: /* @__PURE__ */ i(o.ItemIndicator, { children: /* @__PURE__ */ i(t, { className: "ttw:size-4" }) })
|
|
55
|
-
}), /* @__PURE__ */ i(o.ItemText, { children: r })]
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
function f({ className: t, ...n }) {
|
|
59
|
-
return /* @__PURE__ */ i(o.Separator, {
|
|
60
|
-
"data-slot": "select-separator",
|
|
61
|
-
className: e("ttw:bg-border ttw:pointer-events-none ttw:-mx-1 ttw:my-1 ttw:h-px", t),
|
|
62
|
-
...n
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
function p({ className: t, ...n }) {
|
|
66
|
-
return /* @__PURE__ */ i(o.ScrollUpButton, {
|
|
67
|
-
"data-slot": "select-scroll-up-button",
|
|
68
|
-
className: e("ttw:flex ttw:cursor-default ttw:items-center ttw:justify-center ttw:py-1", t),
|
|
69
|
-
...n,
|
|
70
|
-
children: /* @__PURE__ */ i(r, { className: "ttw:size-4" })
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
function m({ className: t, ...r }) {
|
|
74
|
-
return /* @__PURE__ */ i(o.ScrollDownButton, {
|
|
75
|
-
"data-slot": "select-scroll-down-button",
|
|
76
|
-
className: e("ttw:flex ttw:cursor-default ttw:items-center ttw:justify-center ttw:py-1", t),
|
|
77
|
-
...r,
|
|
78
|
-
children: /* @__PURE__ */ i(n, { className: "ttw:size-4" })
|
|
7
|
+
function i({ className: i, ...a }) {
|
|
8
|
+
return /* @__PURE__ */ n(r.Root, {
|
|
9
|
+
"data-slot": "checkbox",
|
|
10
|
+
className: e("ttw:peer ttw:border-input ttw:dark:bg-input/30 ttw:data-[state=checked]:bg-primary ttw:data-[state=checked]:text-primary-foreground ttw:dark:data-[state=checked]:bg-primary ttw:data-[state=checked]:border-primary ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive ttw:size-4 ttw:shrink-0 ttw:rounded-[4px] ttw:border ttw:shadow-xs ttw:transition-shadow ttw:outline-none ttw:focus-visible:ring-[3px] ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50", i),
|
|
11
|
+
...a,
|
|
12
|
+
children: /* @__PURE__ */ n(r.Indicator, {
|
|
13
|
+
"data-slot": "checkbox-indicator",
|
|
14
|
+
className: "ttw:flex ttw:items-center ttw:justify-center ttw:text-current ttw:transition-none",
|
|
15
|
+
children: /* @__PURE__ */ n(t, { className: "ttw:size-3.5" })
|
|
16
|
+
})
|
|
79
17
|
});
|
|
80
18
|
}
|
|
81
19
|
//#endregion
|
|
82
|
-
export {
|
|
20
|
+
export { i as Checkbox };
|
|
@@ -1,13 +1,56 @@
|
|
|
1
|
-
import { cn as e } from "./index48.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
var e = {
|
|
3
|
+
AL: "Alabama",
|
|
4
|
+
AK: "Alaska",
|
|
5
|
+
AZ: "Arizona",
|
|
6
|
+
AR: "Arkansas",
|
|
7
|
+
CA: "California",
|
|
8
|
+
CO: "Colorado",
|
|
9
|
+
CT: "Connecticut",
|
|
10
|
+
DE: "Delaware",
|
|
11
|
+
FL: "Florida",
|
|
12
|
+
GA: "Georgia",
|
|
13
|
+
HI: "Hawaii",
|
|
14
|
+
ID: "Idaho",
|
|
15
|
+
IL: "Illinois",
|
|
16
|
+
IN: "Indiana",
|
|
17
|
+
IA: "Iowa",
|
|
18
|
+
KS: "Kansas",
|
|
19
|
+
KY: "Kentucky",
|
|
20
|
+
LA: "Louisiana",
|
|
21
|
+
ME: "Maine",
|
|
22
|
+
MD: "Maryland",
|
|
23
|
+
MA: "Massachusetts",
|
|
24
|
+
MI: "Michigan",
|
|
25
|
+
MN: "Minnesota",
|
|
26
|
+
MS: "Mississippi",
|
|
27
|
+
MO: "Missouri",
|
|
28
|
+
MT: "Montana",
|
|
29
|
+
NE: "Nebraska",
|
|
30
|
+
NV: "Nevada",
|
|
31
|
+
NH: "New Hampshire",
|
|
32
|
+
NJ: "New Jersey",
|
|
33
|
+
NM: "New Mexico",
|
|
34
|
+
NY: "New York",
|
|
35
|
+
NC: "North Carolina",
|
|
36
|
+
ND: "North Dakota",
|
|
37
|
+
OH: "Ohio",
|
|
38
|
+
OK: "Oklahoma",
|
|
39
|
+
OR: "Oregon",
|
|
40
|
+
PA: "Pennsylvania",
|
|
41
|
+
RI: "Rhode Island",
|
|
42
|
+
SC: "South Carolina",
|
|
43
|
+
SD: "South Dakota",
|
|
44
|
+
TN: "Tennessee",
|
|
45
|
+
TX: "Texas",
|
|
46
|
+
UT: "Utah",
|
|
47
|
+
VT: "Vermont",
|
|
48
|
+
VA: "Virginia",
|
|
49
|
+
WA: "Washington",
|
|
50
|
+
WV: "West Virginia",
|
|
51
|
+
WI: "Wisconsin",
|
|
52
|
+
WY: "Wyoming",
|
|
53
|
+
DC: "Washington D.C."
|
|
54
|
+
};
|
|
12
55
|
//#endregion
|
|
13
|
-
export {
|
|
56
|
+
export { e as USStatesEnum };
|