@tesouro/embedded-components-react 0.11.141 → 0.11.168
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/NOTICE +24 -0
- package/README.md +15 -37
- package/dist/experimental/BalanceHistoryWidget.d.ts +0 -11
- package/dist/experimental/QuickViewWidget.d.ts +0 -11
- package/dist/experimental/RemoteCheckCapture.d.ts +0 -11
- package/dist/experimental/index.d.ts +0 -11
- package/dist/fixtures/index.d.ts +27 -1
- package/dist/index.css +6976 -6246
- package/dist/index.d.ts +67 -173
- package/dist/index.js +9 -10
- package/dist/lib/AcceptDisclosuresWidget.d.ts +0 -11
- package/dist/lib/BalancesWidget.d.ts +0 -11
- package/dist/lib/BankAccountOnboardingWidget.d.ts +0 -11
- package/dist/lib/BankAccountsWidget.d.ts +3 -11
- package/dist/lib/BankingComplianceBannerWidget.d.ts +0 -11
- package/dist/lib/BillPayWidget.d.ts +0 -11
- package/dist/lib/CardDetailsWidget.d.ts +0 -11
- package/dist/lib/CounterpartsWidget.d.ts +1 -12
- package/dist/lib/CounterpartsWidgetPublic.d.ts +1 -12
- package/dist/lib/CreditCardsWidget.d.ts +1 -11
- package/dist/lib/DebitCardsWidget.d.ts +1 -11
- package/dist/lib/ExpenseManagementWidget.d.ts +1 -12
- package/dist/lib/InsightsWidget.d.ts +0 -11
- package/dist/lib/LinkedAccountsWidget.d.ts +1 -11
- package/dist/lib/OfferWidget.d.ts +0 -11
- package/dist/lib/ReceivablesWidget.d.ts +60 -17
- package/dist/lib/ReceivablesWidget.js +3 -2
- package/dist/lib/SettingsWidget.d.ts +0 -11
- package/dist/lib/TransfersWidget.d.ts +0 -11
- package/dist/lib/WidgetProvider.d.ts +0 -11
- package/dist/lib/WidgetProviderPublic.d.ts +0 -11
- package/dist/lib/WidgetSuite.d.ts +63 -15
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js +20 -19
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index10.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index4.js +2 -3
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index10.js +83 -82
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index4.js +84 -79
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index9.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/BankAccountsWidget/BankAccountsWidget.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/formatters.js +2 -3
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/useBankAccountsWidget.js +122 -121
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/AccountCard.js +51 -46
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/BankAccountsWidgetUi.js +63 -59
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/labels.js +3 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index22.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index35.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index36.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index40.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/useActivateCard.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/useCardLock.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/useEditCardNickname.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/testIds.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/useCardsWidget.js +161 -160
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsList.js +126 -122
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/labels.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartDetailsActions.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/feature/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/ExpenseManagementWidget/ExpenseManagementWidget.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/TransactionDetails/TransactionDetailsFeature.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/feature/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index16.js +66 -74
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +351 -318
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/details.js +126 -133
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/helpers.js +63 -56
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/invoicesFilter.js +78 -72
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/invoicesFilterLabels.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/labels.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/recurrence.js +138 -129
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/recurringSeries.js +119 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/statusCards.js +37 -28
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/tabs.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useInvoicesFilter.js +131 -81
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useLocalDayStart.js +15 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActions.js +46 -46
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActionsModal.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableAttachmentUploads.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableBankAccount.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableForm.js +440 -438
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentRecord.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentTerms.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableRecurrence.js +62 -56
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableReminders.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableStatusCards.js +47 -16
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesTable.js +78 -86
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesWidget.js +180 -158
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useRecurringSeriesTable.js +132 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/mocks/invoicing.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/mocks/receivables.js +153 -137
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +22 -19
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +6 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index47.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index60.js +137 -129
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index61.js +21 -46
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index62.js +143 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index63.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index64.js +47 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/useLinkedAccountsWidget.js +193 -192
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index13.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index14.js +100 -96
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index6.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/useProductDelete.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/mocks/products.js +3 -11
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/scenarios.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/data-access/dist/index2.js +36 -77
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/summarizeCardSpend.js +11 -13
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/useCardSpendSummary.js +20 -17
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/useRemoteCheckCaptureWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/mocks/settings.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index8.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index8.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index16.js +2 -3
- package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/lib/SettingsWidgetUi/SettingsWidgetUi.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/feature/dist/lib/useApprovalPolicyRules.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/subEntityForms.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useDeleteController.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +43 -43
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +233 -211
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +66 -42
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/util/dist/lib/receivableFilledTone.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/expense-requirements/feature/dist/lib/ExpenseRequirementsWidget.js +5 -4
- 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/product-catalog/feature/dist/lib/MeasureUnitsManagerContainer.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/toasts.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/EmbeddedToaster.js +33 -32
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/useTransferMoneyModalController.js +9 -8
- package/dist/node_modules/sonner/dist/index.js +620 -0
- package/dist/packages/shared-ui-shadcn/dist/index.js +6072 -6062
- package/dist/scenarios/index.d.ts +1 -3
- package/dist/scenarios/index.js +17 -20
- package/package.json +17 -4
- package/dist/lib/CustomersWidget.d.ts +0 -993
- package/dist/lib/CustomersWidget.js +0 -2
- package/dist/lib/ProductsWidget.d.ts +0 -893
- package/dist/lib/ProductsWidget.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/index.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/lib/CustomersWidget/CustomersWidget.js +0 -41
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/lib/analytics/events.js +0 -3
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/scenarios.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useUtcDayStart.js +0 -15
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, PropsWithChildren, ErrorInfo, CSSProperties, Ref, ReactElement } from 'react';
|
|
3
|
-
import { RowData } from '@tanstack/react-table';
|
|
4
3
|
import { FallbackProps } from 'react-error-boundary';
|
|
5
4
|
import { PartialDeep } from 'type-fest';
|
|
6
5
|
|
|
@@ -539,16 +538,6 @@ declare const OnboardingSuppressionReason: {
|
|
|
539
538
|
};
|
|
540
539
|
type OnboardingSuppressionReason = (typeof OnboardingSuppressionReason)[keyof typeof OnboardingSuppressionReason];
|
|
541
540
|
|
|
542
|
-
declare module '@tanstack/react-table' {
|
|
543
|
-
interface ColumnMeta<TData extends RowData, TValue> {
|
|
544
|
-
/**
|
|
545
|
-
* Shrinks the column to its content on one line, leaving the table's
|
|
546
|
-
* spare width to the columns without it: dates, statuses and amounts.
|
|
547
|
-
*/
|
|
548
|
-
fitContent?: boolean;
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
|
|
552
541
|
interface LabelLabels {
|
|
553
542
|
/**
|
|
554
543
|
* How the field name and its requirement fragment compose. `{label}` is the
|
|
@@ -2548,6 +2537,7 @@ interface Labels$4 {
|
|
|
2548
2537
|
routingNumberLabel: string;
|
|
2549
2538
|
addAccountButton: string;
|
|
2550
2539
|
emptyAccountsLabel: string;
|
|
2540
|
+
accessRestrictedTitle: string;
|
|
2551
2541
|
createDialogTitle: string;
|
|
2552
2542
|
createDialogSubtitle: string;
|
|
2553
2543
|
createNicknameLabel: string;
|
|
@@ -2571,6 +2561,7 @@ interface Labels$4 {
|
|
|
2571
2561
|
teamMembersErrorTitle: string;
|
|
2572
2562
|
teamMembersEmptyLabel: string;
|
|
2573
2563
|
teamMemberAccessTooltip: string;
|
|
2564
|
+
accountNumberEndingIn: string;
|
|
2574
2565
|
showAccountNumber: string;
|
|
2575
2566
|
hideAccountNumber: string;
|
|
2576
2567
|
copyAccountNumber: string;
|
|
@@ -2651,6 +2642,7 @@ interface Labels$3 {
|
|
|
2651
2642
|
copyBankName: string;
|
|
2652
2643
|
copyBankAddress: string;
|
|
2653
2644
|
copiedLabel: string;
|
|
2645
|
+
accountNumberEndingIn: string;
|
|
2654
2646
|
showAccountNumber: string;
|
|
2655
2647
|
hideAccountNumber: string;
|
|
2656
2648
|
loadingLabel: string;
|
|
@@ -2761,6 +2753,7 @@ interface CardsListLabels {
|
|
|
2761
2753
|
loadingLabel: string;
|
|
2762
2754
|
emptyTitle: string;
|
|
2763
2755
|
emptyDescription: string;
|
|
2756
|
+
accessRestrictedTitle: string;
|
|
2764
2757
|
errorTitle: string;
|
|
2765
2758
|
errorDescription: string;
|
|
2766
2759
|
retryButton: string;
|
|
@@ -3769,7 +3762,7 @@ type ExpenseManagementWidgetProps = WidgetProviderProps & ExpenseManagementWidge
|
|
|
3769
3762
|
* the unmatched-receipts Action Item), and an Upload Receipts entry
|
|
3770
3763
|
* point — composed from `ExpensesScreen` rather than a monolithic UI
|
|
3771
3764
|
* component, following the `WidgetProvider` "Feature Component Pattern" the
|
|
3772
|
-
* same way `
|
|
3765
|
+
* same way `ReceivablesWidget` does.
|
|
3773
3766
|
*
|
|
3774
3767
|
* Team tab visibility matches legacy: `ExpenseReadOrg`, or a direct-reports
|
|
3775
3768
|
* probe for people-managers without org-wide read. The Team list, its count
|
|
@@ -4385,6 +4378,7 @@ interface ReceivablesScreenLabels {
|
|
|
4385
4378
|
columnNumber: string;
|
|
4386
4379
|
columnCustomer: string;
|
|
4387
4380
|
columnIssueDate: string;
|
|
4381
|
+
columnBalanceDue: string;
|
|
4388
4382
|
columnAmount: string;
|
|
4389
4383
|
/**
|
|
4390
4384
|
* A focused row's accessible name. The row itself is the control that
|
|
@@ -4419,6 +4413,7 @@ interface UnsavedInvoiceDialogLabels {
|
|
|
4419
4413
|
}
|
|
4420
4414
|
interface ReceivableFormDialogLabels extends ReceivableBillingSectionLabels, ReceivableCustomerSectionLabels, ReceivableRecurrenceSectionLabels, ReceivableRecurrenceEmailDialogLabels, UnsavedInvoiceDialogLabels {
|
|
4421
4415
|
createTitle: string;
|
|
4416
|
+
createRecurringTitle: string;
|
|
4422
4417
|
createDescription: string;
|
|
4423
4418
|
editTitle: string;
|
|
4424
4419
|
editDescription: string;
|
|
@@ -4609,6 +4604,28 @@ interface ReceivablePreviewLabels {
|
|
|
4609
4604
|
paymentQrCodeLabel: string;
|
|
4610
4605
|
}
|
|
4611
4606
|
|
|
4607
|
+
interface RecurringSeriesScreenLabels {
|
|
4608
|
+
createButton: string;
|
|
4609
|
+
columnCustomer: string;
|
|
4610
|
+
columnRepeats: string;
|
|
4611
|
+
columnNextInvoice: string;
|
|
4612
|
+
columnStatus: string;
|
|
4613
|
+
columnAmount: string;
|
|
4614
|
+
openRow: (customerLabel: string) => string;
|
|
4615
|
+
searchPlaceholder: string;
|
|
4616
|
+
searchLabel: string;
|
|
4617
|
+
emptyTitle: string;
|
|
4618
|
+
emptyDescription: string;
|
|
4619
|
+
filterEmptyTitle: string;
|
|
4620
|
+
filterEmptyAction: string;
|
|
4621
|
+
errorTitle: string;
|
|
4622
|
+
errorDescription: string;
|
|
4623
|
+
errorRetry: string;
|
|
4624
|
+
accessRestrictedTitle: string;
|
|
4625
|
+
accessRestrictedDescription: string;
|
|
4626
|
+
}
|
|
4627
|
+
type RecurringSeriesScreenLabelOverrides = Partial<RecurringSeriesScreenLabels>;
|
|
4628
|
+
|
|
4612
4629
|
declare const InvoicesDatePreset: {
|
|
4613
4630
|
readonly Today: "today";
|
|
4614
4631
|
readonly ThisWeek: "this_week";
|
|
@@ -4630,6 +4647,7 @@ interface InvoicesFilterLabels {
|
|
|
4630
4647
|
presetGroupCurrent: string;
|
|
4631
4648
|
presetGroupPast: string;
|
|
4632
4649
|
dateFieldNames: Record<InvoicesDateFilterField, string>;
|
|
4650
|
+
paidDateFieldName: string;
|
|
4633
4651
|
dateRange: (from: string, to: string) => string;
|
|
4634
4652
|
dateFrom: (from: string) => string;
|
|
4635
4653
|
dateTo: (to: string) => string;
|
|
@@ -4702,11 +4720,28 @@ interface ReceivableMessageLabels {
|
|
|
4702
4720
|
untitledDocument: string;
|
|
4703
4721
|
/** Shown in an invoice row's number and date cells while they have no value. */
|
|
4704
4722
|
pendingValue: string;
|
|
4705
|
-
/**
|
|
4706
|
-
|
|
4723
|
+
/** Repeats or Next invoice for a series with nothing to show there. */
|
|
4724
|
+
listSeriesNoValue: string;
|
|
4725
|
+
/** Repeats for a series that skips periods; `{interval}` is replaced. */
|
|
4726
|
+
listSeriesEveryDays: string;
|
|
4727
|
+
listSeriesEveryWeeks: string;
|
|
4728
|
+
listSeriesEveryMonths: string;
|
|
4729
|
+
listSeriesEveryQuarters: string;
|
|
4730
|
+
listSeriesEveryYears: string;
|
|
4731
|
+
/** A monthly series' Repeats; `{cadence}` and `{day}` are replaced, e.g. "Monthly, last day". */
|
|
4732
|
+
listSeriesMonthDay: string;
|
|
4733
|
+
listSeriesFirstDay: string;
|
|
4734
|
+
listSeriesLastDay: string;
|
|
4735
|
+
/** Next invoice for a series that will issue no more invoices. */
|
|
4736
|
+
listSeriesNoNextInvoice: string;
|
|
4737
|
+
listDueToday: string;
|
|
4738
|
+
listDueTomorrow: string;
|
|
4707
4739
|
/** `{days}` is replaced. */
|
|
4708
4740
|
listDayOverdue: string;
|
|
4709
4741
|
listDaysOverdue: string;
|
|
4742
|
+
/** An overdue due date's accessible name; `{overdue}` and `{date}` are replaced. */
|
|
4743
|
+
listOverdueAccessibleName: string;
|
|
4744
|
+
listRecurringBadge: string;
|
|
4710
4745
|
unknownCustomer: string;
|
|
4711
4746
|
notAvailable: string;
|
|
4712
4747
|
summaryUnpaid: string;
|
|
@@ -5010,6 +5045,14 @@ interface ReceivableMessageLabels {
|
|
|
5010
5045
|
previewLogoAltNoName: string;
|
|
5011
5046
|
}
|
|
5012
5047
|
|
|
5048
|
+
declare const ReceivableStatusCard: {
|
|
5049
|
+
readonly Unpaid: "unpaid";
|
|
5050
|
+
readonly Overdue: "overdue";
|
|
5051
|
+
readonly Paid: "paid";
|
|
5052
|
+
readonly Drafts: "drafts";
|
|
5053
|
+
};
|
|
5054
|
+
type ReceivableStatusCard = (typeof ReceivableStatusCard)[keyof typeof ReceivableStatusCard];
|
|
5055
|
+
|
|
5013
5056
|
declare const InvoicingTab: {
|
|
5014
5057
|
readonly Invoices: "invoices";
|
|
5015
5058
|
readonly Recurring: "recurring";
|
|
@@ -5022,7 +5065,6 @@ interface InvoicingTabLabels extends InvoicingTabsLabels {
|
|
|
5022
5065
|
recurringTab: string;
|
|
5023
5066
|
customersTab: string;
|
|
5024
5067
|
productsTab: string;
|
|
5025
|
-
createRecurringInvoiceButton: string;
|
|
5026
5068
|
}
|
|
5027
5069
|
|
|
5028
5070
|
interface ReceivablesWidgetOwnProps {
|
|
@@ -5034,16 +5076,21 @@ interface ReceivablesWidgetOwnProps {
|
|
|
5034
5076
|
selectedTab?: InvoicingTabId;
|
|
5035
5077
|
/** Called when the user picks a tab, so the host can keep it in the URL. */
|
|
5036
5078
|
onTabChange?: (tab: InvoicingTabId) => void;
|
|
5079
|
+
/** The active summary card on the Invoices tab, or `null` for none. Applied on mount and whenever it changes; omit to let the widget track it. */
|
|
5080
|
+
selectedStatusCard?: ReceivableStatusCard | null;
|
|
5081
|
+
/** Called when the active summary card changes: a card click, or a Status filter change that matches or leaves a card. */
|
|
5082
|
+
onStatusCardChange?: (card: ReceivableStatusCard | null) => void;
|
|
5037
5083
|
initialView?: 'create';
|
|
5038
5084
|
/** Preselects this customer in the create form with `initialView: 'create'`; otherwise filters the invoice list to them. */
|
|
5039
5085
|
initialCounterpartId?: string;
|
|
5040
5086
|
pageSizeOptions?: number[];
|
|
5041
5087
|
onReceivableCreated?: (id: string, type: ReceivableDocumentType) => void;
|
|
5042
5088
|
onReceivableOpened?: (id: string, type: ReceivableDocumentType) => void;
|
|
5043
|
-
/** Shows an invoice settings button on the
|
|
5089
|
+
/** Shows an invoice settings button at the top right, on the `headerStart` line, for users holding `organization_settings:write:org`. */
|
|
5044
5090
|
onTemplateSettingsClick?: () => void;
|
|
5045
5091
|
tabLabels?: Partial<InvoicingTabLabels>;
|
|
5046
5092
|
screenLabels?: ReceivablesScreenLabelOverrides;
|
|
5093
|
+
seriesScreenLabels?: RecurringSeriesScreenLabelOverrides;
|
|
5047
5094
|
filterBarLabels?: InvoicesFilterBarLabelOverrides;
|
|
5048
5095
|
filterLabels?: InvoicesFilterLabelOverrides;
|
|
5049
5096
|
formLabels?: Partial<ReceivableFormDialogLabels>;
|
|
@@ -5148,6 +5195,7 @@ interface Labels$1 {
|
|
|
5148
5195
|
verifyErrorTitle: string;
|
|
5149
5196
|
emptyTitle: string;
|
|
5150
5197
|
emptyDescription: string;
|
|
5198
|
+
accessRestrictedTitle: string;
|
|
5151
5199
|
}
|
|
5152
5200
|
|
|
5153
5201
|
interface FeatureLabels$2 {
|
|
@@ -6338,7 +6386,7 @@ declare const BillPayWidget: (props: BillPayWidgetProps) => ReactElement;
|
|
|
6338
6386
|
*
|
|
6339
6387
|
* The workspace-internal component additionally accepts a `passThrough` prop
|
|
6340
6388
|
* that tells it to give up its own analytics identity when a composing widget
|
|
6341
|
-
* (`
|
|
6389
|
+
* (`ReceivablesWidget`'s Customers tab, `BillPayWidget`'s Vendors tab) mounts it to
|
|
6342
6390
|
* inherit the host's identity instead (EMBD-5384). That choice is set **only**
|
|
6343
6391
|
* by those composing widgets, never by integrators: an integrator's own
|
|
6344
6392
|
* standalone mount must always claim its own identity.
|
|
@@ -6352,43 +6400,6 @@ declare const BillPayWidget: (props: BillPayWidgetProps) => ReactElement;
|
|
|
6352
6400
|
*/
|
|
6353
6401
|
declare function CounterpartsWidget(props: CounterpartsWidgetProps): ReactNode;
|
|
6354
6402
|
|
|
6355
|
-
/**
|
|
6356
|
-
* Named after {@link CounterpartsWidgetOwnProps} (this widget is a thin
|
|
6357
|
-
* `counterpartType="customer"` wrapper around `CounterpartsWidget`) minus
|
|
6358
|
-
* `counterpartType` itself, which this widget hardcodes.
|
|
6359
|
-
*/
|
|
6360
|
-
interface CustomersWidgetOwnProps {
|
|
6361
|
-
pageSizeOptions?: number[];
|
|
6362
|
-
/**
|
|
6363
|
-
* Reveals a "View all" action beside the recent-documents heading in the
|
|
6364
|
-
* details sheet. Omit when the host has nowhere to send the user.
|
|
6365
|
-
*/
|
|
6366
|
-
onViewAllDocuments?: (counterpart: CounterpartActionTarget) => void;
|
|
6367
|
-
/**
|
|
6368
|
-
* Opens the host's create-invoice flow for this customer, behind the
|
|
6369
|
-
* "Issue an invoice" button, which is hidden while unwired.
|
|
6370
|
-
*/
|
|
6371
|
-
onCreateDocument?: (counterpart: CounterpartActionTarget) => void;
|
|
6372
|
-
screenLabels?: Partial<CounterpartsScreenLabels>;
|
|
6373
|
-
formLabels?: PartialDeep<CounterpartFormSheetLabels>;
|
|
6374
|
-
detailsLabels?: Partial<CounterpartDetailsSheetLabels>;
|
|
6375
|
-
/** @deprecated Unused; relabel the address through `formLabels.address`. */
|
|
6376
|
-
addressLabels?: PartialDeep<AddressFormSheetLabels>;
|
|
6377
|
-
deleteLabels?: Partial<ConfirmDeleteDialogLabels>;
|
|
6378
|
-
/** Overrides for validation / error / delete-prompt messages. */
|
|
6379
|
-
messageLabels?: Partial<CounterpartMessageLabels>;
|
|
6380
|
-
}
|
|
6381
|
-
|
|
6382
|
-
/** Public props for {@link CustomersWidget}. */
|
|
6383
|
-
type CustomersWidgetProps = WidgetProviderProps & CustomersWidgetOwnProps;
|
|
6384
|
-
/**
|
|
6385
|
-
* A customer is a counterpart, so the published `CounterpartsWidget` already
|
|
6386
|
-
* is this surface end to end (list, details, create/edit, delete) via
|
|
6387
|
-
* `counterpartType`. Reused rather than rebuilt, the same way `BillPayWidget`
|
|
6388
|
-
* reuses it for its Vendors tab.
|
|
6389
|
-
*/
|
|
6390
|
-
declare function CustomersWidget({ pageSizeOptions, onViewAllDocuments, onCreateDocument, screenLabels, formLabels, detailsLabels, addressLabels, deleteLabels, messageLabels, ...widgetProviderProps }: CustomersWidgetProps): React.JSX.Element;
|
|
6391
|
-
|
|
6392
6403
|
interface OfferWidgetLabels {
|
|
6393
6404
|
applyNow: string;
|
|
6394
6405
|
learnMore: string;
|
|
@@ -6518,123 +6529,6 @@ type OfferWidgetProps = WidgetProviderProps & InnerProps;
|
|
|
6518
6529
|
*/
|
|
6519
6530
|
declare function OfferWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: OfferWidgetProps): React.JSX.Element;
|
|
6520
6531
|
|
|
6521
|
-
interface ProductTypeBadgeLabels {
|
|
6522
|
-
product: string;
|
|
6523
|
-
service: string;
|
|
6524
|
-
}
|
|
6525
|
-
interface ProductsScreenLabels {
|
|
6526
|
-
createButton: string;
|
|
6527
|
-
manageUnitsButton: string;
|
|
6528
|
-
columnName: string;
|
|
6529
|
-
columnType: string;
|
|
6530
|
-
columnDescription: string;
|
|
6531
|
-
columnPrice: string;
|
|
6532
|
-
searchPlaceholder: string;
|
|
6533
|
-
searchLabel: string;
|
|
6534
|
-
filtersButton: string;
|
|
6535
|
-
filterFieldType: string;
|
|
6536
|
-
filterFieldUnit: string;
|
|
6537
|
-
/** Accessible name of a chip's dismiss button. `{label}` is the chip's text. */
|
|
6538
|
-
filterChipRemove: string;
|
|
6539
|
-
typeChip: (value: string) => string;
|
|
6540
|
-
unitChip: (value: string) => string;
|
|
6541
|
-
searchChip: (value: string) => string;
|
|
6542
|
-
clearAllFilters: string;
|
|
6543
|
-
typeFilterProduct: string;
|
|
6544
|
-
typeFilterService: string;
|
|
6545
|
-
/** First choice in the unit panel; choosing it removes the unit filter. */
|
|
6546
|
-
unitFilterAll: string;
|
|
6547
|
-
emptyTitle: string;
|
|
6548
|
-
emptyDescription: string;
|
|
6549
|
-
emptyAction: string;
|
|
6550
|
-
filterEmptyTitle: string;
|
|
6551
|
-
filterEmptyDescription: string;
|
|
6552
|
-
errorTitle: string;
|
|
6553
|
-
errorDescription: string;
|
|
6554
|
-
errorRetry: string;
|
|
6555
|
-
accessRestrictedTitle: string;
|
|
6556
|
-
accessRestrictedDescription: string;
|
|
6557
|
-
/**
|
|
6558
|
-
* A focused row's accessible name. The row itself is the control that
|
|
6559
|
-
* opens it, so the name says what Enter does. A template so locales own the
|
|
6560
|
-
* wording and order.
|
|
6561
|
-
*/
|
|
6562
|
-
openRow: (productName: string) => string;
|
|
6563
|
-
typeBadge: ProductTypeBadgeLabels;
|
|
6564
|
-
}
|
|
6565
|
-
interface ProductDetailsSheetLabels {
|
|
6566
|
-
/** @deprecated Unused: the sheet has no description while it loads. */
|
|
6567
|
-
hiddenDescription: string;
|
|
6568
|
-
/** `{type}` and `{createdAt}` are replaced at render time. */
|
|
6569
|
-
subtitle: string;
|
|
6570
|
-
/** `{type}` is replaced with "Product" or "Service". */
|
|
6571
|
-
sectionHeading: string;
|
|
6572
|
-
typeProductDescription: string;
|
|
6573
|
-
typeServiceDescription: string;
|
|
6574
|
-
/** `{type}` is replaced with "Product" or "Service". */
|
|
6575
|
-
rowName: string;
|
|
6576
|
-
rowDescription: string;
|
|
6577
|
-
rowType: string;
|
|
6578
|
-
rowUnit: string;
|
|
6579
|
-
rowPrice: string;
|
|
6580
|
-
rowCreatedOn: string;
|
|
6581
|
-
rowLastUpdate: string;
|
|
6582
|
-
/** Accessible label for the overflow actions trigger button. */
|
|
6583
|
-
moreActionsLabel: string;
|
|
6584
|
-
/** Accessible label for the close button. */
|
|
6585
|
-
closeLabel: string;
|
|
6586
|
-
/** Fallback displayed in a detail row when the value is empty. */
|
|
6587
|
-
rowEmptyValue: string;
|
|
6588
|
-
/** Label for the delete item in the actions dropdown. `{type}` is replaced with "Product" or "Service". */
|
|
6589
|
-
deleteProductOption: string;
|
|
6590
|
-
editButton: string;
|
|
6591
|
-
loadingTitle: string;
|
|
6592
|
-
unavailableTitle: string;
|
|
6593
|
-
loadingLabel: string;
|
|
6594
|
-
errorTitle: string;
|
|
6595
|
-
errorDescription: string;
|
|
6596
|
-
typeBadge: ProductTypeBadgeLabels;
|
|
6597
|
-
}
|
|
6598
|
-
interface ProductDeleteDialogLabels {
|
|
6599
|
-
/** `{name}` is replaced with the product name. */
|
|
6600
|
-
title: string;
|
|
6601
|
-
message: string;
|
|
6602
|
-
confirmButton: string;
|
|
6603
|
-
cancelButton: string;
|
|
6604
|
-
/** Accessible name and tooltip of the dialog's close (X) button. */
|
|
6605
|
-
close: string;
|
|
6606
|
-
}
|
|
6607
|
-
|
|
6608
|
-
interface ProductsWidgetOwnProps {
|
|
6609
|
-
pageSizeOptions?: number[];
|
|
6610
|
-
screenLabels?: PartialDeep<ProductsScreenLabels>;
|
|
6611
|
-
formLabels?: PartialDeep<ProductFormSheetLabels>;
|
|
6612
|
-
detailsLabels?: PartialDeep<ProductDetailsSheetLabels>;
|
|
6613
|
-
deleteLabels?: Partial<ProductDeleteDialogLabels>;
|
|
6614
|
-
measureUnitsLabels?: PartialDeep<MeasureUnitsManagerLabels>;
|
|
6615
|
-
measureUnitDeleteLabels?: Partial<MeasureUnitDeleteDialogLabels>;
|
|
6616
|
-
/** Overrides for validation / error messages produced by the widget. */
|
|
6617
|
-
messageLabels?: Partial<ProductMessageLabels>;
|
|
6618
|
-
}
|
|
6619
|
-
/** Public props for {@link ProductsWidget}. */
|
|
6620
|
-
type ProductsWidgetProps = WidgetProviderProps & ProductsWidgetOwnProps;
|
|
6621
|
-
|
|
6622
|
-
/** Kept off the exported {@link ProductsWidgetProps}: only Invoicing's tab row passes the slot. */
|
|
6623
|
-
interface ProductsWidgetInternalProps extends ProductsWidgetProps {
|
|
6624
|
-
headerActionContainer?: HTMLElement | null;
|
|
6625
|
-
}
|
|
6626
|
-
/**
|
|
6627
|
-
* Self-contained products/services widget: lists, filters, creates, edits,
|
|
6628
|
-
* views, and deletes products, and manages measure units. The provider/inner
|
|
6629
|
-
* split keeps the public component a pure {@link WidgetProvider} wrapper.
|
|
6630
|
-
*
|
|
6631
|
-
* @example
|
|
6632
|
-
* ```tsx
|
|
6633
|
-
* <ProductsWidget baseUrl="https://api.tesouro.com" widgetToken="wt_..." organizationId="org_..." />
|
|
6634
|
-
* ```
|
|
6635
|
-
*/
|
|
6636
|
-
declare function ProductsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ProductsWidgetInternalProps): React.JSX.Element;
|
|
6637
|
-
|
|
6638
6532
|
/**
|
|
6639
6533
|
* Public {@link WidgetProvider} — the integrator-facing provider.
|
|
6640
6534
|
*
|
|
@@ -6748,5 +6642,5 @@ interface CheckAmountAndDetailScreenProps {
|
|
|
6748
6642
|
|
|
6749
6643
|
type PendingFeatureStyleSources = CheckAmountAndDetailScreenProps | GapCoverageAlertProps | NoPolicyBannerProps;
|
|
6750
6644
|
|
|
6751
|
-
export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, APPLICATION_STATUS_LABELS_EN, AcceptDisclosuresWidget, BALANCES_WIDGET_LABELS_EN, BANKING_COMPLIANCE_BANNER_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BankingComplianceBannerWidget, BillPayWidget, CardDetailsWidget, CounterpartsWidget, CreditCardsWidget,
|
|
6752
|
-
export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, AccordionItemCardLabels, Labels$3 as AccountDetailsWidgetLabels, ActivateCardPanelLabels, AdditionalOwner, AdditionalOwnersLabels, AddressFormSheetLabels, ApplicationStatusLabelValues, ApplicationStatusLabels, ApplicationStatusNoticeLabels, BalancesWidgetLabels, BalancesWidgetProps, BankAccountFormSheetLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, FeatureLabels$3 as BankAccountsWidgetFeatureLabels, Labels$4 as BankAccountsWidgetLabels, BankAccountsWidgetProps, BankingComplianceBannerLabels, BankingComplianceBannerWidgetProps, BillPayWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps, CardsFeatureLabels, CardsListLabels as CardsLabels, CardsPagination, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartActionTarget, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreditCardsWidgetProps, CspConfig,
|
|
6645
|
+
export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, APPLICATION_STATUS_LABELS_EN, AcceptDisclosuresWidget, BALANCES_WIDGET_LABELS_EN, BANKING_COMPLIANCE_BANNER_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BankingComplianceBannerWidget, BillPayWidget, CardDetailsWidget, CounterpartsWidget, CreditCardsWidget, DebitCardsWidget, ERROR_STATE_ID, ExpenseManagementWidget, HELP_FAQ_EN, INSIGHTS_FEATURE_LABELS_EN, INSIGHTS_WIDGET_LABELS_EN, InsightsWidget, InvoicingTab, LinkedAccountsWidget, OFFER_WIDGET_LABELS_EN, OFFER_WIDGET_STATUS_LABELS_EN, OfferBenefitIcon, OfferWidget, OnboardingSuppressionReason, PERSONAL_DETAILS_LABELS_EN, RESULT_LABELS_EN, ReceivableStatusCard, ReceivablesWidget, RefreshingRootWidgetProvider, RootWidgetProvider, SINGLE_INSIGHT_LABELS_EN, Scope, SettingsSection, SettingsWidget, THEME_TOKEN_NAMES, DEFAULT_FEATURE_LABELS as TRANSFERS_FEATURE_LABELS_EN, TRANSFERS_WIDGET_LABELS_EN, TransfersWidget, UIFramework, WIDGET_SUITE_DEFAULT_SECTIONS, WIDGET_SUITE_LABELS_EN, WidgetProvider, WidgetSuite, WidgetSuiteSectionId, WidgetTokenRefreshProvider, cloneEmbeddedClient, configureCsp, createTheme, getGlobalWidgetConfig, getGlobalWidgetInitState, isScope, registerDesignSystemEnsurer, registerUIRenderers, setGlobalWidgetConfig, subscribeToGlobalWidgetInitState, themeIssues, themeToCss, updateGlobalWidgetConfig, useDisclosuresAcceptanceSurface, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetInitStaleForToken, useWidgetLoading, useWidgetToken };
|
|
6646
|
+
export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, AccordionItemCardLabels, Labels$3 as AccountDetailsWidgetLabels, ActivateCardPanelLabels, AdditionalOwner, AdditionalOwnersLabels, AddressFormSheetLabels, ApplicationStatusLabelValues, ApplicationStatusLabels, ApplicationStatusNoticeLabels, BalancesWidgetLabels, BalancesWidgetProps, BankAccountFormSheetLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, FeatureLabels$3 as BankAccountsWidgetFeatureLabels, Labels$4 as BankAccountsWidgetLabels, BankAccountsWidgetProps, BankingComplianceBannerLabels, BankingComplianceBannerWidgetProps, BillPayWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps, CardsFeatureLabels, CardsListLabels as CardsLabels, CardsPagination, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartActionTarget, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreditCardsWidgetProps, CspConfig, DebitCardsWidgetProps, DisclosureLinks, EmbeddedClient, Labels$2 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, ExpenseStatusBadgeLabels, FileViewerLabels, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, InvoicesFilterBarLabelOverrides, InvoicesFilterBarLabels, InvoicesFilterLabelOverrides, InvoicesFilterLabels, InvoicingTabId, InvoicingTabLabels, LinkComponent, LinkComponentProps, FeatureLabels$2 as LinkedAccountsWidgetFeatureLabels, Labels$1 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, OfferStatusLabelValues, OfferStatusNoticeLabels, OfferWidgetBenefit, OfferWidgetContent, OfferWidgetHowItWorksStep, OfferWidgetImage, OfferWidgetLabels, OfferWidgetProps, OfferWidgetStatusLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductFormSheetLabels, ProductMessageLabels, ReceivableActionDialogLabels, ReceivableActionsModalLabels, ReceivableAuditHistoryLabels, ReceivableDetailsPanelLabelOverrides, ReceivableDetailsPanelLabels, ReceivableDocumentType, ReceivableFormDialogLabels, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivablePreviewLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, RecurringSeriesScreenLabelOverrides, RecurringSeriesScreenLabels, RefreshingRootWidgetProviderProps, ResultLabels, RootWidgetProviderProps, SettingsWidgetAdditionalSection, FeatureLabels$1 as SettingsWidgetFeatureLabels, Labels as SettingsWidgetLabels, SettingsWidgetProps, SettingsWidgetSection, SettingsWidgetSectionId, SingleInsightLabels, ThemeInput, ThemeIssue, ThemeTokenKey, ThemeTokenName, ThemeTokens, TransactionDetailsActionsLabels, TransactionDetailsLabels, FeatureLabels as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetInitState, WidgetProviderLabels, WidgetProviderProps, WidgetSuiteCardsLabels, WidgetSuiteDashboardLabels, WidgetSuiteDisclosureLabels, WidgetSuiteExpensesLabels, WidgetSuiteInvoicingLabels, WidgetSuiteLabelOverrides, WidgetSuiteLabels, WidgetSuiteMenuLabels, WidgetSuiteOnboardingGateLabels, WidgetSuiteOnboardingLabels, WidgetSuiteProps, WidgetSuiteQuickActionsLabels, WidgetSuiteSectionContentLabels, WidgetSuiteSectionTitleLabels, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };
|
package/dist/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import { SINGLE_INSIGHT_LABELS_EN as z } from "./libs/tesouro-embedded-component
|
|
|
27
27
|
import { InsightsWidget as B } from "./libs/tesouro-embedded-components-react/insights-widget/feature/dist/lib/InsightsWidget/InsightsWidgetFeature.js";
|
|
28
28
|
import { ExpenseManagementWidget as V } from "./libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/ExpenseManagementWidget/ExpenseManagementWidget.js";
|
|
29
29
|
import { InvoicingTab as H } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/tabs.js";
|
|
30
|
-
import {
|
|
30
|
+
import { ReceivableStatusCard as U } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/statusCards.js";
|
|
31
31
|
import { ReceivablesWidget as W } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js";
|
|
32
32
|
import { SettingsSection as G } from "./libs/tesouro-embedded-components-react/settings-widget/feature/dist/lib/SettingsWidget/sections.js";
|
|
33
33
|
import { HELP_FAQ_EN as K } from "./libs/tesouro-embedded-components-react/settings-widget/help/ui/contract/dist/index3.js";
|
|
@@ -48,12 +48,11 @@ import { WidgetSuite as oe } from "./libs/tesouro-embedded-components-react/widg
|
|
|
48
48
|
import { BANKING_COMPLIANCE_BANNER_LABELS_EN as se } from "./libs/tesouro-embedded-components-react/banking-compliance-banner-widget/ui/dist/index3.js";
|
|
49
49
|
import { BankingComplianceBannerWidget as ce } from "./libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/lib/BankingComplianceBannerWidget/BankingComplianceBannerWidget.js";
|
|
50
50
|
import { CounterpartsWidget as le } from "./lib/CounterpartsWidgetPublic.js";
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
|
|
59
|
-
export { Q as ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ee as ADDITIONAL_OWNERS_LABELS_EN, ie as APPLICATION_STATUS_LABELS_EN, $ as AcceptDisclosuresWidget, de as BALANCES_WIDGET_LABELS_EN, se as BANKING_COMPLIANCE_BANNER_LABELS_EN, te as BUSINESS_DETAILS_LABELS_EN, fe as BalancesWidget, ae as BankAccountOnboardingWidget, M as BankAccountsWidget, ce as BankingComplianceBannerWidget, N as BillPayWidget, P as CardDetailsWidget, le as CounterpartsWidget, F as CreditCardsWidget, ue as CustomersWidget, I as DebitCardsWidget, h as ERROR_STATE_ID, V as ExpenseManagementWidget, K as HELP_FAQ_EN, L as INSIGHTS_FEATURE_LABELS_EN, R as INSIGHTS_WIDGET_LABELS_EN, B as InsightsWidget, H as InvoicingTab, J as LinkedAccountsWidget, me as OFFER_WIDGET_LABELS_EN, pe as OFFER_WIDGET_STATUS_LABELS_EN, he as OfferBenefitIcon, ge as OfferWidget, d as OnboardingSuppressionReason, ne as PERSONAL_DETAILS_LABELS_EN, U as ProductsWidget, re as RESULT_LABELS_EN, W as ReceivablesWidget, w as RefreshingRootWidgetProvider, x as RootWidgetProvider, z as SINGLE_INSIGHT_LABELS_EN, l as Scope, G as SettingsSection, q as SettingsWidget, e as THEME_TOKEN_NAMES, Y as TRANSFERS_FEATURE_LABELS_EN, X as TRANSFERS_WIDGET_LABELS_EN, Z as TransfersWidget, f as UIFramework, o as WIDGET_SUITE_DEFAULT_SECTIONS, a as WIDGET_SUITE_LABELS_EN, _e as WidgetProvider, oe as WidgetSuite, s as WidgetSuiteSectionId, S as WidgetTokenRefreshProvider, c as cloneEmbeddedClient, i as configureCsp, t as createTheme, g as getGlobalWidgetConfig, y as getGlobalWidgetInitState, u as isScope, p as registerDesignSystemEnsurer, m as registerUIRenderers, _ as setGlobalWidgetConfig, b as subscribeToGlobalWidgetInitState, n as themeIssues, r as themeToCss, v as updateGlobalWidgetConfig, T as useDisclosuresAcceptanceSurface, E as useOwnWidgetConfig, D as useRefetchWidget, O as useWidgetConfig, k as useWidgetError, A as useWidgetInitStaleForToken, j as useWidgetLoading, C as useWidgetToken };
|
|
51
|
+
import { BALANCES_WIDGET_LABELS_EN as ue } from "./libs/tesouro-embedded-components-react/balances-widget/ui/dist/lib/BalancesWidget/labels.js";
|
|
52
|
+
import { BalancesWidget as de } from "./libs/tesouro-embedded-components-react/balances-widget/feature/dist/lib/BalancesWidget/BalancesWidgetFeature.js";
|
|
53
|
+
import { OFFER_WIDGET_STATUS_LABELS_EN as fe } from "./libs/tesouro-embedded-components-react/offer-widget/feature/dist/lib/OfferWidget/labels.js";
|
|
54
|
+
import { OFFER_WIDGET_LABELS_EN as pe } from "./libs/tesouro-embedded-components-react/offer-widget/ui/dist/index2.js";
|
|
55
|
+
import { OfferBenefitIcon as me } from "./libs/tesouro-embedded-components-react/offer-widget/ui/dist/index3.js";
|
|
56
|
+
import { OfferWidget as he } from "./libs/tesouro-embedded-components-react/offer-widget/feature/dist/lib/OfferWidget/OfferWidget.js";
|
|
57
|
+
import { WidgetProvider as ge } from "./lib/WidgetProviderPublic.js";
|
|
58
|
+
export { Q as ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ee as ADDITIONAL_OWNERS_LABELS_EN, ie as APPLICATION_STATUS_LABELS_EN, $ as AcceptDisclosuresWidget, ue as BALANCES_WIDGET_LABELS_EN, se as BANKING_COMPLIANCE_BANNER_LABELS_EN, te as BUSINESS_DETAILS_LABELS_EN, de as BalancesWidget, ae as BankAccountOnboardingWidget, M as BankAccountsWidget, ce as BankingComplianceBannerWidget, N as BillPayWidget, P as CardDetailsWidget, le as CounterpartsWidget, F as CreditCardsWidget, I as DebitCardsWidget, h as ERROR_STATE_ID, V as ExpenseManagementWidget, K as HELP_FAQ_EN, L as INSIGHTS_FEATURE_LABELS_EN, R as INSIGHTS_WIDGET_LABELS_EN, B as InsightsWidget, H as InvoicingTab, J as LinkedAccountsWidget, pe as OFFER_WIDGET_LABELS_EN, fe as OFFER_WIDGET_STATUS_LABELS_EN, me as OfferBenefitIcon, he as OfferWidget, d as OnboardingSuppressionReason, ne as PERSONAL_DETAILS_LABELS_EN, re as RESULT_LABELS_EN, U as ReceivableStatusCard, W as ReceivablesWidget, w as RefreshingRootWidgetProvider, x as RootWidgetProvider, z as SINGLE_INSIGHT_LABELS_EN, l as Scope, G as SettingsSection, q as SettingsWidget, e as THEME_TOKEN_NAMES, Y as TRANSFERS_FEATURE_LABELS_EN, X as TRANSFERS_WIDGET_LABELS_EN, Z as TransfersWidget, f as UIFramework, o as WIDGET_SUITE_DEFAULT_SECTIONS, a as WIDGET_SUITE_LABELS_EN, ge as WidgetProvider, oe as WidgetSuite, s as WidgetSuiteSectionId, S as WidgetTokenRefreshProvider, c as cloneEmbeddedClient, i as configureCsp, t as createTheme, g as getGlobalWidgetConfig, y as getGlobalWidgetInitState, u as isScope, p as registerDesignSystemEnsurer, m as registerUIRenderers, _ as setGlobalWidgetConfig, b as subscribeToGlobalWidgetInitState, n as themeIssues, r as themeToCss, v as updateGlobalWidgetConfig, T as useDisclosuresAcceptanceSurface, E as useOwnWidgetConfig, D as useRefetchWidget, O as useWidgetConfig, k as useWidgetError, A as useWidgetInitStaleForToken, j as useWidgetLoading, C as useWidgetToken };
|
|
@@ -1,7 +1,6 @@
|
|
|
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';
|
|
5
4
|
import { FallbackProps } from 'react-error-boundary';
|
|
6
5
|
|
|
7
6
|
interface AcceptDisclosuresWidgetLabels {
|
|
@@ -466,16 +465,6 @@ type EmbeddedClient = Client;
|
|
|
466
465
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
467
466
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
468
467
|
|
|
469
|
-
declare module '@tanstack/react-table' {
|
|
470
|
-
interface ColumnMeta<TData extends RowData, TValue> {
|
|
471
|
-
/**
|
|
472
|
-
* Shrinks the column to its content on one line, leaving the table's
|
|
473
|
-
* spare width to the columns without it: dates, statuses and amounts.
|
|
474
|
-
*/
|
|
475
|
-
fitContent?: boolean;
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
|
|
479
468
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
480
469
|
children?: ReactNode;
|
|
481
470
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
3
|
-
import { RowData } from '@tanstack/react-table';
|
|
4
3
|
import { FallbackProps } from 'react-error-boundary';
|
|
5
4
|
|
|
6
5
|
interface BalancesWidgetLabels {
|
|
@@ -360,16 +359,6 @@ type EmbeddedClient = Client;
|
|
|
360
359
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
361
360
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
362
361
|
|
|
363
|
-
declare module '@tanstack/react-table' {
|
|
364
|
-
interface ColumnMeta<TData extends RowData, TValue> {
|
|
365
|
-
/**
|
|
366
|
-
* Shrinks the column to its content on one line, leaving the table's
|
|
367
|
-
* spare width to the columns without it: dates, statuses and amounts.
|
|
368
|
-
*/
|
|
369
|
-
fitContent?: boolean;
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
|
|
373
362
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
374
363
|
children?: ReactNode;
|
|
375
364
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
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';
|
|
5
4
|
import { FallbackProps } from 'react-error-boundary';
|
|
6
5
|
|
|
7
6
|
/**
|
|
@@ -458,16 +457,6 @@ declare const OnboardingSuppressionReason: {
|
|
|
458
457
|
};
|
|
459
458
|
type OnboardingSuppressionReason = (typeof OnboardingSuppressionReason)[keyof typeof OnboardingSuppressionReason];
|
|
460
459
|
|
|
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
|
-
|
|
471
460
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
472
461
|
children?: ReactNode;
|
|
473
462
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
3
|
-
import { RowData } from '@tanstack/react-table';
|
|
4
3
|
import { FallbackProps } from 'react-error-boundary';
|
|
5
4
|
|
|
6
5
|
interface Labels$1 {
|
|
@@ -11,6 +10,7 @@ interface Labels$1 {
|
|
|
11
10
|
routingNumberLabel: string;
|
|
12
11
|
addAccountButton: string;
|
|
13
12
|
emptyAccountsLabel: string;
|
|
13
|
+
accessRestrictedTitle: string;
|
|
14
14
|
createDialogTitle: string;
|
|
15
15
|
createDialogSubtitle: string;
|
|
16
16
|
createNicknameLabel: string;
|
|
@@ -34,6 +34,7 @@ interface Labels$1 {
|
|
|
34
34
|
teamMembersErrorTitle: string;
|
|
35
35
|
teamMembersEmptyLabel: string;
|
|
36
36
|
teamMemberAccessTooltip: string;
|
|
37
|
+
accountNumberEndingIn: string;
|
|
37
38
|
showAccountNumber: string;
|
|
38
39
|
hideAccountNumber: string;
|
|
39
40
|
copyAccountNumber: string;
|
|
@@ -374,16 +375,6 @@ type EmbeddedClient = Client;
|
|
|
374
375
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
375
376
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
376
377
|
|
|
377
|
-
declare module '@tanstack/react-table' {
|
|
378
|
-
interface ColumnMeta<TData extends RowData, TValue> {
|
|
379
|
-
/**
|
|
380
|
-
* Shrinks the column to its content on one line, leaving the table's
|
|
381
|
-
* spare width to the columns without it: dates, statuses and amounts.
|
|
382
|
-
*/
|
|
383
|
-
fitContent?: boolean;
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
|
|
387
378
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
388
379
|
children?: ReactNode;
|
|
389
380
|
};
|
|
@@ -718,6 +709,7 @@ interface Labels {
|
|
|
718
709
|
copyBankName: string;
|
|
719
710
|
copyBankAddress: string;
|
|
720
711
|
copiedLabel: string;
|
|
712
|
+
accountNumberEndingIn: string;
|
|
721
713
|
showAccountNumber: string;
|
|
722
714
|
hideAccountNumber: string;
|
|
723
715
|
loadingLabel: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
3
|
-
import { RowData } from '@tanstack/react-table';
|
|
4
3
|
import { FallbackProps } from 'react-error-boundary';
|
|
5
4
|
|
|
6
5
|
interface BankingComplianceBannerLabels {
|
|
@@ -349,16 +348,6 @@ type EmbeddedClient = Client;
|
|
|
349
348
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
350
349
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
351
350
|
|
|
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
|
-
|
|
362
351
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
363
352
|
children?: ReactNode;
|
|
364
353
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo, ReactElement } from 'react';
|
|
2
|
-
import { RowData } from '@tanstack/react-table';
|
|
3
2
|
import { FallbackProps } from 'react-error-boundary';
|
|
4
3
|
|
|
5
4
|
type AuthToken = string | undefined;
|
|
@@ -331,16 +330,6 @@ type EmbeddedClient = Client;
|
|
|
331
330
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
332
331
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
333
332
|
|
|
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
|
-
|
|
344
333
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
345
334
|
children?: ReactNode;
|
|
346
335
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
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';
|
|
5
4
|
import { FallbackProps } from 'react-error-boundary';
|
|
6
5
|
|
|
7
6
|
/** Accessible copy for the panel header's controls. */
|
|
@@ -513,16 +512,6 @@ type EmbeddedClient = Client;
|
|
|
513
512
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
514
513
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
515
514
|
|
|
516
|
-
declare module '@tanstack/react-table' {
|
|
517
|
-
interface ColumnMeta<TData extends RowData, TValue> {
|
|
518
|
-
/**
|
|
519
|
-
* Shrinks the column to its content on one line, leaving the table's
|
|
520
|
-
* spare width to the columns without it: dates, statuses and amounts.
|
|
521
|
-
*/
|
|
522
|
-
fitContent?: boolean;
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
|
|
526
515
|
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
527
516
|
children?: ReactNode;
|
|
528
517
|
};
|