@tesouro/embedded-components-react 0.7.56 → 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 +0 -3
- package/dist/experimental/RemoteCheckCapture.d.ts +1 -32
- package/dist/experimental/index.d.ts +1 -32
- package/dist/index.d.ts +12 -44
- package/dist/index.js +47 -48
- 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 +0 -31
- 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/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/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
package/README.md
CHANGED
|
@@ -199,7 +199,6 @@ App-level provider. Resolves `baseUrl` / `widgetToken` / `organizationId` (falli
|
|
|
199
199
|
| `gatewayRouting` | `boolean` | Forces widget-gateway routing on (`true`) or off (`false`); unset, it applies automatically to known Tesouro API hosts. Falls back to `global.gatewayRouting`. |
|
|
200
200
|
| `linkComponent` | `LinkComponent` | Host link component widgets use for navigational links. Falls back to `global.linkComponent`. |
|
|
201
201
|
| `uiFramework` | `'shadcn' \| 'tecton' \| null` | UI framework for this tree; falls back to `global.uiFramework`, then `'shadcn'`. |
|
|
202
|
-
| `implementation` | `'native' \| 'monite' \| null` | Reserved for widgets with more than one build; no widget reads it today. Falls back to `global.implementation`, then `'native'`. |
|
|
203
202
|
| `analytics` | `boolean` | Enables anonymous analytics (default `true`); `false` disables capture and skips loading PostHog. |
|
|
204
203
|
| `unstable_initResponseOverride` | `WidgetInitResponse` | First-party hosts only: skips the init fetch and uses this object as `initResponse`. Embed integrations minting widget JWEs must leave this unset. |
|
|
205
204
|
| `disclosuresAcceptance` | `ReactNode` | Accept surface shown when the user owes disclosures; pass `<AcceptDisclosuresWidget />`. Cascades to nested providers. |
|
|
@@ -221,7 +220,6 @@ Mid-tree or standalone provider. With no props it is a transparent pass-through
|
|
|
221
220
|
| `gatewayRouting` | `boolean` | Forces widget-gateway routing on or off for this subtree's client; unset, it applies to known Tesouro API hosts. Inherits when omitted. |
|
|
222
221
|
| `linkComponent` | `LinkComponent` | Overrides the host link component for this subtree. Inherits when omitted. |
|
|
223
222
|
| `uiFramework` | `'shadcn' \| 'tecton' \| null` | Overrides the UI framework for this subtree; omitted or `null` inherits, defaulting to `'shadcn'`. |
|
|
224
|
-
| `implementation` | `'native' \| 'monite' \| null` | Reserved for widgets with more than one build; no widget reads it today. Omitted or `null` inherits, defaulting to `'native'`. |
|
|
225
223
|
| `errorFallback` | `ReactNode \| (props: FallbackProps) => ReactNode` | Custom error-boundary fallback: a node, or a function receiving `{ error, resetErrorBoundary }`. |
|
|
226
224
|
| `onError` | `(error: unknown, info: ErrorInfo) => void` | Telemetry hook, called once per caught error before the fallback renders. |
|
|
227
225
|
| `analytics` | `boolean` | Enables anonymous analytics (default `true`); honored only in standalone mode, ignored on a nested provider. |
|
|
@@ -256,7 +254,6 @@ Bundles `WidgetTokenRefreshProvider` + `RootWidgetProvider` and wires the live t
|
|
|
256
254
|
| `gatewayRouting` | `RootWidgetProvider` | Overrides widget-gateway routing; unset, it applies automatically for known Tesouro API hosts. |
|
|
257
255
|
| `linkComponent` | `RootWidgetProvider` | Component used in place of plain `<a>` tags inside widgets. |
|
|
258
256
|
| `uiFramework` | `RootWidgetProvider` | `'shadcn'` (default) or `'tecton'`; inherits down the provider cascade. |
|
|
259
|
-
| `implementation` | `RootWidgetProvider` | Reserved for widgets with more than one build; no widget reads it today. Inherits down the cascade. |
|
|
260
257
|
| `analytics` | `RootWidgetProvider` | Enables anonymous analytics (default `true`); set `false` to disable capture. |
|
|
261
258
|
| `unstable_initResponseOverride` | `RootWidgetProvider` | First-party hosts only. Skips the init fetch and supplies host-authored identity for the subtree. |
|
|
262
259
|
| `disclosuresAcceptance` | `RootWidgetProvider` | Accept surface shown when the user owes disclosures. Cascades to nested providers. |
|
|
@@ -352,21 +352,6 @@ declare const UIFramework: {
|
|
|
352
352
|
};
|
|
353
353
|
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
354
354
|
|
|
355
|
-
/**
|
|
356
|
-
* The implementation a widget renders with.
|
|
357
|
-
*
|
|
358
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
359
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
360
|
-
* - `monite` — the Monite SDK implementation.
|
|
361
|
-
*
|
|
362
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
363
|
-
* convention.
|
|
364
|
-
*/
|
|
365
|
-
declare const Implementation: {
|
|
366
|
-
readonly Native: "native";
|
|
367
|
-
readonly Monite: "monite";
|
|
368
|
-
};
|
|
369
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
370
355
|
/**
|
|
371
356
|
* The settable fields of the widget config cascade.
|
|
372
357
|
*
|
|
@@ -525,22 +510,6 @@ interface WidgetConfigInput {
|
|
|
525
510
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
526
511
|
*/
|
|
527
512
|
uiFramework?: UIFramework | null;
|
|
528
|
-
/**
|
|
529
|
-
* Which implementation a widget renders with.
|
|
530
|
-
*
|
|
531
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
532
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
533
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
534
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
535
|
-
* is read via `useImplementation`.
|
|
536
|
-
*
|
|
537
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
538
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
539
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
540
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
541
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
542
|
-
*/
|
|
543
|
-
implementation?: Implementation | null;
|
|
544
513
|
}
|
|
545
514
|
/**
|
|
546
515
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -735,7 +704,7 @@ interface RemoteCheckCaptureWidgetProps extends WidgetProviderProps {
|
|
|
735
704
|
/** Fired once a deposit successfully submits, before the Complete screen shows. */
|
|
736
705
|
onDepositComplete?: () => void;
|
|
737
706
|
}
|
|
738
|
-
declare function RemoteCheckCaptureWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent,
|
|
707
|
+
declare function RemoteCheckCaptureWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, labels, onDepositComplete, }: RemoteCheckCaptureWidgetProps): React.JSX.Element;
|
|
739
708
|
|
|
740
709
|
export { RemoteCheckCaptureWidget };
|
|
741
710
|
export type { RemoteCheckCaptureWidgetProps };
|
|
@@ -352,21 +352,6 @@ declare const UIFramework: {
|
|
|
352
352
|
};
|
|
353
353
|
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
354
354
|
|
|
355
|
-
/**
|
|
356
|
-
* The implementation a widget renders with.
|
|
357
|
-
*
|
|
358
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
359
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
360
|
-
* - `monite` — the Monite SDK implementation.
|
|
361
|
-
*
|
|
362
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
363
|
-
* convention.
|
|
364
|
-
*/
|
|
365
|
-
declare const Implementation: {
|
|
366
|
-
readonly Native: "native";
|
|
367
|
-
readonly Monite: "monite";
|
|
368
|
-
};
|
|
369
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
370
355
|
/**
|
|
371
356
|
* The settable fields of the widget config cascade.
|
|
372
357
|
*
|
|
@@ -525,22 +510,6 @@ interface WidgetConfigInput {
|
|
|
525
510
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
526
511
|
*/
|
|
527
512
|
uiFramework?: UIFramework | null;
|
|
528
|
-
/**
|
|
529
|
-
* Which implementation a widget renders with.
|
|
530
|
-
*
|
|
531
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
532
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
533
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
534
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
535
|
-
* is read via `useImplementation`.
|
|
536
|
-
*
|
|
537
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
538
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
539
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
540
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
541
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
542
|
-
*/
|
|
543
|
-
implementation?: Implementation | null;
|
|
544
513
|
}
|
|
545
514
|
/**
|
|
546
515
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -735,7 +704,7 @@ interface RemoteCheckCaptureWidgetProps extends WidgetProviderProps {
|
|
|
735
704
|
/** Fired once a deposit successfully submits, before the Complete screen shows. */
|
|
736
705
|
onDepositComplete?: () => void;
|
|
737
706
|
}
|
|
738
|
-
declare function RemoteCheckCaptureWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent,
|
|
707
|
+
declare function RemoteCheckCaptureWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, labels, onDepositComplete, }: RemoteCheckCaptureWidgetProps): React.JSX.Element;
|
|
739
708
|
|
|
740
709
|
export { RemoteCheckCaptureWidget };
|
|
741
710
|
export type { RemoteCheckCaptureWidgetProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -627,21 +627,6 @@ interface PaginationFooterLabels {
|
|
|
627
627
|
nextPageButton: string;
|
|
628
628
|
}
|
|
629
629
|
|
|
630
|
-
/**
|
|
631
|
-
* The implementation a widget renders with.
|
|
632
|
-
*
|
|
633
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
634
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
635
|
-
* - `monite` — the Monite SDK implementation.
|
|
636
|
-
*
|
|
637
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
638
|
-
* convention.
|
|
639
|
-
*/
|
|
640
|
-
declare const Implementation: {
|
|
641
|
-
readonly Native: "native";
|
|
642
|
-
readonly Monite: "monite";
|
|
643
|
-
};
|
|
644
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
645
630
|
/**
|
|
646
631
|
* The settable fields of the widget config cascade.
|
|
647
632
|
*
|
|
@@ -800,22 +785,6 @@ interface WidgetConfigInput {
|
|
|
800
785
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
801
786
|
*/
|
|
802
787
|
uiFramework?: UIFramework | null;
|
|
803
|
-
/**
|
|
804
|
-
* Which implementation a widget renders with.
|
|
805
|
-
*
|
|
806
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
807
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
808
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
809
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
810
|
-
* is read via `useImplementation`.
|
|
811
|
-
*
|
|
812
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
813
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
814
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
815
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
816
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
817
|
-
*/
|
|
818
|
-
implementation?: Implementation | null;
|
|
819
788
|
}
|
|
820
789
|
/**
|
|
821
790
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -1162,7 +1131,7 @@ interface RootWidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
1162
1131
|
* @see {@link useWidgetConfig} to read the resolved config in descendants
|
|
1163
1132
|
* @see {@link setGlobalWidgetConfig} to push config imperatively from outside React
|
|
1164
1133
|
*/
|
|
1165
|
-
declare function RootWidgetProvider({ children, baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework,
|
|
1134
|
+
declare function RootWidgetProvider({ children, baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, analytics, unstable_initResponseOverride, disclosuresAcceptance, providerLabels, }: PropsWithChildren<RootWidgetProviderProps>): React.JSX.Element;
|
|
1166
1135
|
|
|
1167
1136
|
/**
|
|
1168
1137
|
* Props for {@link WidgetProvider}.
|
|
@@ -2118,7 +2087,7 @@ type BankAccountOnboardingWidgetProps = WidgetProviderProps & Omit<BankAccountOn
|
|
|
2118
2087
|
initialPersonalDetails?: Partial<HostSupplied<PersonalDetailsValues>>;
|
|
2119
2088
|
initialAdditionalOwners?: HostSuppliedOwner[];
|
|
2120
2089
|
};
|
|
2121
|
-
declare function BankAccountOnboardingWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent,
|
|
2090
|
+
declare function BankAccountOnboardingWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: BankAccountOnboardingWidgetProps): React.JSX.Element;
|
|
2122
2091
|
|
|
2123
2092
|
interface BalancesWidgetLabels {
|
|
2124
2093
|
/** Card header title (e.g. next to the building icon) */
|
|
@@ -2304,7 +2273,7 @@ interface BankAccountsWidgetProps extends WidgetProviderProps {
|
|
|
2304
2273
|
/** Called when the user opens account details or goes back to the list. */
|
|
2305
2274
|
onSelectedAccountIdChange?: (accountId: string | null) => void;
|
|
2306
2275
|
}
|
|
2307
|
-
declare function BankAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent,
|
|
2276
|
+
declare function BankAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: BankAccountsWidgetProps): React.JSX.Element;
|
|
2308
2277
|
|
|
2309
2278
|
interface CardsListColumnHeaderLabels {
|
|
2310
2279
|
cardName: string;
|
|
@@ -2676,7 +2645,7 @@ interface CardDetailsWidgetProps extends WidgetProviderProps {
|
|
|
2676
2645
|
* Both placements are covered by specs, because they take different code paths
|
|
2677
2646
|
* through the provider and this export exists for the standalone one.
|
|
2678
2647
|
*/
|
|
2679
|
-
declare function CardDetailsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent,
|
|
2648
|
+
declare function CardDetailsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: CardDetailsWidgetProps): React.JSX.Element;
|
|
2680
2649
|
|
|
2681
2650
|
/**
|
|
2682
2651
|
* Reset-period tab labels and notice copy are deliberately absent: the owner
|
|
@@ -3521,7 +3490,7 @@ interface LinkedAccountsWidgetProps extends WidgetProviderProps {
|
|
|
3521
3490
|
labels?: Partial<Labels$1>;
|
|
3522
3491
|
featureLabels?: Partial<FeatureLabels$2>;
|
|
3523
3492
|
}
|
|
3524
|
-
declare function LinkedAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent,
|
|
3493
|
+
declare function LinkedAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: LinkedAccountsWidgetProps): React.JSX.Element;
|
|
3525
3494
|
|
|
3526
3495
|
interface Labels {
|
|
3527
3496
|
description?: string;
|
|
@@ -4157,7 +4126,7 @@ interface WidgetSuiteProps extends WidgetProviderProps {
|
|
|
4157
4126
|
* lists, the widget's own opening tab. A host that needs to deep-link into one
|
|
4158
4127
|
* of those mounts that widget itself rather than reaching through the suite.
|
|
4159
4128
|
*/
|
|
4160
|
-
declare function WidgetSuite({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent,
|
|
4129
|
+
declare function WidgetSuite({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: WidgetSuiteProps): React.JSX.Element;
|
|
4161
4130
|
|
|
4162
4131
|
interface AcceptDisclosuresWidgetLabels {
|
|
4163
4132
|
title: string;
|
|
@@ -4318,7 +4287,7 @@ type AcceptDisclosuresWidgetProps = WidgetProviderProps & InnerProps$2;
|
|
|
4318
4287
|
*
|
|
4319
4288
|
* See `WidgetSuite`, which mounts it as its acceptance state.
|
|
4320
4289
|
*/
|
|
4321
|
-
declare function AcceptDisclosuresWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent,
|
|
4290
|
+
declare function AcceptDisclosuresWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: AcceptDisclosuresWidgetProps): React.JSX.Element;
|
|
4322
4291
|
|
|
4323
4292
|
interface BankingComplianceBannerLabels {
|
|
4324
4293
|
/** Precedes the bank's logo or name: "Business Banking provided by Zenith Bank". */
|
|
@@ -4867,8 +4836,7 @@ type CustomersWidgetProps = WidgetProviderProps & CustomersWidgetOwnProps;
|
|
|
4867
4836
|
* A customer is a counterpart, so the published `CounterpartsWidget` already
|
|
4868
4837
|
* is this surface end to end (list, details, create/edit, delete) via
|
|
4869
4838
|
* `counterpartType`. Reused rather than rebuilt, the same way `BillPayWidget`
|
|
4870
|
-
* reuses it for its Vendors tab.
|
|
4871
|
-
* `implementation` only cascades to descendants and changes nothing here.
|
|
4839
|
+
* reuses it for its Vendors tab.
|
|
4872
4840
|
*/
|
|
4873
4841
|
declare function CustomersWidget({ pageSizeOptions, onViewAllDocuments, onCreateDocument, screenLabels, formLabels, detailsLabels, addressLabels, deleteLabels, messageLabels, ...widgetProviderProps }: CustomersWidgetProps): React.JSX.Element;
|
|
4874
4842
|
|
|
@@ -4999,7 +4967,7 @@ type OfferWidgetProps = WidgetProviderProps & InnerProps;
|
|
|
4999
4967
|
* normal offer. A `DENIED` message hides itself 30 days after the denial, and
|
|
5000
4968
|
* a status this widget does not know hides the card.
|
|
5001
4969
|
*/
|
|
5002
|
-
declare function OfferWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent,
|
|
4970
|
+
declare function OfferWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: OfferWidgetProps): React.JSX.Element;
|
|
5003
4971
|
|
|
5004
4972
|
interface ProductFormSheetLabels {
|
|
5005
4973
|
createTitle: string;
|
|
@@ -5188,7 +5156,7 @@ type ProductsWidgetProps = WidgetProviderProps & ProductsWidgetOwnProps;
|
|
|
5188
5156
|
* <ProductsWidget baseUrl="https://api.tesouro.com" widgetToken="wt_..." organizationId="org_..." />
|
|
5189
5157
|
* ```
|
|
5190
5158
|
*/
|
|
5191
|
-
declare function ProductsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent,
|
|
5159
|
+
declare function ProductsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ProductsWidgetProps): React.JSX.Element;
|
|
5192
5160
|
|
|
5193
5161
|
declare const InvoicesFilterField: {
|
|
5194
5162
|
readonly DueDate: "dueDate";
|
|
@@ -5942,7 +5910,7 @@ interface ReceivablesWidgetOwnProps {
|
|
|
5942
5910
|
|
|
5943
5911
|
type ReceivablesWidgetProps = WidgetProviderProps & ReceivablesWidgetOwnProps;
|
|
5944
5912
|
|
|
5945
|
-
declare function ReceivablesWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent,
|
|
5913
|
+
declare function ReceivablesWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ReceivablesWidgetProps): React.JSX.Element;
|
|
5946
5914
|
|
|
5947
5915
|
/**
|
|
5948
5916
|
* Public {@link WidgetProvider} — the integrator-facing provider.
|
|
@@ -6057,5 +6025,5 @@ interface CheckAmountAndDetailScreenProps {
|
|
|
6057
6025
|
|
|
6058
6026
|
type PendingFeatureStyleSources = CheckAmountAndDetailScreenProps | GapCoverageAlertProps | NoPolicyBannerProps;
|
|
6059
6027
|
|
|
6060
|
-
export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, APPLICATION_STATUS_LABELS_EN, AcceptDisclosuresWidget, BALANCES_WIDGET_LABELS_EN, BANKING_COMPLIANCE_BANNER_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BankingComplianceBannerWidget, BillPayWidget, CardDetailsWidget, CounterpartsWidget, CreditCardsWidget, CustomersWidget, DebitCardsWidget, ERROR_STATE_ID, ExpenseManagementWidget, HELP_FAQ_EN, INSIGHTS_FEATURE_LABELS_EN, INSIGHTS_WIDGET_LABELS_EN,
|
|
6028
|
+
export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, APPLICATION_STATUS_LABELS_EN, AcceptDisclosuresWidget, BALANCES_WIDGET_LABELS_EN, BANKING_COMPLIANCE_BANNER_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BankingComplianceBannerWidget, BillPayWidget, CardDetailsWidget, CounterpartsWidget, CreditCardsWidget, CustomersWidget, DebitCardsWidget, ERROR_STATE_ID, ExpenseManagementWidget, HELP_FAQ_EN, INSIGHTS_FEATURE_LABELS_EN, INSIGHTS_WIDGET_LABELS_EN, InsightsWidget, LinkedAccountsWidget, OFFER_WIDGET_LABELS_EN, OFFER_WIDGET_STATUS_LABELS_EN, OfferBenefitIcon, OfferWidget, 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, 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 };
|
|
6061
6029
|
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, BankingComplianceBannerLabels, BankingComplianceBannerWidgetProps, 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, ExpenseStatusBadgeLabels, FileViewerLabels, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, InvoicesFilterBarLabelOverrides, InvoicesFilterBarLabels, InvoicesFilterLabelOverrides, InvoicesFilterLabels, LinkComponent, LinkComponentProps, FeatureLabels$2 as LinkedAccountsWidgetFeatureLabels, Labels$1 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, OfferStatusLabelValues, OfferStatusNoticeLabels, OfferWidgetBenefit, OfferWidgetContent, OfferWidgetHowItWorksStep, OfferWidgetImage, OfferWidgetLabels, OfferWidgetProps, OfferWidgetStatusLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps, ReceivableActionDialogLabels, ReceivableActionsModalLabels, ReceivableAuditHistoryLabels, ReceivableBankAttribution, ReceivableDetailsPanelLabelOverrides, ReceivableDetailsPanelLabels, ReceivableDocumentType, ReceivableFormDialogLabels, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivablePreviewLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, RefreshingRootWidgetProviderProps, ResultLabels, RootWidgetProviderProps, SettingsWidgetAdditionalSection, FeatureLabels$1 as SettingsWidgetFeatureLabels, Labels as SettingsWidgetLabels, SettingsWidgetProps, SettingsWidgetSection, SettingsWidgetSectionId, SingleInsightLabels, TransactionDetailsActionsLabels, TransactionDetailsLabels, FeatureLabels as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, 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
|
@@ -5,51 +5,50 @@ import { Scope as i, isScope as a } from "./libs/tesouro-embedded-components-rea
|
|
|
5
5
|
import { UIFramework as o } from "./libs/tesouro-embedded-components-react/shared/ui/dist/lib/UIContext/UIContext.js";
|
|
6
6
|
import { registerDesignSystemEnsurer as s, registerUIRenderers as c } from "./libs/tesouro-embedded-components-react/shared/ui/dist/lib/UIContext/uiRendererRegistry.js";
|
|
7
7
|
import { ERROR_STATE_ID as l } from "./libs/tesouro-embedded-components-react/shared/ui/dist/lib/ErrorState/ErrorState.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
|
|
55
|
-
export { q as ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, Y as ADDITIONAL_OWNERS_LABELS_EN, $ as APPLICATION_STATUS_LABELS_EN, J as AcceptDisclosuresWidget, M as BALANCES_WIDGET_LABELS_EN, ne as BANKING_COMPLIANCE_BANNER_LABELS_EN, X as BUSINESS_DETAILS_LABELS_EN, N as BalancesWidget, ee as BankAccountOnboardingWidget, D as BankAccountsWidget, re as BankingComplianceBannerWidget, O as BillPayWidget, k as CardDetailsWidget, ie as CounterpartsWidget, A as CreditCardsWidget, ae as CustomersWidget, j as DebitCardsWidget, l as ERROR_STATE_ID, R as ExpenseManagementWidget, V as HELP_FAQ_EN, P as INSIGHTS_FEATURE_LABELS_EN, F as INSIGHTS_WIDGET_LABELS_EN, u as Implementation, L as InsightsWidget, U as LinkedAccountsWidget, se as OFFER_WIDGET_LABELS_EN, oe as OFFER_WIDGET_STATUS_LABELS_EN, ce as OfferBenefitIcon, le as OfferWidget, Z as PERSONAL_DETAILS_LABELS_EN, ue as ProductsWidget, Q as RESULT_LABELS_EN, z as ReceivablesWidget, y as RefreshingRootWidgetProvider, g as RootWidgetProvider, I as SINGLE_INSIGHT_LABELS_EN, i as Scope, B as SettingsSection, H as SettingsWidget, W as TRANSFERS_FEATURE_LABELS_EN, G as TRANSFERS_WIDGET_LABELS_EN, K as TransfersWidget, o as UIFramework, t as WIDGET_SUITE_DEFAULT_SECTIONS, e as WIDGET_SUITE_LABELS_EN, de as WidgetProvider, te 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 };
|
|
8
|
+
import { getGlobalWidgetConfig as u, setGlobalWidgetConfig as d, updateGlobalWidgetConfig as f } from "./libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/globalStore.js";
|
|
9
|
+
import { getGlobalWidgetInitState as p, subscribeToGlobalWidgetInitState as m } from "./libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/widgetInitChannel.js";
|
|
10
|
+
import { RootWidgetProvider as h } from "./libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js";
|
|
11
|
+
import { WidgetTokenRefreshProvider as g } from "./libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetTokenRefreshProvider.js";
|
|
12
|
+
import { useWidgetToken as _ } from "./libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/useWidgetToken.js";
|
|
13
|
+
import { RefreshingRootWidgetProvider as v } from "./libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RefreshingRootWidgetProvider.js";
|
|
14
|
+
import { useDisclosuresAcceptanceSurface as y, useOwnWidgetConfig as b, useRefetchWidget as x, useWidgetConfig as S, useWidgetError as C, useWidgetInitStaleForToken as w, useWidgetLoading as T } from "./libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
15
|
+
import { BankAccountsWidget as E } from "./libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/BankAccountsWidget/BankAccountsWidget.js";
|
|
16
|
+
import { BillPayWidget as D } from "./libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js";
|
|
17
|
+
import { CardDetailsWidget as O } from "./libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/CardDetailsWidget.js";
|
|
18
|
+
import { CreditCardsWidget as k } from "./libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/CreditCardsWidget.js";
|
|
19
|
+
import { DebitCardsWidget as A } from "./libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/DebitCardsWidget.js";
|
|
20
|
+
import { BALANCES_WIDGET_LABELS_EN as j } from "./libs/tesouro-embedded-components-react/balances-widget/ui/dist/lib/BalancesWidget/labels.js";
|
|
21
|
+
import { BalancesWidget as M } from "./libs/tesouro-embedded-components-react/balances-widget/feature/dist/lib/BalancesWidget/BalancesWidgetFeature.js";
|
|
22
|
+
import { INSIGHTS_FEATURE_LABELS_EN as N } from "./libs/tesouro-embedded-components-react/insights-widget/feature/dist/lib/InsightsWidget/labels.js";
|
|
23
|
+
import { INSIGHTS_WIDGET_LABELS_EN as P } from "./libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/labels.js";
|
|
24
|
+
import { SINGLE_INSIGHT_LABELS_EN as F } from "./libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/SingleInsight/labels.js";
|
|
25
|
+
import { InsightsWidget as I } from "./libs/tesouro-embedded-components-react/insights-widget/feature/dist/lib/InsightsWidget/InsightsWidgetFeature.js";
|
|
26
|
+
import { ExpenseManagementWidget as L } from "./libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/ExpenseManagementWidget/ExpenseManagementWidget.js";
|
|
27
|
+
import { ReceivablesWidget as R } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js";
|
|
28
|
+
import { SettingsSection as z } from "./libs/tesouro-embedded-components-react/settings-widget/feature/dist/lib/SettingsWidget/sections.js";
|
|
29
|
+
import { HELP_FAQ_EN as B } from "./libs/tesouro-embedded-components-react/settings-widget/help/ui/contract/dist/index3.js";
|
|
30
|
+
import { SettingsWidget as V } from "./libs/tesouro-embedded-components-react/settings-widget/feature/dist/lib/SettingsWidget/SettingsWidget.js";
|
|
31
|
+
import { LinkedAccountsWidget as H } from "./libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/LinkedAccountsWidget.js";
|
|
32
|
+
import { DEFAULT_FEATURE_LABELS as U } from "./libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/featureLabels.js";
|
|
33
|
+
import { TRANSFERS_WIDGET_LABELS_EN as W } from "./libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/labels.js";
|
|
34
|
+
import { TransfersWidget as G } from "./libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/TransfersWidgetFeature.js";
|
|
35
|
+
import { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN as K } from "./libs/tesouro-embedded-components-react/accept-disclosures-widget/ui/dist/lib/AcceptDisclosuresWidget/labels.js";
|
|
36
|
+
import { AcceptDisclosuresWidget as q } from "./libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js";
|
|
37
|
+
import { ADDITIONAL_OWNERS_LABELS_EN as J } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index6.js";
|
|
38
|
+
import { BUSINESS_DETAILS_LABELS_EN as Y } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index8.js";
|
|
39
|
+
import { PERSONAL_DETAILS_LABELS_EN as X } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index9.js";
|
|
40
|
+
import { RESULT_LABELS_EN as Z } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index16.js";
|
|
41
|
+
import { APPLICATION_STATUS_LABELS_EN as Q } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/labels.js";
|
|
42
|
+
import { BankAccountOnboardingWidget as $ } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js";
|
|
43
|
+
import { WidgetSuite as ee } from "./libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/WidgetSuite.js";
|
|
44
|
+
import { BANKING_COMPLIANCE_BANNER_LABELS_EN as te } from "./libs/tesouro-embedded-components-react/banking-compliance-banner-widget/ui/dist/index3.js";
|
|
45
|
+
import { BankingComplianceBannerWidget as ne } from "./libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/lib/BankingComplianceBannerWidget/BankingComplianceBannerWidget.js";
|
|
46
|
+
import { CounterpartsWidget as re } from "./lib/CounterpartsWidgetPublic.js";
|
|
47
|
+
import { CustomersWidget as ie } from "./libs/tesouro-embedded-components-react/customers-widget/feature/dist/lib/CustomersWidget/CustomersWidget.js";
|
|
48
|
+
import { OFFER_WIDGET_STATUS_LABELS_EN as ae } from "./libs/tesouro-embedded-components-react/offer-widget/feature/dist/lib/OfferWidget/labels.js";
|
|
49
|
+
import { OFFER_WIDGET_LABELS_EN as oe } from "./libs/tesouro-embedded-components-react/offer-widget/ui/dist/index2.js";
|
|
50
|
+
import { OfferBenefitIcon as se } from "./libs/tesouro-embedded-components-react/offer-widget/ui/dist/index3.js";
|
|
51
|
+
import { OfferWidget as ce } from "./libs/tesouro-embedded-components-react/offer-widget/feature/dist/lib/OfferWidget/OfferWidget.js";
|
|
52
|
+
import { ProductsWidget as le } from "./libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/ProductsWidget.js";
|
|
53
|
+
import { WidgetProvider as ue } from "./lib/WidgetProviderPublic.js";
|
|
54
|
+
export { K as ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, J as ADDITIONAL_OWNERS_LABELS_EN, Q as APPLICATION_STATUS_LABELS_EN, q as AcceptDisclosuresWidget, j as BALANCES_WIDGET_LABELS_EN, te as BANKING_COMPLIANCE_BANNER_LABELS_EN, Y as BUSINESS_DETAILS_LABELS_EN, M as BalancesWidget, $ as BankAccountOnboardingWidget, E as BankAccountsWidget, ne as BankingComplianceBannerWidget, D as BillPayWidget, O as CardDetailsWidget, re as CounterpartsWidget, k as CreditCardsWidget, ie as CustomersWidget, A as DebitCardsWidget, l as ERROR_STATE_ID, L as ExpenseManagementWidget, B as HELP_FAQ_EN, N as INSIGHTS_FEATURE_LABELS_EN, P as INSIGHTS_WIDGET_LABELS_EN, I as InsightsWidget, H as LinkedAccountsWidget, oe as OFFER_WIDGET_LABELS_EN, ae as OFFER_WIDGET_STATUS_LABELS_EN, se as OfferBenefitIcon, ce as OfferWidget, X as PERSONAL_DETAILS_LABELS_EN, le as ProductsWidget, Z as RESULT_LABELS_EN, R as ReceivablesWidget, v as RefreshingRootWidgetProvider, h as RootWidgetProvider, F as SINGLE_INSIGHT_LABELS_EN, i as Scope, z as SettingsSection, V as SettingsWidget, U as TRANSFERS_FEATURE_LABELS_EN, W as TRANSFERS_WIDGET_LABELS_EN, G as TransfersWidget, o as UIFramework, t as WIDGET_SUITE_DEFAULT_SECTIONS, e as WIDGET_SUITE_LABELS_EN, ue as WidgetProvider, ee as WidgetSuite, n as WidgetSuiteSectionId, g as WidgetTokenRefreshProvider, r as cloneEmbeddedClient, u as getGlobalWidgetConfig, p as getGlobalWidgetInitState, a as isScope, s as registerDesignSystemEnsurer, c as registerUIRenderers, d as setGlobalWidgetConfig, m as subscribeToGlobalWidgetInitState, f as updateGlobalWidgetConfig, y as useDisclosuresAcceptanceSurface, b as useOwnWidgetConfig, x as useRefetchWidget, S as useWidgetConfig, C as useWidgetError, w as useWidgetInitStaleForToken, T as useWidgetLoading, _ as useWidgetToken };
|
|
@@ -482,21 +482,6 @@ declare const UIFramework: {
|
|
|
482
482
|
};
|
|
483
483
|
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
484
484
|
|
|
485
|
-
/**
|
|
486
|
-
* The implementation a widget renders with.
|
|
487
|
-
*
|
|
488
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
489
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
490
|
-
* - `monite` — the Monite SDK implementation.
|
|
491
|
-
*
|
|
492
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
493
|
-
* convention.
|
|
494
|
-
*/
|
|
495
|
-
declare const Implementation: {
|
|
496
|
-
readonly Native: "native";
|
|
497
|
-
readonly Monite: "monite";
|
|
498
|
-
};
|
|
499
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
500
485
|
/**
|
|
501
486
|
* The settable fields of the widget config cascade.
|
|
502
487
|
*
|
|
@@ -655,22 +640,6 @@ interface WidgetConfigInput {
|
|
|
655
640
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
656
641
|
*/
|
|
657
642
|
uiFramework?: UIFramework | null;
|
|
658
|
-
/**
|
|
659
|
-
* Which implementation a widget renders with.
|
|
660
|
-
*
|
|
661
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
662
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
663
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
664
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
665
|
-
* is read via `useImplementation`.
|
|
666
|
-
*
|
|
667
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
668
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
669
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
670
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
671
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
672
|
-
*/
|
|
673
|
-
implementation?: Implementation | null;
|
|
674
643
|
}
|
|
675
644
|
/**
|
|
676
645
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -787,7 +756,7 @@ type AcceptDisclosuresWidgetProps = WidgetProviderProps & InnerProps;
|
|
|
787
756
|
*
|
|
788
757
|
* See `WidgetSuite`, which mounts it as its acceptance state.
|
|
789
758
|
*/
|
|
790
|
-
declare function AcceptDisclosuresWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent,
|
|
759
|
+
declare function AcceptDisclosuresWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: AcceptDisclosuresWidgetProps): React.JSX.Element;
|
|
791
760
|
|
|
792
761
|
export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, AcceptDisclosuresWidget };
|
|
793
762
|
export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps };
|
|
@@ -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 };
|