@tesouro/embedded-components-react 0.5.24 → 0.5.26
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/dist/index.css +3 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +82 -65
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +108 -92
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/helpers.js +100 -99
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/labels.js +1 -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/shared/util/dist/lib/isValidAchAccountNumber.js +6 -0
- package/dist/packages/shared-ui-shadcn/dist/index.js +117 -116
- package/package.json +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { formatMoneyExact as e } from "../../../../util/dist/lib/formatMoneyExact.js";
|
|
2
|
-
import {
|
|
2
|
+
import { isValidAchAccountNumber as t } from "../../../../util/dist/lib/isValidAchAccountNumber.js";
|
|
3
|
+
import { EMPTY_ADDRESS_FORM_VALUES as n } from "../../../ui/dist/index6.js";
|
|
3
4
|
import "../../../ui/dist/index.js";
|
|
4
|
-
import { COUNTERPART_MESSAGE_LABELS_EN as
|
|
5
|
+
import { COUNTERPART_MESSAGE_LABELS_EN as r } from "./labels.js";
|
|
5
6
|
//#region ../../libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/helpers.js
|
|
6
|
-
var
|
|
7
|
+
var i = [
|
|
7
8
|
"USD",
|
|
8
9
|
"EUR",
|
|
9
10
|
"GBP",
|
|
@@ -17,13 +18,13 @@ var r = [
|
|
|
17
18
|
"MXN",
|
|
18
19
|
"SGD"
|
|
19
20
|
];
|
|
20
|
-
function
|
|
21
|
-
return Array.from(/* @__PURE__ */ new Set([...
|
|
21
|
+
function a(e) {
|
|
22
|
+
return Array.from(/* @__PURE__ */ new Set([...i, ...e ? [e] : []])).sort().map((e) => ({
|
|
22
23
|
value: e,
|
|
23
24
|
label: e
|
|
24
25
|
}));
|
|
25
26
|
}
|
|
26
|
-
function
|
|
27
|
+
function o(e) {
|
|
27
28
|
try {
|
|
28
29
|
return new Intl.NumberFormat("en-US", {
|
|
29
30
|
style: "currency",
|
|
@@ -33,56 +34,56 @@ function a(e) {
|
|
|
33
34
|
return 2;
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
|
-
function
|
|
37
|
-
return e / 10 **
|
|
37
|
+
function s(e, t) {
|
|
38
|
+
return e / 10 ** o(t);
|
|
38
39
|
}
|
|
39
|
-
function
|
|
40
|
-
return e(
|
|
40
|
+
function c(t, n = "USD") {
|
|
41
|
+
return e(s(t, n), { currencyCode: n });
|
|
41
42
|
}
|
|
42
|
-
var
|
|
43
|
+
var l = new Intl.DateTimeFormat(void 0, {
|
|
43
44
|
year: "numeric",
|
|
44
45
|
month: "short",
|
|
45
46
|
day: "numeric"
|
|
46
47
|
});
|
|
47
|
-
function
|
|
48
|
+
function u(e) {
|
|
48
49
|
if (!e) return "";
|
|
49
50
|
let t = new Date(e);
|
|
50
|
-
return Number.isNaN(t.getTime()) ? "" :
|
|
51
|
+
return Number.isNaN(t.getTime()) ? "" : l.format(t);
|
|
51
52
|
}
|
|
52
|
-
function
|
|
53
|
+
function d(e) {
|
|
53
54
|
if ("organization" in e) return e.organization.legal_name;
|
|
54
55
|
let { first_name: t, last_name: n } = e.individual;
|
|
55
56
|
return [t, n].filter(Boolean).join(" ").trim();
|
|
56
57
|
}
|
|
57
|
-
function
|
|
58
|
+
function f(e) {
|
|
58
59
|
return "organization" in e ? e.organization.email ?? "" : e.individual.email ?? "";
|
|
59
60
|
}
|
|
60
|
-
function
|
|
61
|
+
function p(e) {
|
|
61
62
|
return "organization" in e ? e.organization.phone ?? "" : e.individual.phone ?? "";
|
|
62
63
|
}
|
|
63
|
-
function
|
|
64
|
+
function m(e) {
|
|
64
65
|
let t = /* @__PURE__ */ new Map();
|
|
65
66
|
for (let n of e ?? []) n.dimension_value && t.set(n.dimension_value, Math.round(n.metric_value));
|
|
66
67
|
return t;
|
|
67
68
|
}
|
|
68
|
-
function
|
|
69
|
+
function h({ counterparts: e, addresses: t, billedAmounts: n, dueOrOwedAmounts: r, isBilledAmountLoading: i = !1, isDueOrOwedAmountLoading: a = !1 }) {
|
|
69
70
|
return e.map((e) => {
|
|
70
|
-
let o = n?.get(e.id) ?? 0,
|
|
71
|
+
let o = n?.get(e.id) ?? 0, s = r?.get(e.id) ?? 0, l = o - s, u = i || a;
|
|
71
72
|
return {
|
|
72
73
|
id: e.id,
|
|
73
|
-
name:
|
|
74
|
+
name: d(e),
|
|
74
75
|
entityType: e.type,
|
|
75
|
-
locationLabel:
|
|
76
|
-
billedAmountLabel: n && !i ?
|
|
77
|
-
receivedOrPaidAmountLabel: n && r && !
|
|
78
|
-
dueOrOwedAmountLabel: r && !a ? s
|
|
76
|
+
locationLabel: _(t?.get(e.id)),
|
|
77
|
+
billedAmountLabel: n && !i ? c(o) : "",
|
|
78
|
+
receivedOrPaidAmountLabel: n && r && !u ? c(l) : "",
|
|
79
|
+
dueOrOwedAmountLabel: r && !a ? c(s) : "",
|
|
79
80
|
isBilledAmountLoading: i,
|
|
80
|
-
isReceivedOrPaidAmountLoading:
|
|
81
|
+
isReceivedOrPaidAmountLoading: u,
|
|
81
82
|
isDueOrOwedAmountLoading: a
|
|
82
83
|
};
|
|
83
84
|
});
|
|
84
85
|
}
|
|
85
|
-
function
|
|
86
|
+
function g(e) {
|
|
86
87
|
if (!e) return [];
|
|
87
88
|
let t = [
|
|
88
89
|
e.city,
|
|
@@ -96,27 +97,27 @@ function h(e) {
|
|
|
96
97
|
e.country
|
|
97
98
|
].filter((e) => !!(e && e.trim()));
|
|
98
99
|
}
|
|
99
|
-
function
|
|
100
|
+
function _(e) {
|
|
100
101
|
return e ? [e.city, e.country].filter(Boolean).join(", ") : "";
|
|
101
102
|
}
|
|
102
|
-
function
|
|
103
|
+
function v({ counterpart: e, primaryAddress: t }) {
|
|
103
104
|
return {
|
|
104
|
-
name:
|
|
105
|
+
name: d(e),
|
|
105
106
|
entityType: e.type,
|
|
106
|
-
email:
|
|
107
|
-
phone:
|
|
107
|
+
email: f(e),
|
|
108
|
+
phone: p(e),
|
|
108
109
|
taxId: e.tax_id ?? "",
|
|
109
|
-
addressLines:
|
|
110
|
-
createdAtLabel:
|
|
111
|
-
updatedAtLabel:
|
|
110
|
+
addressLines: g(t),
|
|
111
|
+
createdAtLabel: u(e.created_at),
|
|
112
|
+
updatedAtLabel: u(e.updated_at)
|
|
112
113
|
};
|
|
113
114
|
}
|
|
114
|
-
function
|
|
115
|
+
function y(e) {
|
|
115
116
|
if (e) return `•••• ${e.slice(-4)}`;
|
|
116
117
|
}
|
|
117
|
-
function
|
|
118
|
+
function b(e) {
|
|
118
119
|
return (e ?? []).map((e) => {
|
|
119
|
-
let t =
|
|
120
|
+
let t = y(e.iban || e.account_number || void 0), n = [e.currency, t].filter(Boolean).join(" · ");
|
|
120
121
|
return {
|
|
121
122
|
id: e.id,
|
|
122
123
|
primary: e.name || e.account_holder_name || e.currency,
|
|
@@ -125,17 +126,17 @@ function y(e) {
|
|
|
125
126
|
};
|
|
126
127
|
});
|
|
127
128
|
}
|
|
128
|
-
function
|
|
129
|
+
function x(e) {
|
|
129
130
|
let t = (e ?? []).filter((e) => e.currency === "USD" && (!!e.routing_number || !!e.account_number));
|
|
130
131
|
return t.find((e) => e.is_default_for_currency) ?? t[0];
|
|
131
132
|
}
|
|
132
|
-
function
|
|
133
|
-
let r = n && (e ?? []).find((e) => e.id === n &&
|
|
133
|
+
function S(e, t = "USD", n) {
|
|
134
|
+
let r = n && (e ?? []).find((e) => e.id === n && z(e));
|
|
134
135
|
if (r) return r;
|
|
135
136
|
let i = (e ?? []).filter((e) => e.currency === t && !!e.account_holder_name && !!e.routing_number && !!e.account_number);
|
|
136
137
|
return i.find((e) => e.is_default_for_currency) ?? i[0];
|
|
137
138
|
}
|
|
138
|
-
function
|
|
139
|
+
function C(e, t = {}) {
|
|
139
140
|
let n = e.line2.trim();
|
|
140
141
|
return {
|
|
141
142
|
line1: e.line1.trim(),
|
|
@@ -146,7 +147,7 @@ function S(e, t = {}) {
|
|
|
146
147
|
country: "US"
|
|
147
148
|
};
|
|
148
149
|
}
|
|
149
|
-
function
|
|
150
|
+
function w(e) {
|
|
150
151
|
return {
|
|
151
152
|
line1: e.line1 ?? "",
|
|
152
153
|
line2: e.line2 ?? "",
|
|
@@ -155,10 +156,10 @@ function C(e) {
|
|
|
155
156
|
postalCode: e.postal_code ?? ""
|
|
156
157
|
};
|
|
157
158
|
}
|
|
158
|
-
function w(e) {
|
|
159
|
-
return S(e);
|
|
160
|
-
}
|
|
161
159
|
function T(e) {
|
|
160
|
+
return C(e);
|
|
161
|
+
}
|
|
162
|
+
function E(e) {
|
|
162
163
|
return {
|
|
163
164
|
line1: e.line1.trim(),
|
|
164
165
|
line2: e.line2.trim(),
|
|
@@ -168,7 +169,7 @@ function T(e) {
|
|
|
168
169
|
country: "US"
|
|
169
170
|
};
|
|
170
171
|
}
|
|
171
|
-
function
|
|
172
|
+
function D(e = "organization", t) {
|
|
172
173
|
return {
|
|
173
174
|
entityType: e,
|
|
174
175
|
legalName: "",
|
|
@@ -178,8 +179,8 @@ function E(e = "organization", n) {
|
|
|
178
179
|
email: "",
|
|
179
180
|
phone: "",
|
|
180
181
|
taxId: "",
|
|
181
|
-
remindersEnabled:
|
|
182
|
-
address: { ...
|
|
182
|
+
remindersEnabled: t === "customer",
|
|
183
|
+
address: { ...n },
|
|
183
184
|
bankAccount: {
|
|
184
185
|
accountHolderName: "",
|
|
185
186
|
routingNumber: "",
|
|
@@ -187,11 +188,11 @@ function E(e = "organization", n) {
|
|
|
187
188
|
}
|
|
188
189
|
};
|
|
189
190
|
}
|
|
190
|
-
function
|
|
191
|
-
let n =
|
|
192
|
-
return n.email =
|
|
191
|
+
function O(e, t) {
|
|
192
|
+
let n = D(e.type);
|
|
193
|
+
return n.email = f(e), n.phone = p(e), n.taxId = e.tax_id ?? "", n.remindersEnabled = !!e.reminders_enabled, t && (n.address = w(t)), "organization" in e ? n.legalName = e.organization.legal_name : (n.firstName = e.individual.first_name, n.lastName = e.individual.last_name), n;
|
|
193
194
|
}
|
|
194
|
-
function
|
|
195
|
+
function k(e) {
|
|
195
196
|
return [
|
|
196
197
|
e.line1,
|
|
197
198
|
e.line2,
|
|
@@ -200,11 +201,11 @@ function O(e) {
|
|
|
200
201
|
e.postalCode
|
|
201
202
|
].some((e) => e.trim().length > 0);
|
|
202
203
|
}
|
|
203
|
-
function
|
|
204
|
-
return
|
|
204
|
+
function A(e) {
|
|
205
|
+
return k(e) ? C(e) : void 0;
|
|
205
206
|
}
|
|
206
|
-
function
|
|
207
|
-
let n = t === "customer", r = t === "vendor", i =
|
|
207
|
+
function j(e, t) {
|
|
208
|
+
let n = t === "customer", r = t === "vendor", i = A(e.address), a = e.taxId.trim() || void 0, o = e.email.trim(), s = e.phone.trim() || void 0, c = {
|
|
208
209
|
is_customer: n,
|
|
209
210
|
is_vendor: r,
|
|
210
211
|
language: "en",
|
|
@@ -233,7 +234,7 @@ function A(e, t) {
|
|
|
233
234
|
}
|
|
234
235
|
};
|
|
235
236
|
}
|
|
236
|
-
function
|
|
237
|
+
function M(e, t) {
|
|
237
238
|
let n = e.taxId.trim(), r = e.email.trim(), i = e.phone.trim(), a = {
|
|
238
239
|
language: "en",
|
|
239
240
|
reminders_enabled: t === "customer" ? e.remindersEnabled : void 0,
|
|
@@ -257,20 +258,20 @@ function j(e, t) {
|
|
|
257
258
|
}
|
|
258
259
|
};
|
|
259
260
|
}
|
|
260
|
-
function M(e) {
|
|
261
|
-
return O(e.address);
|
|
262
|
-
}
|
|
263
261
|
function N(e) {
|
|
262
|
+
return k(e.address);
|
|
263
|
+
}
|
|
264
|
+
function P(e) {
|
|
264
265
|
return [
|
|
265
266
|
e.accountHolderName,
|
|
266
267
|
e.routingNumber,
|
|
267
268
|
e.accountNumber
|
|
268
269
|
].some((e) => e.trim().length > 0);
|
|
269
270
|
}
|
|
270
|
-
function
|
|
271
|
-
return
|
|
271
|
+
function F(e) {
|
|
272
|
+
return P(e.bankAccount);
|
|
272
273
|
}
|
|
273
|
-
function
|
|
274
|
+
function I(e, t = {}) {
|
|
274
275
|
return {
|
|
275
276
|
account_holder_name: e.accountHolderName.trim() || void 0,
|
|
276
277
|
account_number: e.accountNumber.trim() || void 0,
|
|
@@ -280,7 +281,7 @@ function F(e, t = {}) {
|
|
|
280
281
|
is_default_for_currency: t.isDefaultForCurrency ?? !0
|
|
281
282
|
};
|
|
282
283
|
}
|
|
283
|
-
function
|
|
284
|
+
function L(e, t = {}) {
|
|
284
285
|
return {
|
|
285
286
|
account_holder_name: e.accountHolderName.trim() || void 0,
|
|
286
287
|
account_number: e.accountNumber.trim() || void 0,
|
|
@@ -291,7 +292,7 @@ function I(e, t = {}) {
|
|
|
291
292
|
} : {}
|
|
292
293
|
};
|
|
293
294
|
}
|
|
294
|
-
function
|
|
295
|
+
function R(e) {
|
|
295
296
|
return [
|
|
296
297
|
e.account_number,
|
|
297
298
|
e.iban,
|
|
@@ -300,19 +301,19 @@ function L(e) {
|
|
|
300
301
|
e.bic
|
|
301
302
|
].every((e) => !e);
|
|
302
303
|
}
|
|
303
|
-
function
|
|
304
|
-
return !!(
|
|
304
|
+
function z(e) {
|
|
305
|
+
return !!(R(e) || e.currency === "USD" && (e.routing_number || e.account_number));
|
|
305
306
|
}
|
|
306
|
-
function
|
|
307
|
+
function B(e, t) {
|
|
307
308
|
if (t) {
|
|
308
309
|
let n = e?.find((e) => e.id === t);
|
|
309
310
|
return {
|
|
310
311
|
kind: "update",
|
|
311
312
|
bankAccountId: t,
|
|
312
|
-
includeAchDefaults: n ?
|
|
313
|
+
includeAchDefaults: n ? R(n) : !1
|
|
313
314
|
};
|
|
314
315
|
}
|
|
315
|
-
let n = e?.find(
|
|
316
|
+
let n = e?.find(R);
|
|
316
317
|
return n ? {
|
|
317
318
|
kind: "update",
|
|
318
319
|
bankAccountId: n.id,
|
|
@@ -322,7 +323,7 @@ function z(e, t) {
|
|
|
322
323
|
isDefaultForCurrency: !(e ?? []).some((e) => e.currency === "USD" && e.is_default_for_currency)
|
|
323
324
|
};
|
|
324
325
|
}
|
|
325
|
-
function
|
|
326
|
+
function V() {
|
|
326
327
|
return {
|
|
327
328
|
name: "",
|
|
328
329
|
accountHolderName: "",
|
|
@@ -335,7 +336,7 @@ function B() {
|
|
|
335
336
|
isDefault: !1
|
|
336
337
|
};
|
|
337
338
|
}
|
|
338
|
-
function
|
|
339
|
+
function H(e) {
|
|
339
340
|
return {
|
|
340
341
|
name: e.name ?? "",
|
|
341
342
|
accountHolderName: e.account_holder_name ?? "",
|
|
@@ -348,7 +349,7 @@ function V(e) {
|
|
|
348
349
|
isDefault: e.is_default_for_currency ?? !1
|
|
349
350
|
};
|
|
350
351
|
}
|
|
351
|
-
function
|
|
352
|
+
function U(e) {
|
|
352
353
|
return {
|
|
353
354
|
name: e.name.trim() || void 0,
|
|
354
355
|
account_holder_name: e.accountHolderName.trim() || void 0,
|
|
@@ -362,7 +363,7 @@ function H(e) {
|
|
|
362
363
|
is_default_for_currency: e.isDefault
|
|
363
364
|
};
|
|
364
365
|
}
|
|
365
|
-
function
|
|
366
|
+
function W(e) {
|
|
366
367
|
return {
|
|
367
368
|
name: e.name.trim(),
|
|
368
369
|
account_holder_name: e.accountHolderName.trim(),
|
|
@@ -375,54 +376,54 @@ function U(e) {
|
|
|
375
376
|
country: "US"
|
|
376
377
|
};
|
|
377
378
|
}
|
|
378
|
-
function
|
|
379
|
+
function G(e) {
|
|
379
380
|
return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e);
|
|
380
381
|
}
|
|
381
|
-
function
|
|
382
|
+
function K(e, t) {
|
|
382
383
|
let n = {};
|
|
383
384
|
return e.line1.trim().length === 0 && (n.line1 = t.addressLine1Required), e.city.trim().length === 0 && (n.city = t.cityRequired), e.state.trim().length === 0 && (n.state = t.stateRequired), e.postalCode.trim().length === 0 && (n.postalCode = t.postalCodeRequired), n;
|
|
384
385
|
}
|
|
385
|
-
function
|
|
386
|
+
function q(e) {
|
|
386
387
|
return Object.values(e).some(Boolean);
|
|
387
388
|
}
|
|
388
|
-
function
|
|
389
|
+
function J(e) {
|
|
389
390
|
if (!/^\d{9}$/.test(e)) return !1;
|
|
390
391
|
let t = [...e].map(Number);
|
|
391
392
|
return (3 * (t[0] + t[3] + t[6]) + 7 * (t[1] + t[4] + t[7]) + (t[2] + t[5] + t[8])) % 10 == 0;
|
|
392
393
|
}
|
|
393
|
-
function
|
|
394
|
-
let
|
|
395
|
-
return
|
|
394
|
+
function Y(e, n = r) {
|
|
395
|
+
let i = {}, a = e.accountHolderName.trim(), o = e.routingNumber.trim(), s = e.accountNumber.trim();
|
|
396
|
+
return a.length === 0 && (i.accountHolderName = n.accountHolderNameRequired), (o.length === 0 || !J(o)) && (i.routingNumber = n.routingNumberInvalid), t(s) || (i.accountNumber = n.accountNumberInvalid), i;
|
|
396
397
|
}
|
|
397
|
-
function
|
|
398
|
+
function X(e, t, n = r, i = "customer", a = !1) {
|
|
398
399
|
let o = {};
|
|
399
|
-
if (e.entityType === "organization" ? e.legalName.trim().length === 0 && (o.legalName =
|
|
400
|
-
let t =
|
|
401
|
-
|
|
400
|
+
if (e.entityType === "organization" ? e.legalName.trim().length === 0 && (o.legalName = n.legalNameRequired) : (e.firstName.trim().length === 0 && (o.firstName = n.firstNameRequired), e.lastName.trim().length === 0 && (o.lastName = n.lastNameRequired)), e.email.trim().length === 0 ? o.email = n.emailRequired : G(e.email.trim()) || (o.email = n.emailInvalid), t === "create" && i === "vendor" || k(e.address)) {
|
|
401
|
+
let t = K(e.address, n);
|
|
402
|
+
q(t) && (o.address = t);
|
|
402
403
|
}
|
|
403
|
-
if (i === "vendor" && (a ||
|
|
404
|
-
let t =
|
|
405
|
-
|
|
404
|
+
if (i === "vendor" && (a || F(e))) {
|
|
405
|
+
let t = Y(e.bankAccount, n);
|
|
406
|
+
q(t) && (o.bankAccount = t);
|
|
406
407
|
}
|
|
407
408
|
return o;
|
|
408
409
|
}
|
|
409
|
-
function
|
|
410
|
+
function Z(e) {
|
|
410
411
|
let { address: t, bankAccount: n, ...r } = e;
|
|
411
|
-
return
|
|
412
|
+
return q(r) || (t ? q(t) : !1) || (n ? q(n) : !1);
|
|
412
413
|
}
|
|
413
|
-
function
|
|
414
|
-
let
|
|
415
|
-
return e.name.trim().length === 0 && (
|
|
414
|
+
function Q(e, t = r) {
|
|
415
|
+
let n = {};
|
|
416
|
+
return e.name.trim().length === 0 && (n.name = t.bankAccountNameRequired), e.accountNumber.trim().length === 0 && e.iban.trim().length === 0 && (n.accountNumber = t.bankAccountIdentifierRequired), e.currency.trim().length === 0 && (n.currency = t.bankAccountCurrencyRequired), n;
|
|
416
417
|
}
|
|
417
|
-
function
|
|
418
|
-
return
|
|
418
|
+
function $(e) {
|
|
419
|
+
return q(e);
|
|
419
420
|
}
|
|
420
|
-
function
|
|
421
|
-
return
|
|
421
|
+
function ee(e, t = r) {
|
|
422
|
+
return K(e, t);
|
|
422
423
|
}
|
|
423
|
-
function
|
|
424
|
+
function te() {
|
|
424
425
|
let e = globalThis.getSelection?.();
|
|
425
426
|
return !!(e && e.toString().length > 0);
|
|
426
427
|
}
|
|
427
428
|
//#endregion
|
|
428
|
-
export {
|
|
429
|
+
export { T as addressFormToCreatePayload, E as addressFormToUpdatePayload, w as addressResponseToFormValues, U as bankAccountFormToCreatePayload, W as bankAccountFormToUpdatePayload, H as bankAccountToFormValues, m as buildAnalyticsMap, b as buildBankAccountItems, v as buildCounterpartDetailsView, h as buildCounterpartRows, I as counterpartFormBankAccountToCreatePayload, L as counterpartFormBankAccountToUpdatePayload, j as counterpartFormToCreatePayload, M as counterpartFormToUpdatePayload, O as counterpartToFormValues, V as emptyBankAccountFormValues, D as emptyCounterpartFormValues, u as formatCounterpartDate, c as formatMoney, s as fromMinorUnits, x as getAchInstructions, f as getCounterpartEmail, d as getCounterpartName, a as getCurrencyOptions, S as getPayableAchInstructions, P as hasAchFormValues, $ as hasBankAccountFormErrors, N as hasCounterpartFormAddressValues, F as hasCounterpartFormBankAccountValues, Z as hasCounterpartFormErrors, te as hasSelectedText, z as isAchCompatibleBankAccount, B as resolveCounterpartBankAccountWrite, Y as validateAchFormValues, ee as validateAddressForm, Q as validateBankAccountForm, X as validateCounterpartForm };
|
|
@@ -14,7 +14,7 @@ var e = {
|
|
|
14
14
|
bankAccountCurrencyRequired: "Currency is required",
|
|
15
15
|
accountHolderNameRequired: "Account holder name is required",
|
|
16
16
|
routingNumberInvalid: "Enter a valid 9-digit ABA routing number",
|
|
17
|
-
accountNumberInvalid: "
|
|
17
|
+
accountNumberInvalid: "Enter a valid account number",
|
|
18
18
|
vatIdValueRequired: "VAT ID is required",
|
|
19
19
|
genericError: "Something went wrong. Please try again.",
|
|
20
20
|
deleteTitle: "Delete “{name}”?",
|
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.5.
|
|
2
|
+
var e = "@tesouro/embedded-components-react", t = "0.5.26", n = "31105c434866639eaab7908d1eaf7754fc9dde6e", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|