@tesouro/embedded-components-react 0.5.2 → 0.5.3

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 (26) hide show
  1. package/README.md +15 -2
  2. package/dist/index.d.ts +120 -100
  3. package/dist/index.js +6 -3
  4. package/dist/lib/BankAccountOnboardingWidget.d.ts +214 -246
  5. package/dist/lib/MarketingWidget.d.ts +684 -0
  6. package/dist/lib/MarketingWidget.js +4 -0
  7. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index.js +9 -8
  8. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js +0 -2
  9. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index18.js +183 -205
  10. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index.js +1 -4
  11. package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index.js +3 -0
  12. package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index2.js +8 -0
  13. package/dist/libs/tesouro-embedded-components-react/{bank-account-onboarding-widget/ui/dist/index26.js → marketing-widget/feature/dist/index3.js} +1 -1
  14. package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index4.js +81 -0
  15. package/dist/libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index.js +4 -0
  16. package/dist/libs/tesouro-embedded-components-react/{bank-account-onboarding-widget/ui/dist/index24.js → marketing-widget/ui/dist/index2.js} +1 -1
  17. package/dist/libs/tesouro-embedded-components-react/{bank-account-onboarding-widget/ui/dist/index25.js → marketing-widget/ui/dist/index3.js} +1 -1
  18. package/dist/libs/tesouro-embedded-components-react/{bank-account-onboarding-widget/ui/dist/index27.js → marketing-widget/ui/dist/index4.js} +36 -37
  19. package/dist/libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index5.js +75 -0
  20. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +24 -22
  21. package/dist/libs/tesouro-embedded-components-react/{bank-account-onboarding-widget/data-access/dist/index9.js → shared/data-access/dist/lib/onboardingSuppressionReason.js} +1 -1
  22. package/dist/libs/tesouro-embedded-components-react/{bank-account-onboarding-widget/data-access/dist/index10.js → shared/data-access/dist/lib/useOrganizationOnboardingSuppression.js} +5 -6
  23. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/isDisclosuresAcceptanceRequired.js +1 -0
  24. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  25. package/package.json +1 -1
  26. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index28.js +0 -75
package/README.md CHANGED
@@ -444,12 +444,25 @@ A self-contained widget that walks an applicant through the embedded bank-accoun
444
444
  | `initialPersonalDetails` | `Partial<PersonalDetailsValues>` | No | Prefills step 2 (personal / about-you details). Unset fields start empty; the user can still edit before continuing. |
445
445
  | `initialAdditionalOwners` | `AdditionalOwner[]` | No | Prefills step 3 (additional owners). Defaults to an empty list when omitted. |
446
446
  | `open` | `boolean` | No | Controlled open state for the modal. When provided the host owns open/close and must update it via `onOpenChange`. Omit for uncontrolled mode. |
447
- | `defaultOpen` | `boolean` | No | Initial open state when uncontrolled. Defaults to `false` so the modal stays closed until the host or marketing CTA opens it. Ignored when `open` is set. |
447
+ | `defaultOpen` | `boolean` | No | Initial open state when uncontrolled. Defaults to `false` so the modal stays closed until the host opens it. Ignored when `open` is set. |
448
448
  | `onOpenChange` | `(open: boolean) => void` | No | Notified whenever the modal opens or closes — fires on overlay click, escape key, the close button, and any controlled state update. Used both as the change handler in controlled mode and a side hook. |
449
449
  | `labels` | `BankAccountOnboardingWidgetLabels` | No | Per-step label overrides — see Labels section. Accepts a `modalTitle` override for the modal's accessible title (default: `Bank account onboarding`). |
450
450
  | `bankLogoSrc` | `string` | No | URL for the bank logo rendered on the result screen; falls back to bank name text. |
451
451
  | `disclosureLinks` | `DisclosureLinks` | No | Host-resolved URLs for Terms of Use, Privacy Policy, Electronic Communication, and Patriot Act on the business-details agreement step. Omit to leave those links unset. |
452
- | `marketingContent` | `MarketingWidgetContent \| null` | No | Host-resolved marketing card/modal content. When omitted or `null`, the marketing surface is not rendered. |
452
+
453
+ ### MarketingWidget
454
+
455
+ A self-contained marketing card and modal that presents host-supplied banking product copy (logo, captions, benefits, colors). The host wires the modal's primary CTA to whatever should happen next — typically opening `BankAccountOnboardingWidget`.
456
+
457
+ The widget renders nothing until widget init resolves, and hides itself when the caller is already onboarded (`ACTIVE` / `INACTIVE`), invited (`INVITED`), or their organization already has a bank-account application (`COMPLETE`, or started by another member). A `NOT_FOUND` colleague of an onboarded org therefore does not see an Apply CTA. Tenant-specific assets and copy are always passed in as `content` — the published package does not look up white-label or bank maps.
458
+
459
+ #### Props
460
+
461
+ | Prop | Type | Required | Description |
462
+ | ------------------- | ------------------------------------ | -------- | ------------------------------------------------------------------------------------------------------------- |
463
+ | `content` | `MarketingWidgetContent` | Yes | Host-resolved card and modal copy, images, and appearance. |
464
+ | `onPrimaryCtaClick` | `() => void` | Yes | Called when the applicant clicks the modal CTA (default label: Apply for an account). Closes the modal first. |
465
+ | `labels` | `PartialDeep<MarketingWidgetLabels>` | No | Override Learn more, Apply, and the modal dismiss `aria-label`. |
453
466
 
454
467
  ### ProductsWidget
455
468
 
package/dist/index.d.ts CHANGED
@@ -3140,7 +3140,7 @@ interface AcceptDisclosuresWidgetProps$1 {
3140
3140
  }
3141
3141
 
3142
3142
  type UiOwnedProps = 'providerAttribution' | 'agreementText' | 'disclosureLinks' | 'isAgreed' | 'onAgreedChange' | 'onAccept' | 'isSubmitting' | 'isAccepted' | 'errorMessage' | 'testIds';
3143
- type InnerProps = Omit<AcceptDisclosuresWidgetProps$1, UiOwnedProps> & {
3143
+ type InnerProps$1 = Omit<AcceptDisclosuresWidgetProps$1, UiOwnedProps> & {
3144
3144
  /**
3145
3145
  * Called after the atomic accept succeeds and before init refresh is kicked.
3146
3146
  * May return a promise — the widget awaits it before locking controls and
@@ -3149,7 +3149,7 @@ type InnerProps = Omit<AcceptDisclosuresWidgetProps$1, UiOwnedProps> & {
3149
3149
  */
3150
3150
  onAccepted?: () => void | Promise<void>;
3151
3151
  };
3152
- type AcceptDisclosuresWidgetProps = WidgetProviderProps & InnerProps;
3152
+ type AcceptDisclosuresWidgetProps = WidgetProviderProps & InnerProps$1;
3153
3153
  /**
3154
3154
  * Self-contained AcceptDisclosures widget. Fetches the caller's disclosure
3155
3155
  * document set (title/url pairs, in presentation order) from
@@ -4160,6 +4160,69 @@ interface LinkedAccountsWidgetProps extends WidgetProviderProps {
4160
4160
  }
4161
4161
  declare function LinkedAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: LinkedAccountsWidgetProps): React.JSX.Element;
4162
4162
 
4163
+ /**
4164
+ * Host-facing domain shapes for bank-account onboarding prefill and widget
4165
+ * state. Owned by the feature layer so the published API does not re-export
4166
+ * UI form view-models as the business contract.
4167
+ */
4168
+ type CompanyStructureValue = 'CORPORATION_PUBLIC' | 'CORPORATION_PRIVATE' | 'CORPORATION_NOT_FOR_PROFIT' | 'LLC' | 'LLP' | 'PARTNERSHIP' | 'SOLE_PROPRIETORSHIP' | 'GOVERNMENT' | 'COOPERATIVE' | 'ASSOCIATION' | 'OTHER';
4169
+ interface BusinessDetailsValues {
4170
+ companyLegalName: string;
4171
+ companyDbaName: string;
4172
+ businessAddress: string;
4173
+ city: string;
4174
+ state: string;
4175
+ zipCode: string;
4176
+ companyPhoneNumber: string;
4177
+ companyStructure: CompanyStructureValue | '';
4178
+ website: string;
4179
+ taxId: string;
4180
+ naicsCode: string;
4181
+ isAuthorized: boolean | null;
4182
+ isCheckboxChecked: boolean;
4183
+ }
4184
+ interface PersonalDetailsValues {
4185
+ firstName: string;
4186
+ lastName: string;
4187
+ dateOfBirth: Date | undefined;
4188
+ ssn: string;
4189
+ homeAddress: string;
4190
+ city: string;
4191
+ state: string;
4192
+ zipCode: string;
4193
+ mobilePhoneNumber: string;
4194
+ workEmail: string;
4195
+ ownsOver25Percent: boolean | null;
4196
+ ownershipPercentage: number | null;
4197
+ }
4198
+ interface AdditionalOwner {
4199
+ firstName: string;
4200
+ lastName: string;
4201
+ dateOfBirth: Date | undefined;
4202
+ ssn: string;
4203
+ homeAddress: string;
4204
+ city: string;
4205
+ state: string;
4206
+ zipCode: string;
4207
+ mobilePhoneNumber: string;
4208
+ ownsOver25Percent: boolean | null;
4209
+ ownershipPercentage: number | null;
4210
+ }
4211
+
4212
+ /**
4213
+ * Legal disclosure URLs for the onboarding agreement step.
4214
+ *
4215
+ * Resolved by the host application (e.g. from white-label `onboardingTerms`
4216
+ * or bank disclosure PDFs) and passed into the widget — the published package
4217
+ * must not hard-code host/bank lookups.
4218
+ */
4219
+ interface DisclosureLinks {
4220
+ termsHref?: string;
4221
+ privacyHref?: string;
4222
+ electronicCommunicationHref?: string;
4223
+ patriotActHref?: string;
4224
+ }
4225
+
4163
4226
  interface AdditionalOwnersLabels {
4164
4227
  heading: string;
4165
4228
  subheading: string;
@@ -4296,96 +4359,6 @@ interface ResultLabels {
4296
4359
  }
4297
4360
  declare const RESULT_LABELS_EN: ResultLabels;
4298
4361
 
4299
- interface MarketingWidgetImage {
4300
- src: string;
4301
- alt: string;
4302
- width?: number;
4303
- }
4304
- interface MarketingWidgetAppearance {
4305
- primaryColor: string;
4306
- primaryContrastColor: string;
4307
- cardBackgroundColor: string;
4308
- borderRadius: string;
4309
- boxShadow: string;
4310
- modalBackgroundColor: string;
4311
- }
4312
- interface MarketingWidgetContent {
4313
- vspLogo: MarketingWidgetImage;
4314
- bankingText: string;
4315
- primaryCaption: string;
4316
- secondaryCaption: string;
4317
- /** Full card/modal attribution, e.g. "Provided by Zenith Bank, Member FDIC". */
4318
- providedByCaption: string;
4319
- modalPrimaryImg: MarketingWidgetImage;
4320
- primaryModalHeader: string;
4321
- benefits: string[];
4322
- bankLogoSrc: string;
4323
- appearance: MarketingWidgetAppearance;
4324
- }
4325
-
4326
- /**
4327
- * Host-facing domain shapes for bank-account onboarding prefill and widget
4328
- * state. Owned by the feature layer so the published API does not re-export
4329
- * UI form view-models as the business contract.
4330
- */
4331
- type CompanyStructureValue = 'CORPORATION_PUBLIC' | 'CORPORATION_PRIVATE' | 'CORPORATION_NOT_FOR_PROFIT' | 'LLC' | 'LLP' | 'PARTNERSHIP' | 'SOLE_PROPRIETORSHIP' | 'GOVERNMENT' | 'COOPERATIVE' | 'ASSOCIATION' | 'OTHER';
4332
- interface BusinessDetailsValues {
4333
- companyLegalName: string;
4334
- companyDbaName: string;
4335
- businessAddress: string;
4336
- city: string;
4337
- state: string;
4338
- zipCode: string;
4339
- companyPhoneNumber: string;
4340
- companyStructure: CompanyStructureValue | '';
4341
- website: string;
4342
- taxId: string;
4343
- naicsCode: string;
4344
- isAuthorized: boolean | null;
4345
- isCheckboxChecked: boolean;
4346
- }
4347
- interface PersonalDetailsValues {
4348
- firstName: string;
4349
- lastName: string;
4350
- dateOfBirth: Date | undefined;
4351
- ssn: string;
4352
- homeAddress: string;
4353
- city: string;
4354
- state: string;
4355
- zipCode: string;
4356
- mobilePhoneNumber: string;
4357
- workEmail: string;
4358
- ownsOver25Percent: boolean | null;
4359
- ownershipPercentage: number | null;
4360
- }
4361
- interface AdditionalOwner {
4362
- firstName: string;
4363
- lastName: string;
4364
- dateOfBirth: Date | undefined;
4365
- ssn: string;
4366
- homeAddress: string;
4367
- city: string;
4368
- state: string;
4369
- zipCode: string;
4370
- mobilePhoneNumber: string;
4371
- ownsOver25Percent: boolean | null;
4372
- ownershipPercentage: number | null;
4373
- }
4374
-
4375
- /**
4376
- * Legal disclosure URLs for the onboarding agreement step.
4377
- *
4378
- * Resolved by the host application (e.g. from white-label `onboardingTerms`
4379
- * or bank disclosure PDFs) and passed into the widget — the published package
4380
- * must not hard-code host/bank lookups.
4381
- */
4382
- interface DisclosureLinks {
4383
- termsHref?: string;
4384
- privacyHref?: string;
4385
- electronicCommunicationHref?: string;
4386
- patriotActHref?: string;
4387
- }
4388
-
4389
4362
  interface BankAccountOnboardingWidgetLabels {
4390
4363
  stepIndicator: {
4391
4364
  business: string;
@@ -4433,11 +4406,6 @@ interface BankAccountOnboardingWidgetInnerProps {
4433
4406
  * The published widget does not look up white-label/bank maps itself.
4434
4407
  */
4435
4408
  disclosureLinks?: DisclosureLinks;
4436
- /**
4437
- * Host-resolved marketing card/modal content. When omitted or `null`, the
4438
- * marketing surface is not rendered.
4439
- */
4440
- marketingContent?: MarketingWidgetContent | null;
4441
4409
  /**
4442
4410
  * Controlled open state for the onboarding modal. When provided, the host
4443
4411
  * application owns the open/close state and must update it via
@@ -4446,7 +4414,7 @@ interface BankAccountOnboardingWidgetInnerProps {
4446
4414
  open?: boolean;
4447
4415
  /**
4448
4416
  * Initial open state when uncontrolled. Defaults to `false` so the onboarding
4449
- * modal stays hidden until the host or marketing CTA opens it.
4417
+ * modal stays hidden until the host opens it.
4450
4418
  */
4451
4419
  defaultOpen?: boolean;
4452
4420
  /**
@@ -4460,6 +4428,58 @@ interface BankAccountOnboardingWidgetInnerProps {
4460
4428
  type BankAccountOnboardingWidgetProps = WidgetProviderProps & BankAccountOnboardingWidgetInnerProps;
4461
4429
  declare function BankAccountOnboardingWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: BankAccountOnboardingWidgetProps): React.JSX.Element;
4462
4430
 
4431
+ interface MarketingWidgetLabels {
4432
+ learnMore: string;
4433
+ primaryCta: string;
4434
+ dismissModalAriaLabel: string;
4435
+ }
4436
+ declare const MARKETING_WIDGET_LABELS_EN: MarketingWidgetLabels;
4437
+
4438
+ interface MarketingWidgetImage {
4439
+ src: string;
4440
+ alt: string;
4441
+ width?: number;
4442
+ }
4443
+ interface MarketingWidgetAppearance {
4444
+ primaryColor: string;
4445
+ primaryContrastColor: string;
4446
+ cardBackgroundColor: string;
4447
+ borderRadius: string;
4448
+ boxShadow: string;
4449
+ modalBackgroundColor: string;
4450
+ }
4451
+ interface MarketingWidgetContent {
4452
+ vspLogo: MarketingWidgetImage;
4453
+ bankingText: string;
4454
+ primaryCaption: string;
4455
+ secondaryCaption: string;
4456
+ /** Full card/modal attribution, e.g. "Provided by Zenith Bank, Member FDIC". */
4457
+ providedByCaption: string;
4458
+ modalPrimaryImg: MarketingWidgetImage;
4459
+ primaryModalHeader: string;
4460
+ benefits: string[];
4461
+ appearance: MarketingWidgetAppearance;
4462
+ }
4463
+
4464
+ type InnerProps = {
4465
+ content: MarketingWidgetContent;
4466
+ onPrimaryCtaClick: () => void;
4467
+ labels?: PartialDeep<MarketingWidgetLabels>;
4468
+ };
4469
+ type MarketingWidgetProps = WidgetProviderProps & InnerProps;
4470
+ /**
4471
+ * Self-contained marketing card + modal. Hosts supply tenant-specific
4472
+ * `content` (logos, copy, colors) and wire `onPrimaryCtaClick` to whatever
4473
+ * should happen next — typically opening bank-account onboarding.
4474
+ *
4475
+ * Renders nothing until widget init resolves, and hides itself when the
4476
+ * caller is already onboarded (`ACTIVE` / `INACTIVE`), invited (`INVITED`),
4477
+ * or their organization already has a bank-account application (COMPLETE or
4478
+ * started by another member). That last case is a NOT_FOUND widget user who
4479
+ * still must not apply.
4480
+ */
4481
+ declare function MarketingWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: MarketingWidgetProps): React.JSX.Element;
4482
+
4463
4483
  /**
4464
4484
  * Co-located user-facing strings for the products widget UI. Each component
4465
4485
  * takes a `labels?: Partial<…Labels>` prop merged over the matching
@@ -4670,5 +4690,5 @@ interface CheckAmountAndDetailScreenProps {
4670
4690
 
4671
4691
  type PendingFeatureStyleSources = CheckAmountAndDetailScreenProps | GapCoverageAlertProps | NoPolicyBannerProps;
4672
4692
 
4673
- 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, DebitCardsWidget, ERROR_STATE_ID, ExpenseManagementWidget, HELP_FAQ_EN, INSIGHTS_FEATURE_LABELS_EN, INSIGHTS_WIDGET_LABELS_EN, Implementation, InsightsWidget, ReceivablesWidgetMonite as InvoicingWidget, LinkedAccountsWidget, PERSONAL_DETAILS_LABELS_EN, ProductsWidget, RESULT_LABELS_EN, ReceivablesWidget, RefreshingRootWidgetProvider, RootWidgetProvider, SINGLE_INSIGHT_LABELS_EN, 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, registerDesignSystemEnsurer, registerUIRenderers, setGlobalWidgetConfig, subscribeToGlobalWidgetInitState, updateGlobalWidgetConfig, useDisclosuresAcceptanceSurface, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetInitStaleForToken, useWidgetLoading, useWidgetToken };
4674
- export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, 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, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreditCardsWidgetProps, DebitCardsWidgetProps, DisclosureLinks, EmbeddedClient, Labels$1 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, ReceivablesWidgetMoniteProps as InvoicingWidgetProps, LinkComponent, LinkComponentProps, FeatureLabels as LinkedAccountsWidgetFeatureLabels, Labels as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MarketingWidgetContent, 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$2 as SettingsWidgetFeatureLabels, Labels$2 as SettingsWidgetLabels, SettingsWidgetProps, SettingsWidgetSection, SettingsWidgetSectionId, SingleInsightLabels, FeatureLabels$1 as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, UploadReceiptWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetInitState, WidgetProviderLabels, WidgetProviderProps, WidgetSuiteCardsLabels, WidgetSuiteDashboardLabels, WidgetSuiteDisclosureLabels, WidgetSuiteExpensesLabels, WidgetSuiteLabelOverrides, WidgetSuiteLabels, WidgetSuiteMenuLabels, WidgetSuiteProps, WidgetSuiteSectionContentLabels, WidgetSuiteSectionTitleLabels, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };
4693
+ 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, 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, MarketingWidget, PERSONAL_DETAILS_LABELS_EN, ProductsWidget, RESULT_LABELS_EN, ReceivablesWidget, RefreshingRootWidgetProvider, RootWidgetProvider, SINGLE_INSIGHT_LABELS_EN, 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, registerDesignSystemEnsurer, registerUIRenderers, setGlobalWidgetConfig, subscribeToGlobalWidgetInitState, updateGlobalWidgetConfig, useDisclosuresAcceptanceSurface, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetInitStaleForToken, useWidgetLoading, useWidgetToken };
4694
+ export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, 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, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreditCardsWidgetProps, DebitCardsWidgetProps, DisclosureLinks, EmbeddedClient, Labels$1 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, ReceivablesWidgetMoniteProps as InvoicingWidgetProps, LinkComponent, LinkComponentProps, FeatureLabels as LinkedAccountsWidgetFeatureLabels, Labels as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MarketingWidgetAppearance, MarketingWidgetContent, MarketingWidgetImage, MarketingWidgetLabels, MarketingWidgetProps, 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$2 as SettingsWidgetFeatureLabels, Labels$2 as SettingsWidgetLabels, SettingsWidgetProps, SettingsWidgetSection, SettingsWidgetSectionId, SingleInsightLabels, FeatureLabels$1 as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, UploadReceiptWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetInitState, WidgetProviderLabels, WidgetProviderProps, WidgetSuiteCardsLabels, WidgetSuiteDashboardLabels, WidgetSuiteDisclosureLabels, WidgetSuiteExpensesLabels, WidgetSuiteLabelOverrides, WidgetSuiteLabels, WidgetSuiteMenuLabels, WidgetSuiteProps, WidgetSuiteSectionContentLabels, WidgetSuiteSectionTitleLabels, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };
package/dist/index.js CHANGED
@@ -58,11 +58,14 @@ import { PERSONAL_DETAILS_LABELS_EN as $ } from "./libs/tesouro-embedded-compone
58
58
  import { RESULT_LABELS_EN as ee } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index12.js";
59
59
  import { BankAccountOnboardingWidget as te } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index18.js";
60
60
  import "./lib/BankAccountOnboardingWidget.js";
61
- import { ProductsWidget as ne } from "./libs/tesouro-embedded-components-react/products-widget/feature/dist/index8.js";
61
+ import { MARKETING_WIDGET_LABELS_EN as ne } from "./libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index2.js";
62
+ import { MarketingWidget as re } from "./libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index4.js";
63
+ import "./lib/MarketingWidget.js";
64
+ import { ProductsWidget as ie } from "./libs/tesouro-embedded-components-react/products-widget/feature/dist/index8.js";
62
65
  import "./lib/ProductsWidget.js";
63
66
  import "./lib/ReceivablesWidget.js";
64
67
  import "./lib/SettingsWidget.js";
65
68
  import "./lib/TransfersWidget.js";
66
- import { WidgetProvider as re } from "./lib/WidgetProviderPublic.js";
69
+ import { WidgetProvider as ae } from "./lib/WidgetProviderPublic.js";
67
70
  import "./lib/WidgetProvider.js";
68
- export { q as ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, Z as ADDITIONAL_OWNERS_LABELS_EN, J as AcceptDisclosuresWidget, j as BALANCES_WIDGET_LABELS_EN, Q as BUSINESS_DETAILS_LABELS_EN, M as BalancesWidget, te as BankAccountOnboardingWidget, T as BankAccountsWidget, D as BillPayWidget, O as CardDetailsWidget, E as CounterpartsWidget, k as CreditCardsWidget, A as DebitCardsWidget, s as ERROR_STATE_ID, V as ExpenseManagementWidget, H as HELP_FAQ_EN, N as INSIGHTS_FEATURE_LABELS_EN, P as INSIGHTS_WIDGET_LABELS_EN, c as Implementation, I as InsightsWidget, L as InvoicingWidget, X as LinkedAccountsWidget, $ as PERSONAL_DETAILS_LABELS_EN, ne as ProductsWidget, ee as RESULT_LABELS_EN, R as ReceivablesWidget, _ as RefreshingRootWidgetProvider, m as RootWidgetProvider, F as SINGLE_INSIGHT_LABELS_EN, z as SettingsSection, U as SettingsWidget, W as TRANSFERS_FEATURE_LABELS_EN, G as TRANSFERS_WIDGET_LABELS_EN, K as TransfersWidget, i as UIFramework, B as UploadReceiptWidget, t as WIDGET_SUITE_DEFAULT_SECTIONS, e as WIDGET_SUITE_LABELS_EN, re as WidgetProvider, Y as WidgetSuite, n as WidgetSuiteSectionId, h as WidgetTokenRefreshProvider, r as cloneEmbeddedClient, l as getGlobalWidgetConfig, f as getGlobalWidgetInitState, a as registerDesignSystemEnsurer, o as registerUIRenderers, u as setGlobalWidgetConfig, p as subscribeToGlobalWidgetInitState, d as updateGlobalWidgetConfig, v as useDisclosuresAcceptanceSurface, y as useOwnWidgetConfig, b as useRefetchWidget, x as useWidgetConfig, S as useWidgetError, C as useWidgetInitStaleForToken, w as useWidgetLoading, g as useWidgetToken };
71
+ export { q as ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, Z as ADDITIONAL_OWNERS_LABELS_EN, J as AcceptDisclosuresWidget, j as BALANCES_WIDGET_LABELS_EN, Q as BUSINESS_DETAILS_LABELS_EN, M as BalancesWidget, te as BankAccountOnboardingWidget, T as BankAccountsWidget, D as BillPayWidget, O as CardDetailsWidget, E as CounterpartsWidget, k as CreditCardsWidget, A as DebitCardsWidget, s as ERROR_STATE_ID, V as ExpenseManagementWidget, H as HELP_FAQ_EN, N as INSIGHTS_FEATURE_LABELS_EN, P as INSIGHTS_WIDGET_LABELS_EN, c as Implementation, I as InsightsWidget, L as InvoicingWidget, X as LinkedAccountsWidget, ne as MARKETING_WIDGET_LABELS_EN, re as MarketingWidget, $ as PERSONAL_DETAILS_LABELS_EN, ie as ProductsWidget, ee as RESULT_LABELS_EN, R as ReceivablesWidget, _ as RefreshingRootWidgetProvider, m as RootWidgetProvider, F as SINGLE_INSIGHT_LABELS_EN, z as SettingsSection, U as SettingsWidget, W as TRANSFERS_FEATURE_LABELS_EN, G as TRANSFERS_WIDGET_LABELS_EN, K as TransfersWidget, i as UIFramework, B as UploadReceiptWidget, t as WIDGET_SUITE_DEFAULT_SECTIONS, e as WIDGET_SUITE_LABELS_EN, ae as WidgetProvider, Y as WidgetSuite, n as WidgetSuiteSectionId, h as WidgetTokenRefreshProvider, r as cloneEmbeddedClient, l as getGlobalWidgetConfig, f as getGlobalWidgetInitState, a as registerDesignSystemEnsurer, o as registerUIRenderers, u as setGlobalWidgetConfig, p as subscribeToGlobalWidgetInitState, d as updateGlobalWidgetConfig, v as useDisclosuresAcceptanceSurface, y as useOwnWidgetConfig, b as useRefetchWidget, x as useWidgetConfig, S as useWidgetError, C as useWidgetInitStaleForToken, w as useWidgetLoading, g as useWidgetToken };