@tesouro/embedded-components-react 0.11.141 → 0.11.167

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.
Files changed (148) hide show
  1. package/NOTICE +24 -0
  2. package/README.md +15 -37
  3. package/dist/experimental/BalanceHistoryWidget.d.ts +0 -11
  4. package/dist/experimental/QuickViewWidget.d.ts +0 -11
  5. package/dist/experimental/RemoteCheckCapture.d.ts +0 -11
  6. package/dist/experimental/index.d.ts +0 -11
  7. package/dist/fixtures/index.d.ts +27 -1
  8. package/dist/index.css +6976 -6246
  9. package/dist/index.d.ts +64 -173
  10. package/dist/index.js +9 -10
  11. package/dist/lib/AcceptDisclosuresWidget.d.ts +0 -11
  12. package/dist/lib/BalancesWidget.d.ts +0 -11
  13. package/dist/lib/BankAccountOnboardingWidget.d.ts +0 -11
  14. package/dist/lib/BankAccountsWidget.d.ts +2 -11
  15. package/dist/lib/BankingComplianceBannerWidget.d.ts +0 -11
  16. package/dist/lib/BillPayWidget.d.ts +0 -11
  17. package/dist/lib/CardDetailsWidget.d.ts +0 -11
  18. package/dist/lib/CounterpartsWidget.d.ts +1 -12
  19. package/dist/lib/CounterpartsWidgetPublic.d.ts +1 -12
  20. package/dist/lib/CreditCardsWidget.d.ts +0 -11
  21. package/dist/lib/DebitCardsWidget.d.ts +0 -11
  22. package/dist/lib/ExpenseManagementWidget.d.ts +1 -12
  23. package/dist/lib/InsightsWidget.d.ts +0 -11
  24. package/dist/lib/LinkedAccountsWidget.d.ts +0 -11
  25. package/dist/lib/OfferWidget.d.ts +0 -11
  26. package/dist/lib/ReceivablesWidget.d.ts +60 -17
  27. package/dist/lib/ReceivablesWidget.js +3 -2
  28. package/dist/lib/SettingsWidget.d.ts +0 -11
  29. package/dist/lib/TransfersWidget.d.ts +0 -11
  30. package/dist/lib/WidgetProvider.d.ts +0 -11
  31. package/dist/lib/WidgetProviderPublic.d.ts +0 -11
  32. package/dist/lib/WidgetSuite.d.ts +60 -15
  33. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js +1 -1
  34. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js +20 -19
  35. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index10.js +8 -8
  36. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index4.js +2 -3
  37. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index10.js +83 -82
  38. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index4.js +84 -79
  39. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index9.js +2 -1
  40. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/formatters.js +2 -3
  41. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/useBankAccountsWidget.js +4 -4
  42. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/AccountCard.js +51 -46
  43. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/labels.js +2 -1
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index22.js +1 -1
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index25.js +1 -1
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index35.js +1 -1
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index36.js +1 -1
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index4.js +1 -1
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index40.js +1 -1
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index4.js +1 -1
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +1 -1
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +1 -1
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index10.js +1 -1
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index4.js +1 -1
  55. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/useActivateCard.js +1 -1
  56. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/useCardLock.js +1 -1
  57. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/useEditCardNickname.js +1 -1
  58. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +1 -1
  59. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartDetailsActions.js +1 -1
  60. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/feature/dist/index7.js +1 -1
  61. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/ExpenseManagementWidget/ExpenseManagementWidget.js +10 -9
  62. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/TransactionDetails/TransactionDetailsFeature.js +1 -1
  63. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/feature/dist/index2.js +1 -1
  64. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +2 -2
  65. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index16.js +66 -74
  66. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +3 -2
  67. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +351 -318
  68. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/details.js +126 -133
  69. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/helpers.js +63 -56
  70. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/invoicesFilter.js +78 -72
  71. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/invoicesFilterLabels.js +2 -1
  72. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/labels.js +14 -1
  73. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/recurrence.js +138 -129
  74. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/recurringSeries.js +119 -0
  75. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/statusCards.js +37 -28
  76. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/tabs.js +1 -2
  77. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useInvoicesFilter.js +131 -81
  78. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useLocalDayStart.js +15 -0
  79. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActions.js +46 -46
  80. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActionsModal.js +1 -1
  81. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableAttachmentUploads.js +13 -13
  82. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableBankAccount.js +1 -1
  83. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableForm.js +440 -438
  84. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentRecord.js +7 -7
  85. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentTerms.js +1 -1
  86. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableRecurrence.js +62 -56
  87. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableReminders.js +1 -1
  88. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableStatusCards.js +47 -16
  89. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesTable.js +78 -86
  90. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesWidget.js +180 -158
  91. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useRecurringSeriesTable.js +132 -0
  92. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/mocks/invoicing.js +4 -0
  93. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/mocks/receivables.js +153 -137
  94. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +22 -19
  95. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +6 -4
  96. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index2.js +1 -1
  97. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index47.js +3 -3
  98. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index60.js +137 -129
  99. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index61.js +21 -46
  100. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index62.js +143 -0
  101. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index63.js +2 -0
  102. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index64.js +47 -0
  103. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +25 -25
  104. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/useLinkedAccountsWidget.js +1 -1
  105. package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/useProductDelete.js +1 -1
  106. package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/mocks/products.js +3 -11
  107. package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/scenarios.js +1 -1
  108. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/data-access/dist/index2.js +36 -77
  109. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/summarizeCardSpend.js +11 -13
  110. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/useCardSpendSummary.js +20 -17
  111. package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/useRemoteCheckCaptureWidget.js +1 -1
  112. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index7.js +1 -1
  113. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/mocks/settings.js +7 -0
  114. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index7.js +1 -1
  115. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index8.js +1 -1
  116. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index8.js +4 -9
  117. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index12.js +1 -1
  118. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index16.js +2 -3
  119. package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/lib/SettingsWidgetUi/SettingsWidgetUi.js +2 -2
  120. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/feature/dist/lib/useApprovalPolicyRules.js +1 -1
  121. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index3.js +2 -2
  122. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/subEntityForms.js +1 -1
  123. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useDeleteController.js +1 -1
  124. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +43 -43
  125. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +233 -211
  126. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +66 -42
  127. package/dist/libs/tesouro-embedded-components-react/shared/document-status/util/dist/lib/receivableFilledTone.js +1 -1
  128. package/dist/libs/tesouro-embedded-components-react/shared/expense-requirements/feature/dist/lib/ExpenseRequirementsWidget.js +5 -4
  129. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  130. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/MeasureUnitsManagerContainer.js +1 -1
  131. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/toasts.js +1 -1
  132. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +28 -28
  133. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/EmbeddedToaster.js +33 -32
  134. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/useTransferMoneyModalController.js +9 -8
  135. package/dist/node_modules/sonner/dist/index.js +620 -0
  136. package/dist/packages/shared-ui-shadcn/dist/index.js +6072 -6062
  137. package/dist/scenarios/index.d.ts +1 -3
  138. package/dist/scenarios/index.js +17 -20
  139. package/package.json +17 -4
  140. package/dist/lib/CustomersWidget.d.ts +0 -993
  141. package/dist/lib/CustomersWidget.js +0 -2
  142. package/dist/lib/ProductsWidget.d.ts +0 -893
  143. package/dist/lib/ProductsWidget.js +0 -2
  144. package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/index.js +0 -1
  145. package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/lib/CustomersWidget/CustomersWidget.js +0 -41
  146. package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/lib/analytics/events.js +0 -3
  147. package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/scenarios.js +0 -2
  148. 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
@@ -2571,6 +2560,7 @@ interface Labels$4 {
2571
2560
  teamMembersErrorTitle: string;
2572
2561
  teamMembersEmptyLabel: string;
2573
2562
  teamMemberAccessTooltip: string;
2563
+ accountNumberEndingIn: string;
2574
2564
  showAccountNumber: string;
2575
2565
  hideAccountNumber: string;
2576
2566
  copyAccountNumber: string;
@@ -2651,6 +2641,7 @@ interface Labels$3 {
2651
2641
  copyBankName: string;
2652
2642
  copyBankAddress: string;
2653
2643
  copiedLabel: string;
2644
+ accountNumberEndingIn: string;
2654
2645
  showAccountNumber: string;
2655
2646
  hideAccountNumber: string;
2656
2647
  loadingLabel: string;
@@ -3769,7 +3760,7 @@ type ExpenseManagementWidgetProps = WidgetProviderProps & ExpenseManagementWidge
3769
3760
  * the unmatched-receipts Action Item), and an Upload Receipts entry
3770
3761
  * point — composed from `ExpensesScreen` rather than a monolithic UI
3771
3762
  * component, following the `WidgetProvider` "Feature Component Pattern" the
3772
- * same way `CustomersWidget` does.
3763
+ * same way `ReceivablesWidget` does.
3773
3764
  *
3774
3765
  * Team tab visibility matches legacy: `ExpenseReadOrg`, or a direct-reports
3775
3766
  * probe for people-managers without org-wide read. The Team list, its count
@@ -4385,6 +4376,7 @@ interface ReceivablesScreenLabels {
4385
4376
  columnNumber: string;
4386
4377
  columnCustomer: string;
4387
4378
  columnIssueDate: string;
4379
+ columnBalanceDue: string;
4388
4380
  columnAmount: string;
4389
4381
  /**
4390
4382
  * A focused row's accessible name. The row itself is the control that
@@ -4419,6 +4411,7 @@ interface UnsavedInvoiceDialogLabels {
4419
4411
  }
4420
4412
  interface ReceivableFormDialogLabels extends ReceivableBillingSectionLabels, ReceivableCustomerSectionLabels, ReceivableRecurrenceSectionLabels, ReceivableRecurrenceEmailDialogLabels, UnsavedInvoiceDialogLabels {
4421
4413
  createTitle: string;
4414
+ createRecurringTitle: string;
4422
4415
  createDescription: string;
4423
4416
  editTitle: string;
4424
4417
  editDescription: string;
@@ -4609,6 +4602,28 @@ interface ReceivablePreviewLabels {
4609
4602
  paymentQrCodeLabel: string;
4610
4603
  }
4611
4604
 
4605
+ interface RecurringSeriesScreenLabels {
4606
+ createButton: string;
4607
+ columnCustomer: string;
4608
+ columnRepeats: string;
4609
+ columnNextInvoice: string;
4610
+ columnStatus: string;
4611
+ columnAmount: string;
4612
+ openRow: (customerLabel: string) => string;
4613
+ searchPlaceholder: string;
4614
+ searchLabel: string;
4615
+ emptyTitle: string;
4616
+ emptyDescription: string;
4617
+ filterEmptyTitle: string;
4618
+ filterEmptyAction: string;
4619
+ errorTitle: string;
4620
+ errorDescription: string;
4621
+ errorRetry: string;
4622
+ accessRestrictedTitle: string;
4623
+ accessRestrictedDescription: string;
4624
+ }
4625
+ type RecurringSeriesScreenLabelOverrides = Partial<RecurringSeriesScreenLabels>;
4626
+
4612
4627
  declare const InvoicesDatePreset: {
4613
4628
  readonly Today: "today";
4614
4629
  readonly ThisWeek: "this_week";
@@ -4630,6 +4645,7 @@ interface InvoicesFilterLabels {
4630
4645
  presetGroupCurrent: string;
4631
4646
  presetGroupPast: string;
4632
4647
  dateFieldNames: Record<InvoicesDateFilterField, string>;
4648
+ paidDateFieldName: string;
4633
4649
  dateRange: (from: string, to: string) => string;
4634
4650
  dateFrom: (from: string) => string;
4635
4651
  dateTo: (to: string) => string;
@@ -4702,11 +4718,28 @@ interface ReceivableMessageLabels {
4702
4718
  untitledDocument: string;
4703
4719
  /** Shown in an invoice row's number and date cells while they have no value. */
4704
4720
  pendingValue: string;
4705
- /** The Number cell of a recurring row the series has not numbered. */
4706
- recurringNumber: string;
4721
+ /** Repeats or Next invoice for a series with nothing to show there. */
4722
+ listSeriesNoValue: string;
4723
+ /** Repeats for a series that skips periods; `{interval}` is replaced. */
4724
+ listSeriesEveryDays: string;
4725
+ listSeriesEveryWeeks: string;
4726
+ listSeriesEveryMonths: string;
4727
+ listSeriesEveryQuarters: string;
4728
+ listSeriesEveryYears: string;
4729
+ /** A monthly series' Repeats; `{cadence}` and `{day}` are replaced, e.g. "Monthly, last day". */
4730
+ listSeriesMonthDay: string;
4731
+ listSeriesFirstDay: string;
4732
+ listSeriesLastDay: string;
4733
+ /** Next invoice for a series that will issue no more invoices. */
4734
+ listSeriesNoNextInvoice: string;
4735
+ listDueToday: string;
4736
+ listDueTomorrow: string;
4707
4737
  /** `{days}` is replaced. */
4708
4738
  listDayOverdue: string;
4709
4739
  listDaysOverdue: string;
4740
+ /** An overdue due date's accessible name; `{overdue}` and `{date}` are replaced. */
4741
+ listOverdueAccessibleName: string;
4742
+ listRecurringBadge: string;
4710
4743
  unknownCustomer: string;
4711
4744
  notAvailable: string;
4712
4745
  summaryUnpaid: string;
@@ -5010,6 +5043,14 @@ interface ReceivableMessageLabels {
5010
5043
  previewLogoAltNoName: string;
5011
5044
  }
5012
5045
 
5046
+ declare const ReceivableStatusCard: {
5047
+ readonly Unpaid: "unpaid";
5048
+ readonly Overdue: "overdue";
5049
+ readonly Paid: "paid";
5050
+ readonly Drafts: "drafts";
5051
+ };
5052
+ type ReceivableStatusCard = (typeof ReceivableStatusCard)[keyof typeof ReceivableStatusCard];
5053
+
5013
5054
  declare const InvoicingTab: {
5014
5055
  readonly Invoices: "invoices";
5015
5056
  readonly Recurring: "recurring";
@@ -5022,7 +5063,6 @@ interface InvoicingTabLabels extends InvoicingTabsLabels {
5022
5063
  recurringTab: string;
5023
5064
  customersTab: string;
5024
5065
  productsTab: string;
5025
- createRecurringInvoiceButton: string;
5026
5066
  }
5027
5067
 
5028
5068
  interface ReceivablesWidgetOwnProps {
@@ -5034,16 +5074,21 @@ interface ReceivablesWidgetOwnProps {
5034
5074
  selectedTab?: InvoicingTabId;
5035
5075
  /** Called when the user picks a tab, so the host can keep it in the URL. */
5036
5076
  onTabChange?: (tab: InvoicingTabId) => void;
5077
+ /** 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. */
5078
+ selectedStatusCard?: ReceivableStatusCard | null;
5079
+ /** Called when the active summary card changes: a card click, or a Status filter change that matches or leaves a card. */
5080
+ onStatusCardChange?: (card: ReceivableStatusCard | null) => void;
5037
5081
  initialView?: 'create';
5038
5082
  /** Preselects this customer in the create form with `initialView: 'create'`; otherwise filters the invoice list to them. */
5039
5083
  initialCounterpartId?: string;
5040
5084
  pageSizeOptions?: number[];
5041
5085
  onReceivableCreated?: (id: string, type: ReceivableDocumentType) => void;
5042
5086
  onReceivableOpened?: (id: string, type: ReceivableDocumentType) => void;
5043
- /** Shows an invoice settings button on the tab row for users holding `organization_settings:write:org`. */
5087
+ /** Shows an invoice settings button at the top right, on the `headerStart` line, for users holding `organization_settings:write:org`. */
5044
5088
  onTemplateSettingsClick?: () => void;
5045
5089
  tabLabels?: Partial<InvoicingTabLabels>;
5046
5090
  screenLabels?: ReceivablesScreenLabelOverrides;
5091
+ seriesScreenLabels?: RecurringSeriesScreenLabelOverrides;
5047
5092
  filterBarLabels?: InvoicesFilterBarLabelOverrides;
5048
5093
  filterLabels?: InvoicesFilterLabelOverrides;
5049
5094
  formLabels?: Partial<ReceivableFormDialogLabels>;
@@ -6338,7 +6383,7 @@ declare const BillPayWidget: (props: BillPayWidgetProps) => ReactElement;
6338
6383
  *
6339
6384
  * The workspace-internal component additionally accepts a `passThrough` prop
6340
6385
  * that tells it to give up its own analytics identity when a composing widget
6341
- * (`CustomersWidget`, `BillPayWidget`'s Vendors tab) mounts it to
6386
+ * (`ReceivablesWidget`'s Customers tab, `BillPayWidget`'s Vendors tab) mounts it to
6342
6387
  * inherit the host's identity instead (EMBD-5384). That choice is set **only**
6343
6388
  * by those composing widgets, never by integrators: an integrator's own
6344
6389
  * standalone mount must always claim its own identity.
@@ -6352,43 +6397,6 @@ declare const BillPayWidget: (props: BillPayWidgetProps) => ReactElement;
6352
6397
  */
6353
6398
  declare function CounterpartsWidget(props: CounterpartsWidgetProps): ReactNode;
6354
6399
 
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
6400
  interface OfferWidgetLabels {
6393
6401
  applyNow: string;
6394
6402
  learnMore: string;
@@ -6518,123 +6526,6 @@ type OfferWidgetProps = WidgetProviderProps & InnerProps;
6518
6526
  */
6519
6527
  declare function OfferWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: OfferWidgetProps): React.JSX.Element;
6520
6528
 
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
6529
  /**
6639
6530
  * Public {@link WidgetProvider} — the integrator-facing provider.
6640
6531
  *
@@ -6748,5 +6639,5 @@ interface CheckAmountAndDetailScreenProps {
6748
6639
 
6749
6640
  type PendingFeatureStyleSources = CheckAmountAndDetailScreenProps | GapCoverageAlertProps | NoPolicyBannerProps;
6750
6641
 
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, CustomersWidget, 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, ProductsWidget, RESULT_LABELS_EN, 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 };
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, CustomersWidgetOwnProps, CustomersWidgetProps, 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, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps, ReceivableActionDialogLabels, ReceivableActionsModalLabels, ReceivableAuditHistoryLabels, ReceivableDetailsPanelLabelOverrides, ReceivableDetailsPanelLabels, ReceivableDocumentType, ReceivableFormDialogLabels, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivablePreviewLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, 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 };
6642
+ 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 };
6643
+ 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 { ProductsWidget as U } from "./libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/ProductsWidget.js";
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 { CustomersWidget as ue } from "./libs/tesouro-embedded-components-react/customers-widget/feature/dist/lib/CustomersWidget/CustomersWidget.js";
52
- import { BALANCES_WIDGET_LABELS_EN as de } from "./libs/tesouro-embedded-components-react/balances-widget/ui/dist/lib/BalancesWidget/labels.js";
53
- import { BalancesWidget as fe } from "./libs/tesouro-embedded-components-react/balances-widget/feature/dist/lib/BalancesWidget/BalancesWidgetFeature.js";
54
- import { OFFER_WIDGET_STATUS_LABELS_EN as pe } from "./libs/tesouro-embedded-components-react/offer-widget/feature/dist/lib/OfferWidget/labels.js";
55
- import { OFFER_WIDGET_LABELS_EN as me } from "./libs/tesouro-embedded-components-react/offer-widget/ui/dist/index2.js";
56
- import { OfferBenefitIcon as he } from "./libs/tesouro-embedded-components-react/offer-widget/ui/dist/index3.js";
57
- import { OfferWidget as ge } from "./libs/tesouro-embedded-components-react/offer-widget/feature/dist/lib/OfferWidget/OfferWidget.js";
58
- import { WidgetProvider as _e } from "./lib/WidgetProviderPublic.js";
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 {
@@ -34,6 +33,7 @@ interface Labels$1 {
34
33
  teamMembersErrorTitle: string;
35
34
  teamMembersEmptyLabel: string;
36
35
  teamMemberAccessTooltip: string;
36
+ accountNumberEndingIn: string;
37
37
  showAccountNumber: string;
38
38
  hideAccountNumber: string;
39
39
  copyAccountNumber: string;
@@ -374,16 +374,6 @@ type EmbeddedClient = Client;
374
374
  type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
375
375
  type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
376
376
 
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
377
  type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
388
378
  children?: ReactNode;
389
379
  };
@@ -718,6 +708,7 @@ interface Labels {
718
708
  copyBankName: string;
719
709
  copyBankAddress: string;
720
710
  copiedLabel: string;
711
+ accountNumberEndingIn: string;
721
712
  showAccountNumber: string;
722
713
  hideAccountNumber: string;
723
714
  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
  };
@@ -1,5 +1,4 @@
1
1
  import { PartialDeep } from 'type-fest';
2
- import { RowData } from '@tanstack/react-table';
3
2
  import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
4
3
  import { FallbackProps } from 'react-error-boundary';
5
4
 
@@ -332,16 +331,6 @@ type EmbeddedClient = Client;
332
331
  type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
333
332
  type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
334
333
 
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
-
345
334
  interface LabelLabels {
346
335
  /**
347
336
  * How the field name and its requirement fragment compose. `{label}` is the
@@ -1000,7 +989,7 @@ type CounterpartsWidgetProps = WidgetProviderProps & CounterpartsWidgetOwnProps;
1000
989
  *
1001
990
  * The workspace-internal component additionally accepts a `passThrough` prop
1002
991
  * that tells it to give up its own analytics identity when a composing widget
1003
- * (`CustomersWidget`, `BillPayWidget`'s Vendors tab) mounts it to
992
+ * (`ReceivablesWidget`'s Customers tab, `BillPayWidget`'s Vendors tab) mounts it to
1004
993
  * inherit the host's identity instead (EMBD-5384). That choice is set **only**
1005
994
  * by those composing widgets, never by integrators: an integrator's own
1006
995
  * standalone mount must always claim its own identity.