@tesouro/embedded-components-react 0.7.53 → 0.7.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -3
- package/dist/experimental/RemoteCheckCapture.d.ts +1 -32
- package/dist/experimental/index.d.ts +1 -32
- package/dist/index.css +12 -0
- package/dist/index.d.ts +58 -47
- package/dist/index.js +47 -46
- package/dist/lib/AcceptDisclosuresWidget.d.ts +1 -32
- package/dist/lib/BalancesWidget.d.ts +0 -31
- package/dist/lib/BankAccountOnboardingWidget.d.ts +1 -32
- package/dist/lib/BankAccountsWidget.d.ts +1 -32
- package/dist/lib/BankingComplianceBannerWidget.d.ts +643 -0
- package/dist/lib/BankingComplianceBannerWidget.js +5 -0
- package/dist/lib/BillPayWidget.d.ts +0 -31
- package/dist/lib/CardDetailsWidget.d.ts +1 -32
- package/dist/lib/CounterpartsWidget.d.ts +0 -31
- package/dist/lib/CounterpartsWidgetPublic.d.ts +0 -31
- package/dist/lib/CreditCardsWidget.d.ts +0 -31
- package/dist/lib/CustomersWidget.d.ts +1 -33
- package/dist/lib/DebitCardsWidget.d.ts +0 -31
- package/dist/lib/ExpenseManagementWidget.d.ts +0 -31
- package/dist/lib/InsightsWidget.d.ts +0 -31
- package/dist/lib/LinkedAccountsWidget.d.ts +1 -32
- package/dist/lib/OfferWidget.d.ts +1 -32
- package/dist/lib/ProductsWidget.d.ts +1 -32
- package/dist/lib/ReceivablesWidget.d.ts +1 -32
- package/dist/lib/SettingsWidget.d.ts +0 -31
- package/dist/lib/TransfersWidget.d.ts +0 -31
- package/dist/lib/WidgetProvider.d.ts +2 -33
- package/dist/lib/WidgetProvider.js +9 -10
- package/dist/lib/WidgetProviderPublic.d.ts +0 -31
- package/dist/lib/WidgetSuite.d.ts +1 -32
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js +395 -396
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/BankAccountsWidget/BankAccountsWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/data-access/dist/index.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/data-access/dist/index2.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/data-access/dist/index3.js +42 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/index.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/lib/BankingComplianceBannerWidget/BankingComplianceBannerWidget.js +52 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/lib/BankingComplianceBannerWidget/isFdicBacked.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/lib/analytics/events.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/lib/testIds.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/ui/dist/index.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/ui/dist/index2.js +40 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/ui/dist/index3.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/ui/dist/index4.js +60 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index48.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index8.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index20.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index14.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/CardDetailsWidget.js +83 -84
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +15 -16
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/CardsWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/CounterpartsWidget.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +25 -26
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/LinkedAccountsWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/offer-widget/feature/dist/lib/OfferWidget/OfferWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/ProductsWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/RemoteCheckCaptureWidget.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index8.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/help/feature/dist/index3.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index10.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/feature/dist/index4.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index17.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/shared/bank-disclosures/feature/dist/lib/BankDisclosuresWidget/BankDisclosuresWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/index.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js +45 -49
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +91 -95
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/hooks.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/index.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/isDisclosuresAcceptanceRequired.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/WidgetSuite.js +120 -121
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/types.js +0 -8
|
@@ -375,21 +375,6 @@ declare const UIFramework: {
|
|
|
375
375
|
};
|
|
376
376
|
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
377
377
|
|
|
378
|
-
/**
|
|
379
|
-
* The implementation a widget renders with.
|
|
380
|
-
*
|
|
381
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
382
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
383
|
-
* - `monite` — the Monite SDK implementation.
|
|
384
|
-
*
|
|
385
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
386
|
-
* convention.
|
|
387
|
-
*/
|
|
388
|
-
declare const Implementation: {
|
|
389
|
-
readonly Native: "native";
|
|
390
|
-
readonly Monite: "monite";
|
|
391
|
-
};
|
|
392
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
393
378
|
/**
|
|
394
379
|
* The settable fields of the widget config cascade.
|
|
395
380
|
*
|
|
@@ -548,22 +533,6 @@ interface WidgetConfigInput {
|
|
|
548
533
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
549
534
|
*/
|
|
550
535
|
uiFramework?: UIFramework | null;
|
|
551
|
-
/**
|
|
552
|
-
* Which implementation a widget renders with.
|
|
553
|
-
*
|
|
554
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
555
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
556
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
557
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
558
|
-
* is read via `useImplementation`.
|
|
559
|
-
*
|
|
560
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
561
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
562
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
563
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
564
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
565
|
-
*/
|
|
566
|
-
implementation?: Implementation | null;
|
|
567
536
|
}
|
|
568
537
|
/**
|
|
569
538
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -429,21 +429,6 @@ declare const UIFramework: {
|
|
|
429
429
|
};
|
|
430
430
|
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
431
431
|
|
|
432
|
-
/**
|
|
433
|
-
* The implementation a widget renders with.
|
|
434
|
-
*
|
|
435
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
436
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
437
|
-
* - `monite` — the Monite SDK implementation.
|
|
438
|
-
*
|
|
439
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
440
|
-
* convention.
|
|
441
|
-
*/
|
|
442
|
-
declare const Implementation: {
|
|
443
|
-
readonly Native: "native";
|
|
444
|
-
readonly Monite: "monite";
|
|
445
|
-
};
|
|
446
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
447
432
|
/**
|
|
448
433
|
* The settable fields of the widget config cascade.
|
|
449
434
|
*
|
|
@@ -602,22 +587,6 @@ interface WidgetConfigInput {
|
|
|
602
587
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
603
588
|
*/
|
|
604
589
|
uiFramework?: UIFramework | null;
|
|
605
|
-
/**
|
|
606
|
-
* Which implementation a widget renders with.
|
|
607
|
-
*
|
|
608
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
609
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
610
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
611
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
612
|
-
* is read via `useImplementation`.
|
|
613
|
-
*
|
|
614
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
615
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
616
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
617
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
618
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
619
|
-
*/
|
|
620
|
-
implementation?: Implementation | null;
|
|
621
590
|
}
|
|
622
591
|
/**
|
|
623
592
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -1186,7 +1155,7 @@ type BankAccountOnboardingWidgetProps = WidgetProviderProps & Omit<BankAccountOn
|
|
|
1186
1155
|
initialPersonalDetails?: Partial<HostSupplied<PersonalDetailsValues>>;
|
|
1187
1156
|
initialAdditionalOwners?: HostSuppliedOwner[];
|
|
1188
1157
|
};
|
|
1189
|
-
declare function BankAccountOnboardingWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent,
|
|
1158
|
+
declare function BankAccountOnboardingWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: BankAccountOnboardingWidgetProps): React.JSX.Element;
|
|
1190
1159
|
|
|
1191
1160
|
export { ADDITIONAL_OWNERS_LABELS_EN, APPLICATION_STATUS_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BankAccountOnboardingWidget, PERSONAL_DETAILS_LABELS_EN, RESULT_LABELS_EN };
|
|
1192
1161
|
export type { AdditionalOwner, AdditionalOwnersLabels, ApplicationStatusLabelValues, ApplicationStatusLabels, ApplicationStatusNoticeLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CompanyStructureValue, DisclosureLinks, PersonalDetailsLabels, PersonalDetailsValues, ResultLabels };
|
|
@@ -390,21 +390,6 @@ declare const UIFramework: {
|
|
|
390
390
|
};
|
|
391
391
|
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
392
392
|
|
|
393
|
-
/**
|
|
394
|
-
* The implementation a widget renders with.
|
|
395
|
-
*
|
|
396
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
397
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
398
|
-
* - `monite` — the Monite SDK implementation.
|
|
399
|
-
*
|
|
400
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
401
|
-
* convention.
|
|
402
|
-
*/
|
|
403
|
-
declare const Implementation: {
|
|
404
|
-
readonly Native: "native";
|
|
405
|
-
readonly Monite: "monite";
|
|
406
|
-
};
|
|
407
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
408
393
|
/**
|
|
409
394
|
* The settable fields of the widget config cascade.
|
|
410
395
|
*
|
|
@@ -563,22 +548,6 @@ interface WidgetConfigInput {
|
|
|
563
548
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
564
549
|
*/
|
|
565
550
|
uiFramework?: UIFramework | null;
|
|
566
|
-
/**
|
|
567
|
-
* Which implementation a widget renders with.
|
|
568
|
-
*
|
|
569
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
570
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
571
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
572
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
573
|
-
* is read via `useImplementation`.
|
|
574
|
-
*
|
|
575
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
576
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
577
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
578
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
579
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
580
|
-
*/
|
|
581
|
-
implementation?: Implementation | null;
|
|
582
551
|
}
|
|
583
552
|
/**
|
|
584
553
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -773,7 +742,7 @@ interface BankAccountsWidgetProps extends WidgetProviderProps {
|
|
|
773
742
|
/** Called when the user opens account details or goes back to the list. */
|
|
774
743
|
onSelectedAccountIdChange?: (accountId: string | null) => void;
|
|
775
744
|
}
|
|
776
|
-
declare function BankAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent,
|
|
745
|
+
declare function BankAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: BankAccountsWidgetProps): React.JSX.Element;
|
|
777
746
|
|
|
778
747
|
export { BankAccountsWidget };
|
|
779
748
|
export type { Labels as AccountDetailsWidgetLabels, FeatureLabels as BankAccountsWidgetFeatureLabels, Labels$1 as BankAccountsWidgetLabels, BankAccountsWidgetProps };
|