@tesouro/embedded-components-react 0.7.56 → 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.
Files changed (61) hide show
  1. package/README.md +0 -3
  2. package/dist/experimental/RemoteCheckCapture.d.ts +1 -32
  3. package/dist/experimental/index.d.ts +1 -32
  4. package/dist/index.d.ts +12 -44
  5. package/dist/index.js +47 -48
  6. package/dist/lib/AcceptDisclosuresWidget.d.ts +1 -32
  7. package/dist/lib/BalancesWidget.d.ts +0 -31
  8. package/dist/lib/BankAccountOnboardingWidget.d.ts +1 -32
  9. package/dist/lib/BankAccountsWidget.d.ts +1 -32
  10. package/dist/lib/BankingComplianceBannerWidget.d.ts +0 -31
  11. package/dist/lib/BillPayWidget.d.ts +0 -31
  12. package/dist/lib/CardDetailsWidget.d.ts +1 -32
  13. package/dist/lib/CounterpartsWidget.d.ts +0 -31
  14. package/dist/lib/CounterpartsWidgetPublic.d.ts +0 -31
  15. package/dist/lib/CreditCardsWidget.d.ts +0 -31
  16. package/dist/lib/CustomersWidget.d.ts +1 -33
  17. package/dist/lib/DebitCardsWidget.d.ts +0 -31
  18. package/dist/lib/ExpenseManagementWidget.d.ts +0 -31
  19. package/dist/lib/InsightsWidget.d.ts +0 -31
  20. package/dist/lib/LinkedAccountsWidget.d.ts +1 -32
  21. package/dist/lib/OfferWidget.d.ts +1 -32
  22. package/dist/lib/ProductsWidget.d.ts +1 -32
  23. package/dist/lib/ReceivablesWidget.d.ts +1 -32
  24. package/dist/lib/SettingsWidget.d.ts +0 -31
  25. package/dist/lib/TransfersWidget.d.ts +0 -31
  26. package/dist/lib/WidgetProvider.d.ts +2 -33
  27. package/dist/lib/WidgetProvider.js +9 -10
  28. package/dist/lib/WidgetProviderPublic.d.ts +0 -31
  29. package/dist/lib/WidgetSuite.d.ts +1 -32
  30. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js +8 -9
  31. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js +395 -396
  32. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/BankAccountsWidget/BankAccountsWidget.js +8 -9
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index48.js +16 -18
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index8.js +8 -9
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index20.js +8 -9
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js +8 -9
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index14.js +8 -9
  38. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/CardDetailsWidget.js +83 -84
  39. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +15 -16
  40. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/CardsWidget.js +8 -9
  41. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/CounterpartsWidget.js +9 -10
  42. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +25 -26
  43. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/LinkedAccountsWidget.js +8 -9
  44. package/dist/libs/tesouro-embedded-components-react/offer-widget/feature/dist/lib/OfferWidget/OfferWidget.js +8 -9
  45. package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/ProductsWidget.js +8 -9
  46. package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/RemoteCheckCaptureWidget.js +9 -10
  47. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index8.js +8 -9
  48. package/dist/libs/tesouro-embedded-components-react/settings-widget/help/feature/dist/index3.js +8 -9
  49. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index10.js +9 -10
  50. package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/feature/dist/index4.js +8 -9
  51. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index17.js +8 -9
  52. package/dist/libs/tesouro-embedded-components-react/shared/bank-disclosures/feature/dist/lib/BankDisclosuresWidget/BankDisclosuresWidget.js +8 -9
  53. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/index.js +16 -17
  54. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js +45 -49
  55. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +91 -95
  56. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/hooks.js +0 -1
  57. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/index.js +0 -1
  58. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  59. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/WidgetSuite.js +120 -121
  60. package/package.json +1 -1
  61. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/types.js +0 -8
@@ -16,175 +16,174 @@ import { useOrganizationApplicationStatus as d } from "../../../../../shared/dat
16
16
  import "../../../../../shared/data-access/dist/index.js";
17
17
  import { ErrorState as f } from "../../../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
18
18
  import "../../../../../shared/ui/dist/index.js";
19
- import { useAnalyticsTrack as p } from "../../../../../shared/feature/dist/lib/analytics/hooks.js";
20
- import { WidgetProvider as m } from "../../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
21
- import { useRefetchWidget as h, useWidgetConfig as ee, useWidgetError as g, useWidgetInitStaleForToken as _, useWidgetLoading as v } from "../../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
22
- import { deniedNoticeExpiresAt as te, selectBankAccountApplication as ne } from "../../../../../shared/feature/dist/lib/application/bankAccountApplication.js";
19
+ import { useAnalyticsTrack as ee } from "../../../../../shared/feature/dist/lib/analytics/hooks.js";
20
+ import { WidgetProvider as p } from "../../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
21
+ import { useRefetchWidget as m, useWidgetConfig as te, useWidgetError as h, useWidgetInitStaleForToken as g, useWidgetLoading as _ } from "../../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
22
+ import { deniedNoticeExpiresAt as ne, selectBankAccountApplication as re } from "../../../../../shared/feature/dist/lib/application/bankAccountApplication.js";
23
23
  import "../../../../../shared/feature/dist/index.js";
24
- import { WIDGET_SUITE_SECTIONS as re } from "./sections/index.js";
25
- import { WIDGET_NAME as y, WidgetSuiteAnalyticsEvent as b } from "../analytics/events.js";
26
- import { needsDisclosureAcceptance as x } from "./disclosureGate.js";
27
- import { AcceptDisclosuresWidget as ie } from "../../../../../accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js";
24
+ import { WIDGET_SUITE_SECTIONS as ie } from "./sections/index.js";
25
+ import { WIDGET_NAME as v, WidgetSuiteAnalyticsEvent as y } from "../analytics/events.js";
26
+ import { needsDisclosureAcceptance as b } from "./disclosureGate.js";
27
+ import { AcceptDisclosuresWidget as ae } from "../../../../../accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js";
28
28
  import "../../../../../accept-disclosures-widget/feature/dist/index.js";
29
- import { OnboardingApplicationView as S, onboardingApplicationViewFor as C } from "../../../../../bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/applicationStatusView.js";
30
- import { BankAccountOnboardingWidget as ae } from "../../../../../bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js";
29
+ import { OnboardingApplicationView as x, onboardingApplicationViewFor as S } from "../../../../../bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/applicationStatusView.js";
30
+ import { BankAccountOnboardingWidget as oe } from "../../../../../bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js";
31
31
  import "../../../../../bank-account-onboarding-widget/feature/dist/index.js";
32
- import { useCallback as w, useEffect as T, useMemo as oe, useReducer as E, useRef as D, useState as O } from "react";
33
- import { Fragment as se, jsx as k, jsxs as ce } from "react/jsx-runtime";
32
+ import { useCallback as C, useEffect as w, useMemo as se, useReducer as T, useRef as E, useState as D } from "react";
33
+ import { Fragment as ce, jsx as O, jsxs as le } from "react/jsx-runtime";
34
34
  //#region ../../libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/WidgetSuite.js
35
- var A = {
35
+ var k = {
36
36
  initFailed: "widget-suite-init-failed",
37
37
  disclosuresRefreshFailed: "widget-suite-disclosures-refresh-failed",
38
38
  applicationUnavailable: "widget-suite-application-unavailable"
39
- }, j = 2 ** 31 - 1;
40
- function M({ showSectionTitle: n = !0, onboardingDisclosureLinks: r, onApplicantLatchChange: a, onResultScreenHeldChange: s }) {
41
- let { availableSections: c, activeSection: p, labels: m, navigate: y } = o(), { initResponse: b } = ee(), M = g(), N = _(), P = v(), F = h(), I = u(), L = d(), R = oe(() => ne(L.applications), [L.applications]), z = D(null);
42
- L.isResolved && (z.current = { application: R });
43
- let B = L.isResolved ? R : z.current?.application ?? null, [le, ue] = E((e) => e + 1, 0), V = te(B);
44
- T(() => {
45
- if (V === null) return;
46
- let e = V - Date.now();
39
+ }, A = 2 ** 31 - 1;
40
+ function j({ showSectionTitle: n = !0, onboardingDisclosureLinks: r, onApplicantLatchChange: a, onResultScreenHeldChange: s }) {
41
+ let { availableSections: c, activeSection: ee, labels: p, navigate: v } = o(), { initResponse: y } = te(), j = h(), M = g(), N = _(), P = m(), F = u(), I = d(), L = se(() => re(I.applications), [I.applications]), R = E(null);
42
+ I.isResolved && (R.current = { application: L });
43
+ let z = I.isResolved ? L : R.current?.application ?? null, [ue, de] = T((e) => e + 1, 0), B = ne(z);
44
+ w(() => {
45
+ if (B === null) return;
46
+ let e = B - Date.now();
47
47
  if (e < 0) return;
48
- let t = setTimeout(ue, Math.min(e + 1, j));
48
+ let t = setTimeout(de, Math.min(e + 1, A));
49
49
  return () => clearTimeout(t);
50
- }, [V, le]);
51
- let H = C(B), [U, de] = O(!1), [W, fe] = O(!1), pe = I.isResolved || W, me = w((e) => y(e), [y]), [G, he] = O(!1), ge = w(() => he(!0), []), [K, _e] = O(!1), ve = K || U;
52
- T(() => {
53
- a(ve);
54
- }, [ve, a]);
55
- let [ye, be] = O(!1), xe = U && !ye;
56
- T(() => {
57
- s(xe);
58
- }, [xe, s]);
59
- let q = x(b), J = m.disclosure, Y = m.onboardingGate, X = b?.status === "INVITED", Se = b?.status === "ACTIVE" || b?.status === "INACTIVE", Ce = !!(b && N), we = Ce && (X || Se), Te = !b && !M || we && !M, Z = !!b && !Te && !Ce && !X && !Se && pe && I.reason === l.OrganizationApplicationComplete && !K, Q = D(!1), [Ee, De] = O(!1);
60
- T(() => {
61
- !q && G && he(!1);
62
- }, [G, q]), T(() => {
63
- I.isResolved && !W && fe(!0);
64
- }, [I.isResolved, W]), T(() => {
65
- Z ? Q.current || (Q.current = !0, De(!0), F()) : (Q.current = !1, De(!1));
66
- }, [Z, F]);
67
- let $ = () => /* @__PURE__ */ k(e, {
50
+ }, [B, ue]);
51
+ let V = S(z), [H, fe] = D(!1), [U, pe] = D(!1), me = F.isResolved || U, he = C((e) => v(e), [v]), [W, ge] = D(!1), _e = C(() => ge(!0), []), [G, ve] = D(!1), ye = G || H;
52
+ w(() => {
53
+ a(ye);
54
+ }, [ye, a]);
55
+ let [be, xe] = D(!1), Se = H && !be;
56
+ w(() => {
57
+ s(Se);
58
+ }, [Se, s]);
59
+ let K = b(y), q = p.disclosure, J = p.onboardingGate, Y = y?.status === "INVITED", X = y?.status === "ACTIVE" || y?.status === "INACTIVE", Ce = !!(y && M), we = Ce && (Y || X), Te = !y && !j || we && !j, Z = !!y && !Te && !Ce && !Y && !X && me && F.reason === l.OrganizationApplicationComplete && !G, Q = E(!1), [Ee, De] = D(!1);
60
+ w(() => {
61
+ !K && W && ge(!1);
62
+ }, [W, K]), w(() => {
63
+ F.isResolved && !U && pe(!0);
64
+ }, [F.isResolved, U]), w(() => {
65
+ Z ? Q.current || (Q.current = !0, De(!0), P()) : (Q.current = !1, De(!1));
66
+ }, [Z, P]);
67
+ let $ = () => /* @__PURE__ */ O(e, {
68
68
  isLoading: !0,
69
69
  sections: [],
70
70
  selectedSectionId: "",
71
- onSectionChange: me,
72
- labels: m.shell
71
+ onSectionChange: he,
72
+ labels: p.shell
73
73
  });
74
74
  if (Te) return $();
75
- if ((!b || we) && M) return /* @__PURE__ */ k(f, {
76
- title: J.initFailedState.title,
77
- description: J.initFailedState.body,
78
- retryLabel: J.initFailedState.retryButton,
79
- onRetry: F,
80
- testId: A.initFailed
75
+ if ((!y || we) && j) return /* @__PURE__ */ O(f, {
76
+ title: q.initFailedState.title,
77
+ description: q.initFailedState.body,
78
+ retryLabel: q.initFailedState.retryButton,
79
+ onRetry: P,
80
+ testId: k.initFailed
81
81
  });
82
- let Oe = () => G && M ? /* @__PURE__ */ k(f, {
83
- title: J.refreshFailedState.title,
84
- description: J.refreshFailedState.body,
85
- retryLabel: J.refreshFailedState.retryButton,
86
- onRetry: F,
87
- testId: A.disclosuresRefreshFailed
88
- }) : /* @__PURE__ */ k(ie, { onAccepted: ge });
89
- if (X || Se) {
90
- if (q) return Oe();
91
- } else return pe ? Z ? M || Ee && !P ? /* @__PURE__ */ k(f, {
92
- title: J.initFailedState.title,
93
- description: J.initFailedState.body,
94
- retryLabel: J.initFailedState.retryButton,
95
- onRetry: F,
96
- testId: A.initFailed
97
- }) : $() : !L.isResolved && H !== S.Form && !U ? $() : (H === S.Hidden || H === S.Form && I.isSuppressed) && B?.status !== "COMPLETE" && !U && !K ? /* @__PURE__ */ k(f, {
98
- title: Y.applicationUnavailableState.title,
99
- description: Y.applicationUnavailableState.body,
100
- retryLabel: Y.applicationUnavailableState.retryButton,
101
- onRetry: I.refetch,
102
- testId: A.applicationUnavailable
103
- }) : /* @__PURE__ */ k(ae, {
82
+ let Oe = () => W && j ? /* @__PURE__ */ O(f, {
83
+ title: q.refreshFailedState.title,
84
+ description: q.refreshFailedState.body,
85
+ retryLabel: q.refreshFailedState.retryButton,
86
+ onRetry: P,
87
+ testId: k.disclosuresRefreshFailed
88
+ }) : /* @__PURE__ */ O(ae, { onAccepted: _e });
89
+ if (Y || X) {
90
+ if (K) return Oe();
91
+ } else return me ? Z ? j || Ee && !N ? /* @__PURE__ */ O(f, {
92
+ title: q.initFailedState.title,
93
+ description: q.initFailedState.body,
94
+ retryLabel: q.initFailedState.retryButton,
95
+ onRetry: P,
96
+ testId: k.initFailed
97
+ }) : $() : !I.isResolved && V !== x.Form && !H ? $() : (V === x.Hidden || V === x.Form && F.isSuppressed) && z?.status !== "COMPLETE" && !H && !G ? /* @__PURE__ */ O(f, {
98
+ title: J.applicationUnavailableState.title,
99
+ description: J.applicationUnavailableState.body,
100
+ retryLabel: J.applicationUnavailableState.retryButton,
101
+ onRetry: F.refetch,
102
+ testId: k.applicationUnavailable
103
+ }) : /* @__PURE__ */ O(oe, {
104
104
  isFullScreenInline: !0,
105
105
  showApplicationStatusRefresh: !0,
106
- onResultPhaseChange: de,
107
- onEmbeddedOnboardingCompletedSuccessfully: () => _e(!0),
106
+ onResultPhaseChange: fe,
107
+ onEmbeddedOnboardingCompletedSuccessfully: () => ve(!0),
108
108
  onNavigateToDashboard: () => {
109
- be(!0), c.includes(i.Dashboard) && y(i.Dashboard), F();
109
+ xe(!0), c.includes(i.Dashboard) && v(i.Dashboard), P();
110
110
  },
111
111
  disclosureLinks: r,
112
- ...m.onboarding
112
+ ...p.onboarding
113
113
  }) : $();
114
- let ke = b?.bankName?.trim(), Ae = ke ? m.sectionTitle.bankTagline.replaceAll("{bankName}", ke) : void 0, je = c.map((e) => {
115
- let { Content: r, placesOwnTitle: a } = re[e], o = m.menu[e], s = e === i.Accounts ? void 0 : Ae, c = (e) => /* @__PURE__ */ k(t, {
114
+ let ke = y?.bankName?.trim(), Ae = ke ? p.sectionTitle.bankTagline.replaceAll("{bankName}", ke) : void 0, je = c.map((e) => {
115
+ let { Content: r, placesOwnTitle: a } = ie[e], o = p.menu[e], s = e === i.Accounts ? void 0 : Ae, c = (e) => /* @__PURE__ */ O(t, {
116
116
  title: o,
117
117
  bankTagline: s,
118
118
  children: e
119
- }), l = /* @__PURE__ */ k(r, {});
120
- return n && (l = a ? /* @__PURE__ */ k(r, { renderTitle: c }) : /* @__PURE__ */ ce(se, { children: [c(), /* @__PURE__ */ k(r, {})] })), {
119
+ }), l = /* @__PURE__ */ O(r, {});
120
+ return n && (l = a ? /* @__PURE__ */ O(r, { renderTitle: c }) : /* @__PURE__ */ le(ce, { children: [c(), /* @__PURE__ */ O(r, {})] })), {
121
121
  id: e,
122
122
  label: o,
123
123
  content: l
124
124
  };
125
125
  });
126
- return /* @__PURE__ */ k(e, {
126
+ return /* @__PURE__ */ O(e, {
127
127
  sections: je,
128
- selectedSectionId: p ?? "",
129
- onSectionChange: me,
130
- labels: m.shell
128
+ selectedSectionId: ee ?? "",
129
+ onSectionChange: he,
130
+ labels: p.shell
131
131
  });
132
132
  }
133
- function N({ sections: e = r, section: t, defaultSection: i, onSectionChange: o, labels: l, cardArtSrc: u, ...d }) {
134
- let f = p();
135
- T(() => {
136
- f(b.Mounted);
133
+ function M({ sections: e = r, section: t, defaultSection: i, onSectionChange: o, labels: l, cardArtSrc: u, ...d }) {
134
+ let f = ee();
135
+ w(() => {
136
+ f(y.Mounted);
137
137
  }, [f]);
138
- let { initResponse: m } = ee(), h = m?.scopes, { client: g, widgetToken: _ } = s(), v = m?.userId ?? null, [te, ne] = O(v), [y, x] = O(0);
139
- v !== te && (ne(v), te !== null && x((e) => e + 1));
140
- let [ie, S] = O(g);
141
- g !== ie && (S(g), x((e) => e + 1));
142
- let C = !!_, [ae, w] = O(C);
143
- C !== ae && (w(C), x((e) => e + 1));
144
- let E = m?.organizationId ?? null, [D, se] = O(E);
145
- E !== D && (se(E), D !== null && x((e) => e + 1));
146
- let [ce, A] = O(!1), [j, N] = O(!1), [P, F] = O(null), I = () => {
147
- A(!1), x((e) => e + 1);
148
- }, [L, R] = O(_);
149
- _ !== L && (R(_), ce && v === null && E === null && C === !!L && (j ? F(y) : I())), P !== null && !j && (F(null), P === y && v === null && E === null && I());
150
- let z = oe(() => n(l), [l]), B = e.filter((e) => {
151
- let t = re[e];
152
- return !!t && (!t.anyOfScopes || c(h, t.anyOfScopes));
138
+ let { initResponse: p } = te(), m = p?.scopes, { client: h, widgetToken: g } = s(), _ = p?.userId ?? null, [ne, re] = D(_), [v, b] = D(0);
139
+ _ !== ne && (re(_), ne !== null && b((e) => e + 1));
140
+ let [ae, x] = D(h);
141
+ h !== ae && (x(h), b((e) => e + 1));
142
+ let S = !!g, [oe, C] = D(S);
143
+ S !== oe && (C(S), b((e) => e + 1));
144
+ let T = p?.organizationId ?? null, [E, ce] = D(T);
145
+ T !== E && (ce(T), E !== null && b((e) => e + 1));
146
+ let [le, k] = D(!1), [A, M] = D(!1), [N, P] = D(null), F = () => {
147
+ k(!1), b((e) => e + 1);
148
+ }, [I, L] = D(g);
149
+ g !== I && (L(g), le && _ === null && T === null && S === !!I && (A ? P(v) : F())), N !== null && !A && (P(null), N === v && _ === null && T === null && F());
150
+ let R = se(() => n(l), [l]), z = e.filter((e) => {
151
+ let t = ie[e];
152
+ return !!t && (!t.anyOfScopes || c(m, t.anyOfScopes));
153
153
  });
154
- return /* @__PURE__ */ k(a, {
154
+ return /* @__PURE__ */ O(a, {
155
155
  sections: e,
156
- availableSections: B,
157
- grantedScopes: h,
158
- labels: z,
156
+ availableSections: z,
157
+ grantedScopes: m,
158
+ labels: R,
159
159
  section: t,
160
160
  defaultSection: i,
161
161
  onSectionChange: o,
162
162
  cardArtSrc: u,
163
- children: /* @__PURE__ */ k(M, {
164
- onApplicantLatchChange: A,
165
- onResultScreenHeldChange: N,
163
+ children: /* @__PURE__ */ O(j, {
164
+ onApplicantLatchChange: k,
165
+ onResultScreenHeldChange: M,
166
166
  ...d
167
- }, y)
167
+ }, v)
168
168
  });
169
169
  }
170
- function P({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: i, linkComponent: a, implementation: o, uiFramework: s, errorFallback: c, onError: l, analytics: u, disclosuresAcceptance: d, providerLabels: f, ...p }) {
171
- return /* @__PURE__ */ k(m, {
172
- widgetName: y,
170
+ function N({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: i, linkComponent: a, uiFramework: o, errorFallback: s, onError: c, analytics: l, disclosuresAcceptance: u, providerLabels: d, ...f }) {
171
+ return /* @__PURE__ */ O(p, {
172
+ widgetName: v,
173
173
  baseUrl: e,
174
174
  widgetToken: t,
175
175
  organizationId: n,
176
176
  configClient: r,
177
177
  gatewayRouting: i,
178
178
  linkComponent: a,
179
- implementation: o,
180
- uiFramework: s,
181
- errorFallback: c,
182
- onError: l,
183
- analytics: u,
184
- disclosuresAcceptance: d,
185
- providerLabels: f,
186
- children: /* @__PURE__ */ k(N, { ...p })
179
+ uiFramework: o,
180
+ errorFallback: s,
181
+ onError: c,
182
+ analytics: l,
183
+ disclosuresAcceptance: u,
184
+ providerLabels: d,
185
+ children: /* @__PURE__ */ O(M, { ...f })
187
186
  });
188
187
  }
189
188
  //#endregion
190
- export { A as WIDGET_SUITE_TEST_IDS, P as WidgetSuite, P as default };
189
+ export { k as WIDGET_SUITE_TEST_IDS, N as WidgetSuite, N as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.7.56",
3
+ "version": "0.7.57",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -1,8 +0,0 @@
1
- //#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/types.js
2
- var e = {
3
- Native: "native",
4
- Monite: "monite"
5
- };
6
- e.Native;
7
- //#endregion
8
- export { e as Implementation };