@zeniai/web-components 4.1.96-betaRD2 → 4.1.96-betaRD3
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/{SessionTimeoutPopup-D6BRm8yQ.js → SessionTimeoutPopup-C4YI8NrY.js} +167 -170
- package/dist/{SessionTimeoutPopup-BIbnyWTy.cjs → SessionTimeoutPopup-CcWBh9_Q.cjs} +1 -1
- package/dist/cockpit.cjs.js +1 -1
- package/dist/cockpit.esm.js +2 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +2 -2
|
@@ -32845,9 +32845,9 @@ const ZSt = [], KSt = ({
|
|
|
32845
32845
|
...wn,
|
|
32846
32846
|
[Ve]: uo
|
|
32847
32847
|
})), Dt.current[Ve] = uo);
|
|
32848
|
-
const
|
|
32848
|
+
const Jt = Array.isArray(
|
|
32849
32849
|
ro
|
|
32850
|
-
) ? ro : [], nn =
|
|
32850
|
+
) ? ro : [], nn = Jt.length > 0 ? Jt[Jt.length - 1]?.questionAnswerId : null;
|
|
32851
32851
|
uo && nn !== uo && St((wn) => ({
|
|
32852
32852
|
...wn,
|
|
32853
32853
|
[Ve]: null
|
|
@@ -33082,13 +33082,13 @@ const ZSt = [], KSt = ({
|
|
|
33082
33082
|
reasoning: { fetchState: "Completed", error: void 0 },
|
|
33083
33083
|
answer: { fetchState: "Completed", error: void 0 },
|
|
33084
33084
|
fetchStatus: { fetchState: "Completed", error: void 0 }
|
|
33085
|
-
},
|
|
33085
|
+
}, Jt = e.uiState.cotCollapsedByQuestionAnswerId[Ve.questionAnswerId] ?? !1;
|
|
33086
33086
|
return /* @__PURE__ */ t.jsx(
|
|
33087
33087
|
Zje,
|
|
33088
33088
|
{
|
|
33089
33089
|
enableTypingEffect: Co,
|
|
33090
33090
|
enableCotTypingEffect: Ze,
|
|
33091
|
-
isCotCollapsed:
|
|
33091
|
+
isCotCollapsed: Jt,
|
|
33092
33092
|
isFullView: Ae ? !1 : r,
|
|
33093
33093
|
aiCfoAnswer: Ve,
|
|
33094
33094
|
responseState: go,
|
|
@@ -45513,7 +45513,7 @@ const eOt = i.div`
|
|
|
45513
45513
|
paddingRight: new w(h[2], h[3]),
|
|
45514
45514
|
labelMarginRight: new w(h[3], h[4])
|
|
45515
45515
|
};
|
|
45516
|
-
function
|
|
45516
|
+
function Kt({
|
|
45517
45517
|
isDisabled: e,
|
|
45518
45518
|
label: n,
|
|
45519
45519
|
text: r,
|
|
@@ -45704,7 +45704,7 @@ const uOt = i.div`
|
|
|
45704
45704
|
const a = Z(), l = zL.labelWidth.value(a);
|
|
45705
45705
|
return /* @__PURE__ */ t.jsx(COt, { style: r, size: a, children: /* @__PURE__ */ t.jsxs(bOt, { children: [
|
|
45706
45706
|
/* @__PURE__ */ t.jsx(
|
|
45707
|
-
|
|
45707
|
+
Kt,
|
|
45708
45708
|
{
|
|
45709
45709
|
fullWidthSelect: !1,
|
|
45710
45710
|
label: {
|
|
@@ -45730,7 +45730,7 @@ const uOt = i.div`
|
|
|
45730
45730
|
}
|
|
45731
45731
|
),
|
|
45732
45732
|
/* @__PURE__ */ t.jsx(
|
|
45733
|
-
|
|
45733
|
+
Kt,
|
|
45734
45734
|
{
|
|
45735
45735
|
fullWidthSelect: !1,
|
|
45736
45736
|
label: {
|
|
@@ -47245,7 +47245,7 @@ function bM({
|
|
|
47245
47245
|
}
|
|
47246
47246
|
),
|
|
47247
47247
|
/* @__PURE__ */ t.jsx(
|
|
47248
|
-
|
|
47248
|
+
Kt,
|
|
47249
47249
|
{
|
|
47250
47250
|
isDisabled: a,
|
|
47251
47251
|
label: { label: m.address.suite, width: x },
|
|
@@ -47263,7 +47263,7 @@ function bM({
|
|
|
47263
47263
|
}
|
|
47264
47264
|
),
|
|
47265
47265
|
/* @__PURE__ */ t.jsx(
|
|
47266
|
-
|
|
47266
|
+
Kt,
|
|
47267
47267
|
{
|
|
47268
47268
|
isDisabled: a,
|
|
47269
47269
|
label: { label: m.address.city, width: g },
|
|
@@ -47286,7 +47286,7 @@ function bM({
|
|
|
47286
47286
|
}
|
|
47287
47287
|
),
|
|
47288
47288
|
/* @__PURE__ */ t.jsx(
|
|
47289
|
-
|
|
47289
|
+
Kt,
|
|
47290
47290
|
{
|
|
47291
47291
|
isDisabled: a,
|
|
47292
47292
|
label: { label: m.address.state, width: g },
|
|
@@ -47332,7 +47332,7 @@ function bM({
|
|
|
47332
47332
|
}
|
|
47333
47333
|
),
|
|
47334
47334
|
/* @__PURE__ */ t.jsx(
|
|
47335
|
-
|
|
47335
|
+
Kt,
|
|
47336
47336
|
{
|
|
47337
47337
|
isDisabled: a,
|
|
47338
47338
|
label: { label: m.address.zipCode, width: g },
|
|
@@ -47355,7 +47355,7 @@ function bM({
|
|
|
47355
47355
|
}
|
|
47356
47356
|
),
|
|
47357
47357
|
/* @__PURE__ */ t.jsx(
|
|
47358
|
-
|
|
47358
|
+
Kt,
|
|
47359
47359
|
{
|
|
47360
47360
|
isDisabled: a,
|
|
47361
47361
|
label: {
|
|
@@ -51073,7 +51073,7 @@ const b_t = i.div`
|
|
|
51073
51073
|
},
|
|
51074
51074
|
va(b, "vendor")
|
|
51075
51075
|
) : /* @__PURE__ */ t.jsx(
|
|
51076
|
-
|
|
51076
|
+
Kt,
|
|
51077
51077
|
{
|
|
51078
51078
|
label: {
|
|
51079
51079
|
label: tr.vendorDetails.vendorName,
|
|
@@ -51352,7 +51352,7 @@ const b_t = i.div`
|
|
|
51352
51352
|
}
|
|
51353
51353
|
) }) : null,
|
|
51354
51354
|
k === !1 || k && n.vendorDetailLocalData?.currencyCode != null ? /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
|
|
51355
|
-
|
|
51355
|
+
Kt,
|
|
51356
51356
|
{
|
|
51357
51357
|
label: {
|
|
51358
51358
|
label: tr.vendorDetails.currency,
|
|
@@ -53664,7 +53664,7 @@ const BHt = i.div`
|
|
|
53664
53664
|
},
|
|
53665
53665
|
fieldThreadTargetElement: U?.sharedRef?.contentWrapperRef,
|
|
53666
53666
|
children: /* @__PURE__ */ t.jsx(
|
|
53667
|
-
|
|
53667
|
+
Kt,
|
|
53668
53668
|
{
|
|
53669
53669
|
isDisabled: u,
|
|
53670
53670
|
label: {
|
|
@@ -61390,7 +61390,7 @@ const x3 = (e, n) => `${e}.${n}`, Ez = "toAccountVendorEmail", b5 = {
|
|
|
61390
61390
|
ti.expiration
|
|
61391
61391
|
) || ti.linkToken == null) && ce("link_account");
|
|
61392
61392
|
}, []);
|
|
61393
|
-
const Ve = x?.withdrawFrom == null || x?.withdrawFrom?.accType === "paymentAccount", bt = x?.withdrawFrom?.accType === "depositAccount" ? ye.disablementAmountThresholdInternal : ye.disablementAmountThresholdExternal, Ze = d.amount > bt, Co = x?.withdrawFrom?.accountBalance?.available?.amount != null && x?.withdrawFrom?.accType === "paymentAccount" && x?.withdrawFrom?.accountBalance?.available?.amount < 2 * U.amount, uo = x?.withdrawFrom?.accType === "depositAccount" && x?.withdrawFrom.accountBalance != null && x.withdrawFrom.accountBalance.available != null && x.withdrawFrom.accountBalance.available.amount < U.amount, go = pe === !0 && (Ze === !0 || Co === !0) || pe === !1 && ae === !0,
|
|
61393
|
+
const Ve = x?.withdrawFrom == null || x?.withdrawFrom?.accType === "paymentAccount", bt = x?.withdrawFrom?.accType === "depositAccount" ? ye.disablementAmountThresholdInternal : ye.disablementAmountThresholdExternal, Ze = d.amount > bt, Co = x?.withdrawFrom?.accountBalance?.available?.amount != null && x?.withdrawFrom?.accType === "paymentAccount" && x?.withdrawFrom?.accountBalance?.available?.amount < 2 * U.amount, uo = x?.withdrawFrom?.accType === "depositAccount" && x?.withdrawFrom.accountBalance != null && x.withdrawFrom.accountBalance.available != null && x.withdrawFrom.accountBalance.available.amount < U.amount, go = pe === !0 && (Ze === !0 || Co === !0) || pe === !1 && ae === !0, Jt = (Qt) => {
|
|
61394
61394
|
switch (Qt) {
|
|
61395
61395
|
case ore.signupButtonText:
|
|
61396
61396
|
he?.();
|
|
@@ -61655,7 +61655,7 @@ const x3 = (e, n) => `${e}.${n}`, Ez = "toAccountVendorEmail", b5 = {
|
|
|
61655
61655
|
isInsufficientBalance: Co,
|
|
61656
61656
|
isDepositAccount: x?.withdrawFrom?.accType === "depositAccount",
|
|
61657
61657
|
disablementAmountThreshold: bt,
|
|
61658
|
-
onButtonClick:
|
|
61658
|
+
onButtonClick: Jt
|
|
61659
61659
|
},
|
|
61660
61660
|
isDisabled: T === !0 ? "readonly" : S
|
|
61661
61661
|
}
|
|
@@ -63731,7 +63731,7 @@ const Rqt = i.span`
|
|
|
63731
63731
|
},
|
|
63732
63732
|
fieldThreadTargetElement: C?.sharedRef?.contentWrapperRef,
|
|
63733
63733
|
children: /* @__PURE__ */ t.jsx(
|
|
63734
|
-
|
|
63734
|
+
Kt,
|
|
63735
63735
|
{
|
|
63736
63736
|
isDisabled: c,
|
|
63737
63737
|
label: {
|
|
@@ -63892,7 +63892,7 @@ const Rqt = i.span`
|
|
|
63892
63892
|
},
|
|
63893
63893
|
fieldThreadTargetElement: C?.sharedRef?.contentWrapperRef,
|
|
63894
63894
|
children: /* @__PURE__ */ t.jsx(
|
|
63895
|
-
|
|
63895
|
+
Kt,
|
|
63896
63896
|
{
|
|
63897
63897
|
isDisabled: c,
|
|
63898
63898
|
label: {
|
|
@@ -64612,7 +64612,7 @@ const Rqt = i.span`
|
|
|
64612
64612
|
}
|
|
64613
64613
|
);
|
|
64614
64614
|
}
|
|
64615
|
-
},
|
|
64615
|
+
}, Jt = St.handleSubmit(() => {
|
|
64616
64616
|
if (e.vendor?.id == null)
|
|
64617
64617
|
wt(!0);
|
|
64618
64618
|
else if (!e.vendor.email)
|
|
@@ -65003,7 +65003,7 @@ const Rqt = i.span`
|
|
|
65003
65003
|
"form",
|
|
65004
65004
|
{
|
|
65005
65005
|
id: kre(vre),
|
|
65006
|
-
onSubmit:
|
|
65006
|
+
onSubmit: Jt,
|
|
65007
65007
|
children: [
|
|
65008
65008
|
/* @__PURE__ */ t.jsx(
|
|
65009
65009
|
ZIe,
|
|
@@ -124191,7 +124191,7 @@ const NDo = ({
|
|
|
124191
124191
|
fieldThreadTargetElement: p?.sharedRef?.contentWrapperRef,
|
|
124192
124192
|
style: { width: "100%" },
|
|
124193
124193
|
children: /* @__PURE__ */ t.jsx(
|
|
124194
|
-
|
|
124194
|
+
Kt,
|
|
124195
124195
|
{
|
|
124196
124196
|
isDisabled: a,
|
|
124197
124197
|
label: {
|
|
@@ -126404,7 +126404,7 @@ const BOo = i.span`
|
|
|
126404
126404
|
`${b}-${m}`
|
|
126405
126405
|
),
|
|
126406
126406
|
children: /* @__PURE__ */ t.jsx(
|
|
126407
|
-
|
|
126407
|
+
Kt,
|
|
126408
126408
|
{
|
|
126409
126409
|
isDisabled: d,
|
|
126410
126410
|
showAdditionalInfoLabel: !1,
|
|
@@ -128513,7 +128513,7 @@ const {
|
|
|
128513
128513
|
`${b}-${m}`
|
|
128514
128514
|
),
|
|
128515
128515
|
children: /* @__PURE__ */ t.jsx(
|
|
128516
|
-
|
|
128516
|
+
Kt,
|
|
128517
128517
|
{
|
|
128518
128518
|
isDisabled: d,
|
|
128519
128519
|
showAdditionalInfoLabel: !1,
|
|
@@ -131462,7 +131462,7 @@ function Mde({
|
|
|
131462
131462
|
let Mn = !1;
|
|
131463
131463
|
if (gt.includes(pd) || gt.includes(md)) {
|
|
131464
131464
|
if (gt.includes(pd)) {
|
|
131465
|
-
const lo =
|
|
131465
|
+
const lo = Jt(bo, yt, eo);
|
|
131466
131466
|
Tt[o7] !== lo && (Tt[o7] = lo, Mn = !0), Tt[pd].selectedOption != null && Tt[pd].selectedOption === Tt[Uw]?.qboId && !Tt[yp] ? (Tt[yp] = !0, Mn = !0) : (Tt[yp] = !1, Mn = !0), Tt[pd].selectedOption != null && Tt[pd].selectedOption === Tt[Yw]?.qboId && !Tt[yp] ? (Tt[M5] = !0, Mn = !0) : (Tt[M5] = !1, Mn = !0);
|
|
131467
131467
|
}
|
|
131468
131468
|
if (gt.includes(md) && (Tt[O5] !== nn(bo, yt, eo) && (Tt[O5] = nn(bo, yt, eo), Mn = !0), Tt[md].selectedOption != null && Tt[md].selectedOption === Tt[Gw]?.classId && !Tt[Cp] ? (Tt[Cp] = !0, Mn = !0) : (Tt[Cp] = !1, Mn = !0), Tt[md].selectedOption != null && Tt[md].selectedOption === Tt[qw]?.classId && !Tt[Cp] ? (Tt[D5] = !0, Mn = !0) : (Tt[D5] = !1, Mn = !0)), Tt[F0] === !0) {
|
|
@@ -131798,7 +131798,7 @@ function Mde({
|
|
|
131798
131798
|
);
|
|
131799
131799
|
return uo(Qo, cc) && Gn.id !== eo;
|
|
131800
131800
|
}).map((Gn) => Gn.id) : [];
|
|
131801
|
-
},
|
|
131801
|
+
}, Jt = (gt, eo, ao) => !!(n.transactionDetailLocalData.lineItemById[gt].recommendationsWithCOT?.map((Qo) => Qo.account?.qboId) ?? []).includes(
|
|
131802
131802
|
ao[Fl][eo][pd].selectedOption
|
|
131803
131803
|
), nn = (gt, eo, ao) => !!(n.transactionDetailLocalData.lineItemById[gt].recommendationsWithCOT?.map((Qo) => Qo.class?.classId) ?? []).includes(
|
|
131804
131804
|
ao[Fl][eo][md].selectedOption
|
|
@@ -138959,7 +138959,7 @@ function QGo({
|
|
|
138959
138959
|
/* @__PURE__ */ t.jsx(qGo, { children: Pl.companyInfo.title }),
|
|
138960
138960
|
/* @__PURE__ */ t.jsxs(YGo, { children: [
|
|
138961
138961
|
/* @__PURE__ */ t.jsx(
|
|
138962
|
-
|
|
138962
|
+
Kt,
|
|
138963
138963
|
{
|
|
138964
138964
|
isDisabled: c,
|
|
138965
138965
|
label: {
|
|
@@ -138982,7 +138982,7 @@ function QGo({
|
|
|
138982
138982
|
}
|
|
138983
138983
|
),
|
|
138984
138984
|
/* @__PURE__ */ t.jsx(
|
|
138985
|
-
|
|
138985
|
+
Kt,
|
|
138986
138986
|
{
|
|
138987
138987
|
isDisabled: c,
|
|
138988
138988
|
label: {
|
|
@@ -139005,7 +139005,7 @@ function QGo({
|
|
|
139005
139005
|
}
|
|
139006
139006
|
),
|
|
139007
139007
|
/* @__PURE__ */ t.jsx(
|
|
139008
|
-
|
|
139008
|
+
Kt,
|
|
139009
139009
|
{
|
|
139010
139010
|
isDisabled: c,
|
|
139011
139011
|
label: { label: Pl.companyInfo.website, width: g },
|
|
@@ -139231,7 +139231,7 @@ function QGo({
|
|
|
139231
139231
|
additionalContent: MRe.includes(
|
|
139232
139232
|
M?.selectedOption
|
|
139233
139233
|
) ? /* @__PURE__ */ t.jsx(
|
|
139234
|
-
|
|
139234
|
+
Kt,
|
|
139235
139235
|
{
|
|
139236
139236
|
isDisabled: c,
|
|
139237
139237
|
label: {
|
|
@@ -139307,7 +139307,7 @@ function QGo({
|
|
|
139307
139307
|
additionalContent: DRe.includes(
|
|
139308
139308
|
N?.selectedOption
|
|
139309
139309
|
) ? /* @__PURE__ */ t.jsx(
|
|
139310
|
-
|
|
139310
|
+
Kt,
|
|
139311
139311
|
{
|
|
139312
139312
|
isDisabled: c,
|
|
139313
139313
|
label: {
|
|
@@ -139427,7 +139427,7 @@ function QGo({
|
|
|
139427
139427
|
] })
|
|
139428
139428
|
] }),
|
|
139429
139429
|
Q === "yes" && /* @__PURE__ */ t.jsx(
|
|
139430
|
-
|
|
139430
|
+
Kt,
|
|
139431
139431
|
{
|
|
139432
139432
|
isDisabled: c,
|
|
139433
139433
|
label: {
|
|
@@ -139627,7 +139627,7 @@ function QGo({
|
|
|
139627
139627
|
additionalContent: ORe.includes(
|
|
139628
139628
|
_?.selectedOption
|
|
139629
139629
|
) ? /* @__PURE__ */ t.jsx(
|
|
139630
|
-
|
|
139630
|
+
Kt,
|
|
139631
139631
|
{
|
|
139632
139632
|
isDisabled: c,
|
|
139633
139633
|
label: {
|
|
@@ -140339,7 +140339,7 @@ function oYo({
|
|
|
140339
140339
|
}
|
|
140340
140340
|
),
|
|
140341
140341
|
/* @__PURE__ */ t.jsx(
|
|
140342
|
-
|
|
140342
|
+
Kt,
|
|
140343
140343
|
{
|
|
140344
140344
|
isDisabled: g ? n : "readonly",
|
|
140345
140345
|
label: { label: u.companyOfficer.email, width: p },
|
|
@@ -140625,7 +140625,7 @@ function yYo(e) {
|
|
|
140625
140625
|
/* @__PURE__ */ t.jsx(wYo, { children: l.companyTaxInfo.title }),
|
|
140626
140626
|
/* @__PURE__ */ t.jsxs(bYo, { children: [
|
|
140627
140627
|
/* @__PURE__ */ t.jsx(
|
|
140628
|
-
|
|
140628
|
+
Kt,
|
|
140629
140629
|
{
|
|
140630
140630
|
isDisabled: x,
|
|
140631
140631
|
label: {
|
|
@@ -140644,7 +140644,7 @@ function yYo(e) {
|
|
|
140644
140644
|
}
|
|
140645
140645
|
),
|
|
140646
140646
|
/* @__PURE__ */ t.jsx(
|
|
140647
|
-
|
|
140647
|
+
Kt,
|
|
140648
140648
|
{
|
|
140649
140649
|
isDisabled: x,
|
|
140650
140650
|
label: {
|
|
@@ -140662,7 +140662,7 @@ function yYo(e) {
|
|
|
140662
140662
|
}
|
|
140663
140663
|
),
|
|
140664
140664
|
/* @__PURE__ */ t.jsx(
|
|
140665
|
-
|
|
140665
|
+
Kt,
|
|
140666
140666
|
{
|
|
140667
140667
|
isDisabled: x,
|
|
140668
140668
|
label: {
|
|
@@ -140680,7 +140680,7 @@ function yYo(e) {
|
|
|
140680
140680
|
}
|
|
140681
140681
|
),
|
|
140682
140682
|
/* @__PURE__ */ t.jsx(
|
|
140683
|
-
|
|
140683
|
+
Kt,
|
|
140684
140684
|
{
|
|
140685
140685
|
isDisabled: x,
|
|
140686
140686
|
label: {
|
|
@@ -140824,7 +140824,7 @@ function vYo({
|
|
|
140824
140824
|
}
|
|
140825
140825
|
),
|
|
140826
140826
|
/* @__PURE__ */ t.jsx(
|
|
140827
|
-
|
|
140827
|
+
Kt,
|
|
140828
140828
|
{
|
|
140829
140829
|
isDisabled: n,
|
|
140830
140830
|
label: { label: l.primaryContact.email, width: c },
|
|
@@ -141161,7 +141161,7 @@ function FYo({
|
|
|
141161
141161
|
}
|
|
141162
141162
|
),
|
|
141163
141163
|
a === !0 ? /* @__PURE__ */ t.jsx(
|
|
141164
|
-
|
|
141164
|
+
Kt,
|
|
141165
141165
|
{
|
|
141166
141166
|
isDisabled: s,
|
|
141167
141167
|
label: {
|
|
@@ -142293,7 +142293,7 @@ function Pqo({
|
|
|
142293
142293
|
),
|
|
142294
142294
|
/* @__PURE__ */ t.jsx(I3, {}),
|
|
142295
142295
|
/* @__PURE__ */ t.jsx(
|
|
142296
|
-
|
|
142296
|
+
Kt,
|
|
142297
142297
|
{
|
|
142298
142298
|
isDisabled: n,
|
|
142299
142299
|
label: {
|
|
@@ -142332,7 +142332,7 @@ function Pqo({
|
|
|
142332
142332
|
] }),
|
|
142333
142333
|
r.coupons.length > 0 ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
142334
142334
|
/* @__PURE__ */ t.jsx(
|
|
142335
|
-
|
|
142335
|
+
Kt,
|
|
142336
142336
|
{
|
|
142337
142337
|
isDisabled: n,
|
|
142338
142338
|
label: {
|
|
@@ -142353,7 +142353,7 @@ function Pqo({
|
|
|
142353
142353
|
/* @__PURE__ */ t.jsx(I3, {})
|
|
142354
142354
|
] }) : null,
|
|
142355
142355
|
/* @__PURE__ */ t.jsx(
|
|
142356
|
-
|
|
142356
|
+
Kt,
|
|
142357
142357
|
{
|
|
142358
142358
|
isDisabled: n,
|
|
142359
142359
|
label: {
|
|
@@ -142393,7 +142393,7 @@ function Pqo({
|
|
|
142393
142393
|
),
|
|
142394
142394
|
/* @__PURE__ */ t.jsx(I3, {}),
|
|
142395
142395
|
/* @__PURE__ */ t.jsx(
|
|
142396
|
-
|
|
142396
|
+
Kt,
|
|
142397
142397
|
{
|
|
142398
142398
|
isDisabled: n,
|
|
142399
142399
|
label: {
|
|
@@ -142417,7 +142417,7 @@ function Pqo({
|
|
|
142417
142417
|
p && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
142418
142418
|
/* @__PURE__ */ t.jsx(I3, {}),
|
|
142419
142419
|
/* @__PURE__ */ t.jsx(
|
|
142420
|
-
|
|
142420
|
+
Kt,
|
|
142421
142421
|
{
|
|
142422
142422
|
isDisabled: n,
|
|
142423
142423
|
label: {
|
|
@@ -144171,7 +144171,7 @@ const RKo = i.div`
|
|
|
144171
144171
|
"data-testid": R("bank-account-section", e),
|
|
144172
144172
|
children: /* @__PURE__ */ t.jsxs(DKo, { children: [
|
|
144173
144173
|
/* @__PURE__ */ t.jsx(
|
|
144174
|
-
|
|
144174
|
+
Kt,
|
|
144175
144175
|
{
|
|
144176
144176
|
label: {
|
|
144177
144177
|
label: b.bankRoutingNumber,
|
|
@@ -144210,7 +144210,7 @@ const RKo = i.div`
|
|
|
144210
144210
|
}
|
|
144211
144211
|
}
|
|
144212
144212
|
) : /* @__PURE__ */ t.jsx(
|
|
144213
|
-
|
|
144213
|
+
Kt,
|
|
144214
144214
|
{
|
|
144215
144215
|
label: {
|
|
144216
144216
|
label: b.bankName,
|
|
@@ -144299,7 +144299,7 @@ const RKo = i.div`
|
|
|
144299
144299
|
] })
|
|
144300
144300
|
] }),
|
|
144301
144301
|
/* @__PURE__ */ t.jsx(
|
|
144302
|
-
|
|
144302
|
+
Kt,
|
|
144303
144303
|
{
|
|
144304
144304
|
label: {
|
|
144305
144305
|
label: b.bankAccountNumber,
|
|
@@ -144325,7 +144325,7 @@ const RKo = i.div`
|
|
|
144325
144325
|
}
|
|
144326
144326
|
),
|
|
144327
144327
|
/* @__PURE__ */ t.jsx(
|
|
144328
|
-
|
|
144328
|
+
Kt,
|
|
144329
144329
|
{
|
|
144330
144330
|
label: {
|
|
144331
144331
|
label: b.confirmedBankAccountNumber,
|
|
@@ -144350,7 +144350,7 @@ const RKo = i.div`
|
|
|
144350
144350
|
}
|
|
144351
144351
|
),
|
|
144352
144352
|
/* @__PURE__ */ t.jsx(
|
|
144353
|
-
|
|
144353
|
+
Kt,
|
|
144354
144354
|
{
|
|
144355
144355
|
label: {
|
|
144356
144356
|
label: b.accountNickName,
|
|
@@ -145738,7 +145738,7 @@ const LJo = i.div`
|
|
|
145738
145738
|
switch (k.fieldType) {
|
|
145739
145739
|
case "text":
|
|
145740
145740
|
return /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
|
|
145741
|
-
|
|
145741
|
+
Kt,
|
|
145742
145742
|
{
|
|
145743
145743
|
label: {
|
|
145744
145744
|
label: k.label + b.colon,
|
|
@@ -164309,7 +164309,7 @@ function lmn({
|
|
|
164309
164309
|
}
|
|
164310
164310
|
),
|
|
164311
164311
|
/* @__PURE__ */ t.jsx(
|
|
164312
|
-
|
|
164312
|
+
Kt,
|
|
164313
164313
|
{
|
|
164314
164314
|
text: {
|
|
164315
164315
|
type: "text",
|
|
@@ -167989,7 +167989,7 @@ const E2n = i.div`
|
|
|
167989
167989
|
}
|
|
167990
167990
|
),
|
|
167991
167991
|
/* @__PURE__ */ t.jsx(
|
|
167992
|
-
|
|
167992
|
+
Kt,
|
|
167993
167993
|
{
|
|
167994
167994
|
isDisabled: s,
|
|
167995
167995
|
showAdditionalInfoLabel: !1,
|
|
@@ -169516,7 +169516,7 @@ const B0n = i.span`
|
|
|
169516
169516
|
{
|
|
169517
169517
|
isAutoFilled: U("companyLegalName"),
|
|
169518
169518
|
children: /* @__PURE__ */ t.jsx(
|
|
169519
|
-
|
|
169519
|
+
Kt,
|
|
169520
169520
|
{
|
|
169521
169521
|
isDisabled: d,
|
|
169522
169522
|
showAdditionalInfoLabel: !1,
|
|
@@ -169542,7 +169542,7 @@ const B0n = i.span`
|
|
|
169542
169542
|
}
|
|
169543
169543
|
),
|
|
169544
169544
|
/* @__PURE__ */ t.jsx(
|
|
169545
|
-
|
|
169545
|
+
Kt,
|
|
169546
169546
|
{
|
|
169547
169547
|
isDisabled: d,
|
|
169548
169548
|
showAdditionalInfoLabel: !1,
|
|
@@ -169630,7 +169630,7 @@ const B0n = i.span`
|
|
|
169630
169630
|
}
|
|
169631
169631
|
),
|
|
169632
169632
|
/* @__PURE__ */ t.jsx(
|
|
169633
|
-
|
|
169633
|
+
Kt,
|
|
169634
169634
|
{
|
|
169635
169635
|
isDisabled: d,
|
|
169636
169636
|
showAdditionalInfoLabel: !1,
|
|
@@ -169958,7 +169958,7 @@ const B0n = i.span`
|
|
|
169958
169958
|
additionalContent: MRe.includes(
|
|
169959
169959
|
Y?.selectedOption
|
|
169960
169960
|
) ? /* @__PURE__ */ t.jsx(
|
|
169961
|
-
|
|
169961
|
+
Kt,
|
|
169962
169962
|
{
|
|
169963
169963
|
isDisabled: d,
|
|
169964
169964
|
label: {
|
|
@@ -170038,7 +170038,7 @@ const B0n = i.span`
|
|
|
170038
170038
|
additionalContent: DRe.includes(
|
|
170039
170039
|
J?.selectedOption
|
|
170040
170040
|
) ? /* @__PURE__ */ t.jsx(
|
|
170041
|
-
|
|
170041
|
+
Kt,
|
|
170042
170042
|
{
|
|
170043
170043
|
isDisabled: d,
|
|
170044
170044
|
label: {
|
|
@@ -170118,7 +170118,7 @@ const B0n = i.span`
|
|
|
170118
170118
|
additionalContent: ORe.includes(
|
|
170119
170119
|
G?.selectedOption
|
|
170120
170120
|
) ? /* @__PURE__ */ t.jsx(
|
|
170121
|
-
|
|
170121
|
+
Kt,
|
|
170122
170122
|
{
|
|
170123
170123
|
isDisabled: d,
|
|
170124
170124
|
label: {
|
|
@@ -170245,7 +170245,7 @@ const B0n = i.span`
|
|
|
170245
170245
|
)
|
|
170246
170246
|
] }),
|
|
170247
170247
|
q === "yes" && /* @__PURE__ */ t.jsx(
|
|
170248
|
-
|
|
170248
|
+
Kt,
|
|
170249
170249
|
{
|
|
170250
170250
|
isDisabled: d,
|
|
170251
170251
|
label: {
|
|
@@ -170430,7 +170430,7 @@ const B0n = i.span`
|
|
|
170430
170430
|
{
|
|
170431
170431
|
isAutoFilled: U("taxIdOrEIN"),
|
|
170432
170432
|
children: /* @__PURE__ */ t.jsx(
|
|
170433
|
-
|
|
170433
|
+
Kt,
|
|
170434
170434
|
{
|
|
170435
170435
|
isDisabled: d,
|
|
170436
170436
|
showAdditionalInfoLabel: !1,
|
|
@@ -170520,7 +170520,7 @@ const B0n = i.span`
|
|
|
170520
170520
|
}
|
|
170521
170521
|
),
|
|
170522
170522
|
/* @__PURE__ */ t.jsx(
|
|
170523
|
-
|
|
170523
|
+
Kt,
|
|
170524
170524
|
{
|
|
170525
170525
|
isDisabled: d,
|
|
170526
170526
|
label: {
|
|
@@ -171290,7 +171290,7 @@ function ADe({
|
|
|
171290
171290
|
}
|
|
171291
171291
|
),
|
|
171292
171292
|
tt?.userId == null ? /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
|
|
171293
|
-
|
|
171293
|
+
Kt,
|
|
171294
171294
|
{
|
|
171295
171295
|
isDisabled: Qe,
|
|
171296
171296
|
showAdditionalInfoLabel: !1,
|
|
@@ -174373,7 +174373,7 @@ const Kxn = i.div`
|
|
|
174373
174373
|
return Ho?.isDeleted === !0 && Ho?.isBillEditableCoaAccountType === !1;
|
|
174374
174374
|
}) ?? !1, On = !(wt?.code === "processing" || e.transactionDetails?.billPayInfo.isRefundInitiated === !0 || e.transactionDetails?.billPayInfo.isRefundComplete === !0 || (At?.code === "scheduled" || At?.code === "pending_approval") && Rn), Ri = !((At?.code === "scheduled" || At?.code === "pending_approval") && Rn), on = e.zeniAssist?.isEligibleForRetryIBT === !0 || e.zeniAssist?.isEligibleForRetryOBP === !0, Kn = e.zeniAssist?.isEligibleForRefund === !0, Ve = e?.transactionDetails?.billPayInfo.billPaymentMethodType.code === "wire" && e?.transactionDetails?.billPayInfo.billPaymentMethodType.subCode === "international", bt = u && e.transactionDetails?.billPayInfo.billPaymentStatus.code != null && ["failed", "cancelled", "returned"].includes(
|
|
174375
174375
|
e.transactionDetails.billPayInfo.billPaymentStatus.code
|
|
174376
|
-
) && (on || Kn) && Ve === !1, Ze = on || Kn, Co = e.transactionDetails?.billPayInfo.isRefundInitiated === !0 && e.transactionDetails?.billPayInfo.isRefundComplete === !1, uo = wt?.code, go = !Co && (!yi || wt?.code === "processing" && !ro),
|
|
174376
|
+
) && (on || Kn) && Ve === !1, Ze = on || Kn, Co = e.transactionDetails?.billPayInfo.isRefundInitiated === !0 && e.transactionDetails?.billPayInfo.isRefundComplete === !1, uo = wt?.code, go = !Co && (!yi || wt?.code === "processing" && !ro), Jt = !yi, wn = [
|
|
174377
174377
|
"small",
|
|
174378
174378
|
"medium-compact",
|
|
174379
174379
|
"medium-regular"
|
|
@@ -174381,7 +174381,7 @@ const Kxn = i.div`
|
|
|
174381
174381
|
e.transactionDetails?.bulkProcessingDetail?.type
|
|
174382
174382
|
), Qt = y2(
|
|
174383
174383
|
e.paymentMethodType?.method
|
|
174384
|
-
), jo = !hi && (uo !== "processing" && Ri || uo === "processing" && !ro || uo === "processing" &&
|
|
174384
|
+
), jo = !hi && (uo !== "processing" && Ri || uo === "processing" && !ro || uo === "processing" && Jt || r && Qt && g), jt = (to) => {
|
|
174385
174385
|
p.trackBillPayMarkAsPaidSubmit(
|
|
174386
174386
|
to.paymentMode ?? "other",
|
|
174387
174387
|
At?.code ?? "",
|
|
@@ -174880,7 +174880,7 @@ const Kxn = i.div`
|
|
|
174880
174880
|
children: Zo.buttons.cancel
|
|
174881
174881
|
}
|
|
174882
174882
|
) : null,
|
|
174883
|
-
uo === "processing" &&
|
|
174883
|
+
uo === "processing" && Jt ? /* @__PURE__ */ t.jsx(
|
|
174884
174884
|
V6,
|
|
174885
174885
|
{
|
|
174886
174886
|
onClick: Bt,
|
|
@@ -179008,7 +179008,7 @@ function Yur({
|
|
|
179008
179008
|
subheading: x.addRuleSectionSubheading,
|
|
179009
179009
|
children: [
|
|
179010
179010
|
/* @__PURE__ */ t.jsx(
|
|
179011
|
-
|
|
179011
|
+
Kt,
|
|
179012
179012
|
{
|
|
179013
179013
|
label: { label: x.nameLabel },
|
|
179014
179014
|
text: {
|
|
@@ -179025,7 +179025,7 @@ function Yur({
|
|
|
179025
179025
|
}
|
|
179026
179026
|
),
|
|
179027
179027
|
/* @__PURE__ */ t.jsx(
|
|
179028
|
-
|
|
179028
|
+
Kt,
|
|
179029
179029
|
{
|
|
179030
179030
|
label: { label: x.descriptionLabel },
|
|
179031
179031
|
text: {
|
|
@@ -180863,7 +180863,7 @@ function Jur({
|
|
|
180863
180863
|
subheading: C.addRuleSectionSubheading,
|
|
180864
180864
|
children: [
|
|
180865
180865
|
/* @__PURE__ */ t.jsx(
|
|
180866
|
-
|
|
180866
|
+
Kt,
|
|
180867
180867
|
{
|
|
180868
180868
|
label: { label: C.nameLabel },
|
|
180869
180869
|
text: {
|
|
@@ -180880,7 +180880,7 @@ function Jur({
|
|
|
180880
180880
|
}
|
|
180881
180881
|
),
|
|
180882
180882
|
/* @__PURE__ */ t.jsx(
|
|
180883
|
-
|
|
180883
|
+
Kt,
|
|
180884
180884
|
{
|
|
180885
180885
|
label: { label: C.descriptionLabel },
|
|
180886
180886
|
text: {
|
|
@@ -181744,7 +181744,7 @@ const kCn = (e, n) => {
|
|
|
181744
181744
|
},
|
|
181745
181745
|
fieldThreadTargetElement: b?.sharedRef?.contentWrapperRef,
|
|
181746
181746
|
children: /* @__PURE__ */ t.jsx(
|
|
181747
|
-
|
|
181747
|
+
Kt,
|
|
181748
181748
|
{
|
|
181749
181749
|
isDisabled: d,
|
|
181750
181750
|
label: {
|
|
@@ -182533,7 +182533,7 @@ const VCn = i.div`
|
|
|
182533
182533
|
},
|
|
182534
182534
|
fieldThreadTargetElement: I?.sharedRef?.contentWrapperRef,
|
|
182535
182535
|
children: /* @__PURE__ */ t.jsx(
|
|
182536
|
-
|
|
182536
|
+
Kt,
|
|
182537
182537
|
{
|
|
182538
182538
|
isDisabled: p,
|
|
182539
182539
|
label: {
|
|
@@ -183227,7 +183227,7 @@ const VCn = i.div`
|
|
|
183227
183227
|
borderRadius: o.sp2
|
|
183228
183228
|
},
|
|
183229
183229
|
children: /* @__PURE__ */ t.jsx(
|
|
183230
|
-
|
|
183230
|
+
Kt,
|
|
183231
183231
|
{
|
|
183232
183232
|
isDisabled: r,
|
|
183233
183233
|
label: {
|
|
@@ -185462,7 +185462,7 @@ const obn = i.div`
|
|
|
185462
185462
|
).toDateString()
|
|
185463
185463
|
) : void 0, Ve = e.reimbursementInfo?.expectedDepositDate ?? Kn, bt = g != null && e.remiStage === "draft", Ze = iOe(
|
|
185464
185464
|
e.duplicateLineByLineId
|
|
185465
|
-
), Co = e.duplicateReimbursementStatus.fetchState === "Completed" && Ze > 0, { requestToOpenThread: uo, setRequestToOpenThread: go, setOpenThread:
|
|
185465
|
+
), Co = e.duplicateReimbursementStatus.fetchState === "Completed" && Ze > 0, { requestToOpenThread: uo, setRequestToOpenThread: go, setOpenThread: Jt } = Oo(yr);
|
|
185466
185466
|
K(() => {
|
|
185467
185467
|
ue?.threadId != null && ue?.companyId != null && ue?.entityType != null && go(ue);
|
|
185468
185468
|
}, [ue, go]);
|
|
@@ -185479,18 +185479,18 @@ const obn = i.div`
|
|
|
185479
185479
|
!1
|
|
185480
185480
|
);
|
|
185481
185481
|
K(() => {
|
|
185482
|
-
uo?.threadId != null && nn.length > 0 && !wn && (
|
|
185482
|
+
uo?.threadId != null && nn.length > 0 && !wn && (Jt(uo.threadId), go(null));
|
|
185483
185483
|
}, [
|
|
185484
185484
|
uo,
|
|
185485
185485
|
nn,
|
|
185486
185486
|
wn,
|
|
185487
|
-
|
|
185487
|
+
Jt,
|
|
185488
185488
|
go
|
|
185489
185489
|
]);
|
|
185490
185490
|
const Qt = je(() => g == null ? [] : nn.filter(
|
|
185491
185491
|
(jt) => jt.resolved === !1 && !jt.id.includes(gr)
|
|
185492
185492
|
), [nn, g]).length, jo = (jt, ho) => {
|
|
185493
|
-
|
|
185493
|
+
Jt(ho);
|
|
185494
185494
|
const qt = jt.entityType.split("."), ko = parseInt(qt[2]);
|
|
185495
185495
|
if (isNaN(ko)) {
|
|
185496
185496
|
Ye(!1);
|
|
@@ -189201,7 +189201,7 @@ const obn = i.div`
|
|
|
189201
189201
|
children: /* @__PURE__ */ t.jsxs(Qge, { children: [
|
|
189202
189202
|
/* @__PURE__ */ t.jsx(Mt, { controller: p === !1, children: /* @__PURE__ */ t.jsxs(nt.Fragment, { children: [
|
|
189203
189203
|
/* @__PURE__ */ t.jsx(
|
|
189204
|
-
|
|
189204
|
+
Kt,
|
|
189205
189205
|
{
|
|
189206
189206
|
isDisabled: "disabled",
|
|
189207
189207
|
showAdditionalInfoLabel: !1,
|
|
@@ -196468,7 +196468,7 @@ const Ujn = i.div`
|
|
|
196468
196468
|
),
|
|
196469
196469
|
children: [
|
|
196470
196470
|
/* @__PURE__ */ t.jsx(
|
|
196471
|
-
|
|
196471
|
+
Kt,
|
|
196472
196472
|
{
|
|
196473
196473
|
isDisabled: n,
|
|
196474
196474
|
fullWidthSelect: !1,
|
|
@@ -199840,7 +199840,7 @@ function kTn({
|
|
|
199840
199840
|
}
|
|
199841
199841
|
),
|
|
199842
199842
|
/* @__PURE__ */ t.jsx(
|
|
199843
|
-
|
|
199843
|
+
Kt,
|
|
199844
199844
|
{
|
|
199845
199845
|
isDisabled: a,
|
|
199846
199846
|
label: {
|
|
@@ -199863,7 +199863,7 @@ function kTn({
|
|
|
199863
199863
|
}
|
|
199864
199864
|
),
|
|
199865
199865
|
/* @__PURE__ */ t.jsx(
|
|
199866
|
-
|
|
199866
|
+
Kt,
|
|
199867
199867
|
{
|
|
199868
199868
|
isDisabled: a,
|
|
199869
199869
|
label: {
|
|
@@ -199888,7 +199888,7 @@ function kTn({
|
|
|
199888
199888
|
}
|
|
199889
199889
|
),
|
|
199890
199890
|
/* @__PURE__ */ t.jsx(
|
|
199891
|
-
|
|
199891
|
+
Kt,
|
|
199892
199892
|
{
|
|
199893
199893
|
isDisabled: a,
|
|
199894
199894
|
label: {
|
|
@@ -199937,7 +199937,7 @@ function kTn({
|
|
|
199937
199937
|
}
|
|
199938
199938
|
),
|
|
199939
199939
|
/* @__PURE__ */ t.jsx(
|
|
199940
|
-
|
|
199940
|
+
Kt,
|
|
199941
199941
|
{
|
|
199942
199942
|
isDisabled: a,
|
|
199943
199943
|
label: {
|
|
@@ -199962,7 +199962,7 @@ function kTn({
|
|
|
199962
199962
|
}
|
|
199963
199963
|
),
|
|
199964
199964
|
/* @__PURE__ */ t.jsx(
|
|
199965
|
-
|
|
199965
|
+
Kt,
|
|
199966
199966
|
{
|
|
199967
199967
|
isDisabled: a,
|
|
199968
199968
|
label: {
|
|
@@ -200182,7 +200182,7 @@ const ITn = i.div`
|
|
|
200182
200182
|
/* @__PURE__ */ t.jsxs(d0e, { children: [
|
|
200183
200183
|
/* @__PURE__ */ t.jsx(ek, { children: M?.legalName === !0 && !G ? /* @__PURE__ */ t.jsx(S8, {}) : null }),
|
|
200184
200184
|
/* @__PURE__ */ t.jsx(
|
|
200185
|
-
|
|
200185
|
+
Kt,
|
|
200186
200186
|
{
|
|
200187
200187
|
label: {
|
|
200188
200188
|
label: $8.legalName,
|
|
@@ -200208,7 +200208,7 @@ const ITn = i.div`
|
|
|
200208
200208
|
)
|
|
200209
200209
|
] }),
|
|
200210
200210
|
/* @__PURE__ */ t.jsx(
|
|
200211
|
-
|
|
200211
|
+
Kt,
|
|
200212
200212
|
{
|
|
200213
200213
|
label: {
|
|
200214
200214
|
label: $8.email,
|
|
@@ -208343,7 +208343,7 @@ function szn({
|
|
|
208343
208343
|
}
|
|
208344
208344
|
),
|
|
208345
208345
|
/* @__PURE__ */ t.jsx(
|
|
208346
|
-
|
|
208346
|
+
Kt,
|
|
208347
208347
|
{
|
|
208348
208348
|
label: {
|
|
208349
208349
|
label: Dl.checkDepositDrawer.sourceLabel,
|
|
@@ -209861,7 +209861,7 @@ const Yfe = z.getLocalizedStrings().spendManagement.zeniAccounts.statements, Pze
|
|
|
209861
209861
|
/* @__PURE__ */ t.jsx(UFn, { children: Qu.vendorDetails.title }),
|
|
209862
209862
|
/* @__PURE__ */ t.jsxs(GFn, { children: [
|
|
209863
209863
|
/* @__PURE__ */ t.jsx(
|
|
209864
|
-
|
|
209864
|
+
Kt,
|
|
209865
209865
|
{
|
|
209866
209866
|
label: {
|
|
209867
209867
|
label: Qu.vendorDetails.vendorName,
|
|
@@ -214153,8 +214153,8 @@ const {
|
|
|
214153
214153
|
return !1;
|
|
214154
214154
|
const bt = Ce.getValues(
|
|
214155
214155
|
is
|
|
214156
|
-
), Ze = at?.street.join("").trim(), Co = at?.city, uo = at?.state, go = at?.country,
|
|
214157
|
-
return !!Ze && !!Co && !!uo && !!go && !!
|
|
214156
|
+
), Ze = at?.street.join("").trim(), Co = at?.city, uo = at?.state, go = at?.country, Jt = at?.postalCode != null && at.postalCode || bt.postalCode || Rt.strings.empty;
|
|
214157
|
+
return !!Ze && !!Co && !!uo && !!go && !!Jt;
|
|
214158
214158
|
}
|
|
214159
214159
|
const Po = it(
|
|
214160
214160
|
ze?.providerVerificationStatus?.code
|
|
@@ -214378,9 +214378,9 @@ const {
|
|
|
214378
214378
|
}, ui = () => {
|
|
214379
214379
|
Pe.fetchState !== "In-Progress" && (ue(), c.track(vo.onboardingSkipAndSave));
|
|
214380
214380
|
}, Pi = () => {
|
|
214381
|
-
const Ve = Te[tt], bt = Ve?.email ?? Rt.strings.empty, Ze = Ve?.phone ?? Rt.strings.empty, Co = Ve?.ssn ?? Rt.strings.empty, uo = Ve?.ownershipInCompany, go = Ne < 0 ? 0 : Ne,
|
|
214381
|
+
const Ve = Te[tt], bt = Ve?.email ?? Rt.strings.empty, Ze = Ve?.phone ?? Rt.strings.empty, Co = Ve?.ssn ?? Rt.strings.empty, uo = Ve?.ownershipInCompany, go = Ne < 0 ? 0 : Ne, Jt = !!Ve?.firstName && !!Ve?.lastName;
|
|
214382
214382
|
let nn = !0, wn = !1;
|
|
214383
|
-
return bt && !
|
|
214383
|
+
return bt && !Jt && (Ce.trigger(
|
|
214384
214384
|
[
|
|
214385
214385
|
`${yc}.${go}.name.firstName`,
|
|
214386
214386
|
`${yc}.${go}.name.lastName`
|
|
@@ -214605,10 +214605,10 @@ const {
|
|
|
214605
214605
|
"verification"
|
|
214606
214606
|
),
|
|
214607
214607
|
onCompanyAddressClick: (go) => {
|
|
214608
|
-
const
|
|
214609
|
-
Ct?.addressId == null &&
|
|
214608
|
+
const Jt = Ae?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;
|
|
214609
|
+
Ct?.addressId == null && Jt != null ? V(
|
|
214610
214610
|
go,
|
|
214611
|
-
|
|
214611
|
+
Jt
|
|
214612
214612
|
) : V(
|
|
214613
214613
|
go,
|
|
214614
214614
|
Ct?.addressId
|
|
@@ -220260,7 +220260,7 @@ const wZn = i.div`
|
|
|
220260
220260
|
}
|
|
220261
220261
|
),
|
|
220262
220262
|
/* @__PURE__ */ t.jsx(
|
|
220263
|
-
|
|
220263
|
+
Kt,
|
|
220264
220264
|
{
|
|
220265
220265
|
label: {
|
|
220266
220266
|
label: v.iban,
|
|
@@ -220284,7 +220284,7 @@ const wZn = i.div`
|
|
|
220284
220284
|
}
|
|
220285
220285
|
),
|
|
220286
220286
|
/* @__PURE__ */ t.jsx(
|
|
220287
|
-
|
|
220287
|
+
Kt,
|
|
220288
220288
|
{
|
|
220289
220289
|
label: {
|
|
220290
220290
|
label: v.confirmIban,
|
|
@@ -220310,7 +220310,7 @@ const wZn = i.div`
|
|
|
220310
220310
|
}
|
|
220311
220311
|
),
|
|
220312
220312
|
/* @__PURE__ */ t.jsx(
|
|
220313
|
-
|
|
220313
|
+
Kt,
|
|
220314
220314
|
{
|
|
220315
220315
|
label: {
|
|
220316
220316
|
label: v.accountNickName,
|
|
@@ -226733,7 +226733,7 @@ const uX = (e, n, r, s, a) => {
|
|
|
226733
226733
|
}) => {
|
|
226734
226734
|
const a = Z(), l = Eti.labelWidth.value(a);
|
|
226735
226735
|
return /* @__PURE__ */ t.jsx(Dti, { style: s, children: /* @__PURE__ */ t.jsx(Oti, { children: /* @__PURE__ */ t.jsx(
|
|
226736
|
-
|
|
226736
|
+
Kt,
|
|
226737
226737
|
{
|
|
226738
226738
|
isDisabled: r,
|
|
226739
226739
|
label: {
|
|
@@ -227169,7 +227169,7 @@ const noi = i.div`
|
|
|
227169
227169
|
}
|
|
227170
227170
|
),
|
|
227171
227171
|
/* @__PURE__ */ t.jsx(
|
|
227172
|
-
|
|
227172
|
+
Kt,
|
|
227173
227173
|
{
|
|
227174
227174
|
isDisabled: e.fetchState === "In-Progress" ? "readonly" : a,
|
|
227175
227175
|
label: {
|
|
@@ -230151,7 +230151,7 @@ function Aii({
|
|
|
230151
230151
|
}
|
|
230152
230152
|
) }),
|
|
230153
230153
|
P ? null : /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
|
|
230154
|
-
|
|
230154
|
+
Kt,
|
|
230155
230155
|
{
|
|
230156
230156
|
label: {
|
|
230157
230157
|
label: ie.memo,
|
|
@@ -233973,7 +233973,7 @@ function _si({
|
|
|
233973
233973
|
}
|
|
233974
233974
|
),
|
|
233975
233975
|
/* @__PURE__ */ t.jsx(
|
|
233976
|
-
|
|
233976
|
+
Kt,
|
|
233977
233977
|
{
|
|
233978
233978
|
label: {
|
|
233979
233979
|
label: H.assetId,
|
|
@@ -235491,7 +235491,7 @@ function eli({
|
|
|
235491
235491
|
/* @__PURE__ */ t.jsx(Jai, { windowSize: p, children: d.header }),
|
|
235492
235492
|
/* @__PURE__ */ t.jsxs(Kai, { children: [
|
|
235493
235493
|
/* @__PURE__ */ t.jsx(
|
|
235494
|
-
|
|
235494
|
+
Kt,
|
|
235495
235495
|
{
|
|
235496
235496
|
label: {
|
|
235497
235497
|
label: c.jePostingDate,
|
|
@@ -235512,7 +235512,7 @@ function eli({
|
|
|
235512
235512
|
),
|
|
235513
235513
|
/* @__PURE__ */ t.jsx(Xai, {}),
|
|
235514
235514
|
/* @__PURE__ */ t.jsx(
|
|
235515
|
-
|
|
235515
|
+
Kt,
|
|
235516
235516
|
{
|
|
235517
235517
|
label: {
|
|
235518
235518
|
label: c.jeLink,
|
|
@@ -242059,7 +242059,7 @@ function XNe({
|
|
|
242059
242059
|
children: [
|
|
242060
242060
|
/* @__PURE__ */ t.jsx(Thi, { windowSize: a, children: QH.heading }),
|
|
242061
242061
|
/* @__PURE__ */ t.jsx(Phi, { children: /* @__PURE__ */ t.jsx(
|
|
242062
|
-
|
|
242062
|
+
Kt,
|
|
242063
242063
|
{
|
|
242064
242064
|
label: {
|
|
242065
242065
|
label: QH.newName,
|
|
@@ -244541,13 +244541,13 @@ const Mhi = (e, n, r) => {
|
|
|
244541
244541
|
Ve,
|
|
244542
244542
|
bt
|
|
244543
244543
|
));
|
|
244544
|
-
}, uo = Z(), go = Ri && !on,
|
|
244545
|
-
amount:
|
|
244544
|
+
}, uo = Z(), go = Ri && !on, Jt = e.creditAccount.balance.amount + e.creditAccount.hold.amount, nn = {
|
|
244545
|
+
amount: Jt,
|
|
244546
244546
|
currencyCode: e.creditAccount.balance.currencyCode,
|
|
244547
244547
|
currencySymbol: e.creditAccount.balance.currencySymbol
|
|
244548
244548
|
}, wn = Math.round(
|
|
244549
244549
|
nn.amount * 100 / e.creditAccount.limit.amount
|
|
244550
|
-
), hi = isNaN(wn) ? 0 :
|
|
244550
|
+
), hi = isNaN(wn) ? 0 : Jt !== 0 && wn === 0 ? 1 : wn, Qt = e.chargeCardConfig.rePaymentInfo?.cardLimitResetDate, jo = on && nn.amount > v * e.creditAccount.limit.amount / 100, jt = Qt != null && rt.initiatedRepayments.amount > 0, ho = {
|
|
244551
244551
|
entity: "charge_cards",
|
|
244552
244552
|
showNewButtonOnNavbar: on,
|
|
244553
244553
|
showEntityEmailInfoIconOnNavbar: !1,
|
|
@@ -250796,7 +250796,7 @@ const yxi = i(Mr)`
|
|
|
250796
250796
|
}), lo;
|
|
250797
250797
|
}, [e.transactions]), Ve = `${e.chargeCard?.cardHolderUser?.firstName ?? ""} ${e.chargeCard?.cardHolderUser?.lastName ?? ""}`, bt = e.chargeCard?.billingAddress, Ze = s1(
|
|
250798
250798
|
Fe.loggedInUserRoleMap
|
|
250799
|
-
), { text1: Co, text2: uo } = Iv(bt), go = `${Co} ${uo}`,
|
|
250799
|
+
), { text1: Co, text2: uo } = Iv(bt), go = `${Co} ${uo}`, Jt = e.chargeCard?.isDeclinedTransaction === !0, nn = () => {
|
|
250800
250800
|
tW({
|
|
250801
250801
|
chargeCardDetailView: e,
|
|
250802
250802
|
chargeCardCashbackDetailState: S,
|
|
@@ -250900,7 +250900,7 @@ const yxi = i(Mr)`
|
|
|
250900
250900
|
ao,
|
|
250901
250901
|
ri
|
|
250902
250902
|
]);
|
|
250903
|
-
const Qo = e.chargeCard?.type.code === "business_physical_debit_card" || e.chargeCard?.type.code === "business_virtual_debit_card", zn = Ze && (e.chargeCard?.status.code === "active" || e.chargeCard?.status.code === "locked") && qt.amount < (Qo ? e.depositAccountLimit?.cardLimits.dailyCardTransactionLimit.amount ?? 0 : e.creditAccount.limit.amount), Gn = e.creditAccountRepayment.initiatedRepayments.amount > 0 && Ze &&
|
|
250903
|
+
const Qo = e.chargeCard?.type.code === "business_physical_debit_card" || e.chargeCard?.type.code === "business_virtual_debit_card", zn = Ze && (e.chargeCard?.status.code === "active" || e.chargeCard?.status.code === "locked") && qt.amount < (Qo ? e.depositAccountLimit?.cardLimits.dailyCardTransactionLimit.amount ?? 0 : e.creditAccount.limit.amount), Gn = e.creditAccountRepayment.initiatedRepayments.amount > 0 && Ze && Jt, Cr = () => {
|
|
250904
250904
|
if (!x)
|
|
250905
250905
|
return [
|
|
250906
250906
|
{ value: "changePin", label: ea.cardDetails.moreOptions.changePin }
|
|
@@ -251296,7 +251296,7 @@ const yxi = i(Mr)`
|
|
|
251296
251296
|
)} ${ea.payEarly.madeOn} ${e.creditAccountRepayment.initiatedRepaymentDate?.format(
|
|
251297
251297
|
jxi.visual.MMMDFormat
|
|
251298
251298
|
)} ${ea.payEarly.isProcessing} ${ea.payEarly.theCompanyCreditLimitWillUpdateIn23BusinessDays}` })
|
|
251299
|
-
] }) :
|
|
251299
|
+
] }) : Jt ? Ze ? /* @__PURE__ */ t.jsxs(
|
|
251300
251300
|
L_e,
|
|
251301
251301
|
{
|
|
251302
251302
|
onClick: () => {
|
|
@@ -251323,7 +251323,7 @@ const yxi = i(Mr)`
|
|
|
251323
251323
|
agi,
|
|
251324
251324
|
{
|
|
251325
251325
|
style: {
|
|
251326
|
-
marginTop:
|
|
251326
|
+
marginTop: Jt ? o.sp5 : o.sp4
|
|
251327
251327
|
},
|
|
251328
251328
|
classListFetchState: a,
|
|
251329
251329
|
controllerEmails: g,
|
|
@@ -255695,7 +255695,7 @@ const Ayi = ({
|
|
|
255695
255695
|
);
|
|
255696
255696
|
}) }),
|
|
255697
255697
|
/* @__PURE__ */ t.jsx(
|
|
255698
|
-
|
|
255698
|
+
Kt,
|
|
255699
255699
|
{
|
|
255700
255700
|
label: {
|
|
255701
255701
|
label: Dn.nameLabel,
|
|
@@ -255721,7 +255721,7 @@ const Ayi = ({
|
|
|
255721
255721
|
}
|
|
255722
255722
|
),
|
|
255723
255723
|
/* @__PURE__ */ t.jsx(
|
|
255724
|
-
|
|
255724
|
+
Kt,
|
|
255725
255725
|
{
|
|
255726
255726
|
label: {
|
|
255727
255727
|
label: Dn.descriptionLabel,
|
|
@@ -257246,7 +257246,7 @@ const Ayi = ({
|
|
|
257246
257246
|
}
|
|
257247
257247
|
),
|
|
257248
257248
|
/* @__PURE__ */ t.jsx(
|
|
257249
|
-
|
|
257249
|
+
Kt,
|
|
257250
257250
|
{
|
|
257251
257251
|
label: {
|
|
257252
257252
|
label: Ms.cardNameLabel,
|
|
@@ -257695,7 +257695,7 @@ const Ayi = ({
|
|
|
257695
257695
|
] }),
|
|
257696
257696
|
/* @__PURE__ */ t.jsx(T7i, {}),
|
|
257697
257697
|
/* @__PURE__ */ t.jsx(
|
|
257698
|
-
|
|
257698
|
+
Kt,
|
|
257699
257699
|
{
|
|
257700
257700
|
label: {
|
|
257701
257701
|
label: Jd.cardNameLabel,
|
|
@@ -258039,7 +258039,7 @@ const Ayi = ({
|
|
|
258039
258039
|
}
|
|
258040
258040
|
),
|
|
258041
258041
|
/* @__PURE__ */ t.jsx(
|
|
258042
|
-
|
|
258042
|
+
Kt,
|
|
258043
258043
|
{
|
|
258044
258044
|
label: {
|
|
258045
258045
|
label: fs.cardNameLabel,
|
|
@@ -258460,7 +258460,7 @@ const Ayi = ({
|
|
|
258460
258460
|
),
|
|
258461
258461
|
/* @__PURE__ */ t.jsx(ebi, {}),
|
|
258462
258462
|
/* @__PURE__ */ t.jsx(
|
|
258463
|
-
|
|
258463
|
+
Kt,
|
|
258464
258464
|
{
|
|
258465
258465
|
label: {
|
|
258466
258466
|
label: dp.cardNameLabel,
|
|
@@ -267419,7 +267419,7 @@ const $He = {
|
|
|
267419
267419
|
} = Je(), l = n && (r == null || !r.companyName && !r.emailIds), c = !r?.companyName, d = (u, p) => `${u}.${p}`;
|
|
267420
267420
|
return /* @__PURE__ */ t.jsxs(hki, { children: [
|
|
267421
267421
|
/* @__PURE__ */ t.jsx(
|
|
267422
|
-
|
|
267422
|
+
Kt,
|
|
267423
267423
|
{
|
|
267424
267424
|
text: {
|
|
267425
267425
|
type: "text",
|
|
@@ -285149,7 +285149,7 @@ const {
|
|
|
285149
285149
|
return Pt.forEach((Ho) => {
|
|
285150
285150
|
to = to.concat(Ho.options);
|
|
285151
285151
|
}), to.find((Ho) => Ho.value === so)?.label ?? xn ?? so;
|
|
285152
|
-
},
|
|
285152
|
+
}, Jt = go(
|
|
285153
285153
|
pt,
|
|
285154
285154
|
Me,
|
|
285155
285155
|
Re
|
|
@@ -285566,7 +285566,7 @@ const {
|
|
|
285566
285566
|
isMisCategorized: jt,
|
|
285567
285567
|
onRecommendationClick: Be,
|
|
285568
285568
|
selectedValue: Me,
|
|
285569
|
-
selectedValueLabel:
|
|
285569
|
+
selectedValueLabel: Jt,
|
|
285570
285570
|
existingOption: {
|
|
285571
285571
|
label: gt?.class?.className,
|
|
285572
285572
|
value: gt?.class?.classId
|
|
@@ -285650,7 +285650,7 @@ const {
|
|
|
285650
285650
|
/* @__PURE__ */ t.jsx(
|
|
285651
285651
|
Si,
|
|
285652
285652
|
{
|
|
285653
|
-
text:
|
|
285653
|
+
text: Jt ?? "",
|
|
285654
285654
|
itemTextStyle: {
|
|
285655
285655
|
color: C ? Ae.colors.primary : Ae.colors.champion,
|
|
285656
285656
|
fontSize: F.standardMedium.fontSizeValue,
|
|
@@ -292640,8 +292640,8 @@ const Vpr = (e) => {
|
|
|
292640
292640
|
reconciliation: Y,
|
|
292641
292641
|
selectedPeriod: J
|
|
292642
292642
|
} = a, { pendingMissingReceiptsTabNavigation: G } = Q, [q, ee] = W("expenseAutomationPage"), te = O.uiState.selectedMainTab ?? "pending_review", { onUpdateJESchedulesUIState: X } = e, ie = be(
|
|
292643
|
-
(
|
|
292644
|
-
X({ selectedMainTab:
|
|
292643
|
+
(Jt) => {
|
|
292644
|
+
X({ selectedMainTab: Jt });
|
|
292645
292645
|
},
|
|
292646
292646
|
[X]
|
|
292647
292647
|
), [ne, oe] = W(() => {
|
|
@@ -292649,15 +292649,15 @@ const Vpr = (e) => {
|
|
|
292649
292649
|
Ql.isExpenseAutomationSearchAndFilterEnabled
|
|
292650
292650
|
), [ae, pe] = W(!1), [ye, me] = W(!1), [Ce, Ie] = W(I ?? "missing"), Be = Le(null);
|
|
292651
292651
|
K(() => {
|
|
292652
|
-
const
|
|
292653
|
-
|
|
292652
|
+
const Jt = Be.current;
|
|
292653
|
+
Jt !== null && Jt !== Ce && j?.(), Be.current = Ce;
|
|
292654
292654
|
}, [Ce, j]);
|
|
292655
|
-
const Ae = be((
|
|
292656
|
-
Ie(
|
|
292655
|
+
const Ae = be((Jt) => {
|
|
292656
|
+
Ie(Jt);
|
|
292657
292657
|
}, []), [Se, Te] = W(null), Me = be(
|
|
292658
|
-
(
|
|
292659
|
-
Te(
|
|
292660
|
-
|
|
292658
|
+
(Jt) => {
|
|
292659
|
+
Te(Jt), ee(
|
|
292660
|
+
Jt != null ? "expenseAutomationMissingReceipts" : "expenseAutomationPage"
|
|
292661
292661
|
);
|
|
292662
292662
|
},
|
|
292663
292663
|
[ee]
|
|
@@ -292685,10 +292685,10 @@ const Vpr = (e) => {
|
|
|
292685
292685
|
K(() => {
|
|
292686
292686
|
if (Pe == null || Pe.phase !== "completed")
|
|
292687
292687
|
return;
|
|
292688
|
-
const
|
|
292689
|
-
if (
|
|
292688
|
+
const Jt = Pe.currentBatchId;
|
|
292689
|
+
if (Jt == null || Pe.currentBatchDetailsFetched !== !0 || Ee.current === Jt)
|
|
292690
292690
|
return;
|
|
292691
|
-
Ee.current =
|
|
292691
|
+
Ee.current = Jt, Pe.unmatchedFiles.length + Pe.pastUnmatchedFiles.length > 0 ? Ae("unmatched") : (Ae("completed"), ke?.("ai_accountant"));
|
|
292692
292692
|
}, [
|
|
292693
292693
|
Pe,
|
|
292694
292694
|
ke,
|
|
@@ -292700,11 +292700,11 @@ const Vpr = (e) => {
|
|
|
292700
292700
|
});
|
|
292701
292701
|
K(() => {
|
|
292702
292702
|
if (ge.isFeatureEnabled === !1 && ze.categories.length > 0) {
|
|
292703
|
-
const
|
|
292703
|
+
const Jt = {
|
|
292704
292704
|
categories: [],
|
|
292705
292705
|
categoryCombinationOperator: "AND"
|
|
292706
292706
|
};
|
|
292707
|
-
Qe(
|
|
292707
|
+
Qe(Jt), x(Jt);
|
|
292708
292708
|
}
|
|
292709
292709
|
}, [
|
|
292710
292710
|
ge.isFeatureEnabled,
|
|
@@ -292712,7 +292712,7 @@ const Vpr = (e) => {
|
|
|
292712
292712
|
x
|
|
292713
292713
|
]);
|
|
292714
292714
|
const Fe = N.find(
|
|
292715
|
-
(
|
|
292715
|
+
(Jt) => Jt.step === M
|
|
292716
292716
|
), { nextStep: Ue, previousStep: Ge } = SYi(
|
|
292717
292717
|
N,
|
|
292718
292718
|
M
|
|
@@ -292729,11 +292729,8 @@ const Vpr = (e) => {
|
|
|
292729
292729
|
}, [Ye]);
|
|
292730
292730
|
const pt = je(
|
|
292731
292731
|
() => fr(
|
|
292732
|
-
(
|
|
292733
|
-
|
|
292734
|
-
"[EA-SEARCH] debounce fired, calling onSearchTextChanged",
|
|
292735
|
-
{ value: Kt }
|
|
292736
|
-
), f(Kt);
|
|
292732
|
+
(Jt) => {
|
|
292733
|
+
f(Jt);
|
|
292737
292734
|
},
|
|
292738
292735
|
500,
|
|
292739
292736
|
{ leading: !1, trailing: !0 }
|
|
@@ -292744,8 +292741,8 @@ const Vpr = (e) => {
|
|
|
292744
292741
|
pt.cancel();
|
|
292745
292742
|
}, [pt]);
|
|
292746
292743
|
const ht = be(
|
|
292747
|
-
(
|
|
292748
|
-
tt(
|
|
292744
|
+
(Jt) => {
|
|
292745
|
+
tt(Jt), pt(Jt);
|
|
292749
292746
|
},
|
|
292750
292747
|
[pt]
|
|
292751
292748
|
), {
|
|
@@ -292777,14 +292774,14 @@ const Vpr = (e) => {
|
|
|
292777
292774
|
wt == null ? ($t = Y.refreshStatus.fetchState, Ht = Y.completionStatus) : ($t = Y.selectedReconAccount?.refreshStatus.fetchState ?? "Not-Started", Ht = Y.completionStatus);
|
|
292778
292775
|
}
|
|
292779
292776
|
const ro = a.monthEndCloseChecksView.fetchState, Rt = ro === "Not-Started" || ro === "In-Progress", Wt = a.monthEndCloseChecksView.monthEndCloseChecks?.monthEndCloseCheckList.find(
|
|
292780
|
-
(
|
|
292777
|
+
(Jt) => Jt.id === M
|
|
292781
292778
|
), rt = Rt ? void 0 : Math.floor(Wt?.progress ?? 0), Bt = () => {
|
|
292782
292779
|
ne();
|
|
292783
|
-
}, St = (
|
|
292784
|
-
Qe(
|
|
292780
|
+
}, St = (Jt) => {
|
|
292781
|
+
Qe(Jt), x(Jt);
|
|
292785
292782
|
}, Dt = je(() => {
|
|
292786
|
-
const
|
|
292787
|
-
return
|
|
292783
|
+
const Jt = Q$e, nn = n ?? [], wn = s ?? [];
|
|
292784
|
+
return Jt.reduce(
|
|
292788
292785
|
(hi, Qt) => {
|
|
292789
292786
|
const jo = Qt.value;
|
|
292790
292787
|
switch (jo) {
|
|
@@ -292845,7 +292842,7 @@ const Vpr = (e) => {
|
|
|
292845
292842
|
{}
|
|
292846
292843
|
);
|
|
292847
292844
|
}, [n, s, r, Et]), { saveStatus: Nt, selectedCheckBoxTransactionIds: Po } = U, ni = () => {
|
|
292848
|
-
const
|
|
292845
|
+
const Jt = wWe(
|
|
292849
292846
|
a.fluxAnalysis.sections,
|
|
292850
292847
|
a.fluxAnalysis.reviewOperatingExpensesIds
|
|
292851
292848
|
);
|
|
@@ -292856,7 +292853,7 @@ const Vpr = (e) => {
|
|
|
292856
292853
|
isNextDisabled: !1,
|
|
292857
292854
|
isPrevDisabled: !1,
|
|
292858
292855
|
primaryBtn: {
|
|
292859
|
-
label:
|
|
292856
|
+
label: Jt === !0 ? js.markAsReviewed : A7.undo,
|
|
292860
292857
|
style: { justifyContent: "space-evenly" },
|
|
292861
292858
|
isLoading: a.fluxAnalysis.bulkReviewStatus.fetchState === "In-Progress",
|
|
292862
292859
|
isDisabled: !1
|
|
@@ -293085,7 +293082,7 @@ const Vpr = (e) => {
|
|
|
293085
293082
|
confirmAction: () => {
|
|
293086
293083
|
pe(!1), T(
|
|
293087
293084
|
V,
|
|
293088
|
-
Et.map((
|
|
293085
|
+
Et.map((Jt) => Jt.id),
|
|
293089
293086
|
J,
|
|
293090
293087
|
!1,
|
|
293091
293088
|
st[V],
|
|
@@ -293114,9 +293111,9 @@ const Vpr = (e) => {
|
|
|
293114
293111
|
}
|
|
293115
293112
|
}, Ln = () => {
|
|
293116
293113
|
q === "expenseAutomationFluxPage" || q === "expenseAutomationJESchedulePage" || q === "expenseAutomationTransactionsPage" ? pe(!0) : b();
|
|
293117
|
-
}, { primaryBtn: no, cancelBtn: Gt, leftSideComponent: fn } = ni(), { confirmAction: ki } = tn(), ti = (
|
|
293118
|
-
if (M === "transaction_categorization" && (
|
|
293119
|
-
const nn =
|
|
293114
|
+
}, { primaryBtn: no, cancelBtn: Gt, leftSideComponent: fn } = ni(), { confirmAction: ki } = tn(), ti = (Jt) => {
|
|
293115
|
+
if (M === "transaction_categorization" && (Jt === "autoCategorized" || Jt === "review")) {
|
|
293116
|
+
const nn = Jt;
|
|
293120
293117
|
return {
|
|
293121
293118
|
count: at[nn],
|
|
293122
293119
|
isFetching: ot[nn].fetchState === "In-Progress"
|
|
@@ -293127,7 +293124,7 @@ const Vpr = (e) => {
|
|
|
293127
293124
|
return wn == null ? {
|
|
293128
293125
|
count: 0,
|
|
293129
293126
|
isFetching: !1
|
|
293130
|
-
} :
|
|
293127
|
+
} : Jt === "review" ? {
|
|
293131
293128
|
count: nn.accountReconciliationsByAccountID[wn]?.accountReconEntity?.transactionsToReview.length,
|
|
293132
293129
|
isFetching: nn.accountReconciliationsByAccountID[wn]?.transactionFetchState.fetchState === "In-Progress"
|
|
293133
293130
|
} : {
|
|
@@ -293136,19 +293133,19 @@ const Vpr = (e) => {
|
|
|
293136
293133
|
};
|
|
293137
293134
|
}
|
|
293138
293135
|
if (M === "missing_receipts") {
|
|
293139
|
-
if (
|
|
293136
|
+
if (Jt === "missing")
|
|
293140
293137
|
return {
|
|
293141
293138
|
count: Q.transactions.length,
|
|
293142
293139
|
isFetching: Q.fetchState === "In-Progress"
|
|
293143
293140
|
};
|
|
293144
|
-
if (
|
|
293141
|
+
if (Jt === "unmatched")
|
|
293145
293142
|
return {
|
|
293146
293143
|
count: (e.bulkUploadSelector?.unmatchedFiles.length ?? 0) + (e.bulkUploadSelector?.pastUnmatchedFiles.length ?? 0),
|
|
293147
293144
|
isFetching: Ce === "unmatched" && XWe({
|
|
293148
293145
|
bulkUploadSelector: e.bulkUploadSelector
|
|
293149
293146
|
})
|
|
293150
293147
|
};
|
|
293151
|
-
if (
|
|
293148
|
+
if (Jt === "completed")
|
|
293152
293149
|
return {
|
|
293153
293150
|
count: e.bulkUploadSelector?.completedTransactions?.totalCount ?? 0,
|
|
293154
293151
|
isFetching: e.bulkUploadSelector?.completedTransactions?.fetchState?.fetchState === "In-Progress",
|
|
@@ -293156,14 +293153,14 @@ const Vpr = (e) => {
|
|
|
293156
293153
|
};
|
|
293157
293154
|
}
|
|
293158
293155
|
if (M === "je_schedules") {
|
|
293159
|
-
if (
|
|
293156
|
+
if (Jt === "pending_review")
|
|
293160
293157
|
return {
|
|
293161
293158
|
count: O.draftSchedules.length + O.resolveSchedules.length,
|
|
293162
293159
|
isFetching: O.fetchState === "In-Progress"
|
|
293163
293160
|
};
|
|
293164
|
-
if (
|
|
293161
|
+
if (Jt === "ongoing")
|
|
293165
293162
|
return O.ongoingSchedules.length > 0 ? { count: O.ongoingSchedules.length, isFetching: !1 } : void 0;
|
|
293166
|
-
if (
|
|
293163
|
+
if (Jt === "completed")
|
|
293167
293164
|
return O.completedSchedules.length > 0 ? { count: O.completedSchedules.length, isFetching: !1 } : void 0;
|
|
293168
293165
|
}
|
|
293169
293166
|
}, ii = M === "reconciliation" && Y.selectedAccountId != null && Y.selectedReconAccount != null, { month: Un, year: yi } = J, zi = ct().set("month", Un - 1).set("year", yi), di = zi.startOf("month").format(b8e), Ci = zi.endOf("month").format(b8e), ui = `${di} ${mv.hyphen} ${Ci}`, Pi = e.sidePanelIsOpen ?? !1, Qi = e.sidePanelIsFullView ?? !1, cn = M === "missing_receipts" && Ce === "missing" && E, Rn = e.bulkUploadSelector?.phase, On = e.bulkUploadSelector, Ri = wYi(
|
|
@@ -293195,8 +293192,8 @@ const Vpr = (e) => {
|
|
|
293195
293192
|
x8e,
|
|
293196
293193
|
{
|
|
293197
293194
|
activeSubTab: e.bulkUploadSelector.completedSubTab,
|
|
293198
|
-
onSubTabChange: (
|
|
293199
|
-
e.onSetBulkUploadCompletedSubTab?.(
|
|
293195
|
+
onSubTabChange: (Jt) => {
|
|
293196
|
+
e.onSetBulkUploadCompletedSubTab?.(Jt);
|
|
293200
293197
|
}
|
|
293201
293198
|
}
|
|
293202
293199
|
) : Ve && !(Pi && Qi) ? Co : Ze ? /* @__PURE__ */ t.jsx(wVi, {}) : null, go = e.isExpenseAutomationCommentingEnabled === !0 && (M === "transaction_categorization" || M === "reconciliation" || M === "missing_receipts" || M === "flux_analysis" || M === "je_schedules");
|
|
@@ -293274,7 +293271,7 @@ const Vpr = (e) => {
|
|
|
293274
293271
|
} : C,
|
|
293275
293272
|
onFiltersChange: St,
|
|
293276
293273
|
filterOptions: Dt,
|
|
293277
|
-
onGenericTabChange: M === "je_schedules" ? (
|
|
293274
|
+
onGenericTabChange: M === "je_schedules" ? (Jt) => ie(Jt.id) : void 0,
|
|
293278
293275
|
reconcileDetailPageFetchState: Y.selectedAccountId != null ? Y.accountReconciliationsByAccountID[Y.selectedAccountId]?.transactionFetchState.fetchState : "Not-Started",
|
|
293279
293276
|
selectedReconAccountId: ii ? Y.selectedAccountId : void 0,
|
|
293280
293277
|
currentSelectedView: M,
|
|
@@ -293333,8 +293330,8 @@ const Vpr = (e) => {
|
|
|
293333
293330
|
x8e,
|
|
293334
293331
|
{
|
|
293335
293332
|
activeSubTab: e.bulkUploadSelector.completedSubTab,
|
|
293336
|
-
onSubTabChange: (
|
|
293337
|
-
e.onSetBulkUploadCompletedSubTab?.(
|
|
293333
|
+
onSubTabChange: (Jt) => {
|
|
293334
|
+
e.onSetBulkUploadCompletedSubTab?.(Jt);
|
|
293338
293335
|
}
|
|
293339
293336
|
}
|
|
293340
293337
|
) : Ve && Pi && Qi ? Co : null,
|
|
@@ -295294,7 +295291,7 @@ const dqi = ({
|
|
|
295294
295291
|
}
|
|
295295
295292
|
),
|
|
295296
295293
|
/* @__PURE__ */ t.jsx(
|
|
295297
|
-
|
|
295294
|
+
Kt,
|
|
295298
295295
|
{
|
|
295299
295296
|
showAdditionalInfoLabel: !1,
|
|
295300
295297
|
label: {
|
|
@@ -308022,7 +308019,7 @@ const QV = i(xt)`
|
|
|
308022
308019
|
}
|
|
308023
308020
|
),
|
|
308024
308021
|
/* @__PURE__ */ t.jsx(
|
|
308025
|
-
|
|
308022
|
+
Kt,
|
|
308026
308023
|
{
|
|
308027
308024
|
label: { label: ll.memoLabel, width: g },
|
|
308028
308025
|
style: { width: "auto" },
|
|
@@ -309202,7 +309199,7 @@ export {
|
|
|
309202
309199
|
RJ as co,
|
|
309203
309200
|
Zi as cp,
|
|
309204
309201
|
vD as cq,
|
|
309205
|
-
|
|
309202
|
+
Kt as cr,
|
|
309206
309203
|
dIe as cs,
|
|
309207
309204
|
_Se as ct,
|
|
309208
309205
|
Ao as cu,
|