@tesouro/embedded-components-react 0.5.152 → 0.5.154
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 +20 -17
- package/dist/index.d.ts +106 -91
- package/dist/index.js +15 -15
- package/dist/lib/CreditCardsWidget.d.ts +6 -0
- package/dist/lib/DebitCardsWidget.d.ts +6 -0
- package/dist/lib/WidgetSuite.d.ts +102 -6
- package/dist/lib/monite-sdk.d.ts +2 -44
- package/dist/lib/monite-sdk.js +9 -12
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index9.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsList.js +45 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +10 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index21.js +0 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +8 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +21 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +72 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +20 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +5 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +10 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +11 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +133 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +5 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +3 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +221 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +33 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +180 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +201 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +98 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +63 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +55 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +89 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +40 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +75 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +87 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +12 -220
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +23 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +17 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +5 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +20 -202
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +1 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +60 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +28 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +2 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +33 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +14 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +28 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +2 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +97 -17
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index14.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index16.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index6.js +16 -15
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index9.js +15 -2
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +0 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index596.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js +0 -97
package/README.md
CHANGED
|
@@ -225,6 +225,7 @@ A whole banking page in one component: a section menu over the widgets behind it
|
|
|
225
225
|
| `labels` | `WidgetSuiteLabelOverrides` | `WIDGET_SUITE_LABELS_EN` | Every string on the page, in one tree: a group for the shell, the menu names, the section heading, the disclosure states, and one per section carrying that section's widget copy. Override any leaf and its siblings keep their defaults. |
|
|
226
226
|
| `showSectionTitle` | `boolean` | `true` | Shows a heading above each section, named as its menu item is. Set `false` when your page already heads the suite. |
|
|
227
227
|
| `onboardingDisclosureLinks` | `DisclosureLinks` | `undefined` | Legal disclosure URLs (Terms, Privacy, Electronic Communication, Patriot Act) for the entry-point onboarding widget's business-details agreement step, shown to a session whose organization has no application yet. Omitted fields render as plain, non-clickable text. |
|
|
228
|
+
| `cardArtSrc` | `string` | `undefined` | Card artwork URL for the debit list's built-in Create card sheet. Omit it and Create card stays hidden. Credit Create card is always hidden in the suite. |
|
|
228
229
|
|
|
229
230
|
### AcceptDisclosuresWidget
|
|
230
231
|
|
|
@@ -287,23 +288,24 @@ One page of an organization's **credit** cards, with a scope-gated "Show my card
|
|
|
287
288
|
|
|
288
289
|
#### Props
|
|
289
290
|
|
|
290
|
-
| Prop | Type | Default | Description
|
|
291
|
-
| --------------------------- | --------------------------------------- | -------------- |
|
|
292
|
-
| `pagination` | `{ paginationToken?, pageSize? }` | `undefined` | Controlled cursor and page size. Supply with `onPaginationChange` when your app owns the list position.
|
|
293
|
-
| `defaultPagination` | `{ paginationToken?, pageSize? }` | First page, 10 | Initial cursor and page size when uncontrolled. Ignored when `pagination` is supplied.
|
|
294
|
-
| `onPaginationChange` | `(pagination: CardsPagination) => void` | `undefined` | Called whenever the widget moves page or changes page size. Persist the whole object, not the token alone.
|
|
295
|
-
| `labels` | `PartialDeep<CardsLabels>` | English labels | Overrides the copy of the list screen — its controls, columns, states, and the details sheet's screen-reader name under `detailsSheet`. Nested groups merge per group.
|
|
296
|
-
| `featureLabels` | `PartialDeep<CardsFeatureLabels>` | English labels | Overrides the copy this widget resolves rather than passes through — status and form-factor vocabulary, the empty-cell placeholder, and name fallbacks.
|
|
297
|
-
| `selectedCardId` | `string \| null` | `undefined` | Controlled selection of the card whose details panel is open. `null` closes it; omit for uncontrolled. See **Selection** below.
|
|
298
|
-
| `defaultSelectedCardId` | `string \| null` | `undefined` | Initial selection when uncontrolled. Ignored when `selectedCardId` is supplied.
|
|
299
|
-
| `onSelectedCardIdChange` | `(cardId: string \| null) => void` | `undefined` | Fires whenever the open card changes, including on close (`null`). Supplying it does **not** change what renders.
|
|
300
|
-
| `cardDetailsLabels` | `PartialDeep<CardDetailsWidgetLabels>` | English labels | Label overrides forwarded into the details panel.
|
|
301
|
-
| `cardDetailsFeatureLabels` | `PartialDeep<CardDetailsFeatureLabels>` | English labels | Overrides for the copy the panel's feature layer resolves — status vocabulary, form-factor copy, program label, copy-success toast. Distinct from `featureLabels`.
|
|
302
|
-
| `cardDetailsActivateLabels` | `PartialDeep<ActivateCardPanelLabels>` | English labels | Overrides for the Activate Card form the details panel opens — its heading, the two field labels, and its validation and status copy.
|
|
303
|
-
| `bankLogoSrc` | `string` | `undefined` | Bank logo for the details panel's card face. Omit and the face renders without a logo rather than with a placeholder.
|
|
304
|
-
| `bankLogoAlt` | `string` | `undefined` | Alt text for `bankLogoSrc`.
|
|
305
|
-
| `onCreateCard` | `() => void` | `undefined` | Host-owned Create card handler. Required for the button to render at all. See **Create card** below.
|
|
306
|
-
| `
|
|
291
|
+
| Prop | Type | Default | Description |
|
|
292
|
+
| --------------------------- | --------------------------------------- | -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
293
|
+
| `pagination` | `{ paginationToken?, pageSize? }` | `undefined` | Controlled cursor and page size. Supply with `onPaginationChange` when your app owns the list position. |
|
|
294
|
+
| `defaultPagination` | `{ paginationToken?, pageSize? }` | First page, 10 | Initial cursor and page size when uncontrolled. Ignored when `pagination` is supplied. |
|
|
295
|
+
| `onPaginationChange` | `(pagination: CardsPagination) => void` | `undefined` | Called whenever the widget moves page or changes page size. Persist the whole object, not the token alone. |
|
|
296
|
+
| `labels` | `PartialDeep<CardsLabels>` | English labels | Overrides the copy of the list screen — its controls, columns, states, and the details sheet's screen-reader name under `detailsSheet`. Nested groups merge per group. |
|
|
297
|
+
| `featureLabels` | `PartialDeep<CardsFeatureLabels>` | English labels | Overrides the copy this widget resolves rather than passes through — status and form-factor vocabulary, the empty-cell placeholder, and name fallbacks. |
|
|
298
|
+
| `selectedCardId` | `string \| null` | `undefined` | Controlled selection of the card whose details panel is open. `null` closes it; omit for uncontrolled. See **Selection** below. |
|
|
299
|
+
| `defaultSelectedCardId` | `string \| null` | `undefined` | Initial selection when uncontrolled. Ignored when `selectedCardId` is supplied. |
|
|
300
|
+
| `onSelectedCardIdChange` | `(cardId: string \| null) => void` | `undefined` | Fires whenever the open card changes, including on close (`null`). Supplying it does **not** change what renders. |
|
|
301
|
+
| `cardDetailsLabels` | `PartialDeep<CardDetailsWidgetLabels>` | English labels | Label overrides forwarded into the details panel. |
|
|
302
|
+
| `cardDetailsFeatureLabels` | `PartialDeep<CardDetailsFeatureLabels>` | English labels | Overrides for the copy the panel's feature layer resolves — status vocabulary, form-factor copy, program label, copy-success toast. Distinct from `featureLabels`. |
|
|
303
|
+
| `cardDetailsActivateLabels` | `PartialDeep<ActivateCardPanelLabels>` | English labels | Overrides for the Activate Card form the details panel opens — its heading, the two field labels, and its validation and status copy. |
|
|
304
|
+
| `bankLogoSrc` | `string` | `undefined` | Bank logo for the details panel's card face. Omit and the face renders without a logo rather than with a placeholder. |
|
|
305
|
+
| `bankLogoAlt` | `string` | `undefined` | Alt text for `bankLogoSrc`. |
|
|
306
|
+
| `onCreateCard` | `() => void` | `undefined` | Host-owned Create card handler. Required for the button to render at all. See **Create card** below. |
|
|
307
|
+
| `headerStart` | `ReactNode` | `undefined` | Your own markup for the start of the header row, beside Create card. Pass your heading here so the two share one row; the widget renders no heading of its own, so you choose the element and level. |
|
|
308
|
+
| `onActivateCard` | `(cardId: string) => void` | `undefined` | Called when a row's Activate button is clicked. Omit it and the button is not rendered. |
|
|
307
309
|
|
|
308
310
|
### DebitCardsWidget
|
|
309
311
|
|
|
@@ -330,6 +332,7 @@ One page of an organization's **debit** cards, with a scope-gated "Show my cards
|
|
|
330
332
|
| `createCardLabels` | `PartialDeep<CreateCardWidgetLabels>` | English labels | Label overrides forwarded into the nested create-card panel. |
|
|
331
333
|
| `createCardFeatureLabels` | toast / untitled-funding overrides | English labels | Overrides for the copy the create panel's feature layer resolves — mutation toasts, untitled funding-account fallback, pending-activation success copy. |
|
|
332
334
|
| `onCreateCard` | `() => void` | `undefined` | Host-owned Create card handler. When supplied, the built-in sheet does not open — use it for a custom issuance flow. |
|
|
335
|
+
| `headerStart` | `ReactNode` | `undefined` | Your own markup for the start of the header row, beside Create card. Pass your heading here so the two share one row; the widget renders no heading of its own, so you choose the element and level. |
|
|
333
336
|
| `onActivateCard` | `(cardId: string) => void` | `undefined` | Called when a row's Activate button is clicked. Omit it and the button is not rendered. |
|
|
334
337
|
|
|
335
338
|
### CardDetailsWidget
|
package/dist/index.d.ts
CHANGED
|
@@ -2806,6 +2806,12 @@ interface CardsWidgetProps extends WidgetProviderProps {
|
|
|
2806
2806
|
* does nothing.
|
|
2807
2807
|
*/
|
|
2808
2808
|
onCreateCard?: () => void;
|
|
2809
|
+
/**
|
|
2810
|
+
* Your own markup for the start of the list's header row, beside Create card,
|
|
2811
|
+
* typically the heading you would otherwise render above the widget. The
|
|
2812
|
+
* widget renders no heading of its own, so you pick the element and level.
|
|
2813
|
+
*/
|
|
2814
|
+
headerStart?: ReactNode;
|
|
2809
2815
|
/**
|
|
2810
2816
|
* Called with the card's id when a row's Activate button is clicked. The button
|
|
2811
2817
|
* renders only on cards in `PENDING_ACTIVATION`, and only when the widget token
|
|
@@ -2962,6 +2968,88 @@ interface InsightsWidgetProps extends WidgetProviderProps, InsightsWidgetPassthr
|
|
|
2962
2968
|
declare function InsightsWidget({ labels, singleInsightLabels, featureLabels, routingEnabled, onRoutingToggleChange, onLinkExternalAccountClick, ...widgetProviderProps }: InsightsWidgetProps): React.JSX.Element;
|
|
2963
2969
|
|
|
2964
2970
|
interface Labels$2 {
|
|
2971
|
+
title: string;
|
|
2972
|
+
connectButton: string;
|
|
2973
|
+
verifyCtaButton: string;
|
|
2974
|
+
learnMoreButton: string;
|
|
2975
|
+
connectTitle: string;
|
|
2976
|
+
nicknameLabel: string;
|
|
2977
|
+
accountNumberLabel: string;
|
|
2978
|
+
routingNumberLabel: string;
|
|
2979
|
+
routingNumberError: string;
|
|
2980
|
+
typeLabel: string;
|
|
2981
|
+
accountTypePlaceholder: string;
|
|
2982
|
+
checkingOption: string;
|
|
2983
|
+
savingsOption: string;
|
|
2984
|
+
cancelButton: string;
|
|
2985
|
+
nextButton: string;
|
|
2986
|
+
backButton: string;
|
|
2987
|
+
/** Step indicator template, e.g. "Step {current}/{total}". */
|
|
2988
|
+
stepIndicator: string;
|
|
2989
|
+
connectStep1Heading: string;
|
|
2990
|
+
connectStep1Description: string;
|
|
2991
|
+
connectStep2Heading: string;
|
|
2992
|
+
connectStep2Description: string;
|
|
2993
|
+
teamMemberAccessTooltip: string;
|
|
2994
|
+
teamMembersLoadingLabel: string;
|
|
2995
|
+
teamMembersErrorTitle: string;
|
|
2996
|
+
teamMembersEmptyLabel: string;
|
|
2997
|
+
summaryCompletedHeading: string;
|
|
2998
|
+
summaryNextStepsHeading: string;
|
|
2999
|
+
summaryAccountPrefix: string;
|
|
3000
|
+
summaryStep1Title: string;
|
|
3001
|
+
summaryStep1Description: string;
|
|
3002
|
+
summaryStep2Title: string;
|
|
3003
|
+
summaryStep2Description: string;
|
|
3004
|
+
summaryStep3Title: string;
|
|
3005
|
+
summaryStep3Description: string;
|
|
3006
|
+
summaryStep4Title: string;
|
|
3007
|
+
summaryStep4Description: string;
|
|
3008
|
+
statusComplete: string;
|
|
3009
|
+
statusTodo: string;
|
|
3010
|
+
backToTransfersButton: string;
|
|
3011
|
+
saveButton: string;
|
|
3012
|
+
editButton: string;
|
|
3013
|
+
verifyButton: string;
|
|
3014
|
+
unlinkButton: string;
|
|
3015
|
+
linkButton: string;
|
|
3016
|
+
editTitle: string;
|
|
3017
|
+
verifyTitle: string;
|
|
3018
|
+
verifyDescription: string;
|
|
3019
|
+
verifySectionHeading: string;
|
|
3020
|
+
verifyExampleLabel: string;
|
|
3021
|
+
verifyExampleText: string;
|
|
3022
|
+
verifyAccountInProcess: string;
|
|
3023
|
+
verifySuccessTitle: string;
|
|
3024
|
+
verifySuccessDescription: string;
|
|
3025
|
+
unlinkTitle: string;
|
|
3026
|
+
unlinkDescription: string;
|
|
3027
|
+
unlinkConfirmButton: string;
|
|
3028
|
+
firstAmountLabel: string;
|
|
3029
|
+
secondAmountLabel: string;
|
|
3030
|
+
verifyAmountError: string;
|
|
3031
|
+
loadingLabel: string;
|
|
3032
|
+
errorTitle: string;
|
|
3033
|
+
actionErrorTitle: string;
|
|
3034
|
+
emptyTitle: string;
|
|
3035
|
+
emptyDescription: string;
|
|
3036
|
+
}
|
|
3037
|
+
|
|
3038
|
+
interface FeatureLabels$2 {
|
|
3039
|
+
accountFallback: string;
|
|
3040
|
+
accountLabel: string;
|
|
3041
|
+
pendingStatus: string;
|
|
3042
|
+
editSuccessToast: string;
|
|
3043
|
+
unlinkSuccessToast: string;
|
|
3044
|
+
}
|
|
3045
|
+
|
|
3046
|
+
interface LinkedAccountsWidgetProps extends WidgetProviderProps {
|
|
3047
|
+
labels?: Partial<Labels$2>;
|
|
3048
|
+
featureLabels?: Partial<FeatureLabels$2>;
|
|
3049
|
+
}
|
|
3050
|
+
declare function LinkedAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: LinkedAccountsWidgetProps): React.JSX.Element;
|
|
3051
|
+
|
|
3052
|
+
interface Labels$1 {
|
|
2965
3053
|
description?: string;
|
|
2966
3054
|
}
|
|
2967
3055
|
|
|
@@ -3022,7 +3110,7 @@ interface MoniteWrapperProps {
|
|
|
3022
3110
|
|
|
3023
3111
|
type MoniteRegionProviderProps = WidgetProviderProps & MoniteWrapperProps;
|
|
3024
3112
|
|
|
3025
|
-
interface FeatureLabels$
|
|
3113
|
+
interface FeatureLabels$1 {
|
|
3026
3114
|
profileSection: string;
|
|
3027
3115
|
teamSection: string;
|
|
3028
3116
|
invoiceSection: string;
|
|
@@ -3079,8 +3167,8 @@ interface SettingsWidgetAdditionalSection extends SettingsWidgetSection {
|
|
|
3079
3167
|
}
|
|
3080
3168
|
|
|
3081
3169
|
interface SettingsWidgetProps extends MoniteRegionProviderProps {
|
|
3082
|
-
labels?: Partial<Labels$
|
|
3083
|
-
featureLabels?: Partial<FeatureLabels$
|
|
3170
|
+
labels?: Partial<Labels$1>;
|
|
3171
|
+
featureLabels?: Partial<FeatureLabels$1>;
|
|
3084
3172
|
/** Forwarded to the embedded Team section's {@link TeamWidget} — the
|
|
3085
3173
|
* allowlisted URL invite emails link to. Defaults to
|
|
3086
3174
|
* `${window.location.origin}/accept-invite`; set it when the host app's
|
|
@@ -3204,17 +3292,17 @@ interface TransfersWidgetLabels {
|
|
|
3204
3292
|
}
|
|
3205
3293
|
declare const TRANSFERS_WIDGET_LABELS_EN: TransfersWidgetLabels;
|
|
3206
3294
|
|
|
3207
|
-
interface FeatureLabels
|
|
3295
|
+
interface FeatureLabels {
|
|
3208
3296
|
unavailableLabel: string;
|
|
3209
3297
|
routeSeparator: string;
|
|
3210
3298
|
defaultCurrencyCode: string;
|
|
3211
3299
|
defaultSecCode: string;
|
|
3212
3300
|
}
|
|
3213
|
-
declare const DEFAULT_FEATURE_LABELS: FeatureLabels
|
|
3301
|
+
declare const DEFAULT_FEATURE_LABELS: FeatureLabels;
|
|
3214
3302
|
|
|
3215
3303
|
interface TransfersWidgetPassthroughProps {
|
|
3216
3304
|
labels?: Partial<TransfersWidgetLabels>;
|
|
3217
|
-
featureLabels?: Partial<FeatureLabels
|
|
3305
|
+
featureLabels?: Partial<FeatureLabels>;
|
|
3218
3306
|
/**
|
|
3219
3307
|
* Whether the transfer money modal is showing. Supplying it makes the modal
|
|
3220
3308
|
* controlled: the widget reports every open and close through
|
|
@@ -3384,6 +3472,7 @@ type WidgetSuiteOnboardingLabels = WidgetLabelProps<BankAccountOnboardingWidgetP
|
|
|
3384
3472
|
type WidgetSuiteCreditCardsLabels = WidgetLabelProps<CreditCardsWidgetProps>;
|
|
3385
3473
|
type WidgetSuiteDebitCardsLabels = WidgetLabelProps<DebitCardsWidgetProps>;
|
|
3386
3474
|
type WidgetSuiteTransfersLabels = WidgetLabelProps<TransfersWidgetProps>;
|
|
3475
|
+
type WidgetSuiteLinkedAccountsLabels = WidgetLabelProps<LinkedAccountsWidgetProps>;
|
|
3387
3476
|
type WidgetSuiteSettingsLabels = WidgetLabelProps<SettingsWidgetProps>;
|
|
3388
3477
|
/** The two widgets the Dashboard section pairs, each taking its own copy. */
|
|
3389
3478
|
interface WidgetSuiteDashboardLabels {
|
|
@@ -3425,6 +3514,7 @@ interface WidgetSuiteSectionContentLabels {
|
|
|
3425
3514
|
accounts?: WidgetSuiteAccountsLabels;
|
|
3426
3515
|
cards: WidgetSuiteCardsLabels;
|
|
3427
3516
|
transfers?: WidgetSuiteTransfersLabels;
|
|
3517
|
+
linkedAccounts?: WidgetSuiteLinkedAccountsLabels;
|
|
3428
3518
|
expenses: WidgetSuiteExpensesLabels;
|
|
3429
3519
|
settings?: WidgetSuiteSettingsLabels;
|
|
3430
3520
|
}
|
|
@@ -3550,6 +3640,13 @@ interface WidgetSuiteProps extends WidgetProviderProps {
|
|
|
3550
3640
|
* plain (non-clickable) text in that step, same as the widget's own default.
|
|
3551
3641
|
*/
|
|
3552
3642
|
onboardingDisclosureLinks?: DisclosureLinks;
|
|
3643
|
+
/**
|
|
3644
|
+
* Card artwork URL for the debit list's built-in Create card sheet. Host-resolved
|
|
3645
|
+
* for the same reason as `onboardingDisclosureLinks`: the package ships no
|
|
3646
|
+
* artwork. Omitted, Create card stays hidden. Credit has no in-package issuance
|
|
3647
|
+
* flow, so its Create card stays hidden either way.
|
|
3648
|
+
*/
|
|
3649
|
+
cardArtSrc?: string;
|
|
3553
3650
|
}
|
|
3554
3651
|
/**
|
|
3555
3652
|
* A suite of widgets bound together by navigation.
|
|
@@ -4374,7 +4471,7 @@ type CustomersWidgetProps = WidgetProviderProps & CustomersWidgetOwnProps;
|
|
|
4374
4471
|
*/
|
|
4375
4472
|
declare function CustomersWidget({ implementation, onViewAllDocuments, onCreateDocument, ...rest }: CustomersWidgetProps): React.JSX.Element;
|
|
4376
4473
|
|
|
4377
|
-
interface Labels
|
|
4474
|
+
interface Labels {
|
|
4378
4475
|
description: string;
|
|
4379
4476
|
receiptsTab: string;
|
|
4380
4477
|
matchingTab: string;
|
|
@@ -4408,7 +4505,7 @@ interface UploadReceiptWidgetProps {
|
|
|
4408
4505
|
declare function UploadReceiptWidget({ emailAddress, onFileUpload, onAwaitMatching, isUploading, }: UploadReceiptWidgetProps): React.JSX.Element;
|
|
4409
4506
|
|
|
4410
4507
|
interface ExpenseManagementWidgetProps extends WidgetProviderProps {
|
|
4411
|
-
labels?: Partial<Labels
|
|
4508
|
+
labels?: Partial<Labels>;
|
|
4412
4509
|
receiptUpload?: UploadReceiptWidgetProps;
|
|
4413
4510
|
receiptsContent?: ReactNode;
|
|
4414
4511
|
matchingContent?: ReactNode;
|
|
@@ -4753,88 +4850,6 @@ type ReceivablesWidgetProps = WidgetProviderProps & ReceivablesWidgetOwnProps;
|
|
|
4753
4850
|
|
|
4754
4851
|
declare function ReceivablesWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ReceivablesWidgetProps): React.JSX.Element;
|
|
4755
4852
|
|
|
4756
|
-
interface Labels {
|
|
4757
|
-
title: string;
|
|
4758
|
-
connectButton: string;
|
|
4759
|
-
verifyCtaButton: string;
|
|
4760
|
-
learnMoreButton: string;
|
|
4761
|
-
connectTitle: string;
|
|
4762
|
-
nicknameLabel: string;
|
|
4763
|
-
accountNumberLabel: string;
|
|
4764
|
-
routingNumberLabel: string;
|
|
4765
|
-
routingNumberError: string;
|
|
4766
|
-
typeLabel: string;
|
|
4767
|
-
accountTypePlaceholder: string;
|
|
4768
|
-
checkingOption: string;
|
|
4769
|
-
savingsOption: string;
|
|
4770
|
-
cancelButton: string;
|
|
4771
|
-
nextButton: string;
|
|
4772
|
-
backButton: string;
|
|
4773
|
-
/** Step indicator template, e.g. "Step {current}/{total}". */
|
|
4774
|
-
stepIndicator: string;
|
|
4775
|
-
connectStep1Heading: string;
|
|
4776
|
-
connectStep1Description: string;
|
|
4777
|
-
connectStep2Heading: string;
|
|
4778
|
-
connectStep2Description: string;
|
|
4779
|
-
teamMemberAccessTooltip: string;
|
|
4780
|
-
teamMembersLoadingLabel: string;
|
|
4781
|
-
teamMembersErrorTitle: string;
|
|
4782
|
-
teamMembersEmptyLabel: string;
|
|
4783
|
-
summaryCompletedHeading: string;
|
|
4784
|
-
summaryNextStepsHeading: string;
|
|
4785
|
-
summaryAccountPrefix: string;
|
|
4786
|
-
summaryStep1Title: string;
|
|
4787
|
-
summaryStep1Description: string;
|
|
4788
|
-
summaryStep2Title: string;
|
|
4789
|
-
summaryStep2Description: string;
|
|
4790
|
-
summaryStep3Title: string;
|
|
4791
|
-
summaryStep3Description: string;
|
|
4792
|
-
summaryStep4Title: string;
|
|
4793
|
-
summaryStep4Description: string;
|
|
4794
|
-
statusComplete: string;
|
|
4795
|
-
statusTodo: string;
|
|
4796
|
-
backToTransfersButton: string;
|
|
4797
|
-
saveButton: string;
|
|
4798
|
-
editButton: string;
|
|
4799
|
-
verifyButton: string;
|
|
4800
|
-
unlinkButton: string;
|
|
4801
|
-
linkButton: string;
|
|
4802
|
-
editTitle: string;
|
|
4803
|
-
verifyTitle: string;
|
|
4804
|
-
verifyDescription: string;
|
|
4805
|
-
verifySectionHeading: string;
|
|
4806
|
-
verifyExampleLabel: string;
|
|
4807
|
-
verifyExampleText: string;
|
|
4808
|
-
verifyAccountInProcess: string;
|
|
4809
|
-
verifySuccessTitle: string;
|
|
4810
|
-
verifySuccessDescription: string;
|
|
4811
|
-
unlinkTitle: string;
|
|
4812
|
-
unlinkDescription: string;
|
|
4813
|
-
unlinkConfirmButton: string;
|
|
4814
|
-
firstAmountLabel: string;
|
|
4815
|
-
secondAmountLabel: string;
|
|
4816
|
-
verifyAmountError: string;
|
|
4817
|
-
loadingLabel: string;
|
|
4818
|
-
errorTitle: string;
|
|
4819
|
-
actionErrorTitle: string;
|
|
4820
|
-
emptyTitle: string;
|
|
4821
|
-
emptyDescription: string;
|
|
4822
|
-
}
|
|
4823
|
-
|
|
4824
|
-
interface FeatureLabels {
|
|
4825
|
-
accountFallback: string;
|
|
4826
|
-
accountLabel: string;
|
|
4827
|
-
pendingStatus: string;
|
|
4828
|
-
editSuccessToast: string;
|
|
4829
|
-
unlinkSuccessToast: string;
|
|
4830
|
-
}
|
|
4831
|
-
|
|
4832
|
-
interface LinkedAccountsWidgetProps extends WidgetProviderProps {
|
|
4833
|
-
labels?: Partial<Labels>;
|
|
4834
|
-
featureLabels?: Partial<FeatureLabels>;
|
|
4835
|
-
}
|
|
4836
|
-
declare function LinkedAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: LinkedAccountsWidgetProps): React.JSX.Element;
|
|
4837
|
-
|
|
4838
4853
|
interface MarketingWidgetLabels {
|
|
4839
4854
|
applyNow: string;
|
|
4840
4855
|
learnMore: string;
|
|
@@ -5131,4 +5146,4 @@ interface CheckAmountAndDetailScreenProps {
|
|
|
5131
5146
|
type PendingFeatureStyleSources = CheckAmountAndDetailScreenProps | GapCoverageAlertProps | NoPolicyBannerProps;
|
|
5132
5147
|
|
|
5133
5148
|
export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, AcceptDisclosuresWidget, BALANCES_WIDGET_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BillPayWidget, CardDetailsWidget, CounterpartsWidget, CreditCardsWidget, CustomersWidget, DebitCardsWidget, ERROR_STATE_ID, ExpenseManagementWidget, HELP_FAQ_EN, INSIGHTS_FEATURE_LABELS_EN, INSIGHTS_WIDGET_LABELS_EN, Implementation, InsightsWidget, ReceivablesWidgetMonite as InvoicingWidget, LinkedAccountsWidget, MARKETING_WIDGET_LABELS_EN, MarketingBenefitIcon, MarketingWidget, PERSONAL_DETAILS_LABELS_EN, ProductsWidget, RESULT_LABELS_EN, ReceivablesWidget, RefreshingRootWidgetProvider, RootWidgetProvider, SINGLE_INSIGHT_LABELS_EN, Scope, SettingsSection, SettingsWidget, DEFAULT_FEATURE_LABELS as TRANSFERS_FEATURE_LABELS_EN, TRANSFERS_WIDGET_LABELS_EN, TransfersWidget, UIFramework, UploadReceiptWidget, WIDGET_SUITE_DEFAULT_SECTIONS, WIDGET_SUITE_LABELS_EN, WidgetProvider, WidgetSuite, WidgetSuiteSectionId, WidgetTokenRefreshProvider, cloneEmbeddedClient, getGlobalWidgetConfig, getGlobalWidgetInitState, isScope, registerDesignSystemEnsurer, registerUIRenderers, setGlobalWidgetConfig, subscribeToGlobalWidgetInitState, updateGlobalWidgetConfig, useDisclosuresAcceptanceSurface, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetInitStaleForToken, useWidgetLoading, useWidgetToken };
|
|
5134
|
-
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, CounterpartActionTarget, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreditCardsWidgetProps, CustomersWidgetOwnProps, CustomersWidgetProps, DebitCardsWidgetProps, DisclosureLinks, EmbeddedClient, Labels
|
|
5149
|
+
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, CounterpartActionTarget, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreditCardsWidgetProps, CustomersWidgetOwnProps, CustomersWidgetProps, DebitCardsWidgetProps, DisclosureLinks, EmbeddedClient, Labels as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, ReceivablesWidgetMoniteProps as InvoicingWidgetProps, LinkComponent, LinkComponentProps, FeatureLabels$2 as LinkedAccountsWidgetFeatureLabels, Labels$2 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MarketingWidgetAppearance, MarketingWidgetBenefit, MarketingWidgetContent, MarketingWidgetHowItWorksStep, 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$1 as SettingsWidgetFeatureLabels, Labels$1 as SettingsWidgetLabels, SettingsWidgetProps, SettingsWidgetSection, SettingsWidgetSectionId, SingleInsightLabels, FeatureLabels as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, UploadReceiptWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetInitState, WidgetProviderLabels, WidgetProviderProps, WidgetSuiteCardsLabels, WidgetSuiteDashboardLabels, WidgetSuiteDisclosureLabels, WidgetSuiteExpensesLabels, WidgetSuiteLabelOverrides, WidgetSuiteLabels, WidgetSuiteMenuLabels, WidgetSuiteOnboardingGateLabels, WidgetSuiteOnboardingLabels, WidgetSuiteProps, WidgetSuiteSectionContentLabels, WidgetSuiteSectionTitleLabels, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };
|
package/dist/index.js
CHANGED
|
@@ -31,17 +31,18 @@ import { UploadReceiptWidget as V } from "./libs/tesouro-embedded-components-rea
|
|
|
31
31
|
import { ExpenseManagementWidget as H } from "./libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index13.js";
|
|
32
32
|
import { HELP_FAQ_EN as U } from "./libs/tesouro-embedded-components-react/settings-widget/help/ui/contract/dist/index3.js";
|
|
33
33
|
import { SettingsWidget as W } from "./libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js";
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
34
|
+
import { LinkedAccountsWidget as G } from "./libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index10.js";
|
|
35
|
+
import { DEFAULT_FEATURE_LABELS as K } from "./libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index3.js";
|
|
36
|
+
import { TRANSFERS_WIDGET_LABELS_EN as q } from "./libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/labels.js";
|
|
37
|
+
import { TransfersWidget as J } from "./libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index7.js";
|
|
38
|
+
import { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN as Y } from "./libs/tesouro-embedded-components-react/accept-disclosures-widget/ui/dist/lib/AcceptDisclosuresWidget/labels.js";
|
|
39
|
+
import { AcceptDisclosuresWidget as X } from "./libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index5.js";
|
|
40
|
+
import { ADDITIONAL_OWNERS_LABELS_EN as Z } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index5.js";
|
|
41
|
+
import { BUSINESS_DETAILS_LABELS_EN as Q } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index7.js";
|
|
42
|
+
import { PERSONAL_DETAILS_LABELS_EN as $ } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index8.js";
|
|
43
|
+
import { RESULT_LABELS_EN as ee } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index13.js";
|
|
44
|
+
import { BankAccountOnboardingWidget as te } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index22.js";
|
|
45
|
+
import { WidgetSuite as ne } from "./libs/tesouro-embedded-components-react/widget-suite/feature/dist/index16.js";
|
|
45
46
|
import "./lib/WidgetSuite.js";
|
|
46
47
|
import "./lib/AcceptDisclosuresWidget.js";
|
|
47
48
|
import "./lib/BankAccountsWidget.js";
|
|
@@ -49,16 +50,15 @@ import "./lib/BillPayWidget.js";
|
|
|
49
50
|
import "./lib/CreditCardsWidget.js";
|
|
50
51
|
import "./lib/DebitCardsWidget.js";
|
|
51
52
|
import "./lib/CardDetailsWidget.js";
|
|
52
|
-
import { CounterpartsWidget as
|
|
53
|
+
import { CounterpartsWidget as re } from "./lib/CounterpartsWidgetPublic.js";
|
|
53
54
|
import "./lib/CounterpartsWidget.js";
|
|
54
|
-
import { CustomersWidget as
|
|
55
|
+
import { CustomersWidget as ie } from "./libs/tesouro-embedded-components-react/customers-widget/feature/dist/index5.js";
|
|
55
56
|
import "./lib/CustomersWidget.js";
|
|
56
57
|
import "./lib/ExpenseManagementWidget.js";
|
|
57
58
|
import "./lib/UploadReceiptWidget.js";
|
|
58
59
|
import "./lib/BalancesWidget.js";
|
|
59
60
|
import "./lib/InsightsWidget.js";
|
|
60
61
|
import "./lib/InvoicingWidget.js";
|
|
61
|
-
import { LinkedAccountsWidget as ie } from "./libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index10.js";
|
|
62
62
|
import "./lib/LinkedAccountsWidget.js";
|
|
63
63
|
import "./lib/BankAccountOnboardingWidget.js";
|
|
64
64
|
import { MARKETING_WIDGET_LABELS_EN as ae } from "./libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index2.js";
|
|
@@ -73,4 +73,4 @@ import "./lib/TransfersWidget.js";
|
|
|
73
73
|
import { WidgetProvider as le } from "./lib/WidgetProviderPublic.js";
|
|
74
74
|
import "./lib/WidgetProvider.js";
|
|
75
75
|
import "./packages/tesouro-embedded-components-react/src/scopes.js";
|
|
76
|
-
export {
|
|
76
|
+
export { Y as ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, Z as ADDITIONAL_OWNERS_LABELS_EN, X as AcceptDisclosuresWidget, M as BALANCES_WIDGET_LABELS_EN, Q as BUSINESS_DETAILS_LABELS_EN, N as BalancesWidget, te as BankAccountOnboardingWidget, D as BankAccountsWidget, O as BillPayWidget, k as CardDetailsWidget, re as CounterpartsWidget, A as CreditCardsWidget, ie as CustomersWidget, j as DebitCardsWidget, l as ERROR_STATE_ID, H as ExpenseManagementWidget, U as HELP_FAQ_EN, P as INSIGHTS_FEATURE_LABELS_EN, F as INSIGHTS_WIDGET_LABELS_EN, u as Implementation, L as InsightsWidget, R as InvoicingWidget, G as LinkedAccountsWidget, ae as MARKETING_WIDGET_LABELS_EN, oe as MarketingBenefitIcon, se as MarketingWidget, $ as PERSONAL_DETAILS_LABELS_EN, ce as ProductsWidget, ee 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, W as SettingsWidget, K as TRANSFERS_FEATURE_LABELS_EN, q as TRANSFERS_WIDGET_LABELS_EN, J as TransfersWidget, o as UIFramework, V as UploadReceiptWidget, t as WIDGET_SUITE_DEFAULT_SECTIONS, e as WIDGET_SUITE_LABELS_EN, le as WidgetProvider, ne as WidgetSuite, n as WidgetSuiteSectionId, _ as WidgetTokenRefreshProvider, r as cloneEmbeddedClient, d as getGlobalWidgetConfig, m as getGlobalWidgetInitState, a as isScope, s as registerDesignSystemEnsurer, c as registerUIRenderers, f as setGlobalWidgetConfig, h as subscribeToGlobalWidgetInitState, p as updateGlobalWidgetConfig, b as useDisclosuresAcceptanceSurface, x as useOwnWidgetConfig, S as useRefetchWidget, C as useWidgetConfig, w as useWidgetError, T as useWidgetInitStaleForToken, E as useWidgetLoading, v as useWidgetToken };
|
|
@@ -1411,6 +1411,12 @@ interface CardsWidgetProps extends WidgetProviderProps {
|
|
|
1411
1411
|
* does nothing.
|
|
1412
1412
|
*/
|
|
1413
1413
|
onCreateCard?: () => void;
|
|
1414
|
+
/**
|
|
1415
|
+
* Your own markup for the start of the list's header row, beside Create card,
|
|
1416
|
+
* typically the heading you would otherwise render above the widget. The
|
|
1417
|
+
* widget renders no heading of its own, so you pick the element and level.
|
|
1418
|
+
*/
|
|
1419
|
+
headerStart?: ReactNode;
|
|
1414
1420
|
/**
|
|
1415
1421
|
* Called with the card's id when a row's Activate button is clicked. The button
|
|
1416
1422
|
* renders only on cards in `PENDING_ACTIVATION`, and only when the widget token
|
|
@@ -1411,6 +1411,12 @@ interface CardsWidgetProps extends WidgetProviderProps {
|
|
|
1411
1411
|
* does nothing.
|
|
1412
1412
|
*/
|
|
1413
1413
|
onCreateCard?: () => void;
|
|
1414
|
+
/**
|
|
1415
|
+
* Your own markup for the start of the list's header row, beside Create card,
|
|
1416
|
+
* typically the heading you would otherwise render above the widget. The
|
|
1417
|
+
* widget renders no heading of its own, so you pick the element and level.
|
|
1418
|
+
*/
|
|
1419
|
+
headerStart?: ReactNode;
|
|
1414
1420
|
/**
|
|
1415
1421
|
* Called with the card's id when a row's Activate button is clicked. The button
|
|
1416
1422
|
* renders only on cards in `PENDING_ACTIVATION`, and only when the widget token
|
|
@@ -1113,7 +1113,7 @@ type BalancesWidgetPassthroughProps = Pick<BalancesWidgetWithContextProps, 'maxA
|
|
|
1113
1113
|
interface BalancesWidgetProps extends WidgetProviderProps, BalancesWidgetPassthroughProps {
|
|
1114
1114
|
}
|
|
1115
1115
|
|
|
1116
|
-
interface Labels$
|
|
1116
|
+
interface Labels$3 {
|
|
1117
1117
|
bankingTaglinePrefix: string;
|
|
1118
1118
|
availableBalanceLabel: string;
|
|
1119
1119
|
availableBalanceTooltip: string;
|
|
@@ -1151,7 +1151,7 @@ interface Labels$2 {
|
|
|
1151
1151
|
errorTitle: string;
|
|
1152
1152
|
}
|
|
1153
1153
|
|
|
1154
|
-
interface Labels$
|
|
1154
|
+
interface Labels$2 {
|
|
1155
1155
|
backToAccounts: string;
|
|
1156
1156
|
bankingTaglinePrefix: string;
|
|
1157
1157
|
availableBalanceLabel: string;
|
|
@@ -1214,7 +1214,7 @@ interface Labels$1 {
|
|
|
1214
1214
|
errorTitle: string;
|
|
1215
1215
|
}
|
|
1216
1216
|
|
|
1217
|
-
interface FeatureLabels$
|
|
1217
|
+
interface FeatureLabels$3 {
|
|
1218
1218
|
accountFallback: string;
|
|
1219
1219
|
createSuccessToast: string;
|
|
1220
1220
|
editSuccessToast: string;
|
|
@@ -1231,9 +1231,9 @@ interface FeatureLabels$2 {
|
|
|
1231
1231
|
}
|
|
1232
1232
|
|
|
1233
1233
|
interface BankAccountsWidgetProps extends WidgetProviderProps {
|
|
1234
|
-
labels?: Partial<Labels$
|
|
1235
|
-
accountDetailsLabels?: Partial<Labels$
|
|
1236
|
-
featureLabels?: Partial<FeatureLabels$
|
|
1234
|
+
labels?: Partial<Labels$3>;
|
|
1235
|
+
accountDetailsLabels?: Partial<Labels$2>;
|
|
1236
|
+
featureLabels?: Partial<FeatureLabels$3>;
|
|
1237
1237
|
isBankingTaglineVisible?: boolean;
|
|
1238
1238
|
/**
|
|
1239
1239
|
* Bank logo for the tagline row. The widget ships no bank artwork of its own —
|
|
@@ -1990,6 +1990,12 @@ interface CardsWidgetProps extends WidgetProviderProps {
|
|
|
1990
1990
|
* does nothing.
|
|
1991
1991
|
*/
|
|
1992
1992
|
onCreateCard?: () => void;
|
|
1993
|
+
/**
|
|
1994
|
+
* Your own markup for the start of the list's header row, beside Create card,
|
|
1995
|
+
* typically the heading you would otherwise render above the widget. The
|
|
1996
|
+
* widget renders no heading of its own, so you pick the element and level.
|
|
1997
|
+
*/
|
|
1998
|
+
headerStart?: ReactNode;
|
|
1993
1999
|
/**
|
|
1994
2000
|
* Called with the card's id when a row's Activate button is clicked. The button
|
|
1995
2001
|
* renders only on cards in `PENDING_ACTIVATION`, and only when the widget token
|
|
@@ -2113,6 +2119,87 @@ type InsightsWidgetPassthroughProps = Pick<InsightsWidgetWithContextProps, 'labe
|
|
|
2113
2119
|
interface InsightsWidgetProps extends WidgetProviderProps, InsightsWidgetPassthroughProps {
|
|
2114
2120
|
}
|
|
2115
2121
|
|
|
2122
|
+
interface Labels$1 {
|
|
2123
|
+
title: string;
|
|
2124
|
+
connectButton: string;
|
|
2125
|
+
verifyCtaButton: string;
|
|
2126
|
+
learnMoreButton: string;
|
|
2127
|
+
connectTitle: string;
|
|
2128
|
+
nicknameLabel: string;
|
|
2129
|
+
accountNumberLabel: string;
|
|
2130
|
+
routingNumberLabel: string;
|
|
2131
|
+
routingNumberError: string;
|
|
2132
|
+
typeLabel: string;
|
|
2133
|
+
accountTypePlaceholder: string;
|
|
2134
|
+
checkingOption: string;
|
|
2135
|
+
savingsOption: string;
|
|
2136
|
+
cancelButton: string;
|
|
2137
|
+
nextButton: string;
|
|
2138
|
+
backButton: string;
|
|
2139
|
+
/** Step indicator template, e.g. "Step {current}/{total}". */
|
|
2140
|
+
stepIndicator: string;
|
|
2141
|
+
connectStep1Heading: string;
|
|
2142
|
+
connectStep1Description: string;
|
|
2143
|
+
connectStep2Heading: string;
|
|
2144
|
+
connectStep2Description: string;
|
|
2145
|
+
teamMemberAccessTooltip: string;
|
|
2146
|
+
teamMembersLoadingLabel: string;
|
|
2147
|
+
teamMembersErrorTitle: string;
|
|
2148
|
+
teamMembersEmptyLabel: string;
|
|
2149
|
+
summaryCompletedHeading: string;
|
|
2150
|
+
summaryNextStepsHeading: string;
|
|
2151
|
+
summaryAccountPrefix: string;
|
|
2152
|
+
summaryStep1Title: string;
|
|
2153
|
+
summaryStep1Description: string;
|
|
2154
|
+
summaryStep2Title: string;
|
|
2155
|
+
summaryStep2Description: string;
|
|
2156
|
+
summaryStep3Title: string;
|
|
2157
|
+
summaryStep3Description: string;
|
|
2158
|
+
summaryStep4Title: string;
|
|
2159
|
+
summaryStep4Description: string;
|
|
2160
|
+
statusComplete: string;
|
|
2161
|
+
statusTodo: string;
|
|
2162
|
+
backToTransfersButton: string;
|
|
2163
|
+
saveButton: string;
|
|
2164
|
+
editButton: string;
|
|
2165
|
+
verifyButton: string;
|
|
2166
|
+
unlinkButton: string;
|
|
2167
|
+
linkButton: string;
|
|
2168
|
+
editTitle: string;
|
|
2169
|
+
verifyTitle: string;
|
|
2170
|
+
verifyDescription: string;
|
|
2171
|
+
verifySectionHeading: string;
|
|
2172
|
+
verifyExampleLabel: string;
|
|
2173
|
+
verifyExampleText: string;
|
|
2174
|
+
verifyAccountInProcess: string;
|
|
2175
|
+
verifySuccessTitle: string;
|
|
2176
|
+
verifySuccessDescription: string;
|
|
2177
|
+
unlinkTitle: string;
|
|
2178
|
+
unlinkDescription: string;
|
|
2179
|
+
unlinkConfirmButton: string;
|
|
2180
|
+
firstAmountLabel: string;
|
|
2181
|
+
secondAmountLabel: string;
|
|
2182
|
+
verifyAmountError: string;
|
|
2183
|
+
loadingLabel: string;
|
|
2184
|
+
errorTitle: string;
|
|
2185
|
+
actionErrorTitle: string;
|
|
2186
|
+
emptyTitle: string;
|
|
2187
|
+
emptyDescription: string;
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
interface FeatureLabels$2 {
|
|
2191
|
+
accountFallback: string;
|
|
2192
|
+
accountLabel: string;
|
|
2193
|
+
pendingStatus: string;
|
|
2194
|
+
editSuccessToast: string;
|
|
2195
|
+
unlinkSuccessToast: string;
|
|
2196
|
+
}
|
|
2197
|
+
|
|
2198
|
+
interface LinkedAccountsWidgetProps extends WidgetProviderProps {
|
|
2199
|
+
labels?: Partial<Labels$1>;
|
|
2200
|
+
featureLabels?: Partial<FeatureLabels$2>;
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2116
2203
|
interface Labels {
|
|
2117
2204
|
description?: string;
|
|
2118
2205
|
}
|
|
@@ -2524,6 +2611,7 @@ type WidgetSuiteOnboardingLabels = WidgetLabelProps<BankAccountOnboardingWidgetP
|
|
|
2524
2611
|
type WidgetSuiteCreditCardsLabels = WidgetLabelProps<CreditCardsWidgetProps>;
|
|
2525
2612
|
type WidgetSuiteDebitCardsLabels = WidgetLabelProps<DebitCardsWidgetProps>;
|
|
2526
2613
|
type WidgetSuiteTransfersLabels = WidgetLabelProps<TransfersWidgetProps>;
|
|
2614
|
+
type WidgetSuiteLinkedAccountsLabels = WidgetLabelProps<LinkedAccountsWidgetProps>;
|
|
2527
2615
|
type WidgetSuiteSettingsLabels = WidgetLabelProps<SettingsWidgetProps>;
|
|
2528
2616
|
/** The two widgets the Dashboard section pairs, each taking its own copy. */
|
|
2529
2617
|
interface WidgetSuiteDashboardLabels {
|
|
@@ -2565,6 +2653,7 @@ interface WidgetSuiteSectionContentLabels {
|
|
|
2565
2653
|
accounts?: WidgetSuiteAccountsLabels;
|
|
2566
2654
|
cards: WidgetSuiteCardsLabels;
|
|
2567
2655
|
transfers?: WidgetSuiteTransfersLabels;
|
|
2656
|
+
linkedAccounts?: WidgetSuiteLinkedAccountsLabels;
|
|
2568
2657
|
expenses: WidgetSuiteExpensesLabels;
|
|
2569
2658
|
settings?: WidgetSuiteSettingsLabels;
|
|
2570
2659
|
}
|
|
@@ -2690,6 +2779,13 @@ interface WidgetSuiteProps extends WidgetProviderProps {
|
|
|
2690
2779
|
* plain (non-clickable) text in that step, same as the widget's own default.
|
|
2691
2780
|
*/
|
|
2692
2781
|
onboardingDisclosureLinks?: DisclosureLinks;
|
|
2782
|
+
/**
|
|
2783
|
+
* Card artwork URL for the debit list's built-in Create card sheet. Host-resolved
|
|
2784
|
+
* for the same reason as `onboardingDisclosureLinks`: the package ships no
|
|
2785
|
+
* artwork. Omitted, Create card stays hidden. Credit has no in-package issuance
|
|
2786
|
+
* flow, so its Create card stays hidden either way.
|
|
2787
|
+
*/
|
|
2788
|
+
cardArtSrc?: string;
|
|
2693
2789
|
}
|
|
2694
2790
|
/**
|
|
2695
2791
|
* A suite of widgets bound together by navigation.
|