@tesouro/embedded-components-react 0.7.56 → 0.7.58
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/README.md +0 -3
- package/dist/experimental/RemoteCheckCapture.d.ts +1 -32
- package/dist/experimental/index.d.ts +1 -32
- package/dist/index.css +0 -28
- package/dist/index.d.ts +12 -44
- package/dist/index.js +47 -48
- package/dist/lib/AcceptDisclosuresWidget.d.ts +1 -32
- package/dist/lib/BalancesWidget.d.ts +0 -31
- package/dist/lib/BankAccountOnboardingWidget.d.ts +1 -32
- package/dist/lib/BankAccountsWidget.d.ts +1 -32
- package/dist/lib/BankingComplianceBannerWidget.d.ts +0 -31
- package/dist/lib/BillPayWidget.d.ts +0 -31
- package/dist/lib/CardDetailsWidget.d.ts +1 -32
- package/dist/lib/CounterpartsWidget.d.ts +0 -31
- package/dist/lib/CounterpartsWidgetPublic.d.ts +0 -31
- package/dist/lib/CreditCardsWidget.d.ts +0 -31
- package/dist/lib/CustomersWidget.d.ts +1 -33
- package/dist/lib/DebitCardsWidget.d.ts +0 -31
- package/dist/lib/ExpenseManagementWidget.d.ts +0 -31
- package/dist/lib/InsightsWidget.d.ts +0 -31
- package/dist/lib/LinkedAccountsWidget.d.ts +1 -32
- package/dist/lib/OfferWidget.d.ts +1 -32
- package/dist/lib/ProductsWidget.d.ts +1 -32
- package/dist/lib/ReceivablesWidget.d.ts +1 -32
- package/dist/lib/SettingsWidget.d.ts +0 -31
- package/dist/lib/TransfersWidget.d.ts +0 -31
- package/dist/lib/WidgetProvider.d.ts +2 -33
- package/dist/lib/WidgetProvider.js +9 -10
- package/dist/lib/WidgetProviderPublic.d.ts +0 -31
- package/dist/lib/WidgetSuite.d.ts +1 -32
- package/dist/lib/monite-sdk.d.ts +2376 -4041
- package/dist/lib/monite-sdk.js +53 -76
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js +395 -396
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/BankAccountsWidget/BankAccountsWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index48.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index8.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index20.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index14.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/CardDetailsWidget.js +83 -84
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +15 -16
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/CardsWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/CounterpartsWidget.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +25 -26
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/LinkedAccountsWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +58 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +1 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +153 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1222 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +176 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +5 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +17 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +5 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +2 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +3 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +10 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +56 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +38 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +68 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +38 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +11 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +50 -1222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +9 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +65 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +167 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +6 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +2 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +76 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +75 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +32 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +2 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +56 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +44 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +564 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +1 -569
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +159 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +22 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +18 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +27 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +23 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +162 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +68 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +6 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +39 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +48 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +58 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +1 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +27 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +43 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +78 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index16.js +3 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +4 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +2 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +52 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +81 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +109 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +4 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +10 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +75 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index17.js +59 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +122 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +11 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +16 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +62 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +122 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index18.js +20 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +22 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +6 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +35 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +54 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +73 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +25 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +1 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +58 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +19 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +182 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +27 -180
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +38 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +1 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +17 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index20.js +8 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +5 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +15 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +20 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +14 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index21.js +15 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +8 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +23 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +81 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +97 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +46 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +28 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +1 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +96 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +102 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +166 -193
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +67 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +24 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +209 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +89 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +20 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index23.js +23 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +17 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +153 -354
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +104 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +43 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +4 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +19 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +73 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +17 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +20 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +6 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +5 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +10 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +129 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +5 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +5 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +221 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +34 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +11 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +12 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +36 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +76 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +175 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +204 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +93 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +63 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +54 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +92 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +7 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +37 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +77 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +80 -300
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +23 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +16 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +23 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +21 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +28 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +33 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +30 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +28 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +2 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +5 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +156 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +10 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +57 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index35.js +929 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +29 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +67 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +7 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +6 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +6 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +11 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +14 -930
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +43 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +22 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +5 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +32 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +8 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +5 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +12 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +4 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +32 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +70 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +1 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +49 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +11 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +45 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +37 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +66 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +31 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +40 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +21 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +12 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +53 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +12 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +23 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +69 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +78 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +1 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +8 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +25 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +4 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +16 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +3 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +2 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +57 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +35 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +103 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +56 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +53 -10
- package/dist/libs/tesouro-embedded-components-react/offer-widget/feature/dist/lib/OfferWidget/OfferWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/ProductsWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/RemoteCheckCaptureWidget.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index8.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/help/feature/dist/index3.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index10.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/feature/dist/index4.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index17.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/shared/bank-disclosures/feature/dist/lib/BankDisclosuresWidget/BankDisclosuresWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/index.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js +45 -49
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +91 -95
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/hooks.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/index.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/WidgetSuite.js +120 -121
- package/package.json +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +0 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +0 -211
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +0 -242
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +0 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +0 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +0 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +0 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +0 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +0 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +0 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +0 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +0 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +0 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +0 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +0 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +0 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +0 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +0 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +0 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +0 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +0 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +0 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +0 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +0 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +0 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +0 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +0 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +0 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +0 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +0 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +0 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +0 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +0 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +0 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +0 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +0 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +0 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +0 -97
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/types.js +0 -8
|
@@ -1,29 +1,46 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { createTheme as n } from "@mui/material";
|
|
1
|
+
import { useMoniteContext as e } from "./index37.js";
|
|
2
|
+
import { isIndividualCounterpart as t } from "./index43.js";
|
|
4
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js
|
|
5
|
-
var
|
|
6
|
-
let
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
4
|
+
var n = (n) => {
|
|
5
|
+
let { api: r } = e(), { data: i, isLoading: a } = r.finops.getCounterpartsId.useQuery({ path: { counterpart_id: n ?? "" } }, { enabled: !!n }), { data: o, isLoading: s, error: c } = r.finops.getCounterpartsIdContacts.useQuery({ path: { counterpart_id: n ?? "" } }, { enabled: !!(n && i?.type === "organization") });
|
|
6
|
+
if (i && t(i)) {
|
|
7
|
+
let e = i.individual;
|
|
8
|
+
return {
|
|
9
|
+
isLoading: !1,
|
|
10
|
+
data: [{
|
|
11
|
+
id: i.id,
|
|
12
|
+
counterpart_id: n ?? "",
|
|
13
|
+
is_default: !0,
|
|
14
|
+
email: e.email,
|
|
15
|
+
first_name: e.first_name,
|
|
16
|
+
is_customer: i.is_customer,
|
|
17
|
+
is_vendor: i.is_vendor,
|
|
18
|
+
last_name: e.last_name,
|
|
19
|
+
phone: e.phone,
|
|
20
|
+
title: e.title
|
|
21
|
+
}]
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
isLoading: !n || a || s,
|
|
26
|
+
error: c,
|
|
27
|
+
data: o?.data.map((e) => {
|
|
28
|
+
let t = i;
|
|
29
|
+
return {
|
|
30
|
+
id: e.id,
|
|
31
|
+
counterpart_id: n ?? "",
|
|
32
|
+
is_default: e.is_default,
|
|
33
|
+
address: e.address,
|
|
34
|
+
email: e.email,
|
|
35
|
+
first_name: e.first_name,
|
|
36
|
+
is_customer: t?.is_customer,
|
|
37
|
+
is_vendor: t?.is_vendor,
|
|
38
|
+
last_name: e.last_name,
|
|
39
|
+
phone: e.phone,
|
|
40
|
+
title: e.title
|
|
41
|
+
};
|
|
42
|
+
})
|
|
43
|
+
};
|
|
24
44
|
};
|
|
25
|
-
function i(e, t) {
|
|
26
|
-
return e.reduce((e, n) => (e[n] = { defaultProps: t }, e), {});
|
|
27
|
-
}
|
|
28
45
|
//#endregion
|
|
29
|
-
export {
|
|
46
|
+
export { n as useCounterpartContactList };
|
|
@@ -1,71 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { getDefaultComponentSettings as n } from "./index20.js";
|
|
4
|
-
import { I18nLoader as r, getLocaleWithDefaults as i } from "./index23.js";
|
|
5
|
-
import { MoniteQraftContext as a } from "./index24.js";
|
|
6
|
-
import { createQueryClient as o } from "./index27.js";
|
|
7
|
-
import { createThemeWithDefaults as s } from "./index44.js";
|
|
8
|
-
import { createContext as c, useContext as l, useEffect as u, useMemo as d } from "react";
|
|
9
|
-
import { jsx as f } from "@emotion/react/jsx-runtime";
|
|
1
|
+
import { useMoniteContext as e } from "./index37.js";
|
|
2
|
+
import { useMemo as t } from "react";
|
|
10
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
children: (e, r) => /* @__PURE__ */ f(g, {
|
|
22
|
-
...a,
|
|
23
|
-
i18n: e,
|
|
24
|
-
locale: o,
|
|
25
|
-
dateFnsLocale: r,
|
|
26
|
-
userPermissions: n,
|
|
27
|
-
children: t
|
|
28
|
-
})
|
|
29
|
-
});
|
|
30
|
-
}, g = ({ monite: r, locale: i, i18n: c, dateFnsLocale: l, theme: m, componentSettings: h, children: g, userPermissions: _ }) => {
|
|
31
|
-
let { entityId: v, apiUrl: y, fetchToken: b, headers: x, fetch: S } = r, C;
|
|
32
|
-
C = y ? y.match(/dev/) ? "dev" : y.match(/sandbox/) ? "sandbox" : "production" : "sandbox";
|
|
33
|
-
let w = d(() => o(c), [c]), { api: T, version: E, requestFn: D } = d(() => e({
|
|
34
|
-
context: a,
|
|
35
|
-
customHeaders: x
|
|
36
|
-
}), [x]), O = d(() => S ? (e, t, n) => D(e, t, {
|
|
37
|
-
...n,
|
|
38
|
-
fetch: S
|
|
39
|
-
}) : D, [D, S]), k = d(() => s(m), [m]), A = t(), j = d(() => () => {
|
|
40
|
-
A.current && (async () => {
|
|
41
|
-
try {
|
|
42
|
-
await w.cancelQueries(), w.clear(), w.unmount();
|
|
43
|
-
} catch (e) {
|
|
44
|
-
console.warn(e);
|
|
45
|
-
}
|
|
46
|
-
})();
|
|
47
|
-
}, [w, A]);
|
|
48
|
-
return u(() => (w.mount(), () => {
|
|
49
|
-
j();
|
|
50
|
-
}), [w, j]), /* @__PURE__ */ f(p.Provider, {
|
|
51
|
-
value: {
|
|
52
|
-
api: T,
|
|
53
|
-
version: E,
|
|
54
|
-
environment: C,
|
|
55
|
-
entityId: v,
|
|
56
|
-
theme: k,
|
|
57
|
-
componentSettings: n(c, h),
|
|
58
|
-
queryClient: w,
|
|
59
|
-
i18n: c,
|
|
60
|
-
locale: i,
|
|
61
|
-
dateFnsLocale: l,
|
|
62
|
-
apiUrl: y || "https://api.sandbox.monite.com/v1",
|
|
63
|
-
fetchToken: b,
|
|
64
|
-
requestFn: O,
|
|
65
|
-
userPermissions: _
|
|
66
|
-
},
|
|
67
|
-
children: g
|
|
4
|
+
var n = 100, r = (t) => {
|
|
5
|
+
let { api: n } = e();
|
|
6
|
+
return n.finops.getEntityUsersId.useQuery({ path: { entity_user_id: t ?? "" } }, { enabled: !!t });
|
|
7
|
+
}, i = () => {
|
|
8
|
+
let { api: t } = e();
|
|
9
|
+
return t.finops.getEntityUsersMe.useQuery({}, {
|
|
10
|
+
retry: !1,
|
|
11
|
+
staleTime: Infinity,
|
|
12
|
+
refetchOnMount: !1,
|
|
13
|
+
refetchOnWindowFocus: !1
|
|
68
14
|
});
|
|
15
|
+
}, a = ({ entityUserIds: r, enabled: i = !0 }) => {
|
|
16
|
+
let { api: a } = e(), o = t(() => [...r].sort(), [r]), s = a.finops.getEntityUsers.useQuery({ query: {
|
|
17
|
+
id__in: o,
|
|
18
|
+
limit: n
|
|
19
|
+
} }, { enabled: i && o.length > 0 });
|
|
20
|
+
return {
|
|
21
|
+
userNames: t(() => new Map((s.data?.data ?? []).map((e) => [e.id, `${e.first_name ?? ""} ${e.last_name ?? ""}`.trim()]).filter(([, e]) => !!e)), [s.data]),
|
|
22
|
+
isError: s.isError
|
|
23
|
+
};
|
|
69
24
|
};
|
|
70
25
|
//#endregion
|
|
71
|
-
export {
|
|
26
|
+
export { i as useEntityUserByAuthToken, r as useEntityUserById, a as useEntityUserNames };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./
|
|
1
|
+
import { useMoniteContext as e } from "./index37.js";
|
|
2
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js
|
|
3
3
|
var t = (t) => {
|
|
4
4
|
let { api: n } = e();
|
|
5
|
-
return n.finops.
|
|
5
|
+
return n.finops.getApprovalPoliciesId.useQuery({ path: { approval_policy_id: t ?? "" } }, { enabled: !!t });
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
8
|
-
export { t as
|
|
8
|
+
export { t as useApprovalPolicyById };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./
|
|
2
|
-
import { keepPreviousData as t } from "@tanstack/react-query";
|
|
1
|
+
import { useMoniteContext as e } from "./index37.js";
|
|
3
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js
|
|
4
|
-
var
|
|
5
|
-
let { api:
|
|
6
|
-
return
|
|
3
|
+
var t = (t) => {
|
|
4
|
+
let { api: n } = e();
|
|
5
|
+
return n.finops.getFilesId.useQuery({ path: { file_id: t ?? "" } }, { enabled: !!t });
|
|
7
6
|
};
|
|
8
7
|
//#endregion
|
|
9
|
-
export {
|
|
8
|
+
export { t as useFileById };
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./index45.js";
|
|
2
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js
|
|
3
|
-
var
|
|
4
|
-
let { api: n } = e();
|
|
5
|
-
return n.finops.getCounterpartsIdAddresses.useQuery({ path: { counterpart_id: t ?? "" } }, { enabled: !!t });
|
|
6
|
-
};
|
|
2
|
+
var e = /* @__PURE__ */ "AO.AU.AT.BE.BW.BG.CZ.DK.EE.SZ.FR.FI.DE.GR.IE.IL.LS.LR.LU.MZ.NA.NL.PK.PL.ZA.ES.SE.CH.AE.GB.ZW".split(".");
|
|
7
3
|
//#endregion
|
|
8
|
-
export {
|
|
4
|
+
export { e as VAT_SUPPORTED_COUNTRIES };
|
|
@@ -1,8 +1,35 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./
|
|
1
|
+
import { useMoniteContext as e } from "./index37.js";
|
|
2
|
+
import { VAT_SUPPORTED_COUNTRIES as t } from "./index48.js";
|
|
2
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js
|
|
3
|
-
var
|
|
4
|
-
let { api:
|
|
5
|
-
return
|
|
4
|
+
var n = () => {
|
|
5
|
+
let { api: t } = e();
|
|
6
|
+
return t.finops.getEntityUsersMe.useQuery({}, {
|
|
7
|
+
retry: !1,
|
|
8
|
+
staleTime: Infinity,
|
|
9
|
+
refetchOnMount: !1,
|
|
10
|
+
refetchOnWindowFocus: !1
|
|
11
|
+
});
|
|
12
|
+
}, r = () => {
|
|
13
|
+
let { api: n, entityId: r } = e(), i = n.finops.getEntityUsersMyEntity.useQuery({}, {
|
|
14
|
+
retry: !1,
|
|
15
|
+
staleTime: Infinity,
|
|
16
|
+
refetchOnMount: !1,
|
|
17
|
+
refetchOnWindowFocus: !1
|
|
18
|
+
}), { data: a } = n.finops.getEntitiesIdSettings.useQuery({ path: { entity_id: r } }), s = !!(i.data?.address && t.includes(i.data?.address.country)), c = !!(i.data?.address && i.data?.address.country === "US"), l = a?.receivable_edit_flow === "non_compliant", u = o(i.data);
|
|
19
|
+
return {
|
|
20
|
+
...i,
|
|
21
|
+
entityName: u,
|
|
22
|
+
isNonVatSupported: !s,
|
|
23
|
+
isUSEntity: c,
|
|
24
|
+
isNonCompliantFlow: l
|
|
25
|
+
};
|
|
26
|
+
}, i = (e) => e?.type === "individual", a = (e) => e?.type === "organization", o = (e) => {
|
|
27
|
+
if (!e) return "";
|
|
28
|
+
if (i(e)) {
|
|
29
|
+
let { first_name: t, last_name: n } = e.individual;
|
|
30
|
+
return `${t} ${n}`;
|
|
31
|
+
}
|
|
32
|
+
return a(e) ? e.organization.legal_name : "";
|
|
6
33
|
};
|
|
7
34
|
//#endregion
|
|
8
|
-
export {
|
|
35
|
+
export { o as getEntityName, n as useMe, r as useMyEntity };
|
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useMoniteContext as e } from "./index37.js";
|
|
2
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js
|
|
3
|
-
var t = (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
let { individual: { first_name: t, last_name: n } } = r;
|
|
8
|
-
return e(t, n);
|
|
9
|
-
}
|
|
10
|
-
if (n(r)) {
|
|
11
|
-
let { organization: { legal_name: e } } = r;
|
|
12
|
-
return e;
|
|
13
|
-
}
|
|
14
|
-
return "";
|
|
15
|
-
}
|
|
3
|
+
var t = (t) => {
|
|
4
|
+
let { api: n } = e();
|
|
5
|
+
return n.finops.getPaymentIntentsId.useQuery({ path: { payment_intent_id: t } }, { enabled: !!t });
|
|
6
|
+
};
|
|
16
7
|
//#endregion
|
|
17
|
-
export {
|
|
8
|
+
export { t as usePaymentIntentById };
|
|
@@ -1,46 +1,11 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./
|
|
2
|
-
import { isIndividualCounterpart as t } from "./index50.js";
|
|
1
|
+
import { useMoniteContext as e } from "./index37.js";
|
|
3
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js
|
|
4
|
-
var
|
|
5
|
-
let { api:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
data: [{
|
|
11
|
-
id: i.id,
|
|
12
|
-
counterpart_id: n ?? "",
|
|
13
|
-
is_default: !0,
|
|
14
|
-
email: e.email,
|
|
15
|
-
first_name: e.first_name,
|
|
16
|
-
is_customer: i.is_customer,
|
|
17
|
-
is_vendor: i.is_vendor,
|
|
18
|
-
last_name: e.last_name,
|
|
19
|
-
phone: e.phone,
|
|
20
|
-
title: e.title
|
|
21
|
-
}]
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
return {
|
|
25
|
-
isLoading: !n || a || s,
|
|
26
|
-
error: c,
|
|
27
|
-
data: o?.data.map((e) => {
|
|
28
|
-
let t = i;
|
|
29
|
-
return {
|
|
30
|
-
id: e.id,
|
|
31
|
-
counterpart_id: n ?? "",
|
|
32
|
-
is_default: e.is_default,
|
|
33
|
-
address: e.address,
|
|
34
|
-
email: e.email,
|
|
35
|
-
first_name: e.first_name,
|
|
36
|
-
is_customer: t?.is_customer,
|
|
37
|
-
is_vendor: t?.is_vendor,
|
|
38
|
-
last_name: e.last_name,
|
|
39
|
-
phone: e.phone,
|
|
40
|
-
title: e.title
|
|
41
|
-
};
|
|
42
|
-
})
|
|
43
|
-
};
|
|
3
|
+
var t = () => {
|
|
4
|
+
let { api: t, entityId: n } = e();
|
|
5
|
+
return t.finops.patchEntitiesIdSettings.useMutation({ path: { entity_id: n } });
|
|
6
|
+
}, n = (t = !0) => {
|
|
7
|
+
let { api: n, entityId: r } = e();
|
|
8
|
+
return n.finops.getEntitiesIdSettings.useQuery({ path: { entity_id: r } }, { enabled: t });
|
|
44
9
|
};
|
|
45
10
|
//#endregion
|
|
46
|
-
export { n as
|
|
11
|
+
export { n as useEntitySettings, t as usePatchEntitiesIdSettings };
|
|
@@ -1,26 +1,8 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./
|
|
2
|
-
import { useMemo as t } from "react";
|
|
1
|
+
import { useMoniteContext as e } from "./index37.js";
|
|
3
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js
|
|
4
|
-
var
|
|
5
|
-
let { api:
|
|
6
|
-
return
|
|
7
|
-
}, i = () => {
|
|
8
|
-
let { api: t } = e();
|
|
9
|
-
return t.finops.getEntityUsersMe.useQuery({}, {
|
|
10
|
-
retry: !1,
|
|
11
|
-
staleTime: Infinity,
|
|
12
|
-
refetchOnMount: !1,
|
|
13
|
-
refetchOnWindowFocus: !1
|
|
14
|
-
});
|
|
15
|
-
}, a = ({ entityUserIds: r, enabled: i = !0 }) => {
|
|
16
|
-
let { api: a } = e(), o = t(() => [...r].sort(), [r]), s = a.finops.getEntityUsers.useQuery({ query: {
|
|
17
|
-
id__in: o,
|
|
18
|
-
limit: n
|
|
19
|
-
} }, { enabled: i && o.length > 0 });
|
|
20
|
-
return {
|
|
21
|
-
userNames: t(() => new Map((s.data?.data ?? []).map((e) => [e.id, `${e.first_name ?? ""} ${e.last_name ?? ""}`.trim()]).filter(([, e]) => !!e)), [s.data]),
|
|
22
|
-
isError: s.isError
|
|
23
|
-
};
|
|
3
|
+
var t = (t, n) => {
|
|
4
|
+
let { api: r } = e();
|
|
5
|
+
return r.finops.getReceivablesId.useQuery({ path: { receivable_id: t } }, { enabled: n });
|
|
24
6
|
};
|
|
25
7
|
//#endregion
|
|
26
|
-
export {
|
|
8
|
+
export { t as useGetReceivableById };
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import "./index38.js";
|
|
2
|
+
import "./index39.js";
|
|
3
|
+
import "./index40.js";
|
|
4
|
+
import "./index41.js";
|
|
5
|
+
import "./index44.js";
|
|
6
|
+
import "./index45.js";
|
|
7
|
+
import "./index46.js";
|
|
8
|
+
import "./index47.js";
|
|
9
|
+
import "./index49.js";
|
|
10
|
+
import "./index50.js";
|
|
11
|
+
import "./index51.js";
|
|
12
|
+
import "./index52.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { twMerge as e } from "tailwind-merge";
|
|
2
|
+
import { clsx as t } from "clsx";
|
|
2
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
4
|
+
function n(...n) {
|
|
5
|
+
return e(t(n));
|
|
6
|
+
}
|
|
7
7
|
//#endregion
|
|
8
|
-
export {
|
|
8
|
+
export { n as cn };
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
+
import { cn as e } from "./index54.js";
|
|
2
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
1
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js
|
|
2
|
-
var
|
|
4
|
+
var n = ({ children: n, className: r }) => /* @__PURE__ */ t("div", {
|
|
5
|
+
className: e("ttw:flex ttw:items-center ttw:justify-center ttw:h-full ttw:w-full", r),
|
|
6
|
+
children: n
|
|
7
|
+
});
|
|
3
8
|
//#endregion
|
|
4
|
-
export {
|
|
9
|
+
export { n as CenteredContentBox };
|
|
@@ -1,35 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { VAT_SUPPORTED_COUNTRIES as t } from "./index55.js";
|
|
3
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js
|
|
4
|
-
var n = () => {
|
|
5
|
-
let { api: t } = e();
|
|
6
|
-
return t.finops.getEntityUsersMe.useQuery({}, {
|
|
7
|
-
retry: !1,
|
|
8
|
-
staleTime: Infinity,
|
|
9
|
-
refetchOnMount: !1,
|
|
10
|
-
refetchOnWindowFocus: !1
|
|
11
|
-
});
|
|
12
|
-
}, r = () => {
|
|
13
|
-
let { api: n, entityId: r } = e(), i = n.finops.getEntityUsersMyEntity.useQuery({}, {
|
|
14
|
-
retry: !1,
|
|
15
|
-
staleTime: Infinity,
|
|
16
|
-
refetchOnMount: !1,
|
|
17
|
-
refetchOnWindowFocus: !1
|
|
18
|
-
}), { data: a } = n.finops.getEntitiesIdSettings.useQuery({ path: { entity_id: r } }), s = !!(i.data?.address && t.includes(i.data?.address.country)), c = !!(i.data?.address && i.data?.address.country === "US"), l = a?.receivable_edit_flow === "non_compliant", u = o(i.data);
|
|
19
|
-
return {
|
|
20
|
-
...i,
|
|
21
|
-
entityName: u,
|
|
22
|
-
isNonVatSupported: !s,
|
|
23
|
-
isUSEntity: c,
|
|
24
|
-
isNonCompliantFlow: l
|
|
25
|
-
};
|
|
26
|
-
}, i = (e) => e?.type === "individual", a = (e) => e?.type === "organization", o = (e) => {
|
|
27
|
-
if (!e) return "";
|
|
28
|
-
if (i(e)) {
|
|
29
|
-
let { first_name: t, last_name: n } = e.individual;
|
|
30
|
-
return `${t} ${n}`;
|
|
31
|
-
}
|
|
32
|
-
return a(e) ? e.organization.legal_name : "";
|
|
33
|
-
};
|
|
34
|
-
//#endregion
|
|
35
|
-
export { o as getEntityName, n as useMe, r as useMyEntity };
|
|
1
|
+
import "./index55.js";
|
|
@@ -1,76 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { useEffect as n, useMemo as r } from "react";
|
|
4
|
-
import { toast as i } from "react-hot-toast";
|
|
5
|
-
import { useLingui as a } from "@lingui/react";
|
|
1
|
+
import { twMerge as e } from "tailwind-merge";
|
|
2
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
6
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js
|
|
7
|
-
var
|
|
8
|
-
let { api: r } = t();
|
|
9
|
-
return r.finops.getPaymentRecords.useQuery({ query: e }, { enabled: n });
|
|
10
|
-
}, s = (e = []) => {
|
|
11
|
-
let { api: i, queryClient: a } = t(), o = r(() => e, [e]), { data: s, isLoading: c, error: l, fetchNextPage: u, hasNextPage: d, isFetchingNextPage: f } = i.finops.getPaymentRecords.useInfiniteQuery({ query: {
|
|
12
|
-
object_id__in: o,
|
|
13
|
-
sort: "paid_at",
|
|
14
|
-
order: "desc",
|
|
15
|
-
limit: 100
|
|
16
|
-
} }, {
|
|
17
|
-
initialPageParam: { query: { pagination_token: void 0 } },
|
|
18
|
-
getNextPageParam: (e) => {
|
|
19
|
-
if (e.next_pagination_token) return { query: { pagination_token: e.next_pagination_token } };
|
|
20
|
-
},
|
|
21
|
-
enabled: o.length > 0
|
|
22
|
-
});
|
|
23
|
-
n(() => {
|
|
24
|
-
d && !f && u().catch((e) => {
|
|
25
|
-
console.error("Error fetching next page:", e);
|
|
26
|
-
});
|
|
27
|
-
}, [
|
|
28
|
-
d,
|
|
29
|
-
f,
|
|
30
|
-
u
|
|
31
|
-
]);
|
|
32
|
-
let p = r(() => {
|
|
33
|
-
if (!s?.pages?.length || !o.length) return {};
|
|
34
|
-
let e = {};
|
|
35
|
-
o.forEach((t) => {
|
|
36
|
-
e[t] = [];
|
|
37
|
-
});
|
|
38
|
-
let t = /* @__PURE__ */ new Map();
|
|
39
|
-
o.forEach((e) => {
|
|
40
|
-
t.set(e, /* @__PURE__ */ new Set());
|
|
41
|
-
});
|
|
42
|
-
for (let n of s.pages) if (n.data?.length) for (let r of n.data) {
|
|
43
|
-
let n = r.object?.id, i = r.payment_intent_id;
|
|
44
|
-
if (r.object?.type !== "payable" || !n || !i || !e[n]) continue;
|
|
45
|
-
let a = t.get(n);
|
|
46
|
-
a && !a.has(i) && (e[n].push({
|
|
47
|
-
intent: i,
|
|
48
|
-
record: r
|
|
49
|
-
}), a.add(i));
|
|
50
|
-
}
|
|
51
|
-
return e;
|
|
52
|
-
}, [s?.pages, o]);
|
|
53
|
-
return {
|
|
54
|
-
allPaymentRecords: s?.pages.flatMap((e) => e.data),
|
|
55
|
-
payablesPaymentIntentsRecord: p,
|
|
56
|
-
isLoading: o.length > 0 && (c || f),
|
|
57
|
-
error: l,
|
|
58
|
-
refetch: () => {
|
|
59
|
-
i.finops.getPaymentRecords.invalidateQueries(a);
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
}, c = () => {
|
|
63
|
-
let { i18n: n } = a(), { api: r, queryClient: o } = t();
|
|
64
|
-
return r.finops.postPaymentRecords.useMutation({}, {
|
|
65
|
-
onSuccess: async () => (await r.finops.getPaymentRecords.invalidateQueries(o), i.success(n._("Payment record was created"))),
|
|
66
|
-
onError: (t) => {
|
|
67
|
-
let r = e(n, t);
|
|
68
|
-
i.error(n._("Failed to create payment record: {errorMessage}", { errorMessage: r }));
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
}, l = (e) => {
|
|
72
|
-
let { api: n } = t();
|
|
73
|
-
return n.finops.getPaymentRecordsId.useQuery({ path: { payment_record_id: e } });
|
|
74
|
-
};
|
|
4
|
+
var n = ({ className: n }) => /* @__PURE__ */ t("div", { className: e("ttw:w-8 ttw:h-8 ttw:rounded-full ttw:border-3 ttw:border-primary ttw:border-t-transparent ttw:animate-spin", n) });
|
|
75
5
|
//#endregion
|
|
76
|
-
export {
|
|
6
|
+
export { n as LoadingSpinner };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CenteredContentBox as e } from "./index55.js";
|
|
2
|
+
import "./index56.js";
|
|
3
|
+
import { LoadingSpinner as t } from "./index57.js";
|
|
4
|
+
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
2
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js
|
|
3
|
-
var
|
|
4
|
-
let { api: n } = e();
|
|
5
|
-
return n.finops.getPaymentIntentsId.useQuery({ path: { payment_intent_id: t } }, { enabled: !!t });
|
|
6
|
-
};
|
|
6
|
+
var r = () => /* @__PURE__ */ n(e, { children: /* @__PURE__ */ n(t, {}) });
|
|
7
7
|
//#endregion
|
|
8
|
-
export {
|
|
8
|
+
export { r as LoadingPage };
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js
|
|
3
|
-
var t = () => {
|
|
4
|
-
let { api: t, entityId: n } = e();
|
|
5
|
-
return t.finops.patchEntitiesIdSettings.useMutation({ path: { entity_id: n } });
|
|
6
|
-
}, n = (t = !0) => {
|
|
7
|
-
let { api: n, entityId: r } = e();
|
|
8
|
-
return n.finops.getEntitiesIdSettings.useQuery({ path: { entity_id: r } }, { enabled: t });
|
|
9
|
-
};
|
|
10
|
-
//#endregion
|
|
11
|
-
export { n as useEntitySettings, t as usePatchEntitiesIdSettings };
|
|
1
|
+
import "./index58.js";
|
|
@@ -1,8 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cn as e } from "./index54.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
|
+
import * as n from "@radix-ui/react-avatar";
|
|
2
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
function r({ className: r, ...i }) {
|
|
7
|
+
return /* @__PURE__ */ t(n.Root, {
|
|
8
|
+
"data-slot": "avatar",
|
|
9
|
+
className: e("ttw:relative ttw:flex ttw:size-8 ttw:shrink-0 ttw:overflow-hidden ttw:rounded-full", r),
|
|
10
|
+
...i
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
function i({ className: r, ...i }) {
|
|
14
|
+
return /* @__PURE__ */ t(n.Fallback, {
|
|
15
|
+
"data-slot": "avatar-fallback",
|
|
16
|
+
className: e("ttw:bg-muted ttw:flex ttw:size-full ttw:items-center ttw:justify-center ttw:rounded-full", r),
|
|
17
|
+
...i
|
|
18
|
+
});
|
|
19
|
+
}
|
|
7
20
|
//#endregion
|
|
8
|
-
export {
|
|
21
|
+
export { r as Avatar, i as AvatarFallback };
|
|
@@ -1,13 +1,32 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { cn as e } from "./index54.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx as t, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
4
|
+
import { Slot as r } from "@radix-ui/react-slot";
|
|
5
|
+
import { cva as i } from "class-variance-authority";
|
|
6
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js
|
|
7
|
+
var a = i("ttw:inline-flex ttw:items-center ttw:justify-center ttw:rounded-md ttw:border ttw:px-2 ttw:py-0.5 ttw:text-xs ttw:font-medium ttw:w-fit ttw:whitespace-nowrap ttw:shrink-0 ttw:[&>svg]:size-3 ttw:gap-1 ttw:[&>svg]:pointer-events-none ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:focus-visible:ring-[3px] ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive ttw:transition-[color,box-shadow] ttw:overflow-hidden", {
|
|
8
|
+
variants: { variant: {
|
|
9
|
+
default: "ttw:border-transparent ttw:bg-primary ttw:text-primary-foreground ttw:[a&]:hover:bg-primary/90",
|
|
10
|
+
secondary: "ttw:border-transparent ttw:bg-secondary ttw:text-neutral ttw:[a&]:hover:bg-secondary/90",
|
|
11
|
+
destructive: "ttw:border-transparent ttw:bg-destructive ttw:text-white ttw:[a&]:hover:bg-destructive/90 ttw:focus-visible:ring-destructive/20 ttw:dark:focus-visible:ring-destructive/40 ttw:dark:bg-destructive/60",
|
|
12
|
+
outline: "ttw:text-foreground ttw:[a&]:hover:bg-accent ttw:[a&]:hover:text-accent-foreground"
|
|
13
|
+
} },
|
|
14
|
+
defaultVariants: { variant: "default" }
|
|
15
|
+
}), o = i("ttw:rounded-full ttw:box-content! ttw:inline-block", {
|
|
16
|
+
variants: { dotSize: {
|
|
17
|
+
small: "ttw:w-1.5 ttw:h-1.5 ttw:border-2",
|
|
18
|
+
medium: "ttw:w-2 ttw:h-2 ttw:border-[3px]",
|
|
19
|
+
large: "ttw:w-2.5 ttw:h-2.5 ttw:border-4"
|
|
20
|
+
} },
|
|
21
|
+
defaultVariants: { dotSize: "medium" }
|
|
22
|
+
});
|
|
23
|
+
function s({ className: i, variant: s, showBadgeBackground: c = !0, asChild: l = !1, dotSize: u, showDot: d = !1, showDotBorder: f, dotClassName: p, children: m, ...h }) {
|
|
24
|
+
return /* @__PURE__ */ n(l ? r : "span", {
|
|
25
|
+
"data-slot": "badge",
|
|
26
|
+
className: e(a({ variant: s }), !c && "ttw:bg-transparent! ttw:border-transparent! ttw:p-0!", i),
|
|
27
|
+
...h,
|
|
28
|
+
children: [d && /* @__PURE__ */ t("span", { className: e(o({ dotSize: u }), !f && "ttw:border-none", p) }), m]
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
export { s as Badge, a as badgeVariants };
|