@tesouro/embedded-components-react 0.2.256 → 0.2.257
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 +19 -0
- package/dist/index.d.ts +127 -111
- package/dist/index.js +42 -38
- package/dist/lib/CardsWidget.d.ts +4 -5
- package/dist/lib/CreateCardWidget.d.ts +686 -0
- package/dist/lib/CreateCardWidget.js +5 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/data-access/dist/index.js +5 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/data-access/dist/index2.js +13 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/data-access/dist/index3.js +12 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/data-access/dist/index4.js +29 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/data-access/dist/index5.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index2.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index3.js +56 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index4.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index5.js +16 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index6.js +52 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index7.js +200 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/ui/dist/index.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/ui/dist/lib/CreateCardWidget/CardArt.js +12 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/ui/dist/lib/CreateCardWidget/CreateCardWidget.js +99 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/ui/dist/lib/CreateCardWidget/ManualAddressFields.js +67 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/ui/dist/lib/CreateCardWidget/PreparingView.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/ui/dist/lib/CreateCardWidget/SetupView.js +172 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/ui/dist/lib/CreateCardWidget/SuccessView.js +50 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/ui/dist/lib/CreateCardWidget/labels.js +103 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/ui/dist/lib/CreateCardWidget/types.js +11 -0
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +169 -151
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +141 -113
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/pending-feature-style-sources.d.ts +1 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -277,6 +277,25 @@ Read-only details for one credit **or** debit card — status, form factor, prog
|
|
|
277
277
|
| `bankLogoSrc` | `string` | `undefined` | Bank logo for the card face. Omit and the face renders without a logo rather than with a placeholder. |
|
|
278
278
|
| `bankLogoAlt` | `string` | `undefined` | Alt text for `bankLogoSrc`. Falls back to `labels.cardFace.bankLogoAlt`. |
|
|
279
279
|
|
|
280
|
+
### CreateCardWidget
|
|
281
|
+
|
|
282
|
+
Issues a new **debit** card for an enrolled team member: cardholder, format
|
|
283
|
+
(virtual / physical), funding bank account, and — for physical cards — a mailing
|
|
284
|
+
destination. Loading, success, and error feedback use both full-screen views and
|
|
285
|
+
sonner toasts.
|
|
286
|
+
|
|
287
|
+
#### Props
|
|
288
|
+
|
|
289
|
+
| Prop | Type | Default | Description |
|
|
290
|
+
| --------------- | ------------------------------------- | -------------- | ------------------------------------------------------------------------------------------------------------------ |
|
|
291
|
+
| `cardArtSrc` | `string` | **Required** | Static card plastic image URL (no name overlays). |
|
|
292
|
+
| `labels` | `PartialDeep<CreateCardWidgetLabels>` | English labels | Overrides presentational copy (header, setup, mailing, preparing, success, footer). Nested groups merge per group. |
|
|
293
|
+
| `featureLabels` | toast / untitled-funding overrides | English labels | Overrides mutation toast strings and the funding-account fallback name. |
|
|
294
|
+
| `className` | `string` | — | Optional class on the presentational root. |
|
|
295
|
+
| `onClose` | `() => void` | — | Header close control. Omit and no close control is rendered. |
|
|
296
|
+
| `onCancel` | `() => void` | — | Called when Cancel is pressed (also invokes `onClose` when both are set). |
|
|
297
|
+
| `onViewCard` | `(cardId: string) => void` | — | Called with the new debit card id after a successful create when the user presses **View card**. |
|
|
298
|
+
|
|
280
299
|
### CounterpartsWidget
|
|
281
300
|
|
|
282
301
|
A self-contained widget for managing an organization's customers or vendors with searchable lists, money columns, details, editing, and deletion.
|
package/dist/index.d.ts
CHANGED
|
@@ -2084,11 +2084,10 @@ interface CardsWidgetProps extends WidgetProviderProps {
|
|
|
2084
2084
|
* Called when Create card is clicked. The button renders only when the widget
|
|
2085
2085
|
* token also holds the program's issue scope.
|
|
2086
2086
|
*
|
|
2087
|
-
* The widget deliberately implements no creation flow:
|
|
2088
|
-
*
|
|
2089
|
-
*
|
|
2090
|
-
*
|
|
2091
|
-
* rather than offering a control that does nothing.
|
|
2087
|
+
* The widget deliberately implements no in-list creation flow: compose
|
|
2088
|
+
* `CreateCardWidget` (debit) — or your own credit flow — and open it from
|
|
2089
|
+
* this callback (for example in the details sheet). Omitting the callback
|
|
2090
|
+
* hides the button rather than offering a control that does nothing.
|
|
2092
2091
|
*/
|
|
2093
2092
|
onCreateCard?: () => void;
|
|
2094
2093
|
/**
|
|
@@ -2120,6 +2119,122 @@ interface CardsWidgetProps extends WidgetProviderProps {
|
|
|
2120
2119
|
*/
|
|
2121
2120
|
declare function CardsWidget({ baseUrl, widgetToken, organizationId, configClient, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, ...innerProps }: CardsWidgetProps): React.JSX.Element;
|
|
2122
2121
|
|
|
2122
|
+
type PartialDeep$1<T> = {
|
|
2123
|
+
[K in keyof T]?: T[K] extends object ? PartialDeep$1<T[K]> : T[K];
|
|
2124
|
+
};
|
|
2125
|
+
interface CreateCardWidgetLabels {
|
|
2126
|
+
header: {
|
|
2127
|
+
title: string;
|
|
2128
|
+
closeAriaLabel: string;
|
|
2129
|
+
};
|
|
2130
|
+
cardArtAlt: string;
|
|
2131
|
+
setup: {
|
|
2132
|
+
sectionTitle: string;
|
|
2133
|
+
sectionDescription: string;
|
|
2134
|
+
cardholderLabel: string;
|
|
2135
|
+
cardholderPlaceholder: string;
|
|
2136
|
+
cardFormatLabel: string;
|
|
2137
|
+
cardFormatPlaceholder: string;
|
|
2138
|
+
cardFormatVirtual: string;
|
|
2139
|
+
cardFormatPhysical: string;
|
|
2140
|
+
fundingAccountLabel: string;
|
|
2141
|
+
fundingAccountPlaceholder: string;
|
|
2142
|
+
};
|
|
2143
|
+
mailing: {
|
|
2144
|
+
sectionTitle: string;
|
|
2145
|
+
sectionDescription: string;
|
|
2146
|
+
businessTitle: string;
|
|
2147
|
+
businessDescription: string;
|
|
2148
|
+
customTitle: string;
|
|
2149
|
+
customDescription: string;
|
|
2150
|
+
};
|
|
2151
|
+
manualAddress: {
|
|
2152
|
+
streetLabel: string;
|
|
2153
|
+
cityLabel: string;
|
|
2154
|
+
stateLabel: string;
|
|
2155
|
+
statePlaceholder: string;
|
|
2156
|
+
zipLabel: string;
|
|
2157
|
+
};
|
|
2158
|
+
preparing: {
|
|
2159
|
+
title: string;
|
|
2160
|
+
description: string;
|
|
2161
|
+
};
|
|
2162
|
+
success: {
|
|
2163
|
+
title: string;
|
|
2164
|
+
description: string;
|
|
2165
|
+
createAnother: string;
|
|
2166
|
+
viewCard: string;
|
|
2167
|
+
};
|
|
2168
|
+
footer: {
|
|
2169
|
+
cancel: string;
|
|
2170
|
+
createCard: string;
|
|
2171
|
+
};
|
|
2172
|
+
cardholderError: {
|
|
2173
|
+
title: string;
|
|
2174
|
+
description: string;
|
|
2175
|
+
retry: string;
|
|
2176
|
+
};
|
|
2177
|
+
fundingAccountError: {
|
|
2178
|
+
title: string;
|
|
2179
|
+
description: string;
|
|
2180
|
+
retry: string;
|
|
2181
|
+
};
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
interface CreateCardFeatureLabels {
|
|
2185
|
+
toast: {
|
|
2186
|
+
creating: string;
|
|
2187
|
+
success: string;
|
|
2188
|
+
error: string;
|
|
2189
|
+
};
|
|
2190
|
+
untitledFundingAccount: string;
|
|
2191
|
+
/**
|
|
2192
|
+
* Success-screen copy chosen from the create response's `cardStatus`.
|
|
2193
|
+
* Active/ready wording lives on the UI defaults; these cover statuses that
|
|
2194
|
+
* must not claim the card is already usable.
|
|
2195
|
+
*/
|
|
2196
|
+
success: {
|
|
2197
|
+
pendingActivationTitle: string;
|
|
2198
|
+
pendingActivationDescription: string;
|
|
2199
|
+
createdTitle: string;
|
|
2200
|
+
createdDescription: string;
|
|
2201
|
+
};
|
|
2202
|
+
}
|
|
2203
|
+
declare const CREATE_CARD_FEATURE_LABELS_EN: CreateCardFeatureLabels;
|
|
2204
|
+
declare function resolveCreateCardFeatureLabels(overrides?: Partial<{
|
|
2205
|
+
toast: Partial<CreateCardFeatureLabels['toast']>;
|
|
2206
|
+
untitledFundingAccount: string;
|
|
2207
|
+
success: Partial<CreateCardFeatureLabels['success']>;
|
|
2208
|
+
}>): CreateCardFeatureLabels;
|
|
2209
|
+
|
|
2210
|
+
type CreateCardWidgetProps = WidgetProviderProps & {
|
|
2211
|
+
/** Static card plastic image URL (no overlays). Host / white-label supplied. */
|
|
2212
|
+
cardArtSrc: string;
|
|
2213
|
+
labels?: PartialDeep$1<CreateCardWidgetLabels>;
|
|
2214
|
+
featureLabels?: Partial<{
|
|
2215
|
+
toast: Partial<CreateCardFeatureLabels['toast']>;
|
|
2216
|
+
untitledFundingAccount: string;
|
|
2217
|
+
success: Partial<CreateCardFeatureLabels['success']>;
|
|
2218
|
+
}>;
|
|
2219
|
+
className?: string;
|
|
2220
|
+
onClose?: () => void;
|
|
2221
|
+
onCancel?: () => void;
|
|
2222
|
+
/** Fired with the new debit card id after a successful create. */
|
|
2223
|
+
onViewCard?: (cardId: string) => void;
|
|
2224
|
+
};
|
|
2225
|
+
/**
|
|
2226
|
+
* Self-contained Create Card widget. Issues a debit card via the Embed API and
|
|
2227
|
+
* drives setup → preparing → success with sonner toasts for the mutation.
|
|
2228
|
+
*/
|
|
2229
|
+
declare function CreateCardWidget({ baseUrl, widgetToken, organizationId, configClient, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, ...innerProps }: CreateCardWidgetProps): React.JSX.Element;
|
|
2230
|
+
|
|
2231
|
+
/** Opaque UI format values — mapped to API `DebitCardType` in the feature. */
|
|
2232
|
+
declare const CardFormatValue: {
|
|
2233
|
+
readonly Virtual: "virtual";
|
|
2234
|
+
readonly Physical: "physical";
|
|
2235
|
+
};
|
|
2236
|
+
type CardFormatValue = (typeof CardFormatValue)[keyof typeof CardFormatValue];
|
|
2237
|
+
|
|
2123
2238
|
interface AddressFieldGroupLabels {
|
|
2124
2239
|
line1: string;
|
|
2125
2240
|
line2: string;
|
|
@@ -3653,8 +3768,8 @@ interface DisclosureLinks {
|
|
|
3653
3768
|
}
|
|
3654
3769
|
|
|
3655
3770
|
/** Nested keys are individually optional — see AGENTS.md labels guidance. */
|
|
3656
|
-
type PartialDeep
|
|
3657
|
-
[K in keyof T]?: T[K] extends object ? PartialDeep
|
|
3771
|
+
type PartialDeep<T> = {
|
|
3772
|
+
[K in keyof T]?: T[K] extends object ? PartialDeep<T[K]> : T[K];
|
|
3658
3773
|
};
|
|
3659
3774
|
interface BankAccountOnboardingWidgetLabels {
|
|
3660
3775
|
stepIndicator: {
|
|
@@ -3663,7 +3778,7 @@ interface BankAccountOnboardingWidgetLabels {
|
|
|
3663
3778
|
ownership: string;
|
|
3664
3779
|
done: string;
|
|
3665
3780
|
};
|
|
3666
|
-
businessDetails: PartialDeep
|
|
3781
|
+
businessDetails: PartialDeep<BusinessDetailsLabels>;
|
|
3667
3782
|
personalDetails: Partial<PersonalDetailsLabels>;
|
|
3668
3783
|
additionalOwners: Partial<AdditionalOwnersLabels>;
|
|
3669
3784
|
result: ResultLabels;
|
|
@@ -3693,7 +3808,7 @@ interface BankAccountOnboardingWidgetLabels {
|
|
|
3693
3808
|
interface BankAccountOnboardingWidgetInnerProps {
|
|
3694
3809
|
onEmbeddedOnboardingCompletedSuccessfully: () => void;
|
|
3695
3810
|
onNavigateToDashboard: () => void;
|
|
3696
|
-
labels?: PartialDeep
|
|
3811
|
+
labels?: PartialDeep<BankAccountOnboardingWidgetLabels>;
|
|
3697
3812
|
initialBusinessDetails?: Partial<BusinessDetailsValues>;
|
|
3698
3813
|
initialPersonalDetails?: Partial<PersonalDetailsValues>;
|
|
3699
3814
|
initialAdditionalOwners?: AdditionalOwner[];
|
|
@@ -4408,106 +4523,7 @@ interface GapCoverageAlertProps {
|
|
|
4408
4523
|
labels?: Partial<GapCoverageAlertLabels>;
|
|
4409
4524
|
}
|
|
4410
4525
|
|
|
4411
|
-
type
|
|
4412
|
-
[K in keyof T]?: T[K] extends object ? PartialDeep<T[K]> : T[K];
|
|
4413
|
-
};
|
|
4414
|
-
interface CreateCardWidgetLabels {
|
|
4415
|
-
header: {
|
|
4416
|
-
title: string;
|
|
4417
|
-
closeAriaLabel: string;
|
|
4418
|
-
};
|
|
4419
|
-
cardArtAlt: string;
|
|
4420
|
-
setup: {
|
|
4421
|
-
sectionTitle: string;
|
|
4422
|
-
sectionDescription: string;
|
|
4423
|
-
cardholderLabel: string;
|
|
4424
|
-
cardholderPlaceholder: string;
|
|
4425
|
-
cardFormatLabel: string;
|
|
4426
|
-
cardFormatPlaceholder: string;
|
|
4427
|
-
cardFormatVirtual: string;
|
|
4428
|
-
cardFormatPhysical: string;
|
|
4429
|
-
};
|
|
4430
|
-
mailing: {
|
|
4431
|
-
sectionTitle: string;
|
|
4432
|
-
sectionDescription: string;
|
|
4433
|
-
businessTitle: string;
|
|
4434
|
-
businessDescription: string;
|
|
4435
|
-
customTitle: string;
|
|
4436
|
-
customDescription: string;
|
|
4437
|
-
};
|
|
4438
|
-
manualAddress: {
|
|
4439
|
-
streetLabel: string;
|
|
4440
|
-
cityLabel: string;
|
|
4441
|
-
stateLabel: string;
|
|
4442
|
-
statePlaceholder: string;
|
|
4443
|
-
zipLabel: string;
|
|
4444
|
-
};
|
|
4445
|
-
preparing: {
|
|
4446
|
-
title: string;
|
|
4447
|
-
description: string;
|
|
4448
|
-
};
|
|
4449
|
-
success: {
|
|
4450
|
-
title: string;
|
|
4451
|
-
description: string;
|
|
4452
|
-
createAnother: string;
|
|
4453
|
-
viewCard: string;
|
|
4454
|
-
};
|
|
4455
|
-
footer: {
|
|
4456
|
-
cancel: string;
|
|
4457
|
-
createCard: string;
|
|
4458
|
-
};
|
|
4459
|
-
}
|
|
4460
|
-
|
|
4461
|
-
declare const CreateCardView: {
|
|
4462
|
-
readonly Setup: "setup";
|
|
4463
|
-
readonly Preparing: "preparing";
|
|
4464
|
-
readonly Success: "success";
|
|
4465
|
-
};
|
|
4466
|
-
type CreateCardView = (typeof CreateCardView)[keyof typeof CreateCardView];
|
|
4467
|
-
/** Opaque select option — label is already display-ready. */
|
|
4468
|
-
interface SelectOption {
|
|
4469
|
-
value: string;
|
|
4470
|
-
label: string;
|
|
4471
|
-
}
|
|
4472
|
-
/** Field values for the on-screen manual address inputs. */
|
|
4473
|
-
interface ManualAddressValues {
|
|
4474
|
-
street: string;
|
|
4475
|
-
city: string;
|
|
4476
|
-
state: string;
|
|
4477
|
-
zip: string;
|
|
4478
|
-
}
|
|
4479
|
-
|
|
4480
|
-
interface CreateCardWidgetProps {
|
|
4481
|
-
view: CreateCardView;
|
|
4482
|
-
/** Static card plastic image URL (no overlays). */
|
|
4483
|
-
cardArtSrc: string;
|
|
4484
|
-
labels?: PartialDeep<CreateCardWidgetLabels>;
|
|
4485
|
-
className?: string;
|
|
4486
|
-
cardholderOptions?: SelectOption[];
|
|
4487
|
-
selectedCardholder?: string | null;
|
|
4488
|
-
onCardholderSelect?: (value: string) => void;
|
|
4489
|
-
cardFormatOptions?: SelectOption[];
|
|
4490
|
-
selectedCardFormat?: string | null;
|
|
4491
|
-
onCardFormatSelect?: (value: string) => void;
|
|
4492
|
-
/** Owner decides whether the mailing block is on screen. */
|
|
4493
|
-
isMailingSectionVisible?: boolean;
|
|
4494
|
-
selectedMailingOption?: string | null;
|
|
4495
|
-
onMailingOptionSelect?: (value: string) => void;
|
|
4496
|
-
businessAddress?: string;
|
|
4497
|
-
isBusinessAddressVisible?: boolean;
|
|
4498
|
-
isManualAddressVisible?: boolean;
|
|
4499
|
-
manualAddress?: ManualAddressValues;
|
|
4500
|
-
onManualAddressChange?: (patch: Partial<ManualAddressValues>) => void;
|
|
4501
|
-
stateOptions?: SelectOption[];
|
|
4502
|
-
isCreateDisabled?: boolean;
|
|
4503
|
-
onCreateClick?: () => void;
|
|
4504
|
-
onCancelClick?: () => void;
|
|
4505
|
-
onClose?: () => void;
|
|
4506
|
-
onCreateAnotherClick?: () => void;
|
|
4507
|
-
onViewCardClick?: () => void;
|
|
4508
|
-
}
|
|
4509
|
-
|
|
4510
|
-
type PendingFeatureStyleSources = GapCoverageAlertProps | NoPolicyBannerProps | CreateCardWidgetProps;
|
|
4526
|
+
type PendingFeatureStyleSources = GapCoverageAlertProps | NoPolicyBannerProps;
|
|
4511
4527
|
|
|
4512
|
-
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, CardDetailsWidget, CardsWidget, ChartOfAccountsTable, ChartOfAccountsWidget, CounterpartsWidget, 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, SettingsWidget, DEFAULT_FEATURE_LABELS as TRANSFERS_FEATURE_LABELS_EN, TRANSFERS_WIDGET_LABELS_EN, TagsWidget, TeamWidget, TransfersWidget, UIFramework, UploadReceiptWidget, WidgetProvider, WidgetTokenRefreshProvider, cloneEmbeddedClient, getGlobalWidgetConfig, getGlobalWidgetInitState, registerDesignSystemEnsurer, registerUIRenderers, setGlobalWidgetConfig, subscribeToGlobalWidgetInitState, updateGlobalWidgetConfig, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetLoading, useWidgetToken };
|
|
4513
|
-
export type { AcceptDisclosuresLinks, 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 as CardsWidgetFeatureLabels, CardsListLabels as CardsWidgetLabels, CardsWidgetPagination, CardsWidgetProps, ChartOfAccountsLabels, ChartOfAccountsMessageLabels, ChartOfAccountsTableProps, ChartOfAccountsWidgetLabelProps, ChartOfAccountsWidgetProps, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, DisclosureLinks, EmbeddedClient, ExpenseApprovalPoliciesWidgetProps, Labels$4 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, ExpenseRequirementsWidgetProps, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, HelpWidgetLabels, HelpWidgetProps, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, ReceivablesWidgetMoniteProps as InvoicingWidgetProps, LedgerAccountRow, LinkComponent, LinkComponentProps, FeatureLabels$4 as LinkedAccountsWidgetFeatureLabels, Labels$3 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MarketingWidgetContent, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps, FeatureLabels$3 as ProfileWidgetFeatureLabels, Labels$2 as ProfileWidgetLabels, ProfileWidgetProps, ReceiptMatchSummary, ReceiptMatchWidgetProps, ReceivableActionDialogLabels, ReceivableDetailsSheetLabelOverrides, ReceivableDetailsSheetLabels, ReceivableDocumentType, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivableSendDialogLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, ReceivablesWidgetTab, RefreshingRootWidgetProviderProps, ResultLabels, RootWidgetProviderProps, FeatureLabels$2 as SettingsWidgetFeatureLabels, Labels$1 as SettingsWidgetLabels, SettingsWidgetProps, SingleInsightLabels, TagDeleteDialogLabels, TagFormSheetLabels, TagMessageLabels, TagsScreenLabels, TagsWidgetProps, FeatureLabels$1 as TeamWidgetFeatureLabels, Labels as TeamWidgetLabels, TeamWidgetProps, FeatureLabels as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, UploadReceiptWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetInitState, WidgetProviderProps, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };
|
|
4528
|
+
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, CardsWidget, ChartOfAccountsTable, ChartOfAccountsWidget, CounterpartsWidget, CreateCardWidget, 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, SettingsWidget, DEFAULT_FEATURE_LABELS as TRANSFERS_FEATURE_LABELS_EN, TRANSFERS_WIDGET_LABELS_EN, TagsWidget, TeamWidget, TransfersWidget, UIFramework, UploadReceiptWidget, WidgetProvider, WidgetTokenRefreshProvider, cloneEmbeddedClient, getGlobalWidgetConfig, getGlobalWidgetInitState, registerDesignSystemEnsurer, registerUIRenderers, resolveCreateCardFeatureLabels, setGlobalWidgetConfig, subscribeToGlobalWidgetInitState, updateGlobalWidgetConfig, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetLoading, useWidgetToken };
|
|
4529
|
+
export type { AcceptDisclosuresLinks, 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 as CardsWidgetFeatureLabels, CardsListLabels as CardsWidgetLabels, CardsWidgetPagination, CardsWidgetProps, ChartOfAccountsLabels, ChartOfAccountsMessageLabels, ChartOfAccountsTableProps, ChartOfAccountsWidgetLabelProps, ChartOfAccountsWidgetProps, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreateCardFeatureLabels, CreateCardWidgetLabels, CreateCardWidgetProps, DisclosureLinks, EmbeddedClient, ExpenseApprovalPoliciesWidgetProps, Labels$4 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, ExpenseRequirementsWidgetProps, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, HelpWidgetLabels, HelpWidgetProps, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, ReceivablesWidgetMoniteProps as InvoicingWidgetProps, LedgerAccountRow, LinkComponent, LinkComponentProps, FeatureLabels$4 as LinkedAccountsWidgetFeatureLabels, Labels$3 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MarketingWidgetContent, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps, FeatureLabels$3 as ProfileWidgetFeatureLabels, Labels$2 as ProfileWidgetLabels, ProfileWidgetProps, ReceiptMatchSummary, ReceiptMatchWidgetProps, ReceivableActionDialogLabels, ReceivableDetailsSheetLabelOverrides, ReceivableDetailsSheetLabels, ReceivableDocumentType, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivableSendDialogLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, ReceivablesWidgetTab, RefreshingRootWidgetProviderProps, ResultLabels, RootWidgetProviderProps, FeatureLabels$2 as SettingsWidgetFeatureLabels, Labels$1 as SettingsWidgetLabels, SettingsWidgetProps, SingleInsightLabels, TagDeleteDialogLabels, TagFormSheetLabels, TagMessageLabels, TagsScreenLabels, TagsWidgetProps, FeatureLabels$1 as TeamWidgetFeatureLabels, Labels as TeamWidgetLabels, TeamWidgetProps, FeatureLabels as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, UploadReceiptWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetInitState, WidgetProviderProps, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };
|
package/dist/index.js
CHANGED
|
@@ -21,62 +21,66 @@ import { CardDetailsWidget as w } from "./libs/tesouro-embedded-components-react
|
|
|
21
21
|
import { CardsWidget as T } from "./libs/tesouro-embedded-components-react/cards-widget/feature/dist/index8.js";
|
|
22
22
|
import "./lib/CardsWidget.js";
|
|
23
23
|
import "./lib/CardDetailsWidget.js";
|
|
24
|
+
import { CardFormatValue as E } from "./libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index3.js";
|
|
25
|
+
import { CREATE_CARD_FEATURE_LABELS_EN as D, resolveCreateCardFeatureLabels as O } from "./libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index4.js";
|
|
26
|
+
import { CreateCardWidget as k } from "./libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index7.js";
|
|
27
|
+
import "./lib/CreateCardWidget.js";
|
|
24
28
|
import "./lib/CounterpartsWidget.js";
|
|
25
|
-
import { ExpenseApprovalPoliciesWidget as
|
|
26
|
-
import { ExpenseRequirementsWidget as
|
|
27
|
-
import { UploadReceiptWidget as
|
|
28
|
-
import { ExpenseManagementWidget as
|
|
29
|
+
import { ExpenseApprovalPoliciesWidget as A } from "./libs/tesouro-embedded-components-react/expense-approval-policies-widget/feature/dist/lib/ExpenseApprovalPoliciesWidgetFeature.js";
|
|
30
|
+
import { ExpenseRequirementsWidget as j } from "./libs/tesouro-embedded-components-react/expense-requirements-widget/feature/dist/lib/ExpenseRequirementsWidget.js";
|
|
31
|
+
import { UploadReceiptWidget as M } from "./libs/tesouro-embedded-components-react/expense-upload-receipt-widget/feature/dist/lib/UploadReceiptWidget.js";
|
|
32
|
+
import { ExpenseManagementWidget as N } from "./libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index3.js";
|
|
29
33
|
import "./lib/ExpenseManagementWidget.js";
|
|
30
34
|
import "./lib/ExpenseApprovalPoliciesWidget.js";
|
|
31
35
|
import "./lib/ExpenseRequirementsWidget.js";
|
|
32
|
-
import { BALANCES_WIDGET_LABELS_EN as
|
|
33
|
-
import { BalancesWidget as
|
|
36
|
+
import { BALANCES_WIDGET_LABELS_EN as P } from "./libs/tesouro-embedded-components-react/balances-widget/ui/dist/index2.js";
|
|
37
|
+
import { BalancesWidget as F } from "./libs/tesouro-embedded-components-react/balances-widget/feature/dist/index5.js";
|
|
34
38
|
import "./lib/BalancesWidget.js";
|
|
35
|
-
import { INSIGHTS_FEATURE_LABELS_EN as
|
|
36
|
-
import { INSIGHTS_WIDGET_LABELS_EN as
|
|
37
|
-
import { SINGLE_INSIGHT_LABELS_EN as
|
|
38
|
-
import { InsightsWidget as
|
|
39
|
+
import { INSIGHTS_FEATURE_LABELS_EN as I } from "./libs/tesouro-embedded-components-react/insights-widget/feature/dist/index3.js";
|
|
40
|
+
import { INSIGHTS_WIDGET_LABELS_EN as L } from "./libs/tesouro-embedded-components-react/insights-widget/ui/dist/index2.js";
|
|
41
|
+
import { SINGLE_INSIGHT_LABELS_EN as R } from "./libs/tesouro-embedded-components-react/insights-widget/ui/dist/index4.js";
|
|
42
|
+
import { InsightsWidget as z } from "./libs/tesouro-embedded-components-react/insights-widget/feature/dist/index11.js";
|
|
39
43
|
import "./lib/InsightsWidget.js";
|
|
40
|
-
import { CHART_OF_ACCOUNTS_MESSAGE_LABELS_EN as
|
|
41
|
-
import { ACCOUNT_DELETE_DIALOG_LABELS_EN as
|
|
42
|
-
import { ChartOfAccountsTable as
|
|
43
|
-
import { AccountFormSheet as
|
|
44
|
-
import { AccountDeleteDialog as
|
|
45
|
-
import { ChartOfAccountsWidget as
|
|
44
|
+
import { CHART_OF_ACCOUNTS_MESSAGE_LABELS_EN as B } from "./libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index5.js";
|
|
45
|
+
import { ACCOUNT_DELETE_DIALOG_LABELS_EN as V, ACCOUNT_FORM_SHEET_LABELS_EN as H, CHART_OF_ACCOUNTS_LABELS_EN as U } from "./libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index2.js";
|
|
46
|
+
import { ChartOfAccountsTable as W } from "./libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index3.js";
|
|
47
|
+
import { AccountFormSheet as G } from "./libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index4.js";
|
|
48
|
+
import { AccountDeleteDialog as K } from "./libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index5.js";
|
|
49
|
+
import { ChartOfAccountsWidget as q } from "./libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index8.js";
|
|
46
50
|
import "./lib/ChartOfAccountsWidget.js";
|
|
47
|
-
import { HELP_WIDGET_LABELS_EN as
|
|
48
|
-
import { HELP_FAQ_EN as
|
|
49
|
-
import { HelpWidget as
|
|
51
|
+
import { HELP_WIDGET_LABELS_EN as J } from "./libs/tesouro-embedded-components-react/help-widget/ui/contract/dist/index2.js";
|
|
52
|
+
import { HELP_FAQ_EN as Y } from "./libs/tesouro-embedded-components-react/help-widget/ui/contract/dist/index3.js";
|
|
53
|
+
import { HelpWidget as X } from "./libs/tesouro-embedded-components-react/help-widget/feature/dist/index3.js";
|
|
50
54
|
import "./lib/HelpWidget.js";
|
|
51
|
-
import { InvoicingWidget as
|
|
52
|
-
import { ReceivablesWidget as
|
|
55
|
+
import { InvoicingWidget as Z } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js";
|
|
56
|
+
import { ReceivablesWidget as Q } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js";
|
|
53
57
|
import "./lib/InvoicingWidget.js";
|
|
54
|
-
import { LinkedAccountsWidget as
|
|
58
|
+
import { LinkedAccountsWidget as $ } from "./libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index9.js";
|
|
55
59
|
import "./lib/LinkedAccountsWidget.js";
|
|
56
|
-
import { ADDITIONAL_OWNERS_LABELS_EN as
|
|
57
|
-
import { BUSINESS_DETAILS_LABELS_EN as
|
|
58
|
-
import { PERSONAL_DETAILS_LABELS_EN as
|
|
59
|
-
import { RESULT_LABELS_EN as
|
|
60
|
-
import { BankAccountOnboardingWidget as
|
|
60
|
+
import { ADDITIONAL_OWNERS_LABELS_EN as ee } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index4.js";
|
|
61
|
+
import { BUSINESS_DETAILS_LABELS_EN as te } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index6.js";
|
|
62
|
+
import { PERSONAL_DETAILS_LABELS_EN as ne } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index7.js";
|
|
63
|
+
import { RESULT_LABELS_EN as re } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index12.js";
|
|
64
|
+
import { BankAccountOnboardingWidget as ie } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index17.js";
|
|
61
65
|
import "./lib/BankAccountOnboardingWidget.js";
|
|
62
|
-
import { ProductsWidget as
|
|
66
|
+
import { ProductsWidget as ae } from "./libs/tesouro-embedded-components-react/products-widget/feature/dist/index8.js";
|
|
63
67
|
import "./lib/ProductsWidget.js";
|
|
64
|
-
import { ProfileWidget as
|
|
68
|
+
import { ProfileWidget as oe } from "./libs/tesouro-embedded-components-react/profile-widget/feature/dist/index4.js";
|
|
65
69
|
import "./lib/ProfileWidget.js";
|
|
66
70
|
import "./lib/ReceivablesWidget.js";
|
|
67
|
-
import { ReceiptMatchWidget as
|
|
71
|
+
import { ReceiptMatchWidget as se } from "./libs/tesouro-embedded-components-react/expense-receipt-match-widget/feature/dist/lib/ReceiptMatchWidget.js";
|
|
68
72
|
import "./lib/ReceiptMatchWidget.js";
|
|
69
|
-
import { TagsWidget as
|
|
70
|
-
import { TeamWidget as
|
|
71
|
-
import { SettingsWidget as
|
|
73
|
+
import { TagsWidget as ce } from "./libs/tesouro-embedded-components-react/tags-widget/feature/dist/index11.js";
|
|
74
|
+
import { TeamWidget as le } from "./libs/tesouro-embedded-components-react/team-widget/feature/dist/index17.js";
|
|
75
|
+
import { SettingsWidget as ue } from "./libs/tesouro-embedded-components-react/settings-widget/feature/dist/index5.js";
|
|
72
76
|
import "./lib/SettingsWidget.js";
|
|
73
77
|
import "./lib/TagsWidget.js";
|
|
74
78
|
import "./lib/TeamWidget.js";
|
|
75
|
-
import { DEFAULT_FEATURE_LABELS as
|
|
76
|
-
import { TRANSFERS_WIDGET_LABELS_EN as
|
|
77
|
-
import { TransfersWidget as
|
|
79
|
+
import { DEFAULT_FEATURE_LABELS as de } from "./libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index3.js";
|
|
80
|
+
import { TRANSFERS_WIDGET_LABELS_EN as fe } from "./libs/tesouro-embedded-components-react/transfers-widget/ui/dist/index9.js";
|
|
81
|
+
import { TransfersWidget as pe } from "./libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index6.js";
|
|
78
82
|
import "./lib/TransfersWidget.js";
|
|
79
83
|
import "./lib/UploadReceiptWidget.js";
|
|
80
|
-
import { WidgetProvider as
|
|
84
|
+
import { WidgetProvider as me } from "./lib/WidgetProviderPublic.js";
|
|
81
85
|
import "./lib/WidgetProvider.js";
|
|
82
|
-
export { e as ACCEPT_DISCLOSURES_WIDGET_LABELS_EN,
|
|
86
|
+
export { e as ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, V as ACCOUNT_DELETE_DIALOG_LABELS_EN, H as ACCOUNT_FORM_SHEET_LABELS_EN, ee as ADDITIONAL_OWNERS_LABELS_EN, b as AcceptDisclosuresWidget, K as AccountDeleteDialog, G as AccountFormSheet, P as BALANCES_WIDGET_LABELS_EN, te as BUSINESS_DETAILS_LABELS_EN, F as BalancesWidget, ie as BankAccountOnboardingWidget, x as BankAccountsWidget, C as BillPayWidget, U as CHART_OF_ACCOUNTS_LABELS_EN, B as CHART_OF_ACCOUNTS_MESSAGE_LABELS_EN, D as CREATE_CARD_FEATURE_LABELS_EN, w as CardDetailsWidget, E as CardFormatValue, T as CardsWidget, W as ChartOfAccountsTable, q as ChartOfAccountsWidget, S as CounterpartsWidget, k as CreateCardWidget, A as ExpenseApprovalPoliciesWidget, N as ExpenseManagementWidget, j as ExpenseRequirementsWidget, Y as HELP_FAQ_EN, J as HELP_WIDGET_LABELS_EN, X as HelpWidget, I as INSIGHTS_FEATURE_LABELS_EN, L as INSIGHTS_WIDGET_LABELS_EN, n as Implementation, z as InsightsWidget, Z as InvoicingWidget, $ as LinkedAccountsWidget, ne as PERSONAL_DETAILS_LABELS_EN, ae as ProductsWidget, oe as ProfileWidget, re as RESULT_LABELS_EN, se as ReceiptMatchWidget, Q as ReceivablesWidget, m as RefreshingRootWidgetProvider, d as RootWidgetProvider, R as SINGLE_INSIGHT_LABELS_EN, ue as SettingsWidget, de as TRANSFERS_FEATURE_LABELS_EN, fe as TRANSFERS_WIDGET_LABELS_EN, ce as TagsWidget, le as TeamWidget, pe as TransfersWidget, c as UIFramework, M as UploadReceiptWidget, me as WidgetProvider, f as WidgetTokenRefreshProvider, t as cloneEmbeddedClient, r as getGlobalWidgetConfig, o as getGlobalWidgetInitState, l as registerDesignSystemEnsurer, u as registerUIRenderers, O as resolveCreateCardFeatureLabels, i as setGlobalWidgetConfig, s as subscribeToGlobalWidgetInitState, a as updateGlobalWidgetConfig, h as useOwnWidgetConfig, g as useRefetchWidget, _ as useWidgetConfig, v as useWidgetError, y as useWidgetLoading, p as useWidgetToken };
|
|
@@ -966,11 +966,10 @@ interface CardsWidgetProps extends WidgetProviderProps {
|
|
|
966
966
|
* Called when Create card is clicked. The button renders only when the widget
|
|
967
967
|
* token also holds the program's issue scope.
|
|
968
968
|
*
|
|
969
|
-
* The widget deliberately implements no creation flow:
|
|
970
|
-
*
|
|
971
|
-
*
|
|
972
|
-
*
|
|
973
|
-
* rather than offering a control that does nothing.
|
|
969
|
+
* The widget deliberately implements no in-list creation flow: compose
|
|
970
|
+
* `CreateCardWidget` (debit) — or your own credit flow — and open it from
|
|
971
|
+
* this callback (for example in the details sheet). Omitting the callback
|
|
972
|
+
* hides the button rather than offering a control that does nothing.
|
|
974
973
|
*/
|
|
975
974
|
onCreateCard?: () => void;
|
|
976
975
|
/**
|