@tesouro/embedded-components-react 0.5.215 → 0.5.217

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 (55) hide show
  1. package/dist/index.d.ts +56 -2
  2. package/dist/index.js +13 -12
  3. package/dist/lib/BankAccountOnboardingWidget.d.ts +56 -2
  4. package/dist/lib/BankAccountOnboardingWidget.js +4 -3
  5. package/dist/lib/MarketingWidget.js +1 -1
  6. package/dist/lib/WidgetSuite.d.ts +53 -0
  7. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index.js +3 -2
  8. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index11.js +72 -72
  9. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index12.js +4 -1
  10. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index13.js +15 -15
  11. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index14.js +60 -60
  12. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index15.js +12 -12
  13. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js +16 -16
  14. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index18.js +11 -11
  15. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index21.js +8 -8
  16. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index22.js +71 -5
  17. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index23.js +95 -33
  18. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index24.js +6 -17
  19. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index25.js +16 -616
  20. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index26.js +669 -0
  21. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index.js +15 -13
  22. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index10.js +52 -37
  23. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index11.js +31 -37
  24. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index12.js +33 -89
  25. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index13.js +39 -12
  26. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index14.js +98 -2
  27. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index15.js +14 -4
  28. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index16.js +2 -185
  29. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index17.js +4 -30
  30. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index18.js +183 -21
  31. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index19.js +26 -66
  32. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index20.js +21 -233
  33. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index21.js +66 -27
  34. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index22.js +233 -26
  35. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index23.js +27 -72
  36. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index24.js +26 -85
  37. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index25.js +74 -8
  38. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index26.js +83 -55
  39. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index27.js +6 -7
  40. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index28.js +37 -42
  41. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index29.js +11 -0
  42. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index30.js +64 -0
  43. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index9.js +7 -33
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +3 -1
  45. package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index.js +1 -1
  46. package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index5.js +16 -19
  47. package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index6.js +157 -16
  48. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/onboardingSuppressionReason.js +3 -1
  49. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/index.js +2 -1
  50. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  51. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/application/bankAccountApplication.js +26 -0
  52. package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/auditHistory/buildPayableAuditHistory.js +54 -36
  53. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index16.js +1 -1
  54. package/package.json +1 -1
  55. package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index7.js +0 -161
package/dist/index.d.ts CHANGED
@@ -1788,6 +1788,58 @@ interface DeleteApplicationDialogLabels {
1788
1788
  deleteButton: string;
1789
1789
  }
1790
1790
 
1791
+ /**
1792
+ * Values the application-status copy can interpolate. The bank name comes from
1793
+ * widget init with `fallbackBankName` applied, so it is never missing. The rest
1794
+ * come from the `application-status` read, already formatted, and are absent
1795
+ * when it does not carry them (older applications have no recorded dates), so
1796
+ * every label has copy for both.
1797
+ *
1798
+ * There is no applicant email: the read does not return one, so the copy for
1799
+ * the caller's own application says "you" / "your email" where the mocks say
1800
+ * "[applicant email]".
1801
+ */
1802
+ interface ApplicationStatusLabelValues {
1803
+ bankName: string;
1804
+ /** The applicant's full name, for either ownership. */
1805
+ applicantName?: string;
1806
+ /** When the application was started, formatted by `formatDate`. */
1807
+ startedOn?: string;
1808
+ /** When the application was submitted, formatted by `formatDate`. */
1809
+ submittedOn?: string;
1810
+ /** When the application was denied, formatted by `formatDate`. */
1811
+ deniedOn?: string;
1812
+ }
1813
+ /** Copy for one application state's card. */
1814
+ interface ApplicationStatusNoticeLabels {
1815
+ chipLabel: string;
1816
+ /** Omit for a state whose mock has no heading (the denied states). */
1817
+ heading?: (values: ApplicationStatusLabelValues) => string;
1818
+ body: (values: ApplicationStatusLabelValues) => string[];
1819
+ }
1820
+ /**
1821
+ * The card shown in place of the form when the organization already has a
1822
+ * bank-account application (EMBD-6174).
1823
+ */
1824
+ interface ApplicationStatusLabels {
1825
+ /** Card title, e.g. "Nail It! Cash Account application". */
1826
+ title: string;
1827
+ /** Sponsor line opposite the title. Use `{bankName}` for the bank. */
1828
+ bankDisclosure: string;
1829
+ /** Screen-reader name of the dialog's close control, in modal mode. */
1830
+ close: string;
1831
+ /**
1832
+ * Formats an application date (an ISO date-time from the status read). A
1833
+ * label, not a hardcoded formatter, so a host can localize it with the copy.
1834
+ */
1835
+ formatDate: (isoDateTime: string) => string;
1836
+ draftStartedByOther: ApplicationStatusNoticeLabels;
1837
+ submittedByYou: ApplicationStatusNoticeLabels;
1838
+ submittedByOther: ApplicationStatusNoticeLabels;
1839
+ deniedByYou: ApplicationStatusNoticeLabels;
1840
+ deniedByOther: ApplicationStatusNoticeLabels;
1841
+ }
1842
+ declare const APPLICATION_STATUS_LABELS_EN: ApplicationStatusLabels;
1791
1843
  interface BankAccountOnboardingWidgetLabels {
1792
1844
  stepIndicator: {
1793
1845
  business: string;
@@ -1836,6 +1888,8 @@ interface BankAccountOnboardingWidgetLabels {
1836
1888
  * (e.g. "Zenith Bank").
1837
1889
  */
1838
1890
  shellFdicDisclaimer: string;
1891
+ /** The card shown instead of the form for an existing application. */
1892
+ applicationStatus: ApplicationStatusLabels;
1839
1893
  }
1840
1894
 
1841
1895
  /**
@@ -5649,5 +5703,5 @@ interface CheckAmountAndDetailScreenProps {
5649
5703
 
5650
5704
  type PendingFeatureStyleSources = CheckAmountAndDetailScreenProps | GapCoverageAlertProps | NoPolicyBannerProps;
5651
5705
 
5652
- export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, AcceptDisclosuresWidget, BALANCES_WIDGET_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BillPayWidget, CardDetailsWidget, CounterpartsWidget, CreditCardsWidget, CustomersWidget, DebitCardsWidget, ERROR_STATE_ID, ExpenseManagementWidget, HELP_FAQ_EN, INSIGHTS_FEATURE_LABELS_EN, INSIGHTS_WIDGET_LABELS_EN, Implementation, InsightsWidget, ReceivablesWidgetMonite as InvoicingWidget, LinkedAccountsWidget, MARKETING_WIDGET_LABELS_EN, MARKETING_WIDGET_STATUS_LABELS_EN, MarketingBenefitIcon, MarketingWidget, PERSONAL_DETAILS_LABELS_EN, ProductsWidget, RESULT_LABELS_EN, ReceivablesWidget, RefreshingRootWidgetProvider, RootWidgetProvider, SINGLE_INSIGHT_LABELS_EN, Scope, SettingsSection, SettingsWidget, DEFAULT_FEATURE_LABELS as TRANSFERS_FEATURE_LABELS_EN, TRANSFERS_WIDGET_LABELS_EN, TransfersWidget, UIFramework, UploadReceiptWidget, WIDGET_SUITE_DEFAULT_SECTIONS, WIDGET_SUITE_LABELS_EN, WidgetProvider, WidgetSuite, WidgetSuiteSectionId, WidgetTokenRefreshProvider, cloneEmbeddedClient, getGlobalWidgetConfig, getGlobalWidgetInitState, isScope, registerDesignSystemEnsurer, registerUIRenderers, setGlobalWidgetConfig, subscribeToGlobalWidgetInitState, updateGlobalWidgetConfig, useDisclosuresAcceptanceSurface, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetInitStaleForToken, useWidgetLoading, useWidgetToken };
5653
- export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, AccordionItemCardLabels, Labels$3 as AccountDetailsWidgetLabels, ActivateCardPanelLabels, AdditionalOwner, AdditionalOwnersLabels, AddressFormSheetLabels, BalancesWidgetLabels, BalancesWidgetProps, BankAccountFormSheetLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, FeatureLabels$3 as BankAccountsWidgetFeatureLabels, Labels$4 as BankAccountsWidgetLabels, BankAccountsWidgetProps, BillPayWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps, CardsFeatureLabels, CardsListLabels as CardsLabels, CardsPagination, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartActionTarget, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreditCardsWidgetProps, CustomersWidgetOwnProps, CustomersWidgetProps, DebitCardsWidgetProps, DisclosureLinks, EmbeddedClient, Labels$2 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, FileViewerLabels, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, ReceivablesWidgetMoniteProps as InvoicingWidgetProps, LinkComponent, LinkComponentProps, FeatureLabels$2 as LinkedAccountsWidgetFeatureLabels, Labels$1 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MarketingStatusLabelValues, MarketingStatusNoticeLabels, MarketingWidgetAppearance, MarketingWidgetBenefit, MarketingWidgetContent, MarketingWidgetHowItWorksStep, MarketingWidgetImage, MarketingWidgetLabels, MarketingWidgetProps, MarketingWidgetStatusLabels, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps, ReceiptMatchSummary, ReceivableActionDialogLabels, ReceivableDetailsSheetLabelOverrides, ReceivableDetailsSheetLabels, ReceivableDocumentType, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivableSendDialogLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, ReceivablesWidgetTab, RefreshingRootWidgetProviderProps, ResultLabels, RootWidgetProviderProps, SettingsWidgetAdditionalSection, FeatureLabels$1 as SettingsWidgetFeatureLabels, Labels as SettingsWidgetLabels, SettingsWidgetProps, SettingsWidgetSection, SettingsWidgetSectionId, SingleInsightLabels, TransactionDetailsActionsLabels, TransactionDetailsLabels, FeatureLabels as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, UploadReceiptWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetInitState, WidgetProviderLabels, WidgetProviderProps, WidgetSuiteCardsLabels, WidgetSuiteDashboardLabels, WidgetSuiteDisclosureLabels, WidgetSuiteExpensesLabels, WidgetSuiteLabelOverrides, WidgetSuiteLabels, WidgetSuiteMenuLabels, WidgetSuiteOnboardingGateLabels, WidgetSuiteOnboardingLabels, WidgetSuiteProps, WidgetSuiteSectionContentLabels, WidgetSuiteSectionTitleLabels, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };
5706
+ export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, APPLICATION_STATUS_LABELS_EN, AcceptDisclosuresWidget, BALANCES_WIDGET_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BillPayWidget, CardDetailsWidget, CounterpartsWidget, CreditCardsWidget, CustomersWidget, DebitCardsWidget, ERROR_STATE_ID, ExpenseManagementWidget, HELP_FAQ_EN, INSIGHTS_FEATURE_LABELS_EN, INSIGHTS_WIDGET_LABELS_EN, Implementation, InsightsWidget, ReceivablesWidgetMonite as InvoicingWidget, LinkedAccountsWidget, MARKETING_WIDGET_LABELS_EN, MARKETING_WIDGET_STATUS_LABELS_EN, MarketingBenefitIcon, MarketingWidget, PERSONAL_DETAILS_LABELS_EN, ProductsWidget, RESULT_LABELS_EN, ReceivablesWidget, RefreshingRootWidgetProvider, RootWidgetProvider, SINGLE_INSIGHT_LABELS_EN, Scope, SettingsSection, SettingsWidget, DEFAULT_FEATURE_LABELS as TRANSFERS_FEATURE_LABELS_EN, TRANSFERS_WIDGET_LABELS_EN, TransfersWidget, UIFramework, UploadReceiptWidget, WIDGET_SUITE_DEFAULT_SECTIONS, WIDGET_SUITE_LABELS_EN, WidgetProvider, WidgetSuite, WidgetSuiteSectionId, WidgetTokenRefreshProvider, cloneEmbeddedClient, getGlobalWidgetConfig, getGlobalWidgetInitState, isScope, registerDesignSystemEnsurer, registerUIRenderers, setGlobalWidgetConfig, subscribeToGlobalWidgetInitState, updateGlobalWidgetConfig, useDisclosuresAcceptanceSurface, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetInitStaleForToken, useWidgetLoading, useWidgetToken };
5707
+ export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, AccordionItemCardLabels, Labels$3 as AccountDetailsWidgetLabels, ActivateCardPanelLabels, AdditionalOwner, AdditionalOwnersLabels, AddressFormSheetLabels, ApplicationStatusLabelValues, ApplicationStatusLabels, ApplicationStatusNoticeLabels, BalancesWidgetLabels, BalancesWidgetProps, BankAccountFormSheetLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, FeatureLabels$3 as BankAccountsWidgetFeatureLabels, Labels$4 as BankAccountsWidgetLabels, BankAccountsWidgetProps, BillPayWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps, CardsFeatureLabels, CardsListLabels as CardsLabels, CardsPagination, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartActionTarget, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreditCardsWidgetProps, CustomersWidgetOwnProps, CustomersWidgetProps, DebitCardsWidgetProps, DisclosureLinks, EmbeddedClient, Labels$2 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, FileViewerLabels, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, ReceivablesWidgetMoniteProps as InvoicingWidgetProps, LinkComponent, LinkComponentProps, FeatureLabels$2 as LinkedAccountsWidgetFeatureLabels, Labels$1 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MarketingStatusLabelValues, MarketingStatusNoticeLabels, MarketingWidgetAppearance, MarketingWidgetBenefit, MarketingWidgetContent, MarketingWidgetHowItWorksStep, MarketingWidgetImage, MarketingWidgetLabels, MarketingWidgetProps, MarketingWidgetStatusLabels, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps, ReceiptMatchSummary, ReceivableActionDialogLabels, ReceivableDetailsSheetLabelOverrides, ReceivableDetailsSheetLabels, ReceivableDocumentType, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivableSendDialogLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, ReceivablesWidgetTab, RefreshingRootWidgetProviderProps, ResultLabels, RootWidgetProviderProps, SettingsWidgetAdditionalSection, FeatureLabels$1 as SettingsWidgetFeatureLabels, Labels as SettingsWidgetLabels, SettingsWidgetProps, SettingsWidgetSection, SettingsWidgetSectionId, SingleInsightLabels, TransactionDetailsActionsLabels, TransactionDetailsLabels, FeatureLabels as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, UploadReceiptWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetInitState, WidgetProviderLabels, WidgetProviderProps, WidgetSuiteCardsLabels, WidgetSuiteDashboardLabels, WidgetSuiteDisclosureLabels, WidgetSuiteExpensesLabels, WidgetSuiteLabelOverrides, WidgetSuiteLabels, WidgetSuiteMenuLabels, WidgetSuiteOnboardingGateLabels, WidgetSuiteOnboardingLabels, WidgetSuiteProps, WidgetSuiteSectionContentLabels, WidgetSuiteSectionTitleLabels, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };
package/dist/index.js CHANGED
@@ -40,9 +40,10 @@ import { AcceptDisclosuresWidget as X } from "./libs/tesouro-embedded-components
40
40
  import { ADDITIONAL_OWNERS_LABELS_EN as Z } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index5.js";
41
41
  import { BUSINESS_DETAILS_LABELS_EN as Q } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index7.js";
42
42
  import { PERSONAL_DETAILS_LABELS_EN as $ } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index8.js";
43
- import { RESULT_LABELS_EN as ee } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index13.js";
44
- import { BankAccountOnboardingWidget as te } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index25.js";
45
- import { WidgetSuite as ne } from "./libs/tesouro-embedded-components-react/widget-suite/feature/dist/index16.js";
43
+ import { RESULT_LABELS_EN as ee } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index15.js";
44
+ import { APPLICATION_STATUS_LABELS_EN as te } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index22.js";
45
+ import { BankAccountOnboardingWidget as ne } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index26.js";
46
+ import { WidgetSuite as re } from "./libs/tesouro-embedded-components-react/widget-suite/feature/dist/index16.js";
46
47
  import "./lib/WidgetSuite.js";
47
48
  import "./lib/AcceptDisclosuresWidget.js";
48
49
  import "./lib/BankAccountsWidget.js";
@@ -50,9 +51,9 @@ import "./lib/BillPayWidget.js";
50
51
  import "./lib/CreditCardsWidget.js";
51
52
  import "./lib/DebitCardsWidget.js";
52
53
  import "./lib/CardDetailsWidget.js";
53
- import { CounterpartsWidget as re } from "./lib/CounterpartsWidgetPublic.js";
54
+ import { CounterpartsWidget as ie } from "./lib/CounterpartsWidgetPublic.js";
54
55
  import "./lib/CounterpartsWidget.js";
55
- import { CustomersWidget as ie } from "./libs/tesouro-embedded-components-react/customers-widget/feature/dist/index5.js";
56
+ import { CustomersWidget as ae } from "./libs/tesouro-embedded-components-react/customers-widget/feature/dist/index5.js";
56
57
  import "./lib/CustomersWidget.js";
57
58
  import "./lib/ExpenseManagementWidget.js";
58
59
  import "./lib/UploadReceiptWidget.js";
@@ -61,17 +62,17 @@ import "./lib/InsightsWidget.js";
61
62
  import "./lib/InvoicingWidget.js";
62
63
  import "./lib/LinkedAccountsWidget.js";
63
64
  import "./lib/BankAccountOnboardingWidget.js";
64
- import { MARKETING_WIDGET_STATUS_LABELS_EN as ae } from "./libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index4.js";
65
- import { MARKETING_WIDGET_LABELS_EN as oe } from "./libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index2.js";
66
- import { MarketingBenefitIcon as se } from "./libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index3.js";
67
- import { MarketingWidget as ce } from "./libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index7.js";
65
+ import { MARKETING_WIDGET_STATUS_LABELS_EN as oe } from "./libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index4.js";
66
+ import { MARKETING_WIDGET_LABELS_EN as se } from "./libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index2.js";
67
+ import { MarketingBenefitIcon as ce } from "./libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index3.js";
68
+ import { MarketingWidget as le } from "./libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index6.js";
68
69
  import "./lib/MarketingWidget.js";
69
- import { ProductsWidget as le } from "./libs/tesouro-embedded-components-react/products-widget/feature/dist/index10.js";
70
+ import { ProductsWidget as ue } from "./libs/tesouro-embedded-components-react/products-widget/feature/dist/index10.js";
70
71
  import "./lib/ProductsWidget.js";
71
72
  import "./lib/ReceivablesWidget.js";
72
73
  import "./lib/SettingsWidget.js";
73
74
  import "./lib/TransfersWidget.js";
74
- import { WidgetProvider as ue } from "./lib/WidgetProviderPublic.js";
75
+ import { WidgetProvider as de } from "./lib/WidgetProviderPublic.js";
75
76
  import "./lib/WidgetProvider.js";
76
77
  import "./packages/tesouro-embedded-components-react/src/scopes.js";
77
- export { Y as ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, Z as ADDITIONAL_OWNERS_LABELS_EN, X as AcceptDisclosuresWidget, M as BALANCES_WIDGET_LABELS_EN, Q as BUSINESS_DETAILS_LABELS_EN, N as BalancesWidget, te as BankAccountOnboardingWidget, D as BankAccountsWidget, O as BillPayWidget, k as CardDetailsWidget, re as CounterpartsWidget, A as CreditCardsWidget, ie as CustomersWidget, j as DebitCardsWidget, l as ERROR_STATE_ID, z as ExpenseManagementWidget, U as HELP_FAQ_EN, P as INSIGHTS_FEATURE_LABELS_EN, F as INSIGHTS_WIDGET_LABELS_EN, u as Implementation, L as InsightsWidget, B as InvoicingWidget, G as LinkedAccountsWidget, oe as MARKETING_WIDGET_LABELS_EN, ae as MARKETING_WIDGET_STATUS_LABELS_EN, se as MarketingBenefitIcon, ce as MarketingWidget, $ as PERSONAL_DETAILS_LABELS_EN, le as ProductsWidget, ee as RESULT_LABELS_EN, V as ReceivablesWidget, y as RefreshingRootWidgetProvider, g as RootWidgetProvider, I as SINGLE_INSIGHT_LABELS_EN, i as Scope, H as SettingsSection, W as SettingsWidget, K as TRANSFERS_FEATURE_LABELS_EN, q as TRANSFERS_WIDGET_LABELS_EN, J as TransfersWidget, o as UIFramework, R as UploadReceiptWidget, t as WIDGET_SUITE_DEFAULT_SECTIONS, e as WIDGET_SUITE_LABELS_EN, ue as WidgetProvider, ne as WidgetSuite, n as WidgetSuiteSectionId, _ as WidgetTokenRefreshProvider, r as cloneEmbeddedClient, d as getGlobalWidgetConfig, m as getGlobalWidgetInitState, a as isScope, s as registerDesignSystemEnsurer, c as registerUIRenderers, f as setGlobalWidgetConfig, h as subscribeToGlobalWidgetInitState, p as updateGlobalWidgetConfig, b as useDisclosuresAcceptanceSurface, x as useOwnWidgetConfig, S as useRefetchWidget, C as useWidgetConfig, w as useWidgetError, T as useWidgetInitStaleForToken, E as useWidgetLoading, v as useWidgetToken };
78
+ export { Y as ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, Z as ADDITIONAL_OWNERS_LABELS_EN, te as APPLICATION_STATUS_LABELS_EN, X as AcceptDisclosuresWidget, M as BALANCES_WIDGET_LABELS_EN, Q as BUSINESS_DETAILS_LABELS_EN, N as BalancesWidget, ne as BankAccountOnboardingWidget, D as BankAccountsWidget, O as BillPayWidget, k as CardDetailsWidget, ie as CounterpartsWidget, A as CreditCardsWidget, ae as CustomersWidget, j as DebitCardsWidget, l as ERROR_STATE_ID, z as ExpenseManagementWidget, U as HELP_FAQ_EN, P as INSIGHTS_FEATURE_LABELS_EN, F as INSIGHTS_WIDGET_LABELS_EN, u as Implementation, L as InsightsWidget, B as InvoicingWidget, G as LinkedAccountsWidget, se as MARKETING_WIDGET_LABELS_EN, oe as MARKETING_WIDGET_STATUS_LABELS_EN, ce as MarketingBenefitIcon, le as MarketingWidget, $ as PERSONAL_DETAILS_LABELS_EN, ue as ProductsWidget, ee as RESULT_LABELS_EN, V as ReceivablesWidget, y as RefreshingRootWidgetProvider, g as RootWidgetProvider, I as SINGLE_INSIGHT_LABELS_EN, i as Scope, H as SettingsSection, W as SettingsWidget, K as TRANSFERS_FEATURE_LABELS_EN, q as TRANSFERS_WIDGET_LABELS_EN, J as TransfersWidget, o as UIFramework, R as UploadReceiptWidget, t as WIDGET_SUITE_DEFAULT_SECTIONS, e as WIDGET_SUITE_LABELS_EN, de as WidgetProvider, re as WidgetSuite, n as WidgetSuiteSectionId, _ as WidgetTokenRefreshProvider, r as cloneEmbeddedClient, d as getGlobalWidgetConfig, m as getGlobalWidgetInitState, a as isScope, s as registerDesignSystemEnsurer, c as registerUIRenderers, f as setGlobalWidgetConfig, h as subscribeToGlobalWidgetInitState, p as updateGlobalWidgetConfig, b as useDisclosuresAcceptanceSurface, x as useOwnWidgetConfig, S as useRefetchWidget, C as useWidgetConfig, w as useWidgetError, T as useWidgetInitStaleForToken, E as useWidgetLoading, v as useWidgetToken };
@@ -941,6 +941,58 @@ interface DeleteApplicationDialogLabels {
941
941
  deleteButton: string;
942
942
  }
943
943
 
944
+ /**
945
+ * Values the application-status copy can interpolate. The bank name comes from
946
+ * widget init with `fallbackBankName` applied, so it is never missing. The rest
947
+ * come from the `application-status` read, already formatted, and are absent
948
+ * when it does not carry them (older applications have no recorded dates), so
949
+ * every label has copy for both.
950
+ *
951
+ * There is no applicant email: the read does not return one, so the copy for
952
+ * the caller's own application says "you" / "your email" where the mocks say
953
+ * "[applicant email]".
954
+ */
955
+ interface ApplicationStatusLabelValues {
956
+ bankName: string;
957
+ /** The applicant's full name, for either ownership. */
958
+ applicantName?: string;
959
+ /** When the application was started, formatted by `formatDate`. */
960
+ startedOn?: string;
961
+ /** When the application was submitted, formatted by `formatDate`. */
962
+ submittedOn?: string;
963
+ /** When the application was denied, formatted by `formatDate`. */
964
+ deniedOn?: string;
965
+ }
966
+ /** Copy for one application state's card. */
967
+ interface ApplicationStatusNoticeLabels {
968
+ chipLabel: string;
969
+ /** Omit for a state whose mock has no heading (the denied states). */
970
+ heading?: (values: ApplicationStatusLabelValues) => string;
971
+ body: (values: ApplicationStatusLabelValues) => string[];
972
+ }
973
+ /**
974
+ * The card shown in place of the form when the organization already has a
975
+ * bank-account application (EMBD-6174).
976
+ */
977
+ interface ApplicationStatusLabels {
978
+ /** Card title, e.g. "Nail It! Cash Account application". */
979
+ title: string;
980
+ /** Sponsor line opposite the title. Use `{bankName}` for the bank. */
981
+ bankDisclosure: string;
982
+ /** Screen-reader name of the dialog's close control, in modal mode. */
983
+ close: string;
984
+ /**
985
+ * Formats an application date (an ISO date-time from the status read). A
986
+ * label, not a hardcoded formatter, so a host can localize it with the copy.
987
+ */
988
+ formatDate: (isoDateTime: string) => string;
989
+ draftStartedByOther: ApplicationStatusNoticeLabels;
990
+ submittedByYou: ApplicationStatusNoticeLabels;
991
+ submittedByOther: ApplicationStatusNoticeLabels;
992
+ deniedByYou: ApplicationStatusNoticeLabels;
993
+ deniedByOther: ApplicationStatusNoticeLabels;
994
+ }
995
+ declare const APPLICATION_STATUS_LABELS_EN: ApplicationStatusLabels;
944
996
  interface BankAccountOnboardingWidgetLabels {
945
997
  stepIndicator: {
946
998
  business: string;
@@ -989,6 +1041,8 @@ interface BankAccountOnboardingWidgetLabels {
989
1041
  * (e.g. "Zenith Bank").
990
1042
  */
991
1043
  shellFdicDisclaimer: string;
1044
+ /** The card shown instead of the form for an existing application. */
1045
+ applicationStatus: ApplicationStatusLabels;
992
1046
  }
993
1047
 
994
1048
  /**
@@ -1075,5 +1129,5 @@ type BankAccountOnboardingWidgetProps = WidgetProviderProps & Omit<BankAccountOn
1075
1129
  };
1076
1130
  declare function BankAccountOnboardingWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: BankAccountOnboardingWidgetProps): React.JSX.Element;
1077
1131
 
1078
- export { ADDITIONAL_OWNERS_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BankAccountOnboardingWidget, PERSONAL_DETAILS_LABELS_EN, RESULT_LABELS_EN };
1079
- export type { AdditionalOwner, AdditionalOwnersLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CompanyStructureValue, DisclosureLinks, PersonalDetailsLabels, PersonalDetailsValues, ResultLabels };
1132
+ export { ADDITIONAL_OWNERS_LABELS_EN, APPLICATION_STATUS_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BankAccountOnboardingWidget, PERSONAL_DETAILS_LABELS_EN, RESULT_LABELS_EN };
1133
+ export type { AdditionalOwner, AdditionalOwnersLabels, ApplicationStatusLabelValues, ApplicationStatusLabels, ApplicationStatusNoticeLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CompanyStructureValue, DisclosureLinks, PersonalDetailsLabels, PersonalDetailsValues, ResultLabels };
@@ -1,8 +1,9 @@
1
1
  import { ADDITIONAL_OWNERS_LABELS_EN as e } from "../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index5.js";
2
2
  import { BUSINESS_DETAILS_LABELS_EN as t } from "../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index7.js";
3
3
  import { PERSONAL_DETAILS_LABELS_EN as n } from "../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index8.js";
4
- import { RESULT_LABELS_EN as r } from "../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index13.js";
4
+ import { RESULT_LABELS_EN as r } from "../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index15.js";
5
5
  import "../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index.js";
6
- import { BankAccountOnboardingWidget as i } from "../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index25.js";
6
+ import { APPLICATION_STATUS_LABELS_EN as i } from "../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index22.js";
7
+ import { BankAccountOnboardingWidget as a } from "../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index26.js";
7
8
  import "../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index.js";
8
- export { e as ADDITIONAL_OWNERS_LABELS_EN, t as BUSINESS_DETAILS_LABELS_EN, i as BankAccountOnboardingWidget, n as PERSONAL_DETAILS_LABELS_EN, r as RESULT_LABELS_EN };
9
+ export { e as ADDITIONAL_OWNERS_LABELS_EN, i as APPLICATION_STATUS_LABELS_EN, t as BUSINESS_DETAILS_LABELS_EN, a as BankAccountOnboardingWidget, n as PERSONAL_DETAILS_LABELS_EN, r as RESULT_LABELS_EN };
@@ -1,6 +1,6 @@
1
1
  import { MARKETING_WIDGET_STATUS_LABELS_EN as e } from "../libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index4.js";
2
2
  import { MARKETING_WIDGET_LABELS_EN as t } from "../libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index2.js";
3
3
  import { MarketingBenefitIcon as n } from "../libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index3.js";
4
- import { MarketingWidget as r } from "../libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index7.js";
4
+ import { MarketingWidget as r } from "../libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index6.js";
5
5
  import "../libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index.js";
6
6
  export { t as MARKETING_WIDGET_LABELS_EN, e as MARKETING_WIDGET_STATUS_LABELS_EN, n as MarketingBenefitIcon, r as MarketingWidget };
@@ -991,6 +991,57 @@ interface DeleteApplicationDialogLabels {
991
991
  deleteButton: string;
992
992
  }
993
993
 
994
+ /**
995
+ * Values the application-status copy can interpolate. The bank name comes from
996
+ * widget init with `fallbackBankName` applied, so it is never missing. The rest
997
+ * come from the `application-status` read, already formatted, and are absent
998
+ * when it does not carry them (older applications have no recorded dates), so
999
+ * every label has copy for both.
1000
+ *
1001
+ * There is no applicant email: the read does not return one, so the copy for
1002
+ * the caller's own application says "you" / "your email" where the mocks say
1003
+ * "[applicant email]".
1004
+ */
1005
+ interface ApplicationStatusLabelValues {
1006
+ bankName: string;
1007
+ /** The applicant's full name, for either ownership. */
1008
+ applicantName?: string;
1009
+ /** When the application was started, formatted by `formatDate`. */
1010
+ startedOn?: string;
1011
+ /** When the application was submitted, formatted by `formatDate`. */
1012
+ submittedOn?: string;
1013
+ /** When the application was denied, formatted by `formatDate`. */
1014
+ deniedOn?: string;
1015
+ }
1016
+ /** Copy for one application state's card. */
1017
+ interface ApplicationStatusNoticeLabels {
1018
+ chipLabel: string;
1019
+ /** Omit for a state whose mock has no heading (the denied states). */
1020
+ heading?: (values: ApplicationStatusLabelValues) => string;
1021
+ body: (values: ApplicationStatusLabelValues) => string[];
1022
+ }
1023
+ /**
1024
+ * The card shown in place of the form when the organization already has a
1025
+ * bank-account application (EMBD-6174).
1026
+ */
1027
+ interface ApplicationStatusLabels {
1028
+ /** Card title, e.g. "Nail It! Cash Account application". */
1029
+ title: string;
1030
+ /** Sponsor line opposite the title. Use `{bankName}` for the bank. */
1031
+ bankDisclosure: string;
1032
+ /** Screen-reader name of the dialog's close control, in modal mode. */
1033
+ close: string;
1034
+ /**
1035
+ * Formats an application date (an ISO date-time from the status read). A
1036
+ * label, not a hardcoded formatter, so a host can localize it with the copy.
1037
+ */
1038
+ formatDate: (isoDateTime: string) => string;
1039
+ draftStartedByOther: ApplicationStatusNoticeLabels;
1040
+ submittedByYou: ApplicationStatusNoticeLabels;
1041
+ submittedByOther: ApplicationStatusNoticeLabels;
1042
+ deniedByYou: ApplicationStatusNoticeLabels;
1043
+ deniedByOther: ApplicationStatusNoticeLabels;
1044
+ }
994
1045
  interface BankAccountOnboardingWidgetLabels {
995
1046
  stepIndicator: {
996
1047
  business: string;
@@ -1039,6 +1090,8 @@ interface BankAccountOnboardingWidgetLabels {
1039
1090
  * (e.g. "Zenith Bank").
1040
1091
  */
1041
1092
  shellFdicDisclaimer: string;
1093
+ /** The card shown instead of the form for an existing application. */
1094
+ applicationStatus: ApplicationStatusLabels;
1042
1095
  }
1043
1096
 
1044
1097
  /**
@@ -1,2 +1,3 @@
1
- import { BankAccountOnboardingWidget as e } from "./index25.js";
2
- export { e as BankAccountOnboardingWidget };
1
+ import { APPLICATION_STATUS_LABELS_EN as e } from "./index22.js";
2
+ import { BankAccountOnboardingWidget as t } from "./index26.js";
3
+ export { e as APPLICATION_STATUS_LABELS_EN, t as BankAccountOnboardingWidget };
@@ -1,121 +1,121 @@
1
- import { maskIdentifierLast4 as e } from "./index6.js";
2
- import { storedIdentifierFieldDisplay as t, usableStoredTaxIdLast4 as n } from "./index7.js";
3
- import { isValidWebsiteUrl as r } from "./index8.js";
4
- import { formatPhoneNumberInput as i } from "./index2.js";
5
- import { sanitizeZipCodeInput as a } from "./index3.js";
6
- import { sanitizeTaxIdInput as o } from "./index5.js";
7
- import { BUSINESS_DETAILS_LABELS_EN as s } from "../../ui/dist/index7.js";
8
- import { BUSINESS_DETAILS_PANEL_LABELS_EN as c } from "../../ui/dist/index18.js";
1
+ import { BUSINESS_DETAILS_LABELS_EN as e } from "../../ui/dist/index7.js";
2
+ import { BUSINESS_DETAILS_PANEL_LABELS_EN as t } from "../../ui/dist/index20.js";
9
3
  import "../../ui/dist/index.js";
4
+ import { maskIdentifierLast4 as n } from "./index6.js";
5
+ import { storedIdentifierFieldDisplay as r, usableStoredTaxIdLast4 as i } from "./index7.js";
6
+ import { isValidWebsiteUrl as a } from "./index8.js";
7
+ import { formatPhoneNumberInput as o } from "./index2.js";
8
+ import { sanitizeZipCodeInput as s } from "./index3.js";
9
+ import { sanitizeTaxIdInput as c } from "./index5.js";
10
10
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index11.js
11
- function l(e) {
11
+ function l(t) {
12
12
  return {
13
- ...s,
14
13
  ...e,
14
+ ...t,
15
15
  companyStructureOptions: {
16
- ...s.companyStructureOptions,
17
- ...e?.companyStructureOptions
16
+ ...e.companyStructureOptions,
17
+ ...t?.companyStructureOptions
18
18
  },
19
19
  naicsTitles: {
20
- ...s.naicsTitles,
21
- ...e?.naicsTitles
20
+ ...e.naicsTitles,
21
+ ...t?.naicsTitles
22
22
  },
23
23
  stateTitles: {
24
- ...s.stateTitles,
25
- ...e?.stateTitles
24
+ ...e.stateTitles,
25
+ ...t?.stateTitles
26
26
  }
27
27
  };
28
28
  }
29
29
  function u(e) {
30
- return e.trim().length > 0 && !r(e);
30
+ return e.trim().length > 0 && !a(e);
31
31
  }
32
32
  function d(e) {
33
- let t = l(e);
33
+ let n = l(e);
34
34
  return {
35
- ...c,
36
- companyLegalName: t.companyLegalName,
37
- companyDbaName: t.companyDbaName,
38
- businessAddress: t.businessAddress,
39
- city: t.city,
40
- state: t.state,
41
- statePlaceholder: t.statePlaceholder,
42
- zipCode: t.zipCode,
43
- companyPhoneNumber: t.companyPhoneNumber,
44
- companyStructure: t.companyStructure,
45
- companyStructurePlaceholder: t.companyStructurePlaceholder,
46
- website: t.website,
47
- websiteInvalid: t.websiteInvalid,
48
- taxId: t.taxId,
49
- naicsCode: t.naicsCode,
50
- naicsCodePlaceholder: t.naicsCodePlaceholder
35
+ ...t,
36
+ companyLegalName: n.companyLegalName,
37
+ companyDbaName: n.companyDbaName,
38
+ businessAddress: n.businessAddress,
39
+ city: n.city,
40
+ state: n.state,
41
+ statePlaceholder: n.statePlaceholder,
42
+ zipCode: n.zipCode,
43
+ companyPhoneNumber: n.companyPhoneNumber,
44
+ companyStructure: n.companyStructure,
45
+ companyStructurePlaceholder: n.companyStructurePlaceholder,
46
+ website: n.website,
47
+ websiteInvalid: n.websiteInvalid,
48
+ taxId: n.taxId,
49
+ naicsCode: n.naicsCode,
50
+ naicsCodePlaceholder: n.naicsCodePlaceholder
51
51
  };
52
52
  }
53
- function f(t, r) {
54
- let i = d(r.labels), a = l(r.labels), o = n(t), s = t.companyStructure && a.companyStructureOptions[t.companyStructure], c = r.stateOptions.find((e) => e.value === t.state)?.label ?? t.state, u = r.naicsOptions.find((e) => e.value === t.naicsCode)?.label ?? t.naicsCode;
53
+ function f(e, t) {
54
+ let r = d(t.labels), a = l(t.labels), o = i(e), s = e.companyStructure && a.companyStructureOptions[e.companyStructure], c = t.stateOptions.find((t) => t.value === e.state)?.label ?? e.state, u = t.naicsOptions.find((t) => t.value === e.naicsCode)?.label ?? e.naicsCode;
55
55
  return [
56
56
  {
57
- label: i.companyLegalName,
58
- value: t.companyLegalName,
57
+ label: r.companyLegalName,
58
+ value: e.companyLegalName,
59
59
  testId: "business-details-summary-legal-name"
60
60
  },
61
61
  {
62
- label: i.companyDbaName,
63
- value: t.companyDbaName,
62
+ label: r.companyDbaName,
63
+ value: e.companyDbaName,
64
64
  testId: "business-details-summary-dba-name"
65
65
  },
66
66
  {
67
- label: i.businessAddress,
68
- value: t.businessAddress,
67
+ label: r.businessAddress,
68
+ value: e.businessAddress,
69
69
  testId: "business-details-summary-address"
70
70
  },
71
71
  {
72
- label: i.city,
73
- value: t.city,
72
+ label: r.city,
73
+ value: e.city,
74
74
  testId: "business-details-summary-city"
75
75
  },
76
76
  {
77
- label: i.state,
77
+ label: r.state,
78
78
  value: c,
79
79
  testId: "business-details-summary-state"
80
80
  },
81
81
  {
82
- label: i.zipCode,
83
- value: t.zipCode,
82
+ label: r.zipCode,
83
+ value: e.zipCode,
84
84
  testId: "business-details-summary-zip-code"
85
85
  },
86
86
  {
87
- label: i.companyPhoneNumber,
88
- value: t.companyPhoneNumber,
87
+ label: r.companyPhoneNumber,
88
+ value: e.companyPhoneNumber,
89
89
  testId: "business-details-summary-phone"
90
90
  },
91
91
  {
92
- label: i.companyStructure,
93
- value: s ?? t.companyStructure,
92
+ label: r.companyStructure,
93
+ value: s ?? e.companyStructure,
94
94
  testId: "business-details-summary-structure"
95
95
  },
96
96
  {
97
- label: i.website,
98
- value: t.website,
97
+ label: r.website,
98
+ value: e.website,
99
99
  testId: "business-details-summary-website"
100
100
  },
101
101
  {
102
- label: i.taxId,
103
- value: t.taxId ? t.taxId : o ? e(o) : "",
102
+ label: r.taxId,
103
+ value: e.taxId ? e.taxId : o ? n(o) : "",
104
104
  testId: "business-details-summary-tax-id"
105
105
  },
106
106
  {
107
- label: i.naicsCode,
107
+ label: r.naicsCode,
108
108
  value: u,
109
109
  testId: "business-details-summary-naics"
110
110
  }
111
111
  ];
112
112
  }
113
- function p(e, r) {
114
- let i = l(r);
115
- return t(n(e), i.taxIdOnFileTemplate);
113
+ function p(e, t) {
114
+ let n = l(t);
115
+ return r(i(e), n.taxIdOnFileTemplate);
116
116
  }
117
117
  function m(e, t, n) {
118
- let r = l(n.labels), s = [
118
+ let r = l(n.labels), i = [
119
119
  "CORPORATION_PUBLIC",
120
120
  "CORPORATION_PRIVATE",
121
121
  "CORPORATION_NOT_FOR_PROFIT",
@@ -130,39 +130,39 @@ function m(e, t, n) {
130
130
  ].map((e) => ({
131
131
  value: e,
132
132
  label: r.companyStructureOptions[e]
133
- })), c = (n) => (r) => t({
133
+ })), a = (n) => (r) => t({
134
134
  ...e,
135
135
  [n]: r
136
136
  });
137
137
  return {
138
138
  companyLegalName: {
139
139
  value: e.companyLegalName,
140
- onValueChange: c("companyLegalName")
140
+ onValueChange: a("companyLegalName")
141
141
  },
142
142
  companyDbaName: {
143
143
  value: e.companyDbaName,
144
- onValueChange: c("companyDbaName")
144
+ onValueChange: a("companyDbaName")
145
145
  },
146
146
  businessAddress: {
147
147
  value: e.businessAddress,
148
- onValueChange: c("businessAddress")
148
+ onValueChange: a("businessAddress")
149
149
  },
150
150
  city: {
151
151
  value: e.city,
152
- onValueChange: c("city")
152
+ onValueChange: a("city")
153
153
  },
154
154
  state: {
155
155
  value: e.state,
156
- onValueChange: c("state"),
156
+ onValueChange: a("state"),
157
157
  options: n.stateOptions
158
158
  },
159
159
  zipCode: {
160
160
  value: e.zipCode,
161
- onValueChange: (e) => c("zipCode")(a(e))
161
+ onValueChange: (e) => a("zipCode")(s(e))
162
162
  },
163
163
  companyPhoneNumber: {
164
164
  value: e.companyPhoneNumber,
165
- onValueChange: (e) => c("companyPhoneNumber")(i(e))
165
+ onValueChange: (e) => a("companyPhoneNumber")(o(e))
166
166
  },
167
167
  companyStructure: {
168
168
  value: e.companyStructure,
@@ -170,19 +170,19 @@ function m(e, t, n) {
170
170
  ...e,
171
171
  companyStructure: n
172
172
  }),
173
- options: s
173
+ options: i
174
174
  },
175
175
  website: {
176
176
  value: e.website,
177
- onValueChange: c("website")
177
+ onValueChange: a("website")
178
178
  },
179
179
  taxId: {
180
180
  value: e.taxId,
181
- onValueChange: (e) => c("taxId")(o(e))
181
+ onValueChange: (e) => a("taxId")(c(e))
182
182
  },
183
183
  naicsCode: {
184
184
  value: e.naicsCode,
185
- onValueChange: c("naicsCode"),
185
+ onValueChange: a("naicsCode"),
186
186
  options: n.naicsOptions
187
187
  }
188
188
  };
@@ -34,7 +34,10 @@ var e = {
34
34
  ownerDeleteOverlay: "additional-owner-delete-overlay",
35
35
  ownerDeleteContent: "additional-owner-delete-content",
36
36
  resultProcessing: "bank-account-onboarding-result-processing",
37
- resultDashboardButton: "bank-account-onboarding-result-dashboard-button"
37
+ resultDashboardButton: "bank-account-onboarding-result-dashboard-button",
38
+ statusCard: "bank-account-onboarding-status-card",
39
+ statusCardChip: "bank-account-onboarding-status-card-chip",
40
+ statusCardClose: "bank-account-onboarding-status-card-close"
38
41
  };
39
42
  //#endregion
40
43
  export { e as bankAccountOnboardingTestIds };