@tesouro/embedded-components-react 0.7.53 → 0.7.57
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 +13 -3
- package/dist/experimental/RemoteCheckCapture.d.ts +1 -32
- package/dist/experimental/index.d.ts +1 -32
- package/dist/index.css +12 -0
- package/dist/index.d.ts +58 -47
- package/dist/index.js +47 -46
- package/dist/lib/AcceptDisclosuresWidget.d.ts +1 -32
- package/dist/lib/BalancesWidget.d.ts +0 -31
- package/dist/lib/BankAccountOnboardingWidget.d.ts +1 -32
- package/dist/lib/BankAccountsWidget.d.ts +1 -32
- package/dist/lib/BankingComplianceBannerWidget.d.ts +643 -0
- package/dist/lib/BankingComplianceBannerWidget.js +5 -0
- package/dist/lib/BillPayWidget.d.ts +0 -31
- package/dist/lib/CardDetailsWidget.d.ts +1 -32
- package/dist/lib/CounterpartsWidget.d.ts +0 -31
- package/dist/lib/CounterpartsWidgetPublic.d.ts +0 -31
- package/dist/lib/CreditCardsWidget.d.ts +0 -31
- package/dist/lib/CustomersWidget.d.ts +1 -33
- package/dist/lib/DebitCardsWidget.d.ts +0 -31
- package/dist/lib/ExpenseManagementWidget.d.ts +0 -31
- package/dist/lib/InsightsWidget.d.ts +0 -31
- package/dist/lib/LinkedAccountsWidget.d.ts +1 -32
- package/dist/lib/OfferWidget.d.ts +1 -32
- package/dist/lib/ProductsWidget.d.ts +1 -32
- package/dist/lib/ReceivablesWidget.d.ts +1 -32
- package/dist/lib/SettingsWidget.d.ts +0 -31
- package/dist/lib/TransfersWidget.d.ts +0 -31
- package/dist/lib/WidgetProvider.d.ts +2 -33
- package/dist/lib/WidgetProvider.js +9 -10
- package/dist/lib/WidgetProviderPublic.d.ts +0 -31
- package/dist/lib/WidgetSuite.d.ts +1 -32
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js +395 -396
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/BankAccountsWidget/BankAccountsWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/data-access/dist/index.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/data-access/dist/index2.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/data-access/dist/index3.js +42 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/index.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/lib/BankingComplianceBannerWidget/BankingComplianceBannerWidget.js +52 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/lib/BankingComplianceBannerWidget/isFdicBacked.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/lib/analytics/events.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/lib/testIds.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/ui/dist/index.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/ui/dist/index2.js +40 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/ui/dist/index3.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/ui/dist/index4.js +60 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index48.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index8.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index20.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index14.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/CardDetailsWidget.js +83 -84
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +15 -16
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/CardsWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/CounterpartsWidget.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +25 -26
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/LinkedAccountsWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/offer-widget/feature/dist/lib/OfferWidget/OfferWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/ProductsWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/RemoteCheckCaptureWidget.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index8.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/help/feature/dist/index3.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index10.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/feature/dist/index4.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index17.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/shared/bank-disclosures/feature/dist/lib/BankDisclosuresWidget/BankDisclosuresWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/index.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js +45 -49
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +91 -95
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/hooks.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/index.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/isDisclosuresAcceptanceRequired.js +2 -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/widget-suite/feature/dist/lib/WidgetSuite/WidgetSuite.js +120 -121
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/types.js +0 -8
|
@@ -45,7 +45,7 @@ function l({ labels: e, accountDetailsLabels: r, featureLabels: l, isBankingTagl
|
|
|
45
45
|
...C
|
|
46
46
|
})] });
|
|
47
47
|
}
|
|
48
|
-
function u({ baseUrl: t, widgetToken: n, organizationId: i, configClient: a, gatewayRouting: o, linkComponent: c,
|
|
48
|
+
function u({ baseUrl: t, widgetToken: n, organizationId: i, configClient: a, gatewayRouting: o, linkComponent: c, uiFramework: u, errorFallback: d, onError: f, analytics: p, disclosuresAcceptance: m, providerLabels: h, ...g }) {
|
|
49
49
|
return /* @__PURE__ */ s(r, {
|
|
50
50
|
widgetName: e,
|
|
51
51
|
baseUrl: t,
|
|
@@ -54,14 +54,13 @@ function u({ baseUrl: t, widgetToken: n, organizationId: i, configClient: a, gat
|
|
|
54
54
|
configClient: a,
|
|
55
55
|
gatewayRouting: o,
|
|
56
56
|
linkComponent: c,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
children: /* @__PURE__ */ s(l, { ..._ })
|
|
57
|
+
uiFramework: u,
|
|
58
|
+
errorFallback: d,
|
|
59
|
+
onError: f,
|
|
60
|
+
analytics: p,
|
|
61
|
+
disclosuresAcceptance: m,
|
|
62
|
+
providerLabels: h,
|
|
63
|
+
children: /* @__PURE__ */ s(l, { ...g })
|
|
65
64
|
});
|
|
66
65
|
}
|
|
67
66
|
//#endregion
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/banking-compliance-banner-widget/data-access/dist/index2.js
|
|
2
|
+
var e = {
|
|
3
|
+
None: "NONE",
|
|
4
|
+
FdicBacked: "FDIC_BACKED"
|
|
5
|
+
}, t = "/identity/v1/financial_institution";
|
|
6
|
+
//#endregion
|
|
7
|
+
export { t as FINANCIAL_INSTITUTION_PATH, e as FdicStatus };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { widgetTokenCacheId as e } from "../../../shared/data-access/dist/lib/widgetTokenCacheId.js";
|
|
6
|
+
import { withAuthEpoch as t } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
|
|
7
|
+
import { useEmbedApi as n } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
8
|
+
import { optionalOrganizationHeaders as r, organizationHeaders as i } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
9
|
+
import "../../../shared/data-access/dist/index.js";
|
|
10
|
+
import { FINANCIAL_INSTITUTION_PATH as a } from "./index2.js";
|
|
11
|
+
import { useQuery as o } from "@tanstack/react-query";
|
|
12
|
+
//#region ../../libs/tesouro-embedded-components-react/banking-compliance-banner-widget/data-access/dist/index3.js
|
|
13
|
+
function s({ enabled: s } = {}) {
|
|
14
|
+
let { client: c, organizationId: l, widgetToken: u, authEpoch: d, organizationStatus: f } = n(), p = async ({ signal: e }) => {
|
|
15
|
+
let { data: t } = await c.get({
|
|
16
|
+
url: a,
|
|
17
|
+
headers: r(l),
|
|
18
|
+
signal: e,
|
|
19
|
+
throwOnError: !0
|
|
20
|
+
});
|
|
21
|
+
if (!t) throw Error("Unexpected financial institution response");
|
|
22
|
+
return t;
|
|
23
|
+
}, { queryKey: m } = t({
|
|
24
|
+
queryKey: [{
|
|
25
|
+
_id: "getFinancialInstitution",
|
|
26
|
+
baseUrl: c.getConfig().baseUrl,
|
|
27
|
+
headers: i(l)
|
|
28
|
+
}],
|
|
29
|
+
queryFn: p
|
|
30
|
+
}, {
|
|
31
|
+
authEpoch: d,
|
|
32
|
+
organizationStatus: f
|
|
33
|
+
});
|
|
34
|
+
return o({
|
|
35
|
+
queryKey: [...m, { widgetTokenId: e(u) }],
|
|
36
|
+
queryFn: p,
|
|
37
|
+
placeholderData: void 0,
|
|
38
|
+
enabled: !!u && (s === !0 || s === void 0)
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
export { s as useFinancialInstitutionQuery };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { useAnalyticsTrack as e } from "../../../../../shared/feature/dist/lib/analytics/hooks.js";
|
|
6
|
+
import { WidgetProvider as t } from "../../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
|
|
7
|
+
import { useWidgetConfig as n, useWidgetInitStaleForToken as r, useWidgetLoading as i } from "../../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
8
|
+
import "../../../../../shared/feature/dist/index.js";
|
|
9
|
+
import { BankingComplianceBannerAnalyticsEvent as a, WIDGET_NAME as o } from "../analytics/events.js";
|
|
10
|
+
import { bankingComplianceBannerTestIds as s } from "../testIds.js";
|
|
11
|
+
import { useFinancialInstitutionQuery as c } from "../../../../data-access/dist/index3.js";
|
|
12
|
+
import "../../../../data-access/dist/index.js";
|
|
13
|
+
import { isFdicBacked as l } from "./isFdicBacked.js";
|
|
14
|
+
import { BANKING_COMPLIANCE_BANNER_LABELS_EN as u } from "../../../../ui/dist/index3.js";
|
|
15
|
+
import { BankingComplianceBanner as d } from "../../../../ui/dist/index4.js";
|
|
16
|
+
import "../../../../ui/dist/index.js";
|
|
17
|
+
import { useEffect as f } from "react";
|
|
18
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
19
|
+
//#region ../../libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/lib/BankingComplianceBannerWidget/BankingComplianceBannerWidget.js
|
|
20
|
+
function m({ bankLogoSrc: t, bankLogoAlt: o, labels: m, className: h }) {
|
|
21
|
+
let g = e();
|
|
22
|
+
f(() => {
|
|
23
|
+
g(a.Mounted);
|
|
24
|
+
}, [g]);
|
|
25
|
+
let { initResponse: _ } = n(), v = i(), y = r() ? void 0 : _, b = c(), x = b.isSuccess && b.isFetchedAfterMount ? b.data : void 0, S = y?.bankName ?? void 0, C = t ? {
|
|
26
|
+
src: t,
|
|
27
|
+
alt: o ?? S ?? m?.providerNameFallback ?? u.providerNameFallback
|
|
28
|
+
} : void 0;
|
|
29
|
+
return /* @__PURE__ */ p(d, {
|
|
30
|
+
providerName: S,
|
|
31
|
+
providerLogo: C,
|
|
32
|
+
isProviderNameLoading: !y && v,
|
|
33
|
+
showFdicSignage: l(x),
|
|
34
|
+
labels: m,
|
|
35
|
+
testIds: s,
|
|
36
|
+
className: h
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
function h({ bankLogoSrc: e, bankLogoAlt: n, labels: r, className: i, ...a }) {
|
|
40
|
+
return /* @__PURE__ */ p(t, {
|
|
41
|
+
...a,
|
|
42
|
+
widgetName: o,
|
|
43
|
+
children: /* @__PURE__ */ p(m, {
|
|
44
|
+
bankLogoSrc: e,
|
|
45
|
+
bankLogoAlt: n,
|
|
46
|
+
labels: r,
|
|
47
|
+
className: i
|
|
48
|
+
})
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
//#endregion
|
|
52
|
+
export { h as BankingComplianceBannerWidget };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FdicStatus as e } from "../../../../data-access/dist/index2.js";
|
|
2
|
+
import "../../../../data-access/dist/index.js";
|
|
3
|
+
//#region ../../libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/lib/BankingComplianceBannerWidget/isFdicBacked.js
|
|
4
|
+
function t(t) {
|
|
5
|
+
return t?.fdicStatus === e.FdicBacked;
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { t as isFdicBacked };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/lib/analytics/events.js
|
|
2
|
+
var e = { Mounted: "banking_compliance_banner.mounted" }, t = "banking_compliance_banner";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as BankingComplianceBannerAnalyticsEvent, t as WIDGET_NAME };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/lib/testIds.js
|
|
2
|
+
var e = {
|
|
3
|
+
root: "banking-compliance-banner",
|
|
4
|
+
providerName: "banking-compliance-banner-provider-name",
|
|
5
|
+
providerLogo: "banking-compliance-banner-provider-logo",
|
|
6
|
+
providerNameLoading: "banking-compliance-banner-provider-name-loading",
|
|
7
|
+
fdicSignage: "banking-compliance-banner-fdic-signage"
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
10
|
+
export { e as bankingComplianceBannerTestIds };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { useId as e } from "react";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region ../../libs/tesouro-embedded-components-react/banking-compliance-banner-widget/ui/dist/index2.js
|
|
4
|
+
function r({ title: r, className: i }) {
|
|
5
|
+
let a = e(), o = `${a}-clip`, s = `${a}-title`;
|
|
6
|
+
return /* @__PURE__ */ n("svg", {
|
|
7
|
+
viewBox: "0 0 46 18",
|
|
8
|
+
fill: "none",
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
role: "img",
|
|
11
|
+
"aria-labelledby": s,
|
|
12
|
+
className: i,
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ t("title", {
|
|
15
|
+
id: s,
|
|
16
|
+
children: r
|
|
17
|
+
}),
|
|
18
|
+
/* @__PURE__ */ n("g", {
|
|
19
|
+
clipPath: `url(#${o})`,
|
|
20
|
+
fill: "currentColor",
|
|
21
|
+
children: [
|
|
22
|
+
/* @__PURE__ */ t("path", { d: "M4.85119 17.952H0V0.0942383H9.9788V4.76193H4.85119V7.65267H9.68264V12.3209H4.85119V17.952Z" }),
|
|
23
|
+
/* @__PURE__ */ t("path", { d: "M25.9108 9.01442C25.9108 0.834634 18.5742 0.0942383 15.5366 0.0942383H10.6465V17.9352H15.5366L15.529 13.2837V4.68818C18.5377 4.68818 21.0939 5.79964 21.0939 8.98596C21.0939 12.1717 18.5377 13.2837 15.529 13.2837L15.5366 17.9352C19.3164 17.9358 25.9108 17.211 25.9108 9.01442Z" }),
|
|
24
|
+
/* @__PURE__ */ t("path", { d: "M31.6022 0.0563965H26.751V17.9513H31.6022V0.0563965Z" }),
|
|
25
|
+
/* @__PURE__ */ t("path", { d: "M41.5067 13.2276C39.1763 13.2276 37.2478 11.3287 37.2478 9.0001C37.2478 6.67148 39.1763 4.772 41.5067 4.772C43.6314 4.772 44.7423 5.90205 45.474 7.39039V0.982918C45.474 0.982918 43.326 0.0195312 41.3243 0.0195312C36.8785 0.0195312 32.0615 4.10884 32.0615 9.0001C32.0615 14.9883 36.656 17.9801 41.3243 17.9801C43.3254 17.9801 45.474 17.0179 45.474 17.0179V10.6661C44.5983 12.176 43.6198 13.2276 41.5067 13.2276Z" })
|
|
26
|
+
]
|
|
27
|
+
}),
|
|
28
|
+
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ t("clipPath", {
|
|
29
|
+
id: o,
|
|
30
|
+
children: /* @__PURE__ */ t("rect", {
|
|
31
|
+
width: "46",
|
|
32
|
+
height: "18",
|
|
33
|
+
fill: "white"
|
|
34
|
+
})
|
|
35
|
+
}) })
|
|
36
|
+
]
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
export { r as FdicLogo };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/banking-compliance-banner-widget/ui/dist/index3.js
|
|
2
|
+
var e = {
|
|
3
|
+
providedByPrefix: "Business Banking provided by",
|
|
4
|
+
providerNameFallback: "our partner bank",
|
|
5
|
+
providerNameLoading: "Loading bank name",
|
|
6
|
+
fdicLogoAlt: "FDIC",
|
|
7
|
+
fdicStatement: "FDIC-Insured—Backed by the full faith and credit of the U.S. Government"
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
10
|
+
export { e as BANKING_COMPLIANCE_BANNER_LABELS_EN };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { Skeleton as e, cn as t } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { BANKING_COMPLIANCE_BANNER_LABELS_EN as n } from "./index3.js";
|
|
3
|
+
import { FdicLogo as r } from "./index2.js";
|
|
4
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
|
+
//#region ../../libs/tesouro-embedded-components-react/banking-compliance-banner-widget/ui/dist/index4.js
|
|
6
|
+
var o = "ttw:text-[#003256] ttw:dark:text-white", s = "ttw:[font-family:'Source_Sans_Pro','Source_Sans_3',ui-sans-serif,system-ui,sans-serif]";
|
|
7
|
+
function c({ providerName: e, providerLogo: c, isProviderNameLoading: u = !1, showFdicSignage: d, labels: f, testIds: p, className: m }) {
|
|
8
|
+
let h = {
|
|
9
|
+
...n,
|
|
10
|
+
...f
|
|
11
|
+
};
|
|
12
|
+
return /* @__PURE__ */ a("div", {
|
|
13
|
+
"data-testid": p?.root,
|
|
14
|
+
className: t("ttw:flex ttw:w-full ttw:flex-wrap ttw:items-center ttw:gap-x-4 ttw:gap-y-2 ttw:px-4 ttw:py-2 ttw:text-sm", m),
|
|
15
|
+
children: [/* @__PURE__ */ a("div", {
|
|
16
|
+
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-muted-foreground",
|
|
17
|
+
children: [/* @__PURE__ */ i("span", { children: h.providedByPrefix }), /* @__PURE__ */ i(l, {
|
|
18
|
+
providerName: e,
|
|
19
|
+
providerLogo: c,
|
|
20
|
+
isLoading: u,
|
|
21
|
+
labels: h,
|
|
22
|
+
testIds: p
|
|
23
|
+
})]
|
|
24
|
+
}), d && /* @__PURE__ */ a("div", {
|
|
25
|
+
"data-testid": p?.fdicSignage,
|
|
26
|
+
className: t("ttw:flex ttw:items-center ttw:gap-2 ttw:border-l ttw:border-border ttw:pl-4", o, s),
|
|
27
|
+
children: [/* @__PURE__ */ i(r, {
|
|
28
|
+
title: h.fdicLogoAlt,
|
|
29
|
+
className: "ttw:h-4 ttw:w-auto ttw:shrink-0"
|
|
30
|
+
}), /* @__PURE__ */ i("span", {
|
|
31
|
+
className: "ttw:text-xs ttw:italic",
|
|
32
|
+
children: h.fdicStatement
|
|
33
|
+
})]
|
|
34
|
+
})]
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
function l({ providerName: t, providerLogo: n, isLoading: r, labels: o, testIds: s }) {
|
|
38
|
+
return n ? /* @__PURE__ */ i("img", {
|
|
39
|
+
"data-testid": s?.providerLogo,
|
|
40
|
+
src: n.src,
|
|
41
|
+
alt: n.alt,
|
|
42
|
+
className: "ttw:h-5 ttw:w-auto ttw:max-w-40 ttw:object-contain"
|
|
43
|
+
}) : r ? /* @__PURE__ */ a("span", {
|
|
44
|
+
"data-testid": s?.providerNameLoading,
|
|
45
|
+
children: [/* @__PURE__ */ i(e, {
|
|
46
|
+
width: 96,
|
|
47
|
+
height: 14,
|
|
48
|
+
"aria-hidden": !0
|
|
49
|
+
}), /* @__PURE__ */ i("span", {
|
|
50
|
+
className: "ttw:sr-only",
|
|
51
|
+
children: o.providerNameLoading
|
|
52
|
+
})]
|
|
53
|
+
}) : /* @__PURE__ */ i("span", {
|
|
54
|
+
"data-testid": s?.providerName,
|
|
55
|
+
className: "ttw:font-semibold ttw:text-foreground",
|
|
56
|
+
children: t || o.providerNameFallback
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
//#endregion
|
|
60
|
+
export { c as BankingComplianceBanner };
|
|
@@ -25,7 +25,7 @@ function l(e) {
|
|
|
25
25
|
function u(e) {
|
|
26
26
|
return c(), /* @__PURE__ */ s(r, { ...e });
|
|
27
27
|
}
|
|
28
|
-
function d({ baseUrl: e, widgetToken: n, organizationId: r, configClient: i, gatewayRouting: o, linkComponent: c,
|
|
28
|
+
function d({ baseUrl: e, widgetToken: n, organizationId: r, configClient: i, gatewayRouting: o, linkComponent: c, uiFramework: u, errorFallback: d, onError: f, analytics: p, disclosuresAcceptance: m, providerLabels: h, ...g }) {
|
|
29
29
|
return /* @__PURE__ */ s(t, {
|
|
30
30
|
widgetName: a,
|
|
31
31
|
baseUrl: e,
|
|
@@ -34,17 +34,16 @@ function d({ baseUrl: e, widgetToken: n, organizationId: r, configClient: i, gat
|
|
|
34
34
|
configClient: i,
|
|
35
35
|
gatewayRouting: o,
|
|
36
36
|
linkComponent: c,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
children: /* @__PURE__ */ s(l, { ..._ })
|
|
37
|
+
uiFramework: u,
|
|
38
|
+
errorFallback: d,
|
|
39
|
+
onError: f,
|
|
40
|
+
analytics: p,
|
|
41
|
+
disclosuresAcceptance: m,
|
|
42
|
+
providerLabels: h,
|
|
43
|
+
children: /* @__PURE__ */ s(l, { ...g })
|
|
45
44
|
});
|
|
46
45
|
}
|
|
47
|
-
function f({ baseUrl: e, widgetToken: n, organizationId: r, configClient: i, gatewayRouting: o, linkComponent: c,
|
|
46
|
+
function f({ baseUrl: e, widgetToken: n, organizationId: r, configClient: i, gatewayRouting: o, linkComponent: c, uiFramework: l, errorFallback: d, onError: f, analytics: p, disclosuresAcceptance: m, providerLabels: h, ...g }) {
|
|
48
47
|
return /* @__PURE__ */ s(t, {
|
|
49
48
|
widgetName: a,
|
|
50
49
|
baseUrl: e,
|
|
@@ -53,14 +52,13 @@ function f({ baseUrl: e, widgetToken: n, organizationId: r, configClient: i, gat
|
|
|
53
52
|
configClient: i,
|
|
54
53
|
gatewayRouting: o,
|
|
55
54
|
linkComponent: c,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
children: /* @__PURE__ */ s(u, { ..._ })
|
|
55
|
+
uiFramework: l,
|
|
56
|
+
errorFallback: d,
|
|
57
|
+
onError: f,
|
|
58
|
+
analytics: p,
|
|
59
|
+
disclosuresAcceptance: m,
|
|
60
|
+
providerLabels: h,
|
|
61
|
+
children: /* @__PURE__ */ s(u, { ...g })
|
|
64
62
|
});
|
|
65
63
|
}
|
|
66
64
|
//#endregion
|
|
@@ -33,7 +33,7 @@ function u({ onOpenBill: t, labels: i, ref: u }) {
|
|
|
33
33
|
testId: a.tray
|
|
34
34
|
}) : null;
|
|
35
35
|
}
|
|
36
|
-
function d({ baseUrl: e, widgetToken: n, organizationId: r, configClient: a, gatewayRouting: o, linkComponent: s,
|
|
36
|
+
function d({ baseUrl: e, widgetToken: n, organizationId: r, configClient: a, gatewayRouting: o, linkComponent: s, uiFramework: c, errorFallback: d, onError: f, analytics: p, disclosuresAcceptance: m, providerLabels: h, ...g }) {
|
|
37
37
|
return /* @__PURE__ */ l(t, {
|
|
38
38
|
widgetName: i,
|
|
39
39
|
baseUrl: e,
|
|
@@ -42,14 +42,13 @@ function d({ baseUrl: e, widgetToken: n, organizationId: r, configClient: a, gat
|
|
|
42
42
|
configClient: a,
|
|
43
43
|
gatewayRouting: o,
|
|
44
44
|
linkComponent: s,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
children: /* @__PURE__ */ l(u, { ..._ })
|
|
45
|
+
uiFramework: c,
|
|
46
|
+
errorFallback: d,
|
|
47
|
+
onError: f,
|
|
48
|
+
analytics: p,
|
|
49
|
+
disclosuresAcceptance: m,
|
|
50
|
+
providerLabels: h,
|
|
51
|
+
children: /* @__PURE__ */ l(u, { ...g })
|
|
53
52
|
});
|
|
54
53
|
}
|
|
55
54
|
//#endregion
|
|
@@ -17,7 +17,7 @@ function s(t) {
|
|
|
17
17
|
i(r.Mounted);
|
|
18
18
|
}, [i]), /* @__PURE__ */ o(n, { ...t });
|
|
19
19
|
}
|
|
20
|
-
function c({ baseUrl: e, widgetToken: n, organizationId: r, configClient: a, gatewayRouting: c, linkComponent: l,
|
|
20
|
+
function c({ baseUrl: e, widgetToken: n, organizationId: r, configClient: a, gatewayRouting: c, linkComponent: l, uiFramework: u, errorFallback: d, onError: f, analytics: p, disclosuresAcceptance: m, providerLabels: h, ...g }) {
|
|
21
21
|
return /* @__PURE__ */ o(t, {
|
|
22
22
|
widgetName: i,
|
|
23
23
|
baseUrl: e,
|
|
@@ -26,14 +26,13 @@ function c({ baseUrl: e, widgetToken: n, organizationId: r, configClient: a, gat
|
|
|
26
26
|
configClient: a,
|
|
27
27
|
gatewayRouting: c,
|
|
28
28
|
linkComponent: l,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
children: /* @__PURE__ */ o(s, { ..._ })
|
|
29
|
+
uiFramework: u,
|
|
30
|
+
errorFallback: d,
|
|
31
|
+
onError: f,
|
|
32
|
+
analytics: p,
|
|
33
|
+
disclosuresAcceptance: m,
|
|
34
|
+
providerLabels: h,
|
|
35
|
+
children: /* @__PURE__ */ o(s, { ...g })
|
|
37
36
|
});
|
|
38
37
|
}
|
|
39
38
|
//#endregion
|
|
@@ -84,7 +84,7 @@ function w({ labels: a, initialTab: c = S.Bills, poweredByBankName: w, onSetting
|
|
|
84
84
|
})
|
|
85
85
|
] });
|
|
86
86
|
}
|
|
87
|
-
function T({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: i, linkComponent: o,
|
|
87
|
+
function T({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: i, linkComponent: o, uiFramework: s, errorFallback: l, onError: u, analytics: d, disclosuresAcceptance: f, providerLabels: p, ...m }) {
|
|
88
88
|
return /* @__PURE__ */ b(a, {
|
|
89
89
|
widgetName: c,
|
|
90
90
|
baseUrl: e,
|
|
@@ -93,14 +93,13 @@ function T({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gat
|
|
|
93
93
|
configClient: r,
|
|
94
94
|
gatewayRouting: i,
|
|
95
95
|
linkComponent: o,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
children: /* @__PURE__ */ b(w, { ...h })
|
|
96
|
+
uiFramework: s,
|
|
97
|
+
errorFallback: l,
|
|
98
|
+
onError: u,
|
|
99
|
+
analytics: d,
|
|
100
|
+
disclosuresAcceptance: f,
|
|
101
|
+
providerLabels: p,
|
|
102
|
+
children: /* @__PURE__ */ b(w, { ...m })
|
|
104
103
|
});
|
|
105
104
|
}
|
|
106
105
|
var E = T;
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index14.js
CHANGED
|
@@ -50,7 +50,7 @@ function g({ payable: t, payableId: s, isPayBillEnabled: g = !0, hasScheduledPay
|
|
|
50
50
|
labels: w?.payBill
|
|
51
51
|
}) : null] });
|
|
52
52
|
}
|
|
53
|
-
function _({ baseUrl: e, widgetToken: n, organizationId: r, configClient: i, gatewayRouting: a, linkComponent: o,
|
|
53
|
+
function _({ baseUrl: e, widgetToken: n, organizationId: r, configClient: i, gatewayRouting: a, linkComponent: o, uiFramework: c, errorFallback: l, onError: u, analytics: d, disclosuresAcceptance: f, providerLabels: p, ...h }) {
|
|
54
54
|
return /* @__PURE__ */ m(t, {
|
|
55
55
|
widgetName: s,
|
|
56
56
|
baseUrl: e,
|
|
@@ -59,14 +59,13 @@ function _({ baseUrl: e, widgetToken: n, organizationId: r, configClient: i, gat
|
|
|
59
59
|
configClient: i,
|
|
60
60
|
gatewayRouting: a,
|
|
61
61
|
linkComponent: o,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
children: /* @__PURE__ */ m(g, { ..._ })
|
|
62
|
+
uiFramework: c,
|
|
63
|
+
errorFallback: l,
|
|
64
|
+
onError: u,
|
|
65
|
+
analytics: d,
|
|
66
|
+
disclosuresAcceptance: f,
|
|
67
|
+
providerLabels: p,
|
|
68
|
+
children: /* @__PURE__ */ m(g, { ...h })
|
|
70
69
|
});
|
|
71
70
|
}
|
|
72
71
|
//#endregion
|