@tesouro/embedded-components-react 0.5.153 → 0.5.155
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 +21 -19
- package/dist/index.css +0 -3
- package/dist/index.d.ts +106 -94
- 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/SettingsWidget.d.ts +0 -3
- package/dist/lib/WidgetSuite.d.ts +102 -9
- 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/settings-widget/feature/dist/index3.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index4.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +56 -64
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +34 -34
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +191 -231
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +91 -147
- 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/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/settings-widget/tags/data-access/dist/index.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index10.js +0 -28
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index2.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index3.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index4.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index5.js +0 -35
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index6.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index7.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index8.js +0 -25
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index9.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index10.js +0 -62
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index11.js +0 -60
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index12.js +0 -107
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index2.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index3.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index4.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index5.js +0 -28
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index6.js +0 -99
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index7.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index8.js +0 -80
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index9.js +0 -146
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/ui/dist/index.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/ui/dist/index2.js +0 -41
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/ui/dist/index3.js +0 -143
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/ui/dist/index4.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/ui/dist/index5.js +0 -127
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
|
|
@@ -560,7 +563,7 @@ A self-contained native widget for listing, creating, editing, and acting on cus
|
|
|
560
563
|
|
|
561
564
|
### SettingsWidget
|
|
562
565
|
|
|
563
|
-
A composite settings widget that combines profile, team, invoice, bill-pay, expense, accounting,
|
|
566
|
+
A composite settings widget that combines profile, team, invoice, bill-pay, expense, accounting, legal and help settings in one navigable surface.
|
|
564
567
|
|
|
565
568
|
#### Props
|
|
566
569
|
|
|
@@ -574,7 +577,6 @@ A composite settings widget that combines profile, team, invoice, bill-pay, expe
|
|
|
574
577
|
| `invoiceContent` | `ReactNode` | Invoice settings widget | Replaces invoice settings content. |
|
|
575
578
|
| `billPayContent` | `ReactNode` | Approval policies settings | Replaces bill-pay settings content. |
|
|
576
579
|
| `accountingContent` | `ReactNode` | Chart of accounts widget | Replaces accounting content. |
|
|
577
|
-
| `tagsContent` | `ReactNode` | Tags widget | Replaces tags content. |
|
|
578
580
|
| `expenseContent` | `ReactNode` | Expense policies and requirements | Replaces expense content. |
|
|
579
581
|
| `legalContent` | `ReactNode` | Bank disclosures widget | Replaces the Legal section content. |
|
|
580
582
|
| `profileContactUrl` | `string` | `undefined` | Forwarded to the Profile section's widget — where its "to change this information, contact your bank" line links. Left unset, the card shows the plain unlinked sentence instead; the bank name comes from widget init. |
|
package/dist/index.css
CHANGED
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,14 +3110,13 @@ 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;
|
|
3029
3117
|
billPaySection: string;
|
|
3030
3118
|
billPayDescription: string;
|
|
3031
3119
|
accountingSection: string;
|
|
3032
|
-
tagsSection: string;
|
|
3033
3120
|
expenseSection: string;
|
|
3034
3121
|
legalSection: string;
|
|
3035
3122
|
helpSection: string;
|
|
@@ -3049,7 +3136,6 @@ declare const SettingsSection: {
|
|
|
3049
3136
|
readonly Expense: "expense";
|
|
3050
3137
|
readonly BillPay: "bill-pay";
|
|
3051
3138
|
readonly Accounting: "accounting";
|
|
3052
|
-
readonly Tags: "tags";
|
|
3053
3139
|
readonly Legal: "legal";
|
|
3054
3140
|
readonly Help: "help";
|
|
3055
3141
|
};
|
|
@@ -3079,8 +3165,8 @@ interface SettingsWidgetAdditionalSection extends SettingsWidgetSection {
|
|
|
3079
3165
|
}
|
|
3080
3166
|
|
|
3081
3167
|
interface SettingsWidgetProps extends MoniteRegionProviderProps {
|
|
3082
|
-
labels?: Partial<Labels$
|
|
3083
|
-
featureLabels?: Partial<FeatureLabels$
|
|
3168
|
+
labels?: Partial<Labels$1>;
|
|
3169
|
+
featureLabels?: Partial<FeatureLabels$1>;
|
|
3084
3170
|
/** Forwarded to the embedded Team section's {@link TeamWidget} — the
|
|
3085
3171
|
* allowlisted URL invite emails link to. Defaults to
|
|
3086
3172
|
* `${window.location.origin}/accept-invite`; set it when the host app's
|
|
@@ -3127,7 +3213,6 @@ interface SettingsWidgetProps extends MoniteRegionProviderProps {
|
|
|
3127
3213
|
helpContent?: ReactNode;
|
|
3128
3214
|
expenseContent?: ReactNode;
|
|
3129
3215
|
accountingContent?: ReactNode;
|
|
3130
|
-
tagsContent?: ReactNode;
|
|
3131
3216
|
invoiceContent?: ReactNode;
|
|
3132
3217
|
legalContent?: ReactNode;
|
|
3133
3218
|
}
|
|
@@ -3204,17 +3289,17 @@ interface TransfersWidgetLabels {
|
|
|
3204
3289
|
}
|
|
3205
3290
|
declare const TRANSFERS_WIDGET_LABELS_EN: TransfersWidgetLabels;
|
|
3206
3291
|
|
|
3207
|
-
interface FeatureLabels
|
|
3292
|
+
interface FeatureLabels {
|
|
3208
3293
|
unavailableLabel: string;
|
|
3209
3294
|
routeSeparator: string;
|
|
3210
3295
|
defaultCurrencyCode: string;
|
|
3211
3296
|
defaultSecCode: string;
|
|
3212
3297
|
}
|
|
3213
|
-
declare const DEFAULT_FEATURE_LABELS: FeatureLabels
|
|
3298
|
+
declare const DEFAULT_FEATURE_LABELS: FeatureLabels;
|
|
3214
3299
|
|
|
3215
3300
|
interface TransfersWidgetPassthroughProps {
|
|
3216
3301
|
labels?: Partial<TransfersWidgetLabels>;
|
|
3217
|
-
featureLabels?: Partial<FeatureLabels
|
|
3302
|
+
featureLabels?: Partial<FeatureLabels>;
|
|
3218
3303
|
/**
|
|
3219
3304
|
* Whether the transfer money modal is showing. Supplying it makes the modal
|
|
3220
3305
|
* controlled: the widget reports every open and close through
|
|
@@ -3384,6 +3469,7 @@ type WidgetSuiteOnboardingLabels = WidgetLabelProps<BankAccountOnboardingWidgetP
|
|
|
3384
3469
|
type WidgetSuiteCreditCardsLabels = WidgetLabelProps<CreditCardsWidgetProps>;
|
|
3385
3470
|
type WidgetSuiteDebitCardsLabels = WidgetLabelProps<DebitCardsWidgetProps>;
|
|
3386
3471
|
type WidgetSuiteTransfersLabels = WidgetLabelProps<TransfersWidgetProps>;
|
|
3472
|
+
type WidgetSuiteLinkedAccountsLabels = WidgetLabelProps<LinkedAccountsWidgetProps>;
|
|
3387
3473
|
type WidgetSuiteSettingsLabels = WidgetLabelProps<SettingsWidgetProps>;
|
|
3388
3474
|
/** The two widgets the Dashboard section pairs, each taking its own copy. */
|
|
3389
3475
|
interface WidgetSuiteDashboardLabels {
|
|
@@ -3425,6 +3511,7 @@ interface WidgetSuiteSectionContentLabels {
|
|
|
3425
3511
|
accounts?: WidgetSuiteAccountsLabels;
|
|
3426
3512
|
cards: WidgetSuiteCardsLabels;
|
|
3427
3513
|
transfers?: WidgetSuiteTransfersLabels;
|
|
3514
|
+
linkedAccounts?: WidgetSuiteLinkedAccountsLabels;
|
|
3428
3515
|
expenses: WidgetSuiteExpensesLabels;
|
|
3429
3516
|
settings?: WidgetSuiteSettingsLabels;
|
|
3430
3517
|
}
|
|
@@ -3550,6 +3637,13 @@ interface WidgetSuiteProps extends WidgetProviderProps {
|
|
|
3550
3637
|
* plain (non-clickable) text in that step, same as the widget's own default.
|
|
3551
3638
|
*/
|
|
3552
3639
|
onboardingDisclosureLinks?: DisclosureLinks;
|
|
3640
|
+
/**
|
|
3641
|
+
* Card artwork URL for the debit list's built-in Create card sheet. Host-resolved
|
|
3642
|
+
* for the same reason as `onboardingDisclosureLinks`: the package ships no
|
|
3643
|
+
* artwork. Omitted, Create card stays hidden. Credit has no in-package issuance
|
|
3644
|
+
* flow, so its Create card stays hidden either way.
|
|
3645
|
+
*/
|
|
3646
|
+
cardArtSrc?: string;
|
|
3553
3647
|
}
|
|
3554
3648
|
/**
|
|
3555
3649
|
* A suite of widgets bound together by navigation.
|
|
@@ -4374,7 +4468,7 @@ type CustomersWidgetProps = WidgetProviderProps & CustomersWidgetOwnProps;
|
|
|
4374
4468
|
*/
|
|
4375
4469
|
declare function CustomersWidget({ implementation, onViewAllDocuments, onCreateDocument, ...rest }: CustomersWidgetProps): React.JSX.Element;
|
|
4376
4470
|
|
|
4377
|
-
interface Labels
|
|
4471
|
+
interface Labels {
|
|
4378
4472
|
description: string;
|
|
4379
4473
|
receiptsTab: string;
|
|
4380
4474
|
matchingTab: string;
|
|
@@ -4408,7 +4502,7 @@ interface UploadReceiptWidgetProps {
|
|
|
4408
4502
|
declare function UploadReceiptWidget({ emailAddress, onFileUpload, onAwaitMatching, isUploading, }: UploadReceiptWidgetProps): React.JSX.Element;
|
|
4409
4503
|
|
|
4410
4504
|
interface ExpenseManagementWidgetProps extends WidgetProviderProps {
|
|
4411
|
-
labels?: Partial<Labels
|
|
4505
|
+
labels?: Partial<Labels>;
|
|
4412
4506
|
receiptUpload?: UploadReceiptWidgetProps;
|
|
4413
4507
|
receiptsContent?: ReactNode;
|
|
4414
4508
|
matchingContent?: ReactNode;
|
|
@@ -4753,88 +4847,6 @@ type ReceivablesWidgetProps = WidgetProviderProps & ReceivablesWidgetOwnProps;
|
|
|
4753
4847
|
|
|
4754
4848
|
declare function ReceivablesWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ReceivablesWidgetProps): React.JSX.Element;
|
|
4755
4849
|
|
|
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
4850
|
interface MarketingWidgetLabels {
|
|
4839
4851
|
applyNow: string;
|
|
4840
4852
|
learnMore: string;
|
|
@@ -5131,4 +5143,4 @@ interface CheckAmountAndDetailScreenProps {
|
|
|
5131
5143
|
type PendingFeatureStyleSources = CheckAmountAndDetailScreenProps | GapCoverageAlertProps | NoPolicyBannerProps;
|
|
5132
5144
|
|
|
5133
5145
|
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
|
|
5146
|
+
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
|
|
@@ -695,7 +695,6 @@ interface FeatureLabels {
|
|
|
695
695
|
billPaySection: string;
|
|
696
696
|
billPayDescription: string;
|
|
697
697
|
accountingSection: string;
|
|
698
|
-
tagsSection: string;
|
|
699
698
|
expenseSection: string;
|
|
700
699
|
legalSection: string;
|
|
701
700
|
helpSection: string;
|
|
@@ -715,7 +714,6 @@ declare const SettingsSection: {
|
|
|
715
714
|
readonly Expense: "expense";
|
|
716
715
|
readonly BillPay: "bill-pay";
|
|
717
716
|
readonly Accounting: "accounting";
|
|
718
|
-
readonly Tags: "tags";
|
|
719
717
|
readonly Legal: "legal";
|
|
720
718
|
readonly Help: "help";
|
|
721
719
|
};
|
|
@@ -793,7 +791,6 @@ interface SettingsWidgetProps extends MoniteRegionProviderProps {
|
|
|
793
791
|
helpContent?: ReactNode;
|
|
794
792
|
expenseContent?: ReactNode;
|
|
795
793
|
accountingContent?: ReactNode;
|
|
796
|
-
tagsContent?: ReactNode;
|
|
797
794
|
invoiceContent?: ReactNode;
|
|
798
795
|
legalContent?: ReactNode;
|
|
799
796
|
}
|