@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.
- package/README.md +0 -3
- package/dist/experimental/RemoteCheckCapture.d.ts +1 -32
- package/dist/experimental/index.d.ts +1 -32
- package/dist/index.d.ts +12 -44
- package/dist/index.js +47 -48
- 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 +0 -31
- 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/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/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
|
@@ -19,30 +19,30 @@ import { resolveOrgId as o, useAuthEpoch as s } from "./utils.js";
|
|
|
19
19
|
import { useWidgetFetch as se } from "./useWidgetFetch.js";
|
|
20
20
|
import { deriveOrganizationStatus as ce } from "./deriveOrganizationStatus.js";
|
|
21
21
|
import { deriveWidgetInitState as le, useWidgetInitPublisher as ue } from "./useWidgetInitPublisher.js";
|
|
22
|
-
import { useEffect as c, useMemo as l, useRef as u, useState as d, useSyncExternalStore as
|
|
23
|
-
import { jsx as
|
|
24
|
-
import { QueryClient as
|
|
22
|
+
import { useEffect as c, useMemo as l, useRef as u, useState as d, useSyncExternalStore as f } from "react";
|
|
23
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
24
|
+
import { QueryClient as m, QueryClientProvider as de } from "@tanstack/react-query";
|
|
25
25
|
//#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js
|
|
26
|
-
function
|
|
27
|
-
let D =
|
|
28
|
-
enabled:
|
|
26
|
+
function h({ children: h, baseUrl: g, widgetToken: _, organizationId: v, configClient: y, gatewayRouting: b, linkComponent: x, uiFramework: S, analytics: C, unstable_initResponseOverride: w, disclosuresAcceptance: T, providerLabels: E }) {
|
|
27
|
+
let D = f(ie, i, i), O = g ?? D.baseUrl, k = _ === void 0 ? D.widgetToken : _, A = v === void 0 ? D.organizationId : v, j = y ?? D.configClient, M = b ?? D.gatewayRouting, N = x ?? D.linkComponent, P = S ?? D.uiFramework, F = C !== !1, [I] = d(oe), L = u({
|
|
28
|
+
enabled: F,
|
|
29
29
|
organizationId: A,
|
|
30
|
-
rootCorrelationId:
|
|
31
|
-
}), [
|
|
30
|
+
rootCorrelationId: I
|
|
31
|
+
}), [R] = d(() => new m({ defaultOptions: {
|
|
32
32
|
queries: {
|
|
33
33
|
retry: !1,
|
|
34
34
|
refetchOnWindowFocus: !1
|
|
35
35
|
},
|
|
36
36
|
mutations: { retry: !1 }
|
|
37
37
|
} }));
|
|
38
|
-
c(() => (t(
|
|
39
|
-
let
|
|
40
|
-
|
|
41
|
-
let
|
|
38
|
+
c(() => (t(R), () => ee(R)), [R]);
|
|
39
|
+
let z = u(k);
|
|
40
|
+
z.current = k;
|
|
41
|
+
let B = u(null), V = l(() => e(B), []), fe = s(k), H = l(() => {
|
|
42
42
|
let e = ae(te(O), {
|
|
43
|
-
tokenRef:
|
|
44
|
-
analyticsContextRef:
|
|
45
|
-
clientSecretRef:
|
|
43
|
+
tokenRef: z,
|
|
44
|
+
analyticsContextRef: L,
|
|
45
|
+
clientSecretRef: B,
|
|
46
46
|
gatewayRouting: M
|
|
47
47
|
});
|
|
48
48
|
return j ? j(e) : e;
|
|
@@ -52,19 +52,19 @@ function m({ children: m, baseUrl: h, widgetToken: g, organizationId: _, configC
|
|
|
52
52
|
M
|
|
53
53
|
]);
|
|
54
54
|
c(() => {
|
|
55
|
-
if (!
|
|
55
|
+
if (!F || !("window" in globalThis)) return;
|
|
56
56
|
let e = !1;
|
|
57
57
|
return import("../analytics/install.js").then(({ ensureAnalyticsAdapterInstalled: t }) => {
|
|
58
58
|
e || t();
|
|
59
59
|
}), () => {
|
|
60
60
|
e = !0;
|
|
61
61
|
};
|
|
62
|
-
}, [
|
|
62
|
+
}, [F]);
|
|
63
63
|
let U = re(r(P));
|
|
64
64
|
c(() => {
|
|
65
65
|
U && U().catch(() => {});
|
|
66
66
|
}, [U]);
|
|
67
|
-
let { result:
|
|
67
|
+
let { result: pe, loading: W, error: G, initStaleForToken: me, initReplacementPending: K, refetch: q } = se(w ? null : H, k, L), J = k ? w ?? pe ?? void 0 : void 0, Y = !w && me, X = o(A, Y ? void 0 : J?.organizationId), he = ce({
|
|
68
68
|
organizationId: X,
|
|
69
69
|
cascadeOrgId: A,
|
|
70
70
|
ownsFetch: !0,
|
|
@@ -73,8 +73,8 @@ function m({ children: m, baseUrl: h, widgetToken: g, organizationId: _, configC
|
|
|
73
73
|
loading: W,
|
|
74
74
|
error: G,
|
|
75
75
|
hasResult: !!J,
|
|
76
|
-
initReplacementPending:
|
|
77
|
-
}),
|
|
76
|
+
initReplacementPending: K
|
|
77
|
+
}), ge = l(() => le({
|
|
78
78
|
hasToken: !!k,
|
|
79
79
|
loading: W,
|
|
80
80
|
error: G,
|
|
@@ -87,28 +87,26 @@ function m({ children: m, baseUrl: h, widgetToken: g, organizationId: _, configC
|
|
|
87
87
|
J,
|
|
88
88
|
Y
|
|
89
89
|
]);
|
|
90
|
-
ue(
|
|
90
|
+
ue(ge, k);
|
|
91
91
|
let Z = l(() => ({
|
|
92
|
-
enabled:
|
|
92
|
+
enabled: F,
|
|
93
93
|
organizationId: X,
|
|
94
|
-
rootCorrelationId:
|
|
94
|
+
rootCorrelationId: I
|
|
95
95
|
}), [
|
|
96
|
-
|
|
96
|
+
F,
|
|
97
97
|
X,
|
|
98
|
-
|
|
98
|
+
I
|
|
99
99
|
]);
|
|
100
|
-
|
|
100
|
+
L.current = Z;
|
|
101
101
|
let Q = l(() => ({
|
|
102
|
-
baseUrl:
|
|
103
|
-
widgetToken:
|
|
104
|
-
organizationId:
|
|
105
|
-
configClient:
|
|
106
|
-
gatewayRouting:
|
|
107
|
-
linkComponent:
|
|
108
|
-
uiFramework:
|
|
109
|
-
implementation: S
|
|
102
|
+
baseUrl: g,
|
|
103
|
+
widgetToken: _,
|
|
104
|
+
organizationId: v,
|
|
105
|
+
configClient: y,
|
|
106
|
+
gatewayRouting: b,
|
|
107
|
+
linkComponent: x,
|
|
108
|
+
uiFramework: S
|
|
110
109
|
}), [
|
|
111
|
-
h,
|
|
112
110
|
g,
|
|
113
111
|
_,
|
|
114
112
|
v,
|
|
@@ -124,7 +122,6 @@ function m({ children: m, baseUrl: h, widgetToken: g, organizationId: _, configC
|
|
|
124
122
|
gatewayRouting: M,
|
|
125
123
|
linkComponent: N,
|
|
126
124
|
uiFramework: P,
|
|
127
|
-
implementation: F,
|
|
128
125
|
initResponse: J
|
|
129
126
|
}), [
|
|
130
127
|
O,
|
|
@@ -134,9 +131,8 @@ function m({ children: m, baseUrl: h, widgetToken: g, organizationId: _, configC
|
|
|
134
131
|
M,
|
|
135
132
|
N,
|
|
136
133
|
P,
|
|
137
|
-
F,
|
|
138
134
|
J
|
|
139
|
-
]),
|
|
135
|
+
]), _e = l(() => ({
|
|
140
136
|
resolved: $,
|
|
141
137
|
own: Q,
|
|
142
138
|
refetch: q,
|
|
@@ -159,25 +155,25 @@ function m({ children: m, baseUrl: h, widgetToken: g, organizationId: _, configC
|
|
|
159
155
|
T,
|
|
160
156
|
E
|
|
161
157
|
]);
|
|
162
|
-
return /* @__PURE__ */
|
|
163
|
-
client:
|
|
164
|
-
children: /* @__PURE__ */
|
|
158
|
+
return /* @__PURE__ */ p(de, {
|
|
159
|
+
client: R,
|
|
160
|
+
children: /* @__PURE__ */ p(n, {
|
|
165
161
|
client: H,
|
|
166
162
|
organizationId: X,
|
|
167
163
|
widgetToken: k,
|
|
168
|
-
installClientSecret:
|
|
169
|
-
authEpoch:
|
|
170
|
-
organizationStatus:
|
|
171
|
-
children: /* @__PURE__ */
|
|
172
|
-
value:
|
|
173
|
-
children: /* @__PURE__ */
|
|
164
|
+
installClientSecret: V,
|
|
165
|
+
authEpoch: fe,
|
|
166
|
+
organizationStatus: he,
|
|
167
|
+
children: /* @__PURE__ */ p(a.Provider, {
|
|
168
|
+
value: _e,
|
|
169
|
+
children: /* @__PURE__ */ p(ne, {
|
|
174
170
|
linkComponent: N,
|
|
175
171
|
uiFramework: P,
|
|
176
|
-
children:
|
|
172
|
+
children: h
|
|
177
173
|
})
|
|
178
174
|
})
|
|
179
175
|
})
|
|
180
176
|
});
|
|
181
177
|
}
|
|
182
178
|
//#endregion
|
|
183
|
-
export {
|
|
179
|
+
export { h as RootWidgetProvider };
|
|
@@ -30,85 +30,85 @@ import { useContext as ye, useEffect as p, useMemo as m, useRef as h, useState a
|
|
|
30
30
|
import { jsx as _ } from "react/jsx-runtime";
|
|
31
31
|
import { QueryClient as xe, QueryClientProvider as Se } from "@tanstack/react-query";
|
|
32
32
|
//#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js
|
|
33
|
-
function v({ children: ne, baseUrl: s, widgetToken: c, organizationId: l, configClient: u, gatewayRouting: d, linkComponent: f, uiFramework: v,
|
|
34
|
-
let
|
|
35
|
-
enabled:
|
|
36
|
-
organizationId:
|
|
37
|
-
rootCorrelationId:
|
|
38
|
-
widgetName:
|
|
39
|
-
widgetInstanceId:
|
|
40
|
-
}),
|
|
33
|
+
function v({ children: ne, baseUrl: s, widgetToken: c, organizationId: l, configClient: u, gatewayRouting: d, linkComponent: f, uiFramework: v, errorFallback: we, onError: Te, analytics: y, disclosuresAcceptance: Ee, providerLabels: De, widgetName: b }) {
|
|
34
|
+
let x = ye(ce), Oe = be(ae, ie, ie), S = x?.resolved ?? Oe, ke = x?.refetch ?? le, Ae = x?.loading ?? !1, je = x?.error ?? null, C = s ?? S.baseUrl, w = c === void 0 ? S.widgetToken : c, Me = x ? x.cascadeOrgId : Oe.organizationId, T = l === void 0 ? Me : l, E = u ?? S.configClient, D = d ?? S.gatewayRouting, O = f ?? S.linkComponent, k = v ?? S.uiFramework, A = Ee ?? x?.disclosuresAcceptance, j = De ?? x?.providerLabels, M = m(() => ge(j), [j]), N = x === null, P = N ? y !== !1 : x.analytics.enabled, [Ne] = g(se), F = N ? Ne : x.analytics.rootCorrelationId, [Pe] = g(se), I = b === void 0 ? x?.analytics.widgetName : b, L = b === void 0 ? x?.analytics.widgetInstanceId : Pe, R = h({
|
|
35
|
+
enabled: P,
|
|
36
|
+
organizationId: T,
|
|
37
|
+
rootCorrelationId: F,
|
|
38
|
+
widgetName: I,
|
|
39
|
+
widgetInstanceId: L
|
|
40
|
+
}), z = h(!1);
|
|
41
41
|
p(() => {
|
|
42
|
-
|
|
43
|
-
}, [
|
|
44
|
-
if (!
|
|
42
|
+
N || y === void 0 || z.current || (z.current = !0, console.warn("[tesouro-embedded] `analytics` on a nested WidgetProvider is ignored in v1. Set it on the outermost RootWidgetProvider or standalone WidgetProvider instead."));
|
|
43
|
+
}, [y, N]), p(() => {
|
|
44
|
+
if (!N || !P || !("window" in globalThis)) return;
|
|
45
45
|
let e = !1;
|
|
46
46
|
return import("../analytics/install.js").then(({ ensureAnalyticsAdapterInstalled: t }) => {
|
|
47
47
|
e || t();
|
|
48
48
|
}), () => {
|
|
49
49
|
e = !0;
|
|
50
50
|
};
|
|
51
|
-
}, [
|
|
52
|
-
let
|
|
51
|
+
}, [N, P]);
|
|
52
|
+
let B = te(o(k));
|
|
53
53
|
p(() => {
|
|
54
|
-
|
|
55
|
-
}, [
|
|
56
|
-
let
|
|
57
|
-
|
|
58
|
-
let
|
|
59
|
-
if (!
|
|
60
|
-
let e = oe(r(
|
|
61
|
-
tokenRef:
|
|
62
|
-
analyticsContextRef:
|
|
63
|
-
clientSecretRef:
|
|
64
|
-
gatewayRouting:
|
|
54
|
+
B && B().catch(() => {});
|
|
55
|
+
}, [B]);
|
|
56
|
+
let V = x === null || s !== void 0 || c !== void 0 || l !== void 0 || u != null || d !== void 0 || b !== void 0, Fe = h(w);
|
|
57
|
+
Fe.current = w;
|
|
58
|
+
let Ie = h(null), Le = m(() => e(Ie), []), Re = a(), ze = de(w), H = m(() => {
|
|
59
|
+
if (!V) return null;
|
|
60
|
+
let e = oe(r(C), {
|
|
61
|
+
tokenRef: Fe,
|
|
62
|
+
analyticsContextRef: R,
|
|
63
|
+
clientSecretRef: Ie,
|
|
64
|
+
gatewayRouting: D
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return E ? E(e) : e;
|
|
67
67
|
}, [
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
]), U =
|
|
73
|
-
hasToken: !!
|
|
68
|
+
V,
|
|
69
|
+
C,
|
|
70
|
+
E,
|
|
71
|
+
D
|
|
72
|
+
]), U = x === null || s !== void 0 || c !== void 0, Be = U ? ze : Re.authEpoch, { result: W, loading: G, error: K, clearedForAuthChange: Ve, initStaleForToken: q, initReplacementPending: He, refetch: Ue } = fe(U ? H : null, U ? w : void 0, R), We = U ? Ue : ke, Ge = U ? G : Ae, Ke = U ? K : je, qe = x?.resolved.initResponse, Je = !U || !Ve && !K && !W && !!w && !G, J = Je ? qe : W ?? void 0, Y = Je ? U || (x?.initResponseStaleForToken ?? !1) : q, Ye = x === null, Xe = m(() => Ye ? me({
|
|
73
|
+
hasToken: !!w,
|
|
74
74
|
loading: G,
|
|
75
75
|
error: K,
|
|
76
76
|
initResponse: W ?? void 0,
|
|
77
77
|
initStaleForToken: q
|
|
78
78
|
}) : null, [
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
Ye,
|
|
80
|
+
w,
|
|
81
81
|
G,
|
|
82
82
|
K,
|
|
83
83
|
W,
|
|
84
84
|
q
|
|
85
85
|
]);
|
|
86
|
-
he(
|
|
87
|
-
let X = ue(
|
|
86
|
+
he(Xe, w);
|
|
87
|
+
let X = ue(T, Y ? void 0 : J?.organizationId), Ze = pe({
|
|
88
88
|
organizationId: X,
|
|
89
|
-
cascadeOrgId:
|
|
89
|
+
cascadeOrgId: T,
|
|
90
90
|
ownsFetch: U,
|
|
91
|
-
parentStatus:
|
|
92
|
-
hasToken: !!
|
|
91
|
+
parentStatus: Re.organizationStatus,
|
|
92
|
+
hasToken: !!w,
|
|
93
93
|
loading: G,
|
|
94
94
|
error: K,
|
|
95
95
|
hasResult: !!W,
|
|
96
|
-
initReplacementPending:
|
|
96
|
+
initReplacementPending: He
|
|
97
97
|
}), Z = m(() => ({
|
|
98
|
-
enabled:
|
|
98
|
+
enabled: P,
|
|
99
99
|
organizationId: X,
|
|
100
|
-
rootCorrelationId:
|
|
101
|
-
widgetName:
|
|
102
|
-
widgetInstanceId:
|
|
100
|
+
rootCorrelationId: F,
|
|
101
|
+
widgetName: I,
|
|
102
|
+
widgetInstanceId: L
|
|
103
103
|
}), [
|
|
104
|
-
|
|
104
|
+
P,
|
|
105
105
|
X,
|
|
106
|
+
F,
|
|
106
107
|
I,
|
|
107
|
-
L
|
|
108
|
-
R
|
|
108
|
+
L
|
|
109
109
|
]);
|
|
110
|
-
|
|
111
|
-
let [Q] = g(() =>
|
|
110
|
+
R.current = Z;
|
|
111
|
+
let [Q] = g(() => x === null ? new xe({ defaultOptions: {
|
|
112
112
|
queries: {
|
|
113
113
|
retry: !1,
|
|
114
114
|
refetchOnWindowFocus: !1
|
|
@@ -120,15 +120,14 @@ function v({ children: ne, baseUrl: s, widgetToken: c, organizationId: l, config
|
|
|
120
120
|
let e = Q;
|
|
121
121
|
return t(e), () => n(e);
|
|
122
122
|
}, [Q]);
|
|
123
|
-
let
|
|
123
|
+
let Qe = m(() => ({
|
|
124
124
|
baseUrl: s,
|
|
125
125
|
widgetToken: c,
|
|
126
126
|
organizationId: l,
|
|
127
127
|
configClient: u,
|
|
128
128
|
gatewayRouting: d,
|
|
129
129
|
linkComponent: f,
|
|
130
|
-
uiFramework: v
|
|
131
|
-
implementation: y
|
|
130
|
+
uiFramework: v
|
|
132
131
|
}), [
|
|
133
132
|
s,
|
|
134
133
|
c,
|
|
@@ -136,76 +135,73 @@ function v({ children: ne, baseUrl: s, widgetToken: c, organizationId: l, config
|
|
|
136
135
|
u,
|
|
137
136
|
d,
|
|
138
137
|
f,
|
|
139
|
-
v
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
widgetToken: T,
|
|
138
|
+
v
|
|
139
|
+
]), $e = m(() => ({
|
|
140
|
+
baseUrl: C,
|
|
141
|
+
widgetToken: w,
|
|
144
142
|
organizationId: X,
|
|
145
|
-
configClient:
|
|
146
|
-
gatewayRouting:
|
|
147
|
-
linkComponent:
|
|
148
|
-
uiFramework:
|
|
149
|
-
implementation: j,
|
|
143
|
+
configClient: E,
|
|
144
|
+
gatewayRouting: D,
|
|
145
|
+
linkComponent: O,
|
|
146
|
+
uiFramework: k,
|
|
150
147
|
initResponse: J
|
|
151
148
|
}), [
|
|
149
|
+
C,
|
|
152
150
|
w,
|
|
153
|
-
T,
|
|
154
151
|
X,
|
|
152
|
+
E,
|
|
155
153
|
D,
|
|
156
154
|
O,
|
|
157
155
|
k,
|
|
158
|
-
A,
|
|
159
|
-
j,
|
|
160
156
|
J
|
|
161
|
-
]),
|
|
162
|
-
resolved:
|
|
163
|
-
own:
|
|
164
|
-
refetch:
|
|
165
|
-
loading:
|
|
166
|
-
error:
|
|
157
|
+
]), et = m(() => ({
|
|
158
|
+
resolved: $e,
|
|
159
|
+
own: Qe,
|
|
160
|
+
refetch: We,
|
|
161
|
+
loading: Ge,
|
|
162
|
+
error: Ke,
|
|
167
163
|
analytics: Z,
|
|
168
|
-
cascadeOrgId:
|
|
164
|
+
cascadeOrgId: T,
|
|
169
165
|
initResponseStaleForToken: Y,
|
|
170
|
-
disclosuresAcceptance:
|
|
171
|
-
providerLabels:
|
|
166
|
+
disclosuresAcceptance: A,
|
|
167
|
+
providerLabels: j
|
|
172
168
|
}), [
|
|
173
|
-
|
|
174
|
-
|
|
169
|
+
$e,
|
|
170
|
+
Qe,
|
|
171
|
+
We,
|
|
172
|
+
Ge,
|
|
175
173
|
Ke,
|
|
176
|
-
qe,
|
|
177
|
-
Je,
|
|
178
174
|
Z,
|
|
179
|
-
|
|
175
|
+
T,
|
|
180
176
|
Y,
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
]),
|
|
184
|
-
value:
|
|
177
|
+
A,
|
|
178
|
+
j
|
|
179
|
+
]), tt = /* @__PURE__ */ _(ce.Provider, {
|
|
180
|
+
value: et,
|
|
185
181
|
children: /* @__PURE__ */ _(ee, {
|
|
186
|
-
linkComponent:
|
|
187
|
-
uiFramework:
|
|
182
|
+
linkComponent: O,
|
|
183
|
+
uiFramework: k,
|
|
188
184
|
children: /* @__PURE__ */ _(re, { children: /* @__PURE__ */ _(_e, {
|
|
189
|
-
resetKeys: [
|
|
185
|
+
resetKeys: [w],
|
|
190
186
|
errorFallback: we,
|
|
191
187
|
onError: Te,
|
|
192
|
-
labels:
|
|
193
|
-
children: ve(J,
|
|
194
|
-
disclosuresAcceptance:
|
|
188
|
+
labels: M,
|
|
189
|
+
children: ve(J, b) ? /* @__PURE__ */ _(Ce, {
|
|
190
|
+
disclosuresAcceptance: A,
|
|
195
191
|
initStaleForToken: Y,
|
|
196
|
-
labels:
|
|
192
|
+
labels: M
|
|
197
193
|
}) : ne
|
|
198
194
|
}) })
|
|
199
195
|
})
|
|
200
196
|
}), $ = H ? /* @__PURE__ */ _(i, {
|
|
201
197
|
client: H,
|
|
202
198
|
organizationId: X,
|
|
203
|
-
widgetToken:
|
|
204
|
-
installClientSecret:
|
|
205
|
-
authEpoch:
|
|
206
|
-
organizationStatus:
|
|
207
|
-
children:
|
|
208
|
-
}) :
|
|
199
|
+
widgetToken: w,
|
|
200
|
+
installClientSecret: Le,
|
|
201
|
+
authEpoch: Be,
|
|
202
|
+
organizationStatus: Ze,
|
|
203
|
+
children: tt
|
|
204
|
+
}) : tt;
|
|
209
205
|
return Q ? /* @__PURE__ */ _(Se, {
|
|
210
206
|
client: Q,
|
|
211
207
|
children: $
|
package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
|
|
2
|
-
var e = "@tesouro/embedded-components-react", t = "0.7.
|
|
2
|
+
var e = "@tesouro/embedded-components-react", t = "0.7.57", n = "5b361b9ab8a83f9f9e3afc8fed9495610a25615a", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|