@tesouro/embedded-components-react 0.3.47 → 0.3.48
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 +30 -8
- package/dist/index.d.ts +80 -35
- package/dist/index.js +46 -44
- package/dist/lib/CreditCardsWidget.d.ts +1347 -0
- package/dist/lib/CreditCardsWidget.js +3 -0
- package/dist/lib/{CardsWidget.d.ts → DebitCardsWidget.d.ts} +46 -27
- package/dist/lib/DebitCardsWidget.js +3 -0
- package/dist/lib/WidgetSuite.d.ts +52 -13
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index10.js +17 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index11.js +17 -0
- 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/index9.js +3 -10
- package/package.json +1 -1
- package/dist/lib/CardsWidget.js +0 -3
package/README.md
CHANGED
|
@@ -259,20 +259,42 @@ A Monite-backed bill pay widget wrapped in Tesouro widget auth and theming.
|
|
|
259
259
|
| `finopsThemeColors` | `FinopsThemeColors` | `undefined` | Optional Monite theme color overrides. |
|
|
260
260
|
| `poweredByBankName` | `string` | `undefined` | Bank shown as "Powered by {bank}" next to the source account when paying a bill. Native implementation only (`implementation="native"`); has no effect under the default Monite implementation. |
|
|
261
261
|
|
|
262
|
-
###
|
|
262
|
+
### CreditCardsWidget
|
|
263
263
|
|
|
264
|
-
One page of an organization's credit
|
|
264
|
+
One page of an organization's **credit** cards, with a scope-gated "Show my cards" toggle and a per-row Activate affordance. Selecting a row opens that card's read-only details in a side sheet. Create card is host-owned: supply `onCreateCard` or the button is not rendered.
|
|
265
|
+
|
|
266
|
+
#### Props
|
|
267
|
+
|
|
268
|
+
| Prop | Type | Default | Description |
|
|
269
|
+
| -------------------------- | --------------------------------------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
270
|
+
| `pagination` | `{ paginationToken?, pageSize? }` | `undefined` | Controlled cursor and page size. Supply with `onPaginationChange` when your app owns the list position. |
|
|
271
|
+
| `defaultPagination` | `{ paginationToken?, pageSize? }` | First page, 10 | Initial cursor and page size when uncontrolled. Ignored when `pagination` is supplied. |
|
|
272
|
+
| `onPaginationChange` | `(pagination: CardsPagination) => void` | `undefined` | Called whenever the widget moves page or changes page size. Persist the whole object, not the token alone. |
|
|
273
|
+
| `labels` | `PartialDeep<CardsLabels>` | English labels | Overrides the copy of the list screen, including the details sheet's screen-reader name under `detailsSheet`. Nested groups merge per group. |
|
|
274
|
+
| `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. |
|
|
275
|
+
| `selectedCardId` | `string \| null` | `undefined` | Controlled selection of the card whose details panel is open. `null` closes it; omit for uncontrolled. See **Selection** below. |
|
|
276
|
+
| `defaultSelectedCardId` | `string \| null` | `undefined` | Initial selection when uncontrolled. Ignored when `selectedCardId` is supplied. |
|
|
277
|
+
| `onSelectedCardIdChange` | `(cardId: string \| null) => void` | `undefined` | Fires whenever the open card changes, including on close (`null`). Supplying it does **not** change what renders. |
|
|
278
|
+
| `cardDetailsLabels` | `PartialDeep<CardDetailsWidgetLabels>` | English labels | Label overrides forwarded into the details panel. |
|
|
279
|
+
| `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`. |
|
|
280
|
+
| `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. |
|
|
281
|
+
| `bankLogoAlt` | `string` | `undefined` | Alt text for `bankLogoSrc`. |
|
|
282
|
+
| `onCreateCard` | `() => void` | `undefined` | Host-owned Create card handler. Required for the button to render at all. See **Create card** below. |
|
|
283
|
+
| `onActivateCard` | `(cardId: string) => void` | `undefined` | Called when a row's Activate button is clicked. Omit it and the button is not rendered. |
|
|
284
|
+
|
|
285
|
+
### DebitCardsWidget
|
|
286
|
+
|
|
287
|
+
One page of an organization's **debit** cards, with a scope-gated "Show my cards" toggle, Create card and per-row Activate affordances. Selecting a row opens that card's read-only details in a side sheet. With `cardArtSrc`, Create card opens the same sheet with the built-in debit issuance flow.
|
|
265
288
|
|
|
266
289
|
#### Props
|
|
267
290
|
|
|
268
291
|
| Prop | Type | Default | Description |
|
|
269
292
|
| -------------------------- | --------------------------------------- | -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
270
|
-
| `cardProgram` | `'credit' \| 'debit'` | **Required** | Which issuing program the list shows. Also selects the scopes that gate each affordance. |
|
|
271
293
|
| `pagination` | `{ paginationToken?, pageSize? }` | `undefined` | Controlled cursor and page size. Supply with `onPaginationChange` when your app owns the list position. |
|
|
272
294
|
| `defaultPagination` | `{ paginationToken?, pageSize? }` | First page, 10 | Initial cursor and page size when uncontrolled. Ignored when `pagination` is supplied. |
|
|
273
|
-
| `onPaginationChange` | `(pagination) => void`
|
|
274
|
-
| `labels` | `PartialDeep<
|
|
275
|
-
| `featureLabels` | `PartialDeep<
|
|
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, including the details sheet's screen-reader name under `detailsSheet` and the create sheet's under `createSheet`. 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. |
|
|
276
298
|
| `selectedCardId` | `string \| null` | `undefined` | Controlled selection of the card whose details panel is open. `null` closes it; omit for uncontrolled. See **Selection** below. |
|
|
277
299
|
| `defaultSelectedCardId` | `string \| null` | `undefined` | Initial selection when uncontrolled. Ignored when `selectedCardId` is supplied. |
|
|
278
300
|
| `onSelectedCardIdChange` | `(cardId: string \| null) => void` | `undefined` | Fires whenever the open card changes, including on close (`null`). Supplying it does **not** change what renders. |
|
|
@@ -280,10 +302,10 @@ One page of an organization's credit **or** debit cards, with a scope-gated "Sho
|
|
|
280
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`. |
|
|
281
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. |
|
|
282
304
|
| `bankLogoAlt` | `string` | `undefined` | Alt text for `bankLogoSrc`. |
|
|
283
|
-
| `cardArtSrc` | `string` | `undefined` | Plastic art for the built-in
|
|
305
|
+
| `cardArtSrc` | `string` | `undefined` | Plastic art for the built-in create sheet. Required for that sheet: omit it (with no `onCreateCard`) and Create card is hidden. See **Create card** below. |
|
|
284
306
|
| `createCardLabels` | `PartialDeep<CreateCardWidgetLabels>` | English labels | Label overrides forwarded into the nested create-card panel. |
|
|
285
307
|
| `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. |
|
|
286
|
-
| `onCreateCard` | `() => void` | `undefined` | Host-owned Create card handler. When supplied, the built-in
|
|
308
|
+
| `onCreateCard` | `() => void` | `undefined` | Host-owned Create card handler. When supplied, the built-in sheet does not open — use it for a custom issuance flow. |
|
|
287
309
|
| `onActivateCard` | `(cardId: string) => void` | `undefined` | Called when a row's Activate button is clicked. Omit it and the button is not rendered. |
|
|
288
310
|
|
|
289
311
|
### CardDetailsWidget
|
package/dist/index.d.ts
CHANGED
|
@@ -2053,25 +2053,45 @@ interface CardsFeatureLabels {
|
|
|
2053
2053
|
cardType: Record<CardType, string>;
|
|
2054
2054
|
}
|
|
2055
2055
|
|
|
2056
|
-
|
|
2056
|
+
/**
|
|
2057
|
+
* What `onPaginationChange` reports. One shared type across both programs — the
|
|
2058
|
+
* shape does not vary by program, so per-program aliases would be published
|
|
2059
|
+
* surface for nothing. Named without the `Widget` segment because no widget
|
|
2060
|
+
* called `CardsWidget` is published any more; `CreditCardsWidget` and
|
|
2061
|
+
* `DebitCardsWidget` both hand back this.
|
|
2062
|
+
*/
|
|
2063
|
+
interface CardsPagination {
|
|
2057
2064
|
/** Cursor for the page on screen. Omit for the first page. */
|
|
2058
2065
|
paginationToken?: string;
|
|
2059
2066
|
/** Number of rows requested per page. */
|
|
2060
2067
|
pageSize: number;
|
|
2061
2068
|
}
|
|
2069
|
+
/**
|
|
2070
|
+
* The wider shape `pagination` / `defaultPagination` accept. Internal: a
|
|
2071
|
+
* `CardsPagination` handed back by `onPaginationChange` satisfies it, which is
|
|
2072
|
+
* the round-trip the docs describe, so the package publishes only that one.
|
|
2073
|
+
* Keeps the `CardsWidget` segment because the internal component keeps the name.
|
|
2074
|
+
*/
|
|
2062
2075
|
interface CardsWidgetPaginationInput {
|
|
2063
2076
|
paginationToken?: string;
|
|
2064
2077
|
pageSize?: number;
|
|
2065
2078
|
}
|
|
2066
2079
|
|
|
2080
|
+
/**
|
|
2081
|
+
* The internal props. Not published: `CreditCardsWidgetProps` and
|
|
2082
|
+
* `DebitCardsWidgetProps` are derived from this by omission, which is what makes
|
|
2083
|
+
* `cardProgram` an implementation detail and the debit-only create props
|
|
2084
|
+
* unreachable on a credit list.
|
|
2085
|
+
*/
|
|
2067
2086
|
interface CardsWidgetProps extends WidgetProviderProps {
|
|
2068
2087
|
/**
|
|
2069
|
-
* Which issuing program the list shows — `'credit'` or `'debit'`.
|
|
2088
|
+
* Which issuing program the list shows — `'credit'` or `'debit'`. It selects
|
|
2089
|
+
* the endpoint that is read as well as which scopes gate the affordances.
|
|
2070
2090
|
*
|
|
2071
|
-
* **Required, with no default
|
|
2072
|
-
*
|
|
2073
|
-
*
|
|
2074
|
-
*
|
|
2091
|
+
* **Required, with no default**, and supplied by the wrapper rather than by a
|
|
2092
|
+
* consumer: `CreditCardsWidget` and `DebitCardsWidget` pin it. It was a public
|
|
2093
|
+
* prop until those two exports replaced it, and a default here would silently
|
|
2094
|
+
* pick a program, where an integrator on one route only ever wants one.
|
|
2075
2095
|
*/
|
|
2076
2096
|
cardProgram: CardProgram;
|
|
2077
2097
|
/**
|
|
@@ -2089,7 +2109,7 @@ interface CardsWidgetProps extends WidgetProviderProps {
|
|
|
2089
2109
|
* controls or a cursor-invalidating reset such as page-size changes. Hosts that
|
|
2090
2110
|
* persist list position should store this whole object, not the token alone.
|
|
2091
2111
|
*/
|
|
2092
|
-
onPaginationChange?: (pagination:
|
|
2112
|
+
onPaginationChange?: (pagination: CardsPagination) => void;
|
|
2093
2113
|
/**
|
|
2094
2114
|
* Overrides for the list's own copy, merged per nested group. Typed with the
|
|
2095
2115
|
* `ui` lib's own deep-partial helper (each labels module declares one — the
|
|
@@ -2198,28 +2218,52 @@ interface CardsWidgetProps extends WidgetProviderProps {
|
|
|
2198
2218
|
*/
|
|
2199
2219
|
onActivateCard?: (cardId: string) => void;
|
|
2200
2220
|
}
|
|
2221
|
+
|
|
2222
|
+
/**
|
|
2223
|
+
* Derived from the internal props rather than restated, so the two cannot drift.
|
|
2224
|
+
*
|
|
2225
|
+
* Four omissions, not one. `cardProgram` is pinned below. The three create-sheet
|
|
2226
|
+
* props are debit-only: the built-in sheet issues against `POST /credit-cards`'s
|
|
2227
|
+
* sibling and `CreateCardWidget` covers debit alone, so credit's Create card
|
|
2228
|
+
* needs a host `onCreateCard` or the button hides. That was prose in the doc; the
|
|
2229
|
+
* type says it here.
|
|
2230
|
+
*/
|
|
2231
|
+
type CreditCardsWidgetProps = Omit<CardsWidgetProps, 'cardProgram' | 'cardArtSrc' | 'createCardLabels' | 'createCardFeatureLabels'>;
|
|
2201
2232
|
/**
|
|
2202
|
-
*
|
|
2203
|
-
*
|
|
2204
|
-
*
|
|
2205
|
-
*
|
|
2206
|
-
*
|
|
2207
|
-
*
|
|
2208
|
-
*
|
|
2209
|
-
*
|
|
2210
|
-
*
|
|
2211
|
-
*
|
|
2212
|
-
*
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
*
|
|
2218
|
-
*
|
|
2219
|
-
*
|
|
2220
|
-
|
|
2233
|
+
* One page of an organization's **credit** cards, with a scope-gated Show my
|
|
2234
|
+
* cards toggle and per-row Activate affordance. Selecting a row opens that
|
|
2235
|
+
* card's read-only details in a sheet.
|
|
2236
|
+
*
|
|
2237
|
+
* Create card is host-owned here: pass `onCreateCard` or the button does not
|
|
2238
|
+
* render. Debit is {@link DebitCardsWidget}, a separate export because
|
|
2239
|
+
* integrators put the two programs on different routes — and because the
|
|
2240
|
+
* built-in create sheet is debit's alone.
|
|
2241
|
+
*
|
|
2242
|
+
* The program is pinned *after* the spread, so a JavaScript host still passing
|
|
2243
|
+
* the retired `cardProgram` cannot point this export at the debit endpoint.
|
|
2244
|
+
*/
|
|
2245
|
+
declare function CreditCardsWidget(props: CreditCardsWidgetProps): React.JSX.Element;
|
|
2246
|
+
|
|
2247
|
+
/**
|
|
2248
|
+
* Derived from the internal props rather than restated, so the two cannot drift.
|
|
2249
|
+
* Only `cardProgram` is omitted — the built-in create sheet is debit's, so this
|
|
2250
|
+
* export keeps `cardArtSrc` and the two create-panel label props.
|
|
2251
|
+
*/
|
|
2252
|
+
type DebitCardsWidgetProps = Omit<CardsWidgetProps, 'cardProgram'>;
|
|
2253
|
+
/**
|
|
2254
|
+
* One page of an organization's **debit** cards, with scope-gated Show my cards,
|
|
2255
|
+
* Create card and per-row Activate affordances. Selecting a row opens that
|
|
2256
|
+
* card's read-only details in a sheet.
|
|
2257
|
+
*
|
|
2258
|
+
* With `cardArtSrc`, Create card opens the same sheet with the built-in
|
|
2259
|
+
* `CreateCardWidget` issuance flow; a host `onCreateCard` still takes the
|
|
2260
|
+
* gesture over. Credit is {@link CreditCardsWidget}, which accepts neither
|
|
2261
|
+
* `cardArtSrc` nor the create-panel labels.
|
|
2262
|
+
*
|
|
2263
|
+
* The program is pinned *after* the spread, so a JavaScript host still passing
|
|
2264
|
+
* the retired `cardProgram` cannot point this export at the credit endpoint.
|
|
2221
2265
|
*/
|
|
2222
|
-
declare function
|
|
2266
|
+
declare function DebitCardsWidget(props: DebitCardsWidgetProps): React.JSX.Element;
|
|
2223
2267
|
|
|
2224
2268
|
interface InsightsWidgetLabels {
|
|
2225
2269
|
widgetTitle: string;
|
|
@@ -2653,15 +2697,16 @@ interface WidgetSuiteDisclosureLabels {
|
|
|
2653
2697
|
* A widget's whole copy surface: every label prop it accepts, spread onto it so
|
|
2654
2698
|
* the props keep the names that widget's own doc gives them.
|
|
2655
2699
|
*
|
|
2656
|
-
* Derived rather than hand-listed:
|
|
2657
|
-
* list goes stale the next time one grows a panel. `providerLabels`
|
|
2658
|
-
* because the suite addresses the provider once, at the top level.
|
|
2700
|
+
* Derived rather than hand-listed: the debit card list alone has six, so a
|
|
2701
|
+
* written-out list goes stale the next time one grows a panel. `providerLabels`
|
|
2702
|
+
* is excluded because the suite addresses the provider once, at the top level.
|
|
2659
2703
|
*/
|
|
2660
2704
|
type WidgetLabelProps<T> = Omit<Pick<T, Extract<keyof T, 'labels' | `${string}Labels`>>, 'providerLabels'>;
|
|
2661
2705
|
type WidgetSuiteBalancesLabels = WidgetLabelProps<BalancesWidgetProps>;
|
|
2662
2706
|
type WidgetSuiteInsightsLabels = WidgetLabelProps<InsightsWidgetProps>;
|
|
2663
2707
|
type WidgetSuiteAccountsLabels = WidgetLabelProps<BankAccountsWidgetProps>;
|
|
2664
|
-
type
|
|
2708
|
+
type WidgetSuiteCreditCardsLabels = WidgetLabelProps<CreditCardsWidgetProps>;
|
|
2709
|
+
type WidgetSuiteDebitCardsLabels = WidgetLabelProps<DebitCardsWidgetProps>;
|
|
2665
2710
|
type WidgetSuiteTransfersLabels = WidgetLabelProps<TransfersWidgetProps>;
|
|
2666
2711
|
type WidgetSuiteSettingsLabels = WidgetLabelProps<SettingsWidgetProps>;
|
|
2667
2712
|
/** The two widgets the Dashboard section pairs, each taking its own copy. */
|
|
@@ -2677,8 +2722,8 @@ interface WidgetSuiteDashboardLabels {
|
|
|
2677
2722
|
* each is retitled by program.
|
|
2678
2723
|
*/
|
|
2679
2724
|
interface WidgetSuiteCardsLabels {
|
|
2680
|
-
creditCards:
|
|
2681
|
-
debitCards:
|
|
2725
|
+
creditCards: WidgetSuiteCreditCardsLabels;
|
|
2726
|
+
debitCards: WidgetSuiteDebitCardsLabels;
|
|
2682
2727
|
}
|
|
2683
2728
|
/** Expenses is only a placeholder until the suite wires a read/self surface. */
|
|
2684
2729
|
interface WidgetSuiteExpensesLabels {
|
|
@@ -5284,5 +5329,5 @@ interface CheckAmountAndDetailScreenProps {
|
|
|
5284
5329
|
|
|
5285
5330
|
type PendingFeatureStyleSources = CheckAmountAndDetailScreenProps | GapCoverageAlertProps | NoPolicyBannerProps;
|
|
5286
5331
|
|
|
5287
|
-
export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ACCOUNT_DELETE_DIALOG_LABELS_EN, ACCOUNT_FORM_SHEET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, AcceptDisclosuresWidget, AccountDeleteDialog, AccountFormSheet, BALANCES_WIDGET_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BillPayWidget, CHART_OF_ACCOUNTS_LABELS_EN, CHART_OF_ACCOUNTS_MESSAGE_LABELS_EN, CREATE_CARD_FEATURE_LABELS_EN, CardDetailsWidget, CardFormatValue,
|
|
5288
|
-
export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, AccountDeleteDialogLabels, AccountDeleteDialogProps, Labels$5 as AccountDetailsWidgetLabels, AccountFormErrors, AccountFormMode, AccountFormSheetLabels, AccountFormSheetProps, AccountFormValues, AdditionalOwner, AdditionalOwnersLabels, AddressFormSheetLabels, BalancesWidgetLabels, BalancesWidgetProps, BankAccountFormSheetLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, FeatureLabels$5 as BankAccountsWidgetFeatureLabels, Labels$6 as BankAccountsWidgetLabels, BankAccountsWidgetProps, BillPayWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps, CardsFeatureLabels
|
|
5332
|
+
export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ACCOUNT_DELETE_DIALOG_LABELS_EN, ACCOUNT_FORM_SHEET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, AcceptDisclosuresWidget, AccountDeleteDialog, AccountFormSheet, BALANCES_WIDGET_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BillPayWidget, CHART_OF_ACCOUNTS_LABELS_EN, CHART_OF_ACCOUNTS_MESSAGE_LABELS_EN, CREATE_CARD_FEATURE_LABELS_EN, CardDetailsWidget, CardFormatValue, ChartOfAccountsTable, ChartOfAccountsWidget, CounterpartsWidget, CreateCardWidget, CreditCardsWidget, DebitCardsWidget, ERROR_STATE_ID, ExpenseApprovalPoliciesWidget, ExpenseManagementWidget, ExpenseRequirementsWidget, HELP_FAQ_EN, HELP_WIDGET_LABELS_EN, HelpWidget, INSIGHTS_FEATURE_LABELS_EN, INSIGHTS_WIDGET_LABELS_EN, Implementation, InsightsWidget, ReceivablesWidgetMonite as InvoicingWidget, LinkedAccountsWidget, PERSONAL_DETAILS_LABELS_EN, ProductsWidget, ProfileWidget, RESULT_LABELS_EN, ReceiptMatchWidget, ReceivablesWidget, RefreshingRootWidgetProvider, RootWidgetProvider, SINGLE_INSIGHT_LABELS_EN, SettingsSection, SettingsWidget, DEFAULT_FEATURE_LABELS as TRANSFERS_FEATURE_LABELS_EN, TRANSFERS_WIDGET_LABELS_EN, TagsWidget, TeamWidget, TransfersWidget, UIFramework, UploadReceiptWidget, WIDGET_SUITE_DEFAULT_SECTIONS, WIDGET_SUITE_LABELS_EN, WidgetProvider, WidgetSuite, WidgetSuiteSectionId, WidgetTokenRefreshProvider, cloneEmbeddedClient, getGlobalWidgetConfig, getGlobalWidgetInitState, registerDesignSystemEnsurer, registerUIRenderers, resolveCreateCardFeatureLabels, setGlobalWidgetConfig, subscribeToGlobalWidgetInitState, updateGlobalWidgetConfig, useDisclosuresAcceptanceSurface, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetLoading, useWidgetToken };
|
|
5333
|
+
export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, AccountDeleteDialogLabels, AccountDeleteDialogProps, Labels$5 as AccountDetailsWidgetLabels, AccountFormErrors, AccountFormMode, AccountFormSheetLabels, AccountFormSheetProps, AccountFormValues, AdditionalOwner, AdditionalOwnersLabels, AddressFormSheetLabels, BalancesWidgetLabels, BalancesWidgetProps, BankAccountFormSheetLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, FeatureLabels$5 as BankAccountsWidgetFeatureLabels, Labels$6 as BankAccountsWidgetLabels, BankAccountsWidgetProps, BillPayWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps, CardsFeatureLabels, CardsListLabels as CardsLabels, CardsPagination, ChartOfAccountsLabels, ChartOfAccountsMessageLabels, ChartOfAccountsTableProps, ChartOfAccountsWidgetLabelProps, ChartOfAccountsWidgetProps, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreateCardFeatureLabels, CreateCardWidgetLabels, CreateCardWidgetProps, CreditCardsWidgetProps, DebitCardsWidgetProps, DisclosureLinks, EmbeddedClient, ExpenseApprovalPoliciesWidgetProps, Labels$3 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, ExpenseRequirementsWidgetProps, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, HelpWidgetLabels, HelpWidgetProps, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, ReceivablesWidgetMoniteProps as InvoicingWidgetProps, LedgerAccountRow, LinkComponent, LinkComponentProps, FeatureLabels$2 as LinkedAccountsWidgetFeatureLabels, Labels$2 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MarketingWidgetContent, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps, FeatureLabels$1 as ProfileWidgetFeatureLabels, Labels$1 as ProfileWidgetLabels, ProfileWidgetProps, ReceiptMatchSummary, ReceiptMatchWidgetProps, ReceivableActionDialogLabels, ReceivableDetailsSheetLabelOverrides, ReceivableDetailsSheetLabels, ReceivableDocumentType, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivableSendDialogLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, ReceivablesWidgetTab, RefreshingRootWidgetProviderProps, ResultLabels, RootWidgetProviderProps, SettingsWidgetAdditionalSection, FeatureLabels$4 as SettingsWidgetFeatureLabels, Labels$4 as SettingsWidgetLabels, SettingsWidgetProps, SettingsWidgetSection, SettingsWidgetSectionId, SingleInsightLabels, TagDeleteDialogLabels, TagFormSheetLabels, TagMessageLabels, TagsScreenLabels, TagsWidgetProps, FeatureLabels as TeamWidgetFeatureLabels, Labels as TeamWidgetLabels, TeamWidgetProps, FeatureLabels$3 as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, UploadReceiptWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetInitState, WidgetProviderLabels, WidgetProviderProps, WidgetSuiteCardsLabels, WidgetSuiteDashboardLabels, WidgetSuiteDisclosureLabels, WidgetSuiteExpensesLabels, WidgetSuiteLabelOverrides, WidgetSuiteLabels, WidgetSuiteMenuLabels, WidgetSuiteProps, WidgetSuiteSectionContentLabels, WidgetSuiteSectionTitleLabels, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };
|
package/dist/index.js
CHANGED
|
@@ -19,45 +19,47 @@ import { CardDetailsWidget as D } from "./libs/tesouro-embedded-components-react
|
|
|
19
19
|
import { CardFormatValue as O } from "./libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index3.js";
|
|
20
20
|
import { CREATE_CARD_FEATURE_LABELS_EN as k, resolveCreateCardFeatureLabels as A } from "./libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index5.js";
|
|
21
21
|
import { CreateCardWidget as j } from "./libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index8.js";
|
|
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 {
|
|
22
|
+
import { CreditCardsWidget as M } from "./libs/tesouro-embedded-components-react/cards-widget/feature/dist/index10.js";
|
|
23
|
+
import { DebitCardsWidget as N } from "./libs/tesouro-embedded-components-react/cards-widget/feature/dist/index11.js";
|
|
24
|
+
import { BALANCES_WIDGET_LABELS_EN as P } from "./libs/tesouro-embedded-components-react/balances-widget/ui/dist/lib/BalancesWidget/labels.js";
|
|
25
|
+
import { BalancesWidget as F } from "./libs/tesouro-embedded-components-react/balances-widget/feature/dist/index6.js";
|
|
26
|
+
import { INSIGHTS_FEATURE_LABELS_EN as I } from "./libs/tesouro-embedded-components-react/insights-widget/feature/dist/index3.js";
|
|
27
|
+
import { INSIGHTS_WIDGET_LABELS_EN as L } from "./libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/labels.js";
|
|
28
|
+
import { SINGLE_INSIGHT_LABELS_EN as R } from "./libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/SingleInsight/labels.js";
|
|
29
|
+
import { InsightsWidget as z } from "./libs/tesouro-embedded-components-react/insights-widget/feature/dist/index12.js";
|
|
30
|
+
import { InvoicingWidget as B } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js";
|
|
31
|
+
import { ReceivablesWidget as V } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js";
|
|
32
|
+
import { SettingsSection as H } from "./libs/tesouro-embedded-components-react/settings-widget/feature/dist/index4.js";
|
|
33
|
+
import { ExpenseApprovalPoliciesWidget as U } from "./libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index6.js";
|
|
34
|
+
import { UploadReceiptWidget as W } from "./libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index7.js";
|
|
35
|
+
import { ExpenseRequirementsWidget as G } from "./libs/tesouro-embedded-components-react/expense-requirements-widget/feature/dist/lib/ExpenseRequirementsWidget.js";
|
|
36
|
+
import { ExpenseManagementWidget as K } from "./libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index9.js";
|
|
37
|
+
import { ReceiptMatchWidget as q } from "./libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index13.js";
|
|
38
|
+
import { TagsWidget as J } from "./libs/tesouro-embedded-components-react/tags-widget/feature/dist/index11.js";
|
|
39
|
+
import { TeamWidget as Y } from "./libs/tesouro-embedded-components-react/team-widget/feature/dist/index17.js";
|
|
40
|
+
import { CHART_OF_ACCOUNTS_MESSAGE_LABELS_EN as X } from "./libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index5.js";
|
|
41
|
+
import { ACCOUNT_DELETE_DIALOG_LABELS_EN as Z, ACCOUNT_FORM_SHEET_LABELS_EN as Q, CHART_OF_ACCOUNTS_LABELS_EN as $ } from "./libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index2.js";
|
|
42
|
+
import { ChartOfAccountsTable as ee } from "./libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index3.js";
|
|
43
|
+
import { AccountFormSheet as te } from "./libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index4.js";
|
|
44
|
+
import { AccountDeleteDialog as ne } from "./libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index5.js";
|
|
45
|
+
import { ChartOfAccountsWidget as re } from "./libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index8.js";
|
|
46
|
+
import { HELP_WIDGET_LABELS_EN as ie } from "./libs/tesouro-embedded-components-react/help-widget/ui/contract/dist/index2.js";
|
|
47
|
+
import { HELP_FAQ_EN as ae } from "./libs/tesouro-embedded-components-react/help-widget/ui/contract/dist/index3.js";
|
|
48
|
+
import { HelpWidget as oe } from "./libs/tesouro-embedded-components-react/help-widget/feature/dist/index3.js";
|
|
49
|
+
import { ProfileWidget as se } from "./libs/tesouro-embedded-components-react/profile-widget/feature/dist/index4.js";
|
|
50
|
+
import { SettingsWidget as ce } from "./libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js";
|
|
51
|
+
import { DEFAULT_FEATURE_LABELS as le } from "./libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index3.js";
|
|
52
|
+
import { TRANSFERS_WIDGET_LABELS_EN as ue } from "./libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/labels.js";
|
|
53
|
+
import { TransfersWidget as de } from "./libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index7.js";
|
|
54
|
+
import { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN as fe } from "./libs/tesouro-embedded-components-react/accept-disclosures-widget/ui/dist/lib/AcceptDisclosuresWidget/labels.js";
|
|
55
|
+
import { AcceptDisclosuresWidget as pe } from "./libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index5.js";
|
|
56
|
+
import { WidgetSuite as me } from "./libs/tesouro-embedded-components-react/widget-suite/feature/dist/index16.js";
|
|
56
57
|
import "./lib/WidgetSuite.js";
|
|
57
58
|
import "./lib/AcceptDisclosuresWidget.js";
|
|
58
59
|
import "./lib/BankAccountsWidget.js";
|
|
59
60
|
import "./lib/BillPayWidget.js";
|
|
60
|
-
import "./lib/
|
|
61
|
+
import "./lib/CreditCardsWidget.js";
|
|
62
|
+
import "./lib/DebitCardsWidget.js";
|
|
61
63
|
import "./lib/CardDetailsWidget.js";
|
|
62
64
|
import "./lib/CreateCardWidget.js";
|
|
63
65
|
import "./lib/CounterpartsWidget.js";
|
|
@@ -69,15 +71,15 @@ import "./lib/InsightsWidget.js";
|
|
|
69
71
|
import "./lib/ChartOfAccountsWidget.js";
|
|
70
72
|
import "./lib/HelpWidget.js";
|
|
71
73
|
import "./lib/InvoicingWidget.js";
|
|
72
|
-
import { LinkedAccountsWidget as
|
|
74
|
+
import { LinkedAccountsWidget as he } from "./libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index9.js";
|
|
73
75
|
import "./lib/LinkedAccountsWidget.js";
|
|
74
|
-
import { ADDITIONAL_OWNERS_LABELS_EN as
|
|
75
|
-
import { BUSINESS_DETAILS_LABELS_EN as
|
|
76
|
-
import { PERSONAL_DETAILS_LABELS_EN as
|
|
77
|
-
import { RESULT_LABELS_EN as
|
|
78
|
-
import { BankAccountOnboardingWidget as
|
|
76
|
+
import { ADDITIONAL_OWNERS_LABELS_EN as ge } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index4.js";
|
|
77
|
+
import { BUSINESS_DETAILS_LABELS_EN as _e } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index6.js";
|
|
78
|
+
import { PERSONAL_DETAILS_LABELS_EN as ve } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index7.js";
|
|
79
|
+
import { RESULT_LABELS_EN as ye } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index12.js";
|
|
80
|
+
import { BankAccountOnboardingWidget as be } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index18.js";
|
|
79
81
|
import "./lib/BankAccountOnboardingWidget.js";
|
|
80
|
-
import { ProductsWidget as
|
|
82
|
+
import { ProductsWidget as xe } from "./libs/tesouro-embedded-components-react/products-widget/feature/dist/index8.js";
|
|
81
83
|
import "./lib/ProductsWidget.js";
|
|
82
84
|
import "./lib/ProfileWidget.js";
|
|
83
85
|
import "./lib/ReceivablesWidget.js";
|
|
@@ -87,6 +89,6 @@ import "./lib/TagsWidget.js";
|
|
|
87
89
|
import "./lib/TeamWidget.js";
|
|
88
90
|
import "./lib/TransfersWidget.js";
|
|
89
91
|
import "./lib/UploadReceiptWidget.js";
|
|
90
|
-
import { WidgetProvider as
|
|
92
|
+
import { WidgetProvider as Se } from "./lib/WidgetProviderPublic.js";
|
|
91
93
|
import "./lib/WidgetProvider.js";
|
|
92
|
-
export {
|
|
94
|
+
export { fe as ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, Z as ACCOUNT_DELETE_DIALOG_LABELS_EN, Q as ACCOUNT_FORM_SHEET_LABELS_EN, ge as ADDITIONAL_OWNERS_LABELS_EN, pe as AcceptDisclosuresWidget, ne as AccountDeleteDialog, te as AccountFormSheet, P as BALANCES_WIDGET_LABELS_EN, _e as BUSINESS_DETAILS_LABELS_EN, F as BalancesWidget, be as BankAccountOnboardingWidget, w as BankAccountsWidget, E as BillPayWidget, $ as CHART_OF_ACCOUNTS_LABELS_EN, X as CHART_OF_ACCOUNTS_MESSAGE_LABELS_EN, k as CREATE_CARD_FEATURE_LABELS_EN, D as CardDetailsWidget, O as CardFormatValue, ee as ChartOfAccountsTable, re as ChartOfAccountsWidget, T as CounterpartsWidget, j as CreateCardWidget, M as CreditCardsWidget, N as DebitCardsWidget, s as ERROR_STATE_ID, U as ExpenseApprovalPoliciesWidget, K as ExpenseManagementWidget, G as ExpenseRequirementsWidget, ae as HELP_FAQ_EN, ie as HELP_WIDGET_LABELS_EN, oe as HelpWidget, I as INSIGHTS_FEATURE_LABELS_EN, L as INSIGHTS_WIDGET_LABELS_EN, c as Implementation, z as InsightsWidget, B as InvoicingWidget, he as LinkedAccountsWidget, ve as PERSONAL_DETAILS_LABELS_EN, xe as ProductsWidget, se as ProfileWidget, ye as RESULT_LABELS_EN, q as ReceiptMatchWidget, V as ReceivablesWidget, _ as RefreshingRootWidgetProvider, m as RootWidgetProvider, R as SINGLE_INSIGHT_LABELS_EN, H as SettingsSection, ce as SettingsWidget, le as TRANSFERS_FEATURE_LABELS_EN, ue as TRANSFERS_WIDGET_LABELS_EN, J as TagsWidget, Y as TeamWidget, de as TransfersWidget, i as UIFramework, W as UploadReceiptWidget, t as WIDGET_SUITE_DEFAULT_SECTIONS, e as WIDGET_SUITE_LABELS_EN, Se as WidgetProvider, me as WidgetSuite, n as WidgetSuiteSectionId, h as WidgetTokenRefreshProvider, r as cloneEmbeddedClient, l as getGlobalWidgetConfig, f as getGlobalWidgetInitState, a as registerDesignSystemEnsurer, o as registerUIRenderers, A as resolveCreateCardFeatureLabels, u as setGlobalWidgetConfig, p as subscribeToGlobalWidgetInitState, d as updateGlobalWidgetConfig, v as useDisclosuresAcceptanceSurface, y as useOwnWidgetConfig, b as useRefetchWidget, x as useWidgetConfig, S as useWidgetError, C as useWidgetLoading, g as useWidgetToken };
|