@tesouro/embedded-components-react 0.11.141 → 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.
Files changed (148) hide show
  1. package/NOTICE +24 -0
  2. package/README.md +15 -37
  3. package/dist/experimental/BalanceHistoryWidget.d.ts +0 -11
  4. package/dist/experimental/QuickViewWidget.d.ts +0 -11
  5. package/dist/experimental/RemoteCheckCapture.d.ts +0 -11
  6. package/dist/experimental/index.d.ts +0 -11
  7. package/dist/fixtures/index.d.ts +27 -1
  8. package/dist/index.css +6976 -6246
  9. package/dist/index.d.ts +64 -173
  10. package/dist/index.js +9 -10
  11. package/dist/lib/AcceptDisclosuresWidget.d.ts +0 -11
  12. package/dist/lib/BalancesWidget.d.ts +0 -11
  13. package/dist/lib/BankAccountOnboardingWidget.d.ts +0 -11
  14. package/dist/lib/BankAccountsWidget.d.ts +2 -11
  15. package/dist/lib/BankingComplianceBannerWidget.d.ts +0 -11
  16. package/dist/lib/BillPayWidget.d.ts +0 -11
  17. package/dist/lib/CardDetailsWidget.d.ts +0 -11
  18. package/dist/lib/CounterpartsWidget.d.ts +1 -12
  19. package/dist/lib/CounterpartsWidgetPublic.d.ts +1 -12
  20. package/dist/lib/CreditCardsWidget.d.ts +0 -11
  21. package/dist/lib/DebitCardsWidget.d.ts +0 -11
  22. package/dist/lib/ExpenseManagementWidget.d.ts +1 -12
  23. package/dist/lib/InsightsWidget.d.ts +0 -11
  24. package/dist/lib/LinkedAccountsWidget.d.ts +0 -11
  25. package/dist/lib/OfferWidget.d.ts +0 -11
  26. package/dist/lib/ReceivablesWidget.d.ts +60 -17
  27. package/dist/lib/ReceivablesWidget.js +3 -2
  28. package/dist/lib/SettingsWidget.d.ts +0 -11
  29. package/dist/lib/TransfersWidget.d.ts +0 -11
  30. package/dist/lib/WidgetProvider.d.ts +0 -11
  31. package/dist/lib/WidgetProviderPublic.d.ts +0 -11
  32. package/dist/lib/WidgetSuite.d.ts +60 -15
  33. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js +1 -1
  34. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js +20 -19
  35. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index10.js +8 -8
  36. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index4.js +2 -3
  37. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index10.js +83 -82
  38. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index4.js +84 -79
  39. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index9.js +2 -1
  40. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/formatters.js +2 -3
  41. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/useBankAccountsWidget.js +4 -4
  42. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/AccountCard.js +51 -46
  43. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/labels.js +2 -1
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index22.js +1 -1
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index25.js +1 -1
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index35.js +1 -1
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index36.js +1 -1
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index4.js +1 -1
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index40.js +1 -1
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index4.js +1 -1
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +1 -1
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +1 -1
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index10.js +1 -1
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index4.js +1 -1
  55. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/useActivateCard.js +1 -1
  56. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/useCardLock.js +1 -1
  57. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/useEditCardNickname.js +1 -1
  58. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +1 -1
  59. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartDetailsActions.js +1 -1
  60. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/feature/dist/index7.js +1 -1
  61. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/ExpenseManagementWidget/ExpenseManagementWidget.js +10 -9
  62. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/TransactionDetails/TransactionDetailsFeature.js +1 -1
  63. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/feature/dist/index2.js +1 -1
  64. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +2 -2
  65. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index16.js +66 -74
  66. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +3 -2
  67. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +351 -318
  68. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/details.js +126 -133
  69. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/helpers.js +63 -56
  70. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/invoicesFilter.js +78 -72
  71. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/invoicesFilterLabels.js +2 -1
  72. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/labels.js +14 -1
  73. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/recurrence.js +138 -129
  74. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/recurringSeries.js +119 -0
  75. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/statusCards.js +37 -28
  76. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/tabs.js +1 -2
  77. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useInvoicesFilter.js +131 -81
  78. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useLocalDayStart.js +15 -0
  79. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActions.js +46 -46
  80. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActionsModal.js +1 -1
  81. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableAttachmentUploads.js +13 -13
  82. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableBankAccount.js +1 -1
  83. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableForm.js +440 -438
  84. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentRecord.js +7 -7
  85. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentTerms.js +1 -1
  86. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableRecurrence.js +62 -56
  87. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableReminders.js +1 -1
  88. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableStatusCards.js +47 -16
  89. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesTable.js +78 -86
  90. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesWidget.js +180 -158
  91. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useRecurringSeriesTable.js +132 -0
  92. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/mocks/invoicing.js +4 -0
  93. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/mocks/receivables.js +153 -137
  94. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +22 -19
  95. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +6 -4
  96. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index2.js +1 -1
  97. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index47.js +3 -3
  98. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index60.js +137 -129
  99. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index61.js +21 -46
  100. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index62.js +143 -0
  101. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index63.js +2 -0
  102. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index64.js +47 -0
  103. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +25 -25
  104. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/useLinkedAccountsWidget.js +1 -1
  105. package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/useProductDelete.js +1 -1
  106. package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/mocks/products.js +3 -11
  107. package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/scenarios.js +1 -1
  108. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/data-access/dist/index2.js +36 -77
  109. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/summarizeCardSpend.js +11 -13
  110. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/useCardSpendSummary.js +20 -17
  111. package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/useRemoteCheckCaptureWidget.js +1 -1
  112. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index7.js +1 -1
  113. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/mocks/settings.js +7 -0
  114. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index7.js +1 -1
  115. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index8.js +1 -1
  116. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index8.js +4 -9
  117. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index12.js +1 -1
  118. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index16.js +2 -3
  119. package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/lib/SettingsWidgetUi/SettingsWidgetUi.js +2 -2
  120. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/feature/dist/lib/useApprovalPolicyRules.js +1 -1
  121. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index3.js +2 -2
  122. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/subEntityForms.js +1 -1
  123. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useDeleteController.js +1 -1
  124. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +43 -43
  125. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +233 -211
  126. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +66 -42
  127. package/dist/libs/tesouro-embedded-components-react/shared/document-status/util/dist/lib/receivableFilledTone.js +1 -1
  128. package/dist/libs/tesouro-embedded-components-react/shared/expense-requirements/feature/dist/lib/ExpenseRequirementsWidget.js +5 -4
  129. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  130. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/MeasureUnitsManagerContainer.js +1 -1
  131. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/toasts.js +1 -1
  132. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +28 -28
  133. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/EmbeddedToaster.js +33 -32
  134. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/useTransferMoneyModalController.js +9 -8
  135. package/dist/node_modules/sonner/dist/index.js +620 -0
  136. package/dist/packages/shared-ui-shadcn/dist/index.js +6072 -6062
  137. package/dist/scenarios/index.d.ts +1 -3
  138. package/dist/scenarios/index.js +17 -20
  139. package/package.json +17 -4
  140. package/dist/lib/CustomersWidget.d.ts +0 -993
  141. package/dist/lib/CustomersWidget.js +0 -2
  142. package/dist/lib/ProductsWidget.d.ts +0 -893
  143. package/dist/lib/ProductsWidget.js +0 -2
  144. package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/index.js +0 -1
  145. package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/lib/CustomersWidget/CustomersWidget.js +0 -41
  146. package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/lib/analytics/events.js +0 -3
  147. package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/scenarios.js +0 -2
  148. 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 { IconActionButton as c } from "./index2.js";
7
- import { AccountDetailsCopyField as l } from "./index3.js";
8
- import { jsx as u, jsxs as d } from "react/jsx-runtime";
9
- import { CheckIcon as f, CopyIcon as p, EyeIcon as m, EyeOffIcon as h } from "lucide-react";
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 g({ value: e, copyLabel: t, copiedLabel: n, isCopied: r = !1, onCopy: i, valueTestId: a, revealAction: o }) {
12
- return /* @__PURE__ */ d("span", {
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__ */ u("span", {
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__ */ u(c, {
23
+ /* @__PURE__ */ d(l, {
22
24
  label: r ? n : t,
23
25
  onClick: i,
24
- children: u(r ? f : p, {})
26
+ children: d(r ? p : m, {})
25
27
  })
26
28
  ]
27
29
  });
28
30
  }
29
- var _ = "domestic-wire";
30
- function v({ labels: f, routingNumberLabel: p, accountNumberDisplayLabel: v, accountNumberTestId: y, wireAccountNumberLabel: b, bankNameLabel: x, bankAddressLabel: S, domesticWireIntroLabel: C, domesticWireNoteLabel: w, thingsToKnowBodyLabel: T, supportTeamHref: E, isAccountNumberVisible: D, copiedField: O, isDomesticWireExpanded: k, onDomesticWireExpandedChange: A, onToggleAccountNumberVisibility: j, onCopy: M }) {
31
- let { copiedLabel: N } = f, P = (e) => ({
32
- copiedLabel: N,
33
- isCopied: O === e,
34
- onCopy: () => M(e)
35
- }), F = [
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: f.accountNumberLabel,
38
- value: /* @__PURE__ */ u(g, {
39
- value: b,
40
- copyLabel: f.copyAccountNumber,
41
- ...P(l.WireAccountNumber)
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: f.routingNumberLabel,
46
- value: /* @__PURE__ */ u(g, {
47
- value: p,
48
- copyLabel: f.copyRoutingNumber,
49
- ...P(l.WireRoutingNumber)
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: f.bankNameLabel,
54
- value: /* @__PURE__ */ u(g, {
55
- value: x,
56
- copyLabel: f.copyBankName,
57
- ...P(l.BankName)
55
+ label: p.bankNameLabel,
56
+ value: /* @__PURE__ */ d(_, {
57
+ value: C,
58
+ copyLabel: p.copyBankName,
59
+ ...I(u.BankName)
58
60
  })
59
61
  },
60
- ...S ? [{
61
- label: f.bankAddressLabel,
62
- value: /* @__PURE__ */ u(g, {
63
- value: S,
64
- copyLabel: f.copyBankAddress,
65
- ...P(l.BankAddress)
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__ */ u(s, { children: /* @__PURE__ */ u("div", {
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__ */ d("section", {
73
+ children: /* @__PURE__ */ f("section", {
72
74
  className: "ttw:flex ttw:flex-col ttw:gap-2",
73
75
  children: [
74
- /* @__PURE__ */ u(o, {
76
+ /* @__PURE__ */ d(o, {
75
77
  variant: "section",
76
78
  level: 3,
77
- children: f.detailsSectionTitle
79
+ children: p.detailsSectionTitle
78
80
  }),
79
- /* @__PURE__ */ u(a, { items: [{
80
- label: f.routingNumberLabel,
81
- value: /* @__PURE__ */ u(g, {
82
- value: p,
83
- copyLabel: f.copyRoutingNumber,
84
- ...P(l.RoutingNumber)
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: f.accountNumberLabel,
88
- value: /* @__PURE__ */ u(g, {
89
- value: v,
90
- valueTestId: y,
91
- copyLabel: f.copyAccountNumber,
92
- ...P(l.AccountNumber),
93
- revealAction: /* @__PURE__ */ u(c, {
94
- label: D ? f.hideAccountNumber : f.showAccountNumber,
95
- onClick: j,
96
- children: u(D ? h : m, {})
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__ */ u(e, {
105
+ /* @__PURE__ */ d(e, {
101
106
  type: "single",
102
107
  collapsible: !0,
103
- value: k ? _ : "",
104
- onValueChange: (e) => A(e === _),
108
+ value: j ? v : "",
109
+ onValueChange: (e) => M(e === v),
105
110
  className: "ttw:border-t ttw:border-border",
106
- children: /* @__PURE__ */ d(n, {
107
- value: _,
108
- children: [/* @__PURE__ */ u(r, {
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: f.domesticWireTitle
111
- }), /* @__PURE__ */ d(t, {
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__ */ u("p", { children: C }),
115
- /* @__PURE__ */ u(a, { items: F }),
116
- /* @__PURE__ */ u("p", { children: w }),
117
- /* @__PURE__ */ d("p", { children: [
118
- /* @__PURE__ */ u("span", {
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: f.thingsToKnowHeading
125
+ children: p.thingsToKnowHeading
121
126
  }),
122
127
  " ",
123
- T
128
+ D
124
129
  ] }),
125
- E ? /* @__PURE__ */ d("p", { children: [
126
- f.supportQuestionsPrefix,
130
+ O ? /* @__PURE__ */ f("p", { children: [
131
+ p.supportQuestionsPrefix,
127
132
  " ",
128
- /* @__PURE__ */ u(i, {
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__ */ u("a", {
133
- href: E,
137
+ children: /* @__PURE__ */ d("a", {
138
+ href: O,
134
139
  target: "_blank",
135
140
  rel: "noopener noreferrer",
136
- children: f.supportTeamLink
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 { v as AccountDetailsPanel };
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
- let t = e.trim();
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, r as maskAccountNumber };
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 "../../../../../../packages/shared-ui-shadcn/dist/index.js";
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 a, formatTotalAvailableBalanceLabel as oe, maskAccountNumber as o } from "./formatters.js";
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: a(e.balance),
199
+ balanceLabel: o(e.balance),
200
200
  accountNumberLabel: e.accountNumber,
201
- maskedAccountNumberLabel: o(e.accountNumber),
201
+ accountNumberLast4: a(e.accountNumber),
202
202
  routingNumberLabel: e.routingNumber,
203
203
  ...n
204
204
  };
@@ -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 { IconActionButton as n } from "../../../account-details/ui/dist/index2.js";
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 r, jsxs as i } from "react/jsx-runtime";
10
- import { CheckIcon as a, CopyIcon as o, EyeIcon as s, EyeOffIcon as c } from "lucide-react";
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 l = "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", u = "ttw:pointer-events-auto ttw:relative ttw:z-10";
13
- function d({ labels: e, card: d, testId: f }) {
14
- let p = d.isAccountNumberCopied ? e.copiedLabel : e.copyAccountNumber, m = d.isRoutingNumberCopied ? e.copiedLabel : e.copyRoutingNumber;
15
- return /* @__PURE__ */ i("article", {
16
- "data-testid": f,
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__ */ r("button", {
20
+ children: [/* @__PURE__ */ i("button", {
19
21
  type: "button",
20
- className: l,
21
- "aria-label": t(d.name, e),
22
- onClick: d.onSelect
23
- }), /* @__PURE__ */ i("div", {
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__ */ i("div", {
28
+ /* @__PURE__ */ a("div", {
27
29
  className: "ttw:space-y-1",
28
- children: [/* @__PURE__ */ r("p", {
30
+ children: [/* @__PURE__ */ i("p", {
29
31
  className: "ttw:truncate ttw:text-sm ttw:font-semibold ttw:text-foreground",
30
- children: d.name
31
- }), /* @__PURE__ */ r("p", {
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: d.balanceLabel
35
+ children: f.balanceLabel
34
36
  })]
35
37
  }),
36
- /* @__PURE__ */ i("div", {
38
+ /* @__PURE__ */ a("div", {
37
39
  className: "ttw:space-y-1",
38
- children: [/* @__PURE__ */ r("p", {
40
+ children: [/* @__PURE__ */ i("p", {
39
41
  className: "ttw:text-xs ttw:text-muted-foreground",
40
42
  children: e.accountNumberLabel
41
- }), /* @__PURE__ */ i("div", {
43
+ }), /* @__PURE__ */ a("div", {
42
44
  className: "ttw:flex ttw:items-center ttw:gap-1",
43
45
  children: [
44
- /* @__PURE__ */ r("span", {
46
+ /* @__PURE__ */ i("span", {
45
47
  className: "ttw:text-sm ttw:tabular-nums",
46
- children: d.isAccountNumberVisible ? d.accountNumberLabel : d.maskedAccountNumberLabel
48
+ children: f.isAccountNumberVisible ? f.accountNumberLabel : /* @__PURE__ */ i(n, {
49
+ last4: f.accountNumberLast4,
50
+ labels: { endingIn: e.accountNumberEndingIn }
51
+ })
47
52
  }),
48
- /* @__PURE__ */ r(n, {
49
- label: d.isAccountNumberVisible ? e.hideAccountNumber : e.showAccountNumber,
50
- className: u,
51
- onClick: d.onToggleAccountNumberVisibility,
52
- children: d.isAccountNumberVisible ? /* @__PURE__ */ r(c, {}) : /* @__PURE__ */ r(s, {})
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(n, {
55
- label: p,
56
- className: u,
57
- onClick: d.onCopyAccountNumber,
58
- children: d.isAccountNumberCopied ? /* @__PURE__ */ r(a, {}) : /* @__PURE__ */ r(o, {})
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__ */ i("div", {
68
+ /* @__PURE__ */ a("div", {
64
69
  className: "ttw:space-y-1",
65
- children: [/* @__PURE__ */ r("p", {
70
+ children: [/* @__PURE__ */ i("p", {
66
71
  className: "ttw:text-xs ttw:text-muted-foreground",
67
72
  children: e.routingNumberLabel
68
- }), /* @__PURE__ */ i("div", {
73
+ }), /* @__PURE__ */ a("div", {
69
74
  className: "ttw:flex ttw:items-center ttw:gap-1",
70
- children: [/* @__PURE__ */ r("span", {
75
+ children: [/* @__PURE__ */ i("span", {
71
76
  className: "ttw:text-sm ttw:tabular-nums",
72
- children: d.routingNumberLabel
73
- }), /* @__PURE__ */ r(n, {
74
- label: m,
75
- className: u,
76
- onClick: d.onCopyRoutingNumber,
77
- children: d.isRoutingNumberCopied ? /* @__PURE__ */ r(a, {}) : /* @__PURE__ */ r(o, {})
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 f() {
86
- return /* @__PURE__ */ r(e, { className: "ttw:h-52 ttw:w-80 ttw:max-w-full ttw:rounded-lg" });
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 { d as AccountCard, f as AccountCardSkeleton };
93
+ export { f as AccountCard, p as AccountCardSkeleton };
@@ -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 "../../../../../../packages/shared-ui-shadcn/dist/index.js";
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 "../../../../../../packages/shared-ui-shadcn/dist/index.js";
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 "../../../../../../packages/shared-ui-shadcn/dist/index.js";
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 "../../../../../../packages/shared-ui-shadcn/dist/index.js";
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 "../../../../../../packages/shared-ui-shadcn/dist/index.js";
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 "../../../../../../packages/shared-ui-shadcn/dist/index.js";
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 "../../../../../../packages/shared-ui-shadcn/dist/index.js";
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 "../../../../../../packages/shared-ui-shadcn/dist/index.js";
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 "../../../../../../packages/shared-ui-shadcn/dist/index.js";
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";
@@ -2,7 +2,7 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { toast as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
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 "../../../../../../packages/shared-ui-shadcn/dist/index.js";
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 "../../../../../../packages/shared-ui-shadcn/dist/index.js";
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 "../../../../../../packages/shared-ui-shadcn/dist/index.js";
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 "../../../../../../packages/shared-ui-shadcn/dist/index.js";
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 "../../../../../../packages/shared-ui-shadcn/dist/index.js";
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 "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
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 "../../../../../../packages/shared-ui-shadcn/dist/index.js";
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";