@tesouro/embedded-components-react 0.11.64 → 0.11.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -14
- package/dist/index.css +6 -27
- package/dist/index.d.ts +28 -40
- package/dist/lib/CounterpartsWidget.d.ts +26 -39
- package/dist/lib/CounterpartsWidgetPublic.d.ts +26 -39
- package/dist/lib/CustomersWidget.d.ts +26 -39
- package/dist/lib/OfferWidget.d.ts +1 -1
- package/dist/lib/ReceivablesWidget.d.ts +14 -4
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/CounterpartDetailsContainer.js +8 -12
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/CounterpartDetailsPanel.js +93 -110
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/CounterpartsWidget.js +52 -52
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartDetailsActions.js +72 -107
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartDetailsSheetView.js +27 -27
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartsTable.js +112 -145
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartsWidget.js +13 -16
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/viewModels.js +3 -122
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/mocks/labels.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index2.js +44 -65
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index3.js +157 -134
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index4.js +18 -14
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index5.js +362 -55
- package/dist/libs/tesouro-embedded-components-react/offer-widget/feature/dist/lib/OfferWidget/OfferWidget.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/offer-widget/feature/dist/lib/analytics/events.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/offer-widget/feature/dist/lib/testIds.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/offer-widget/ui/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/offer-widget/ui/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/offer-widget/ui/dist/index7.js +32 -44
- package/dist/libs/tesouro-embedded-components-react/offer-widget/ui/dist/index8.js +14 -23
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/helpers.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/labels.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useAddressForm.js +2 -66
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useDeleteController.js +48 -46
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index10.js +138 -149
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index11.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index12.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index13.js +21 -27
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index3.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index8.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index9.js +30 -63
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/isDisclosuresAcceptanceRequired.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index6.js +0 -211
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index7.js +0 -509
package/README.md
CHANGED
|
@@ -568,19 +568,19 @@ Manages an organization's customers or vendors: a searchable list with money col
|
|
|
568
568
|
|
|
569
569
|
#### Props
|
|
570
570
|
|
|
571
|
-
| Prop | Type | Default | Description
|
|
572
|
-
| -------------------- | ------------------------------------------------ | ------------------- |
|
|
573
|
-
| `counterpartType` | `'customer' \| 'vendor'` | **Required** | Selects the customer or vendor surface.
|
|
574
|
-
| `pageSizeOptions` | `number[]` | `[10, 25, 50, 100]` | Page-size choices shown by the table. The list opens at the first one.
|
|
575
|
-
| `onViewAllDocuments` | `(counterpart: CounterpartActionTarget) => void` | `undefined` | Shows a "View all" action by the details sheet's recent bills/invoices and passes the counterpart's `id` and `name`. Hidden when omitted.
|
|
576
|
-
| `onCreateDocument` | `(counterpart: CounterpartActionTarget) => void` | `undefined` | Runs the details sheet's "
|
|
577
|
-
| `screenLabels` | `Partial<CounterpartsScreenLabels>` | English labels | Table, search/filter, empty, error and access-restricted copy.
|
|
578
|
-
| `formLabels` | `PartialDeep<CounterpartFormSheetLabels>` | English labels | Create/edit form copy.
|
|
579
|
-
| `detailsLabels` | `Partial<CounterpartDetailsSheetLabels>` | English labels | Details sheet copy.
|
|
580
|
-
| `bankAccountLabels` | `PartialDeep<BankAccountFormSheetLabels>` | English labels | Vendor payment-method form copy.
|
|
581
|
-
| `addressLabels` | `PartialDeep<AddressFormSheetLabels>` | English labels |
|
|
582
|
-
| `deleteLabels` | `Partial<ConfirmDeleteDialogLabels>` | English labels | Delete-dialog copy.
|
|
583
|
-
| `messageLabels` | `Partial<CounterpartMessageLabels>` | English labels | Validation, API failure and delete-prompt messages.
|
|
571
|
+
| Prop | Type | Default | Description |
|
|
572
|
+
| -------------------- | ------------------------------------------------ | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
573
|
+
| `counterpartType` | `'customer' \| 'vendor'` | **Required** | Selects the customer or vendor surface. |
|
|
574
|
+
| `pageSizeOptions` | `number[]` | `[10, 25, 50, 100]` | Page-size choices shown by the table. The list opens at the first one. |
|
|
575
|
+
| `onViewAllDocuments` | `(counterpart: CounterpartActionTarget) => void` | `undefined` | Shows a "View all" action by the details sheet's recent bills/invoices and passes the counterpart's `id` and `name`. Hidden when omitted. |
|
|
576
|
+
| `onCreateDocument` | `(counterpart: CounterpartActionTarget) => void` | `undefined` | Runs the details sheet's "Add a bill" (vendor) or "Issue an invoice" (customer) button. Hidden when omitted; you check the scopes it needs. |
|
|
577
|
+
| `screenLabels` | `Partial<CounterpartsScreenLabels>` | English labels | Table, search/filter, empty, error and access-restricted copy. |
|
|
578
|
+
| `formLabels` | `PartialDeep<CounterpartFormSheetLabels>` | English labels | Create/edit form copy. |
|
|
579
|
+
| `detailsLabels` | `Partial<CounterpartDetailsSheetLabels>` | English labels | Details sheet copy. |
|
|
580
|
+
| `bankAccountLabels` | `PartialDeep<BankAccountFormSheetLabels>` | English labels | Vendor payment-method form copy. |
|
|
581
|
+
| `addressLabels` | `PartialDeep<AddressFormSheetLabels>` | English labels | Deprecated and unused: the address is edited in the record form, so relabel it through `formLabels.address`. |
|
|
582
|
+
| `deleteLabels` | `Partial<ConfirmDeleteDialogLabels>` | English labels | Delete-dialog copy. |
|
|
583
|
+
| `messageLabels` | `Partial<CounterpartMessageLabels>` | English labels | Validation, API failure and delete-prompt messages. |
|
|
584
584
|
|
|
585
585
|
### CustomersWidget
|
|
586
586
|
|
|
@@ -596,7 +596,7 @@ Manages an organization's customers: a searchable list with money columns, a det
|
|
|
596
596
|
| `screenLabels` | `Partial<CounterpartsScreenLabels>` | English labels | Table, search, filter, empty and error copy. |
|
|
597
597
|
| `formLabels` | `Partial<CounterpartFormSheetLabels>` | English labels | Create/edit customer form copy. |
|
|
598
598
|
| `detailsLabels` | `Partial<CounterpartDetailsSheetLabels>` | English labels | Details sheet copy. |
|
|
599
|
-
| `addressLabels` | `PartialDeep<AddressFormSheetLabels>` | English labels |
|
|
599
|
+
| `addressLabels` | `PartialDeep<AddressFormSheetLabels>` | English labels | Deprecated and unused: the address is edited with the rest of the customer, so relabel it through `formLabels.address`. |
|
|
600
600
|
| `deleteLabels` | `Partial<ConfirmDeleteDialogLabels>` | English labels | Delete-dialog copy. |
|
|
601
601
|
| `messageLabels` | `Partial<CounterpartMessageLabels>` | English labels | Validation, API failure and delete-prompt copy. |
|
|
602
602
|
|
package/dist/index.css
CHANGED
|
@@ -1027,9 +1027,6 @@
|
|
|
1027
1027
|
.ttw\:w-56 {
|
|
1028
1028
|
width: calc(var(--ttw-spacing) * 56);
|
|
1029
1029
|
}
|
|
1030
|
-
.ttw\:w-60 {
|
|
1031
|
-
width: calc(var(--ttw-spacing) * 60);
|
|
1032
|
-
}
|
|
1033
1030
|
.ttw\:w-64 {
|
|
1034
1031
|
width: calc(var(--ttw-spacing) * 64);
|
|
1035
1032
|
}
|
|
@@ -1111,9 +1108,6 @@
|
|
|
1111
1108
|
.ttw\:w-\[480px\] {
|
|
1112
1109
|
width: 480px;
|
|
1113
1110
|
}
|
|
1114
|
-
.ttw\:w-\[600px\] {
|
|
1115
|
-
width: 600px;
|
|
1116
|
-
}
|
|
1117
1111
|
.ttw\:w-\[616px\] {
|
|
1118
1112
|
width: 616px;
|
|
1119
1113
|
}
|
|
@@ -1598,9 +1592,6 @@
|
|
|
1598
1592
|
.ttw\:grid-cols-\[50\%_1fr\] {
|
|
1599
1593
|
grid-template-columns: 50% 1fr;
|
|
1600
1594
|
}
|
|
1601
|
-
.ttw\:grid-cols-\[180px_1fr\] {
|
|
1602
|
-
grid-template-columns: 180px 1fr;
|
|
1603
|
-
}
|
|
1604
1595
|
.ttw\:grid-cols-\[max-content_1fr\] {
|
|
1605
1596
|
grid-template-columns: max-content 1fr;
|
|
1606
1597
|
}
|
|
@@ -1773,6 +1764,9 @@
|
|
|
1773
1764
|
.ttw\:gap-x-6 {
|
|
1774
1765
|
column-gap: calc(var(--ttw-spacing) * 6);
|
|
1775
1766
|
}
|
|
1767
|
+
.ttw\:gap-x-8 {
|
|
1768
|
+
column-gap: calc(var(--ttw-spacing) * 8);
|
|
1769
|
+
}
|
|
1776
1770
|
.ttw\:gap-x-12 {
|
|
1777
1771
|
column-gap: calc(var(--ttw-spacing) * 12);
|
|
1778
1772
|
}
|
|
@@ -1850,9 +1844,6 @@
|
|
|
1850
1844
|
.ttw\:rounded-\[4px\] {
|
|
1851
1845
|
border-radius: 4px;
|
|
1852
1846
|
}
|
|
1853
|
-
.ttw\:rounded-\[10px\] {
|
|
1854
|
-
border-radius: 10px;
|
|
1855
|
-
}
|
|
1856
1847
|
.ttw\:rounded-\[14px\] {
|
|
1857
1848
|
border-radius: 14px;
|
|
1858
1849
|
}
|
|
@@ -3876,6 +3867,9 @@
|
|
|
3876
3867
|
.ttw\:py-4 {
|
|
3877
3868
|
padding-block: calc(var(--ttw-spacing) * 4);
|
|
3878
3869
|
}
|
|
3870
|
+
.ttw\:py-5 {
|
|
3871
|
+
padding-block: calc(var(--ttw-spacing) * 5);
|
|
3872
|
+
}
|
|
3879
3873
|
.ttw\:py-6 {
|
|
3880
3874
|
padding-block: calc(var(--ttw-spacing) * 6);
|
|
3881
3875
|
}
|
|
@@ -3981,9 +3975,6 @@
|
|
|
3981
3975
|
.ttw\:pb-4 {
|
|
3982
3976
|
padding-bottom: calc(var(--ttw-spacing) * 4);
|
|
3983
3977
|
}
|
|
3984
|
-
.ttw\:pb-5 {
|
|
3985
|
-
padding-bottom: calc(var(--ttw-spacing) * 5);
|
|
3986
|
-
}
|
|
3987
3978
|
.ttw\:pb-6 {
|
|
3988
3979
|
padding-bottom: calc(var(--ttw-spacing) * 6);
|
|
3989
3980
|
}
|
|
@@ -4123,9 +4114,6 @@
|
|
|
4123
4114
|
.ttw\:text-\[2\.25rem\] {
|
|
4124
4115
|
font-size: 2.25rem;
|
|
4125
4116
|
}
|
|
4126
|
-
.ttw\:text-\[2rem\] {
|
|
4127
|
-
font-size: 2rem;
|
|
4128
|
-
}
|
|
4129
4117
|
.ttw\:text-\[9px\] {
|
|
4130
4118
|
font-size: 9px;
|
|
4131
4119
|
}
|
|
@@ -4700,9 +4688,6 @@
|
|
|
4700
4688
|
.ttw\:opacity-70 {
|
|
4701
4689
|
opacity: 70%;
|
|
4702
4690
|
}
|
|
4703
|
-
.ttw\:opacity-90 {
|
|
4704
|
-
opacity: 90%;
|
|
4705
|
-
}
|
|
4706
4691
|
.ttw\:shadow {
|
|
4707
4692
|
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
4708
4693
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -6348,18 +6333,12 @@
|
|
|
6348
6333
|
.ttw\:sm\:max-w-150 {
|
|
6349
6334
|
max-width: calc(var(--ttw-spacing) * 150);
|
|
6350
6335
|
}
|
|
6351
|
-
.ttw\:sm\:max-w-160 {
|
|
6352
|
-
max-width: calc(var(--ttw-spacing) * 160);
|
|
6353
|
-
}
|
|
6354
6336
|
.ttw\:sm\:max-w-178 {
|
|
6355
6337
|
max-width: calc(var(--ttw-spacing) * 178);
|
|
6356
6338
|
}
|
|
6357
6339
|
.ttw\:sm\:max-w-\[423px\] {
|
|
6358
6340
|
max-width: 423px;
|
|
6359
6341
|
}
|
|
6360
|
-
.ttw\:sm\:max-w-\[600px\] {
|
|
6361
|
-
max-width: 600px;
|
|
6362
|
-
}
|
|
6363
6342
|
.ttw\:sm\:max-w-screen {
|
|
6364
6343
|
max-width: 100vw;
|
|
6365
6344
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -4975,23 +4975,33 @@ interface CounterpartMessageLabels {
|
|
|
4975
4975
|
accountNumberInvalid: string;
|
|
4976
4976
|
/** Shown for a non-field-specific submit failure. */
|
|
4977
4977
|
genericError: string;
|
|
4978
|
-
/**
|
|
4978
|
+
/** @deprecated Unused; the list labels its own warning. */
|
|
4979
4979
|
amountsUnavailable: string;
|
|
4980
4980
|
/** Delete confirmation title; `{name}` is replaced with the entity name. */
|
|
4981
4981
|
deleteTitle: string;
|
|
4982
|
-
/** Delete confirmation title for a bank account; `{account}` is display-ready. */
|
|
4983
4982
|
deleteBankAccountTitle: string;
|
|
4983
|
+
deleteBankAccountConfirm: string;
|
|
4984
4984
|
deleteCounterpartMessage: string;
|
|
4985
4985
|
deleteBankAccountMessage: string;
|
|
4986
|
-
/**
|
|
4986
|
+
/** @deprecated No longer shown. Use `customerAdded` / `vendorAdded`. */
|
|
4987
4987
|
createSucceeded: string;
|
|
4988
|
-
/**
|
|
4988
|
+
/** @deprecated No longer shown. Use `customerUpdated` / `vendorUpdated`. */
|
|
4989
4989
|
updateSucceeded: string;
|
|
4990
|
+
customerAdded: string;
|
|
4991
|
+
vendorAdded: string;
|
|
4992
|
+
customerUpdated: string;
|
|
4993
|
+
vendorUpdated: string;
|
|
4990
4994
|
addressAdded: string;
|
|
4991
4995
|
addressUpdated: string;
|
|
4992
4996
|
bankAccountAdded: string;
|
|
4993
4997
|
bankAccountUpdated: string;
|
|
4998
|
+
/**
|
|
4999
|
+
* @deprecated Used only when the delete controller gets no `counterpartType`;
|
|
5000
|
+
* users never see the word "counterpart". Use `customerDeleted` / `vendorDeleted`.
|
|
5001
|
+
*/
|
|
4994
5002
|
counterpartDeleted: string;
|
|
5003
|
+
customerDeleted: string;
|
|
5004
|
+
vendorDeleted: string;
|
|
4995
5005
|
bankAccountDeleted: string;
|
|
4996
5006
|
/** Error toast when a counterpart delete fails without an API message. */
|
|
4997
5007
|
deleteCounterpartFailed: string;
|
|
@@ -5097,8 +5107,8 @@ interface CounterpartsScreenLabels {
|
|
|
5097
5107
|
/** Vendor-mode create action. */
|
|
5098
5108
|
vendorsCreateButton: string;
|
|
5099
5109
|
columnName: string;
|
|
5100
|
-
sortByName: string;
|
|
5101
5110
|
columnBilledAmount: string;
|
|
5111
|
+
columnInvoicedAmount: string;
|
|
5102
5112
|
columnReceivedAmount: string;
|
|
5103
5113
|
columnAmountDue: string;
|
|
5104
5114
|
columnTotalPaidToDate: string;
|
|
@@ -5113,15 +5123,14 @@ interface CounterpartsScreenLabels {
|
|
|
5113
5123
|
unnamedCounterpart: string;
|
|
5114
5124
|
searchPlaceholder: string;
|
|
5115
5125
|
searchLabel: string;
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5126
|
+
entityFilterLabel: string;
|
|
5127
|
+
entityFilterAll: string;
|
|
5128
|
+
entityFilterOrganization: string;
|
|
5129
|
+
entityFilterIndividual: string;
|
|
5119
5130
|
filterChipRemove: string;
|
|
5120
5131
|
typeChip: (value: string) => string;
|
|
5121
5132
|
searchChip: (value: string) => string;
|
|
5122
5133
|
clearAllFilters: string;
|
|
5123
|
-
entityFilterOrganization: string;
|
|
5124
|
-
entityFilterIndividual: string;
|
|
5125
5134
|
customersEmptyTitle: string;
|
|
5126
5135
|
customersEmptyDescription: string;
|
|
5127
5136
|
customersEmptyAction: string;
|
|
@@ -5139,14 +5148,16 @@ interface CounterpartsScreenLabels {
|
|
|
5139
5148
|
errorRetry: string;
|
|
5140
5149
|
accessRestrictedTitle: string;
|
|
5141
5150
|
accessRestrictedDescription: string;
|
|
5151
|
+
amountsUnavailable: string;
|
|
5152
|
+
amountsRetry: string;
|
|
5142
5153
|
}
|
|
5143
5154
|
interface CounterpartDetailsSheetLabels {
|
|
5144
|
-
hiddenDescription: string;
|
|
5145
5155
|
loadingTitle: string;
|
|
5146
5156
|
notFoundCustomerTitle: string;
|
|
5147
5157
|
notFoundVendorTitle: string;
|
|
5148
5158
|
notFoundCustomerDescription: string;
|
|
5149
5159
|
notFoundVendorDescription: string;
|
|
5160
|
+
reloadFailed: string;
|
|
5150
5161
|
openActionsMenu: string;
|
|
5151
5162
|
closeAction: string;
|
|
5152
5163
|
deleteCustomerAction: string;
|
|
@@ -5154,10 +5165,12 @@ interface CounterpartDetailsSheetLabels {
|
|
|
5154
5165
|
summaryAmountDue: string;
|
|
5155
5166
|
summaryBalanceDue: string;
|
|
5156
5167
|
summaryBilled: string;
|
|
5168
|
+
summaryInvoiced: string;
|
|
5157
5169
|
summaryReceived: string;
|
|
5158
5170
|
summaryPaid: string;
|
|
5159
5171
|
summaryRejected: string;
|
|
5160
5172
|
overdueTag: string;
|
|
5173
|
+
/** Vendor footer action ("Add a bill"); the key predates the copy. */
|
|
5161
5174
|
sendPaymentAction: string;
|
|
5162
5175
|
issueInvoiceAction: string;
|
|
5163
5176
|
recentCustomerDocumentsHeading: string;
|
|
@@ -5188,15 +5201,12 @@ interface CounterpartDetailsSheetLabels {
|
|
|
5188
5201
|
customerTaxIdHelp: string;
|
|
5189
5202
|
vendorTaxIdHelp: string;
|
|
5190
5203
|
addressHeading: string;
|
|
5191
|
-
/** Customer mode's own section heading — vendor mode uses `addressHeading` as a `DetailLine` row label instead. */
|
|
5192
|
-
customerAddressHeading: string;
|
|
5193
|
-
addAddressAction: string;
|
|
5194
|
-
editAddressAction: string;
|
|
5195
5204
|
noAddress: string;
|
|
5196
5205
|
paymentMethodsHeading: string;
|
|
5197
5206
|
paymentMethodsDescription: string;
|
|
5198
5207
|
addPaymentMethodAction: string;
|
|
5199
5208
|
editPaymentMethodAction: string;
|
|
5209
|
+
paymentMethodActionsMenu: string;
|
|
5200
5210
|
deletePaymentMethodAction: string;
|
|
5201
5211
|
incompletePaymentMethod: string;
|
|
5202
5212
|
accountHolderLabel: string;
|
|
@@ -5204,32 +5214,8 @@ interface CounterpartDetailsSheetLabels {
|
|
|
5204
5214
|
routingNumberLabel: string;
|
|
5205
5215
|
noPaymentMethods: string;
|
|
5206
5216
|
editButton: string;
|
|
5207
|
-
/** Overrides for the shared bill status badge in recent documents. */
|
|
5208
5217
|
billStatusBadge: Partial<BillStatusBadgeLabels>;
|
|
5209
|
-
/** Overrides for the shared invoice status badge in recent documents. */
|
|
5210
5218
|
invoiceStatusBadge: Partial<ReceivableStatusBadgeLabels>;
|
|
5211
|
-
optionalSuffix: string;
|
|
5212
|
-
editingCustomerDetailsHeading: string;
|
|
5213
|
-
editingVendorDetailsHeading: string;
|
|
5214
|
-
firstNameLabel: string;
|
|
5215
|
-
lastNameLabel: string;
|
|
5216
|
-
businessNameLabel: string;
|
|
5217
|
-
remindersCheckboxLabel: string;
|
|
5218
|
-
remindersCheckboxDescription: string;
|
|
5219
|
-
taxIdSsnPlaceholder: string;
|
|
5220
|
-
taxIdEinPlaceholder: string;
|
|
5221
|
-
editingAddressHeading: string;
|
|
5222
|
-
addingAddressHeading: string;
|
|
5223
|
-
streetAddressLabel: string;
|
|
5224
|
-
addressLine2Label: string;
|
|
5225
|
-
cityLabel: string;
|
|
5226
|
-
stateLabel: string;
|
|
5227
|
-
statePlaceholder: string;
|
|
5228
|
-
postalCodeLabel: string;
|
|
5229
|
-
countryLabel: string;
|
|
5230
|
-
countryUnitedStates: string;
|
|
5231
|
-
cancelButton: string;
|
|
5232
|
-
saveButton: string;
|
|
5233
5219
|
}
|
|
5234
5220
|
|
|
5235
5221
|
/** Whether this widget is showing customers (receivables) or vendors (payables). */
|
|
@@ -5263,6 +5249,7 @@ interface CounterpartsWidgetOwnProps {
|
|
|
5263
5249
|
formLabels?: PartialDeep<CounterpartFormSheetLabels>;
|
|
5264
5250
|
detailsLabels?: Partial<CounterpartDetailsSheetLabels>;
|
|
5265
5251
|
bankAccountLabels?: PartialDeep<BankAccountFormSheetLabels>;
|
|
5252
|
+
/** @deprecated Unused; relabel the address through `formLabels.address`. */
|
|
5266
5253
|
addressLabels?: PartialDeep<AddressFormSheetLabels>;
|
|
5267
5254
|
deleteLabels?: Partial<ConfirmDeleteDialogLabels>;
|
|
5268
5255
|
/** Overrides for validation / error / delete-prompt messages. */
|
|
@@ -5338,6 +5325,7 @@ interface CustomersWidgetOwnProps {
|
|
|
5338
5325
|
screenLabels?: Partial<CounterpartsScreenLabels>;
|
|
5339
5326
|
formLabels?: PartialDeep<CounterpartFormSheetLabels>;
|
|
5340
5327
|
detailsLabels?: Partial<CounterpartDetailsSheetLabels>;
|
|
5328
|
+
/** @deprecated Unused; relabel the address through `formLabels.address`. */
|
|
5341
5329
|
addressLabels?: PartialDeep<AddressFormSheetLabels>;
|
|
5342
5330
|
deleteLabels?: Partial<ConfirmDeleteDialogLabels>;
|
|
5343
5331
|
/** Overrides for validation / error / delete-prompt messages. */
|
|
@@ -5358,7 +5346,7 @@ interface OfferWidgetLabels {
|
|
|
5358
5346
|
applyNow: string;
|
|
5359
5347
|
learnMore: string;
|
|
5360
5348
|
primaryCta: string;
|
|
5361
|
-
/** Small caption
|
|
5349
|
+
/** Small caption below the modal CTA, e.g. "Takes 5 minutes". */
|
|
5362
5350
|
primaryCtaSubtext: string;
|
|
5363
5351
|
dismissModalAriaLabel: string;
|
|
5364
5352
|
}
|
|
@@ -779,23 +779,33 @@ interface CounterpartMessageLabels {
|
|
|
779
779
|
accountNumberInvalid: string;
|
|
780
780
|
/** Shown for a non-field-specific submit failure. */
|
|
781
781
|
genericError: string;
|
|
782
|
-
/**
|
|
782
|
+
/** @deprecated Unused; the list labels its own warning. */
|
|
783
783
|
amountsUnavailable: string;
|
|
784
784
|
/** Delete confirmation title; `{name}` is replaced with the entity name. */
|
|
785
785
|
deleteTitle: string;
|
|
786
|
-
/** Delete confirmation title for a bank account; `{account}` is display-ready. */
|
|
787
786
|
deleteBankAccountTitle: string;
|
|
787
|
+
deleteBankAccountConfirm: string;
|
|
788
788
|
deleteCounterpartMessage: string;
|
|
789
789
|
deleteBankAccountMessage: string;
|
|
790
|
-
/**
|
|
790
|
+
/** @deprecated No longer shown. Use `customerAdded` / `vendorAdded`. */
|
|
791
791
|
createSucceeded: string;
|
|
792
|
-
/**
|
|
792
|
+
/** @deprecated No longer shown. Use `customerUpdated` / `vendorUpdated`. */
|
|
793
793
|
updateSucceeded: string;
|
|
794
|
+
customerAdded: string;
|
|
795
|
+
vendorAdded: string;
|
|
796
|
+
customerUpdated: string;
|
|
797
|
+
vendorUpdated: string;
|
|
794
798
|
addressAdded: string;
|
|
795
799
|
addressUpdated: string;
|
|
796
800
|
bankAccountAdded: string;
|
|
797
801
|
bankAccountUpdated: string;
|
|
802
|
+
/**
|
|
803
|
+
* @deprecated Used only when the delete controller gets no `counterpartType`;
|
|
804
|
+
* users never see the word "counterpart". Use `customerDeleted` / `vendorDeleted`.
|
|
805
|
+
*/
|
|
798
806
|
counterpartDeleted: string;
|
|
807
|
+
customerDeleted: string;
|
|
808
|
+
vendorDeleted: string;
|
|
799
809
|
bankAccountDeleted: string;
|
|
800
810
|
/** Error toast when a counterpart delete fails without an API message. */
|
|
801
811
|
deleteCounterpartFailed: string;
|
|
@@ -834,8 +844,8 @@ interface CounterpartsScreenLabels {
|
|
|
834
844
|
/** Vendor-mode create action. */
|
|
835
845
|
vendorsCreateButton: string;
|
|
836
846
|
columnName: string;
|
|
837
|
-
sortByName: string;
|
|
838
847
|
columnBilledAmount: string;
|
|
848
|
+
columnInvoicedAmount: string;
|
|
839
849
|
columnReceivedAmount: string;
|
|
840
850
|
columnAmountDue: string;
|
|
841
851
|
columnTotalPaidToDate: string;
|
|
@@ -850,15 +860,14 @@ interface CounterpartsScreenLabels {
|
|
|
850
860
|
unnamedCounterpart: string;
|
|
851
861
|
searchPlaceholder: string;
|
|
852
862
|
searchLabel: string;
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
863
|
+
entityFilterLabel: string;
|
|
864
|
+
entityFilterAll: string;
|
|
865
|
+
entityFilterOrganization: string;
|
|
866
|
+
entityFilterIndividual: string;
|
|
856
867
|
filterChipRemove: string;
|
|
857
868
|
typeChip: (value: string) => string;
|
|
858
869
|
searchChip: (value: string) => string;
|
|
859
870
|
clearAllFilters: string;
|
|
860
|
-
entityFilterOrganization: string;
|
|
861
|
-
entityFilterIndividual: string;
|
|
862
871
|
customersEmptyTitle: string;
|
|
863
872
|
customersEmptyDescription: string;
|
|
864
873
|
customersEmptyAction: string;
|
|
@@ -876,14 +885,16 @@ interface CounterpartsScreenLabels {
|
|
|
876
885
|
errorRetry: string;
|
|
877
886
|
accessRestrictedTitle: string;
|
|
878
887
|
accessRestrictedDescription: string;
|
|
888
|
+
amountsUnavailable: string;
|
|
889
|
+
amountsRetry: string;
|
|
879
890
|
}
|
|
880
891
|
interface CounterpartDetailsSheetLabels {
|
|
881
|
-
hiddenDescription: string;
|
|
882
892
|
loadingTitle: string;
|
|
883
893
|
notFoundCustomerTitle: string;
|
|
884
894
|
notFoundVendorTitle: string;
|
|
885
895
|
notFoundCustomerDescription: string;
|
|
886
896
|
notFoundVendorDescription: string;
|
|
897
|
+
reloadFailed: string;
|
|
887
898
|
openActionsMenu: string;
|
|
888
899
|
closeAction: string;
|
|
889
900
|
deleteCustomerAction: string;
|
|
@@ -891,10 +902,12 @@ interface CounterpartDetailsSheetLabels {
|
|
|
891
902
|
summaryAmountDue: string;
|
|
892
903
|
summaryBalanceDue: string;
|
|
893
904
|
summaryBilled: string;
|
|
905
|
+
summaryInvoiced: string;
|
|
894
906
|
summaryReceived: string;
|
|
895
907
|
summaryPaid: string;
|
|
896
908
|
summaryRejected: string;
|
|
897
909
|
overdueTag: string;
|
|
910
|
+
/** Vendor footer action ("Add a bill"); the key predates the copy. */
|
|
898
911
|
sendPaymentAction: string;
|
|
899
912
|
issueInvoiceAction: string;
|
|
900
913
|
recentCustomerDocumentsHeading: string;
|
|
@@ -925,15 +938,12 @@ interface CounterpartDetailsSheetLabels {
|
|
|
925
938
|
customerTaxIdHelp: string;
|
|
926
939
|
vendorTaxIdHelp: string;
|
|
927
940
|
addressHeading: string;
|
|
928
|
-
/** Customer mode's own section heading — vendor mode uses `addressHeading` as a `DetailLine` row label instead. */
|
|
929
|
-
customerAddressHeading: string;
|
|
930
|
-
addAddressAction: string;
|
|
931
|
-
editAddressAction: string;
|
|
932
941
|
noAddress: string;
|
|
933
942
|
paymentMethodsHeading: string;
|
|
934
943
|
paymentMethodsDescription: string;
|
|
935
944
|
addPaymentMethodAction: string;
|
|
936
945
|
editPaymentMethodAction: string;
|
|
946
|
+
paymentMethodActionsMenu: string;
|
|
937
947
|
deletePaymentMethodAction: string;
|
|
938
948
|
incompletePaymentMethod: string;
|
|
939
949
|
accountHolderLabel: string;
|
|
@@ -941,32 +951,8 @@ interface CounterpartDetailsSheetLabels {
|
|
|
941
951
|
routingNumberLabel: string;
|
|
942
952
|
noPaymentMethods: string;
|
|
943
953
|
editButton: string;
|
|
944
|
-
/** Overrides for the shared bill status badge in recent documents. */
|
|
945
954
|
billStatusBadge: Partial<BillStatusBadgeLabels>;
|
|
946
|
-
/** Overrides for the shared invoice status badge in recent documents. */
|
|
947
955
|
invoiceStatusBadge: Partial<ReceivableStatusBadgeLabels>;
|
|
948
|
-
optionalSuffix: string;
|
|
949
|
-
editingCustomerDetailsHeading: string;
|
|
950
|
-
editingVendorDetailsHeading: string;
|
|
951
|
-
firstNameLabel: string;
|
|
952
|
-
lastNameLabel: string;
|
|
953
|
-
businessNameLabel: string;
|
|
954
|
-
remindersCheckboxLabel: string;
|
|
955
|
-
remindersCheckboxDescription: string;
|
|
956
|
-
taxIdSsnPlaceholder: string;
|
|
957
|
-
taxIdEinPlaceholder: string;
|
|
958
|
-
editingAddressHeading: string;
|
|
959
|
-
addingAddressHeading: string;
|
|
960
|
-
streetAddressLabel: string;
|
|
961
|
-
addressLine2Label: string;
|
|
962
|
-
cityLabel: string;
|
|
963
|
-
stateLabel: string;
|
|
964
|
-
statePlaceholder: string;
|
|
965
|
-
postalCodeLabel: string;
|
|
966
|
-
countryLabel: string;
|
|
967
|
-
countryUnitedStates: string;
|
|
968
|
-
cancelButton: string;
|
|
969
|
-
saveButton: string;
|
|
970
956
|
}
|
|
971
957
|
|
|
972
958
|
/** Whether this widget is showing customers (receivables) or vendors (payables). */
|
|
@@ -1000,6 +986,7 @@ interface CounterpartsWidgetOwnProps {
|
|
|
1000
986
|
formLabels?: PartialDeep<CounterpartFormSheetLabels>;
|
|
1001
987
|
detailsLabels?: Partial<CounterpartDetailsSheetLabels>;
|
|
1002
988
|
bankAccountLabels?: PartialDeep<BankAccountFormSheetLabels>;
|
|
989
|
+
/** @deprecated Unused; relabel the address through `formLabels.address`. */
|
|
1003
990
|
addressLabels?: PartialDeep<AddressFormSheetLabels>;
|
|
1004
991
|
deleteLabels?: Partial<ConfirmDeleteDialogLabels>;
|
|
1005
992
|
/** Overrides for validation / error / delete-prompt messages. */
|
|
@@ -779,23 +779,33 @@ interface CounterpartMessageLabels {
|
|
|
779
779
|
accountNumberInvalid: string;
|
|
780
780
|
/** Shown for a non-field-specific submit failure. */
|
|
781
781
|
genericError: string;
|
|
782
|
-
/**
|
|
782
|
+
/** @deprecated Unused; the list labels its own warning. */
|
|
783
783
|
amountsUnavailable: string;
|
|
784
784
|
/** Delete confirmation title; `{name}` is replaced with the entity name. */
|
|
785
785
|
deleteTitle: string;
|
|
786
|
-
/** Delete confirmation title for a bank account; `{account}` is display-ready. */
|
|
787
786
|
deleteBankAccountTitle: string;
|
|
787
|
+
deleteBankAccountConfirm: string;
|
|
788
788
|
deleteCounterpartMessage: string;
|
|
789
789
|
deleteBankAccountMessage: string;
|
|
790
|
-
/**
|
|
790
|
+
/** @deprecated No longer shown. Use `customerAdded` / `vendorAdded`. */
|
|
791
791
|
createSucceeded: string;
|
|
792
|
-
/**
|
|
792
|
+
/** @deprecated No longer shown. Use `customerUpdated` / `vendorUpdated`. */
|
|
793
793
|
updateSucceeded: string;
|
|
794
|
+
customerAdded: string;
|
|
795
|
+
vendorAdded: string;
|
|
796
|
+
customerUpdated: string;
|
|
797
|
+
vendorUpdated: string;
|
|
794
798
|
addressAdded: string;
|
|
795
799
|
addressUpdated: string;
|
|
796
800
|
bankAccountAdded: string;
|
|
797
801
|
bankAccountUpdated: string;
|
|
802
|
+
/**
|
|
803
|
+
* @deprecated Used only when the delete controller gets no `counterpartType`;
|
|
804
|
+
* users never see the word "counterpart". Use `customerDeleted` / `vendorDeleted`.
|
|
805
|
+
*/
|
|
798
806
|
counterpartDeleted: string;
|
|
807
|
+
customerDeleted: string;
|
|
808
|
+
vendorDeleted: string;
|
|
799
809
|
bankAccountDeleted: string;
|
|
800
810
|
/** Error toast when a counterpart delete fails without an API message. */
|
|
801
811
|
deleteCounterpartFailed: string;
|
|
@@ -834,8 +844,8 @@ interface CounterpartsScreenLabels {
|
|
|
834
844
|
/** Vendor-mode create action. */
|
|
835
845
|
vendorsCreateButton: string;
|
|
836
846
|
columnName: string;
|
|
837
|
-
sortByName: string;
|
|
838
847
|
columnBilledAmount: string;
|
|
848
|
+
columnInvoicedAmount: string;
|
|
839
849
|
columnReceivedAmount: string;
|
|
840
850
|
columnAmountDue: string;
|
|
841
851
|
columnTotalPaidToDate: string;
|
|
@@ -850,15 +860,14 @@ interface CounterpartsScreenLabels {
|
|
|
850
860
|
unnamedCounterpart: string;
|
|
851
861
|
searchPlaceholder: string;
|
|
852
862
|
searchLabel: string;
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
863
|
+
entityFilterLabel: string;
|
|
864
|
+
entityFilterAll: string;
|
|
865
|
+
entityFilterOrganization: string;
|
|
866
|
+
entityFilterIndividual: string;
|
|
856
867
|
filterChipRemove: string;
|
|
857
868
|
typeChip: (value: string) => string;
|
|
858
869
|
searchChip: (value: string) => string;
|
|
859
870
|
clearAllFilters: string;
|
|
860
|
-
entityFilterOrganization: string;
|
|
861
|
-
entityFilterIndividual: string;
|
|
862
871
|
customersEmptyTitle: string;
|
|
863
872
|
customersEmptyDescription: string;
|
|
864
873
|
customersEmptyAction: string;
|
|
@@ -876,14 +885,16 @@ interface CounterpartsScreenLabels {
|
|
|
876
885
|
errorRetry: string;
|
|
877
886
|
accessRestrictedTitle: string;
|
|
878
887
|
accessRestrictedDescription: string;
|
|
888
|
+
amountsUnavailable: string;
|
|
889
|
+
amountsRetry: string;
|
|
879
890
|
}
|
|
880
891
|
interface CounterpartDetailsSheetLabels {
|
|
881
|
-
hiddenDescription: string;
|
|
882
892
|
loadingTitle: string;
|
|
883
893
|
notFoundCustomerTitle: string;
|
|
884
894
|
notFoundVendorTitle: string;
|
|
885
895
|
notFoundCustomerDescription: string;
|
|
886
896
|
notFoundVendorDescription: string;
|
|
897
|
+
reloadFailed: string;
|
|
887
898
|
openActionsMenu: string;
|
|
888
899
|
closeAction: string;
|
|
889
900
|
deleteCustomerAction: string;
|
|
@@ -891,10 +902,12 @@ interface CounterpartDetailsSheetLabels {
|
|
|
891
902
|
summaryAmountDue: string;
|
|
892
903
|
summaryBalanceDue: string;
|
|
893
904
|
summaryBilled: string;
|
|
905
|
+
summaryInvoiced: string;
|
|
894
906
|
summaryReceived: string;
|
|
895
907
|
summaryPaid: string;
|
|
896
908
|
summaryRejected: string;
|
|
897
909
|
overdueTag: string;
|
|
910
|
+
/** Vendor footer action ("Add a bill"); the key predates the copy. */
|
|
898
911
|
sendPaymentAction: string;
|
|
899
912
|
issueInvoiceAction: string;
|
|
900
913
|
recentCustomerDocumentsHeading: string;
|
|
@@ -925,15 +938,12 @@ interface CounterpartDetailsSheetLabels {
|
|
|
925
938
|
customerTaxIdHelp: string;
|
|
926
939
|
vendorTaxIdHelp: string;
|
|
927
940
|
addressHeading: string;
|
|
928
|
-
/** Customer mode's own section heading — vendor mode uses `addressHeading` as a `DetailLine` row label instead. */
|
|
929
|
-
customerAddressHeading: string;
|
|
930
|
-
addAddressAction: string;
|
|
931
|
-
editAddressAction: string;
|
|
932
941
|
noAddress: string;
|
|
933
942
|
paymentMethodsHeading: string;
|
|
934
943
|
paymentMethodsDescription: string;
|
|
935
944
|
addPaymentMethodAction: string;
|
|
936
945
|
editPaymentMethodAction: string;
|
|
946
|
+
paymentMethodActionsMenu: string;
|
|
937
947
|
deletePaymentMethodAction: string;
|
|
938
948
|
incompletePaymentMethod: string;
|
|
939
949
|
accountHolderLabel: string;
|
|
@@ -941,32 +951,8 @@ interface CounterpartDetailsSheetLabels {
|
|
|
941
951
|
routingNumberLabel: string;
|
|
942
952
|
noPaymentMethods: string;
|
|
943
953
|
editButton: string;
|
|
944
|
-
/** Overrides for the shared bill status badge in recent documents. */
|
|
945
954
|
billStatusBadge: Partial<BillStatusBadgeLabels>;
|
|
946
|
-
/** Overrides for the shared invoice status badge in recent documents. */
|
|
947
955
|
invoiceStatusBadge: Partial<ReceivableStatusBadgeLabels>;
|
|
948
|
-
optionalSuffix: string;
|
|
949
|
-
editingCustomerDetailsHeading: string;
|
|
950
|
-
editingVendorDetailsHeading: string;
|
|
951
|
-
firstNameLabel: string;
|
|
952
|
-
lastNameLabel: string;
|
|
953
|
-
businessNameLabel: string;
|
|
954
|
-
remindersCheckboxLabel: string;
|
|
955
|
-
remindersCheckboxDescription: string;
|
|
956
|
-
taxIdSsnPlaceholder: string;
|
|
957
|
-
taxIdEinPlaceholder: string;
|
|
958
|
-
editingAddressHeading: string;
|
|
959
|
-
addingAddressHeading: string;
|
|
960
|
-
streetAddressLabel: string;
|
|
961
|
-
addressLine2Label: string;
|
|
962
|
-
cityLabel: string;
|
|
963
|
-
stateLabel: string;
|
|
964
|
-
statePlaceholder: string;
|
|
965
|
-
postalCodeLabel: string;
|
|
966
|
-
countryLabel: string;
|
|
967
|
-
countryUnitedStates: string;
|
|
968
|
-
cancelButton: string;
|
|
969
|
-
saveButton: string;
|
|
970
956
|
}
|
|
971
957
|
|
|
972
958
|
/** Whether this widget is showing customers (receivables) or vendors (payables). */
|
|
@@ -1000,6 +986,7 @@ interface CounterpartsWidgetOwnProps {
|
|
|
1000
986
|
formLabels?: PartialDeep<CounterpartFormSheetLabels>;
|
|
1001
987
|
detailsLabels?: Partial<CounterpartDetailsSheetLabels>;
|
|
1002
988
|
bankAccountLabels?: PartialDeep<BankAccountFormSheetLabels>;
|
|
989
|
+
/** @deprecated Unused; relabel the address through `formLabels.address`. */
|
|
1003
990
|
addressLabels?: PartialDeep<AddressFormSheetLabels>;
|
|
1004
991
|
deleteLabels?: Partial<ConfirmDeleteDialogLabels>;
|
|
1005
992
|
/** Overrides for validation / error / delete-prompt messages. */
|