@tesouro/embedded-components-react 0.5.28 → 0.5.29

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 (112) hide show
  1. package/dist/index.css +12 -0
  2. package/dist/index.js +1 -1
  3. package/dist/lib/BillPayWidget.js +1 -1
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +5 -5
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js +2 -44
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +7 -7
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +1 -1
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +1 -1
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +2 -2
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +2 -2
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +52 -67
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +15 -12
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +57 -62
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +1 -1
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +68 -207
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +278 -175
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +13 -126
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +47 -12
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +53 -47
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +204 -49
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +32 -202
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +234 -32
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +21 -240
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +532 -19
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +4 -436
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +42 -4
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +230 -35
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +3 -233
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +4 -3
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +44 -2
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +1 -46
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +8 -1
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +11 -6
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +127 -11
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +3 -129
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +127 -3
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +8 -124
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +7 -8
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +46 -8
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +18 -43
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +28 -20
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +82 -27
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +47 -83
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +250 -47
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +122 -241
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +206 -126
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +3 -213
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +8 -4
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +113 -6
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +1 -115
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +24 -0
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +39 -33
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +10 -11
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +123 -8
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +2 -170
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +18 -2
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +7 -11
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +158 -96
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +1 -1
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index108.js +11 -7
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index109.js +100 -44
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index111.js +10 -0
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index112.js +52 -0
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index113.js +2 -0
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +1 -1
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +20 -22
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +4 -9
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +103 -146
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +3 -2
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +93 -88
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +15 -16
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +1 -0
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +43 -29
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +55 -51
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +9 -2
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +33 -1
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +2 -8
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +2 -39
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +0 -1
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +6 -2
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +34 -31
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +2 -37
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +34 -10
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +2 -201
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +39 -3
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +3 -8
  87. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +187 -350
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +3 -10
  89. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +13 -5
  90. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +356 -85
  91. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +10 -0
  92. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +9 -2
  93. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +87 -119
  94. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +2 -94
  95. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +125 -2
  96. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +25 -4
  97. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +90 -26
  98. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +3 -3
  99. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +26 -30
  100. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +4 -9
  101. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +30 -102
  102. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +9 -14
  103. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +85 -104
  104. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index.js +5 -5
  105. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +17 -17
  106. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartDetails.js +4 -0
  107. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +92 -87
  108. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  109. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  110. package/package.json +1 -1
  111. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +0 -25
  112. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +0 -28
@@ -7,144 +7,149 @@ import { useCreateCounterpartMutation as t, useUpdateCounterpartMutation as n }
7
7
  import { useCreateCounterpartBankAccountMutation as r, useUpdateCounterpartBankAccountMutation as i } from "../../../data-access/dist/index5.js";
8
8
  import { useCreateCounterpartAddressMutation as a, useUpdateCounterpartAddressMutation as o } from "../../../data-access/dist/index7.js";
9
9
  import "../../../data-access/dist/index.js";
10
- import { addressFormToCreatePayload as s, addressFormToUpdatePayload as c, addressResponseToFormValues as l, counterpartFormBankAccountToCreatePayload as u, counterpartFormBankAccountToUpdatePayload as d, counterpartFormToCreatePayload as f, counterpartFormToUpdatePayload as p, counterpartToFormValues as m, emptyCounterpartFormValues as h, getAchInstructions as g, hasCounterpartFormAddressValues as _, hasCounterpartFormBankAccountValues as v, hasCounterpartFormErrors as y, resolveCounterpartBankAccountWrite as b, validateCounterpartForm as x } from "./helpers.js";
11
- import { useCallback as S, useState as C } from "react";
10
+ import { addressFormToCreatePayload as s, addressFormToUpdatePayload as c, addressResponseToFormValues as l, counterpartFormBankAccountToCreatePayload as u, counterpartFormBankAccountToUpdatePayload as d, counterpartFormToCreatePayload as f, counterpartFormToUpdatePayload as p, counterpartToFormValues as m, emptyCounterpartFormValues as h, getAchInstructions as g, hasCounterpartFormAddressValues as _, hasCounterpartFormBankAccountValues as v, hasCounterpartFormErrors as ee, resolveCounterpartBankAccountWrite as y, validateCounterpartForm as b } from "./helpers.js";
11
+ import { useCallback as x, useState as S } from "react";
12
12
  //#region ../../libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js
13
- function w(e, t) {
13
+ function C(e, t) {
14
14
  if (!t) return _(e);
15
15
  let n = l(t);
16
16
  return e.address.line1.trim() !== n.line1.trim() || e.address.line2.trim() !== n.line2.trim() || e.address.city.trim() !== n.city.trim() || e.address.state.trim() !== n.state.trim() || e.address.postalCode.trim() !== n.postalCode.trim();
17
17
  }
18
- function T(e) {
18
+ function w(e) {
19
19
  return {
20
20
  accountHolderName: e.account_holder_name ?? "",
21
21
  routingNumber: e.routing_number ?? "",
22
22
  accountNumber: e.account_number ?? ""
23
23
  };
24
24
  }
25
- function E(e, t) {
25
+ function T(e, t) {
26
26
  if (!t) return v(e);
27
- let n = T(t);
27
+ let n = w(t);
28
28
  return e.bankAccount.accountHolderName.trim() !== n.accountHolderName.trim() || e.bankAccount.routingNumber.trim() !== n.routingNumber.trim() || e.bankAccount.accountNumber.trim() !== n.accountNumber.trim();
29
29
  }
30
- function D({ view: l, setView: D, selectedId: O, setSelectedId: k, messages: A, counterpartType: j, counterpart: M, primaryAddress: N, bankAccounts: P, isBankAccountsLoading: F, isBankAccountsError: I }) {
31
- let L = t(), R = a(), z = r(), B = n(), V = o(), H = i(), [U, W] = C(() => h()), [G, K] = C({}), [q, J] = C({
30
+ function E({ view: l, setView: E, selectedId: D, setSelectedId: O, messages: k, counterpartType: A, counterpart: j, primaryAddress: M, bankAccounts: N, isBankAccountsLoading: P, isBankAccountsError: F, includeBankAccount: I = !0 }) {
31
+ let L = A === "vendor" && I, R = t(), z = a(), B = r(), V = n(), H = o(), U = i(), [W, G] = S(() => h()), [K, q] = S({}), [J, Y] = S({
32
32
  address: !1,
33
33
  bankAccount: !1
34
- }), [Y, X] = C(), [Z, Q] = C(), $ = L.isPending || R.isPending || z.isPending || H.isPending || B.isPending || V.isPending, ee = S(() => {
35
- k(void 0), Q(void 0), X(void 0), J({
36
- address: j === "vendor",
34
+ }), [X, Z] = S(), [Q, $] = S(), te = R.isPending || z.isPending || B.isPending || U.isPending || V.isPending || H.isPending, ne = x(() => {
35
+ O(void 0), $(void 0), Z(void 0), Y({
36
+ address: A === "vendor",
37
37
  bankAccount: !1
38
- }), W(h("organization", j)), K({}), D("create");
38
+ }), G(h("organization", A)), q({}), E("create");
39
39
  }, [
40
- j,
41
- k,
42
- D
43
- ]), te = S(() => {
44
- if (!M || j === "vendor" && (F || I)) return;
45
- let e = g(P), t = m(M, N);
46
- Q(void 0), X(e?.id), J({
40
+ A,
41
+ O,
42
+ E
43
+ ]), re = x(() => {
44
+ if (!j || L && (P || F)) return;
45
+ let e = L ? g(N) : void 0, t = m(j, M);
46
+ $(void 0), Z(e?.id), Y({
47
47
  address: _(t),
48
48
  bankAccount: !1
49
- }), W({
49
+ }), G({
50
50
  ...t,
51
- ...e ? { bankAccount: T(e) } : {}
52
- }), K({}), D("edit");
51
+ ...e ? { bankAccount: w(e) } : {}
52
+ }), q({}), E("edit");
53
53
  }, [
54
- P,
55
- M,
54
+ N,
56
55
  j,
57
- I,
58
56
  F,
59
- N,
60
- D
61
- ]), ne = S(() => {
62
- D("none");
63
- }, [D]);
57
+ P,
58
+ M,
59
+ E,
60
+ L
61
+ ]), ie = x(() => {
62
+ E("none");
63
+ }, [E]);
64
64
  return {
65
- values: U,
66
- errors: G,
67
- setValues: W,
68
- isSubmitting: $,
69
- sectionsToExpand: q,
70
- expandAddress: S(() => {
71
- J((e) => ({
65
+ values: W,
66
+ errors: K,
67
+ setValues: G,
68
+ isSubmitting: te,
69
+ sectionsToExpand: J,
70
+ expandAddress: x(() => {
71
+ Y((e) => ({
72
72
  ...e,
73
73
  address: !0
74
74
  }));
75
75
  }, []),
76
- openCreate: ee,
77
- openEdit: te,
78
- close: ne,
79
- submit: S(async () => {
80
- let t = l === "edit" ? "edit" : "create", n = x(U, t, A, j, t === "edit" && j === "vendor" && !!Y);
81
- if (y(n)) {
82
- K(n), J((e) => ({
83
- address: e.address || !!n.address,
84
- bankAccount: e.bankAccount || !!n.bankAccount
85
- }));
86
- return;
87
- }
88
- K({}), J({
76
+ openCreate: ne,
77
+ openEdit: re,
78
+ close: ie,
79
+ submit: x(async () => {
80
+ let t = l === "edit" ? "edit" : "create", n = b(W, t, k, A, t === "edit" && L && !!X);
81
+ if (ee(n)) return q(n), Y((e) => ({
82
+ address: e.address || !!n.address,
83
+ bankAccount: e.bankAccount || !!n.bankAccount
84
+ })), { ok: !1 };
85
+ q({}), Y({
89
86
  address: !1,
90
87
  bankAccount: !1
91
88
  });
92
- let r = Z;
89
+ let r = Q;
93
90
  try {
94
- if (l === "edit" && O) {
95
- Q(void 0), await B.mutateAsync({
96
- path: { counterpart_id: O },
97
- body: p(U, j)
91
+ if (l === "edit" && D) {
92
+ $(void 0), await V.mutateAsync({
93
+ path: { counterpart_id: D },
94
+ body: p(W, A)
98
95
  });
99
- let e = N ? w(U, N) ? V.mutateAsync({
96
+ let e = M ? C(W, M) ? H.mutateAsync({
100
97
  path: {
101
- counterpart_id: O,
102
- address_id: N.id
98
+ counterpart_id: D,
99
+ address_id: M.id
103
100
  },
104
- body: c(U.address)
105
- }) : void 0 : _(U) ? R.mutateAsync({
106
- path: { counterpart_id: O },
107
- body: s(U.address)
108
- }) : void 0, t = j === "vendor" && E(U, g(P)) ? b(P, Y) : void 0, n = t?.kind === "update" ? H.mutateAsync({
101
+ body: c(W.address)
102
+ }) : void 0 : _(W) ? z.mutateAsync({
103
+ path: { counterpart_id: D },
104
+ body: s(W.address)
105
+ }) : void 0, t = L && T(W, g(N)) ? y(N, X) : void 0, n = t?.kind === "update" ? U.mutateAsync({
109
106
  path: {
110
- counterpart_id: O,
107
+ counterpart_id: D,
111
108
  bank_account_id: t.bankAccountId
112
109
  },
113
- body: d(U.bankAccount, { includeAchDefaults: t.includeAchDefaults })
114
- }) : t?.kind === "create" ? z.mutateAsync({
115
- path: { counterpart_id: O },
116
- body: u(U.bankAccount, { isDefaultForCurrency: t.isDefaultForCurrency })
110
+ body: d(W.bankAccount, { includeAchDefaults: t.includeAchDefaults })
111
+ }) : t?.kind === "create" ? B.mutateAsync({
112
+ path: { counterpart_id: D },
113
+ body: u(W.bankAccount, { isDefaultForCurrency: t.isDefaultForCurrency })
117
114
  }) : void 0, [r, i] = await Promise.allSettled([e, n]);
118
- if (t?.kind === "create" && i.status === "fulfilled" && X(i.value?.id), r.status === "rejected") throw r.reason;
115
+ if (t?.kind === "create" && i.status === "fulfilled" && Z(i.value?.id), r.status === "rejected") throw r.reason;
119
116
  if (i.status === "rejected") throw i.reason;
120
- D("none");
121
- } else r ||= (await L.mutateAsync({ body: f(U, j) }))?.id, r && j === "vendor" && v(U) && (Q(r), await z.mutateAsync({
117
+ return E("none"), {
118
+ ok: !0,
119
+ counterpartId: D
120
+ };
121
+ }
122
+ return r ||= (await R.mutateAsync({ body: f(W, A) }))?.id, r && L && v(W) && ($(r), await B.mutateAsync({
122
123
  path: { counterpart_id: r },
123
- body: u(U.bankAccount)
124
- })), Q(void 0), D("none"), r && k(r);
124
+ body: u(W.bankAccount)
125
+ })), $(void 0), E("none"), r && O(r), {
126
+ ok: !0,
127
+ counterpartId: r
128
+ };
125
129
  } catch (t) {
126
- r && (Q(r), k(r)), K({ form: e(t) ?? A.genericError });
130
+ return r && ($(r), O(r)), q({ form: e(t) ?? k.genericError }), { ok: !1 };
127
131
  }
128
132
  }, [
129
133
  l,
130
- U,
131
- O,
132
- Z,
134
+ W,
135
+ D,
136
+ Q,
137
+ k,
133
138
  A,
134
- j,
139
+ M,
135
140
  N,
136
- P,
137
- Y,
138
- R,
141
+ X,
139
142
  z,
140
- L,
141
- V,
142
- H,
143
143
  B,
144
- D,
145
- k
144
+ R,
145
+ H,
146
+ U,
147
+ V,
148
+ E,
149
+ O,
150
+ L
146
151
  ])
147
152
  };
148
153
  }
149
154
  //#endregion
150
- export { D as useCounterpartForm };
155
+ export { E as useCounterpartForm };
@@ -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.5.28", n = "28face4054157f426e8305d0f9e915185165803c", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.5.29", n = "69af42cb160efa02114e82e8a3504856fe161f66", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
@@ -4,7 +4,7 @@
4
4
  "use client";
5
5
  import { Scope as e } from "../../../shared/data-access/dist/lib/scopes.js";
6
6
  import "../../../shared/data-access/dist/index.js";
7
- import { BillPayWidget as t } from "../../../bill-pay-widget/feature/dist/index88.js";
7
+ import { BillPayWidget as t } from "../../../bill-pay-widget/feature/dist/index87.js";
8
8
  import "../../../bill-pay-widget/feature/dist/index.js";
9
9
  import { jsx as n } from "react/jsx-runtime";
10
10
  //#region ../../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.5.28",
3
+ "version": "0.5.29",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {
@@ -1,25 +0,0 @@
1
- "use client";
2
- "use client";
3
- "use client";
4
- "use client";
5
- import { Implementation as e } from "../../../shared/feature/dist/lib/WidgetProvider/types.js";
6
- import { useWidgetConfig as t } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
7
- import "../../../shared/feature/dist/index.js";
8
- import { BillPayWidgetMonite as n } from "./index67.js";
9
- import "./index68.js";
10
- import { BillPayWidgetNative as r } from "./index86.js";
11
- import "./index87.js";
12
- import { jsx as i } from "react/jsx-runtime";
13
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js
14
- function a({ implementation: a, ...o }) {
15
- let s = t().implementation, c = a ?? s ?? e.Monite;
16
- return c === e.Native ? /* @__PURE__ */ i(r, {
17
- implementation: c,
18
- ...o
19
- }) : /* @__PURE__ */ i(n, {
20
- implementation: c,
21
- ...o
22
- });
23
- }
24
- //#endregion
25
- export { a as BillPayWidget, a as default };
@@ -1,28 +0,0 @@
1
- import { BILL_STATUS_BADGE_LABELS_EN as e } from "./index18.js";
2
- import "./index20.js";
3
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js
4
- var t = {
5
- title: "Possible duplicate files",
6
- descriptionFirstLine: "The following bills may be duplicates of each other.",
7
- descriptionSecondLine: "You can keep or remove duplicates, or view them for more detail before making a decision.",
8
- columnInvoiceNumber: "Invoice number",
9
- columnAmount: "Amount",
10
- columnStatus: "Status",
11
- columnDueDate: "Due date",
12
- columnAddedOn: "Added on",
13
- columnActions: "Actions",
14
- statusBadge: e,
15
- removalHelperBeforeUnsubmitted: "Removing duplicates deletes ",
16
- removalHelperUnsubmitted: "bills not yet submitted",
17
- removalHelperBetween: ", and cancels ",
18
- removalHelperSubmitted: "ones already submitted",
19
- removalHelperAfterSubmitted: ". This action cannot be undone.",
20
- removalOutcomeDelete: "Deletes this bill",
21
- removalOutcomeCancel: "Cancels this bill",
22
- keepSelectedButton: "Keep selected files as their own file",
23
- removeDuplicatesButton: "Remove selected duplicates",
24
- emptyState: "No possible duplicates left to review.",
25
- errorState: "Couldn't load the possible duplicates. Try again shortly."
26
- };
27
- //#endregion
28
- export { t as DUPLICATE_BILLS_DIALOG_LABELS_EN };