@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,190 +1,172 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { twMerge as v } from "tailwind-merge";
|
|
11
|
-
import { Controller as y, useFormContext as b } from "react-hook-form";
|
|
1
|
+
import { useRootElements as e } from "./index48.js";
|
|
2
|
+
import "./index49.js";
|
|
3
|
+
import { cn as t } from "./index50.js";
|
|
4
|
+
import { Button as n } from "./index57.js";
|
|
5
|
+
import { InputGroup as r, InputGroupAddon as i, InputGroupButton as a, InputGroupInput as o } from "./index111.js";
|
|
6
|
+
import * as s from "react";
|
|
7
|
+
import { CheckIcon as c, ChevronDownIcon as l, XIcon as u } from "lucide-react";
|
|
8
|
+
import { jsx as d, jsxs as f } from "@emotion/react/jsx-runtime";
|
|
9
|
+
import { Combobox as p } from "@base-ui/react";
|
|
12
10
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js
|
|
13
|
-
var
|
|
14
|
-
|
|
15
|
-
return /* @__PURE__ */
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
var m = p.Root;
|
|
12
|
+
function h({ ...e }) {
|
|
13
|
+
return /* @__PURE__ */ d(p.Value, {
|
|
14
|
+
"data-slot": "combobox-value",
|
|
15
|
+
...e
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function g({ className: e, children: n, ...r }) {
|
|
19
|
+
return /* @__PURE__ */ f(p.Trigger, {
|
|
20
|
+
"data-slot": "combobox-trigger",
|
|
21
|
+
className: t("ttw:[&_svg:not([class*=size-])]:size-4", e),
|
|
22
|
+
...r,
|
|
23
|
+
children: [n, /* @__PURE__ */ d(l, {
|
|
24
|
+
"data-slot": "combobox-trigger-icon",
|
|
25
|
+
className: "ttw:pointer-events-none ttw:size-4 ttw:text-muted-foreground"
|
|
26
|
+
})]
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
function _({ className: e, ...n }) {
|
|
30
|
+
return /* @__PURE__ */ d(p.Clear, {
|
|
31
|
+
"data-slot": "combobox-clear",
|
|
32
|
+
render: /* @__PURE__ */ d(a, {
|
|
33
|
+
variant: "ghost",
|
|
34
|
+
size: "icon-xs"
|
|
35
|
+
}),
|
|
36
|
+
className: t(e),
|
|
37
|
+
...n,
|
|
38
|
+
children: /* @__PURE__ */ d(u, { className: "ttw:pointer-events-none" })
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function v({ className: e, children: n, disabled: s = !1, showTrigger: c = !0, showClear: l = !1, ...u }) {
|
|
42
|
+
return /* @__PURE__ */ f(r, {
|
|
43
|
+
className: t("ttw:w-auto", e),
|
|
18
44
|
children: [
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
variant: "body1",
|
|
23
|
-
className: "ttw:font-medium",
|
|
24
|
-
children: x ? T._("Editing address") : T._("Adding address")
|
|
25
|
-
})
|
|
26
|
-
}) : /* @__PURE__ */ h(m, { children: !k && /* @__PURE__ */ h("div", {
|
|
27
|
-
className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-3 ttw:pt-6 ttw:pb-7 ttw:border-b ttw:border-border",
|
|
28
|
-
children: /* @__PURE__ */ g(t, {
|
|
29
|
-
variant: "body1",
|
|
30
|
-
className: "ttw:font-medium",
|
|
31
|
-
children: [
|
|
32
|
-
T._("Address"),
|
|
33
|
-
" ",
|
|
34
|
-
/* @__PURE__ */ h("span", {
|
|
35
|
-
className: "ttw:text-muted-foreground",
|
|
36
|
-
children: T._("(optional)")
|
|
37
|
-
})
|
|
38
|
-
]
|
|
39
|
-
})
|
|
40
|
-
}) }),
|
|
41
|
-
/* @__PURE__ */ g("div", {
|
|
42
|
-
className: "ttw:flex ttw:gap-4",
|
|
43
|
-
children: [/* @__PURE__ */ h(y, {
|
|
44
|
-
name: "line1",
|
|
45
|
-
control: D,
|
|
46
|
-
render: ({ field: t, fieldState: { error: o } }) => /* @__PURE__ */ h(n, { children: /* @__PURE__ */ g(r, { children: [
|
|
47
|
-
/* @__PURE__ */ h(a, {
|
|
48
|
-
htmlFor: t.name,
|
|
49
|
-
children: T._("Street address")
|
|
50
|
-
}),
|
|
51
|
-
/* @__PURE__ */ h(e, {
|
|
52
|
-
id: t.name,
|
|
53
|
-
...t,
|
|
54
|
-
className: C || k ? "ttw:bg-white" : "",
|
|
55
|
-
disabled: S,
|
|
56
|
-
"aria-invalid": !!o || void 0
|
|
57
|
-
}),
|
|
58
|
-
/* @__PURE__ */ h(i, { errors: [o] })
|
|
59
|
-
] }) })
|
|
60
|
-
}), /* @__PURE__ */ h(y, {
|
|
61
|
-
name: "line2",
|
|
62
|
-
control: D,
|
|
63
|
-
render: ({ field: o, fieldState: { error: s } }) => /* @__PURE__ */ h(n, { children: /* @__PURE__ */ g(r, { children: [
|
|
64
|
-
/* @__PURE__ */ g(a, {
|
|
65
|
-
htmlFor: o.name,
|
|
66
|
-
className: "ttw:gap-1",
|
|
67
|
-
children: [T._("Apt, suite, floor, etc."), k && /* @__PURE__ */ h(t, {
|
|
68
|
-
variant: "body2",
|
|
69
|
-
color: "muted",
|
|
70
|
-
className: "ttw:leading-snug",
|
|
71
|
-
children: T._("(optional)")
|
|
72
|
-
})]
|
|
73
|
-
}),
|
|
74
|
-
/* @__PURE__ */ h(e, {
|
|
75
|
-
id: o.name,
|
|
76
|
-
...o,
|
|
77
|
-
className: C || k ? "ttw:bg-white" : "",
|
|
78
|
-
disabled: S,
|
|
79
|
-
"aria-invalid": !!s || void 0
|
|
80
|
-
}),
|
|
81
|
-
/* @__PURE__ */ h(i, { errors: [s] })
|
|
82
|
-
] }) })
|
|
83
|
-
})]
|
|
45
|
+
/* @__PURE__ */ d(p.Input, {
|
|
46
|
+
render: /* @__PURE__ */ d(o, { disabled: s }),
|
|
47
|
+
...u
|
|
84
48
|
}),
|
|
85
|
-
/* @__PURE__ */
|
|
86
|
-
|
|
87
|
-
children: [/* @__PURE__ */
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
id: t.name,
|
|
97
|
-
...t,
|
|
98
|
-
className: C || k ? "ttw:bg-white" : "",
|
|
99
|
-
disabled: S,
|
|
100
|
-
"aria-invalid": !!o || void 0
|
|
101
|
-
}),
|
|
102
|
-
/* @__PURE__ */ h(i, { errors: [o] })
|
|
103
|
-
] }) })
|
|
104
|
-
}), /* @__PURE__ */ h(y, {
|
|
105
|
-
name: "state",
|
|
106
|
-
control: D,
|
|
107
|
-
render: ({ field: t, fieldState: { error: f } }) => E("country") === "US" ? /* @__PURE__ */ h(n, { children: /* @__PURE__ */ g(r, { children: [
|
|
108
|
-
/* @__PURE__ */ h(a, {
|
|
109
|
-
htmlFor: t.name,
|
|
110
|
-
children: T._("State")
|
|
111
|
-
}),
|
|
112
|
-
/* @__PURE__ */ g(s, {
|
|
113
|
-
value: t.value ?? void 0,
|
|
114
|
-
onValueChange: t.onChange,
|
|
115
|
-
disabled: S,
|
|
116
|
-
children: [/* @__PURE__ */ h(u, {
|
|
117
|
-
ref: t.ref,
|
|
118
|
-
onBlur: t.onBlur,
|
|
119
|
-
"aria-invalid": !!f || void 0,
|
|
120
|
-
className: v("ttw:w-full", (C || k) && "ttw:bg-white"),
|
|
121
|
-
disabled: S,
|
|
122
|
-
children: /* @__PURE__ */ h(d, { placeholder: T._("Select a state") })
|
|
123
|
-
}), /* @__PURE__ */ h(c, { children: Object.entries(o).map(([e, t]) => /* @__PURE__ */ g(l, {
|
|
124
|
-
value: e,
|
|
125
|
-
children: [
|
|
126
|
-
t,
|
|
127
|
-
" — ",
|
|
128
|
-
e
|
|
129
|
-
]
|
|
130
|
-
}, e)) })]
|
|
131
|
-
}),
|
|
132
|
-
/* @__PURE__ */ h(i, { errors: [f] })
|
|
133
|
-
] }) }) : /* @__PURE__ */ h(n, { children: /* @__PURE__ */ g(r, { children: [
|
|
134
|
-
/* @__PURE__ */ h(a, {
|
|
135
|
-
htmlFor: t.name,
|
|
136
|
-
children: T._("State")
|
|
137
|
-
}),
|
|
138
|
-
/* @__PURE__ */ h(e, {
|
|
139
|
-
id: t.name,
|
|
140
|
-
...t,
|
|
141
|
-
className: C || k ? "ttw:bg-white" : "",
|
|
142
|
-
disabled: S,
|
|
143
|
-
"aria-invalid": !!f || void 0
|
|
144
|
-
}),
|
|
145
|
-
/* @__PURE__ */ h(i, { errors: [f] })
|
|
146
|
-
] }) })
|
|
147
|
-
})]
|
|
49
|
+
/* @__PURE__ */ f(i, {
|
|
50
|
+
align: "inline-end",
|
|
51
|
+
children: [c && /* @__PURE__ */ d(a, {
|
|
52
|
+
size: "icon-xs",
|
|
53
|
+
variant: "ghost",
|
|
54
|
+
asChild: !0,
|
|
55
|
+
"data-slot": "input-group-button",
|
|
56
|
+
className: "ttw:group-has-data-[slot=combobox-clear]/input-group:hidden ttw:data-pressed:bg-transparent",
|
|
57
|
+
disabled: s,
|
|
58
|
+
children: /* @__PURE__ */ d(g, {})
|
|
59
|
+
}), l && /* @__PURE__ */ d(_, { disabled: s })]
|
|
148
60
|
}),
|
|
149
|
-
|
|
150
|
-
className: "ttw:flex ttw:gap-4",
|
|
151
|
-
children: [/* @__PURE__ */ h(y, {
|
|
152
|
-
name: "postalCode",
|
|
153
|
-
control: D,
|
|
154
|
-
render: ({ field: t, fieldState: { error: o } }) => /* @__PURE__ */ h(n, { children: /* @__PURE__ */ g(r, { children: [
|
|
155
|
-
/* @__PURE__ */ h(a, {
|
|
156
|
-
htmlFor: t.name,
|
|
157
|
-
children: T._("Postal code")
|
|
158
|
-
}),
|
|
159
|
-
/* @__PURE__ */ h(e, {
|
|
160
|
-
id: t.name,
|
|
161
|
-
...t,
|
|
162
|
-
className: C || k ? "ttw:bg-white" : "",
|
|
163
|
-
disabled: S,
|
|
164
|
-
"aria-invalid": !!o || void 0
|
|
165
|
-
}),
|
|
166
|
-
/* @__PURE__ */ h(i, { errors: [o] })
|
|
167
|
-
] }) })
|
|
168
|
-
}), /* @__PURE__ */ h(y, {
|
|
169
|
-
name: "country",
|
|
170
|
-
control: D,
|
|
171
|
-
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ h(n, { children: /* @__PURE__ */ g(r, { children: [
|
|
172
|
-
/* @__PURE__ */ h(a, { children: T._("Country") }),
|
|
173
|
-
/* @__PURE__ */ h(f, {
|
|
174
|
-
value: e.value,
|
|
175
|
-
className: C || k ? "ttw:bg-white" : "",
|
|
176
|
-
onChange: e.onChange,
|
|
177
|
-
invalid: !!t,
|
|
178
|
-
disabled: S,
|
|
179
|
-
container: O?.current,
|
|
180
|
-
allowedCountries: ["US"]
|
|
181
|
-
}),
|
|
182
|
-
/* @__PURE__ */ h(i, { errors: [t] })
|
|
183
|
-
] }) })
|
|
184
|
-
})]
|
|
185
|
-
})
|
|
61
|
+
n
|
|
186
62
|
]
|
|
187
63
|
});
|
|
188
|
-
}
|
|
64
|
+
}
|
|
65
|
+
function y({ className: n, side: r = "bottom", sideOffset: i = 6, align: a = "start", alignOffset: o = 0, anchor: s, container: c, ...l }) {
|
|
66
|
+
let { root: u } = e();
|
|
67
|
+
return /* @__PURE__ */ d(p.Portal, {
|
|
68
|
+
container: c ?? u,
|
|
69
|
+
children: /* @__PURE__ */ d(p.Positioner, {
|
|
70
|
+
side: r,
|
|
71
|
+
sideOffset: i,
|
|
72
|
+
align: a,
|
|
73
|
+
alignOffset: o,
|
|
74
|
+
anchor: s,
|
|
75
|
+
className: "ttw:isolate ttw:z-1300",
|
|
76
|
+
children: /* @__PURE__ */ d(p.Popup, {
|
|
77
|
+
"data-slot": "combobox-content",
|
|
78
|
+
"data-chips": !!s,
|
|
79
|
+
className: t("ttw:group/combobox-content ttw:relative ttw:max-h-96 ttw:w-(--anchor-width) ttw:max-w-(--available-width) ttw:min-w-[calc(var(--anchor-width)+--spacing(7))] ttw:origin-(--transform-origin) ttw:overflow-hidden ttw:rounded-md ttw:bg-popover ttw:text-popover-foreground ttw:shadow-md ttw:ring-1 ttw:ring-foreground/10 ttw:duration-100 ttw:data-[chips=true]:min-w-(--anchor-width) 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:*:data-[slot=input-group]:m-1 ttw:*:data-[slot=input-group]:mb-0 ttw:*:data-[slot=input-group]:h-8 ttw:*:data-[slot=input-group]:border-input/30 ttw:*:data-[slot=input-group]:bg-input/30 ttw:*:data-[slot=input-group]:shadow-none ttw:data-open:animate-in ttw:data-open:fade-in-0 ttw:data-open:zoom-in-95 ttw:data-closed:animate-out ttw:data-closed:fade-out-0 ttw:data-closed:zoom-out-95", n),
|
|
80
|
+
...l
|
|
81
|
+
})
|
|
82
|
+
})
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
function b({ className: e, ...n }) {
|
|
86
|
+
return /* @__PURE__ */ d(p.List, {
|
|
87
|
+
"data-slot": "combobox-list",
|
|
88
|
+
className: t("ttw:max-h-[min(calc(--spacing(96)---spacing(9)),calc(var(--available-height)---spacing(9)))] ttw:scroll-py-1 ttw:overflow-y-auto ttw:p-1 ttw:data-empty:p-0", e),
|
|
89
|
+
...n
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
function x({ className: e, children: n, ...r }) {
|
|
93
|
+
return /* @__PURE__ */ f(p.Item, {
|
|
94
|
+
"data-slot": "combobox-item",
|
|
95
|
+
className: t("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-highlighted:bg-accent ttw:data-highlighted:text-accent-foreground 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", e),
|
|
96
|
+
...r,
|
|
97
|
+
children: [n, /* @__PURE__ */ d(p.ItemIndicator, {
|
|
98
|
+
"data-slot": "combobox-item-indicator",
|
|
99
|
+
render: /* @__PURE__ */ d("span", { className: "ttw:pointer-events-none ttw:absolute ttw:right-2 ttw:flex ttw:size-4 ttw:items-center ttw:justify-center" }),
|
|
100
|
+
children: /* @__PURE__ */ d(c, { className: "ttw:pointer-events-none ttw:size-4 ttw:pointer-coarse:size-5" })
|
|
101
|
+
})]
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
function S({ className: e, ...n }) {
|
|
105
|
+
return /* @__PURE__ */ d(p.Group, {
|
|
106
|
+
"data-slot": "combobox-group",
|
|
107
|
+
className: t(e),
|
|
108
|
+
...n
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
function C({ className: e, ...n }) {
|
|
112
|
+
return /* @__PURE__ */ d(p.GroupLabel, {
|
|
113
|
+
"data-slot": "combobox-label",
|
|
114
|
+
className: t("ttw:px-2 ttw:py-1.5 ttw:text-xs ttw:text-muted-foreground ttw:pointer-coarse:px-3 ttw:pointer-coarse:py-2 ttw:pointer-coarse:text-sm", e),
|
|
115
|
+
...n
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
function w({ ...e }) {
|
|
119
|
+
return /* @__PURE__ */ d(p.Collection, {
|
|
120
|
+
"data-slot": "combobox-collection",
|
|
121
|
+
...e
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
function T({ className: e, ...n }) {
|
|
125
|
+
return /* @__PURE__ */ d(p.Empty, {
|
|
126
|
+
"data-slot": "combobox-empty",
|
|
127
|
+
className: t("ttw:hidden ttw:w-full ttw:justify-center ttw:py-2 ttw:text-center ttw:text-sm ttw:text-muted-foreground ttw:group-data-empty/combobox-content:flex", e),
|
|
128
|
+
...n
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
function E({ className: e, ...n }) {
|
|
132
|
+
return /* @__PURE__ */ d(p.Separator, {
|
|
133
|
+
"data-slot": "combobox-separator",
|
|
134
|
+
className: t("ttw:-mx-1 ttw:my-1 ttw:h-px ttw:bg-border", e),
|
|
135
|
+
...n
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
function D({ className: e, ...n }) {
|
|
139
|
+
return /* @__PURE__ */ d(p.Chips, {
|
|
140
|
+
"data-slot": "combobox-chips",
|
|
141
|
+
className: t("ttw:flex ttw:min-h-9 ttw:flex-wrap ttw:items-center ttw:gap-1.5 ttw:rounded-md ttw:border ttw:border-input ttw:bg-transparent ttw:bg-clip-padding ttw:px-2.5 ttw:py-1.5 ttw:text-sm ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:focus-within:border-ring ttw:focus-within:ring-[3px] ttw:focus-within:ring-ring/50 ttw:has-aria-invalid:border-destructive ttw:has-aria-invalid:ring-[3px] ttw:has-aria-invalid:ring-destructive/20 ttw:has-data-[slot=combobox-chip]:px-1.5 ttw:dark:bg-input/30 ttw:dark:has-aria-invalid:border-destructive/50 ttw:dark:has-aria-invalid:ring-destructive/40", e),
|
|
142
|
+
...n
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
function O({ className: e, children: r, showRemove: i = !0, ...a }) {
|
|
146
|
+
return /* @__PURE__ */ f(p.Chip, {
|
|
147
|
+
"data-slot": "combobox-chip",
|
|
148
|
+
className: t("ttw:flex ttw:h-[calc(--spacing(5.5))] ttw:w-fit ttw:items-center ttw:justify-center ttw:gap-1 ttw:rounded-sm ttw:bg-muted ttw:px-1.5 ttw:text-xs ttw:font-medium ttw:whitespace-nowrap ttw:text-foreground ttw:has-disabled:pointer-events-none ttw:has-disabled:cursor-not-allowed ttw:has-disabled:opacity-50 ttw:has-data-[slot=combobox-chip-remove]:pr-0", e),
|
|
149
|
+
...a,
|
|
150
|
+
children: [r, i && /* @__PURE__ */ d(p.ChipRemove, {
|
|
151
|
+
render: /* @__PURE__ */ d(n, {
|
|
152
|
+
variant: "ghost",
|
|
153
|
+
className: "ttw:size-6"
|
|
154
|
+
}),
|
|
155
|
+
className: "ttw:-ml-1 ttw:opacity-50 ttw:hover:opacity-100",
|
|
156
|
+
"data-slot": "combobox-chip-remove",
|
|
157
|
+
children: /* @__PURE__ */ d(u, { className: "ttw:pointer-events-none" })
|
|
158
|
+
})]
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
function k({ className: e, children: n, ...r }) {
|
|
162
|
+
return /* @__PURE__ */ d(p.Input, {
|
|
163
|
+
"data-slot": "combobox-chip-input",
|
|
164
|
+
className: t("ttw:min-w-16 ttw:flex-1 ttw:outline-none", e),
|
|
165
|
+
...r
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
function A() {
|
|
169
|
+
return s.useRef(null);
|
|
170
|
+
}
|
|
189
171
|
//#endregion
|
|
190
|
-
export { x as
|
|
172
|
+
export { m as Combobox, O as ComboboxChip, D as ComboboxChips, k as ComboboxChipsInput, w as ComboboxCollection, y as ComboboxContent, T as ComboboxEmpty, S as ComboboxGroup, v as ComboboxInput, x as ComboboxItem, C as ComboboxLabel, b as ComboboxList, E as ComboboxSeparator, g as ComboboxTrigger, h as ComboboxValue, A as useComboboxAnchor };
|
|
@@ -1,94 +1,41 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
import {
|
|
6
|
-
import { useCreateCounterpartAddress as i } from "./index83.js";
|
|
7
|
-
import "./index85.js";
|
|
8
|
-
import { getAddressValidationSchema as a } from "./index102.js";
|
|
9
|
-
import { CounterpartAddressFormContent as o } from "./index112.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";
|
|
1
|
+
import { getCountriesArray as e } from "./index12.js";
|
|
2
|
+
import { Combobox as t, ComboboxCollection as n, ComboboxContent as r, ComboboxEmpty as i, ComboboxInput as a, ComboboxItem as o, ComboboxList as s } from "./index112.js";
|
|
3
|
+
import { useMemo as c } from "react";
|
|
4
|
+
import { jsx as l, jsxs as u } from "@emotion/react/jsx-runtime";
|
|
5
|
+
import { useLingui as d } from "@lingui/react";
|
|
16
6
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js
|
|
17
|
-
var
|
|
18
|
-
let { i18n:
|
|
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
|
-
body: t
|
|
46
|
-
}, { onSuccess: () => {
|
|
47
|
-
f.success(w._("Address has been added.")), C && C();
|
|
48
|
-
} });
|
|
49
|
-
})(e);
|
|
50
|
-
}, [
|
|
51
|
-
f,
|
|
52
|
-
D,
|
|
53
|
-
k,
|
|
54
|
-
e,
|
|
55
|
-
S,
|
|
56
|
-
C,
|
|
57
|
-
P.handleSubmit,
|
|
58
|
-
w
|
|
59
|
-
]);
|
|
60
|
-
return /* @__PURE__ */ u(m, {
|
|
61
|
-
resetField: N,
|
|
62
|
-
...P,
|
|
63
|
-
children: /* @__PURE__ */ d("form", {
|
|
64
|
-
id: T,
|
|
65
|
-
onSubmit: F,
|
|
66
|
-
className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:p-4 ttw:border ttw:border-primary ttw:rounded-[10px] ttw:bg-zinc-100",
|
|
67
|
-
children: [/* @__PURE__ */ u(o, {
|
|
68
|
-
hasExistingAddress: E,
|
|
69
|
-
isLoading: j,
|
|
70
|
-
isStandalone: v,
|
|
71
|
-
customerType: b
|
|
72
|
-
}), /* @__PURE__ */ d("div", {
|
|
73
|
-
className: "ttw:flex ttw:gap-4 ttw:pt-6",
|
|
74
|
-
children: [/* @__PURE__ */ u(t, {
|
|
75
|
-
type: "button",
|
|
76
|
-
variant: "outline",
|
|
77
|
-
className: "ttw:border-border ttw:flex-1",
|
|
78
|
-
disabled: j,
|
|
79
|
-
onClick: () => {
|
|
80
|
-
N("line1"), N("line2"), N("city"), N("state"), N("postalCode"), N("country"), x();
|
|
81
|
-
},
|
|
82
|
-
children: w._("Cancel")
|
|
83
|
-
}), /* @__PURE__ */ d(t, {
|
|
84
|
-
type: "submit",
|
|
85
|
-
className: "ttw:flex-1",
|
|
86
|
-
disabled: j || !P.formState.isDirty,
|
|
87
|
-
children: [j && /* @__PURE__ */ u(n, { className: "ttw:border-white ttw:border-t-transparent ttw:size-4" }), w._("Save")]
|
|
7
|
+
var f = ({ value: f, onChange: p, disabled: m, invalid: h, allowedCountries: g, showClearButton: _ = !0, className: v, container: y }) => {
|
|
8
|
+
let { i18n: b } = d(), x = c(() => {
|
|
9
|
+
let t = e(b);
|
|
10
|
+
return g ? t.filter((e) => g.includes(e.code)) : t;
|
|
11
|
+
}, [g, b]), S = c(() => new Map(x.map((e) => [e.code, e])), [x]), C = m || x.length === 1;
|
|
12
|
+
return /* @__PURE__ */ u(t, {
|
|
13
|
+
value: f ?? null,
|
|
14
|
+
onValueChange: (e) => p?.(e ?? void 0),
|
|
15
|
+
items: x.map((e) => e.code),
|
|
16
|
+
itemToStringLabel: (e) => S.get(e)?.label ?? e,
|
|
17
|
+
filter: (e, t, n) => {
|
|
18
|
+
let r = t.toLowerCase().trim();
|
|
19
|
+
return !r || e.toLowerCase().includes(r) || (n?.(e) ?? "").toLowerCase().includes(r);
|
|
20
|
+
},
|
|
21
|
+
disabled: C,
|
|
22
|
+
children: [/* @__PURE__ */ l(a, {
|
|
23
|
+
showClear: _,
|
|
24
|
+
disabled: C,
|
|
25
|
+
className: v,
|
|
26
|
+
placeholder: b._("Country"),
|
|
27
|
+
"aria-invalid": h || void 0
|
|
28
|
+
}), /* @__PURE__ */ l(r, {
|
|
29
|
+
container: y,
|
|
30
|
+
children: /* @__PURE__ */ u(s, { children: [/* @__PURE__ */ l(i, { children: b._("No countries found") }), /* @__PURE__ */ l(n, { children: (e) => /* @__PURE__ */ u(o, {
|
|
31
|
+
value: e,
|
|
32
|
+
children: [/* @__PURE__ */ l("span", { children: S.get(e)?.label ?? e }), /* @__PURE__ */ l("span", {
|
|
33
|
+
className: "ttw:ml-auto ttw:text-xs ttw:text-muted-foreground",
|
|
34
|
+
children: e
|
|
88
35
|
})]
|
|
89
|
-
})]
|
|
90
|
-
})
|
|
36
|
+
}, e) })] })
|
|
37
|
+
})]
|
|
91
38
|
});
|
|
92
39
|
};
|
|
93
40
|
//#endregion
|
|
94
|
-
export {
|
|
41
|
+
export { f as MoniteCountryShadcn };
|