@tesouro/embedded-components-react 0.11.200 → 0.11.202
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 +35 -19
- package/dist/index.d.ts +16 -1
- package/dist/index.js +43 -42
- package/dist/lib/BillPayWidget.d.ts +16 -1
- package/dist/lib/BillPayWidget.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +184 -174
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index18.js +208 -206
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js +59 -56
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillsTab.js +61 -59
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/index.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -95,7 +95,9 @@ docs specifies its claims and encryption. Your route returns the same
|
|
|
95
95
|
shortly before `exp`, and shares the signed-in scope with every widget inside
|
|
96
96
|
it. It runs in the browser, so in the App Router it goes in a Client Component
|
|
97
97
|
that your root layout renders, such as `app/providers.tsx`. Import the
|
|
98
|
-
stylesheet there too: widgets render unstyled without it.
|
|
98
|
+
stylesheet there too: widgets render unstyled without it. If you load the
|
|
99
|
+
widgets from the CDN instead, skip this import; see
|
|
100
|
+
[About the stylesheet](#about-the-stylesheet).
|
|
99
101
|
|
|
100
102
|
```tsx
|
|
101
103
|
'use client';
|
|
@@ -148,13 +150,13 @@ them inline.
|
|
|
148
150
|
|
|
149
151
|
### Entry points
|
|
150
152
|
|
|
151
|
-
| Import path | What you get
|
|
152
|
-
| ------------------------------------------------------- |
|
|
153
|
-
| `@tesouro/embedded-components-react` | All widgets, `WidgetSuite`, and the providers, including `RefreshingRootWidgetProvider`.
|
|
154
|
-
| `@tesouro/embedded-components-react/styles.css` | The widget stylesheet. See [About the stylesheet](#about-the-stylesheet).
|
|
155
|
-
| `@tesouro/embedded-components-react/pdf.worker.min.mjs` | The pdf.js worker, to self-host with `configureCsp()` under a strict CSP. Nothing imports it.
|
|
156
|
-
| `@tesouro/embedded-components-react/core` | Framework-agnostic token utilities (`createWidgetTokenManager`).
|
|
157
|
-
| `@tesouro/embedded-components-react/experimental` | Work in progress, with no compatibility promise. See [below](#experimental-entry-point).
|
|
153
|
+
| Import path | What you get |
|
|
154
|
+
| ------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
|
|
155
|
+
| `@tesouro/embedded-components-react` | All widgets, `WidgetSuite`, and the providers, including `RefreshingRootWidgetProvider`. |
|
|
156
|
+
| `@tesouro/embedded-components-react/styles.css` | The widget stylesheet, for the bundled install. See [About the stylesheet](#about-the-stylesheet). |
|
|
157
|
+
| `@tesouro/embedded-components-react/pdf.worker.min.mjs` | The pdf.js worker, to self-host with `configureCsp()` under a strict CSP. Nothing imports it. |
|
|
158
|
+
| `@tesouro/embedded-components-react/core` | Framework-agnostic token utilities (`createWidgetTokenManager`). |
|
|
159
|
+
| `@tesouro/embedded-components-react/experimental` | Work in progress, with no compatibility promise. See [below](#experimental-entry-point). |
|
|
158
160
|
|
|
159
161
|
### Experimental entry point
|
|
160
162
|
|
|
@@ -165,6 +167,18 @@ here. Use it only if we point you at a specific module, and pin an exact version
|
|
|
165
167
|
|
|
166
168
|
### About the stylesheet
|
|
167
169
|
|
|
170
|
+
How the stylesheet reaches the page depends on how you install:
|
|
171
|
+
|
|
172
|
+
- **Bundled from npm**, as in the steps above: import
|
|
173
|
+
`@tesouro/embedded-components-react/styles.css` yourself. The package's
|
|
174
|
+
JavaScript never imports it.
|
|
175
|
+
- **Hosted build through `@tesouro/embedded-components-loader`**: do not import
|
|
176
|
+
`styles.css`. The loader adds the hosted build's stylesheet from the Tesouro
|
|
177
|
+
CDN itself, so importing it too loads the stylesheet twice, and from two
|
|
178
|
+
different versions once your npm install and the hosted version drift apart.
|
|
179
|
+
Your `style-src` then needs the CDN origin; see
|
|
180
|
+
[Load from the Tesouro CDN](https://components.tesouro.com/components/load-from-cdn).
|
|
181
|
+
|
|
168
182
|
The stylesheet won't restyle your host page. It ships no global CSS reset (the
|
|
169
183
|
reset is scoped under the `.tesouro-embedded` wrapper every widget renders), and
|
|
170
184
|
all utilities are `ttw`-prefixed, so it won't collide with your own Tailwind.
|
|
@@ -177,6 +191,11 @@ The widgets run inside your page, so your Content Security Policy has to allow
|
|
|
177
191
|
the origins they reach. Each is first-party Tesouro infrastructure or a URL you
|
|
178
192
|
pass in; nothing is loaded from a third-party CDN.
|
|
179
193
|
|
|
194
|
+
This section covers the bundled install. For the hosted build, follow the
|
|
195
|
+
loader guide's
|
|
196
|
+
[Content Security Policy](https://components.tesouro.com/components/load-from-cdn#content-security-policy)
|
|
197
|
+
instead.
|
|
198
|
+
|
|
180
199
|
| Origin | Directive | What for |
|
|
181
200
|
| ---------------------------------------------- | ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
182
201
|
| Your `baseUrl`, e.g. `https://api.tesouro.com` | `connect-src` | Every API call. Use `https://api.sandbox.tesouro.com` in sandbox. |
|
|
@@ -219,16 +238,11 @@ needs no `widgets.tesouro.com` entry and no `blob:`.
|
|
|
219
238
|
Copy the file rather than importing it with a bundler `?url` suffix: a library
|
|
220
239
|
build inlines that as base64, which puts the worker back in your bundle.
|
|
221
240
|
|
|
222
|
-
**Styles.** The widget styles are all in `styles.css
|
|
223
|
-
added at run time
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
If it is blocked, dialogs still open but the page behind them can scroll.
|
|
228
|
-
- **Toasts.** The toast library ([sonner](https://sonner.emilkowal.ski)) adds
|
|
229
|
-
its stylesheet when the package loads and cannot take a nonce. A strict
|
|
230
|
-
`style-src` blocks it, so toasts render without their positioning. Allow it
|
|
231
|
-
with `'unsafe-inline'` until this is fixed.
|
|
241
|
+
**Styles.** The widget styles, toast styles included, are all in `styles.css`,
|
|
242
|
+
which you serve from your own origin. One `<style>` tag is added at run time,
|
|
243
|
+
for the dialog scroll lock. It carries your page's nonce, found as above when
|
|
244
|
+
the first dialog opens, so a strict `style-src` needs no `'unsafe-inline'` for
|
|
245
|
+
it. If it is blocked, dialogs still open but the page behind them can scroll.
|
|
232
246
|
|
|
233
247
|
If your policy blocks one of these, only that feature is affected: a PDF
|
|
234
248
|
preview reports a load error, analytics is dropped. The rest of the widget
|
|
@@ -498,7 +512,7 @@ A bill pay widget with Tesouro widget auth and theming: a Bills tab for uploadin
|
|
|
498
512
|
|
|
499
513
|
The right end of the tab row holds the active tab's main action: Add bill on Bills and Add vendor on Vendors. While the vendor list is empty, Add vendor shows only in its empty state.
|
|
500
514
|
|
|
501
|
-
Above the bills list, the Total unpaid, Overdue, Scheduled and Not submitted cards act as quick filters. Clicking one switches to All bills, narrows the list to the bills that card totals, shows that as a filter chip and selects the card. Clicking it again, removing the chip or Clear all deselects it, and only one card is selected at a time. Picking another view, such as Assigned to me, also deselects it. Pass `selectedSummaryCard` and `onSummaryCardChange` to keep the card in your URL, for example to link straight to overdue bills.
|
|
515
|
+
Above the bills list, the Total unpaid, Overdue, Scheduled and Not submitted cards act as quick filters. Clicking one switches to All bills, narrows the list to the bills that card totals, shows that as a filter chip and selects the card. Clicking it again, removing the chip or Clear all deselects it, and only one card is selected at a time. Picking another view, such as Assigned to me, also deselects it. Pass `selectedSummaryCard` and `onSummaryCardChange` to keep the card in your URL, for example to link straight to overdue bills, and `selectedBillsView` and `onBillsViewChange` to do the same for All bills and Assigned to me.
|
|
502
516
|
|
|
503
517
|
#### Props
|
|
504
518
|
|
|
@@ -512,6 +526,8 @@ Above the bills list, the Total unpaid, Overdue, Scheduled and Not submitted car
|
|
|
512
526
|
| `onSettingsClick` | `() => void` | `undefined` | Opens your bill pay settings surface from a cog on the tab row, beside the active tab's add button. The cog renders only when this is supplied and the user's scopes reach that surface. |
|
|
513
527
|
| `selectedSummaryCard` | `BillSummaryCard \| null` | `undefined` | The active summary card on the Bills tab: `'total_unpaid'`, `'overdue'`, `'scheduled'` or `'not_submitted'`, or `null` for none. Applied on mount and whenever it changes. Omit to let the widget track it, starting with none. |
|
|
514
528
|
| `onSummaryCardChange` | `(card: BillSummaryCard \| null) => void` | `undefined` | Called when the reader selects or deselects a summary card, so you can keep it in the URL. |
|
|
529
|
+
| `selectedBillsView` | `BillsView` | `undefined` | The open view on the Bills tab: `'all'` (All bills) or `'assigned_to_me'`. Applied on mount and whenever it changes. A selected summary card opens All bills instead. Omit to let the widget track it, starting on All bills. |
|
|
530
|
+
| `onBillsViewChange` | `(view: BillsView) => void` | `undefined` | Called when the open view changes, from a view pill or from a summary card or vendor jump that opens All bills, so you can keep it in the URL. |
|
|
515
531
|
|
|
516
532
|
### CreditCardsWidget
|
|
517
533
|
|
package/dist/index.d.ts
CHANGED
|
@@ -6268,6 +6268,13 @@ type AcceptDisclosuresWidgetProps = WidgetProviderProps & InnerProps$1;
|
|
|
6268
6268
|
*/
|
|
6269
6269
|
declare function AcceptDisclosuresWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: AcceptDisclosuresWidgetProps): React.JSX.Element;
|
|
6270
6270
|
|
|
6271
|
+
/** The two views of the payables list; status narrowing lives in Filters. */
|
|
6272
|
+
declare const BillQueue: {
|
|
6273
|
+
readonly All: "all";
|
|
6274
|
+
readonly AssignedToMe: "assigned_to_me";
|
|
6275
|
+
};
|
|
6276
|
+
type BillQueue = (typeof BillQueue)[keyof typeof BillQueue];
|
|
6277
|
+
|
|
6271
6278
|
declare const BillSummaryCard: {
|
|
6272
6279
|
readonly TotalUnpaid: "total_unpaid";
|
|
6273
6280
|
readonly Overdue: "overdue";
|
|
@@ -6470,6 +6477,14 @@ interface BillPayWidgetProps extends WidgetProviderProps {
|
|
|
6470
6477
|
selectedSummaryCard?: BillSummaryCard | null;
|
|
6471
6478
|
/** Called when the reader selects or deselects a summary card, so you can keep it in the URL. */
|
|
6472
6479
|
onSummaryCardChange?: (card: BillSummaryCard | null) => void;
|
|
6480
|
+
/**
|
|
6481
|
+
* The open view on the Bills tab, All bills or Assigned to me. Applied on
|
|
6482
|
+
* mount and whenever it changes; a selected summary card opens All bills
|
|
6483
|
+
* instead. Omit to let the widget track it.
|
|
6484
|
+
*/
|
|
6485
|
+
selectedBillsView?: BillQueue;
|
|
6486
|
+
/** Called when the open view changes, from a view pill or from a card or vendor jump to All bills. */
|
|
6487
|
+
onBillsViewChange?: (view: BillQueue) => void;
|
|
6473
6488
|
}
|
|
6474
6489
|
declare const BillPayWidget: (props: BillPayWidgetProps) => ReactElement;
|
|
6475
6490
|
|
|
@@ -6734,5 +6749,5 @@ interface CheckAmountAndDetailScreenProps {
|
|
|
6734
6749
|
|
|
6735
6750
|
type PendingFeatureStyleSources = CheckAmountAndDetailScreenProps | GapCoverageAlertProps | NoPolicyBannerProps;
|
|
6736
6751
|
|
|
6737
|
-
export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, APPLICATION_STATUS_LABELS_EN, AcceptDisclosuresWidget, BALANCES_WIDGET_LABELS_EN, BANKING_COMPLIANCE_BANNER_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BankingComplianceBannerWidget, BillPayWidget, BillSummaryCard, CardDetailsWidget, CounterpartsWidget, CreditCardsWidget, DebitCardsWidget, ERROR_STATE_ID, ExpenseManagementWidget, HELP_FAQ_EN, INSIGHTS_FEATURE_LABELS_EN, INSIGHTS_WIDGET_LABELS_EN, InsightsWidget, InvoicingTab, LinkedAccountsWidget, OFFER_WIDGET_LABELS_EN, OFFER_WIDGET_STATUS_LABELS_EN, OfferBenefitIcon, OfferWidget, OnboardingSuppressionReason, PERSONAL_DETAILS_LABELS_EN, RECENT_ACTIVITY_WIDGET_LABELS_EN, RESULT_LABELS_EN, ReceivableStatusCard, ReceivablesWidget, RecentActivityWidget, RefreshingRootWidgetProvider, RootWidgetProvider, SINGLE_INSIGHT_LABELS_EN, Scope, SettingsSection, SettingsWidget, THEME_TOKEN_NAMES, DEFAULT_FEATURE_LABELS as TRANSFERS_FEATURE_LABELS_EN, TRANSFERS_WIDGET_LABELS_EN, TransfersWidget, UIFramework, WIDGET_SUITE_DEFAULT_SECTIONS, WIDGET_SUITE_LABELS_EN, WidgetProvider, WidgetSuite, WidgetSuiteSectionId, WidgetTokenRefreshProvider, cloneEmbeddedClient, configureCsp, createTheme, getGlobalWidgetConfig, getGlobalWidgetInitState, isScope, registerDesignSystemEnsurer, registerUIRenderers, setGlobalWidgetConfig, subscribeToGlobalWidgetInitState, themeIssues, themeToCss, updateGlobalWidgetConfig, useDisclosuresAcceptanceSurface, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetInitStaleForToken, useWidgetLoading, useWidgetToken };
|
|
6752
|
+
export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, APPLICATION_STATUS_LABELS_EN, AcceptDisclosuresWidget, BALANCES_WIDGET_LABELS_EN, BANKING_COMPLIANCE_BANNER_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BankingComplianceBannerWidget, BillPayWidget, BillSummaryCard, BillQueue as BillsView, CardDetailsWidget, CounterpartsWidget, CreditCardsWidget, DebitCardsWidget, ERROR_STATE_ID, ExpenseManagementWidget, HELP_FAQ_EN, INSIGHTS_FEATURE_LABELS_EN, INSIGHTS_WIDGET_LABELS_EN, InsightsWidget, InvoicingTab, LinkedAccountsWidget, OFFER_WIDGET_LABELS_EN, OFFER_WIDGET_STATUS_LABELS_EN, OfferBenefitIcon, OfferWidget, OnboardingSuppressionReason, PERSONAL_DETAILS_LABELS_EN, RECENT_ACTIVITY_WIDGET_LABELS_EN, RESULT_LABELS_EN, ReceivableStatusCard, ReceivablesWidget, RecentActivityWidget, RefreshingRootWidgetProvider, RootWidgetProvider, SINGLE_INSIGHT_LABELS_EN, Scope, SettingsSection, SettingsWidget, THEME_TOKEN_NAMES, DEFAULT_FEATURE_LABELS as TRANSFERS_FEATURE_LABELS_EN, TRANSFERS_WIDGET_LABELS_EN, TransfersWidget, UIFramework, WIDGET_SUITE_DEFAULT_SECTIONS, WIDGET_SUITE_LABELS_EN, WidgetProvider, WidgetSuite, WidgetSuiteSectionId, WidgetTokenRefreshProvider, cloneEmbeddedClient, configureCsp, createTheme, getGlobalWidgetConfig, getGlobalWidgetInitState, isScope, registerDesignSystemEnsurer, registerUIRenderers, setGlobalWidgetConfig, subscribeToGlobalWidgetInitState, themeIssues, themeToCss, updateGlobalWidgetConfig, useDisclosuresAcceptanceSurface, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetInitStaleForToken, useWidgetLoading, useWidgetToken };
|
|
6738
6753
|
export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, AccordionItemCardLabels, Labels$3 as AccountDetailsWidgetLabels, ActivateCardPanelLabels, AdditionalOwner, AdditionalOwnersLabels, AddressFormSheetLabels, ApplicationStatusLabelValues, ApplicationStatusLabels, ApplicationStatusNoticeLabels, BalancesWidgetLabels, BalancesWidgetProps, BankAccountFormSheetLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, FeatureLabels$3 as BankAccountsWidgetFeatureLabels, Labels$4 as BankAccountsWidgetLabels, BankAccountsWidgetProps, BankingComplianceBannerLabels, BankingComplianceBannerWidgetProps, BillPayWidgetProps, BillPayWidgetTabId, BusinessDetailsLabels, BusinessDetailsValues, CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps, CardsFeatureLabels, CardsListLabels as CardsLabels, CardsPagination, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartActionTarget, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreditCardsWidgetProps, CspConfig, DebitCardsWidgetProps, DisclosureLinks, EmbeddedClient, Labels$2 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, ExpenseStatusBadgeLabels, FileViewerLabels, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, InvoicesFilterBarLabelOverrides, InvoicesFilterBarLabels, InvoicesFilterLabelOverrides, InvoicesFilterLabels, InvoicingTabId, InvoicingTabLabels, LinkComponent, LinkComponentProps, FeatureLabels$2 as LinkedAccountsWidgetFeatureLabels, Labels$1 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, OfferStatusLabelValues, OfferStatusNoticeLabels, OfferWidgetBenefit, OfferWidgetContent, OfferWidgetHowItWorksStep, OfferWidgetImage, OfferWidgetLabels, OfferWidgetProps, OfferWidgetStatusLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductFormSheetLabels, ProductMessageLabels, ReceivableActionDialogLabels, ReceivableActionsModalLabels, ReceivableAuditHistoryLabels, ReceivableDetailsPanelLabelOverrides, ReceivableDetailsPanelLabels, ReceivableDocumentType, ReceivableFormDialogLabels, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivablePreviewLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, RecentActivityWidgetLabels, RecentActivityWidgetProps, RecurringSeriesScreenLabelOverrides, RecurringSeriesScreenLabels, RefreshingRootWidgetProviderProps, ResultLabels, RootWidgetProviderProps, SettingsWidgetAdditionalSection, FeatureLabels$1 as SettingsWidgetFeatureLabels, Labels as SettingsWidgetLabels, SettingsWidgetProps, SettingsWidgetSection, SettingsWidgetSectionId, SingleInsightLabels, ThemeInput, ThemeIssue, ThemeTokenKey, ThemeTokenName, ThemeTokens, TransactionDetailsActionsLabels, TransactionDetailsLabels, FeatureLabels as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetInitState, WidgetProviderLabels, WidgetProviderProps, WidgetSuiteCardsLabels, WidgetSuiteComplianceBannerLabels, WidgetSuiteDashboardLabels, WidgetSuiteDisclosureLabels, WidgetSuiteExpensesLabels, WidgetSuiteInvoicingLabels, WidgetSuiteLabelOverrides, WidgetSuiteLabels, WidgetSuiteMenuLabels, WidgetSuiteOnboardingGateLabels, WidgetSuiteOnboardingLabels, WidgetSuiteProps, WidgetSuiteQuickActionsLabels, WidgetSuiteSectionContentLabels, WidgetSuiteSectionTitleLabels, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };
|
package/dist/index.js
CHANGED
|
@@ -17,45 +17,46 @@ import { useWidgetToken as C } from "./libs/tesouro-embedded-components-react/sh
|
|
|
17
17
|
import { RefreshingRootWidgetProvider as w } from "./libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RefreshingRootWidgetProvider.js";
|
|
18
18
|
import { useDisclosuresAcceptanceSurface as T, useOwnWidgetConfig as E, useRefetchWidget as D, useWidgetConfig as O, useWidgetError as k, useWidgetInitStaleForToken as A, useWidgetLoading as j } from "./libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
19
19
|
import { BankAccountsWidget as M } from "./libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/BankAccountsWidget/BankAccountsWidget.js";
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
|
|
20
|
+
import { BillQueue as N } from "./libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index5.js";
|
|
21
|
+
import { BillSummaryCard as P } from "./libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index10.js";
|
|
22
|
+
import { BillPayWidget as F } from "./libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js";
|
|
23
|
+
import { CardDetailsWidget as I } from "./libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/CardDetailsWidget.js";
|
|
24
|
+
import { CreditCardsWidget as L } from "./libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/CreditCardsWidget.js";
|
|
25
|
+
import { DebitCardsWidget as R } from "./libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/DebitCardsWidget.js";
|
|
26
|
+
import { INSIGHTS_FEATURE_LABELS_EN as z } from "./libs/tesouro-embedded-components-react/insights-widget/feature/dist/lib/InsightsWidget/labels.js";
|
|
27
|
+
import { INSIGHTS_WIDGET_LABELS_EN as B } from "./libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/labels.js";
|
|
28
|
+
import { SINGLE_INSIGHT_LABELS_EN as V } from "./libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/SingleInsight/labels.js";
|
|
29
|
+
import { InsightsWidget as H } from "./libs/tesouro-embedded-components-react/insights-widget/feature/dist/lib/InsightsWidget/InsightsWidgetFeature.js";
|
|
30
|
+
import { RECENT_ACTIVITY_WIDGET_LABELS_EN as U } from "./libs/tesouro-embedded-components-react/recent-activity-widget/feature/dist/lib/RecentActivityWidget/labels.js";
|
|
31
|
+
import { RecentActivityWidget as W } from "./libs/tesouro-embedded-components-react/recent-activity-widget/feature/dist/lib/RecentActivityWidget/RecentActivityWidgetFeature.js";
|
|
32
|
+
import { ExpenseManagementWidget as G } from "./libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/ExpenseManagementWidget/ExpenseManagementWidget.js";
|
|
33
|
+
import { InvoicingTab as K } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/tabs.js";
|
|
34
|
+
import { ReceivableStatusCard as q } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/statusCards.js";
|
|
35
|
+
import { ReceivablesWidget as J } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js";
|
|
36
|
+
import { SettingsSection as Y } from "./libs/tesouro-embedded-components-react/settings-widget/feature/dist/lib/SettingsWidget/sections.js";
|
|
37
|
+
import { HELP_FAQ_EN as X } from "./libs/tesouro-embedded-components-react/settings-widget/help/ui/contract/dist/index3.js";
|
|
38
|
+
import { SettingsWidget as Z } from "./libs/tesouro-embedded-components-react/settings-widget/feature/dist/lib/SettingsWidget/SettingsWidget.js";
|
|
39
|
+
import { LinkedAccountsWidget as Q } from "./libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/LinkedAccountsWidget.js";
|
|
40
|
+
import { DEFAULT_FEATURE_LABELS as $ } from "./libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/featureLabels.js";
|
|
41
|
+
import { TRANSFERS_WIDGET_LABELS_EN as ee } from "./libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/labels.js";
|
|
42
|
+
import { TransfersWidget as te } from "./libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/TransfersWidgetFeature.js";
|
|
43
|
+
import { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN as ne } from "./libs/tesouro-embedded-components-react/accept-disclosures-widget/ui/dist/lib/AcceptDisclosuresWidget/labels.js";
|
|
44
|
+
import { AcceptDisclosuresWidget as re } from "./libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js";
|
|
45
|
+
import { BANKING_COMPLIANCE_BANNER_LABELS_EN as ie } from "./libs/tesouro-embedded-components-react/banking-compliance-banner-widget/ui/dist/index3.js";
|
|
46
|
+
import { BankingComplianceBannerWidget as ae } from "./libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/lib/BankingComplianceBannerWidget/BankingComplianceBannerWidget.js";
|
|
47
|
+
import { ADDITIONAL_OWNERS_LABELS_EN as oe } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index9.js";
|
|
48
|
+
import { BUSINESS_DETAILS_LABELS_EN as se } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index12.js";
|
|
49
|
+
import { PERSONAL_DETAILS_LABELS_EN as ce } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index13.js";
|
|
50
|
+
import { RESULT_LABELS_EN as le } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index20.js";
|
|
51
|
+
import { APPLICATION_STATUS_LABELS_EN as ue } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/labels.js";
|
|
52
|
+
import { BankAccountOnboardingWidget as de } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js";
|
|
53
|
+
import { WidgetSuite as fe } from "./libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/WidgetSuite.js";
|
|
54
|
+
import { CounterpartsWidget as pe } from "./lib/CounterpartsWidgetPublic.js";
|
|
55
|
+
import { BALANCES_WIDGET_LABELS_EN as me } from "./libs/tesouro-embedded-components-react/balances-widget/ui/dist/lib/BalancesWidget/labels.js";
|
|
56
|
+
import { BalancesWidget as he } from "./libs/tesouro-embedded-components-react/balances-widget/feature/dist/lib/BalancesWidget/BalancesWidgetFeature.js";
|
|
57
|
+
import { OFFER_WIDGET_STATUS_LABELS_EN as ge } from "./libs/tesouro-embedded-components-react/offer-widget/feature/dist/lib/OfferWidget/labels.js";
|
|
58
|
+
import { OFFER_WIDGET_LABELS_EN as _e } from "./libs/tesouro-embedded-components-react/offer-widget/ui/dist/index2.js";
|
|
59
|
+
import { OfferBenefitIcon as ve } from "./libs/tesouro-embedded-components-react/offer-widget/ui/dist/index3.js";
|
|
60
|
+
import { OfferWidget as ye } from "./libs/tesouro-embedded-components-react/offer-widget/feature/dist/lib/OfferWidget/OfferWidget.js";
|
|
61
|
+
import { WidgetProvider as be } from "./lib/WidgetProviderPublic.js";
|
|
62
|
+
export { ne as ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, oe as ADDITIONAL_OWNERS_LABELS_EN, ue as APPLICATION_STATUS_LABELS_EN, re as AcceptDisclosuresWidget, me as BALANCES_WIDGET_LABELS_EN, ie as BANKING_COMPLIANCE_BANNER_LABELS_EN, se as BUSINESS_DETAILS_LABELS_EN, he as BalancesWidget, de as BankAccountOnboardingWidget, M as BankAccountsWidget, ae as BankingComplianceBannerWidget, F as BillPayWidget, P as BillSummaryCard, N as BillsView, I as CardDetailsWidget, pe as CounterpartsWidget, L as CreditCardsWidget, R as DebitCardsWidget, h as ERROR_STATE_ID, G as ExpenseManagementWidget, X as HELP_FAQ_EN, z as INSIGHTS_FEATURE_LABELS_EN, B as INSIGHTS_WIDGET_LABELS_EN, H as InsightsWidget, K as InvoicingTab, Q as LinkedAccountsWidget, _e as OFFER_WIDGET_LABELS_EN, ge as OFFER_WIDGET_STATUS_LABELS_EN, ve as OfferBenefitIcon, ye as OfferWidget, d as OnboardingSuppressionReason, ce as PERSONAL_DETAILS_LABELS_EN, U as RECENT_ACTIVITY_WIDGET_LABELS_EN, le as RESULT_LABELS_EN, q as ReceivableStatusCard, J as ReceivablesWidget, W as RecentActivityWidget, w as RefreshingRootWidgetProvider, x as RootWidgetProvider, V as SINGLE_INSIGHT_LABELS_EN, l as Scope, Y as SettingsSection, Z as SettingsWidget, e as THEME_TOKEN_NAMES, $ as TRANSFERS_FEATURE_LABELS_EN, ee as TRANSFERS_WIDGET_LABELS_EN, te as TransfersWidget, f as UIFramework, o as WIDGET_SUITE_DEFAULT_SECTIONS, a as WIDGET_SUITE_LABELS_EN, be as WidgetProvider, fe as WidgetSuite, s as WidgetSuiteSectionId, S as WidgetTokenRefreshProvider, c as cloneEmbeddedClient, i as configureCsp, t as createTheme, g as getGlobalWidgetConfig, y as getGlobalWidgetInitState, u as isScope, p as registerDesignSystemEnsurer, m as registerUIRenderers, _ as setGlobalWidgetConfig, b as subscribeToGlobalWidgetInitState, n as themeIssues, r as themeToCss, v as updateGlobalWidgetConfig, T as useDisclosuresAcceptanceSurface, E as useOwnWidgetConfig, D as useRefetchWidget, O as useWidgetConfig, k as useWidgetError, A as useWidgetInitStaleForToken, j as useWidgetLoading, C as useWidgetToken };
|
|
@@ -595,6 +595,13 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
595
595
|
providerLabels?: Partial<WidgetProviderLabels>;
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
+
/** The two views of the payables list; status narrowing lives in Filters. */
|
|
599
|
+
declare const BillQueue: {
|
|
600
|
+
readonly All: "all";
|
|
601
|
+
readonly AssignedToMe: "assigned_to_me";
|
|
602
|
+
};
|
|
603
|
+
type BillQueue = (typeof BillQueue)[keyof typeof BillQueue];
|
|
604
|
+
|
|
598
605
|
declare const BillSummaryCard: {
|
|
599
606
|
readonly TotalUnpaid: "total_unpaid";
|
|
600
607
|
readonly Overdue: "overdue";
|
|
@@ -640,8 +647,16 @@ interface BillPayWidgetProps extends WidgetProviderProps {
|
|
|
640
647
|
selectedSummaryCard?: BillSummaryCard | null;
|
|
641
648
|
/** Called when the reader selects or deselects a summary card, so you can keep it in the URL. */
|
|
642
649
|
onSummaryCardChange?: (card: BillSummaryCard | null) => void;
|
|
650
|
+
/**
|
|
651
|
+
* The open view on the Bills tab, All bills or Assigned to me. Applied on
|
|
652
|
+
* mount and whenever it changes; a selected summary card opens All bills
|
|
653
|
+
* instead. Omit to let the widget track it.
|
|
654
|
+
*/
|
|
655
|
+
selectedBillsView?: BillQueue;
|
|
656
|
+
/** Called when the open view changes, from a view pill or from a card or vendor jump to All bills. */
|
|
657
|
+
onBillsViewChange?: (view: BillQueue) => void;
|
|
643
658
|
}
|
|
644
659
|
declare const BillPayWidget: (props: BillPayWidgetProps) => ReactElement;
|
|
645
660
|
|
|
646
|
-
export { BillPayWidget, BillSummaryCard };
|
|
661
|
+
export { BillPayWidget, BillSummaryCard, BillQueue as BillsView };
|
|
647
662
|
export type { BillPayWidgetProps, BillPayWidgetTabId };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BillQueue as e } from "../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index5.js";
|
|
2
|
+
import { BillSummaryCard as t } from "../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index10.js";
|
|
3
|
+
import { BillPayWidget as n } from "../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js";
|
|
3
4
|
import "../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js";
|
|
4
|
-
export {
|
|
5
|
+
export { n as BillPayWidget, t as BillSummaryCard, e as BillsView };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./index5.js";
|
|
1
|
+
import { BillQueue as e } from "./index5.js";
|
|
2
2
|
import "./index7.js";
|
|
3
|
-
import { BillSummaryCard as
|
|
3
|
+
import { BillSummaryCard as t } from "./index10.js";
|
|
4
4
|
import "./index17.js";
|
|
5
5
|
import "./index18.js";
|
|
6
6
|
import "./index19.js";
|
|
7
|
-
import { BillsListWidget as
|
|
7
|
+
import { BillsListWidget as n } from "./index21.js";
|
|
8
8
|
import "./index22.js";
|
|
9
|
-
export { e as
|
|
9
|
+
export { e as BillQueue, t as BillSummaryCard, n as BillsListWidget };
|