@tesouro/embedded-components-loader 0.11.219 → 0.11.221
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/react/experimental/QuickViewWidget.d.ts +25 -13
- package/dist/react/experimental/index.d.ts +25 -13
- package/dist/react/index.d.ts +24 -7
- package/dist/react/lib/AcceptDisclosuresWidget.d.ts +6 -2
- package/dist/react/lib/BankAccountsWidget.d.ts +4 -0
- package/dist/react/lib/BillPayWidget.d.ts +4 -3
- package/dist/react/lib/ExpenseManagementWidget.d.ts +7 -0
- package/dist/react/lib/ReceivablesWidget.d.ts +3 -2
- package/dist/react/lib/WidgetSuite.d.ts +13 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -57,7 +57,7 @@ function satisfiesRange(version, range) {
|
|
|
57
57
|
}
|
|
58
58
|
// src/loader.ts
|
|
59
59
|
/** Baked at build time: installing loader 1.2.3 pins hosted 1.2.3. */
|
|
60
|
-
var LOADER_VERSION = "0.11.
|
|
60
|
+
var LOADER_VERSION = "0.11.221";
|
|
61
61
|
var DEFAULT_BASE_URL = "https://widgets.tesouro.com";
|
|
62
62
|
/** Frozen forever: every future loader must read what every past one wrote. */
|
|
63
63
|
var LOADED_VERSION_MARKER = Symbol.for("tesouro.embedded.loadedVersion");
|
|
@@ -665,11 +665,16 @@ interface InvoicesQuickViewWidgetLabels extends InvoicesQuickViewTileLabels {
|
|
|
665
665
|
* `overdueAmount` directly, so it carries its own separator.
|
|
666
666
|
*/
|
|
667
667
|
overdueInvoiceCount: (count: number) => string;
|
|
668
|
-
/**
|
|
668
|
+
/**
|
|
669
|
+
* @deprecated No longer read: the tile is named by its visible text, so a
|
|
670
|
+
* screen reader hears what is on screen (WCAG 2.5.3). Kept so existing
|
|
671
|
+
* overrides still type-check; removed in a future release.
|
|
672
|
+
*/
|
|
669
673
|
overdueDescription: (amount: string, count: number) => string;
|
|
670
674
|
/**
|
|
671
|
-
*
|
|
672
|
-
*
|
|
675
|
+
* @deprecated No longer read: the tile is named by its visible text, so a
|
|
676
|
+
* screen reader hears what is on screen (WCAG 2.5.3). Kept so existing
|
|
677
|
+
* overrides still type-check; removed in a future release.
|
|
673
678
|
*/
|
|
674
679
|
accessibleName: (parts: {
|
|
675
680
|
title: string;
|
|
@@ -692,8 +697,9 @@ interface BillsQuickViewTileLabels {
|
|
|
692
697
|
|
|
693
698
|
interface BillsQuickViewWidgetLabels extends BillsQuickViewTileLabels {
|
|
694
699
|
/**
|
|
695
|
-
*
|
|
696
|
-
*
|
|
700
|
+
* @deprecated No longer read: the tile is named by its visible text, so a
|
|
701
|
+
* screen reader hears what is on screen (WCAG 2.5.3). Kept so existing
|
|
702
|
+
* overrides still type-check; removed in a future release.
|
|
697
703
|
*/
|
|
698
704
|
accessibleTitle: string;
|
|
699
705
|
/** Call to action that opens the bills list. */
|
|
@@ -718,11 +724,16 @@ interface BillsQuickViewWidgetLabels extends BillsQuickViewTileLabels {
|
|
|
718
724
|
awaitingApprovalCount: (count: number) => string;
|
|
719
725
|
/** Joins the sub-line parts, e.g. "1 overdue · 1 awaiting approval". */
|
|
720
726
|
joinSubtext: (parts: string[]) => string;
|
|
721
|
-
/**
|
|
727
|
+
/**
|
|
728
|
+
* @deprecated No longer read: the tile is named by its visible text, so a
|
|
729
|
+
* screen reader hears what is on screen (WCAG 2.5.3). Kept so existing
|
|
730
|
+
* overrides still type-check; removed in a future release.
|
|
731
|
+
*/
|
|
722
732
|
joinDescription: (parts: string[]) => string;
|
|
723
733
|
/**
|
|
724
|
-
*
|
|
725
|
-
*
|
|
734
|
+
* @deprecated No longer read: the tile is named by its visible text, so a
|
|
735
|
+
* screen reader hears what is on screen (WCAG 2.5.3). Kept so existing
|
|
736
|
+
* overrides still type-check; removed in a future release.
|
|
726
737
|
*/
|
|
727
738
|
accessibleName: (parts: {
|
|
728
739
|
title: string;
|
|
@@ -753,9 +764,9 @@ interface CardsQuickViewWidgetLabels extends CardsQuickViewTileLabels {
|
|
|
753
764
|
*/
|
|
754
765
|
titleForMonth: (month: number) => string;
|
|
755
766
|
/**
|
|
756
|
-
*
|
|
757
|
-
*
|
|
758
|
-
*
|
|
767
|
+
* @deprecated No longer read: the tile is named by its visible text, so a
|
|
768
|
+
* screen reader hears what is on screen (WCAG 2.5.3). Kept so existing
|
|
769
|
+
* overrides still type-check; removed in a future release.
|
|
759
770
|
*/
|
|
760
771
|
accessibleTitleForMonth: (month: number) => string;
|
|
761
772
|
/** Call to action that opens the cards list. */
|
|
@@ -770,8 +781,9 @@ interface CardsQuickViewWidgetLabels extends CardsQuickViewTileLabels {
|
|
|
770
781
|
*/
|
|
771
782
|
negativeAmount: (magnitude: string) => string;
|
|
772
783
|
/**
|
|
773
|
-
*
|
|
774
|
-
*
|
|
784
|
+
* @deprecated No longer read: the tile is named by its visible text, so a
|
|
785
|
+
* screen reader hears what is on screen (WCAG 2.5.3). Kept so existing
|
|
786
|
+
* overrides still type-check; removed in a future release.
|
|
775
787
|
*/
|
|
776
788
|
accessibleName: (parts: {
|
|
777
789
|
title: string;
|
|
@@ -1443,11 +1443,16 @@ interface InvoicesQuickViewWidgetLabels extends InvoicesQuickViewTileLabels {
|
|
|
1443
1443
|
* `overdueAmount` directly, so it carries its own separator.
|
|
1444
1444
|
*/
|
|
1445
1445
|
overdueInvoiceCount: (count: number) => string;
|
|
1446
|
-
/**
|
|
1446
|
+
/**
|
|
1447
|
+
* @deprecated No longer read: the tile is named by its visible text, so a
|
|
1448
|
+
* screen reader hears what is on screen (WCAG 2.5.3). Kept so existing
|
|
1449
|
+
* overrides still type-check; removed in a future release.
|
|
1450
|
+
*/
|
|
1447
1451
|
overdueDescription: (amount: string, count: number) => string;
|
|
1448
1452
|
/**
|
|
1449
|
-
*
|
|
1450
|
-
*
|
|
1453
|
+
* @deprecated No longer read: the tile is named by its visible text, so a
|
|
1454
|
+
* screen reader hears what is on screen (WCAG 2.5.3). Kept so existing
|
|
1455
|
+
* overrides still type-check; removed in a future release.
|
|
1451
1456
|
*/
|
|
1452
1457
|
accessibleName: (parts: {
|
|
1453
1458
|
title: string;
|
|
@@ -1470,8 +1475,9 @@ interface BillsQuickViewTileLabels {
|
|
|
1470
1475
|
|
|
1471
1476
|
interface BillsQuickViewWidgetLabels extends BillsQuickViewTileLabels {
|
|
1472
1477
|
/**
|
|
1473
|
-
*
|
|
1474
|
-
*
|
|
1478
|
+
* @deprecated No longer read: the tile is named by its visible text, so a
|
|
1479
|
+
* screen reader hears what is on screen (WCAG 2.5.3). Kept so existing
|
|
1480
|
+
* overrides still type-check; removed in a future release.
|
|
1475
1481
|
*/
|
|
1476
1482
|
accessibleTitle: string;
|
|
1477
1483
|
/** Call to action that opens the bills list. */
|
|
@@ -1496,11 +1502,16 @@ interface BillsQuickViewWidgetLabels extends BillsQuickViewTileLabels {
|
|
|
1496
1502
|
awaitingApprovalCount: (count: number) => string;
|
|
1497
1503
|
/** Joins the sub-line parts, e.g. "1 overdue · 1 awaiting approval". */
|
|
1498
1504
|
joinSubtext: (parts: string[]) => string;
|
|
1499
|
-
/**
|
|
1505
|
+
/**
|
|
1506
|
+
* @deprecated No longer read: the tile is named by its visible text, so a
|
|
1507
|
+
* screen reader hears what is on screen (WCAG 2.5.3). Kept so existing
|
|
1508
|
+
* overrides still type-check; removed in a future release.
|
|
1509
|
+
*/
|
|
1500
1510
|
joinDescription: (parts: string[]) => string;
|
|
1501
1511
|
/**
|
|
1502
|
-
*
|
|
1503
|
-
*
|
|
1512
|
+
* @deprecated No longer read: the tile is named by its visible text, so a
|
|
1513
|
+
* screen reader hears what is on screen (WCAG 2.5.3). Kept so existing
|
|
1514
|
+
* overrides still type-check; removed in a future release.
|
|
1504
1515
|
*/
|
|
1505
1516
|
accessibleName: (parts: {
|
|
1506
1517
|
title: string;
|
|
@@ -1531,9 +1542,9 @@ interface CardsQuickViewWidgetLabels extends CardsQuickViewTileLabels {
|
|
|
1531
1542
|
*/
|
|
1532
1543
|
titleForMonth: (month: number) => string;
|
|
1533
1544
|
/**
|
|
1534
|
-
*
|
|
1535
|
-
*
|
|
1536
|
-
*
|
|
1545
|
+
* @deprecated No longer read: the tile is named by its visible text, so a
|
|
1546
|
+
* screen reader hears what is on screen (WCAG 2.5.3). Kept so existing
|
|
1547
|
+
* overrides still type-check; removed in a future release.
|
|
1537
1548
|
*/
|
|
1538
1549
|
accessibleTitleForMonth: (month: number) => string;
|
|
1539
1550
|
/** Call to action that opens the cards list. */
|
|
@@ -1548,8 +1559,9 @@ interface CardsQuickViewWidgetLabels extends CardsQuickViewTileLabels {
|
|
|
1548
1559
|
*/
|
|
1549
1560
|
negativeAmount: (magnitude: string) => string;
|
|
1550
1561
|
/**
|
|
1551
|
-
*
|
|
1552
|
-
*
|
|
1562
|
+
* @deprecated No longer read: the tile is named by its visible text, so a
|
|
1563
|
+
* screen reader hears what is on screen (WCAG 2.5.3). Kept so existing
|
|
1564
|
+
* overrides still type-check; removed in a future release.
|
|
1553
1565
|
*/
|
|
1554
1566
|
accessibleName: (parts: {
|
|
1555
1567
|
title: string;
|
package/dist/react/index.d.ts
CHANGED
|
@@ -3300,6 +3300,10 @@ interface Labels$3 {
|
|
|
3300
3300
|
statementColumn: string;
|
|
3301
3301
|
statementsActionsColumn: string;
|
|
3302
3302
|
viewStatementButton: string;
|
|
3303
|
+
/**
|
|
3304
|
+
* The View button's accessible name. Starts with `viewStatementButton`'s
|
|
3305
|
+
* text so a voice-control user can say what they see (WCAG 2.5.3).
|
|
3306
|
+
*/
|
|
3303
3307
|
viewStatementButtonAriaLabel: string;
|
|
3304
3308
|
statementsRowsPerPageLabel: string;
|
|
3305
3309
|
statementsPreviousPageButton: string;
|
|
@@ -4307,6 +4311,11 @@ interface ExpensesTransactionsTableLabels {
|
|
|
4307
4311
|
interface ExpensesTransactionsFilterBarLabels {
|
|
4308
4312
|
searchPlaceholder: string;
|
|
4309
4313
|
searchAriaLabel: string;
|
|
4314
|
+
/**
|
|
4315
|
+
* Visible text of the filters button, followed by "(N)" when filters are
|
|
4316
|
+
* active; it is also the button's accessible name. Named for its old
|
|
4317
|
+
* aria-label role and kept so existing host overrides still apply.
|
|
4318
|
+
*/
|
|
4310
4319
|
filtersButtonAriaLabel: string;
|
|
4311
4320
|
clearAll: string;
|
|
4312
4321
|
dateRangeFieldLabel: string;
|
|
@@ -4333,6 +4342,8 @@ interface Labels$2 {
|
|
|
4333
4342
|
|
|
4334
4343
|
interface FileViewerLabels {
|
|
4335
4344
|
filePreview: string;
|
|
4345
|
+
/** Names the scrollable viewport that holds the zoomed file. */
|
|
4346
|
+
previewRegion: string;
|
|
4336
4347
|
zoomIn: string;
|
|
4337
4348
|
zoomOut: string;
|
|
4338
4349
|
moreActions: string;
|
|
@@ -5389,6 +5400,7 @@ interface ReceivablePreviewLabels {
|
|
|
5389
5400
|
noItems: string;
|
|
5390
5401
|
payOnline: string;
|
|
5391
5402
|
paymentQrCodeLabel: string;
|
|
5403
|
+
previewRegionLabel: string;
|
|
5392
5404
|
}
|
|
5393
5405
|
|
|
5394
5406
|
interface RecurringSeriesScreenLabels {
|
|
@@ -5864,7 +5876,7 @@ interface InvoicingTabLabels extends InvoicingTabsLabels {
|
|
|
5864
5876
|
interface ReceivablesWidgetOwnProps {
|
|
5865
5877
|
/** Sponsor bank shown as "Powered by {bank}" beside embedded accounts. */
|
|
5866
5878
|
embeddedBankName?: string;
|
|
5867
|
-
/** Rendered above the tab row. The widget renders no heading of its own (embedded ADR 0010), so pass the page title here. */
|
|
5879
|
+
/** Rendered above the tab row, and kept when an error or the disclosures gate replaces the tabs. The widget renders no heading of its own (embedded ADR 0010), so pass the page title here. */
|
|
5868
5880
|
headerStart?: ReactNode;
|
|
5869
5881
|
/** The active tab. Omit to let the widget track it, starting on Invoices. */
|
|
5870
5882
|
selectedTab?: InvoicingTabId;
|
|
@@ -5904,7 +5916,7 @@ interface ReceivablesWidgetOwnProps {
|
|
|
5904
5916
|
|
|
5905
5917
|
type ReceivablesWidgetProps = WidgetProviderProps & ReceivablesWidgetOwnProps;
|
|
5906
5918
|
|
|
5907
|
-
declare function ReceivablesWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ReceivablesWidgetProps): React.JSX.Element;
|
|
5919
|
+
declare function ReceivablesWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, headerStart, ...innerProps }: ReceivablesWidgetProps): React.JSX.Element;
|
|
5908
5920
|
|
|
5909
5921
|
interface Labels$1 {
|
|
5910
5922
|
title: string;
|
|
@@ -6800,6 +6812,10 @@ interface AcceptDisclosuresWidgetLabels {
|
|
|
6800
6812
|
acceptButton: string;
|
|
6801
6813
|
submittingButton?: string;
|
|
6802
6814
|
successToast?: string;
|
|
6815
|
+
/**
|
|
6816
|
+
* @deprecated Ignored. The checkbox is named by the visible agreement text
|
|
6817
|
+
* (WCAG 2.5.3). Kept so existing overrides continue to typecheck.
|
|
6818
|
+
*/
|
|
6803
6819
|
agreementCheckboxAriaLabel: string;
|
|
6804
6820
|
/** Fallback when the accept API fails without a usable message. */
|
|
6805
6821
|
acceptErrorFallback: string;
|
|
@@ -6835,8 +6851,8 @@ interface AcceptDisclosuresWidgetLabels {
|
|
|
6835
6851
|
/** Use `{bankName}` when the backend returned no documents. */
|
|
6836
6852
|
noDocumentsAgreementTextTemplate?: string;
|
|
6837
6853
|
/**
|
|
6838
|
-
*
|
|
6839
|
-
*
|
|
6854
|
+
* @deprecated Ignored. The checkbox is named by the visible agreement text
|
|
6855
|
+
* (WCAG 2.5.3). Kept so existing overrides continue to typecheck.
|
|
6840
6856
|
*/
|
|
6841
6857
|
noDocumentsAgreementCheckboxAriaLabel?: string;
|
|
6842
6858
|
/**
|
|
@@ -7157,11 +7173,12 @@ interface BillPayWidgetProps extends WidgetProviderProps {
|
|
|
7157
7173
|
/** Bank shown as "Powered by {bank}" next to the source account when paying; omitted hides the badge. */
|
|
7158
7174
|
poweredByBankName?: string;
|
|
7159
7175
|
/**
|
|
7160
|
-
* Opens the host's bill-pay settings surface, from a cog
|
|
7161
|
-
*
|
|
7162
|
-
* reach it.
|
|
7176
|
+
* Opens the host's bill-pay settings surface, from a cog at the top right,
|
|
7177
|
+
* on the `headerStart` line. Only rendered for a user whose scopes reach it.
|
|
7163
7178
|
*/
|
|
7164
7179
|
onSettingsClick?: () => void;
|
|
7180
|
+
/** Rendered above the tab row, beside the settings cog, and kept when an error or the disclosures gate replaces the tabs. The widget renders no heading of its own, so pass your page title here (embedded ADR 0010). */
|
|
7181
|
+
headerStart?: ReactNode;
|
|
7165
7182
|
/**
|
|
7166
7183
|
* The active summary card on the Bills tab, or `null` for none. Applied on
|
|
7167
7184
|
* mount and whenever it changes. Omit to let the widget track it.
|
|
@@ -699,6 +699,10 @@ interface AcceptDisclosuresWidgetLabels {
|
|
|
699
699
|
acceptButton: string;
|
|
700
700
|
submittingButton?: string;
|
|
701
701
|
successToast?: string;
|
|
702
|
+
/**
|
|
703
|
+
* @deprecated Ignored. The checkbox is named by the visible agreement text
|
|
704
|
+
* (WCAG 2.5.3). Kept so existing overrides continue to typecheck.
|
|
705
|
+
*/
|
|
702
706
|
agreementCheckboxAriaLabel: string;
|
|
703
707
|
/** Fallback when the accept API fails without a usable message. */
|
|
704
708
|
acceptErrorFallback: string;
|
|
@@ -734,8 +738,8 @@ interface AcceptDisclosuresWidgetLabels {
|
|
|
734
738
|
/** Use `{bankName}` when the backend returned no documents. */
|
|
735
739
|
noDocumentsAgreementTextTemplate?: string;
|
|
736
740
|
/**
|
|
737
|
-
*
|
|
738
|
-
*
|
|
741
|
+
* @deprecated Ignored. The checkbox is named by the visible agreement text
|
|
742
|
+
* (WCAG 2.5.3). Kept so existing overrides continue to typecheck.
|
|
739
743
|
*/
|
|
740
744
|
noDocumentsAgreementCheckboxAriaLabel?: string;
|
|
741
745
|
/**
|
|
@@ -680,6 +680,10 @@ interface Labels {
|
|
|
680
680
|
statementColumn: string;
|
|
681
681
|
statementsActionsColumn: string;
|
|
682
682
|
viewStatementButton: string;
|
|
683
|
+
/**
|
|
684
|
+
* The View button's accessible name. Starts with `viewStatementButton`'s
|
|
685
|
+
* text so a voice-control user can say what they see (WCAG 2.5.3).
|
|
686
|
+
*/
|
|
683
687
|
viewStatementButtonAriaLabel: string;
|
|
684
688
|
statementsRowsPerPageLabel: string;
|
|
685
689
|
statementsPreviousPageButton: string;
|
|
@@ -639,11 +639,12 @@ interface BillPayWidgetProps extends WidgetProviderProps {
|
|
|
639
639
|
/** Bank shown as "Powered by {bank}" next to the source account when paying; omitted hides the badge. */
|
|
640
640
|
poweredByBankName?: string;
|
|
641
641
|
/**
|
|
642
|
-
* Opens the host's bill-pay settings surface, from a cog
|
|
643
|
-
*
|
|
644
|
-
* reach it.
|
|
642
|
+
* Opens the host's bill-pay settings surface, from a cog at the top right,
|
|
643
|
+
* on the `headerStart` line. Only rendered for a user whose scopes reach it.
|
|
645
644
|
*/
|
|
646
645
|
onSettingsClick?: () => void;
|
|
646
|
+
/** Rendered above the tab row, beside the settings cog, and kept when an error or the disclosures gate replaces the tabs. The widget renders no heading of its own, so pass your page title here (embedded ADR 0010). */
|
|
647
|
+
headerStart?: ReactNode;
|
|
647
648
|
/**
|
|
648
649
|
* The active summary card on the Bills tab, or `null` for none. Applied on
|
|
649
650
|
* mount and whenever it changes. Omit to let the widget track it.
|
|
@@ -37,6 +37,11 @@ interface ExpensesTransactionsTableLabels {
|
|
|
37
37
|
interface ExpensesTransactionsFilterBarLabels {
|
|
38
38
|
searchPlaceholder: string;
|
|
39
39
|
searchAriaLabel: string;
|
|
40
|
+
/**
|
|
41
|
+
* Visible text of the filters button, followed by "(N)" when filters are
|
|
42
|
+
* active; it is also the button's accessible name. Named for its old
|
|
43
|
+
* aria-label role and kept so existing host overrides still apply.
|
|
44
|
+
*/
|
|
40
45
|
filtersButtonAriaLabel: string;
|
|
41
46
|
clearAll: string;
|
|
42
47
|
dateRangeFieldLabel: string;
|
|
@@ -63,6 +68,8 @@ interface Labels {
|
|
|
63
68
|
|
|
64
69
|
interface FileViewerLabels {
|
|
65
70
|
filePreview: string;
|
|
71
|
+
/** Names the scrollable viewport that holds the zoomed file. */
|
|
72
|
+
previewRegion: string;
|
|
66
73
|
zoomIn: string;
|
|
67
74
|
zoomOut: string;
|
|
68
75
|
moreActions: string;
|
|
@@ -2036,6 +2036,7 @@ interface ReceivablePreviewLabels {
|
|
|
2036
2036
|
noItems: string;
|
|
2037
2037
|
payOnline: string;
|
|
2038
2038
|
paymentQrCodeLabel: string;
|
|
2039
|
+
previewRegionLabel: string;
|
|
2039
2040
|
}
|
|
2040
2041
|
|
|
2041
2042
|
interface RecurringSeriesScreenLabels {
|
|
@@ -2511,7 +2512,7 @@ interface InvoicingTabLabels extends InvoicingTabsLabels {
|
|
|
2511
2512
|
interface ReceivablesWidgetOwnProps {
|
|
2512
2513
|
/** Sponsor bank shown as "Powered by {bank}" beside embedded accounts. */
|
|
2513
2514
|
embeddedBankName?: string;
|
|
2514
|
-
/** Rendered above the tab row. The widget renders no heading of its own (embedded ADR 0010), so pass the page title here. */
|
|
2515
|
+
/** Rendered above the tab row, and kept when an error or the disclosures gate replaces the tabs. The widget renders no heading of its own (embedded ADR 0010), so pass the page title here. */
|
|
2515
2516
|
headerStart?: ReactNode;
|
|
2516
2517
|
/** The active tab. Omit to let the widget track it, starting on Invoices. */
|
|
2517
2518
|
selectedTab?: InvoicingTabId;
|
|
@@ -2551,7 +2552,7 @@ interface ReceivablesWidgetOwnProps {
|
|
|
2551
2552
|
|
|
2552
2553
|
type ReceivablesWidgetProps = WidgetProviderProps & ReceivablesWidgetOwnProps;
|
|
2553
2554
|
|
|
2554
|
-
declare function ReceivablesWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ReceivablesWidgetProps): React.JSX.Element;
|
|
2555
|
+
declare function ReceivablesWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, headerStart, ...innerProps }: ReceivablesWidgetProps): React.JSX.Element;
|
|
2555
2556
|
|
|
2556
2557
|
export { InvoicingTab, ReceivableStatusCard, ReceivablesWidget };
|
|
2557
2558
|
export type { CounterpartFormSheetLabels, CounterpartMessageLabels, InvoicesFilterBarLabelOverrides, InvoicesFilterBarLabels, InvoicesFilterLabelOverrides, InvoicesFilterLabels, InvoicingTabId, InvoicingTabLabels, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, ProductFormSheetLabels, ProductMessageLabels, ReceivableActionDialogLabels, ReceivableActionsModalLabels, ReceivableAuditHistoryLabels, ReceivableDetailsPanelLabelOverrides, ReceivableDetailsPanelLabels, ReceivableDocumentType, ReceivableFormDialogLabels, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivablePreviewLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, RecurringSeriesScreenLabelOverrides, RecurringSeriesScreenLabels };
|
|
@@ -2415,6 +2415,10 @@ interface Labels$3 {
|
|
|
2415
2415
|
statementColumn: string;
|
|
2416
2416
|
statementsActionsColumn: string;
|
|
2417
2417
|
viewStatementButton: string;
|
|
2418
|
+
/**
|
|
2419
|
+
* The View button's accessible name. Starts with `viewStatementButton`'s
|
|
2420
|
+
* text so a voice-control user can say what they see (WCAG 2.5.3).
|
|
2421
|
+
*/
|
|
2418
2422
|
viewStatementButtonAriaLabel: string;
|
|
2419
2423
|
statementsRowsPerPageLabel: string;
|
|
2420
2424
|
statementsPreviousPageButton: string;
|
|
@@ -3368,6 +3372,11 @@ interface ExpensesTransactionsTableLabels {
|
|
|
3368
3372
|
interface ExpensesTransactionsFilterBarLabels {
|
|
3369
3373
|
searchPlaceholder: string;
|
|
3370
3374
|
searchAriaLabel: string;
|
|
3375
|
+
/**
|
|
3376
|
+
* Visible text of the filters button, followed by "(N)" when filters are
|
|
3377
|
+
* active; it is also the button's accessible name. Named for its old
|
|
3378
|
+
* aria-label role and kept so existing host overrides still apply.
|
|
3379
|
+
*/
|
|
3371
3380
|
filtersButtonAriaLabel: string;
|
|
3372
3381
|
clearAll: string;
|
|
3373
3382
|
dateRangeFieldLabel: string;
|
|
@@ -3394,6 +3403,8 @@ interface Labels$2 {
|
|
|
3394
3403
|
|
|
3395
3404
|
interface FileViewerLabels {
|
|
3396
3405
|
filePreview: string;
|
|
3406
|
+
/** Names the scrollable viewport that holds the zoomed file. */
|
|
3407
|
+
previewRegion: string;
|
|
3397
3408
|
zoomIn: string;
|
|
3398
3409
|
zoomOut: string;
|
|
3399
3410
|
moreActions: string;
|
|
@@ -4270,6 +4281,7 @@ interface ReceivablePreviewLabels {
|
|
|
4270
4281
|
noItems: string;
|
|
4271
4282
|
payOnline: string;
|
|
4272
4283
|
paymentQrCodeLabel: string;
|
|
4284
|
+
previewRegionLabel: string;
|
|
4273
4285
|
}
|
|
4274
4286
|
|
|
4275
4287
|
interface RecurringSeriesScreenLabels {
|
|
@@ -4745,7 +4757,7 @@ interface InvoicingTabLabels extends InvoicingTabsLabels {
|
|
|
4745
4757
|
interface ReceivablesWidgetOwnProps {
|
|
4746
4758
|
/** Sponsor bank shown as "Powered by {bank}" beside embedded accounts. */
|
|
4747
4759
|
embeddedBankName?: string;
|
|
4748
|
-
/** Rendered above the tab row. The widget renders no heading of its own (embedded ADR 0010), so pass the page title here. */
|
|
4760
|
+
/** Rendered above the tab row, and kept when an error or the disclosures gate replaces the tabs. The widget renders no heading of its own (embedded ADR 0010), so pass the page title here. */
|
|
4749
4761
|
headerStart?: ReactNode;
|
|
4750
4762
|
/** The active tab. Omit to let the widget track it, starting on Invoices. */
|
|
4751
4763
|
selectedTab?: InvoicingTabId;
|