@taxbit/react-sdk 1.2.0-beta.7 → 1.2.0-beta.8
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 +5 -0
- package/dist/taxbit-react-sdk.js +59 -60
- package/dist/taxbit-react-sdk.umd.cjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -322,6 +322,11 @@ type QuestionnaireType = 'DPS' | 'W-FORM' | 'SELF-CERT';
|
|
|
322
322
|
|
|
323
323
|
## Changelog
|
|
324
324
|
|
|
325
|
+
### Version 1.2.0-beta.8
|
|
326
|
+
|
|
327
|
+
1. Enforcing printable characters in the Foreign Tin
|
|
328
|
+
2. Adjusting treaty claims types of income.
|
|
329
|
+
|
|
325
330
|
### Version 1.2.0-beta.7
|
|
326
331
|
|
|
327
332
|
1. Verifying Mailing Address for W8-BEN-E, showing UsPerson selection on Summary screen.
|
package/dist/taxbit-react-sdk.js
CHANGED
|
@@ -2922,10 +2922,7 @@ const Se = (e, i) => `https://api.multi1.enterprise${i === "STAGING" ? "-staging
|
|
|
2922
2922
|
favorableDetermination: "FAVORABLE_DETERMINATION",
|
|
2923
2923
|
noLobArticle: "NO_LOB_ARTICLE",
|
|
2924
2924
|
otherArticleParagraphs: "OTHER_ARTICLE_PARAGRAPH"
|
|
2925
|
-
}, Ar = (e) => Cr[e], Lt = Object.keys(zt), br = ["ROYALTIES_OTHER"], _r = [
|
|
2926
|
-
"ROYALTIES_OTHER",
|
|
2927
|
-
"BUSINESS_PROFITS"
|
|
2928
|
-
], jr = zt, Yn = {
|
|
2925
|
+
}, Ar = (e) => Cr[e], Lt = Object.keys(zt), br = ["ROYALTIES_OTHER"], _r = ["ROYALTIES_OTHER"], jr = zt, Yn = {
|
|
2929
2926
|
royaltiesOther: void 0,
|
|
2930
2927
|
services: void 0,
|
|
2931
2928
|
limitationOnBenefits: {
|
|
@@ -3113,7 +3110,7 @@ const Se = (e, i) => `https://api.multi1.enterprise${i === "STAGING" ? "-staging
|
|
|
3113
3110
|
}, $r = (e, i) => {
|
|
3114
3111
|
if (W(e) && W(i) && !xa(e, i))
|
|
3115
3112
|
return ["mustMatchName"];
|
|
3116
|
-
},
|
|
3113
|
+
}, se = (e) => {
|
|
3117
3114
|
if (W(e))
|
|
3118
3115
|
return qa(e) ? void 0 : ["invalid"];
|
|
3119
3116
|
}, Yr = [
|
|
@@ -3211,7 +3208,7 @@ const ss = (e) => e ? ee(io(e)) : [], ls = [
|
|
|
3211
3208
|
"SE",
|
|
3212
3209
|
"SI",
|
|
3213
3210
|
"SK"
|
|
3214
|
-
],
|
|
3211
|
+
], ue = (e) => e ? ls.includes(e) : !1, ds = [
|
|
3215
3212
|
"01",
|
|
3216
3213
|
"02",
|
|
3217
3214
|
"03",
|
|
@@ -3370,7 +3367,7 @@ const oe = (e) => e === void 0 || e === "" || e === null, _ = (e) => !oe(e), G =
|
|
|
3370
3367
|
tin: e[`${f}TaxResidenceTin5`],
|
|
3371
3368
|
tinNotRequired: e[`${f}TaxResidenceTinIsNotRequired5`]
|
|
3372
3369
|
}
|
|
3373
|
-
], c = (oe(e.accountHolderTaxResidenceTin1) &&
|
|
3370
|
+
], c = (oe(e.accountHolderTaxResidenceTin1) && ue(e.accountHolderTaxResidenceCountry1) || !ue(e.accountHolderTaxResidenceCountry1)) && (oe(e.accountHolderTaxResidenceTin2) && ue(e.accountHolderTaxResidenceCountry2) || !ue(e.accountHolderTaxResidenceCountry2)) && (oe(e.accountHolderTaxResidenceTin3) && ue(e.accountHolderTaxResidenceCountry3) || !ue(e.accountHolderTaxResidenceCountry3)) && (oe(e.accountHolderTaxResidenceTin4) && ue(e.accountHolderTaxResidenceCountry4) || !ue(e.accountHolderTaxResidenceCountry4)) && (oe(e.accountHolderTaxResidenceTin5) && ue(e.accountHolderTaxResidenceCountry5) || !ue(e.accountHolderTaxResidenceCountry5)), p = l.some(ue), T = e.accountHolderIsIndividual === "yes" || e.accountHolderUsAccountType === "INDIVIDUAL" || e.accountHolderForeignAccountType === "INDIVIDUAL" || e.accountHolderUsAccountType === "SOLE_PROPRIETOR" && e.accountHolderUsSoleProprietorEin === "no" || e.accountHolderUsAccountType === "TRUST_ESTATE" && e.accountHolderUsTrustEstateEin === "no" || i && (e.regardedOwnerForeignAccountType === "INDIVIDUAL" || e.regardedOwnerUsAccountType === "INDIVIDUAL"), g = e.accountHolderForeignAccountType === "PARTNERSHIP" || e.regardedOwnerForeignAccountType === "PARTNERSHIP", R = !i && a && e.accountHolderTreatyClaimIsEligible === "yes" || i && a && e.regardedOwnerTreatyClaimIsEligible === "yes", h = _(e.controllingPerson1Name), I = _(e.controllingPerson2Name), E = _(e.controllingPerson3Name), C = _(e.controllingPerson4Name), S = _(e.controllingPerson5Name), z = e.accountHolderInvestmentEntityManaged === "yes" || e.accountHolderSelfCertificationAccountType === "PASSIVE_NON_FINANCIAL_ENTITY";
|
|
3374
3371
|
return {
|
|
3375
3372
|
hasNoEuTaxId: c,
|
|
3376
3373
|
hasEuResidence: p,
|
|
@@ -3732,7 +3729,7 @@ const oe = (e) => e === void 0 || e === "" || e === null, _ = (e) => !oe(e), G =
|
|
|
3732
3729
|
oi(n)
|
|
3733
3730
|
]
|
|
3734
3731
|
)
|
|
3735
|
-
), js = "1.2.0-beta.
|
|
3732
|
+
), js = "1.2.0-beta.8", di = (e) => e === "yes", $ = (e) => e === void 0 ? void 0 : e === "yes", Ps = (e) => {
|
|
3736
3733
|
const i = {
|
|
3737
3734
|
city: e.accountHolderAddressCity,
|
|
3738
3735
|
country: e.accountHolderAddressCountry,
|
|
@@ -4226,7 +4223,7 @@ const oe = (e) => e === void 0 || e === "" || e === null, _ = (e) => !oe(e), G =
|
|
|
4226
4223
|
),
|
|
4227
4224
|
...Gs(
|
|
4228
4225
|
e,
|
|
4229
|
-
p && !r
|
|
4226
|
+
p && !r && e.accountHolderEntityType !== void 0
|
|
4230
4227
|
),
|
|
4231
4228
|
iConfirmTheInformationIsCorrectComplete: d,
|
|
4232
4229
|
iConfirmTheTaxIdIsCorrect: c,
|
|
@@ -4257,9 +4254,9 @@ const oe = (e) => e === void 0 || e === "" || e === null, _ = (e) => !oe(e), G =
|
|
|
4257
4254
|
) || Ct.includes(
|
|
4258
4255
|
e
|
|
4259
4256
|
), Re = (e) => ({
|
|
4260
|
-
[`${e}AddressStreet`]: (i) =>
|
|
4261
|
-
[`${e}AddressCity`]: (i) =>
|
|
4262
|
-
[`${e}AddressState`]: (i) =>
|
|
4257
|
+
[`${e}AddressStreet`]: (i) => se(i[`${e}AddressStreet`]),
|
|
4258
|
+
[`${e}AddressCity`]: (i) => se(i[`${e}AddressCity`]),
|
|
4259
|
+
[`${e}AddressState`]: (i) => se(i[`${e}AddressState`]),
|
|
4263
4260
|
[`${e}AddressZip`]: (i) => {
|
|
4264
4261
|
const n = i[`${e}AddressZip`];
|
|
4265
4262
|
if ($s(
|
|
@@ -4312,9 +4309,9 @@ const oe = (e) => e === void 0 || e === "" || e === null, _ = (e) => !oe(e), G =
|
|
|
4312
4309
|
);
|
|
4313
4310
|
}
|
|
4314
4311
|
}), Fe = (e) => ({
|
|
4315
|
-
[`${e}Name`]: (i) =>
|
|
4316
|
-
[`${e}RoleOther`]: (i) =>
|
|
4317
|
-
[`${e}RoleOtherEquivalent`]: (i) =>
|
|
4312
|
+
[`${e}Name`]: (i) => se(i[`${e}RoleOther`]),
|
|
4313
|
+
[`${e}RoleOther`]: (i) => se(i[`${e}RoleOther`]),
|
|
4314
|
+
[`${e}RoleOtherEquivalent`]: (i) => se(i[`${e}RoleOther`]),
|
|
4318
4315
|
...Re(e),
|
|
4319
4316
|
...Re(`${e}Mailing`),
|
|
4320
4317
|
...da(e)
|
|
@@ -4340,8 +4337,8 @@ const oe = (e) => e === void 0 || e === "" || e === null, _ = (e) => !oe(e), G =
|
|
|
4340
4337
|
return;
|
|
4341
4338
|
}
|
|
4342
4339
|
}, pi = {
|
|
4343
|
-
accountHolderName: (e) =>
|
|
4344
|
-
accountHolderDbaName: (e) =>
|
|
4340
|
+
accountHolderName: (e) => se(e.accountHolderName),
|
|
4341
|
+
accountHolderDbaName: (e) => se(e.accountHolderDbaName),
|
|
4345
4342
|
accountHolderDateOfBirth: (e) => Wn(e.accountHolderDateOfBirth),
|
|
4346
4343
|
...Re("accountHolder"),
|
|
4347
4344
|
...Re("accountHolderMailing"),
|
|
@@ -4349,7 +4346,8 @@ const oe = (e) => e === void 0 || e === "" || e === null, _ = (e) => !oe(e), G =
|
|
|
4349
4346
|
const i = e.accountHolderUsTin;
|
|
4350
4347
|
return gi(i);
|
|
4351
4348
|
},
|
|
4352
|
-
|
|
4349
|
+
accountHolderForeignTin: (e) => se(e.accountHolderForeignTin),
|
|
4350
|
+
accountHolderFinancialAccountIdentifier: (e) => se(
|
|
4353
4351
|
e.accountHolderFinancialAccountIdentifier
|
|
4354
4352
|
),
|
|
4355
4353
|
accountHolderVatIdentificationNumber: (e, i) => {
|
|
@@ -4370,8 +4368,8 @@ const oe = (e) => e === void 0 || e === "" || e === null, _ = (e) => !oe(e), G =
|
|
|
4370
4368
|
);
|
|
4371
4369
|
},
|
|
4372
4370
|
...da("accountHolder"),
|
|
4373
|
-
regardedOwnerName: (e) =>
|
|
4374
|
-
regardedOwnerDbaName: (e) =>
|
|
4371
|
+
regardedOwnerName: (e) => se(e.regardedOwnerName),
|
|
4372
|
+
regardedOwnerDbaName: (e) => se(e.regardedOwnerDbaName),
|
|
4375
4373
|
regardedOwnerDateOfBirth: (e) => Wn(e.regardedOwnerDateOfBirth),
|
|
4376
4374
|
...Re("regardedOwner"),
|
|
4377
4375
|
...Re("regardedOwnerMailing"),
|
|
@@ -4379,6 +4377,7 @@ const oe = (e) => e === void 0 || e === "" || e === null, _ = (e) => !oe(e), G =
|
|
|
4379
4377
|
const i = e.regardedOwnerUsTin;
|
|
4380
4378
|
return gi(i);
|
|
4381
4379
|
},
|
|
4380
|
+
regardedOwnerForeignTin: (e) => se(e.regardedOwnerForeignTin),
|
|
4382
4381
|
...Ys(),
|
|
4383
4382
|
signature: (e) => {
|
|
4384
4383
|
const { isDre: i, isIndividual: n } = J(e), a = e.signature, o = i ? e.regardedOwnerName : e.accountHolderName;
|
|
@@ -12387,7 +12386,7 @@ const w = ({ name: e }) => {
|
|
|
12387
12386
|
s,
|
|
12388
12387
|
r.length !== l + 1 && /* @__PURE__ */ t("br", {})
|
|
12389
12388
|
] }, s)) }) : null;
|
|
12390
|
-
},
|
|
12389
|
+
}, de = ({
|
|
12391
12390
|
children: e,
|
|
12392
12391
|
title: i,
|
|
12393
12392
|
subTitle: n,
|
|
@@ -12410,7 +12409,7 @@ const w = ({ name: e }) => {
|
|
|
12410
12409
|
e
|
|
12411
12410
|
]
|
|
12412
12411
|
}
|
|
12413
|
-
),
|
|
12412
|
+
), le = ({
|
|
12414
12413
|
children: e,
|
|
12415
12414
|
className: i
|
|
12416
12415
|
}) => /* @__PURE__ */ t("div", { className: me(i, "taxbit-input-status"), children: e }), Gd = (e) => e.localName !== void 0, Ra = (e) => e.map((i, n) => {
|
|
@@ -12511,7 +12510,7 @@ const w = ({ name: e }) => {
|
|
|
12511
12510
|
children: o.map((r) => /* @__PURE__ */ t("option", { value: r.value, children: r.label }, r.value))
|
|
12512
12511
|
}
|
|
12513
12512
|
) : null;
|
|
12514
|
-
},
|
|
12513
|
+
}, ce = ({
|
|
12515
12514
|
onBack: e,
|
|
12516
12515
|
onNext: i,
|
|
12517
12516
|
onSubmit: n,
|
|
@@ -12576,7 +12575,7 @@ const w = ({ name: e }) => {
|
|
|
12576
12575
|
} = b(), T = (h) => {
|
|
12577
12576
|
a && a(h), l(n, h);
|
|
12578
12577
|
}, g = s[n];
|
|
12579
|
-
return /* @__PURE__ */ N(
|
|
12578
|
+
return /* @__PURE__ */ N(le, { children: [
|
|
12580
12579
|
/* @__PURE__ */ N("div", { className: "taxbit-checkBox-label", children: [
|
|
12581
12580
|
/* @__PURE__ */ t(
|
|
12582
12581
|
"input",
|
|
@@ -12659,7 +12658,7 @@ const w = ({ name: e }) => {
|
|
|
12659
12658
|
monthOptions: p,
|
|
12660
12659
|
birthYearOptions: T
|
|
12661
12660
|
} = Yd(e);
|
|
12662
|
-
return /* @__PURE__ */ N(
|
|
12661
|
+
return /* @__PURE__ */ N(le, { className: i, children: [
|
|
12663
12662
|
/* @__PURE__ */ N("div", { className: "taxbit-row-value", children: [
|
|
12664
12663
|
/* @__PURE__ */ N(
|
|
12665
12664
|
"select",
|
|
@@ -12774,14 +12773,14 @@ const w = ({ name: e }) => {
|
|
|
12774
12773
|
) });
|
|
12775
12774
|
}, O = ({ name: e, value: i, children: n }) => {
|
|
12776
12775
|
const { fields: a } = b(), o = i || a[e] || "";
|
|
12777
|
-
return /* @__PURE__ */ N(
|
|
12776
|
+
return /* @__PURE__ */ N(le, { children: [
|
|
12778
12777
|
o,
|
|
12779
12778
|
/* @__PURE__ */ t(w, { name: e }),
|
|
12780
12779
|
n
|
|
12781
12780
|
] });
|
|
12782
12781
|
}, Ne = ({ name: e }) => {
|
|
12783
12782
|
const { fields: i } = b(), n = ys(i[e]);
|
|
12784
|
-
return /* @__PURE__ */ N(
|
|
12783
|
+
return /* @__PURE__ */ N(le, { children: [
|
|
12785
12784
|
n,
|
|
12786
12785
|
/* @__PURE__ */ t(w, { name: e })
|
|
12787
12786
|
] });
|
|
@@ -12797,7 +12796,7 @@ const w = ({ name: e }) => {
|
|
|
12797
12796
|
};
|
|
12798
12797
|
return Y(() => {
|
|
12799
12798
|
n && s !== n(s) && r(e, n(s));
|
|
12800
|
-
}, [e, n, r, s]), /* @__PURE__ */ N(
|
|
12799
|
+
}, [e, n, r, s]), /* @__PURE__ */ N(le, { className: i, children: [
|
|
12801
12800
|
/* @__PURE__ */ t(
|
|
12802
12801
|
"input",
|
|
12803
12802
|
{
|
|
@@ -12831,7 +12830,7 @@ const w = ({ name: e }) => {
|
|
|
12831
12830
|
};
|
|
12832
12831
|
return Y(() => {
|
|
12833
12832
|
a[e] && !c && o(e, "");
|
|
12834
|
-
}, [a, e, o, c]), /* @__PURE__ */ N(
|
|
12833
|
+
}, [a, e, o, c]), /* @__PURE__ */ N(le, { children: [
|
|
12835
12834
|
/* @__PURE__ */ t("div", { className: "taxbit-radio-buttons", children: i.map((T) => /* @__PURE__ */ N(
|
|
12836
12835
|
"div",
|
|
12837
12836
|
{
|
|
@@ -12886,7 +12885,7 @@ const w = ({ name: e }) => {
|
|
|
12886
12885
|
};
|
|
12887
12886
|
return Y(() => {
|
|
12888
12887
|
s[e] && !c && l(e, "");
|
|
12889
|
-
}, [s, e, l, c]), /* @__PURE__ */ N(
|
|
12888
|
+
}, [s, e, l, c]), /* @__PURE__ */ N(le, { className: a, children: [
|
|
12890
12889
|
/* @__PURE__ */ N(
|
|
12891
12890
|
"select",
|
|
12892
12891
|
{
|
|
@@ -12946,7 +12945,7 @@ const w = ({ name: e }) => {
|
|
|
12946
12945
|
};
|
|
12947
12946
|
return Y(() => {
|
|
12948
12947
|
s[e] === void 0 && r ? l(e, r) : n && d !== n(d) && l(e, n(d));
|
|
12949
|
-
}, [r, s, e, n, l, d]), /* @__PURE__ */ N(
|
|
12948
|
+
}, [r, s, e, n, l, d]), /* @__PURE__ */ N(le, { className: i, children: [
|
|
12950
12949
|
/* @__PURE__ */ t(
|
|
12951
12950
|
"input",
|
|
12952
12951
|
{
|
|
@@ -13006,7 +13005,7 @@ const w = ({ name: e }) => {
|
|
|
13006
13005
|
label: n ? `${n}${p ? "*" : ""}` : o(i),
|
|
13007
13006
|
onEdit: e,
|
|
13008
13007
|
name: i,
|
|
13009
|
-
children: /* @__PURE__ */ N(
|
|
13008
|
+
children: /* @__PURE__ */ N(le, { children: [
|
|
13010
13009
|
/* @__PURE__ */ t(
|
|
13011
13010
|
Vd,
|
|
13012
13011
|
{
|
|
@@ -13077,7 +13076,7 @@ const w = ({ name: e }) => {
|
|
|
13077
13076
|
name: n
|
|
13078
13077
|
}) => {
|
|
13079
13078
|
const { isShowingErrors: a, invalidFields: o, getLocalError: r } = b(), s = o[n] ? o[n].map((l) => r(l)) : void 0;
|
|
13080
|
-
return /* @__PURE__ */ t(y, { name: n, label: e, subLabel: i, children: a && s && /* @__PURE__ */ t(
|
|
13079
|
+
return /* @__PURE__ */ t(y, { name: n, label: e, subLabel: i, children: a && s && /* @__PURE__ */ t(le, { children: /* @__PURE__ */ t("div", { className: "taxbit-error-message", children: s.map((l, d) => /* @__PURE__ */ N(Nt, { children: [
|
|
13081
13080
|
l,
|
|
13082
13081
|
s.length !== d + 1 && /* @__PURE__ */ t("br", {})
|
|
13083
13082
|
] }, l)) }) }) });
|
|
@@ -13213,7 +13212,7 @@ const w = ({ name: e }) => {
|
|
|
13213
13212
|
})
|
|
13214
13213
|
);
|
|
13215
13214
|
return /* @__PURE__ */ N(
|
|
13216
|
-
|
|
13215
|
+
de,
|
|
13217
13216
|
{
|
|
13218
13217
|
title: i("accountHolderClassification"),
|
|
13219
13218
|
className: "taxbit-form-account-holder-classification",
|
|
@@ -13395,7 +13394,7 @@ const w = ({ name: e }) => {
|
|
|
13395
13394
|
}
|
|
13396
13395
|
)
|
|
13397
13396
|
] }),
|
|
13398
|
-
/* @__PURE__ */ t(
|
|
13397
|
+
/* @__PURE__ */ t(ce, { onNext: () => o(e) })
|
|
13399
13398
|
]
|
|
13400
13399
|
}
|
|
13401
13400
|
);
|
|
@@ -13456,7 +13455,7 @@ const w = ({ name: e }) => {
|
|
|
13456
13455
|
visibleFields: p
|
|
13457
13456
|
} = b(), T = fe(a);
|
|
13458
13457
|
return /* @__PURE__ */ N(
|
|
13459
|
-
|
|
13458
|
+
de,
|
|
13460
13459
|
{
|
|
13461
13460
|
title: l("accountHolderContactInformation"),
|
|
13462
13461
|
className: "taxbit-form-account-holder-contact-information",
|
|
@@ -13519,7 +13518,7 @@ const w = ({ name: e }) => {
|
|
|
13519
13518
|
}
|
|
13520
13519
|
)
|
|
13521
13520
|
] }),
|
|
13522
|
-
/* @__PURE__ */ t(
|
|
13521
|
+
/* @__PURE__ */ t(ce, { onBack: i, onNext: () => e(s) })
|
|
13523
13522
|
]
|
|
13524
13523
|
}
|
|
13525
13524
|
);
|
|
@@ -13611,7 +13610,7 @@ const w = ({ name: e }) => {
|
|
|
13611
13610
|
label: !0,
|
|
13612
13611
|
onChange: je,
|
|
13613
13612
|
disabled: l[R] === "yes",
|
|
13614
|
-
children: /* @__PURE__ */ N(
|
|
13613
|
+
children: /* @__PURE__ */ N(le, { children: [
|
|
13615
13614
|
/* @__PURE__ */ t(
|
|
13616
13615
|
bi,
|
|
13617
13616
|
{
|
|
@@ -13663,7 +13662,7 @@ const w = ({ name: e }) => {
|
|
|
13663
13662
|
getLocalSubTitle: l
|
|
13664
13663
|
} = b(), d = fe(n), { isMakingTreatyClaim: c } = J(a), [p, T] = Ze(a).accountHolderUsTin === "usSsn" || Ze(a).accountHolderUsTin === "usTin" && a.accountHolderForeignAccountType === "INDIVIDUAL" ? [ii, ni] : [Ni, fi];
|
|
13665
13664
|
return /* @__PURE__ */ N(
|
|
13666
|
-
|
|
13665
|
+
de,
|
|
13667
13666
|
{
|
|
13668
13667
|
title: o("accountHolderTaxInformation"),
|
|
13669
13668
|
subTitle: c ? l("taxInformationTreatyClaims") : void 0,
|
|
@@ -13676,7 +13675,7 @@ const w = ({ name: e }) => {
|
|
|
13676
13675
|
name: "accountHolderUsTin",
|
|
13677
13676
|
onChange: je,
|
|
13678
13677
|
label: !0,
|
|
13679
|
-
children: /* @__PURE__ */ N(
|
|
13678
|
+
children: /* @__PURE__ */ N(le, { children: [
|
|
13680
13679
|
/* @__PURE__ */ t(
|
|
13681
13680
|
bi,
|
|
13682
13681
|
{
|
|
@@ -13869,14 +13868,14 @@ const w = ({ name: e }) => {
|
|
|
13869
13868
|
}
|
|
13870
13869
|
)
|
|
13871
13870
|
] }),
|
|
13872
|
-
/* @__PURE__ */ t(
|
|
13871
|
+
/* @__PURE__ */ t(ce, { onBack: i, onNext: () => e(a) })
|
|
13873
13872
|
]
|
|
13874
13873
|
}
|
|
13875
13874
|
);
|
|
13876
13875
|
}, sc = () => /* @__PURE__ */ t(te, { children: /* @__PURE__ */ t(rc, {}) }), lc = () => {
|
|
13877
13876
|
const { onPersistCollectedData: e, goBack: i, language: n } = B(), { fields: a, getLocalTitle: o, getLocalSubPrompt: r, visibleFields: s } = b(), l = fe(n);
|
|
13878
13877
|
return /* @__PURE__ */ N(
|
|
13879
|
-
|
|
13878
|
+
de,
|
|
13880
13879
|
{
|
|
13881
13880
|
title: o("accountHolderTaxClarification"),
|
|
13882
13881
|
className: "taxbit-form-account-holder-tax-clarification",
|
|
@@ -13899,7 +13898,7 @@ const w = ({ name: e }) => {
|
|
|
13899
13898
|
]
|
|
13900
13899
|
}
|
|
13901
13900
|
) }),
|
|
13902
|
-
/* @__PURE__ */ t(
|
|
13901
|
+
/* @__PURE__ */ t(ce, { onBack: i, onNext: () => e(a) })
|
|
13903
13902
|
]
|
|
13904
13903
|
}
|
|
13905
13904
|
);
|
|
@@ -13935,7 +13934,7 @@ const w = ({ name: e }) => {
|
|
|
13935
13934
|
a.accountHolderTreatyClaimCountry
|
|
13936
13935
|
), I = h.length > 0;
|
|
13937
13936
|
return /* @__PURE__ */ N(
|
|
13938
|
-
|
|
13937
|
+
de,
|
|
13939
13938
|
{
|
|
13940
13939
|
title: o("accountHolderTreatyClaims"),
|
|
13941
13940
|
className: "taxbit-form-account-holder-treaty-claims",
|
|
@@ -14018,14 +14017,14 @@ const w = ({ name: e }) => {
|
|
|
14018
14017
|
}
|
|
14019
14018
|
)
|
|
14020
14019
|
] }),
|
|
14021
|
-
/* @__PURE__ */ t(
|
|
14020
|
+
/* @__PURE__ */ t(ce, { onBack: i, onNext: () => e(a) })
|
|
14022
14021
|
]
|
|
14023
14022
|
}
|
|
14024
14023
|
);
|
|
14025
14024
|
}, uc = () => /* @__PURE__ */ t(te, { children: /* @__PURE__ */ t(cc, {}) }), Xe = ({ index: e }) => {
|
|
14026
14025
|
const { language: i, goBack: n, onPersistCollectedData: a } = B(), { getLocalTitle: o, getLocalSubTitle: r, setValue: s, fields: l } = b(), d = fe(i);
|
|
14027
14026
|
return /* @__PURE__ */ N(
|
|
14028
|
-
|
|
14027
|
+
de,
|
|
14029
14028
|
{
|
|
14030
14029
|
title: o("controllingPersonDetails"),
|
|
14031
14030
|
subTitle: r("controllingPersonDetails"),
|
|
@@ -14136,14 +14135,14 @@ const w = ({ name: e }) => {
|
|
|
14136
14135
|
}
|
|
14137
14136
|
)
|
|
14138
14137
|
] }),
|
|
14139
|
-
/* @__PURE__ */ t(
|
|
14138
|
+
/* @__PURE__ */ t(ce, { onBack: n, onNext: () => a(l) })
|
|
14140
14139
|
]
|
|
14141
14140
|
}
|
|
14142
14141
|
);
|
|
14143
14142
|
}, mc = () => /* @__PURE__ */ t(te, { children: /* @__PURE__ */ t(Xe, { index: "1" }) }), pc = () => /* @__PURE__ */ t(te, { children: /* @__PURE__ */ t(Xe, { index: "2" }) }), Tc = () => /* @__PURE__ */ t(te, { children: /* @__PURE__ */ t(Xe, { index: "3" }) }), gc = () => /* @__PURE__ */ t(te, { children: /* @__PURE__ */ t(Xe, { index: "4" }) }), Ic = () => /* @__PURE__ */ t(te, { children: /* @__PURE__ */ t(Xe, { index: "5" }) }), vc = () => {
|
|
14144
14143
|
const { onPersistCollectedData: e, goBack: i } = B(), { fields: n, getLocalTitle: a } = b();
|
|
14145
14144
|
return /* @__PURE__ */ N(
|
|
14146
|
-
|
|
14145
|
+
de,
|
|
14147
14146
|
{
|
|
14148
14147
|
title: a("exemptions"),
|
|
14149
14148
|
className: "taxbit-form-account-holder-exemptions",
|
|
@@ -14152,14 +14151,14 @@ const w = ({ name: e }) => {
|
|
|
14152
14151
|
/* @__PURE__ */ t(Q, { name: "exemptFatcaCode", options: cs, label: !0 }),
|
|
14153
14152
|
/* @__PURE__ */ t(Q, { name: "exemptPayeeCode", options: Ts, label: !0 })
|
|
14154
14153
|
] }),
|
|
14155
|
-
/* @__PURE__ */ t(
|
|
14154
|
+
/* @__PURE__ */ t(ce, { onBack: i, onNext: () => e(n) })
|
|
14156
14155
|
]
|
|
14157
14156
|
}
|
|
14158
14157
|
);
|
|
14159
14158
|
}, Nc = () => /* @__PURE__ */ t(te, { children: /* @__PURE__ */ t(vc, {}) }), fc = () => {
|
|
14160
14159
|
const { onPersistCollectedData: e, language: i, goBack: n, isBuildingW8: a } = B(), { fields: o, getLocalTitle: r, getLocalSubTitle: s, getLocalAddressTitle: l } = b(), d = fe(i);
|
|
14161
14160
|
return /* @__PURE__ */ N(
|
|
14162
|
-
|
|
14161
|
+
de,
|
|
14163
14162
|
{
|
|
14164
14163
|
title: r("regardedOwnerContactInformation"),
|
|
14165
14164
|
className: `taxbit-form-${li("regardedOwnerContactInformation")}`,
|
|
@@ -14195,14 +14194,14 @@ const w = ({ name: e }) => {
|
|
|
14195
14194
|
}
|
|
14196
14195
|
)
|
|
14197
14196
|
] }),
|
|
14198
|
-
/* @__PURE__ */ t(
|
|
14197
|
+
/* @__PURE__ */ t(ce, { onBack: n, onNext: () => e(o) })
|
|
14199
14198
|
]
|
|
14200
14199
|
}
|
|
14201
14200
|
);
|
|
14202
14201
|
}, yc = () => /* @__PURE__ */ t(te, { children: /* @__PURE__ */ t(fc, {}) }), hc = () => {
|
|
14203
14202
|
const { onPersistCollectedData: e, goBack: i } = B(), { fields: n, getLocalTitle: a, getLocalSubTitle: o, clearIfNotRequired: r } = b(), [s, l] = Ze(n).regardedOwnerUsTin === "usSsn" || Ze(n).regardedOwnerUsTin === "usTin" && n.regardedOwnerForeignAccountType === "INDIVIDUAL" ? [ii, ni] : [Ni, fi], { isMakingTreatyClaim: d } = J(n);
|
|
14204
14203
|
return /* @__PURE__ */ N(
|
|
14205
|
-
|
|
14204
|
+
de,
|
|
14206
14205
|
{
|
|
14207
14206
|
title: a("regardedOwnerTaxInformation"),
|
|
14208
14207
|
className: `taxbit-form-${li("regardedOwnerTaxInformation")}`,
|
|
@@ -14215,7 +14214,7 @@ const w = ({ name: e }) => {
|
|
|
14215
14214
|
name: "regardedOwnerUsTin",
|
|
14216
14215
|
onChange: je,
|
|
14217
14216
|
label: !0,
|
|
14218
|
-
children: /* @__PURE__ */ N(
|
|
14217
|
+
children: /* @__PURE__ */ N(le, { children: [
|
|
14219
14218
|
/* @__PURE__ */ t(
|
|
14220
14219
|
bi,
|
|
14221
14220
|
{
|
|
@@ -14246,7 +14245,7 @@ const w = ({ name: e }) => {
|
|
|
14246
14245
|
}
|
|
14247
14246
|
)
|
|
14248
14247
|
] }),
|
|
14249
|
-
/* @__PURE__ */ t(
|
|
14248
|
+
/* @__PURE__ */ t(ce, { onBack: i, onNext: () => e(n) })
|
|
14250
14249
|
]
|
|
14251
14250
|
}
|
|
14252
14251
|
);
|
|
@@ -14274,7 +14273,7 @@ const w = ({ name: e }) => {
|
|
|
14274
14273
|
a.regardedOwnerTreatyClaimCountry
|
|
14275
14274
|
), I = h.length > 0;
|
|
14276
14275
|
return /* @__PURE__ */ N(
|
|
14277
|
-
|
|
14276
|
+
de,
|
|
14278
14277
|
{
|
|
14279
14278
|
title: o("regardedOwnerTreatyClaims"),
|
|
14280
14279
|
className: "taxbit-form-regarded-owner-treaty-claims",
|
|
@@ -14357,7 +14356,7 @@ const w = ({ name: e }) => {
|
|
|
14357
14356
|
}
|
|
14358
14357
|
)
|
|
14359
14358
|
] }),
|
|
14360
|
-
/* @__PURE__ */ t(
|
|
14359
|
+
/* @__PURE__ */ t(ce, { onBack: i, onNext: () => e(a) })
|
|
14361
14360
|
]
|
|
14362
14361
|
}
|
|
14363
14362
|
);
|
|
@@ -15544,7 +15543,7 @@ const w = ({ name: e }) => {
|
|
|
15544
15543
|
label: p(`SIGNATURE_CAPACITY_${I}`)
|
|
15545
15544
|
})), h = r === "SELF-CERT";
|
|
15546
15545
|
return /* @__PURE__ */ N(
|
|
15547
|
-
|
|
15546
|
+
de,
|
|
15548
15547
|
{
|
|
15549
15548
|
title: s("summary"),
|
|
15550
15549
|
className: `taxbit-form-${li("summary")}`,
|
|
@@ -15719,7 +15718,7 @@ const w = ({ name: e }) => {
|
|
|
15719
15718
|
)
|
|
15720
15719
|
] }),
|
|
15721
15720
|
/* @__PURE__ */ t(
|
|
15722
|
-
|
|
15721
|
+
ce,
|
|
15723
15722
|
{
|
|
15724
15723
|
onBack: e,
|
|
15725
15724
|
onSubmit: () => i(l),
|
|
@@ -15733,13 +15732,13 @@ const w = ({ name: e }) => {
|
|
|
15733
15732
|
}, Hc = () => /* @__PURE__ */ t(te, { children: /* @__PURE__ */ t(wc, {}) }), Uc = () => {
|
|
15734
15733
|
const { getLocalTitle: e, getLocalText: i } = b(), { goBack: n } = B();
|
|
15735
15734
|
return /* @__PURE__ */ N(
|
|
15736
|
-
|
|
15735
|
+
de,
|
|
15737
15736
|
{
|
|
15738
15737
|
title: e("w8imyInstructions"),
|
|
15739
15738
|
className: "taxbit-form-account-holder-contact-information",
|
|
15740
15739
|
children: [
|
|
15741
15740
|
/* @__PURE__ */ t(ye, { val: i("w8imyInstructions") }),
|
|
15742
|
-
/* @__PURE__ */ t(
|
|
15741
|
+
/* @__PURE__ */ t(ce, { onBack: n })
|
|
15743
15742
|
]
|
|
15744
15743
|
}
|
|
15745
15744
|
);
|