@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
|
@@ -3,137 +3,142 @@
|
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
5
|
import { Accordion as e, AccordionContent as t, AccordionItem as n, AccordionTrigger as r, Button as i, DescriptionList as a, Heading as o, TooltipProvider as s } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
6
|
+
import { MaskedAccountNumber as c } from "../../../../shared/ui/dist/lib/MaskedAccountNumber/MaskedAccountNumber.js";
|
|
7
|
+
import "../../../../shared/ui/dist/index.js";
|
|
8
|
+
import { IconActionButton as l } from "./index2.js";
|
|
9
|
+
import { AccountDetailsCopyField as u } from "./index3.js";
|
|
10
|
+
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
11
|
+
import { CheckIcon as p, CopyIcon as m, EyeIcon as h, EyeOffIcon as g } from "lucide-react";
|
|
10
12
|
// ../../libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index4.js
|
|
11
|
-
function
|
|
12
|
-
return /* @__PURE__ */
|
|
13
|
+
function _({ value: e, copyLabel: t, copiedLabel: n, isCopied: r = !1, onCopy: i, valueTestId: a, revealAction: o }) {
|
|
14
|
+
return /* @__PURE__ */ f("span", {
|
|
13
15
|
className: "ttw:-my-1.5 ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-1",
|
|
14
16
|
children: [
|
|
15
|
-
/* @__PURE__ */
|
|
17
|
+
/* @__PURE__ */ d("span", {
|
|
16
18
|
"data-testid": a,
|
|
17
19
|
className: "ttw:tabular-nums",
|
|
18
20
|
children: e
|
|
19
21
|
}),
|
|
20
22
|
o,
|
|
21
|
-
/* @__PURE__ */
|
|
23
|
+
/* @__PURE__ */ d(l, {
|
|
22
24
|
label: r ? n : t,
|
|
23
25
|
onClick: i,
|
|
24
|
-
children:
|
|
26
|
+
children: d(r ? p : m, {})
|
|
25
27
|
})
|
|
26
28
|
]
|
|
27
29
|
});
|
|
28
30
|
}
|
|
29
|
-
var
|
|
30
|
-
function
|
|
31
|
-
let { copiedLabel:
|
|
32
|
-
copiedLabel:
|
|
33
|
-
isCopied:
|
|
34
|
-
onCopy: () =>
|
|
35
|
-
}),
|
|
31
|
+
var v = "domestic-wire";
|
|
32
|
+
function y({ labels: p, routingNumberLabel: m, accountNumberLabel: y, accountNumberLast4: b, accountNumberTestId: x, wireAccountNumberLabel: S, bankNameLabel: C, bankAddressLabel: w, domesticWireIntroLabel: T, domesticWireNoteLabel: E, thingsToKnowBodyLabel: D, supportTeamHref: O, isAccountNumberVisible: k, copiedField: A, isDomesticWireExpanded: j, onDomesticWireExpandedChange: M, onToggleAccountNumberVisibility: N, onCopy: P }) {
|
|
33
|
+
let { copiedLabel: F } = p, I = (e) => ({
|
|
34
|
+
copiedLabel: F,
|
|
35
|
+
isCopied: A === e,
|
|
36
|
+
onCopy: () => P(e)
|
|
37
|
+
}), L = [
|
|
36
38
|
{
|
|
37
|
-
label:
|
|
38
|
-
value: /* @__PURE__ */
|
|
39
|
-
value:
|
|
40
|
-
copyLabel:
|
|
41
|
-
...
|
|
39
|
+
label: p.accountNumberLabel,
|
|
40
|
+
value: /* @__PURE__ */ d(_, {
|
|
41
|
+
value: S,
|
|
42
|
+
copyLabel: p.copyAccountNumber,
|
|
43
|
+
...I(u.WireAccountNumber)
|
|
42
44
|
})
|
|
43
45
|
},
|
|
44
46
|
{
|
|
45
|
-
label:
|
|
46
|
-
value: /* @__PURE__ */
|
|
47
|
-
value:
|
|
48
|
-
copyLabel:
|
|
49
|
-
...
|
|
47
|
+
label: p.routingNumberLabel,
|
|
48
|
+
value: /* @__PURE__ */ d(_, {
|
|
49
|
+
value: m,
|
|
50
|
+
copyLabel: p.copyRoutingNumber,
|
|
51
|
+
...I(u.WireRoutingNumber)
|
|
50
52
|
})
|
|
51
53
|
},
|
|
52
54
|
{
|
|
53
|
-
label:
|
|
54
|
-
value: /* @__PURE__ */
|
|
55
|
-
value:
|
|
56
|
-
copyLabel:
|
|
57
|
-
...
|
|
55
|
+
label: p.bankNameLabel,
|
|
56
|
+
value: /* @__PURE__ */ d(_, {
|
|
57
|
+
value: C,
|
|
58
|
+
copyLabel: p.copyBankName,
|
|
59
|
+
...I(u.BankName)
|
|
58
60
|
})
|
|
59
61
|
},
|
|
60
|
-
...
|
|
61
|
-
label:
|
|
62
|
-
value: /* @__PURE__ */
|
|
63
|
-
value:
|
|
64
|
-
copyLabel:
|
|
65
|
-
...
|
|
62
|
+
...w ? [{
|
|
63
|
+
label: p.bankAddressLabel,
|
|
64
|
+
value: /* @__PURE__ */ d(_, {
|
|
65
|
+
value: w,
|
|
66
|
+
copyLabel: p.copyBankAddress,
|
|
67
|
+
...I(u.BankAddress)
|
|
66
68
|
})
|
|
67
69
|
}] : []
|
|
68
70
|
];
|
|
69
|
-
return /* @__PURE__ */
|
|
71
|
+
return /* @__PURE__ */ d(s, { children: /* @__PURE__ */ d("div", {
|
|
70
72
|
className: "ttw:flex ttw:max-w-180 ttw:flex-col ttw:gap-6",
|
|
71
|
-
children: /* @__PURE__ */
|
|
73
|
+
children: /* @__PURE__ */ f("section", {
|
|
72
74
|
className: "ttw:flex ttw:flex-col ttw:gap-2",
|
|
73
75
|
children: [
|
|
74
|
-
/* @__PURE__ */
|
|
76
|
+
/* @__PURE__ */ d(o, {
|
|
75
77
|
variant: "section",
|
|
76
78
|
level: 3,
|
|
77
|
-
children:
|
|
79
|
+
children: p.detailsSectionTitle
|
|
78
80
|
}),
|
|
79
|
-
/* @__PURE__ */
|
|
80
|
-
label:
|
|
81
|
-
value: /* @__PURE__ */
|
|
82
|
-
value:
|
|
83
|
-
copyLabel:
|
|
84
|
-
...
|
|
81
|
+
/* @__PURE__ */ d(a, { items: [{
|
|
82
|
+
label: p.routingNumberLabel,
|
|
83
|
+
value: /* @__PURE__ */ d(_, {
|
|
84
|
+
value: m,
|
|
85
|
+
copyLabel: p.copyRoutingNumber,
|
|
86
|
+
...I(u.RoutingNumber)
|
|
85
87
|
})
|
|
86
88
|
}, {
|
|
87
|
-
label:
|
|
88
|
-
value: /* @__PURE__ */
|
|
89
|
-
value:
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
89
|
+
label: p.accountNumberLabel,
|
|
90
|
+
value: /* @__PURE__ */ d(_, {
|
|
91
|
+
value: k ? y : /* @__PURE__ */ d(c, {
|
|
92
|
+
last4: b,
|
|
93
|
+
labels: { endingIn: p.accountNumberEndingIn }
|
|
94
|
+
}),
|
|
95
|
+
valueTestId: x,
|
|
96
|
+
copyLabel: p.copyAccountNumber,
|
|
97
|
+
...I(u.AccountNumber),
|
|
98
|
+
revealAction: /* @__PURE__ */ d(l, {
|
|
99
|
+
label: k ? p.hideAccountNumber : p.showAccountNumber,
|
|
100
|
+
onClick: N,
|
|
101
|
+
children: d(k ? g : h, {})
|
|
97
102
|
})
|
|
98
103
|
})
|
|
99
104
|
}] }),
|
|
100
|
-
/* @__PURE__ */
|
|
105
|
+
/* @__PURE__ */ d(e, {
|
|
101
106
|
type: "single",
|
|
102
107
|
collapsible: !0,
|
|
103
|
-
value:
|
|
104
|
-
onValueChange: (e) =>
|
|
108
|
+
value: j ? v : "",
|
|
109
|
+
onValueChange: (e) => M(e === v),
|
|
105
110
|
className: "ttw:border-t ttw:border-border",
|
|
106
|
-
children: /* @__PURE__ */
|
|
107
|
-
value:
|
|
108
|
-
children: [/* @__PURE__ */
|
|
111
|
+
children: /* @__PURE__ */ f(n, {
|
|
112
|
+
value: v,
|
|
113
|
+
children: [/* @__PURE__ */ d(r, {
|
|
109
114
|
className: "ttw:cursor-pointer ttw:py-2.5 ttw:text-foreground",
|
|
110
|
-
children:
|
|
111
|
-
}), /* @__PURE__ */
|
|
115
|
+
children: p.domesticWireTitle
|
|
116
|
+
}), /* @__PURE__ */ f(t, {
|
|
112
117
|
className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:pb-4 ttw:text-sm ttw:text-foreground",
|
|
113
118
|
children: [
|
|
114
|
-
/* @__PURE__ */
|
|
115
|
-
/* @__PURE__ */
|
|
116
|
-
/* @__PURE__ */
|
|
117
|
-
/* @__PURE__ */
|
|
118
|
-
/* @__PURE__ */
|
|
119
|
+
/* @__PURE__ */ d("p", { children: T }),
|
|
120
|
+
/* @__PURE__ */ d(a, { items: L }),
|
|
121
|
+
/* @__PURE__ */ d("p", { children: E }),
|
|
122
|
+
/* @__PURE__ */ f("p", { children: [
|
|
123
|
+
/* @__PURE__ */ d("span", {
|
|
119
124
|
className: "ttw:font-semibold",
|
|
120
|
-
children:
|
|
125
|
+
children: p.thingsToKnowHeading
|
|
121
126
|
}),
|
|
122
127
|
" ",
|
|
123
|
-
|
|
128
|
+
D
|
|
124
129
|
] }),
|
|
125
|
-
|
|
126
|
-
|
|
130
|
+
O ? /* @__PURE__ */ f("p", { children: [
|
|
131
|
+
p.supportQuestionsPrefix,
|
|
127
132
|
" ",
|
|
128
|
-
/* @__PURE__ */
|
|
133
|
+
/* @__PURE__ */ d(i, {
|
|
129
134
|
variant: "link",
|
|
130
135
|
asChild: !0,
|
|
131
136
|
className: "ttw:h-auto ttw:p-0 ttw:text-sm ttw:font-normal",
|
|
132
|
-
children: /* @__PURE__ */
|
|
133
|
-
href:
|
|
137
|
+
children: /* @__PURE__ */ d("a", {
|
|
138
|
+
href: O,
|
|
134
139
|
target: "_blank",
|
|
135
140
|
rel: "noopener noreferrer",
|
|
136
|
-
children:
|
|
141
|
+
children: p.supportTeamLink
|
|
137
142
|
})
|
|
138
143
|
}),
|
|
139
144
|
"."
|
|
@@ -146,4 +151,4 @@ function v({ labels: f, routingNumberLabel: p, accountNumberDisplayLabel: v, acc
|
|
|
146
151
|
})
|
|
147
152
|
}) });
|
|
148
153
|
}
|
|
149
|
-
export {
|
|
154
|
+
export { y as AccountDetailsPanel };
|
|
@@ -62,11 +62,12 @@ var e = {
|
|
|
62
62
|
supportTeamLink: "support team",
|
|
63
63
|
routingNumberLabel: "Routing number",
|
|
64
64
|
accountNumberLabel: "Account number",
|
|
65
|
-
copyAccountNumber: "Copy account number",
|
|
65
|
+
copyAccountNumber: "Copy full account number",
|
|
66
66
|
copyRoutingNumber: "Copy routing number",
|
|
67
67
|
copyBankName: "Copy bank name",
|
|
68
68
|
copyBankAddress: "Copy bank address",
|
|
69
69
|
copiedLabel: "Copied",
|
|
70
|
+
accountNumberEndingIn: "ending in {last4}",
|
|
70
71
|
showAccountNumber: "Show account number",
|
|
71
72
|
hideAccountNumber: "Hide account number",
|
|
72
73
|
loadingLabel: "Loading account details",
|
|
@@ -19,8 +19,7 @@ function n(e) {
|
|
|
19
19
|
})).join(" + ");
|
|
20
20
|
}
|
|
21
21
|
function r(e) {
|
|
22
|
-
|
|
23
|
-
return t ? `••••••••${t.slice(-4)}` : "";
|
|
22
|
+
return e.trim().slice(-4);
|
|
24
23
|
}
|
|
25
24
|
async function i(e) {
|
|
26
25
|
if (!e.trim()) return !1;
|
|
@@ -30,4 +29,4 @@ async function i(e) {
|
|
|
30
29
|
return !1;
|
|
31
30
|
}
|
|
32
31
|
}
|
|
33
|
-
export { i as copyTextToClipboard, t as formatAmountLabel, n as formatTotalAvailableBalanceLabel
|
|
32
|
+
export { r as accountNumberLast4, i as copyTextToClipboard, t as formatAmountLabel, n as formatTotalAvailableBalanceLabel };
|
|
@@ -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 { TESOURO_NEW_EMBEDDED_BANK_ACCOUNT_CREATED_SUCCESS_EVENT as t, emitWidgetDomEvent as n } from "../../../../shared/util/dist/lib/widgetDomEvents.js";
|
|
7
7
|
import "../../../../shared/util/dist/index.js";
|
|
8
8
|
import { OrganizationStatus as r, isOrganizationOnItsWay as ee } from "../../../../shared/data-access/dist/lib/organizationStatus.js";
|
|
@@ -12,7 +12,7 @@ import { useAllBankAccountsQuery as re } from "../../../../shared/data-access/di
|
|
|
12
12
|
import { useAllOrganizationRolesQuery as ie } from "../../../../shared/data-access/dist/lib/role/useAllOrganizationRolesQuery.js";
|
|
13
13
|
import "../../../../shared/data-access/dist/index.js";
|
|
14
14
|
import { BankAccountsWidgetAnalyticsEvent as i } from "./BankAccountsWidget/analytics/events.js";
|
|
15
|
-
import { copyTextToClipboard as ae, formatAmountLabel as
|
|
15
|
+
import { accountNumberLast4 as a, copyTextToClipboard as ae, formatAmountLabel as o, formatTotalAvailableBalanceLabel as oe } from "./formatters.js";
|
|
16
16
|
import { DEFAULT_FEATURE_LABELS as se } from "./labels.js";
|
|
17
17
|
import { getBankAccountsPermissions as ce } from "./permissions.js";
|
|
18
18
|
import { toAccessRows as le, toOrganizationRoleOptions as ue, toTeamMembers as de } from "./teamMembers.js";
|
|
@@ -196,9 +196,9 @@ function Oe(e, t, n) {
|
|
|
196
196
|
return {
|
|
197
197
|
id: e.id,
|
|
198
198
|
name: e.nickname?.trim() || t.accountFallback,
|
|
199
|
-
balanceLabel:
|
|
199
|
+
balanceLabel: o(e.balance),
|
|
200
200
|
accountNumberLabel: e.accountNumber,
|
|
201
|
-
|
|
201
|
+
accountNumberLast4: a(e.accountNumber),
|
|
202
202
|
routingNumberLabel: e.routingNumber,
|
|
203
203
|
...n
|
|
204
204
|
};
|
package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/AccountCard.js
CHANGED
|
@@ -4,77 +4,82 @@
|
|
|
4
4
|
"use client";
|
|
5
5
|
import { Skeleton as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
6
|
import { formatOpenAccountAriaLabel as t } from "./labels.js";
|
|
7
|
-
import {
|
|
7
|
+
import { MaskedAccountNumber as n } from "../../../../shared/ui/dist/lib/MaskedAccountNumber/MaskedAccountNumber.js";
|
|
8
|
+
import "../../../../shared/ui/dist/index.js";
|
|
9
|
+
import { IconActionButton as r } from "../../../account-details/ui/dist/index2.js";
|
|
8
10
|
import "../../../account-details/ui/dist/index.js";
|
|
9
|
-
import { jsx as
|
|
10
|
-
import { CheckIcon as
|
|
11
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
12
|
+
import { CheckIcon as o, CopyIcon as s, EyeIcon as c, EyeOffIcon as l } from "lucide-react";
|
|
11
13
|
// ../../libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/AccountCard.js
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
let
|
|
15
|
-
return /* @__PURE__ */
|
|
16
|
-
"data-testid":
|
|
14
|
+
var u = "ttw:absolute ttw:inset-0 ttw:z-0 ttw:cursor-pointer ttw:rounded-lg ttw:outline-none ttw:focus-visible:outline-solid ttw:focus-visible:outline-2 ttw:focus-visible:outline-offset-2 ttw:focus-visible:outline-ring", d = "ttw:pointer-events-auto ttw:relative ttw:z-10";
|
|
15
|
+
function f({ labels: e, card: f, testId: p }) {
|
|
16
|
+
let m = f.isAccountNumberCopied ? e.copiedLabel : e.copyAccountNumber, h = f.isRoutingNumberCopied ? e.copiedLabel : e.copyRoutingNumber;
|
|
17
|
+
return /* @__PURE__ */ a("article", {
|
|
18
|
+
"data-testid": p,
|
|
17
19
|
className: "ttw:relative ttw:flex ttw:w-80 ttw:max-w-full ttw:cursor-pointer ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4 ttw:transition-colors ttw:duration-150 ttw:hover:bg-muted",
|
|
18
|
-
children: [/* @__PURE__ */
|
|
20
|
+
children: [/* @__PURE__ */ i("button", {
|
|
19
21
|
type: "button",
|
|
20
|
-
className:
|
|
21
|
-
"aria-label": t(
|
|
22
|
-
onClick:
|
|
23
|
-
}), /* @__PURE__ */
|
|
22
|
+
className: u,
|
|
23
|
+
"aria-label": t(f.name, e),
|
|
24
|
+
onClick: f.onSelect
|
|
25
|
+
}), /* @__PURE__ */ a("div", {
|
|
24
26
|
className: "ttw:pointer-events-none ttw:relative ttw:z-10 ttw:flex ttw:min-h-0 ttw:flex-1 ttw:flex-col ttw:gap-3",
|
|
25
27
|
children: [
|
|
26
|
-
/* @__PURE__ */
|
|
28
|
+
/* @__PURE__ */ a("div", {
|
|
27
29
|
className: "ttw:space-y-1",
|
|
28
|
-
children: [/* @__PURE__ */
|
|
30
|
+
children: [/* @__PURE__ */ i("p", {
|
|
29
31
|
className: "ttw:truncate ttw:text-sm ttw:font-semibold ttw:text-foreground",
|
|
30
|
-
children:
|
|
31
|
-
}), /* @__PURE__ */
|
|
32
|
+
children: f.name
|
|
33
|
+
}), /* @__PURE__ */ i("p", {
|
|
32
34
|
className: "ttw:truncate ttw:text-xl ttw:font-semibold ttw:tabular-nums ttw:text-foreground",
|
|
33
|
-
children:
|
|
35
|
+
children: f.balanceLabel
|
|
34
36
|
})]
|
|
35
37
|
}),
|
|
36
|
-
/* @__PURE__ */
|
|
38
|
+
/* @__PURE__ */ a("div", {
|
|
37
39
|
className: "ttw:space-y-1",
|
|
38
|
-
children: [/* @__PURE__ */
|
|
40
|
+
children: [/* @__PURE__ */ i("p", {
|
|
39
41
|
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
40
42
|
children: e.accountNumberLabel
|
|
41
|
-
}), /* @__PURE__ */
|
|
43
|
+
}), /* @__PURE__ */ a("div", {
|
|
42
44
|
className: "ttw:flex ttw:items-center ttw:gap-1",
|
|
43
45
|
children: [
|
|
44
|
-
/* @__PURE__ */
|
|
46
|
+
/* @__PURE__ */ i("span", {
|
|
45
47
|
className: "ttw:text-sm ttw:tabular-nums",
|
|
46
|
-
children:
|
|
48
|
+
children: f.isAccountNumberVisible ? f.accountNumberLabel : /* @__PURE__ */ i(n, {
|
|
49
|
+
last4: f.accountNumberLast4,
|
|
50
|
+
labels: { endingIn: e.accountNumberEndingIn }
|
|
51
|
+
})
|
|
47
52
|
}),
|
|
48
|
-
/* @__PURE__ */ r
|
|
49
|
-
label:
|
|
50
|
-
className:
|
|
51
|
-
onClick:
|
|
52
|
-
children:
|
|
53
|
+
/* @__PURE__ */ i(r, {
|
|
54
|
+
label: f.isAccountNumberVisible ? e.hideAccountNumber : e.showAccountNumber,
|
|
55
|
+
className: d,
|
|
56
|
+
onClick: f.onToggleAccountNumberVisibility,
|
|
57
|
+
children: f.isAccountNumberVisible ? /* @__PURE__ */ i(l, {}) : /* @__PURE__ */ i(c, {})
|
|
53
58
|
}),
|
|
54
|
-
/* @__PURE__ */ r
|
|
55
|
-
label:
|
|
56
|
-
className:
|
|
57
|
-
onClick:
|
|
58
|
-
children:
|
|
59
|
+
/* @__PURE__ */ i(r, {
|
|
60
|
+
label: m,
|
|
61
|
+
className: d,
|
|
62
|
+
onClick: f.onCopyAccountNumber,
|
|
63
|
+
children: f.isAccountNumberCopied ? /* @__PURE__ */ i(o, {}) : /* @__PURE__ */ i(s, {})
|
|
59
64
|
})
|
|
60
65
|
]
|
|
61
66
|
})]
|
|
62
67
|
}),
|
|
63
|
-
/* @__PURE__ */
|
|
68
|
+
/* @__PURE__ */ a("div", {
|
|
64
69
|
className: "ttw:space-y-1",
|
|
65
|
-
children: [/* @__PURE__ */
|
|
70
|
+
children: [/* @__PURE__ */ i("p", {
|
|
66
71
|
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
67
72
|
children: e.routingNumberLabel
|
|
68
|
-
}), /* @__PURE__ */
|
|
73
|
+
}), /* @__PURE__ */ a("div", {
|
|
69
74
|
className: "ttw:flex ttw:items-center ttw:gap-1",
|
|
70
|
-
children: [/* @__PURE__ */
|
|
75
|
+
children: [/* @__PURE__ */ i("span", {
|
|
71
76
|
className: "ttw:text-sm ttw:tabular-nums",
|
|
72
|
-
children:
|
|
73
|
-
}), /* @__PURE__ */ r
|
|
74
|
-
label:
|
|
75
|
-
className:
|
|
76
|
-
onClick:
|
|
77
|
-
children:
|
|
77
|
+
children: f.routingNumberLabel
|
|
78
|
+
}), /* @__PURE__ */ i(r, {
|
|
79
|
+
label: h,
|
|
80
|
+
className: d,
|
|
81
|
+
onClick: f.onCopyRoutingNumber,
|
|
82
|
+
children: f.isRoutingNumberCopied ? /* @__PURE__ */ i(o, {}) : /* @__PURE__ */ i(s, {})
|
|
78
83
|
})]
|
|
79
84
|
})]
|
|
80
85
|
})
|
|
@@ -82,7 +87,7 @@ function d({ labels: e, card: d, testId: f }) {
|
|
|
82
87
|
})]
|
|
83
88
|
});
|
|
84
89
|
}
|
|
85
|
-
function
|
|
86
|
-
return /* @__PURE__ */
|
|
90
|
+
function p() {
|
|
91
|
+
return /* @__PURE__ */ i(e, { className: "ttw:h-52 ttw:w-80 ttw:max-w-full ttw:rounded-lg" });
|
|
87
92
|
}
|
|
88
|
-
export {
|
|
93
|
+
export { f as AccountCard, p as AccountCardSkeleton };
|
package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/labels.js
CHANGED
|
@@ -24,9 +24,10 @@ var e = {
|
|
|
24
24
|
teamMembersErrorTitle: "Couldn't load team members",
|
|
25
25
|
teamMembersEmptyLabel: "No team members found.",
|
|
26
26
|
teamMemberAccessTooltip: "Role information",
|
|
27
|
+
accountNumberEndingIn: "ending in {last4}",
|
|
27
28
|
showAccountNumber: "Show account number",
|
|
28
29
|
hideAccountNumber: "Hide account number",
|
|
29
|
-
copyAccountNumber: "Copy account number",
|
|
30
|
+
copyAccountNumber: "Copy full account number",
|
|
30
31
|
copyRoutingNumber: "Copy routing number",
|
|
31
32
|
copiedLabel: "Copied",
|
|
32
33
|
openAccountAriaLabel: "Open account details",
|
|
@@ -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 "../../../../shared/ui/dist/index.js";
|
|
7
7
|
import { useWidgetConfig as t } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
8
8
|
import "../../../../shared/feature/dist/index.js";
|
|
@@ -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 { hasAnyScope as t } from "../../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
7
7
|
import { Scope as n } from "../../../../shared/data-access/dist/lib/scopes.js";
|
|
8
8
|
import "../../../../shared/data-access/dist/index.js";
|
|
@@ -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 { hasAnyScope as t } from "../../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
7
7
|
import { Scope as ee } from "../../../../shared/data-access/dist/lib/scopes.js";
|
|
8
8
|
import "../../../../shared/data-access/dist/index.js";
|
|
@@ -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 "../../../../shared/ui/dist/index.js";
|
|
7
7
|
import { useUpdatePayableMutation as t } from "../../data-access/dist/index16.js";
|
|
8
8
|
import "../../data-access/dist/index.js";
|
|
@@ -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 { formatCalendarDate as t } from "../../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
7
7
|
import { formatMoneyExact as n } from "../../../../shared/util/dist/lib/formatMoneyExact.js";
|
|
8
8
|
import "../../../../shared/util/dist/index.js";
|
|
@@ -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 "../../../../shared/util/dist/lib/apiErrors.js";
|
|
7
7
|
import "../../../../shared/util/dist/index.js";
|
|
8
8
|
import { isApiConflictError as n } from "../../../../shared/data-access/dist/lib/isApiConflictError.js";
|
|
@@ -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 { getPayablesIdOptions as t } from "../../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
|
|
7
7
|
import { withAuthEpoch as n } from "../../../../shared/data-access/dist/lib/withAuthEpoch.js";
|
|
8
8
|
import { useEmbedApi as r } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
@@ -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 { formatCalendarDate as t } from "../../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
7
7
|
import { formatMoneyExact as n } from "../../../../shared/util/dist/lib/formatMoneyExact.js";
|
|
8
8
|
import "../../../../shared/util/dist/index.js";
|
|
@@ -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 { hasAnyScope as t } from "../../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
7
7
|
import { useMailboxAddress as ee } from "../../../../shared/data-access/dist/lib/useMailboxAddress.js";
|
|
8
8
|
import { Scope as n } from "../../../../shared/data-access/dist/lib/scopes.js";
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index10.js
CHANGED
|
@@ -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 { formatCalendarDate as t } from "../../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
7
7
|
import { formatMoneyExact as n } from "../../../../shared/util/dist/lib/formatMoneyExact.js";
|
|
8
8
|
import "../../../../shared/util/dist/index.js";
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index4.js
CHANGED
|
@@ -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 { formatCalendarDate as t } from "../../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
7
7
|
import { formatMoneyExact as n } from "../../../../shared/util/dist/lib/formatMoneyExact.js";
|
|
8
8
|
import "../../../../shared/util/dist/index.js";
|
|
@@ -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 { useEmbedApi as t } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
7
|
import { isApiConflictError as n } from "../../../../shared/data-access/dist/lib/isApiConflictError.js";
|
|
8
8
|
import { isApiUnprocessableError as r } from "../../../../shared/data-access/dist/lib/isApiUnprocessableError.js";
|
|
@@ -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 { isApiConflictError as t } from "../../../../shared/data-access/dist/lib/isApiConflictError.js";
|
|
7
7
|
import "../../../../shared/data-access/dist/index.js";
|
|
8
8
|
import "../../../../shared/ui/dist/index.js";
|
|
@@ -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 { isApiConflictError as t } from "../../../../shared/data-access/dist/lib/isApiConflictError.js";
|
|
7
7
|
import "../../../../shared/data-access/dist/index.js";
|
|
8
8
|
import "../../../../shared/ui/dist/index.js";
|
package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js
CHANGED
|
@@ -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 { getStateOptions as t } from "../../../../shared/util/dist/lib/usStates.js";
|
|
7
7
|
import "../../../../shared/util/dist/index.js";
|
|
8
8
|
import { Scope as n } from "../../../../shared/data-access/dist/lib/scopes.js";
|
|
@@ -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 "../../../../../shared/ui/dist/index.js";
|
|
7
7
|
import { bankAccountToAchFormValues as t, counterpartToFormValues as n } from "../../../../../shared/counterpart-management/feature/dist/lib/helpers.js";
|
|
8
8
|
import { useCounterpartForm as r } from "../../../../../shared/counterpart-management/feature/dist/lib/useCounterpartForm.js";
|
|
@@ -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 { isOrganizationOnItsWay as t } from "../../../../shared/data-access/dist/lib/organizationStatus.js";
|
|
7
7
|
import { useEmbedApi as n } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
8
8
|
import { Scope as r } from "../../../../shared/data-access/dist/lib/scopes.js";
|