@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.
Files changed (43) hide show
  1. package/README.md +10 -8
  2. package/dist/index.d.ts +45 -31
  3. package/dist/index.js +5 -5
  4. package/dist/lib/CounterpartsWidget.d.ts +14 -0
  5. package/dist/lib/CounterpartsWidgetPublic.d.ts +14 -0
  6. package/dist/lib/CustomersWidget.d.ts +14 -0
  7. package/dist/lib/{MarketingWidget.d.ts → OfferWidget.d.ts} +31 -31
  8. package/dist/lib/OfferWidget.js +6 -0
  9. package/dist/lib/ReceivablesWidget.d.ts +14 -0
  10. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartDetailsActions.js +107 -91
  11. package/dist/libs/tesouro-embedded-components-react/offer-widget/feature/dist/index.js +5 -0
  12. 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
  13. package/dist/libs/tesouro-embedded-components-react/{marketing-widget/feature/dist/lib/MarketingWidget → offer-widget/feature/dist/lib/OfferWidget}/labels.js +2 -2
  14. 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
  15. package/dist/libs/tesouro-embedded-components-react/offer-widget/feature/dist/lib/analytics/events.js +8 -0
  16. package/dist/libs/tesouro-embedded-components-react/{marketing-widget → offer-widget}/feature/dist/lib/testIds.js +2 -2
  17. package/dist/libs/tesouro-embedded-components-react/{marketing-widget → offer-widget}/feature/dist/mocks/labels.js +2 -2
  18. package/dist/libs/tesouro-embedded-components-react/{marketing-widget/feature/dist/mocks/marketing.js → offer-widget/feature/dist/mocks/offer.js} +3 -3
  19. package/dist/libs/tesouro-embedded-components-react/offer-widget/feature/dist/scenarios.js +2 -0
  20. package/dist/libs/tesouro-embedded-components-react/offer-widget/ui/dist/index.js +5 -0
  21. package/dist/libs/tesouro-embedded-components-react/offer-widget/ui/dist/index2.js +10 -0
  22. package/dist/libs/tesouro-embedded-components-react/{marketing-widget → offer-widget}/ui/dist/index3.js +2 -2
  23. package/dist/libs/tesouro-embedded-components-react/{marketing-widget → offer-widget}/ui/dist/index4.js +2 -2
  24. package/dist/libs/tesouro-embedded-components-react/{marketing-widget → offer-widget}/ui/dist/index5.js +2 -2
  25. package/dist/libs/tesouro-embedded-components-react/{marketing-widget → offer-widget}/ui/dist/index6.js +2 -2
  26. package/dist/libs/tesouro-embedded-components-react/{marketing-widget → offer-widget}/ui/dist/index7.js +5 -5
  27. package/dist/libs/tesouro-embedded-components-react/{marketing-widget → offer-widget}/ui/dist/index8.js +3 -3
  28. package/dist/libs/tesouro-embedded-components-react/{marketing-widget → offer-widget}/ui/dist/index9.js +6 -6
  29. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/labels.js +11 -1
  30. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/subEntityForms.js +36 -38
  31. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useAddressForm.js +43 -41
  32. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useDeleteController.js +40 -34
  33. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  34. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/mocks/widgetSuite.js +2 -2
  35. package/dist/scenarios/index.d.ts +2 -2
  36. package/dist/scenarios/index.js +3 -3
  37. package/package.json +1 -1
  38. package/dist/lib/MarketingWidget.js +0 -6
  39. package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index.js +0 -5
  40. package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/lib/analytics/events.js +0 -8
  41. package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/scenarios.js +0 -2
  42. package/dist/libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index.js +0 -5
  43. 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 { extractApiErrorMessage as e } from "../../../../util/dist/lib/apiErrors.js";
6
- import { addressFormToCreatePayload as t, addressFormToUpdatePayload as n, addressResponseToFormValues as r, validateAddressForm as i } from "./helpers.js";
7
- import { useCreateCounterpartAddressMutation as a, useUpdateCounterpartAddressMutation as o } from "../../../data-access/dist/index7.js";
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 s, useState as c } from "react";
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 l({ selectedId: l, primaryAddress: u, messages: d }) {
12
- let f = a(), p = o(), [m, h] = c(!1), [g, _] = c(() => ({
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
- })), [v, y] = c({}), [b, x] = c(), S = s(() => {
19
- u && (_(r(u)), y({}), x(void 0), h(!0));
20
- }, [u]), C = s(() => {
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
- }), y({}), x(void 0), h(!0);
28
- }, []), w = s(() => h(!1), []), T = s(async () => {
29
- if (!l) return;
30
- let r = i(g, d);
31
- if (Object.values(r).some(Boolean)) {
32
- y(r);
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
- y({});
37
+ b({});
36
38
  try {
37
- u ? await p.mutateAsync({
39
+ d ? (await m.mutateAsync({
38
40
  path: {
39
- counterpart_id: l,
40
- address_id: u.id
41
+ counterpart_id: u,
42
+ address_id: d.id
41
43
  },
42
- body: n(g)
43
- }) : await f.mutateAsync({
44
- path: { counterpart_id: l },
45
- body: t(g)
46
- }), h(!1);
47
- } catch (t) {
48
- x(e(t) ?? d.genericError);
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: m,
60
- values: g,
61
- setValues: _,
62
- errors: v,
63
- formError: b,
64
- isPending: f.isPending || p.isPending,
65
- openCreate: C,
66
- openEdit: S,
67
- close: w,
68
- submit: T
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 { l as useAddressForm };
74
+ export { u as useAddressForm };
@@ -2,56 +2,62 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { useDeleteCounterpartMutation as e } from "../../../data-access/dist/index3.js";
6
- import { useDeleteCounterpartBankAccountMutation as t } from "../../../data-access/dist/index5.js";
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 n, useState as r } from "react";
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 i({ selectedId: i, setSelectedId: a, detailsView: o, messages: s }) {
11
- let c = e(), l = t(), [u, d] = r(null);
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: u,
14
- requestDeleteCounterpart: n(() => {
15
- i && o && d({
16
+ target: f,
17
+ requestDeleteCounterpart: i(() => {
18
+ o && c && p({
16
19
  kind: "counterpart",
17
- id: i,
18
- label: o.name
20
+ id: o,
21
+ label: c.name
19
22
  });
20
- }, [i, o]),
21
- requestDeleteCounterpartById: n(({ id: e, name: t }) => {
22
- d({
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: n((e) => d(e), []),
29
- close: n(() => d(null), []),
30
- confirm: n(async () => {
31
- if (!u) return;
32
- let { kind: e, id: t } = u;
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 (e === "counterpart") {
35
- await c.mutateAsync({ path: { counterpart_id: t } }), d(null), i === t && a(void 0);
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 (!i) return;
39
- e === "bankAccount" && await l.mutateAsync({ path: {
40
- counterpart_id: i,
41
- bank_account_id: t
42
- } }), d(null);
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
- i,
47
- c,
48
- l,
49
- a
53
+ d,
54
+ s,
55
+ l
50
56
  ]),
51
- isDeleting: c.isPending || l.isPending,
52
- dialogTitle: u ? u.kind === "counterpart" ? s.deleteTitle.replace("{name}", () => u.label) : s.deleteBankAccountTitle.replace("{account}", () => u.label) : "",
53
- dialogMessage: u?.kind === "counterpart" ? s.deleteCounterpartMessage : s.deleteBankAccountMessage
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 { i as useDeleteController };
63
+ export { o as useDeleteController };
@@ -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.32", n = "201a5ddae8f87f5aff188953db851c49a859d236", r = Object.freeze({
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
@@ -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 { marketingScenarios as g } from "../../../../marketing-widget/feature/dist/mocks/marketing.js";
24
- import "../../../../marketing-widget/feature/dist/scenarios.js";
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 marketingScenarios: Scenario[];
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, marketingScenarios, matchPath, noContent, page, paged, problem, productsScenarios, readRoute, receivablesScenarios, routesOf, scenarioFetch, settingsScenarios, templatePath, transfersScenarios, wait, widgetSuiteScenarios };
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 };
@@ -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 { marketingScenarios as K } from "../libs/tesouro-embedded-components-react/marketing-widget/feature/dist/mocks/marketing.js";
33
- import "../libs/tesouro-embedded-components-react/marketing-widget/feature/dist/scenarios.js";
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, K as marketingScenarios, b as matchPath, x as noContent, 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 };
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 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.7.32",
3
+ "version": "0.7.35",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -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,2 +0,0 @@
1
- import { marketingScenarios as e } from "./mocks/marketing.js";
2
- export { e as marketingScenarios };
@@ -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 };