@tesouro/embedded-components-react 0.2.280 → 0.2.282
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 +17 -14
- package/dist/experimental/WidgetSuite.d.ts +9 -1
- package/dist/experimental/index.d.ts +9 -1
- package/dist/index.css +20 -6
- package/dist/index.d.ts +46 -23
- package/dist/index.js +54 -53
- package/dist/lib/AcceptDisclosuresWidget.d.ts +9 -1
- package/dist/lib/BalancesWidget.d.ts +8 -0
- package/dist/lib/BankAccountOnboardingWidget.d.ts +9 -1
- package/dist/lib/BankAccountsWidget.d.ts +9 -1
- package/dist/lib/BillPayWidget.d.ts +8 -0
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/CardDetailsWidget.d.ts +9 -1
- package/dist/lib/CardsWidget.d.ts +9 -1
- package/dist/lib/ChartOfAccountsWidget.d.ts +9 -1
- package/dist/lib/CounterpartsWidget.d.ts +9 -1
- package/dist/lib/CreateCardWidget.d.ts +9 -1
- package/dist/lib/ExpenseApprovalPoliciesWidget.d.ts +9 -1
- package/dist/lib/ExpenseManagementWidget.d.ts +9 -1
- package/dist/lib/ExpenseRequirementsWidget.d.ts +9 -1
- package/dist/lib/HelpWidget.d.ts +9 -1
- package/dist/lib/InsightsWidget.d.ts +8 -0
- package/dist/lib/InvoicingWidget.d.ts +9 -1
- package/dist/lib/LinkedAccountsWidget.d.ts +9 -1
- package/dist/lib/ProductsWidget.d.ts +9 -1
- package/dist/lib/ProfileWidget.d.ts +9 -1
- package/dist/lib/ReceiptMatchWidget.d.ts +9 -1
- package/dist/lib/ReceivablesWidget.d.ts +9 -1
- package/dist/lib/SettingsWidget.d.ts +9 -1
- package/dist/lib/TagsWidget.d.ts +9 -1
- package/dist/lib/TeamWidget.d.ts +9 -1
- package/dist/lib/TransfersWidget.d.ts +8 -0
- package/dist/lib/WidgetProvider.d.ts +25 -2
- package/dist/lib/WidgetProvider.js +8 -7
- package/dist/lib/WidgetProviderPublic.d.ts +8 -0
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index4.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index17.js +54 -53
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index8.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +42 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +69 -54
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +21 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +46 -40
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +81 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +46 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +3 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +5 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +43 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +1 -102
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +11 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +9 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +127 -76
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +7 -111
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +85 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +114 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +50 -49
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +25 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +86 -69
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +17 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +89 -124
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +31 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +80 -77
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +20 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +228 -6
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index6.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index8.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index8.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index7.js +30 -29
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/feature/dist/lib/ExpenseApprovalPoliciesWidgetFeature.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index3.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/feature/dist/lib/ReceiptMatchWidget.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/expense-requirements-widget/feature/dist/lib/ExpenseRequirementsWidget.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index8.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/help-widget/feature/dist/index3.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index9.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/index8.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/profile-widget/feature/dist/index4.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js +53 -11
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/index.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js +69 -67
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +158 -132
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/hooks.js +7 -4
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/isDisclosuresAcceptanceRequired.js +20 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/labels.js +6 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/ErrorState/ErrorState.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/tags-widget/feature/dist/index11.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index17.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index6.js +3 -2
- package/dist/packages/shared-ui-shadcn/dist/index.js +3445 -3413
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5,83 +5,84 @@ import { getGlobalWidgetConfig as r, setGlobalWidgetConfig as i, updateGlobalWid
|
|
|
5
5
|
import { getGlobalWidgetInitState as o, subscribeToGlobalWidgetInitState as s } from "./libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/widgetInitChannel.js";
|
|
6
6
|
import { UIFramework as c } from "./libs/tesouro-embedded-components-react/shared/ui/dist/lib/UIContext/UIContext.js";
|
|
7
7
|
import { registerDesignSystemEnsurer as l, registerUIRenderers as u } from "./libs/tesouro-embedded-components-react/shared/ui/dist/lib/UIContext/uiRendererRegistry.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
8
|
+
import { ERROR_STATE_ID as d } from "./libs/tesouro-embedded-components-react/shared/ui/dist/lib/ErrorState/ErrorState.js";
|
|
9
|
+
import { RootWidgetProvider as f } from "./libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js";
|
|
10
|
+
import { WidgetTokenRefreshProvider as p } from "./libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetTokenRefreshProvider.js";
|
|
11
|
+
import { useWidgetToken as m } from "./libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/useWidgetToken.js";
|
|
12
|
+
import { RefreshingRootWidgetProvider as h } from "./libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RefreshingRootWidgetProvider.js";
|
|
13
|
+
import { useDisclosuresAcceptanceSurface as g, useOwnWidgetConfig as _, useRefetchWidget as v, useWidgetConfig as y, useWidgetError as b, useWidgetLoading as x } from "./libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
14
|
+
import { AcceptDisclosuresWidget as S } from "./libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index4.js";
|
|
14
15
|
import "./lib/AcceptDisclosuresWidget.js";
|
|
15
|
-
import { BankAccountsWidget as
|
|
16
|
+
import { BankAccountsWidget as C } from "./libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index8.js";
|
|
16
17
|
import "./lib/BankAccountsWidget.js";
|
|
17
|
-
import { CounterpartsWidget as
|
|
18
|
-
import { BillPayWidget as
|
|
18
|
+
import { CounterpartsWidget as w } from "./libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index8.js";
|
|
19
|
+
import { BillPayWidget as T } from "./libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js";
|
|
19
20
|
import "./lib/BillPayWidget.js";
|
|
20
|
-
import { CardDetailsWidget as
|
|
21
|
-
import { CardFormatValue as
|
|
22
|
-
import { CREATE_CARD_FEATURE_LABELS_EN as
|
|
23
|
-
import { CreateCardWidget as
|
|
24
|
-
import { CardsWidget as
|
|
21
|
+
import { CardDetailsWidget as E } from "./libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index6.js";
|
|
22
|
+
import { CardFormatValue as D } from "./libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index3.js";
|
|
23
|
+
import { CREATE_CARD_FEATURE_LABELS_EN as O, resolveCreateCardFeatureLabels as k } from "./libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index4.js";
|
|
24
|
+
import { CreateCardWidget as A } from "./libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index7.js";
|
|
25
|
+
import { CardsWidget as j } from "./libs/tesouro-embedded-components-react/cards-widget/feature/dist/index8.js";
|
|
25
26
|
import "./lib/CardsWidget.js";
|
|
26
27
|
import "./lib/CardDetailsWidget.js";
|
|
27
28
|
import "./lib/CreateCardWidget.js";
|
|
28
29
|
import "./lib/CounterpartsWidget.js";
|
|
29
|
-
import { ExpenseApprovalPoliciesWidget as
|
|
30
|
-
import { ExpenseRequirementsWidget as
|
|
31
|
-
import { UploadReceiptWidget as
|
|
32
|
-
import { ExpenseManagementWidget as
|
|
30
|
+
import { ExpenseApprovalPoliciesWidget as M } from "./libs/tesouro-embedded-components-react/expense-approval-policies-widget/feature/dist/lib/ExpenseApprovalPoliciesWidgetFeature.js";
|
|
31
|
+
import { ExpenseRequirementsWidget as N } from "./libs/tesouro-embedded-components-react/expense-requirements-widget/feature/dist/lib/ExpenseRequirementsWidget.js";
|
|
32
|
+
import { UploadReceiptWidget as P } from "./libs/tesouro-embedded-components-react/expense-upload-receipt-widget/feature/dist/lib/UploadReceiptWidget.js";
|
|
33
|
+
import { ExpenseManagementWidget as F } from "./libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index3.js";
|
|
33
34
|
import "./lib/ExpenseManagementWidget.js";
|
|
34
35
|
import "./lib/ExpenseApprovalPoliciesWidget.js";
|
|
35
36
|
import "./lib/ExpenseRequirementsWidget.js";
|
|
36
|
-
import { BALANCES_WIDGET_LABELS_EN as
|
|
37
|
-
import { BalancesWidget as
|
|
37
|
+
import { BALANCES_WIDGET_LABELS_EN as I } from "./libs/tesouro-embedded-components-react/balances-widget/ui/dist/lib/BalancesWidget/labels.js";
|
|
38
|
+
import { BalancesWidget as L } from "./libs/tesouro-embedded-components-react/balances-widget/feature/dist/index5.js";
|
|
38
39
|
import "./lib/BalancesWidget.js";
|
|
39
|
-
import { INSIGHTS_FEATURE_LABELS_EN as
|
|
40
|
-
import { INSIGHTS_WIDGET_LABELS_EN as
|
|
41
|
-
import { SINGLE_INSIGHT_LABELS_EN as
|
|
42
|
-
import { InsightsWidget as
|
|
40
|
+
import { INSIGHTS_FEATURE_LABELS_EN as R } from "./libs/tesouro-embedded-components-react/insights-widget/feature/dist/index3.js";
|
|
41
|
+
import { INSIGHTS_WIDGET_LABELS_EN as z } from "./libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/labels.js";
|
|
42
|
+
import { SINGLE_INSIGHT_LABELS_EN as B } from "./libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/SingleInsight/labels.js";
|
|
43
|
+
import { InsightsWidget as V } from "./libs/tesouro-embedded-components-react/insights-widget/feature/dist/index11.js";
|
|
43
44
|
import "./lib/InsightsWidget.js";
|
|
44
|
-
import { CHART_OF_ACCOUNTS_MESSAGE_LABELS_EN as
|
|
45
|
-
import { ACCOUNT_DELETE_DIALOG_LABELS_EN as
|
|
46
|
-
import { ChartOfAccountsTable as
|
|
47
|
-
import { AccountFormSheet as
|
|
48
|
-
import { AccountDeleteDialog as
|
|
49
|
-
import { ChartOfAccountsWidget as
|
|
45
|
+
import { CHART_OF_ACCOUNTS_MESSAGE_LABELS_EN as H } from "./libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index5.js";
|
|
46
|
+
import { ACCOUNT_DELETE_DIALOG_LABELS_EN as U, ACCOUNT_FORM_SHEET_LABELS_EN as W, CHART_OF_ACCOUNTS_LABELS_EN as G } from "./libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index2.js";
|
|
47
|
+
import { ChartOfAccountsTable as K } from "./libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index3.js";
|
|
48
|
+
import { AccountFormSheet as q } from "./libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index4.js";
|
|
49
|
+
import { AccountDeleteDialog as J } from "./libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index5.js";
|
|
50
|
+
import { ChartOfAccountsWidget as Y } from "./libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index8.js";
|
|
50
51
|
import "./lib/ChartOfAccountsWidget.js";
|
|
51
|
-
import { HELP_WIDGET_LABELS_EN as
|
|
52
|
-
import { HELP_FAQ_EN as
|
|
53
|
-
import { HelpWidget as
|
|
52
|
+
import { HELP_WIDGET_LABELS_EN as X } from "./libs/tesouro-embedded-components-react/help-widget/ui/contract/dist/index2.js";
|
|
53
|
+
import { HELP_FAQ_EN as Z } from "./libs/tesouro-embedded-components-react/help-widget/ui/contract/dist/index3.js";
|
|
54
|
+
import { HelpWidget as Q } from "./libs/tesouro-embedded-components-react/help-widget/feature/dist/index3.js";
|
|
54
55
|
import "./lib/HelpWidget.js";
|
|
55
|
-
import { InvoicingWidget as
|
|
56
|
-
import { ReceivablesWidget as
|
|
56
|
+
import { InvoicingWidget as $ } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js";
|
|
57
|
+
import { ReceivablesWidget as ee } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js";
|
|
57
58
|
import "./lib/InvoicingWidget.js";
|
|
58
|
-
import { LinkedAccountsWidget as
|
|
59
|
+
import { LinkedAccountsWidget as te } from "./libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index9.js";
|
|
59
60
|
import "./lib/LinkedAccountsWidget.js";
|
|
60
|
-
import { ADDITIONAL_OWNERS_LABELS_EN as
|
|
61
|
-
import { BUSINESS_DETAILS_LABELS_EN as
|
|
62
|
-
import { PERSONAL_DETAILS_LABELS_EN as
|
|
63
|
-
import { RESULT_LABELS_EN as
|
|
64
|
-
import { BankAccountOnboardingWidget as
|
|
61
|
+
import { ADDITIONAL_OWNERS_LABELS_EN as ne } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index4.js";
|
|
62
|
+
import { BUSINESS_DETAILS_LABELS_EN as re } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index6.js";
|
|
63
|
+
import { PERSONAL_DETAILS_LABELS_EN as ie } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index7.js";
|
|
64
|
+
import { RESULT_LABELS_EN as ae } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index12.js";
|
|
65
|
+
import { BankAccountOnboardingWidget as oe } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index17.js";
|
|
65
66
|
import "./lib/BankAccountOnboardingWidget.js";
|
|
66
|
-
import { ProductsWidget as
|
|
67
|
+
import { ProductsWidget as se } from "./libs/tesouro-embedded-components-react/products-widget/feature/dist/index8.js";
|
|
67
68
|
import "./lib/ProductsWidget.js";
|
|
68
|
-
import { ProfileWidget as
|
|
69
|
+
import { ProfileWidget as ce } from "./libs/tesouro-embedded-components-react/profile-widget/feature/dist/index4.js";
|
|
69
70
|
import "./lib/ProfileWidget.js";
|
|
70
71
|
import "./lib/ReceivablesWidget.js";
|
|
71
|
-
import { ReceiptMatchWidget as
|
|
72
|
+
import { ReceiptMatchWidget as le } from "./libs/tesouro-embedded-components-react/expense-receipt-match-widget/feature/dist/lib/ReceiptMatchWidget.js";
|
|
72
73
|
import "./lib/ReceiptMatchWidget.js";
|
|
73
|
-
import { SettingsSection as
|
|
74
|
-
import { TagsWidget as
|
|
75
|
-
import { TeamWidget as
|
|
76
|
-
import { SettingsWidget as
|
|
74
|
+
import { SettingsSection as ue } from "./libs/tesouro-embedded-components-react/settings-widget/feature/dist/index4.js";
|
|
75
|
+
import { TagsWidget as de } from "./libs/tesouro-embedded-components-react/tags-widget/feature/dist/index11.js";
|
|
76
|
+
import { TeamWidget as fe } from "./libs/tesouro-embedded-components-react/team-widget/feature/dist/index17.js";
|
|
77
|
+
import { SettingsWidget as pe } from "./libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js";
|
|
77
78
|
import "./lib/SettingsWidget.js";
|
|
78
79
|
import "./lib/TagsWidget.js";
|
|
79
80
|
import "./lib/TeamWidget.js";
|
|
80
|
-
import { DEFAULT_FEATURE_LABELS as
|
|
81
|
-
import { TRANSFERS_WIDGET_LABELS_EN as
|
|
82
|
-
import { TransfersWidget as
|
|
81
|
+
import { DEFAULT_FEATURE_LABELS as me } from "./libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index3.js";
|
|
82
|
+
import { TRANSFERS_WIDGET_LABELS_EN as he } from "./libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/labels.js";
|
|
83
|
+
import { TransfersWidget as ge } from "./libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index6.js";
|
|
83
84
|
import "./lib/TransfersWidget.js";
|
|
84
85
|
import "./lib/UploadReceiptWidget.js";
|
|
85
|
-
import { WidgetProvider as
|
|
86
|
+
import { WidgetProvider as _e } from "./lib/WidgetProviderPublic.js";
|
|
86
87
|
import "./lib/WidgetProvider.js";
|
|
87
|
-
export { e as ACCEPT_DISCLOSURES_WIDGET_LABELS_EN,
|
|
88
|
+
export { e as ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, U as ACCOUNT_DELETE_DIALOG_LABELS_EN, W as ACCOUNT_FORM_SHEET_LABELS_EN, ne as ADDITIONAL_OWNERS_LABELS_EN, S as AcceptDisclosuresWidget, J as AccountDeleteDialog, q as AccountFormSheet, I as BALANCES_WIDGET_LABELS_EN, re as BUSINESS_DETAILS_LABELS_EN, L as BalancesWidget, oe as BankAccountOnboardingWidget, C as BankAccountsWidget, T as BillPayWidget, G as CHART_OF_ACCOUNTS_LABELS_EN, H as CHART_OF_ACCOUNTS_MESSAGE_LABELS_EN, O as CREATE_CARD_FEATURE_LABELS_EN, E as CardDetailsWidget, D as CardFormatValue, j as CardsWidget, K as ChartOfAccountsTable, Y as ChartOfAccountsWidget, w as CounterpartsWidget, A as CreateCardWidget, d as ERROR_STATE_ID, M as ExpenseApprovalPoliciesWidget, F as ExpenseManagementWidget, N as ExpenseRequirementsWidget, Z as HELP_FAQ_EN, X as HELP_WIDGET_LABELS_EN, Q as HelpWidget, R as INSIGHTS_FEATURE_LABELS_EN, z as INSIGHTS_WIDGET_LABELS_EN, n as Implementation, V as InsightsWidget, $ as InvoicingWidget, te as LinkedAccountsWidget, ie as PERSONAL_DETAILS_LABELS_EN, se as ProductsWidget, ce as ProfileWidget, ae as RESULT_LABELS_EN, le as ReceiptMatchWidget, ee as ReceivablesWidget, h as RefreshingRootWidgetProvider, f as RootWidgetProvider, B as SINGLE_INSIGHT_LABELS_EN, ue as SettingsSection, pe as SettingsWidget, me as TRANSFERS_FEATURE_LABELS_EN, he as TRANSFERS_WIDGET_LABELS_EN, de as TagsWidget, fe as TeamWidget, ge as TransfersWidget, c as UIFramework, P as UploadReceiptWidget, _e as WidgetProvider, p as WidgetTokenRefreshProvider, t as cloneEmbeddedClient, r as getGlobalWidgetConfig, o as getGlobalWidgetInitState, l as registerDesignSystemEnsurer, u as registerUIRenderers, k as resolveCreateCardFeatureLabels, i as setGlobalWidgetConfig, s as subscribeToGlobalWidgetInitState, a as updateGlobalWidgetConfig, g as useDisclosuresAcceptanceSurface, _ as useOwnWidgetConfig, v as useRefetchWidget, y as useWidgetConfig, b as useWidgetError, x as useWidgetLoading, m as useWidgetToken };
|
|
@@ -703,6 +703,14 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
703
703
|
* thrown from `onError` propagate per `react-error-boundary` semantics.
|
|
704
704
|
*/
|
|
705
705
|
onError?: (error: unknown, info: ErrorInfo) => void;
|
|
706
|
+
/**
|
|
707
|
+
* Accept surface shown when an ACTIVE user owes a new disclosure version.
|
|
708
|
+
* Pass `<AcceptDisclosuresWidget disclosureLinks={…} />` (no invite
|
|
709
|
+
* credentials). Cascades like `linkComponent`. Omit on INVITED — that
|
|
710
|
+
* path still uses invite-link `invitationToken`/`userId` on the host
|
|
711
|
+
* landing page. WidgetProvider cannot import the widget itself (cycle).
|
|
712
|
+
*/
|
|
713
|
+
disclosuresAcceptance?: ReactNode;
|
|
706
714
|
}
|
|
707
715
|
|
|
708
716
|
/**
|
|
@@ -775,7 +783,7 @@ type AcceptDisclosuresWidgetProps = WidgetProviderProps & InnerProps;
|
|
|
775
783
|
* passes neither, and the same init refresh clears the gate that mounted this.
|
|
776
784
|
* See `WidgetSuite`, which mounts it as its acceptance state.
|
|
777
785
|
*/
|
|
778
|
-
declare function AcceptDisclosuresWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, ...innerProps }: AcceptDisclosuresWidgetProps): React.JSX.Element;
|
|
786
|
+
declare function AcceptDisclosuresWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: AcceptDisclosuresWidgetProps): React.JSX.Element;
|
|
779
787
|
|
|
780
788
|
export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, AcceptDisclosuresWidget };
|
|
781
789
|
export type { AcceptDisclosuresLinks, AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps };
|
|
@@ -609,6 +609,14 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
609
609
|
* thrown from `onError` propagate per `react-error-boundary` semantics.
|
|
610
610
|
*/
|
|
611
611
|
onError?: (error: unknown, info: ErrorInfo) => void;
|
|
612
|
+
/**
|
|
613
|
+
* Accept surface shown when an ACTIVE user owes a new disclosure version.
|
|
614
|
+
* Pass `<AcceptDisclosuresWidget disclosureLinks={…} />` (no invite
|
|
615
|
+
* credentials). Cascades like `linkComponent`. Omit on INVITED — that
|
|
616
|
+
* path still uses invite-link `invitationToken`/`userId` on the host
|
|
617
|
+
* landing page. WidgetProvider cannot import the widget itself (cycle).
|
|
618
|
+
*/
|
|
619
|
+
disclosuresAcceptance?: ReactNode;
|
|
612
620
|
}
|
|
613
621
|
|
|
614
622
|
interface BalancesWidgetWithContextProps {
|
|
@@ -855,6 +855,14 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
855
855
|
* thrown from `onError` propagate per `react-error-boundary` semantics.
|
|
856
856
|
*/
|
|
857
857
|
onError?: (error: unknown, info: ErrorInfo) => void;
|
|
858
|
+
/**
|
|
859
|
+
* Accept surface shown when an ACTIVE user owes a new disclosure version.
|
|
860
|
+
* Pass `<AcceptDisclosuresWidget disclosureLinks={…} />` (no invite
|
|
861
|
+
* credentials). Cascades like `linkComponent`. Omit on INVITED — that
|
|
862
|
+
* path still uses invite-link `invitationToken`/`userId` on the host
|
|
863
|
+
* landing page. WidgetProvider cannot import the widget itself (cycle).
|
|
864
|
+
*/
|
|
865
|
+
disclosuresAcceptance?: ReactNode;
|
|
858
866
|
}
|
|
859
867
|
|
|
860
868
|
/**
|
|
@@ -947,7 +955,7 @@ interface BankAccountOnboardingWidgetInnerProps {
|
|
|
947
955
|
onOpenChange?: (open: boolean) => void;
|
|
948
956
|
}
|
|
949
957
|
type BankAccountOnboardingWidgetProps = WidgetProviderProps & BankAccountOnboardingWidgetInnerProps;
|
|
950
|
-
declare function BankAccountOnboardingWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, ...innerProps }: BankAccountOnboardingWidgetProps): React.JSX.Element;
|
|
958
|
+
declare function BankAccountOnboardingWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: BankAccountOnboardingWidgetProps): React.JSX.Element;
|
|
951
959
|
|
|
952
960
|
export { ADDITIONAL_OWNERS_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BankAccountOnboardingWidget, PERSONAL_DETAILS_LABELS_EN, RESULT_LABELS_EN };
|
|
953
961
|
export type { AdditionalOwner, AdditionalOwnersLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CompanyStructureValue, DisclosureLinks, MarketingWidgetContent, PersonalDetailsLabels, PersonalDetailsValues, ResultLabels };
|
|
@@ -627,6 +627,14 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
627
627
|
* thrown from `onError` propagate per `react-error-boundary` semantics.
|
|
628
628
|
*/
|
|
629
629
|
onError?: (error: unknown, info: ErrorInfo) => void;
|
|
630
|
+
/**
|
|
631
|
+
* Accept surface shown when an ACTIVE user owes a new disclosure version.
|
|
632
|
+
* Pass `<AcceptDisclosuresWidget disclosureLinks={…} />` (no invite
|
|
633
|
+
* credentials). Cascades like `linkComponent`. Omit on INVITED — that
|
|
634
|
+
* path still uses invite-link `invitationToken`/`userId` on the host
|
|
635
|
+
* landing page. WidgetProvider cannot import the widget itself (cycle).
|
|
636
|
+
*/
|
|
637
|
+
disclosuresAcceptance?: ReactNode;
|
|
630
638
|
}
|
|
631
639
|
|
|
632
640
|
interface Labels {
|
|
@@ -725,7 +733,7 @@ interface BankAccountsWidgetProps extends WidgetProviderProps {
|
|
|
725
733
|
/** Called when the user opens account details or goes back to the list. */
|
|
726
734
|
onSelectedAccountIdChange?: (accountId: string | null) => void;
|
|
727
735
|
}
|
|
728
|
-
declare function BankAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, ...innerProps }: BankAccountsWidgetProps): React.JSX.Element;
|
|
736
|
+
declare function BankAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: BankAccountsWidgetProps): React.JSX.Element;
|
|
729
737
|
|
|
730
738
|
export { BankAccountsWidget };
|
|
731
739
|
export type { Labels as AccountDetailsWidgetLabels, FeatureLabels as BankAccountsWidgetFeatureLabels, Labels$1 as BankAccountsWidgetLabels, BankAccountsWidgetProps };
|
|
@@ -739,6 +739,14 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
739
739
|
* thrown from `onError` propagate per `react-error-boundary` semantics.
|
|
740
740
|
*/
|
|
741
741
|
onError?: (error: unknown, info: ErrorInfo) => void;
|
|
742
|
+
/**
|
|
743
|
+
* Accept surface shown when an ACTIVE user owes a new disclosure version.
|
|
744
|
+
* Pass `<AcceptDisclosuresWidget disclosureLinks={…} />` (no invite
|
|
745
|
+
* credentials). Cascades like `linkComponent`. Omit on INVITED — that
|
|
746
|
+
* path still uses invite-link `invitationToken`/`userId` on the host
|
|
747
|
+
* landing page. WidgetProvider cannot import the widget itself (cycle).
|
|
748
|
+
*/
|
|
749
|
+
disclosuresAcceptance?: ReactNode;
|
|
742
750
|
}
|
|
743
751
|
|
|
744
752
|
type MoniteRegionProviderProps = WidgetProviderProps & MoniteWrapperProps;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { BillPayWidget as e } from "../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
1
|
+
import { BillPayWidget as e } from "../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js";
|
|
2
2
|
import "../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js";
|
|
3
3
|
export { e as BillPayWidget };
|
|
@@ -633,6 +633,14 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
633
633
|
* thrown from `onError` propagate per `react-error-boundary` semantics.
|
|
634
634
|
*/
|
|
635
635
|
onError?: (error: unknown, info: ErrorInfo) => void;
|
|
636
|
+
/**
|
|
637
|
+
* Accept surface shown when an ACTIVE user owes a new disclosure version.
|
|
638
|
+
* Pass `<AcceptDisclosuresWidget disclosureLinks={…} />` (no invite
|
|
639
|
+
* credentials). Cascades like `linkComponent`. Omit on INVITED — that
|
|
640
|
+
* path still uses invite-link `invitationToken`/`userId` on the host
|
|
641
|
+
* landing page. WidgetProvider cannot import the widget itself (cycle).
|
|
642
|
+
*/
|
|
643
|
+
disclosuresAcceptance?: ReactNode;
|
|
636
644
|
}
|
|
637
645
|
|
|
638
646
|
/**
|
|
@@ -768,7 +776,7 @@ interface CardDetailsWidgetProps extends WidgetProviderProps {
|
|
|
768
776
|
* Both placements are covered by specs, because they take different code paths
|
|
769
777
|
* through the provider and this export exists for the standalone one.
|
|
770
778
|
*/
|
|
771
|
-
declare function CardDetailsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, ...innerProps }: CardDetailsWidgetProps): React.JSX.Element;
|
|
779
|
+
declare function CardDetailsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: CardDetailsWidgetProps): React.JSX.Element;
|
|
772
780
|
|
|
773
781
|
export { CardDetailsWidget };
|
|
774
782
|
export type { CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps };
|
|
@@ -677,6 +677,14 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
677
677
|
* thrown from `onError` propagate per `react-error-boundary` semantics.
|
|
678
678
|
*/
|
|
679
679
|
onError?: (error: unknown, info: ErrorInfo) => void;
|
|
680
|
+
/**
|
|
681
|
+
* Accept surface shown when an ACTIVE user owes a new disclosure version.
|
|
682
|
+
* Pass `<AcceptDisclosuresWidget disclosureLinks={…} />` (no invite
|
|
683
|
+
* credentials). Cascades like `linkComponent`. Omit on INVITED — that
|
|
684
|
+
* path still uses invite-link `invitationToken`/`userId` on the host
|
|
685
|
+
* landing page. WidgetProvider cannot import the widget itself (cycle).
|
|
686
|
+
*/
|
|
687
|
+
disclosuresAcceptance?: ReactNode;
|
|
680
688
|
}
|
|
681
689
|
|
|
682
690
|
/**
|
|
@@ -1151,7 +1159,7 @@ interface CardsWidgetProps extends WidgetProviderProps {
|
|
|
1151
1159
|
* inside `WidgetProvider`'s subtree, which is what the data-access hooks read
|
|
1152
1160
|
* their client, org and token from.
|
|
1153
1161
|
*/
|
|
1154
|
-
declare function CardsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, ...innerProps }: CardsWidgetProps): React.JSX.Element;
|
|
1162
|
+
declare function CardsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: CardsWidgetProps): React.JSX.Element;
|
|
1155
1163
|
|
|
1156
1164
|
export { CardsWidget };
|
|
1157
1165
|
export type { CardsFeatureLabels as CardsWidgetFeatureLabels, CardsListLabels as CardsWidgetLabels, CardsWidgetPagination, CardsWidgetProps };
|
|
@@ -835,6 +835,14 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
835
835
|
* thrown from `onError` propagate per `react-error-boundary` semantics.
|
|
836
836
|
*/
|
|
837
837
|
onError?: (error: unknown, info: ErrorInfo) => void;
|
|
838
|
+
/**
|
|
839
|
+
* Accept surface shown when an ACTIVE user owes a new disclosure version.
|
|
840
|
+
* Pass `<AcceptDisclosuresWidget disclosureLinks={…} />` (no invite
|
|
841
|
+
* credentials). Cascades like `linkComponent`. Omit on INVITED — that
|
|
842
|
+
* path still uses invite-link `invitationToken`/`userId` on the host
|
|
843
|
+
* landing page. WidgetProvider cannot import the widget itself (cycle).
|
|
844
|
+
*/
|
|
845
|
+
disclosuresAcceptance?: ReactNode;
|
|
838
846
|
}
|
|
839
847
|
|
|
840
848
|
/**
|
|
@@ -919,7 +927,7 @@ type ChartOfAccountsWidgetProps = WidgetProviderProps & TableProps & ChartOfAcco
|
|
|
919
927
|
* />
|
|
920
928
|
* ```
|
|
921
929
|
*/
|
|
922
|
-
declare function ChartOfAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, analytics, errorFallback, onError, ...tableProps }: ChartOfAccountsWidgetProps): React.JSX.Element;
|
|
930
|
+
declare function ChartOfAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, analytics, disclosuresAcceptance, errorFallback, onError, ...tableProps }: ChartOfAccountsWidgetProps): React.JSX.Element;
|
|
923
931
|
|
|
924
932
|
export { ACCOUNT_DELETE_DIALOG_LABELS_EN, ACCOUNT_FORM_SHEET_LABELS_EN, AccountDeleteDialog, AccountFormSheet, CHART_OF_ACCOUNTS_LABELS_EN, CHART_OF_ACCOUNTS_MESSAGE_LABELS_EN, ChartOfAccountsTable, ChartOfAccountsWidget };
|
|
925
933
|
export type { AccountDeleteDialogLabels, AccountDeleteDialogProps, AccountFormErrors, AccountFormMode, AccountFormSheetLabels, AccountFormSheetProps, AccountFormValues, ChartOfAccountsLabels, ChartOfAccountsMessageLabels, ChartOfAccountsTableProps, ChartOfAccountsWidgetLabelProps, ChartOfAccountsWidgetProps, LedgerAccountRow };
|
|
@@ -588,6 +588,14 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
588
588
|
* thrown from `onError` propagate per `react-error-boundary` semantics.
|
|
589
589
|
*/
|
|
590
590
|
onError?: (error: unknown, info: ErrorInfo) => void;
|
|
591
|
+
/**
|
|
592
|
+
* Accept surface shown when an ACTIVE user owes a new disclosure version.
|
|
593
|
+
* Pass `<AcceptDisclosuresWidget disclosureLinks={…} />` (no invite
|
|
594
|
+
* credentials). Cascades like `linkComponent`. Omit on INVITED — that
|
|
595
|
+
* path still uses invite-link `invitationToken`/`userId` on the host
|
|
596
|
+
* landing page. WidgetProvider cannot import the widget itself (cycle).
|
|
597
|
+
*/
|
|
598
|
+
disclosuresAcceptance?: ReactNode;
|
|
591
599
|
}
|
|
592
600
|
|
|
593
601
|
interface AddressFieldGroupLabels {
|
|
@@ -859,7 +867,7 @@ type CounterpartsWidgetProps = WidgetProviderProps & CounterpartsWidgetOwnProps;
|
|
|
859
867
|
* />
|
|
860
868
|
* ```
|
|
861
869
|
*/
|
|
862
|
-
declare function CounterpartsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, ...innerProps }: CounterpartsWidgetProps): React.JSX.Element;
|
|
870
|
+
declare function CounterpartsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: CounterpartsWidgetProps): React.JSX.Element;
|
|
863
871
|
|
|
864
872
|
export { CounterpartsWidget };
|
|
865
873
|
export type { AddressFormSheetLabels, BankAccountFormSheetLabels, ConfirmDeleteDialogLabels, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps };
|
|
@@ -650,6 +650,14 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
650
650
|
* thrown from `onError` propagate per `react-error-boundary` semantics.
|
|
651
651
|
*/
|
|
652
652
|
onError?: (error: unknown, info: ErrorInfo) => void;
|
|
653
|
+
/**
|
|
654
|
+
* Accept surface shown when an ACTIVE user owes a new disclosure version.
|
|
655
|
+
* Pass `<AcceptDisclosuresWidget disclosureLinks={…} />` (no invite
|
|
656
|
+
* credentials). Cascades like `linkComponent`. Omit on INVITED — that
|
|
657
|
+
* path still uses invite-link `invitationToken`/`userId` on the host
|
|
658
|
+
* landing page. WidgetProvider cannot import the widget itself (cycle).
|
|
659
|
+
*/
|
|
660
|
+
disclosuresAcceptance?: ReactNode;
|
|
653
661
|
}
|
|
654
662
|
|
|
655
663
|
interface CreateCardFeatureLabels {
|
|
@@ -697,7 +705,7 @@ type CreateCardWidgetProps = WidgetProviderProps & {
|
|
|
697
705
|
* Self-contained Create Card widget. Issues a debit card via the Embed API and
|
|
698
706
|
* drives setup → preparing → success with sonner toasts for the mutation.
|
|
699
707
|
*/
|
|
700
|
-
declare function CreateCardWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, ...innerProps }: CreateCardWidgetProps): React.JSX.Element;
|
|
708
|
+
declare function CreateCardWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: CreateCardWidgetProps): React.JSX.Element;
|
|
701
709
|
|
|
702
710
|
/** Opaque UI format values — mapped to API `DebitCardType` in the feature. */
|
|
703
711
|
declare const CardFormatValue: {
|
|
@@ -588,6 +588,14 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
588
588
|
* thrown from `onError` propagate per `react-error-boundary` semantics.
|
|
589
589
|
*/
|
|
590
590
|
onError?: (error: unknown, info: ErrorInfo) => void;
|
|
591
|
+
/**
|
|
592
|
+
* Accept surface shown when an ACTIVE user owes a new disclosure version.
|
|
593
|
+
* Pass `<AcceptDisclosuresWidget disclosureLinks={…} />` (no invite
|
|
594
|
+
* credentials). Cascades like `linkComponent`. Omit on INVITED — that
|
|
595
|
+
* path still uses invite-link `invitationToken`/`userId` on the host
|
|
596
|
+
* landing page. WidgetProvider cannot import the widget itself (cycle).
|
|
597
|
+
*/
|
|
598
|
+
disclosuresAcceptance?: ReactNode;
|
|
591
599
|
}
|
|
592
600
|
|
|
593
601
|
type ExpenseApprovalPoliciesWidgetProps = WidgetProviderProps & {
|
|
@@ -596,7 +604,7 @@ type ExpenseApprovalPoliciesWidgetProps = WidgetProviderProps & {
|
|
|
596
604
|
/** @deprecated Use `organizationId` instead */
|
|
597
605
|
orgId?: string | null;
|
|
598
606
|
};
|
|
599
|
-
declare function ExpenseApprovalPoliciesWidget({ token, orgId, widgetToken, organizationId, baseUrl, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, }?: ExpenseApprovalPoliciesWidgetProps): React.JSX.Element;
|
|
607
|
+
declare function ExpenseApprovalPoliciesWidget({ token, orgId, widgetToken, organizationId, baseUrl, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, disclosuresAcceptance, }?: ExpenseApprovalPoliciesWidgetProps): React.JSX.Element;
|
|
600
608
|
|
|
601
609
|
export { ExpenseApprovalPoliciesWidget };
|
|
602
610
|
export type { ExpenseApprovalPoliciesWidgetProps };
|
|
@@ -621,6 +621,14 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
621
621
|
* thrown from `onError` propagate per `react-error-boundary` semantics.
|
|
622
622
|
*/
|
|
623
623
|
onError?: (error: unknown, info: ErrorInfo) => void;
|
|
624
|
+
/**
|
|
625
|
+
* Accept surface shown when an ACTIVE user owes a new disclosure version.
|
|
626
|
+
* Pass `<AcceptDisclosuresWidget disclosureLinks={…} />` (no invite
|
|
627
|
+
* credentials). Cascades like `linkComponent`. Omit on INVITED — that
|
|
628
|
+
* path still uses invite-link `invitationToken`/`userId` on the host
|
|
629
|
+
* landing page. WidgetProvider cannot import the widget itself (cycle).
|
|
630
|
+
*/
|
|
631
|
+
disclosuresAcceptance?: ReactNode;
|
|
624
632
|
}
|
|
625
633
|
|
|
626
634
|
interface ExpenseManagementWidgetProps extends WidgetProviderProps {
|
|
@@ -631,7 +639,7 @@ interface ExpenseManagementWidgetProps extends WidgetProviderProps {
|
|
|
631
639
|
policiesContent?: ReactNode;
|
|
632
640
|
requirementsContent?: ReactNode;
|
|
633
641
|
}
|
|
634
|
-
declare function ExpenseManagementWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, ...innerProps }: ExpenseManagementWidgetProps): React.JSX.Element;
|
|
642
|
+
declare function ExpenseManagementWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: ExpenseManagementWidgetProps): React.JSX.Element;
|
|
635
643
|
|
|
636
644
|
export { ExpenseManagementWidget };
|
|
637
645
|
export type { Labels as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps };
|
|
@@ -588,6 +588,14 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
588
588
|
* thrown from `onError` propagate per `react-error-boundary` semantics.
|
|
589
589
|
*/
|
|
590
590
|
onError?: (error: unknown, info: ErrorInfo) => void;
|
|
591
|
+
/**
|
|
592
|
+
* Accept surface shown when an ACTIVE user owes a new disclosure version.
|
|
593
|
+
* Pass `<AcceptDisclosuresWidget disclosureLinks={…} />` (no invite
|
|
594
|
+
* credentials). Cascades like `linkComponent`. Omit on INVITED — that
|
|
595
|
+
* path still uses invite-link `invitationToken`/`userId` on the host
|
|
596
|
+
* landing page. WidgetProvider cannot import the widget itself (cycle).
|
|
597
|
+
*/
|
|
598
|
+
disclosuresAcceptance?: ReactNode;
|
|
591
599
|
}
|
|
592
600
|
|
|
593
601
|
type ExpenseRequirementsWidgetProps = WidgetProviderProps & {
|
|
@@ -596,7 +604,7 @@ type ExpenseRequirementsWidgetProps = WidgetProviderProps & {
|
|
|
596
604
|
/** @deprecated Use `organizationId` instead */
|
|
597
605
|
orgId?: string | null;
|
|
598
606
|
};
|
|
599
|
-
declare function ExpenseRequirementsWidget({ token, orgId, widgetToken, organizationId, baseUrl, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, }?: ExpenseRequirementsWidgetProps): React.JSX.Element;
|
|
607
|
+
declare function ExpenseRequirementsWidget({ token, orgId, widgetToken, organizationId, baseUrl, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, disclosuresAcceptance, }?: ExpenseRequirementsWidgetProps): React.JSX.Element;
|
|
600
608
|
|
|
601
609
|
export { ExpenseRequirementsWidget };
|
|
602
610
|
export type { ExpenseRequirementsWidgetProps };
|
package/dist/lib/HelpWidget.d.ts
CHANGED
|
@@ -672,6 +672,14 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
672
672
|
* thrown from `onError` propagate per `react-error-boundary` semantics.
|
|
673
673
|
*/
|
|
674
674
|
onError?: (error: unknown, info: ErrorInfo) => void;
|
|
675
|
+
/**
|
|
676
|
+
* Accept surface shown when an ACTIVE user owes a new disclosure version.
|
|
677
|
+
* Pass `<AcceptDisclosuresWidget disclosureLinks={…} />` (no invite
|
|
678
|
+
* credentials). Cascades like `linkComponent`. Omit on INVITED — that
|
|
679
|
+
* path still uses invite-link `invitationToken`/`userId` on the host
|
|
680
|
+
* landing page. WidgetProvider cannot import the widget itself (cycle).
|
|
681
|
+
*/
|
|
682
|
+
disclosuresAcceptance?: ReactNode;
|
|
675
683
|
}
|
|
676
684
|
|
|
677
685
|
/**
|
|
@@ -696,7 +704,7 @@ type HelpWidgetProps = WidgetProviderProps & HelpContentProps;
|
|
|
696
704
|
* <HelpWidget bankName="Acme Bank" contactUrl="https://acme.example/support" />
|
|
697
705
|
* ```
|
|
698
706
|
*/
|
|
699
|
-
declare function HelpWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, ...contentProps }: HelpWidgetProps): React.JSX.Element;
|
|
707
|
+
declare function HelpWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...contentProps }: HelpWidgetProps): React.JSX.Element;
|
|
700
708
|
|
|
701
709
|
export { HELP_FAQ_EN, HELP_WIDGET_LABELS_EN, HelpWidget };
|
|
702
710
|
export type { HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, HelpWidgetLabels, HelpWidgetProps };
|
|
@@ -624,6 +624,14 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
624
624
|
* thrown from `onError` propagate per `react-error-boundary` semantics.
|
|
625
625
|
*/
|
|
626
626
|
onError?: (error: unknown, info: ErrorInfo) => void;
|
|
627
|
+
/**
|
|
628
|
+
* Accept surface shown when an ACTIVE user owes a new disclosure version.
|
|
629
|
+
* Pass `<AcceptDisclosuresWidget disclosureLinks={…} />` (no invite
|
|
630
|
+
* credentials). Cascades like `linkComponent`. Omit on INVITED — that
|
|
631
|
+
* path still uses invite-link `invitationToken`/`userId` on the host
|
|
632
|
+
* landing page. WidgetProvider cannot import the widget itself (cycle).
|
|
633
|
+
*/
|
|
634
|
+
disclosuresAcceptance?: ReactNode;
|
|
627
635
|
}
|
|
628
636
|
|
|
629
637
|
interface InsightsFeatureLabels {
|
|
@@ -618,6 +618,14 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
618
618
|
* thrown from `onError` propagate per `react-error-boundary` semantics.
|
|
619
619
|
*/
|
|
620
620
|
onError?: (error: unknown, info: ErrorInfo) => void;
|
|
621
|
+
/**
|
|
622
|
+
* Accept surface shown when an ACTIVE user owes a new disclosure version.
|
|
623
|
+
* Pass `<AcceptDisclosuresWidget disclosureLinks={…} />` (no invite
|
|
624
|
+
* credentials). Cascades like `linkComponent`. Omit on INVITED — that
|
|
625
|
+
* path still uses invite-link `invitationToken`/`userId` on the host
|
|
626
|
+
* landing page. WidgetProvider cannot import the widget itself (cycle).
|
|
627
|
+
*/
|
|
628
|
+
disclosuresAcceptance?: ReactNode;
|
|
621
629
|
}
|
|
622
630
|
|
|
623
631
|
type MoniteRegionProviderProps = WidgetProviderProps & MoniteWrapperProps;
|
|
@@ -625,7 +633,7 @@ type MoniteRegionProviderProps = WidgetProviderProps & MoniteWrapperProps;
|
|
|
625
633
|
type ReceivablesWidgetMoniteProps = MoniteRegionProviderProps & Omit<ReceivablesProps, 'pageTitleComponent' | 'initialView' | 'initialCounterpartId'> & {
|
|
626
634
|
pageTitleComponent?: ReceivablesProps['pageTitleComponent'];
|
|
627
635
|
};
|
|
628
|
-
declare function ReceivablesWidgetMonite({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, errorFallback, onError, finopsThemeColors, analytics, pageTitleComponent, uiFramework, ...receivablesProps }: ReceivablesWidgetMoniteProps): React.JSX.Element;
|
|
636
|
+
declare function ReceivablesWidgetMonite({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, errorFallback, onError, finopsThemeColors, analytics, disclosuresAcceptance, pageTitleComponent, uiFramework, ...receivablesProps }: ReceivablesWidgetMoniteProps): React.JSX.Element;
|
|
629
637
|
|
|
630
638
|
export { ReceivablesWidgetMonite as InvoicingWidget };
|
|
631
639
|
export type { ReceivablesWidgetMoniteProps as InvoicingWidgetProps };
|
|
@@ -656,6 +656,14 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
656
656
|
* thrown from `onError` propagate per `react-error-boundary` semantics.
|
|
657
657
|
*/
|
|
658
658
|
onError?: (error: unknown, info: ErrorInfo) => void;
|
|
659
|
+
/**
|
|
660
|
+
* Accept surface shown when an ACTIVE user owes a new disclosure version.
|
|
661
|
+
* Pass `<AcceptDisclosuresWidget disclosureLinks={…} />` (no invite
|
|
662
|
+
* credentials). Cascades like `linkComponent`. Omit on INVITED — that
|
|
663
|
+
* path still uses invite-link `invitationToken`/`userId` on the host
|
|
664
|
+
* landing page. WidgetProvider cannot import the widget itself (cycle).
|
|
665
|
+
*/
|
|
666
|
+
disclosuresAcceptance?: ReactNode;
|
|
659
667
|
}
|
|
660
668
|
|
|
661
669
|
interface FeatureLabels {
|
|
@@ -670,7 +678,7 @@ interface LinkedAccountsWidgetProps extends WidgetProviderProps {
|
|
|
670
678
|
labels?: Partial<Labels>;
|
|
671
679
|
featureLabels?: Partial<FeatureLabels>;
|
|
672
680
|
}
|
|
673
|
-
declare function LinkedAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, ...innerProps }: LinkedAccountsWidgetProps): React.JSX.Element;
|
|
681
|
+
declare function LinkedAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: LinkedAccountsWidgetProps): React.JSX.Element;
|
|
674
682
|
|
|
675
683
|
export { LinkedAccountsWidget };
|
|
676
684
|
export type { FeatureLabels as LinkedAccountsWidgetFeatureLabels, Labels as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps };
|
|
@@ -588,6 +588,14 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
588
588
|
* thrown from `onError` propagate per `react-error-boundary` semantics.
|
|
589
589
|
*/
|
|
590
590
|
onError?: (error: unknown, info: ErrorInfo) => void;
|
|
591
|
+
/**
|
|
592
|
+
* Accept surface shown when an ACTIVE user owes a new disclosure version.
|
|
593
|
+
* Pass `<AcceptDisclosuresWidget disclosureLinks={…} />` (no invite
|
|
594
|
+
* credentials). Cascades like `linkComponent`. Omit on INVITED — that
|
|
595
|
+
* path still uses invite-link `invitationToken`/`userId` on the host
|
|
596
|
+
* landing page. WidgetProvider cannot import the widget itself (cycle).
|
|
597
|
+
*/
|
|
598
|
+
disclosuresAcceptance?: ReactNode;
|
|
591
599
|
}
|
|
592
600
|
|
|
593
601
|
interface ProductFormSheetLabels {
|
|
@@ -773,7 +781,7 @@ type ProductsWidgetProps = WidgetProviderProps & ProductsWidgetOwnProps;
|
|
|
773
781
|
* <ProductsWidget baseUrl="https://api.tesouro.com" widgetToken="wt_..." organizationId="org_..." />
|
|
774
782
|
* ```
|
|
775
783
|
*/
|
|
776
|
-
declare function ProductsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, ...innerProps }: ProductsWidgetProps): React.JSX.Element;
|
|
784
|
+
declare function ProductsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: ProductsWidgetProps): React.JSX.Element;
|
|
777
785
|
|
|
778
786
|
export { ProductsWidget };
|
|
779
787
|
export type { MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps };
|