@tesouro/embedded-components-react 0.7.32 → 0.7.35
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 +10 -8
- package/dist/index.d.ts +45 -31
- package/dist/index.js +5 -5
- package/dist/lib/CounterpartsWidget.d.ts +14 -0
- package/dist/lib/CounterpartsWidgetPublic.d.ts +14 -0
- package/dist/lib/CustomersWidget.d.ts +14 -0
- package/dist/lib/{MarketingWidget.d.ts → OfferWidget.d.ts} +31 -31
- package/dist/lib/OfferWidget.js +6 -0
- package/dist/lib/ReceivablesWidget.d.ts +14 -0
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartDetailsActions.js +107 -91
- package/dist/libs/tesouro-embedded-components-react/offer-widget/feature/dist/index.js +5 -0
- package/dist/libs/tesouro-embedded-components-react/{marketing-widget/feature/dist/lib/MarketingWidget/MarketingWidget.js → offer-widget/feature/dist/lib/OfferWidget/OfferWidget.js} +11 -11
- package/dist/libs/tesouro-embedded-components-react/{marketing-widget/feature/dist/lib/MarketingWidget → offer-widget/feature/dist/lib/OfferWidget}/labels.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{marketing-widget/feature/dist/lib/MarketingWidget/marketingApplicationView.js → offer-widget/feature/dist/lib/OfferWidget/offerApplicationView.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/offer-widget/feature/dist/lib/analytics/events.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/{marketing-widget → offer-widget}/feature/dist/lib/testIds.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{marketing-widget → offer-widget}/feature/dist/mocks/labels.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{marketing-widget/feature/dist/mocks/marketing.js → offer-widget/feature/dist/mocks/offer.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/offer-widget/feature/dist/scenarios.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/offer-widget/ui/dist/index.js +5 -0
- package/dist/libs/tesouro-embedded-components-react/offer-widget/ui/dist/index2.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/{marketing-widget → offer-widget}/ui/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{marketing-widget → offer-widget}/ui/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{marketing-widget → offer-widget}/ui/dist/index5.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{marketing-widget → offer-widget}/ui/dist/index6.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{marketing-widget → offer-widget}/ui/dist/index7.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/{marketing-widget → offer-widget}/ui/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/{marketing-widget → offer-widget}/ui/dist/index9.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/labels.js +11 -1
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/subEntityForms.js +36 -38
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useAddressForm.js +43 -41
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useDeleteController.js +40 -34
- 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/mocks/widgetSuite.js +2 -2
- package/dist/scenarios/index.d.ts +2 -2
- package/dist/scenarios/index.js +3 -3
- package/package.json +1 -1
- package/dist/lib/MarketingWidget.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/lib/analytics/events.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/scenarios.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index2.js +0 -10
|
@@ -2,71 +2,73 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
5
|
+
import { toast as e } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import { extractApiErrorMessage as t } from "../../../../util/dist/lib/apiErrors.js";
|
|
7
|
+
import "../../../../ui/dist/index.js";
|
|
8
|
+
import { addressFormToCreatePayload as n, addressFormToUpdatePayload as r, addressResponseToFormValues as i, validateAddressForm as a } from "./helpers.js";
|
|
9
|
+
import { useCreateCounterpartAddressMutation as o, useUpdateCounterpartAddressMutation as s } from "../../../data-access/dist/index7.js";
|
|
8
10
|
import "../../../data-access/dist/index.js";
|
|
9
|
-
import { useCallback as
|
|
11
|
+
import { useCallback as c, useState as l } from "react";
|
|
10
12
|
//#region ../../libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useAddressForm.js
|
|
11
|
-
function
|
|
12
|
-
let
|
|
13
|
+
function u({ selectedId: u, primaryAddress: d, messages: f }) {
|
|
14
|
+
let p = o(), m = s(), [h, g] = l(!1), [_, v] = l(() => ({
|
|
13
15
|
line1: "",
|
|
14
16
|
line2: "",
|
|
15
17
|
city: "",
|
|
16
18
|
state: "",
|
|
17
19
|
postalCode: ""
|
|
18
|
-
})), [
|
|
19
|
-
|
|
20
|
-
}, [
|
|
21
|
-
|
|
20
|
+
})), [y, b] = l({}), [x, S] = l(), C = c(() => {
|
|
21
|
+
d && (v(i(d)), b({}), S(void 0), g(!0));
|
|
22
|
+
}, [d]), w = c(() => {
|
|
23
|
+
v({
|
|
22
24
|
line1: "",
|
|
23
25
|
line2: "",
|
|
24
26
|
city: "",
|
|
25
27
|
state: "",
|
|
26
28
|
postalCode: ""
|
|
27
|
-
}),
|
|
28
|
-
}, []),
|
|
29
|
-
if (!
|
|
30
|
-
let
|
|
31
|
-
if (Object.values(
|
|
32
|
-
|
|
29
|
+
}), b({}), S(void 0), g(!0);
|
|
30
|
+
}, []), T = c(() => g(!1), []), E = c(async () => {
|
|
31
|
+
if (!u) return;
|
|
32
|
+
let i = a(_, f);
|
|
33
|
+
if (Object.values(i).some(Boolean)) {
|
|
34
|
+
b(i);
|
|
33
35
|
return;
|
|
34
36
|
}
|
|
35
|
-
|
|
37
|
+
b({});
|
|
36
38
|
try {
|
|
37
|
-
|
|
39
|
+
d ? (await m.mutateAsync({
|
|
38
40
|
path: {
|
|
39
|
-
counterpart_id:
|
|
40
|
-
address_id:
|
|
41
|
+
counterpart_id: u,
|
|
42
|
+
address_id: d.id
|
|
41
43
|
},
|
|
42
|
-
body:
|
|
43
|
-
}) : await
|
|
44
|
-
path: { counterpart_id:
|
|
45
|
-
body:
|
|
46
|
-
}),
|
|
47
|
-
} catch (
|
|
48
|
-
|
|
44
|
+
body: r(_)
|
|
45
|
+
}), e.success(f.addressUpdated)) : (await p.mutateAsync({
|
|
46
|
+
path: { counterpart_id: u },
|
|
47
|
+
body: n(_)
|
|
48
|
+
}), e.success(f.addressAdded)), g(!1);
|
|
49
|
+
} catch (e) {
|
|
50
|
+
S(t(e) ?? f.genericError);
|
|
49
51
|
}
|
|
50
52
|
}, [
|
|
51
|
-
l,
|
|
52
53
|
u,
|
|
53
|
-
g,
|
|
54
54
|
d,
|
|
55
|
+
_,
|
|
55
56
|
f,
|
|
56
|
-
p
|
|
57
|
+
p,
|
|
58
|
+
m
|
|
57
59
|
]);
|
|
58
60
|
return {
|
|
59
|
-
open:
|
|
60
|
-
values:
|
|
61
|
-
setValues:
|
|
62
|
-
errors:
|
|
63
|
-
formError:
|
|
64
|
-
isPending:
|
|
65
|
-
openCreate:
|
|
66
|
-
openEdit:
|
|
67
|
-
close:
|
|
68
|
-
submit:
|
|
61
|
+
open: h,
|
|
62
|
+
values: _,
|
|
63
|
+
setValues: v,
|
|
64
|
+
errors: y,
|
|
65
|
+
formError: x,
|
|
66
|
+
isPending: p.isPending || m.isPending,
|
|
67
|
+
openCreate: w,
|
|
68
|
+
openEdit: C,
|
|
69
|
+
close: T,
|
|
70
|
+
submit: E
|
|
69
71
|
};
|
|
70
72
|
}
|
|
71
73
|
//#endregion
|
|
72
|
-
export {
|
|
74
|
+
export { u as useAddressForm };
|
|
@@ -2,56 +2,62 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { toast as e } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import { extractApiErrorMessage as t } from "../../../../util/dist/lib/apiErrors.js";
|
|
7
|
+
import "../../../../ui/dist/index.js";
|
|
8
|
+
import { useDeleteCounterpartMutation as n } from "../../../data-access/dist/index3.js";
|
|
9
|
+
import { useDeleteCounterpartBankAccountMutation as r } from "../../../data-access/dist/index5.js";
|
|
7
10
|
import "../../../data-access/dist/index.js";
|
|
8
|
-
import { useCallback as
|
|
11
|
+
import { useCallback as i, useState as a } from "react";
|
|
9
12
|
//#region ../../libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useDeleteController.js
|
|
10
|
-
function
|
|
11
|
-
let
|
|
13
|
+
function o({ selectedId: o, setSelectedId: s, detailsView: c, messages: l }) {
|
|
14
|
+
let u = n(), d = r(), [f, p] = a(null);
|
|
12
15
|
return {
|
|
13
|
-
target:
|
|
14
|
-
requestDeleteCounterpart:
|
|
15
|
-
|
|
16
|
+
target: f,
|
|
17
|
+
requestDeleteCounterpart: i(() => {
|
|
18
|
+
o && c && p({
|
|
16
19
|
kind: "counterpart",
|
|
17
|
-
id:
|
|
18
|
-
label:
|
|
20
|
+
id: o,
|
|
21
|
+
label: c.name
|
|
19
22
|
});
|
|
20
|
-
}, [
|
|
21
|
-
requestDeleteCounterpartById:
|
|
22
|
-
|
|
23
|
+
}, [o, c]),
|
|
24
|
+
requestDeleteCounterpartById: i(({ id: e, name: t }) => {
|
|
25
|
+
p({
|
|
23
26
|
kind: "counterpart",
|
|
24
27
|
id: e,
|
|
25
28
|
label: t
|
|
26
29
|
});
|
|
27
30
|
}, []),
|
|
28
|
-
requestDelete:
|
|
29
|
-
close:
|
|
30
|
-
confirm:
|
|
31
|
-
if (!
|
|
32
|
-
let { kind:
|
|
31
|
+
requestDelete: i((e) => p(e), []),
|
|
32
|
+
close: i(() => p(null), []),
|
|
33
|
+
confirm: i(async () => {
|
|
34
|
+
if (!f) return;
|
|
35
|
+
let { kind: n, id: r } = f;
|
|
33
36
|
try {
|
|
34
|
-
if (
|
|
35
|
-
await
|
|
37
|
+
if (n === "counterpart") {
|
|
38
|
+
await u.mutateAsync({ path: { counterpart_id: r } }), e.success(l.counterpartDeleted), p(null), o === r && s(void 0);
|
|
36
39
|
return;
|
|
37
40
|
}
|
|
38
|
-
if (!
|
|
39
|
-
|
|
40
|
-
counterpart_id:
|
|
41
|
-
bank_account_id:
|
|
42
|
-
} }),
|
|
43
|
-
} catch {
|
|
41
|
+
if (!o) return;
|
|
42
|
+
n === "bankAccount" && (await d.mutateAsync({ path: {
|
|
43
|
+
counterpart_id: o,
|
|
44
|
+
bank_account_id: r
|
|
45
|
+
} }), e.success(l.bankAccountDeleted)), p(null);
|
|
46
|
+
} catch (r) {
|
|
47
|
+
e.error(t(r) ?? (n === "counterpart" ? l.deleteCounterpartFailed : l.deleteBankAccountFailed));
|
|
48
|
+
}
|
|
44
49
|
}, [
|
|
50
|
+
f,
|
|
51
|
+
o,
|
|
45
52
|
u,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
l
|
|
49
|
-
a
|
|
53
|
+
d,
|
|
54
|
+
s,
|
|
55
|
+
l
|
|
50
56
|
]),
|
|
51
|
-
isDeleting:
|
|
52
|
-
dialogTitle:
|
|
53
|
-
dialogMessage:
|
|
57
|
+
isDeleting: u.isPending || d.isPending,
|
|
58
|
+
dialogTitle: f ? f.kind === "counterpart" ? l.deleteTitle.replace("{name}", () => f.label) : l.deleteBankAccountTitle.replace("{account}", () => f.label) : "",
|
|
59
|
+
dialogMessage: f?.kind === "counterpart" ? l.deleteCounterpartMessage : l.deleteBankAccountMessage
|
|
54
60
|
};
|
|
55
61
|
}
|
|
56
62
|
//#endregion
|
|
57
|
-
export {
|
|
63
|
+
export { o as useDeleteController };
|
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.35", n = "23200faee487c4170d4b551363dde15a2d2995fd", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|
package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/mocks/widgetSuite.js
CHANGED
|
@@ -20,8 +20,8 @@ import { insightsScenarios as m } from "../../../../insights-widget/feature/dist
|
|
|
20
20
|
import "../../../../insights-widget/feature/dist/scenarios.js";
|
|
21
21
|
import { linkedAccountsScenarios as h } from "../../../../linked-accounts-widget/feature/dist/mocks/linkedAccounts.js";
|
|
22
22
|
import "../../../../linked-accounts-widget/feature/dist/scenarios.js";
|
|
23
|
-
import {
|
|
24
|
-
import "../../../../
|
|
23
|
+
import { offerScenarios as g } from "../../../../offer-widget/feature/dist/mocks/offer.js";
|
|
24
|
+
import "../../../../offer-widget/feature/dist/scenarios.js";
|
|
25
25
|
import { settingsScenarios as _ } from "../../../../settings-widget/feature/dist/mocks/settings.js";
|
|
26
26
|
import "../../../../settings-widget/feature/dist/scenarios.js";
|
|
27
27
|
import { transfersScenarios as v } from "../../../../transfers-widget/feature/dist/mocks/transfers.js";
|
|
@@ -541,7 +541,7 @@ declare const receivablesScenarios: Scenario[];
|
|
|
541
541
|
|
|
542
542
|
declare const linkedAccountsScenarios: Scenario[];
|
|
543
543
|
|
|
544
|
-
declare const
|
|
544
|
+
declare const offerScenarios: Scenario[];
|
|
545
545
|
|
|
546
546
|
declare const productsScenarios: Scenario[];
|
|
547
547
|
|
|
@@ -560,5 +560,5 @@ interface WidgetSuiteDemoProps {
|
|
|
560
560
|
}
|
|
561
561
|
declare const widgetSuiteScenarios: Scenario<WidgetSuiteDemoProps>[];
|
|
562
562
|
|
|
563
|
-
export { CARDS_PAGING, CARD_DETAILS_CARD_ID, CROSS_CUTTING_KEYS, EMBEDDED_PAGING, FINOPS, FINOPS_PAGING, IDENTITY, INIT, LOADING_DELAY_MS, PROXY, SCENARIO_LABELS, acceptDisclosuresScenarios, answer, answerFrom, balancesScenarios, bankAccountOnboardingScenarios, bankAccountsScenarios, billPayScenarios, bodyOf, cardDetailsScenarios, composeScenarios, counterpartsScenarios, creditCardsScenarios, crossCuttingScenarios, counterpartsScenarios as customersScenarios, debitCardsScenarios, defaultScenario, endpoint, expenseManagementScenarios, finopsPage, initRoute, insightsScenarios, invoicingScenarios, json, linkedAccountsScenarios,
|
|
563
|
+
export { CARDS_PAGING, CARD_DETAILS_CARD_ID, CROSS_CUTTING_KEYS, EMBEDDED_PAGING, FINOPS, FINOPS_PAGING, IDENTITY, INIT, LOADING_DELAY_MS, PROXY, SCENARIO_LABELS, acceptDisclosuresScenarios, answer, answerFrom, balancesScenarios, bankAccountOnboardingScenarios, bankAccountsScenarios, billPayScenarios, bodyOf, cardDetailsScenarios, composeScenarios, counterpartsScenarios, creditCardsScenarios, crossCuttingScenarios, counterpartsScenarios as customersScenarios, debitCardsScenarios, defaultScenario, endpoint, expenseManagementScenarios, finopsPage, initRoute, insightsScenarios, invoicingScenarios, json, linkedAccountsScenarios, matchPath, noContent, offerScenarios, page, paged, problem, productsScenarios, readRoute, receivablesScenarios, routesOf, scenarioFetch, settingsScenarios, templatePath, transfersScenarios, wait, widgetSuiteScenarios };
|
|
564
564
|
export type { ConfigClient, CrossCuttingKey, CrossCuttingSpec, PagingStyle, PrimaryRead, RequestSummary, Route, RouteRequest, Scenario, ScenarioCopy, SettingsDemoProps, UploadedFile, WidgetInit, WidgetSuiteDemoProps };
|
package/dist/scenarios/index.js
CHANGED
|
@@ -29,12 +29,12 @@ import { insightsScenarios as W } from "../libs/tesouro-embedded-components-reac
|
|
|
29
29
|
import "../libs/tesouro-embedded-components-react/insights-widget/feature/dist/scenarios.js";
|
|
30
30
|
import { linkedAccountsScenarios as G } from "../libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/mocks/linkedAccounts.js";
|
|
31
31
|
import "../libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/scenarios.js";
|
|
32
|
-
import {
|
|
33
|
-
import "../libs/tesouro-embedded-components-react/
|
|
32
|
+
import { offerScenarios as K } from "../libs/tesouro-embedded-components-react/offer-widget/feature/dist/mocks/offer.js";
|
|
33
|
+
import "../libs/tesouro-embedded-components-react/offer-widget/feature/dist/scenarios.js";
|
|
34
34
|
import { settingsScenarios as q } from "../libs/tesouro-embedded-components-react/settings-widget/feature/dist/mocks/settings.js";
|
|
35
35
|
import "../libs/tesouro-embedded-components-react/settings-widget/feature/dist/scenarios.js";
|
|
36
36
|
import { transfersScenarios as J } from "../libs/tesouro-embedded-components-react/transfers-widget/feature/dist/mocks/transfers.js";
|
|
37
37
|
import "../libs/tesouro-embedded-components-react/transfers-widget/feature/dist/scenarios.js";
|
|
38
38
|
import { widgetSuiteScenarios as Y } from "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/mocks/widgetSuite.js";
|
|
39
39
|
import "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/scenarios.js";
|
|
40
|
-
export { n as CARDS_PAGING, B as CARD_DETAILS_CARD_ID, e as CROSS_CUTTING_KEYS, r as EMBEDDED_PAGING, i as FINOPS, a as FINOPS_PAGING, o as IDENTITY, s as INIT, c as LOADING_DELAY_MS, l as PROXY, t as SCENARIO_LABELS, R as acceptDisclosuresScenarios, u as answer, d as answerFrom, z as balancesScenarios, F as bankAccountOnboardingScenarios, L as bankAccountsScenarios, I as billPayScenarios, f as bodyOf, V as cardDetailsScenarios, p as composeScenarios, j as counterpartsScenarios, H as creditCardsScenarios, m as crossCuttingScenarios, j as customersScenarios, U as debitCardsScenarios, h as defaultScenario, g as endpoint, P as expenseManagementScenarios, _ as finopsPage, v as initRoute, W as insightsScenarios, A as invoicingScenarios, y as json, G as linkedAccountsScenarios,
|
|
40
|
+
export { n as CARDS_PAGING, B as CARD_DETAILS_CARD_ID, e as CROSS_CUTTING_KEYS, r as EMBEDDED_PAGING, i as FINOPS, a as FINOPS_PAGING, o as IDENTITY, s as INIT, c as LOADING_DELAY_MS, l as PROXY, t as SCENARIO_LABELS, R as acceptDisclosuresScenarios, u as answer, d as answerFrom, z as balancesScenarios, F as bankAccountOnboardingScenarios, L as bankAccountsScenarios, I as billPayScenarios, f as bodyOf, V as cardDetailsScenarios, p as composeScenarios, j as counterpartsScenarios, H as creditCardsScenarios, m as crossCuttingScenarios, j as customersScenarios, U as debitCardsScenarios, h as defaultScenario, g as endpoint, P as expenseManagementScenarios, _ as finopsPage, v as initRoute, W as insightsScenarios, A as invoicingScenarios, y as json, G as linkedAccountsScenarios, b as matchPath, x as noContent, K as offerScenarios, S as page, C as paged, w as problem, M as productsScenarios, T as readRoute, N as receivablesScenarios, E as routesOf, D as scenarioFetch, q as settingsScenarios, O as templatePath, J as transfersScenarios, k as wait, Y as widgetSuiteScenarios };
|
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { MARKETING_WIDGET_STATUS_LABELS_EN as e } from "../libs/tesouro-embedded-components-react/marketing-widget/feature/dist/lib/MarketingWidget/labels.js";
|
|
2
|
-
import { MARKETING_WIDGET_LABELS_EN as t } from "../libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index2.js";
|
|
3
|
-
import { MarketingBenefitIcon as n } from "../libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index3.js";
|
|
4
|
-
import { MarketingWidget as r } from "../libs/tesouro-embedded-components-react/marketing-widget/feature/dist/lib/MarketingWidget/MarketingWidget.js";
|
|
5
|
-
import "../libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index.js";
|
|
6
|
-
export { t as MARKETING_WIDGET_LABELS_EN, e as MARKETING_WIDGET_STATUS_LABELS_EN, n as MarketingBenefitIcon, r as MarketingWidget };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { MARKETING_WIDGET_STATUS_LABELS_EN as e } from "./lib/MarketingWidget/labels.js";
|
|
2
|
-
import { MARKETING_WIDGET_LABELS_EN as t } from "../../ui/dist/index2.js";
|
|
3
|
-
import { MarketingBenefitIcon as n } from "../../ui/dist/index3.js";
|
|
4
|
-
import { MarketingWidget as r } from "./lib/MarketingWidget/MarketingWidget.js";
|
|
5
|
-
export { t as MARKETING_WIDGET_LABELS_EN, e as MARKETING_WIDGET_STATUS_LABELS_EN, n as MarketingBenefitIcon, r as MarketingWidget };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/marketing-widget/feature/dist/lib/analytics/events.js
|
|
2
|
-
var e = {
|
|
3
|
-
Mounted: "marketing.mounted",
|
|
4
|
-
OpenModal: "marketing.open_modal",
|
|
5
|
-
PrimaryCta: "marketing.primary_cta"
|
|
6
|
-
}, t = "marketing";
|
|
7
|
-
//#endregion
|
|
8
|
-
export { e as MarketingWidgetAnalyticsEvent, t as WIDGET_NAME };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { MARKETING_WIDGET_LABELS_EN as e } from "./index2.js";
|
|
2
|
-
import { MarketingBenefitIcon as t, MarketingWidgetStatusTone as n } from "./index3.js";
|
|
3
|
-
import "./index7.js";
|
|
4
|
-
import { MarketingWidget as r } from "./index9.js";
|
|
5
|
-
export { e as MARKETING_WIDGET_LABELS_EN, t as MarketingBenefitIcon, r as MarketingWidget, n as MarketingWidgetStatusTone };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index2.js
|
|
2
|
-
var e = {
|
|
3
|
-
applyNow: "Apply now",
|
|
4
|
-
learnMore: "Learn more",
|
|
5
|
-
primaryCta: "Start application",
|
|
6
|
-
primaryCtaSubtext: "takes about 5 minutes",
|
|
7
|
-
dismissModalAriaLabel: "Close marketing modal"
|
|
8
|
-
};
|
|
9
|
-
//#endregion
|
|
10
|
-
export { e as MARKETING_WIDGET_LABELS_EN };
|