@tesouro/embedded-components-react 0.11.0 → 0.11.2
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/dist/experimental/QuickViewWidget.d.ts +11 -0
- package/dist/experimental/RemoteCheckCapture.d.ts +11 -0
- package/dist/experimental/index.d.ts +11 -0
- package/dist/index.css +509 -61
- package/dist/index.d.ts +54 -13
- package/dist/lib/AcceptDisclosuresWidget.d.ts +11 -0
- package/dist/lib/BalancesWidget.d.ts +11 -0
- package/dist/lib/BankAccountOnboardingWidget.d.ts +11 -0
- package/dist/lib/BankAccountsWidget.d.ts +11 -0
- package/dist/lib/BankingComplianceBannerWidget.d.ts +11 -0
- package/dist/lib/BillPayWidget.d.ts +11 -0
- package/dist/lib/CardDetailsWidget.d.ts +11 -0
- package/dist/lib/CounterpartsWidget.d.ts +11 -0
- package/dist/lib/CounterpartsWidgetPublic.d.ts +11 -0
- package/dist/lib/CreditCardsWidget.d.ts +11 -0
- package/dist/lib/CustomersWidget.d.ts +11 -0
- package/dist/lib/DebitCardsWidget.d.ts +11 -0
- package/dist/lib/ExpenseManagementWidget.d.ts +11 -0
- package/dist/lib/InsightsWidget.d.ts +11 -0
- package/dist/lib/LinkedAccountsWidget.d.ts +11 -0
- package/dist/lib/OfferWidget.d.ts +11 -0
- package/dist/lib/ProductsWidget.d.ts +11 -0
- package/dist/lib/ReceivablesWidget.d.ts +11 -0
- package/dist/lib/SettingsWidget.d.ts +11 -0
- package/dist/lib/TransfersWidget.d.ts +54 -13
- package/dist/lib/WidgetProvider.d.ts +11 -0
- package/dist/lib/WidgetProviderPublic.d.ts +11 -0
- package/dist/lib/WidgetSuite.d.ts +54 -13
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +15 -12
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/AmountInput/AmountInput.js +30 -0
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/LoadingRegion/LoadingRegion.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/MaskedAccountNumber/MaskedAccountNumber.js +57 -0
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/MaskedAccountNumber/labels.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/TransfersWidgetInner.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/testIds.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/transferViews.js +10 -17
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/useTransferMoneyModalController.js +159 -218
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/mocks/labels.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/ReviewTransferStep.js +37 -88
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/TransferMoneyModal.js +184 -245
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/TransferResultStep.js +43 -58
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/reviewTransferStepLabels.js +6 -5
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/transferResultStepLabels.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/useFocusFirstInvalidField.js +9 -0
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/TransferAccountValue.js +32 -0
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/TransferDetailSheet.js +68 -101
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/TransfersWidget.js +155 -153
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/labels.js +20 -11
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/maskLabels.js +7 -0
- package/dist/packages/shared-ui-shadcn/dist/index.js +1850 -1607
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/TransferMoneyModalHeader.js +0 -29
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/TransferReviewAccountCard.js +0 -64
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/TransferAccountTile.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/TransferStatusBadge.js +0 -17
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, PropsWithChildren, ErrorInfo, ReactElement } from 'react';
|
|
3
|
+
import { RowData } from '@tanstack/react-table';
|
|
3
4
|
import { FallbackProps } from 'react-error-boundary';
|
|
4
5
|
import { PartialDeep } from 'type-fest';
|
|
5
6
|
|
|
@@ -536,6 +537,16 @@ declare const OnboardingSuppressionReason: {
|
|
|
536
537
|
};
|
|
537
538
|
type OnboardingSuppressionReason = (typeof OnboardingSuppressionReason)[keyof typeof OnboardingSuppressionReason];
|
|
538
539
|
|
|
540
|
+
declare module '@tanstack/react-table' {
|
|
541
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
542
|
+
/**
|
|
543
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
544
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
545
|
+
*/
|
|
546
|
+
fitContent?: boolean;
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
|
|
539
550
|
interface LabelLabels {
|
|
540
551
|
/**
|
|
541
552
|
* How the field name and its requirement fragment compose. `{label}` is the
|
|
@@ -3970,9 +3981,9 @@ interface TransfersWidgetLabels {
|
|
|
3970
3981
|
transferMoneyCtaDisabledTooltip: string;
|
|
3971
3982
|
/** Fallback when an account has no nickname in lists or options. */
|
|
3972
3983
|
accountFallbackName: string;
|
|
3973
|
-
/**
|
|
3984
|
+
/** @deprecated No longer rendered. */
|
|
3974
3985
|
embeddedAccountMaskPrefix: string;
|
|
3975
|
-
/**
|
|
3986
|
+
/** @deprecated No longer rendered. */
|
|
3976
3987
|
modalReviewAccountNumberPrefix: string;
|
|
3977
3988
|
/** @deprecated No longer rendered; the list shows From and To columns. */
|
|
3978
3989
|
listAccountsSeparator: string;
|
|
@@ -3985,25 +3996,32 @@ interface TransfersWidgetLabels {
|
|
|
3985
3996
|
transferToLabel: string;
|
|
3986
3997
|
/** Row's accessible name. `{amount}`, `{from}` and `{to}` are filled in. */
|
|
3987
3998
|
rowAriaLabel: string;
|
|
3988
|
-
/** Account kind,
|
|
3999
|
+
/** Account kind, the muted line under an account's name. */
|
|
3989
4000
|
accountKindInternal: string;
|
|
3990
4001
|
accountKindExternal: string;
|
|
3991
|
-
/**
|
|
4002
|
+
/** @deprecated No longer rendered. */
|
|
3992
4003
|
externalAccountBadge: string;
|
|
4004
|
+
/** @deprecated No longer rendered; the detail panel explains a return. */
|
|
4005
|
+
returnShortReasonAccountClosed: string;
|
|
4006
|
+
/** @deprecated No longer rendered; the detail panel explains a return. */
|
|
4007
|
+
returnShortReasonInvalidAccountDetails: string;
|
|
4008
|
+
/** @deprecated No longer rendered; the detail panel explains a return. */
|
|
4009
|
+
returnShortReasonAccountCannotReceive: string;
|
|
4010
|
+
/** @deprecated No longer rendered; the detail panel explains a return. */
|
|
4011
|
+
returnShortReasonRefusedByReceiver: string;
|
|
3993
4012
|
/** Name for an external account with no nickname. */
|
|
3994
4013
|
externalAccountFallbackName: string;
|
|
3995
|
-
/** Suffix after an account name. `{last4}` is filled in. */
|
|
4014
|
+
/** Suffix after an account name in sentences. `{last4}` is filled in. */
|
|
3996
4015
|
accountMaskTemplate: string;
|
|
4016
|
+
/** `{last4}` is filled in. */
|
|
4017
|
+
accountNumberEndingIn: string;
|
|
4018
|
+
showAccountNumber: string;
|
|
4019
|
+
hideAccountNumber: string;
|
|
3997
4020
|
detailTitle: string;
|
|
3998
4021
|
/** Screen-reader name of the detail panel's close button. */
|
|
3999
4022
|
detailClose: string;
|
|
4000
4023
|
detailInitiatedByLabel: string;
|
|
4001
4024
|
detailInitiatedOnLabel: string;
|
|
4002
|
-
/** Short reasons under a Returned badge. A GENERIC return shows none. */
|
|
4003
|
-
returnShortReasonAccountClosed: string;
|
|
4004
|
-
returnShortReasonInvalidAccountDetails: string;
|
|
4005
|
-
returnShortReasonAccountCannotReceive: string;
|
|
4006
|
-
returnShortReasonRefusedByReceiver: string;
|
|
4007
4025
|
returnedTitleAccountClosed: string;
|
|
4008
4026
|
returnedTitleInvalidAccountDetails: string;
|
|
4009
4027
|
returnedTitleAccountCannotReceive: string;
|
|
@@ -4019,6 +4037,7 @@ interface TransfersWidgetLabels {
|
|
|
4019
4037
|
/** `{account}` is filled in. */
|
|
4020
4038
|
returnedPausedSentence: string;
|
|
4021
4039
|
returnedLinkAccountCta: string;
|
|
4040
|
+
loadingLabel: string;
|
|
4022
4041
|
loadErrorTitle: string;
|
|
4023
4042
|
loadErrorDescription: string;
|
|
4024
4043
|
loadErrorRetry: string;
|
|
@@ -4030,38 +4049,60 @@ interface TransfersWidgetLabels {
|
|
|
4030
4049
|
modalTitle: string;
|
|
4031
4050
|
/** Shown under the title on the accounts step (e.g. ACH timing). */
|
|
4032
4051
|
modalAccountsSubtitle: string;
|
|
4033
|
-
/**
|
|
4052
|
+
/** `{current}` and `{total}` are filled in. */
|
|
4053
|
+
modalStepLabel: string;
|
|
4054
|
+
/** @deprecated Use `modalFromLabel`. */
|
|
4034
4055
|
modalFromAccountPlaceholder: string;
|
|
4035
|
-
/**
|
|
4056
|
+
/** @deprecated Use `modalToLabel`. */
|
|
4036
4057
|
modalToAccountPlaceholder: string;
|
|
4037
|
-
/**
|
|
4058
|
+
/** @deprecated Use `modalContinue`. */
|
|
4038
4059
|
modalAccountsConfirm: string;
|
|
4060
|
+
/** @deprecated No longer rendered. */
|
|
4039
4061
|
modalStepAccounts: string;
|
|
4062
|
+
/** @deprecated No longer rendered. */
|
|
4040
4063
|
modalStepAmount: string;
|
|
4064
|
+
/** @deprecated No longer rendered. */
|
|
4041
4065
|
modalStepReview: string;
|
|
4066
|
+
/** @deprecated No longer rendered. */
|
|
4042
4067
|
modalStepResult: string;
|
|
4043
4068
|
modalFromLabel: string;
|
|
4044
4069
|
modalToLabel: string;
|
|
4045
4070
|
modalAmountLabel: string;
|
|
4046
4071
|
/** Placeholder for the amount input (e.g. "0.00"). */
|
|
4047
4072
|
modalAmountPlaceholder: string;
|
|
4073
|
+
modalFromRequiredError: string;
|
|
4074
|
+
modalToRequiredError: string;
|
|
4048
4075
|
modalContinue: string;
|
|
4049
4076
|
modalBack: string;
|
|
4077
|
+
/** @deprecated Use `modalConfirmTransfer`. */
|
|
4050
4078
|
modalSubmit: string;
|
|
4051
4079
|
modalClose: string;
|
|
4052
4080
|
modalReviewHeading: string;
|
|
4081
|
+
/** @deprecated Use `modalFromLabel`. */
|
|
4053
4082
|
modalReviewFromAccountLabel: string;
|
|
4083
|
+
/** @deprecated Use `modalToLabel`. */
|
|
4054
4084
|
modalReviewToAccountLabel: string;
|
|
4085
|
+
/** @deprecated No longer rendered. */
|
|
4055
4086
|
modalAvailableBalanceCaption: string;
|
|
4056
4087
|
modalConfirmTransfer: string;
|
|
4088
|
+
/** @deprecated Use `modalBack`. */
|
|
4057
4089
|
modalGoBack: string;
|
|
4090
|
+
/** @deprecated No longer rendered. */
|
|
4058
4091
|
modalSuccessTitle: string;
|
|
4092
|
+
/** @deprecated No longer rendered. */
|
|
4059
4093
|
modalSuccessDescription: string;
|
|
4060
4094
|
modalResultSuccessTitle: string;
|
|
4095
|
+
modalResultDescription: string;
|
|
4096
|
+
modalDone: string;
|
|
4097
|
+
/** @deprecated No longer rendered. */
|
|
4061
4098
|
modalResultErrorTitle: string;
|
|
4099
|
+
/** @deprecated No longer rendered. */
|
|
4062
4100
|
modalResultTransferMessagePrefix: string;
|
|
4101
|
+
/** @deprecated No longer rendered. */
|
|
4063
4102
|
modalResultSuccessMessageSuffix: string;
|
|
4103
|
+
/** @deprecated No longer rendered. */
|
|
4064
4104
|
modalResultErrorMessageSuffix: string;
|
|
4105
|
+
/** @deprecated Use `modalDone`. */
|
|
4065
4106
|
modalBackToTransfers: string;
|
|
4066
4107
|
modalSelectPlaceholder: string;
|
|
4067
4108
|
rowStatusCompleted: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ReactNode, ComponentType, AnchorHTMLAttributes, ErrorInfo } from 'react';
|
|
3
3
|
import { PartialDeep } from 'type-fest';
|
|
4
|
+
import { RowData } from '@tanstack/react-table';
|
|
4
5
|
import { FallbackProps } from 'react-error-boundary';
|
|
5
6
|
|
|
6
7
|
interface AcceptDisclosuresWidgetLabels {
|
|
@@ -461,6 +462,16 @@ type EmbeddedClient = Client;
|
|
|
461
462
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
462
463
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
463
464
|
|
|
465
|
+
declare module '@tanstack/react-table' {
|
|
466
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
467
|
+
/**
|
|
468
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
469
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
470
|
+
*/
|
|
471
|
+
fitContent?: boolean;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
464
475
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
465
476
|
children?: ReactNode;
|
|
466
477
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
3
|
+
import { RowData } from '@tanstack/react-table';
|
|
3
4
|
import { FallbackProps } from 'react-error-boundary';
|
|
4
5
|
|
|
5
6
|
interface BalancesWidgetLabels {
|
|
@@ -354,6 +355,16 @@ type EmbeddedClient = Client;
|
|
|
354
355
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
355
356
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
356
357
|
|
|
358
|
+
declare module '@tanstack/react-table' {
|
|
359
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
360
|
+
/**
|
|
361
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
362
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
363
|
+
*/
|
|
364
|
+
fitContent?: boolean;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
|
|
357
368
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
358
369
|
children?: ReactNode;
|
|
359
370
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
3
3
|
import { PartialDeep } from 'type-fest';
|
|
4
|
+
import { RowData } from '@tanstack/react-table';
|
|
4
5
|
import { FallbackProps } from 'react-error-boundary';
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -457,6 +458,16 @@ declare const OnboardingSuppressionReason: {
|
|
|
457
458
|
};
|
|
458
459
|
type OnboardingSuppressionReason = (typeof OnboardingSuppressionReason)[keyof typeof OnboardingSuppressionReason];
|
|
459
460
|
|
|
461
|
+
declare module '@tanstack/react-table' {
|
|
462
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
463
|
+
/**
|
|
464
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
465
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
466
|
+
*/
|
|
467
|
+
fitContent?: boolean;
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
|
|
460
471
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
461
472
|
children?: ReactNode;
|
|
462
473
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
3
|
+
import { RowData } from '@tanstack/react-table';
|
|
3
4
|
import { FallbackProps } from 'react-error-boundary';
|
|
4
5
|
|
|
5
6
|
interface Labels$1 {
|
|
@@ -369,6 +370,16 @@ type EmbeddedClient = Client;
|
|
|
369
370
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
370
371
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
371
372
|
|
|
373
|
+
declare module '@tanstack/react-table' {
|
|
374
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
375
|
+
/**
|
|
376
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
377
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
378
|
+
*/
|
|
379
|
+
fitContent?: boolean;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
|
|
372
383
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
373
384
|
children?: ReactNode;
|
|
374
385
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
3
|
+
import { RowData } from '@tanstack/react-table';
|
|
3
4
|
import { FallbackProps } from 'react-error-boundary';
|
|
4
5
|
|
|
5
6
|
interface BankingComplianceBannerLabels {
|
|
@@ -348,6 +349,16 @@ type EmbeddedClient = Client;
|
|
|
348
349
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
349
350
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
350
351
|
|
|
352
|
+
declare module '@tanstack/react-table' {
|
|
353
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
354
|
+
/**
|
|
355
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
356
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
357
|
+
*/
|
|
358
|
+
fitContent?: boolean;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
351
362
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
352
363
|
children?: ReactNode;
|
|
353
364
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo, ReactElement } from 'react';
|
|
2
|
+
import { RowData } from '@tanstack/react-table';
|
|
2
3
|
import { FallbackProps } from 'react-error-boundary';
|
|
3
4
|
|
|
4
5
|
type AuthToken = string | undefined;
|
|
@@ -330,6 +331,16 @@ type EmbeddedClient = Client;
|
|
|
330
331
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
331
332
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
332
333
|
|
|
334
|
+
declare module '@tanstack/react-table' {
|
|
335
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
336
|
+
/**
|
|
337
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
338
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
339
|
+
*/
|
|
340
|
+
fitContent?: boolean;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
|
|
333
344
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
334
345
|
children?: ReactNode;
|
|
335
346
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
3
3
|
import { PartialDeep } from 'type-fest';
|
|
4
|
+
import { RowData } from '@tanstack/react-table';
|
|
4
5
|
import { FallbackProps } from 'react-error-boundary';
|
|
5
6
|
|
|
6
7
|
/** Accessible copy for the panel header's controls. */
|
|
@@ -502,6 +503,16 @@ type EmbeddedClient = Client;
|
|
|
502
503
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
503
504
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
504
505
|
|
|
506
|
+
declare module '@tanstack/react-table' {
|
|
507
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
508
|
+
/**
|
|
509
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
510
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
511
|
+
*/
|
|
512
|
+
fitContent?: boolean;
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
|
|
505
516
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
506
517
|
children?: ReactNode;
|
|
507
518
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PartialDeep } from 'type-fest';
|
|
2
|
+
import { RowData } from '@tanstack/react-table';
|
|
2
3
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
3
4
|
import { FallbackProps } from 'react-error-boundary';
|
|
4
5
|
|
|
@@ -331,6 +332,16 @@ type EmbeddedClient = Client;
|
|
|
331
332
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
332
333
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
333
334
|
|
|
335
|
+
declare module '@tanstack/react-table' {
|
|
336
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
337
|
+
/**
|
|
338
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
339
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
340
|
+
*/
|
|
341
|
+
fitContent?: boolean;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
334
345
|
interface LabelLabels {
|
|
335
346
|
/**
|
|
336
347
|
* How the field name and its requirement fragment compose. `{label}` is the
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
2
2
|
import { PartialDeep } from 'type-fest';
|
|
3
|
+
import { RowData } from '@tanstack/react-table';
|
|
3
4
|
import { FallbackProps } from 'react-error-boundary';
|
|
4
5
|
|
|
5
6
|
type AuthToken = string | undefined;
|
|
@@ -331,6 +332,16 @@ type EmbeddedClient = Client;
|
|
|
331
332
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
332
333
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
333
334
|
|
|
335
|
+
declare module '@tanstack/react-table' {
|
|
336
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
337
|
+
/**
|
|
338
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
339
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
340
|
+
*/
|
|
341
|
+
fitContent?: boolean;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
334
345
|
interface LabelLabels {
|
|
335
346
|
/**
|
|
336
347
|
* How the field name and its requirement fragment compose. `{label}` is the
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
3
|
+
import { RowData } from '@tanstack/react-table';
|
|
3
4
|
import { PartialDeep } from 'type-fest';
|
|
4
5
|
import { FallbackProps } from 'react-error-boundary';
|
|
5
6
|
|
|
7
|
+
declare module '@tanstack/react-table' {
|
|
8
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
9
|
+
/**
|
|
10
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
11
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
12
|
+
*/
|
|
13
|
+
fitContent?: boolean;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
6
17
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
7
18
|
children?: ReactNode;
|
|
8
19
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
3
|
+
import { RowData } from '@tanstack/react-table';
|
|
3
4
|
import { FallbackProps } from 'react-error-boundary';
|
|
4
5
|
import { PartialDeep } from 'type-fest';
|
|
5
6
|
|
|
@@ -332,6 +333,16 @@ type EmbeddedClient = Client;
|
|
|
332
333
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
333
334
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
334
335
|
|
|
336
|
+
declare module '@tanstack/react-table' {
|
|
337
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
338
|
+
/**
|
|
339
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
340
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
341
|
+
*/
|
|
342
|
+
fitContent?: boolean;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
335
346
|
interface LabelLabels {
|
|
336
347
|
/**
|
|
337
348
|
* How the field name and its requirement fragment compose. `{label}` is the
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
+
import { RowData } from '@tanstack/react-table';
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
3
4
|
import { PartialDeep } from 'type-fest';
|
|
4
5
|
import { FallbackProps } from 'react-error-boundary';
|
|
5
6
|
|
|
7
|
+
declare module '@tanstack/react-table' {
|
|
8
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
9
|
+
/**
|
|
10
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
11
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
12
|
+
*/
|
|
13
|
+
fitContent?: boolean;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
6
17
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
7
18
|
children?: ReactNode;
|
|
8
19
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
3
|
+
import { RowData } from '@tanstack/react-table';
|
|
3
4
|
import { FallbackProps } from 'react-error-boundary';
|
|
4
5
|
|
|
5
6
|
interface ExpensesHeaderLabels {
|
|
@@ -101,6 +102,16 @@ interface AccordionItemCardLabels {
|
|
|
101
102
|
location: string;
|
|
102
103
|
}
|
|
103
104
|
|
|
105
|
+
declare module '@tanstack/react-table' {
|
|
106
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
107
|
+
/**
|
|
108
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
109
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
110
|
+
*/
|
|
111
|
+
fitContent?: boolean;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
104
115
|
interface TransactionDetailsActionsLabels {
|
|
105
116
|
returnToExpenses: string;
|
|
106
117
|
cancel: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ReactElement, ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
3
|
+
import { RowData } from '@tanstack/react-table';
|
|
3
4
|
import { FallbackProps } from 'react-error-boundary';
|
|
4
5
|
|
|
5
6
|
interface InsightsWidgetLabels {
|
|
@@ -369,6 +370,16 @@ type EmbeddedClient = Client;
|
|
|
369
370
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
370
371
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
371
372
|
|
|
373
|
+
declare module '@tanstack/react-table' {
|
|
374
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
375
|
+
/**
|
|
376
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
377
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
378
|
+
*/
|
|
379
|
+
fitContent?: boolean;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
|
|
372
383
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
373
384
|
children?: ReactNode;
|
|
374
385
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
3
|
+
import { RowData } from '@tanstack/react-table';
|
|
3
4
|
import { FallbackProps } from 'react-error-boundary';
|
|
4
5
|
|
|
5
6
|
interface Labels {
|
|
@@ -398,6 +399,16 @@ type EmbeddedClient = Client;
|
|
|
398
399
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
399
400
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
400
401
|
|
|
402
|
+
declare module '@tanstack/react-table' {
|
|
403
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
404
|
+
/**
|
|
405
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
406
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
407
|
+
*/
|
|
408
|
+
fitContent?: boolean;
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
|
|
401
412
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
402
413
|
children?: ReactNode;
|
|
403
414
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
3
3
|
import { PartialDeep } from 'type-fest';
|
|
4
|
+
import { RowData } from '@tanstack/react-table';
|
|
4
5
|
import { FallbackProps } from 'react-error-boundary';
|
|
5
6
|
|
|
6
7
|
interface OfferWidgetLabels {
|
|
@@ -383,6 +384,16 @@ type EmbeddedClient = Client;
|
|
|
383
384
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
384
385
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
385
386
|
|
|
387
|
+
declare module '@tanstack/react-table' {
|
|
388
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
389
|
+
/**
|
|
390
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
391
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
392
|
+
*/
|
|
393
|
+
fitContent?: boolean;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
|
|
386
397
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
387
398
|
children?: ReactNode;
|
|
388
399
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
3
3
|
import { PartialDeep } from 'type-fest';
|
|
4
|
+
import { RowData } from '@tanstack/react-table';
|
|
4
5
|
import { FallbackProps } from 'react-error-boundary';
|
|
5
6
|
|
|
6
7
|
type AuthToken = string | undefined;
|
|
@@ -332,6 +333,16 @@ type EmbeddedClient = Client;
|
|
|
332
333
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
333
334
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
334
335
|
|
|
336
|
+
declare module '@tanstack/react-table' {
|
|
337
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
338
|
+
/**
|
|
339
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
340
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
341
|
+
*/
|
|
342
|
+
fitContent?: boolean;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
335
346
|
interface LabelLabels {
|
|
336
347
|
/**
|
|
337
348
|
* How the field name and its requirement fragment compose. `{label}` is the
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
3
3
|
import { PartialDeep } from 'type-fest';
|
|
4
|
+
import { RowData } from '@tanstack/react-table';
|
|
4
5
|
import { FallbackProps } from 'react-error-boundary';
|
|
5
6
|
|
|
7
|
+
declare module '@tanstack/react-table' {
|
|
8
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
9
|
+
/**
|
|
10
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
11
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
12
|
+
*/
|
|
13
|
+
fitContent?: boolean;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
6
17
|
interface LabelLabels {
|
|
7
18
|
/**
|
|
8
19
|
* How the field name and its requirement fragment compose. `{label}` is the
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ReactNode, ComponentType, AnchorHTMLAttributes, ErrorInfo } from 'react';
|
|
3
|
+
import { RowData } from '@tanstack/react-table';
|
|
3
4
|
import { FallbackProps } from 'react-error-boundary';
|
|
4
5
|
|
|
5
6
|
interface Labels {
|
|
@@ -382,6 +383,16 @@ type EmbeddedClient = Client;
|
|
|
382
383
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
383
384
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
384
385
|
|
|
386
|
+
declare module '@tanstack/react-table' {
|
|
387
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
388
|
+
/**
|
|
389
|
+
* Shrinks the column to its content on one line, leaving the table's
|
|
390
|
+
* spare width to the columns without it: dates, statuses and amounts.
|
|
391
|
+
*/
|
|
392
|
+
fitContent?: boolean;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
385
396
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
386
397
|
children?: ReactNode;
|
|
387
398
|
};
|