@tesouro/embedded-components-react 0.11.140 → 0.11.167
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/NOTICE +24 -0
- package/README.md +15 -37
- package/dist/experimental/BalanceHistoryWidget.d.ts +0 -11
- package/dist/experimental/QuickViewWidget.d.ts +0 -11
- package/dist/experimental/RemoteCheckCapture.d.ts +0 -11
- package/dist/experimental/index.d.ts +0 -11
- package/dist/fixtures/index.d.ts +27 -1
- package/dist/index.css +6976 -6246
- package/dist/index.d.ts +64 -173
- package/dist/index.js +9 -10
- package/dist/lib/AcceptDisclosuresWidget.d.ts +0 -11
- package/dist/lib/BalancesWidget.d.ts +0 -11
- package/dist/lib/BankAccountOnboardingWidget.d.ts +0 -11
- package/dist/lib/BankAccountsWidget.d.ts +2 -11
- package/dist/lib/BankingComplianceBannerWidget.d.ts +0 -11
- package/dist/lib/BillPayWidget.d.ts +0 -11
- package/dist/lib/CardDetailsWidget.d.ts +0 -11
- package/dist/lib/CounterpartsWidget.d.ts +1 -12
- package/dist/lib/CounterpartsWidgetPublic.d.ts +1 -12
- package/dist/lib/CreditCardsWidget.d.ts +0 -11
- package/dist/lib/DebitCardsWidget.d.ts +0 -11
- package/dist/lib/ExpenseManagementWidget.d.ts +1 -12
- package/dist/lib/InsightsWidget.d.ts +0 -11
- package/dist/lib/LinkedAccountsWidget.d.ts +0 -11
- package/dist/lib/OfferWidget.d.ts +0 -11
- package/dist/lib/ReceivablesWidget.d.ts +60 -17
- package/dist/lib/ReceivablesWidget.js +3 -2
- package/dist/lib/SettingsWidget.d.ts +0 -11
- package/dist/lib/TransfersWidget.d.ts +0 -11
- package/dist/lib/WidgetProvider.d.ts +0 -11
- package/dist/lib/WidgetProviderPublic.d.ts +0 -11
- package/dist/lib/WidgetSuite.d.ts +60 -15
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js +20 -19
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index10.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index4.js +2 -3
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index10.js +83 -82
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index4.js +84 -79
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index9.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/formatters.js +2 -3
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/useBankAccountsWidget.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/AccountCard.js +51 -46
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/labels.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index22.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index35.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index36.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index40.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/useActivateCard.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/useCardLock.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/useEditCardNickname.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartDetailsActions.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/feature/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/ExpenseManagementWidget/ExpenseManagementWidget.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/TransactionDetails/TransactionDetailsFeature.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/feature/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index16.js +66 -74
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +351 -318
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/details.js +126 -133
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/helpers.js +63 -56
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/invoicesFilter.js +78 -72
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/invoicesFilterLabels.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/labels.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/recurrence.js +138 -129
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/recurringSeries.js +119 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/statusCards.js +37 -28
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/tabs.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useInvoicesFilter.js +131 -81
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useLocalDayStart.js +15 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActions.js +46 -46
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActionsModal.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableAttachmentUploads.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableBankAccount.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableForm.js +440 -438
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentRecord.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentTerms.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableRecurrence.js +62 -56
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableReminders.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableStatusCards.js +47 -16
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesTable.js +78 -86
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesWidget.js +180 -158
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useRecurringSeriesTable.js +132 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/mocks/invoicing.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/mocks/receivables.js +153 -137
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +22 -19
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +6 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index47.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index60.js +137 -129
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index61.js +21 -46
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index62.js +143 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index63.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index64.js +47 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/useLinkedAccountsWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/useProductDelete.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/mocks/products.js +3 -11
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/scenarios.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/data-access/dist/index2.js +36 -77
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/summarizeCardSpend.js +11 -13
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/useCardSpendSummary.js +20 -17
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/useRemoteCheckCaptureWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/mocks/settings.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index8.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index8.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index16.js +2 -3
- package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/lib/SettingsWidgetUi/SettingsWidgetUi.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/feature/dist/lib/useApprovalPolicyRules.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/subEntityForms.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useDeleteController.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +43 -43
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +233 -211
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +66 -42
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/util/dist/lib/receivableFilledTone.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/expense-requirements/feature/dist/lib/ExpenseRequirementsWidget.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/MeasureUnitsManagerContainer.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/toasts.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/EmbeddedToaster.js +33 -32
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/useTransferMoneyModalController.js +9 -8
- package/dist/node_modules/sonner/dist/index.js +620 -0
- package/dist/packages/shared-ui-shadcn/dist/index.js +6072 -6062
- package/dist/scenarios/index.d.ts +1 -3
- package/dist/scenarios/index.js +17 -20
- package/package.json +17 -4
- package/dist/lib/CustomersWidget.d.ts +0 -993
- package/dist/lib/CustomersWidget.js +0 -2
- package/dist/lib/ProductsWidget.d.ts +0 -893
- package/dist/lib/ProductsWidget.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/index.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/lib/CustomersWidget/CustomersWidget.js +0 -41
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/lib/analytics/events.js +0 -3
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/scenarios.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useUtcDayStart.js +0 -15
package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js
CHANGED
|
@@ -468,7 +468,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
468
468
|
scheme: "bearer",
|
|
469
469
|
type: "http"
|
|
470
470
|
}],
|
|
471
|
-
url: "/embedded-banking/v1/debit-cards/
|
|
471
|
+
url: "/embedded-banking/v1/debit-cards/spend-summary",
|
|
472
472
|
...e
|
|
473
473
|
}), B = (e) => (e.client ?? t).post({
|
|
474
474
|
security: [{
|
|
@@ -1607,7 +1607,15 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1607
1607
|
"Content-Type": "application/json",
|
|
1608
1608
|
...e.headers
|
|
1609
1609
|
}
|
|
1610
|
-
}), Gt = (e) => (e.client ?? t).
|
|
1610
|
+
}), Gt = (e) => (e.client ?? t).get({
|
|
1611
|
+
security: [{
|
|
1612
|
+
key: "HTTPBearer",
|
|
1613
|
+
scheme: "bearer",
|
|
1614
|
+
type: "http"
|
|
1615
|
+
}],
|
|
1616
|
+
url: "/finops/v1/recurrences",
|
|
1617
|
+
...e
|
|
1618
|
+
}), Kt = (e) => (e.client ?? t).post({
|
|
1611
1619
|
security: [{
|
|
1612
1620
|
key: "HTTPBearer",
|
|
1613
1621
|
scheme: "bearer",
|
|
@@ -1619,7 +1627,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1619
1627
|
"Content-Type": "application/json",
|
|
1620
1628
|
...e.headers
|
|
1621
1629
|
}
|
|
1622
|
-
}),
|
|
1630
|
+
}), qt = (e) => (e.client ?? t).get({
|
|
1623
1631
|
security: [{
|
|
1624
1632
|
key: "HTTPBearer",
|
|
1625
1633
|
scheme: "bearer",
|
|
@@ -1627,7 +1635,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1627
1635
|
}],
|
|
1628
1636
|
url: "/finops/v1/recurrences/{recurrence_id}",
|
|
1629
1637
|
...e
|
|
1630
|
-
}),
|
|
1638
|
+
}), Jt = (e) => (e.client ?? t).patch({
|
|
1631
1639
|
security: [{
|
|
1632
1640
|
key: "HTTPBearer",
|
|
1633
1641
|
scheme: "bearer",
|
|
@@ -1639,7 +1647,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1639
1647
|
"Content-Type": "application/json",
|
|
1640
1648
|
...e.headers
|
|
1641
1649
|
}
|
|
1642
|
-
}),
|
|
1650
|
+
}), Yt = (e) => (e.client ?? t).post({
|
|
1643
1651
|
security: [{
|
|
1644
1652
|
key: "HTTPBearer",
|
|
1645
1653
|
scheme: "bearer",
|
|
@@ -1647,7 +1655,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1647
1655
|
}],
|
|
1648
1656
|
url: "/finops/v1/recurrences/{recurrence_id}/cancel",
|
|
1649
1657
|
...e
|
|
1650
|
-
}),
|
|
1658
|
+
}), Xt = (e) => (e.client ?? t).post({
|
|
1651
1659
|
security: [{
|
|
1652
1660
|
key: "HTTPBearer",
|
|
1653
1661
|
scheme: "bearer",
|
|
@@ -1655,7 +1663,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1655
1663
|
}],
|
|
1656
1664
|
url: "/finops/v1/recurrences/{recurrence_id}/pause",
|
|
1657
1665
|
...e
|
|
1658
|
-
}),
|
|
1666
|
+
}), Zt = (e) => (e.client ?? t).post({
|
|
1659
1667
|
security: [{
|
|
1660
1668
|
key: "HTTPBearer",
|
|
1661
1669
|
scheme: "bearer",
|
|
@@ -1663,7 +1671,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1663
1671
|
}],
|
|
1664
1672
|
url: "/finops/v1/recurrences/{recurrence_id}/resume",
|
|
1665
1673
|
...e
|
|
1666
|
-
}),
|
|
1674
|
+
}), Qt = (e) => (e.client ?? t).get({
|
|
1667
1675
|
security: [{
|
|
1668
1676
|
key: "HTTPBearer",
|
|
1669
1677
|
scheme: "bearer",
|
|
@@ -1671,7 +1679,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1671
1679
|
}],
|
|
1672
1680
|
url: "/finops/v1/transactions",
|
|
1673
1681
|
...e
|
|
1674
|
-
}),
|
|
1682
|
+
}), $t = (e) => (e.client ?? t).get({
|
|
1675
1683
|
security: [{
|
|
1676
1684
|
key: "HTTPBearer",
|
|
1677
1685
|
scheme: "bearer",
|
|
@@ -1679,7 +1687,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1679
1687
|
}],
|
|
1680
1688
|
url: "/finops/v1/transactions/validations",
|
|
1681
1689
|
...e
|
|
1682
|
-
}),
|
|
1690
|
+
}), en = (e) => (e.client ?? t).put({
|
|
1683
1691
|
security: [{
|
|
1684
1692
|
key: "HTTPBearer",
|
|
1685
1693
|
scheme: "bearer",
|
|
@@ -1691,7 +1699,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1691
1699
|
"Content-Type": "application/json",
|
|
1692
1700
|
...e.headers
|
|
1693
1701
|
}
|
|
1694
|
-
}),
|
|
1702
|
+
}), tn = (e) => (e.client ?? t).get({
|
|
1695
1703
|
security: [{
|
|
1696
1704
|
key: "HTTPBearer",
|
|
1697
1705
|
scheme: "bearer",
|
|
@@ -1699,7 +1707,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1699
1707
|
}],
|
|
1700
1708
|
url: "/finops/v1/transactions/{transaction_id}",
|
|
1701
1709
|
...e
|
|
1702
|
-
}),
|
|
1710
|
+
}), nn = (e) => (e.client ?? t).patch({
|
|
1703
1711
|
security: [{
|
|
1704
1712
|
key: "HTTPBearer",
|
|
1705
1713
|
scheme: "bearer",
|
|
@@ -1711,7 +1719,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1711
1719
|
"Content-Type": "application/json",
|
|
1712
1720
|
...e.headers
|
|
1713
1721
|
}
|
|
1714
|
-
}),
|
|
1722
|
+
}), rn = (e) => (e.client ?? t).post({
|
|
1715
1723
|
security: [{
|
|
1716
1724
|
key: "HTTPBearer",
|
|
1717
1725
|
scheme: "bearer",
|
|
@@ -1719,7 +1727,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1719
1727
|
}],
|
|
1720
1728
|
url: "/finops/v1/transactions/{transaction_id}/approve",
|
|
1721
1729
|
...e
|
|
1722
|
-
}),
|
|
1730
|
+
}), an = (e) => (e.client ?? t).get({
|
|
1723
1731
|
security: [{
|
|
1724
1732
|
key: "HTTPBearer",
|
|
1725
1733
|
scheme: "bearer",
|
|
@@ -1727,7 +1735,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1727
1735
|
}],
|
|
1728
1736
|
url: "/finops/v1/transactions/{transaction_id}/expense-history",
|
|
1729
1737
|
...e
|
|
1730
|
-
}),
|
|
1738
|
+
}), on = (e) => (e.client ?? t).post({
|
|
1731
1739
|
security: [{
|
|
1732
1740
|
key: "HTTPBearer",
|
|
1733
1741
|
scheme: "bearer",
|
|
@@ -1739,7 +1747,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1739
1747
|
"Content-Type": "application/json",
|
|
1740
1748
|
...e.headers
|
|
1741
1749
|
}
|
|
1742
|
-
}),
|
|
1750
|
+
}), sn = (e) => (e.client ?? t).post({
|
|
1743
1751
|
security: [{
|
|
1744
1752
|
key: "HTTPBearer",
|
|
1745
1753
|
scheme: "bearer",
|
|
@@ -1747,7 +1755,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1747
1755
|
}],
|
|
1748
1756
|
url: "/finops/v1/transactions/{transaction_id}/reopen",
|
|
1749
1757
|
...e
|
|
1750
|
-
}),
|
|
1758
|
+
}), cn = (e) => (e.client ?? t).post({
|
|
1751
1759
|
security: [{
|
|
1752
1760
|
key: "HTTPBearer",
|
|
1753
1761
|
scheme: "bearer",
|
|
@@ -1759,7 +1767,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1759
1767
|
"Content-Type": "application/json",
|
|
1760
1768
|
...e.headers
|
|
1761
1769
|
}
|
|
1762
|
-
}),
|
|
1770
|
+
}), ln = (e) => (e?.client ?? t).get({
|
|
1763
1771
|
security: [{
|
|
1764
1772
|
key: "APPToken",
|
|
1765
1773
|
scheme: "bearer",
|
|
@@ -1771,7 +1779,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1771
1779
|
}],
|
|
1772
1780
|
url: "/identity/v1/departments",
|
|
1773
1781
|
...e
|
|
1774
|
-
}),
|
|
1782
|
+
}), un = (e) => (e.client ?? t).post({
|
|
1775
1783
|
security: [{
|
|
1776
1784
|
key: "APPToken",
|
|
1777
1785
|
scheme: "bearer",
|
|
@@ -1787,7 +1795,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1787
1795
|
"Content-Type": "application/json",
|
|
1788
1796
|
...e.headers
|
|
1789
1797
|
}
|
|
1790
|
-
}),
|
|
1798
|
+
}), dn = (e) => (e.client ?? t).delete({
|
|
1791
1799
|
security: [{
|
|
1792
1800
|
key: "APPToken",
|
|
1793
1801
|
scheme: "bearer",
|
|
@@ -1799,7 +1807,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1799
1807
|
}],
|
|
1800
1808
|
url: "/identity/v1/departments/{departmentId}",
|
|
1801
1809
|
...e
|
|
1802
|
-
}),
|
|
1810
|
+
}), fn = (e) => (e.client ?? t).get({
|
|
1803
1811
|
security: [{
|
|
1804
1812
|
key: "APPToken",
|
|
1805
1813
|
scheme: "bearer",
|
|
@@ -1811,7 +1819,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1811
1819
|
}],
|
|
1812
1820
|
url: "/identity/v1/departments/{departmentId}",
|
|
1813
1821
|
...e
|
|
1814
|
-
}),
|
|
1822
|
+
}), pn = (e) => (e.client ?? t).put({
|
|
1815
1823
|
security: [{
|
|
1816
1824
|
key: "APPToken",
|
|
1817
1825
|
scheme: "bearer",
|
|
@@ -1827,7 +1835,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1827
1835
|
"Content-Type": "application/json",
|
|
1828
1836
|
...e.headers
|
|
1829
1837
|
}
|
|
1830
|
-
}),
|
|
1838
|
+
}), mn = (e) => (e.client ?? t).post({
|
|
1831
1839
|
security: [{
|
|
1832
1840
|
key: "APPToken",
|
|
1833
1841
|
scheme: "bearer",
|
|
@@ -1843,7 +1851,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1843
1851
|
"Content-Type": "application/json",
|
|
1844
1852
|
...e.headers
|
|
1845
1853
|
}
|
|
1846
|
-
}),
|
|
1854
|
+
}), hn = (e) => (e?.client ?? t).get({
|
|
1847
1855
|
security: [{
|
|
1848
1856
|
key: "HTTPBearer",
|
|
1849
1857
|
scheme: "bearer",
|
|
@@ -1851,7 +1859,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1851
1859
|
}],
|
|
1852
1860
|
url: "/identity/v1/disclosures",
|
|
1853
1861
|
...e
|
|
1854
|
-
}),
|
|
1862
|
+
}), gn = (e) => (e?.client ?? t).get({
|
|
1855
1863
|
security: [{
|
|
1856
1864
|
key: "APPToken",
|
|
1857
1865
|
scheme: "bearer",
|
|
@@ -1863,7 +1871,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1863
1871
|
}],
|
|
1864
1872
|
url: "/identity/v1/locations",
|
|
1865
1873
|
...e
|
|
1866
|
-
}),
|
|
1874
|
+
}), _n = (e) => (e.client ?? t).post({
|
|
1867
1875
|
security: [{
|
|
1868
1876
|
key: "APPToken",
|
|
1869
1877
|
scheme: "bearer",
|
|
@@ -1879,7 +1887,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1879
1887
|
"Content-Type": "application/json",
|
|
1880
1888
|
...e.headers
|
|
1881
1889
|
}
|
|
1882
|
-
}),
|
|
1890
|
+
}), vn = (e) => (e.client ?? t).delete({
|
|
1883
1891
|
security: [{
|
|
1884
1892
|
key: "APPToken",
|
|
1885
1893
|
scheme: "bearer",
|
|
@@ -1891,7 +1899,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1891
1899
|
}],
|
|
1892
1900
|
url: "/identity/v1/locations/{locationId}",
|
|
1893
1901
|
...e
|
|
1894
|
-
}),
|
|
1902
|
+
}), yn = (e) => (e.client ?? t).get({
|
|
1895
1903
|
security: [{
|
|
1896
1904
|
key: "APPToken",
|
|
1897
1905
|
scheme: "bearer",
|
|
@@ -1903,7 +1911,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1903
1911
|
}],
|
|
1904
1912
|
url: "/identity/v1/locations/{locationId}",
|
|
1905
1913
|
...e
|
|
1906
|
-
}),
|
|
1914
|
+
}), bn = (e) => (e.client ?? t).put({
|
|
1907
1915
|
security: [{
|
|
1908
1916
|
key: "APPToken",
|
|
1909
1917
|
scheme: "bearer",
|
|
@@ -1919,7 +1927,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1919
1927
|
"Content-Type": "application/json",
|
|
1920
1928
|
...e.headers
|
|
1921
1929
|
}
|
|
1922
|
-
}),
|
|
1930
|
+
}), xn = (e) => (e.client ?? t).post({
|
|
1923
1931
|
security: [{
|
|
1924
1932
|
key: "APPToken",
|
|
1925
1933
|
scheme: "bearer",
|
|
@@ -1935,7 +1943,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1935
1943
|
"Content-Type": "application/json",
|
|
1936
1944
|
...e.headers
|
|
1937
1945
|
}
|
|
1938
|
-
}),
|
|
1946
|
+
}), Sn = (e) => (e.client ?? t).get({
|
|
1939
1947
|
security: [{
|
|
1940
1948
|
key: "APPToken",
|
|
1941
1949
|
scheme: "bearer",
|
|
@@ -1947,7 +1955,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1947
1955
|
}],
|
|
1948
1956
|
url: "/identity/v1/organizations/{organizationId}",
|
|
1949
1957
|
...e
|
|
1950
|
-
}),
|
|
1958
|
+
}), Cn = (e) => (e?.client ?? t).get({
|
|
1951
1959
|
security: [{
|
|
1952
1960
|
key: "APPToken",
|
|
1953
1961
|
scheme: "bearer",
|
|
@@ -1959,7 +1967,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1959
1967
|
}],
|
|
1960
1968
|
url: "/identity/v1/roles",
|
|
1961
1969
|
...e
|
|
1962
|
-
}),
|
|
1970
|
+
}), wn = (e) => (e.client ?? t).post({
|
|
1963
1971
|
security: [{
|
|
1964
1972
|
key: "APPToken",
|
|
1965
1973
|
scheme: "bearer",
|
|
@@ -1975,7 +1983,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1975
1983
|
"Content-Type": "application/json",
|
|
1976
1984
|
...e.headers
|
|
1977
1985
|
}
|
|
1978
|
-
}),
|
|
1986
|
+
}), Tn = (e) => (e.client ?? t).get({
|
|
1979
1987
|
security: [{
|
|
1980
1988
|
key: "APPToken",
|
|
1981
1989
|
scheme: "bearer",
|
|
@@ -1987,7 +1995,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1987
1995
|
}],
|
|
1988
1996
|
url: "/identity/v1/roles/{roleId}/permissions",
|
|
1989
1997
|
...e
|
|
1990
|
-
}),
|
|
1998
|
+
}), En = (e) => (e.client ?? t).get({
|
|
1991
1999
|
security: [{
|
|
1992
2000
|
key: "HTTPBearer",
|
|
1993
2001
|
scheme: "bearer",
|
|
@@ -1995,7 +2003,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1995
2003
|
}],
|
|
1996
2004
|
url: "/identity/v1/user-data/{key}",
|
|
1997
2005
|
...e
|
|
1998
|
-
}),
|
|
2006
|
+
}), Dn = (e) => (e.client ?? t).put({
|
|
1999
2007
|
security: [{
|
|
2000
2008
|
key: "HTTPBearer",
|
|
2001
2009
|
scheme: "bearer",
|
|
@@ -2007,7 +2015,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
2007
2015
|
"Content-Type": "application/json",
|
|
2008
2016
|
...e.headers
|
|
2009
2017
|
}
|
|
2010
|
-
}),
|
|
2018
|
+
}), On = (e) => (e?.client ?? t).get({
|
|
2011
2019
|
security: [{
|
|
2012
2020
|
key: "APPToken",
|
|
2013
2021
|
scheme: "bearer",
|
|
@@ -2019,7 +2027,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
2019
2027
|
}],
|
|
2020
2028
|
url: "/identity/v1/users",
|
|
2021
2029
|
...e
|
|
2022
|
-
}),
|
|
2030
|
+
}), kn = (e) => (e.client ?? t).post({
|
|
2023
2031
|
security: [{
|
|
2024
2032
|
key: "APPToken",
|
|
2025
2033
|
scheme: "bearer",
|
|
@@ -2035,7 +2043,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
2035
2043
|
"Content-Type": "application/json",
|
|
2036
2044
|
...e.headers
|
|
2037
2045
|
}
|
|
2038
|
-
}),
|
|
2046
|
+
}), An = (e) => (e?.client ?? t).get({
|
|
2039
2047
|
security: [{
|
|
2040
2048
|
key: "HTTPBearer",
|
|
2041
2049
|
scheme: "bearer",
|
|
@@ -2043,7 +2051,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
2043
2051
|
}],
|
|
2044
2052
|
url: "/identity/v1/users/me",
|
|
2045
2053
|
...e
|
|
2046
|
-
}),
|
|
2054
|
+
}), jn = (e) => (e.client ?? t).patch({
|
|
2047
2055
|
security: [{
|
|
2048
2056
|
key: "APPToken",
|
|
2049
2057
|
scheme: "bearer",
|
|
@@ -2059,7 +2067,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
2059
2067
|
"Content-Type": "application/json",
|
|
2060
2068
|
...e.headers
|
|
2061
2069
|
}
|
|
2062
|
-
}),
|
|
2070
|
+
}), Mn = (e) => (e.client ?? t).post({
|
|
2063
2071
|
security: [{
|
|
2064
2072
|
key: "APPToken",
|
|
2065
2073
|
scheme: "bearer",
|
|
@@ -2071,5 +2079,21 @@ var n = (e) => (e.client ?? t).post({
|
|
|
2071
2079
|
}],
|
|
2072
2080
|
url: "/identity/v1/users/{userId}/disable",
|
|
2073
2081
|
...e
|
|
2082
|
+
}), Nn = (e) => (e.client ?? t).post({
|
|
2083
|
+
security: [{
|
|
2084
|
+
key: "APPToken",
|
|
2085
|
+
scheme: "bearer",
|
|
2086
|
+
type: "http"
|
|
2087
|
+
}, {
|
|
2088
|
+
key: "USERToken",
|
|
2089
|
+
scheme: "bearer",
|
|
2090
|
+
type: "http"
|
|
2091
|
+
}],
|
|
2092
|
+
url: "/identity/v1/users/{userId}/resend-invitation",
|
|
2093
|
+
...e,
|
|
2094
|
+
headers: {
|
|
2095
|
+
"Content-Type": "application/json",
|
|
2096
|
+
...e.headers
|
|
2097
|
+
}
|
|
2074
2098
|
});
|
|
2075
|
-
export { A as activateCreditCard, I as activateDebitCard,
|
|
2099
|
+
export { A as activateCreditCard, I as activateDebitCard, mn as bulkUpdateDepartmentMembers, xn as bulkUpdateLocationMembers, wn as bulkUpdateRoleMembers, H as connectExternalBankAccount, X as createAchMoneyMovement, s as createApplication, p as createBankAccount, Z as createBookTransfer, S as createCheckDeposit, M as createDebitCard, un as createDepartment, _n as createLocation, kn as createUser, o as createVelocityControl, dn as deactivateDepartment, vn as deactivateLocation, ie as deleteApprovalPoliciesId, c as deleteBankAccountApplication, me as deleteCounterpartsId, Se as deleteCounterpartsIdBankAccountsId, Te as deleteEntitiesIdLogo, Pe as deleteFilesId, Le as deleteLedgerAccountsId, He as deleteMeasureUnitsId, Ye as deletePayablesId, rt as deletePayablesIdFile, St as deleteProductsId, Dt as deleteReceiptsId, Mt as deleteReceivablesId, Mn as disableUser, D as downloadBankAccountTransactions, g as getAggregateHistoricalBalances, Q as getAnalyticsPayables, $ as getAnalyticsReceipts, ee as getAnalyticsReceivables, te as getAnalyticsTransactions, r as getApiWidgetGatewayInit, i as getApplicationStatus, ne as getApprovalPolicies, oe as getApprovalRequests, v as getBankAccount, b as getBankAccountAccess, l as getBankAccountApplication, C as getBankAccountHistoricalBalances, T as getBankAccountStatement, w as getBankAccountStatements, E as getBankAccountTransactions, f as getBankAccounts, le as getBankDetails, de as getBankDetailsId, fe as getCounterparts, he as getCounterpartsId, _e as getCounterpartsIdAddresses, be as getCounterpartsIdBankAccounts, k as getCreditCardById, O as getCreditCards, P as getDebitCardById, L as getDebitCardCredentials, z as getDebitCardSpendSummary, j as getDebitCards, fn as getDepartment, h as getDepositableBankAccounts, hn as getDisclosures, we as getDocumentsIdNextNumbers, De as getEntitiesIdPaymentMethods, Oe as getEntitiesIdSettings, Ae as getEntityUsers, je as getEntityUsersMe, Me as getEntityUsersMyEntity, W as getExternalBankAccount, K as getExternalBankAccountAccess, V as getExternalBankAccounts, Fe as getLedgerAccounts, yn as getLocation, ze as getMailboxes, An as getMe, Be as getMeasureUnits, a as getMerchantCategoryGroups, Sn as getOrganization, _ as getOrganizationTransfers, We as getOverdueReminders, Ke as getPayables, Xe as getPayablesId, it as getPayablesIdHistory, at as getPayablesIdLineItems, ft as getPayablesIdSuggestions, ht as getPaymentRecords, _t as getPaymentReminders, yt as getPaymentTerms, bt as getProducts, Ct as getProductsId, Tt as getReceipts, kt as getReceivables, Nt as getReceivablesId, zt as getReceivablesIdHistory, Ut as getReceivablesIdPdfLink, jt as getReceivablesRequiredFields, Gt as getRecurrences, qt as getRecurrencesId, Qt as getTransactions, tn as getTransactionsId, an as getTransactionsIdExpenseHistory, $t as getTransactionsValidations, En as getUserData, On as getUsers, x as grantBankAccountAccess, q as grantExternalBankAccountAccess, J as linkExternalBankAccount, ln as listDepartments, gn as listLocations, Tn as listRolePermissions, Cn as listRoles, m as manageBankAccountAccess, N as manageDebitCardAccess, ae as patchApprovalPoliciesId, ge as patchCounterpartsId, ye as patchCounterpartsIdAddressesId, Ce as patchCounterpartsIdBankAccountsId, ke as patchEntitiesIdSettings, Re as patchLedgerAccountsId, Ue as patchMeasureUnitsId, Ze as patchPayablesId, wt as patchProductsId, Ot as patchReceiptsId, Pt as patchReceivablesId, Jt as patchRecurrencesId, nn as patchTransactionsId, n as postApiWidgetGatewayDisclosureAcceptance, re as postApprovalPolicies, se as postApprovalRequestsIdApprove, ce as postApprovalRequestsIdReject, ue as postBankDetails, pe as postCounterparts, ve as postCounterpartsIdAddresses, xe as postCounterpartsIdBankAccounts, Ne as postFiles, Ie as postLedgerAccounts, Ve as postMeasureUnits, Ge as postOverdueReminders, qe as postPayables, Qe as postPayablesIdApprovePaymentOperation, $e as postPayablesIdAttachFile, et as postPayablesIdCancel, tt as postPayablesIdDuplicatesIdConfirm, nt as postPayablesIdDuplicatesIdDismiss, st as postPayablesIdMarkAsPaid, ct as postPayablesIdReject, lt as postPayablesIdReopen, ut as postPayablesIdSchedulePayment, dt as postPayablesIdSubmitForApproval, pt as postPayablesIdValidate, Je as postPayablesUploadFromFile, mt as postPaymentIntentsIdCancel, gt as postPaymentRecords, vt as postPaymentReminders, xt as postProducts, Et as postReceiptsUploadFromFile, At as postReceivables, Ft as postReceivablesIdAccept, It as postReceivablesIdCancel, Lt as postReceivablesIdClone, Rt as postReceivablesIdDecline, Bt as postReceivablesIdIssue, Vt as postReceivablesIdMarkAsPaid, Ht as postReceivablesIdMarkAsUncollectible, Wt as postReceivablesIdSend, Kt as postRecurrences, Yt as postRecurrencesIdCancel, Xt as postRecurrencesIdPause, Zt as postRecurrencesIdResume, rn as postTransactionsIdApprove, on as postTransactionsIdReject, sn as postTransactionsIdReopen, cn as postTransactionsIdSubmit, Ee as putEntitiesIdLogo, ot as putPayablesIdLineItems, en as putTransactionsValidations, Nn as resendUserInvitation, R as setDebitCardLockStatus, d as submitApplication, U as unlinkExternalBankAccount, u as updateApplication, y as updateBankAccount, F as updateDebitCard, pn as updateDepartment, G as updateExternalBankAccount, bn as updateLocation, jn as updateUser, Dn as upsertUserData, Y as validateExternalBankAccount, B as verifyDebitCard };
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
5
|
+
import { toast as e } from "../../../../../../../node_modules/sonner/dist/index.js";
|
|
6
|
+
import { Button as t } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
7
|
import { EmbeddedToaster as n } from "../../../../ui/dist/lib/EmbeddedToaster.js";
|
|
7
8
|
import "../../../../ui/dist/index.js";
|
|
8
9
|
import { useAnalyticsTrack as r } from "../../../../feature/dist/lib/analytics/hooks.js";
|
|
@@ -33,7 +34,7 @@ function S() {
|
|
|
33
34
|
p(() => {
|
|
34
35
|
w();
|
|
35
36
|
}, [w]), p(() => {
|
|
36
|
-
S === "success" ?
|
|
37
|
+
S === "success" ? e.success(u.Saved) : S === "error" && e.error(u.FailedToSave);
|
|
37
38
|
}, [S]);
|
|
38
39
|
let [k, A] = m({}), j = (e) => {
|
|
39
40
|
let t = l[e].amount, n = k[e];
|
|
@@ -57,13 +58,13 @@ function S() {
|
|
|
57
58
|
onAmountTextChange: a.has(e) ? (t) => M(e, t) : void 0
|
|
58
59
|
}, e)), /* @__PURE__ */ _("div", {
|
|
59
60
|
className: "ttw:mt-4 ttw:flex ttw:justify-end ttw:gap-2",
|
|
60
|
-
children: [/* @__PURE__ */ g(
|
|
61
|
+
children: [/* @__PURE__ */ g(t, {
|
|
61
62
|
variant: "ghost",
|
|
62
63
|
size: "sm",
|
|
63
64
|
onClick: E,
|
|
64
65
|
disabled: !N || P,
|
|
65
66
|
children: u.Cancel
|
|
66
|
-
}), /* @__PURE__ */ g(
|
|
67
|
+
}), /* @__PURE__ */ g(t, {
|
|
67
68
|
size: "sm",
|
|
68
69
|
onClick: () => void T(),
|
|
69
70
|
disabled: !N || P,
|
package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
|
|
2
|
-
var e = "@tesouro/embedded-components-react", t = "0.11.
|
|
2
|
+
var e = "@tesouro/embedded-components-react", t = "0.11.167", n = "9afefd9f88c85c8d5ac81668bd6f80cceaf1f7c1", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { toast as e } from "../../../../../../../
|
|
5
|
+
import { toast as e } from "../../../../../../../node_modules/sonner/dist/index.js";
|
|
6
6
|
import { extractApiErrorMessage as t } from "../../../../util/dist/lib/apiErrors.js";
|
|
7
7
|
import "../../../../util/dist/index.js";
|
|
8
8
|
import "../../../../ui/dist/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { toast as e } from "../../../../../../../
|
|
1
|
+
import { toast as e } from "../../../../../../../node_modules/sonner/dist/index.js";
|
|
2
2
|
import { ToastNameMessage as t } from "../../../../ui/dist/lib/ToastNameMessage/ToastNameMessage.js";
|
|
3
3
|
import "../../../../ui/dist/index.js";
|
|
4
4
|
import { jsx as n } from "react/jsx-runtime";
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import "../../../../../
|
|
1
|
+
import { toast as e } from "../../../../../node_modules/sonner/dist/index.js";
|
|
2
2
|
import "./lib/ProductIntroModal/ProductIntroModal.js";
|
|
3
|
-
import { EmbeddedToaster as
|
|
4
|
-
import { ToastNameMessage as
|
|
5
|
-
import { UIFramework as
|
|
6
|
-
import { UIProvider as
|
|
3
|
+
import { EmbeddedToaster as t } from "./lib/EmbeddedToaster.js";
|
|
4
|
+
import { ToastNameMessage as n } from "./lib/ToastNameMessage/ToastNameMessage.js";
|
|
5
|
+
import { UIFramework as r, resolveUIFramework as i } from "./lib/UIContext/UIContext.js";
|
|
6
|
+
import { UIProvider as a } from "./lib/UIContext/UIProvider.js";
|
|
7
7
|
import "./lib/UIContext/useLinkComponent.js";
|
|
8
8
|
import "./lib/UIContext/useUIFramework.js";
|
|
9
|
-
import { registerDesignSystemEnsurer as
|
|
9
|
+
import { registerDesignSystemEnsurer as o, registerUIRenderers as s, useDesignSystemEnsurer as c, useFrameworkRenderer as l } from "./lib/UIContext/uiRendererRegistry.js";
|
|
10
10
|
import "./lib/UIContext/index.js";
|
|
11
|
-
import { HostIsolationScope as
|
|
12
|
-
import { Link as
|
|
13
|
-
import { WidgetFrame as
|
|
14
|
-
import { WidgetContainer as
|
|
15
|
-
import { AddTile as
|
|
11
|
+
import { HostIsolationScope as u } from "./lib/HostIsolationScope/HostIsolationScope.js";
|
|
12
|
+
import { Link as d } from "./lib/Link/Link.js";
|
|
13
|
+
import { WidgetFrame as f } from "./lib/WidgetFrame/WidgetFrame.js";
|
|
14
|
+
import { WidgetContainer as p } from "./lib/WidgetContainer/WidgetContainer.js";
|
|
15
|
+
import { AddTile as m } from "./lib/AddTile/AddTile.js";
|
|
16
16
|
import "./lib/StatePanel/labels.js";
|
|
17
|
-
import { StatePanel as
|
|
18
|
-
import { EmptyState as
|
|
19
|
-
import { ERROR_STATE_ID as
|
|
20
|
-
import { NoAccessState as
|
|
21
|
-
import { AmountInput as
|
|
22
|
-
import { LoadingRegion as
|
|
17
|
+
import { StatePanel as h } from "./lib/StatePanel/StatePanel.js";
|
|
18
|
+
import { EmptyState as g } from "./lib/EmptyState/EmptyState.js";
|
|
19
|
+
import { ERROR_STATE_ID as _, ErrorState as v } from "./lib/ErrorState/ErrorState.js";
|
|
20
|
+
import { NoAccessState as y } from "./lib/StatePanel/NoAccessState.js";
|
|
21
|
+
import { AmountInput as b } from "./lib/AmountInput/AmountInput.js";
|
|
22
|
+
import { LoadingRegion as x } from "./lib/LoadingRegion/LoadingRegion.js";
|
|
23
23
|
import "./lib/MaskedAccountNumber/labels.js";
|
|
24
|
-
import { MaskedAccountNumber as
|
|
25
|
-
import { InlineErrorAlert as
|
|
26
|
-
import { PAGINATION_FOOTER_LABELS_EN as
|
|
27
|
-
import { PaginationFooter as
|
|
24
|
+
import { MaskedAccountNumber as S } from "./lib/MaskedAccountNumber/MaskedAccountNumber.js";
|
|
25
|
+
import { InlineErrorAlert as C } from "./lib/InlineErrorAlert/InlineErrorAlert.js";
|
|
26
|
+
import { PAGINATION_FOOTER_LABELS_EN as w } from "./lib/PaginationFooter/labels.js";
|
|
27
|
+
import { PaginationFooter as T } from "./lib/PaginationFooter/PaginationFooter.js";
|
|
28
28
|
import "./lib/OnboardingShell/labels.js";
|
|
29
29
|
import "./lib/OnboardingShell/OnboardingShellStepper.js";
|
|
30
30
|
import "./lib/OnboardingShell/OnboardingShellOverlayPortal.js";
|
|
31
|
-
import { OnboardingShell as
|
|
32
|
-
import { SectionHeading as
|
|
33
|
-
import { ConsentBlock as
|
|
34
|
-
import { FileDropZone as
|
|
35
|
-
import { CopyAddress as
|
|
36
|
-
import { UploadTray as
|
|
37
|
-
export {
|
|
31
|
+
import { OnboardingShell as E } from "./lib/OnboardingShell/OnboardingShell.js";
|
|
32
|
+
import { SectionHeading as D } from "./lib/SectionHeading/SectionHeading.js";
|
|
33
|
+
import { ConsentBlock as O, ConsentLink as k } from "./lib/ConsentBlock/ConsentBlock.js";
|
|
34
|
+
import { FileDropZone as A } from "./lib/FileDropZone/FileDropZone.js";
|
|
35
|
+
import { CopyAddress as j } from "./lib/CopyAddress/CopyAddress.js";
|
|
36
|
+
import { UploadTray as M } from "./lib/UploadTray/UploadTray.js";
|
|
37
|
+
export { m as AddTile, b as AmountInput, O as ConsentBlock, k as ConsentLink, j as CopyAddress, _ as ERROR_STATE_ID, t as EmbeddedToaster, g as EmptyState, v as ErrorState, A as FileDropZone, u as HostIsolationScope, C as InlineErrorAlert, d as Link, x as LoadingRegion, S as MaskedAccountNumber, y as NoAccessState, E as OnboardingShell, w as PAGINATION_FOOTER_LABELS_EN, T as PaginationFooter, D as SectionHeading, h as StatePanel, n as ToastNameMessage, r as UIFramework, a as UIProvider, M as UploadTray, p as WidgetContainer, f as WidgetFrame, o as registerDesignSystemEnsurer, s as registerUIRenderers, i as resolveUIFramework, e as toast, c as useDesignSystemEnsurer, l as useFrameworkRenderer };
|
|
@@ -2,47 +2,48 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { toast as e } from "../../../../../../node_modules/sonner/dist/index.js";
|
|
6
|
+
import { Toaster as t, usePortalContainer as n } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
7
|
+
import { OVERLAY_Z_INDEX as r, SCOPE_CLASS as i } from "./HostIsolationScope/isolationRoot.js";
|
|
8
|
+
import { useEffect as a, useLayoutEffect as o, useState as s, useSyncExternalStore as c } from "react";
|
|
9
|
+
import { createPortal as l } from "react-dom";
|
|
10
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
10
11
|
// ../../libs/tesouro-embedded-components-react/shared/ui/dist/lib/EmbeddedToaster.js
|
|
11
|
-
var
|
|
12
|
-
function
|
|
13
|
-
let e = globalThis, t = e[
|
|
12
|
+
var d = Symbol.for("tesouro.embedded-toaster.registry.v1");
|
|
13
|
+
function f() {
|
|
14
|
+
let e = globalThis, t = e[d];
|
|
14
15
|
return t || (t = {
|
|
15
16
|
nextId: 1,
|
|
16
17
|
active: /* @__PURE__ */ new Set(),
|
|
17
18
|
listeners: /* @__PURE__ */ new Set()
|
|
18
|
-
}, e[
|
|
19
|
+
}, e[d] = t), t;
|
|
19
20
|
}
|
|
20
|
-
function
|
|
21
|
-
let t =
|
|
21
|
+
function p(e) {
|
|
22
|
+
let t = f();
|
|
22
23
|
return t.listeners.add(e), () => {
|
|
23
24
|
t.listeners.delete(e);
|
|
24
25
|
};
|
|
25
26
|
}
|
|
26
|
-
function p() {
|
|
27
|
-
d().listeners.forEach((e) => e());
|
|
28
|
-
}
|
|
29
27
|
function m() {
|
|
30
|
-
|
|
28
|
+
f().listeners.forEach((e) => e());
|
|
29
|
+
}
|
|
30
|
+
function h() {
|
|
31
|
+
let e = f();
|
|
31
32
|
if (e.active.size === 0) return 0;
|
|
32
33
|
let t = Infinity;
|
|
33
34
|
return e.active.forEach((e) => {
|
|
34
35
|
e < t && (t = e);
|
|
35
36
|
}), t;
|
|
36
37
|
}
|
|
37
|
-
var
|
|
38
|
-
function
|
|
38
|
+
var g = `position: relative; z-index: calc(${r} + 1);`, _ = "document" in globalThis ? o : a;
|
|
39
|
+
function v() {
|
|
39
40
|
if (!("document" in globalThis)) return null;
|
|
40
41
|
let e = globalThis.document.createElement("div");
|
|
41
|
-
return e.classList.add(
|
|
42
|
+
return e.classList.add(i), e.style.cssText = g, e;
|
|
42
43
|
}
|
|
43
|
-
function
|
|
44
|
-
let [t] =
|
|
45
|
-
return
|
|
44
|
+
function y(e) {
|
|
45
|
+
let [t] = s(v);
|
|
46
|
+
return _(() => {
|
|
46
47
|
if (!e || !t) return;
|
|
47
48
|
let n = globalThis.document?.body;
|
|
48
49
|
if (n) return n.appendChild(t), () => {
|
|
@@ -50,17 +51,17 @@ function v(e) {
|
|
|
50
51
|
};
|
|
51
52
|
}, [e, t]), e ? t : null;
|
|
52
53
|
}
|
|
53
|
-
function
|
|
54
|
-
let [r] =
|
|
55
|
-
|
|
56
|
-
let e =
|
|
57
|
-
return e.active.add(r),
|
|
58
|
-
e.active.delete(r),
|
|
54
|
+
function b(e = {}) {
|
|
55
|
+
let [r] = s(() => f().nextId++), i = n();
|
|
56
|
+
a(() => {
|
|
57
|
+
let e = f();
|
|
58
|
+
return e.active.add(r), m(), () => {
|
|
59
|
+
e.active.delete(r), m();
|
|
59
60
|
};
|
|
60
61
|
}, [r]);
|
|
61
|
-
let
|
|
62
|
-
if (!
|
|
63
|
-
let g = /* @__PURE__ */
|
|
64
|
-
return
|
|
62
|
+
let o = c(p, h, h) === r, d = y(o && i != null);
|
|
63
|
+
if (!o) return null;
|
|
64
|
+
let g = /* @__PURE__ */ u(t, { ...e });
|
|
65
|
+
return d ? l(g, d) : g;
|
|
65
66
|
}
|
|
66
|
-
export {
|
|
67
|
+
export { b as EmbeddedToaster, e as toast };
|