@zeniai/web-components 4.1.95 → 4.1.96-betaRD2
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-C36tkjtF.cjs → SessionTimeoutPopup-BIbnyWTy.cjs} +9 -22
- package/dist/{SessionTimeoutPopup-B3hvvs9P.js → SessionTimeoutPopup-D6BRm8yQ.js} +194 -202
- package/dist/cockpit.cjs.js +1 -1
- package/dist/cockpit.esm.js +2 -2
- package/dist/components/expenseAutomation/components/navbarHeaderData.d.ts +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +4 -4
|
@@ -32845,9 +32845,9 @@ const ZSt = [], KSt = ({
|
|
|
32845
32845
|
...wn,
|
|
32846
32846
|
[Ve]: uo
|
|
32847
32847
|
})), Dt.current[Ve] = uo);
|
|
32848
|
-
const
|
|
32848
|
+
const Kt = Array.isArray(
|
|
32849
32849
|
ro
|
|
32850
|
-
) ? ro : [], nn =
|
|
32850
|
+
) ? ro : [], nn = Kt.length > 0 ? Kt[Kt.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
|
+
}, Kt = 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: Kt,
|
|
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 Jt({
|
|
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
|
+
Jt,
|
|
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
|
+
Jt,
|
|
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
|
+
Jt,
|
|
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
|
+
Jt,
|
|
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
|
+
Jt,
|
|
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
|
+
Jt,
|
|
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
|
+
Jt,
|
|
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
|
+
Jt,
|
|
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
|
+
Jt,
|
|
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
|
+
Jt,
|
|
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, Kt = (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: Kt
|
|
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
|
+
Jt,
|
|
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
|
+
Jt,
|
|
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
|
+
}, Kt = 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: Kt,
|
|
65007
65007
|
children: [
|
|
65008
65008
|
/* @__PURE__ */ t.jsx(
|
|
65009
65009
|
ZIe,
|
|
@@ -69855,7 +69855,7 @@ const Foo = i.div`
|
|
|
69855
69855
|
color: ${(e) => e.disabled === !0 ? e.theme.colors.grey2 : e.theme.colors.primary};
|
|
69856
69856
|
}
|
|
69857
69857
|
`, Woo = i.div`
|
|
69858
|
-
margin-right: ${(e) => e.searchIconMarginRight != null ? e.searchIconMarginRight : o.sp0};
|
|
69858
|
+
margin-right: ${(e) => e.isSearchOpen && e.searchIconMarginRight != null ? e.searchIconMarginRight : o.sp0};
|
|
69859
69859
|
cursor: ${(e) => e.disabled === !0 ? "default" : e.isSearchOpen ? "unset" : "pointer"};
|
|
69860
69860
|
box-sizing: unset;
|
|
69861
69861
|
height: ${(e) => e.windowSize === "small" ? o.sp6 : "unset"};
|
|
@@ -69879,7 +69879,7 @@ const Foo = i.div`
|
|
|
69879
69879
|
box-sizing: unset;
|
|
69880
69880
|
display: flex;
|
|
69881
69881
|
`, Goo = i.div`
|
|
69882
|
-
margin-right: ${
|
|
69882
|
+
margin-right: ${o.sp0};
|
|
69883
69883
|
display: flex;
|
|
69884
69884
|
align-items: center;
|
|
69885
69885
|
justify-content: ${(e) => e.windowSize === "small" ? "space-between" : "flex-end"};
|
|
@@ -69887,20 +69887,7 @@ const Foo = i.div`
|
|
|
69887
69887
|
border-radius: 6px;
|
|
69888
69888
|
box-sizing: border-box;
|
|
69889
69889
|
height: ${(e) => e.windowSize === "small" ? o.sp6 : o.sp5};
|
|
69890
|
-
|
|
69891
|
-
* Closed width is Space.sp5 (32px), not Space.sp4 (24px == icon size),
|
|
69892
|
-
* for two reasons:
|
|
69893
|
-
* 1. With box-sizing border-box, a 24px outer width minus the 1px
|
|
69894
|
-
* transparent border on each side leaves only a 22px content area
|
|
69895
|
-
* — the 24px icon gets clipped by overflow:hidden.
|
|
69896
|
-
* 2. The icon then has to fight StyledInputWrapper (flex:1) for
|
|
69897
|
-
* space; default flex-shrink:1 lets the icon get squeezed even
|
|
69898
|
-
* when nominally the same width as the box.
|
|
69899
|
-
* 32px gives the icon a comfortable hit area in both states (the row
|
|
69900
|
-
* is also Space.sp5 tall, so the icon ends up centered in a square).
|
|
69901
|
-
* The icon's own 24x24 hover surface still renders normally inside.
|
|
69902
|
-
*/
|
|
69903
|
-
width: ${(e) => e.windowSize === "small" ? "auto" : e.isSearchOpen ? "400px" : o.sp5};
|
|
69890
|
+
width: ${(e) => e.windowSize === "small" ? "auto" : e.isSearchOpen ? "400px" : o.sp4};
|
|
69904
69891
|
/*
|
|
69905
69892
|
* Use the specific background-color property rather than the
|
|
69906
69893
|
* background shorthand: the shorthand resets background-image /
|
|
@@ -69911,14 +69898,14 @@ const Foo = i.div`
|
|
|
69911
69898
|
* same property keeps the box fade smooth.
|
|
69912
69899
|
*/
|
|
69913
69900
|
background-color: ${(e) => e.isSearchOpen ? e.theme.colors.background : "transparent"};
|
|
69914
|
-
|
|
69901
|
+
box-shadow: inset 0 0 0 1px
|
|
69915
69902
|
${(e) => e.isSearchOpen ? e.theme.colors.grey2 : "transparent"};
|
|
69916
69903
|
padding-left: ${(e) => e.isSearchOpen ? o.sp2 : o.sp0};
|
|
69917
69904
|
padding-right: ${(e) => e.isSearchOpen ? o.sp2 : o.sp0};
|
|
69918
69905
|
transition:
|
|
69919
69906
|
width 240ms cubic-bezier(0.4, 0, 0.2, 1),
|
|
69920
69907
|
background-color 200ms ease-out,
|
|
69921
|
-
|
|
69908
|
+
box-shadow 200ms ease-out,
|
|
69922
69909
|
padding-left 240ms cubic-bezier(0.4, 0, 0.2, 1),
|
|
69923
69910
|
padding-right 240ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
69924
69911
|
`;
|
|
@@ -124204,7 +124191,7 @@ const NDo = ({
|
|
|
124204
124191
|
fieldThreadTargetElement: p?.sharedRef?.contentWrapperRef,
|
|
124205
124192
|
style: { width: "100%" },
|
|
124206
124193
|
children: /* @__PURE__ */ t.jsx(
|
|
124207
|
-
|
|
124194
|
+
Jt,
|
|
124208
124195
|
{
|
|
124209
124196
|
isDisabled: a,
|
|
124210
124197
|
label: {
|
|
@@ -126417,7 +126404,7 @@ const BOo = i.span`
|
|
|
126417
126404
|
`${b}-${m}`
|
|
126418
126405
|
),
|
|
126419
126406
|
children: /* @__PURE__ */ t.jsx(
|
|
126420
|
-
|
|
126407
|
+
Jt,
|
|
126421
126408
|
{
|
|
126422
126409
|
isDisabled: d,
|
|
126423
126410
|
showAdditionalInfoLabel: !1,
|
|
@@ -128526,7 +128513,7 @@ const {
|
|
|
128526
128513
|
`${b}-${m}`
|
|
128527
128514
|
),
|
|
128528
128515
|
children: /* @__PURE__ */ t.jsx(
|
|
128529
|
-
|
|
128516
|
+
Jt,
|
|
128530
128517
|
{
|
|
128531
128518
|
isDisabled: d,
|
|
128532
128519
|
showAdditionalInfoLabel: !1,
|
|
@@ -131475,7 +131462,7 @@ function Mde({
|
|
|
131475
131462
|
let Mn = !1;
|
|
131476
131463
|
if (gt.includes(pd) || gt.includes(md)) {
|
|
131477
131464
|
if (gt.includes(pd)) {
|
|
131478
|
-
const lo =
|
|
131465
|
+
const lo = Kt(bo, yt, eo);
|
|
131479
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);
|
|
131480
131467
|
}
|
|
131481
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) {
|
|
@@ -131811,7 +131798,7 @@ function Mde({
|
|
|
131811
131798
|
);
|
|
131812
131799
|
return uo(Qo, cc) && Gn.id !== eo;
|
|
131813
131800
|
}).map((Gn) => Gn.id) : [];
|
|
131814
|
-
},
|
|
131801
|
+
}, Kt = (gt, eo, ao) => !!(n.transactionDetailLocalData.lineItemById[gt].recommendationsWithCOT?.map((Qo) => Qo.account?.qboId) ?? []).includes(
|
|
131815
131802
|
ao[Fl][eo][pd].selectedOption
|
|
131816
131803
|
), nn = (gt, eo, ao) => !!(n.transactionDetailLocalData.lineItemById[gt].recommendationsWithCOT?.map((Qo) => Qo.class?.classId) ?? []).includes(
|
|
131817
131804
|
ao[Fl][eo][md].selectedOption
|
|
@@ -138972,7 +138959,7 @@ function QGo({
|
|
|
138972
138959
|
/* @__PURE__ */ t.jsx(qGo, { children: Pl.companyInfo.title }),
|
|
138973
138960
|
/* @__PURE__ */ t.jsxs(YGo, { children: [
|
|
138974
138961
|
/* @__PURE__ */ t.jsx(
|
|
138975
|
-
|
|
138962
|
+
Jt,
|
|
138976
138963
|
{
|
|
138977
138964
|
isDisabled: c,
|
|
138978
138965
|
label: {
|
|
@@ -138995,7 +138982,7 @@ function QGo({
|
|
|
138995
138982
|
}
|
|
138996
138983
|
),
|
|
138997
138984
|
/* @__PURE__ */ t.jsx(
|
|
138998
|
-
|
|
138985
|
+
Jt,
|
|
138999
138986
|
{
|
|
139000
138987
|
isDisabled: c,
|
|
139001
138988
|
label: {
|
|
@@ -139018,7 +139005,7 @@ function QGo({
|
|
|
139018
139005
|
}
|
|
139019
139006
|
),
|
|
139020
139007
|
/* @__PURE__ */ t.jsx(
|
|
139021
|
-
|
|
139008
|
+
Jt,
|
|
139022
139009
|
{
|
|
139023
139010
|
isDisabled: c,
|
|
139024
139011
|
label: { label: Pl.companyInfo.website, width: g },
|
|
@@ -139244,7 +139231,7 @@ function QGo({
|
|
|
139244
139231
|
additionalContent: MRe.includes(
|
|
139245
139232
|
M?.selectedOption
|
|
139246
139233
|
) ? /* @__PURE__ */ t.jsx(
|
|
139247
|
-
|
|
139234
|
+
Jt,
|
|
139248
139235
|
{
|
|
139249
139236
|
isDisabled: c,
|
|
139250
139237
|
label: {
|
|
@@ -139320,7 +139307,7 @@ function QGo({
|
|
|
139320
139307
|
additionalContent: DRe.includes(
|
|
139321
139308
|
N?.selectedOption
|
|
139322
139309
|
) ? /* @__PURE__ */ t.jsx(
|
|
139323
|
-
|
|
139310
|
+
Jt,
|
|
139324
139311
|
{
|
|
139325
139312
|
isDisabled: c,
|
|
139326
139313
|
label: {
|
|
@@ -139440,7 +139427,7 @@ function QGo({
|
|
|
139440
139427
|
] })
|
|
139441
139428
|
] }),
|
|
139442
139429
|
Q === "yes" && /* @__PURE__ */ t.jsx(
|
|
139443
|
-
|
|
139430
|
+
Jt,
|
|
139444
139431
|
{
|
|
139445
139432
|
isDisabled: c,
|
|
139446
139433
|
label: {
|
|
@@ -139640,7 +139627,7 @@ function QGo({
|
|
|
139640
139627
|
additionalContent: ORe.includes(
|
|
139641
139628
|
_?.selectedOption
|
|
139642
139629
|
) ? /* @__PURE__ */ t.jsx(
|
|
139643
|
-
|
|
139630
|
+
Jt,
|
|
139644
139631
|
{
|
|
139645
139632
|
isDisabled: c,
|
|
139646
139633
|
label: {
|
|
@@ -140352,7 +140339,7 @@ function oYo({
|
|
|
140352
140339
|
}
|
|
140353
140340
|
),
|
|
140354
140341
|
/* @__PURE__ */ t.jsx(
|
|
140355
|
-
|
|
140342
|
+
Jt,
|
|
140356
140343
|
{
|
|
140357
140344
|
isDisabled: g ? n : "readonly",
|
|
140358
140345
|
label: { label: u.companyOfficer.email, width: p },
|
|
@@ -140638,7 +140625,7 @@ function yYo(e) {
|
|
|
140638
140625
|
/* @__PURE__ */ t.jsx(wYo, { children: l.companyTaxInfo.title }),
|
|
140639
140626
|
/* @__PURE__ */ t.jsxs(bYo, { children: [
|
|
140640
140627
|
/* @__PURE__ */ t.jsx(
|
|
140641
|
-
|
|
140628
|
+
Jt,
|
|
140642
140629
|
{
|
|
140643
140630
|
isDisabled: x,
|
|
140644
140631
|
label: {
|
|
@@ -140657,7 +140644,7 @@ function yYo(e) {
|
|
|
140657
140644
|
}
|
|
140658
140645
|
),
|
|
140659
140646
|
/* @__PURE__ */ t.jsx(
|
|
140660
|
-
|
|
140647
|
+
Jt,
|
|
140661
140648
|
{
|
|
140662
140649
|
isDisabled: x,
|
|
140663
140650
|
label: {
|
|
@@ -140675,7 +140662,7 @@ function yYo(e) {
|
|
|
140675
140662
|
}
|
|
140676
140663
|
),
|
|
140677
140664
|
/* @__PURE__ */ t.jsx(
|
|
140678
|
-
|
|
140665
|
+
Jt,
|
|
140679
140666
|
{
|
|
140680
140667
|
isDisabled: x,
|
|
140681
140668
|
label: {
|
|
@@ -140693,7 +140680,7 @@ function yYo(e) {
|
|
|
140693
140680
|
}
|
|
140694
140681
|
),
|
|
140695
140682
|
/* @__PURE__ */ t.jsx(
|
|
140696
|
-
|
|
140683
|
+
Jt,
|
|
140697
140684
|
{
|
|
140698
140685
|
isDisabled: x,
|
|
140699
140686
|
label: {
|
|
@@ -140837,7 +140824,7 @@ function vYo({
|
|
|
140837
140824
|
}
|
|
140838
140825
|
),
|
|
140839
140826
|
/* @__PURE__ */ t.jsx(
|
|
140840
|
-
|
|
140827
|
+
Jt,
|
|
140841
140828
|
{
|
|
140842
140829
|
isDisabled: n,
|
|
140843
140830
|
label: { label: l.primaryContact.email, width: c },
|
|
@@ -141174,7 +141161,7 @@ function FYo({
|
|
|
141174
141161
|
}
|
|
141175
141162
|
),
|
|
141176
141163
|
a === !0 ? /* @__PURE__ */ t.jsx(
|
|
141177
|
-
|
|
141164
|
+
Jt,
|
|
141178
141165
|
{
|
|
141179
141166
|
isDisabled: s,
|
|
141180
141167
|
label: {
|
|
@@ -142306,7 +142293,7 @@ function Pqo({
|
|
|
142306
142293
|
),
|
|
142307
142294
|
/* @__PURE__ */ t.jsx(I3, {}),
|
|
142308
142295
|
/* @__PURE__ */ t.jsx(
|
|
142309
|
-
|
|
142296
|
+
Jt,
|
|
142310
142297
|
{
|
|
142311
142298
|
isDisabled: n,
|
|
142312
142299
|
label: {
|
|
@@ -142345,7 +142332,7 @@ function Pqo({
|
|
|
142345
142332
|
] }),
|
|
142346
142333
|
r.coupons.length > 0 ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
142347
142334
|
/* @__PURE__ */ t.jsx(
|
|
142348
|
-
|
|
142335
|
+
Jt,
|
|
142349
142336
|
{
|
|
142350
142337
|
isDisabled: n,
|
|
142351
142338
|
label: {
|
|
@@ -142366,7 +142353,7 @@ function Pqo({
|
|
|
142366
142353
|
/* @__PURE__ */ t.jsx(I3, {})
|
|
142367
142354
|
] }) : null,
|
|
142368
142355
|
/* @__PURE__ */ t.jsx(
|
|
142369
|
-
|
|
142356
|
+
Jt,
|
|
142370
142357
|
{
|
|
142371
142358
|
isDisabled: n,
|
|
142372
142359
|
label: {
|
|
@@ -142406,7 +142393,7 @@ function Pqo({
|
|
|
142406
142393
|
),
|
|
142407
142394
|
/* @__PURE__ */ t.jsx(I3, {}),
|
|
142408
142395
|
/* @__PURE__ */ t.jsx(
|
|
142409
|
-
|
|
142396
|
+
Jt,
|
|
142410
142397
|
{
|
|
142411
142398
|
isDisabled: n,
|
|
142412
142399
|
label: {
|
|
@@ -142430,7 +142417,7 @@ function Pqo({
|
|
|
142430
142417
|
p && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
142431
142418
|
/* @__PURE__ */ t.jsx(I3, {}),
|
|
142432
142419
|
/* @__PURE__ */ t.jsx(
|
|
142433
|
-
|
|
142420
|
+
Jt,
|
|
142434
142421
|
{
|
|
142435
142422
|
isDisabled: n,
|
|
142436
142423
|
label: {
|
|
@@ -144184,7 +144171,7 @@ const RKo = i.div`
|
|
|
144184
144171
|
"data-testid": R("bank-account-section", e),
|
|
144185
144172
|
children: /* @__PURE__ */ t.jsxs(DKo, { children: [
|
|
144186
144173
|
/* @__PURE__ */ t.jsx(
|
|
144187
|
-
|
|
144174
|
+
Jt,
|
|
144188
144175
|
{
|
|
144189
144176
|
label: {
|
|
144190
144177
|
label: b.bankRoutingNumber,
|
|
@@ -144223,7 +144210,7 @@ const RKo = i.div`
|
|
|
144223
144210
|
}
|
|
144224
144211
|
}
|
|
144225
144212
|
) : /* @__PURE__ */ t.jsx(
|
|
144226
|
-
|
|
144213
|
+
Jt,
|
|
144227
144214
|
{
|
|
144228
144215
|
label: {
|
|
144229
144216
|
label: b.bankName,
|
|
@@ -144312,7 +144299,7 @@ const RKo = i.div`
|
|
|
144312
144299
|
] })
|
|
144313
144300
|
] }),
|
|
144314
144301
|
/* @__PURE__ */ t.jsx(
|
|
144315
|
-
|
|
144302
|
+
Jt,
|
|
144316
144303
|
{
|
|
144317
144304
|
label: {
|
|
144318
144305
|
label: b.bankAccountNumber,
|
|
@@ -144338,7 +144325,7 @@ const RKo = i.div`
|
|
|
144338
144325
|
}
|
|
144339
144326
|
),
|
|
144340
144327
|
/* @__PURE__ */ t.jsx(
|
|
144341
|
-
|
|
144328
|
+
Jt,
|
|
144342
144329
|
{
|
|
144343
144330
|
label: {
|
|
144344
144331
|
label: b.confirmedBankAccountNumber,
|
|
@@ -144363,7 +144350,7 @@ const RKo = i.div`
|
|
|
144363
144350
|
}
|
|
144364
144351
|
),
|
|
144365
144352
|
/* @__PURE__ */ t.jsx(
|
|
144366
|
-
|
|
144353
|
+
Jt,
|
|
144367
144354
|
{
|
|
144368
144355
|
label: {
|
|
144369
144356
|
label: b.accountNickName,
|
|
@@ -145751,7 +145738,7 @@ const LJo = i.div`
|
|
|
145751
145738
|
switch (k.fieldType) {
|
|
145752
145739
|
case "text":
|
|
145753
145740
|
return /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
|
|
145754
|
-
|
|
145741
|
+
Jt,
|
|
145755
145742
|
{
|
|
145756
145743
|
label: {
|
|
145757
145744
|
label: k.label + b.colon,
|
|
@@ -164322,7 +164309,7 @@ function lmn({
|
|
|
164322
164309
|
}
|
|
164323
164310
|
),
|
|
164324
164311
|
/* @__PURE__ */ t.jsx(
|
|
164325
|
-
|
|
164312
|
+
Jt,
|
|
164326
164313
|
{
|
|
164327
164314
|
text: {
|
|
164328
164315
|
type: "text",
|
|
@@ -168002,7 +167989,7 @@ const E2n = i.div`
|
|
|
168002
167989
|
}
|
|
168003
167990
|
),
|
|
168004
167991
|
/* @__PURE__ */ t.jsx(
|
|
168005
|
-
|
|
167992
|
+
Jt,
|
|
168006
167993
|
{
|
|
168007
167994
|
isDisabled: s,
|
|
168008
167995
|
showAdditionalInfoLabel: !1,
|
|
@@ -169529,7 +169516,7 @@ const B0n = i.span`
|
|
|
169529
169516
|
{
|
|
169530
169517
|
isAutoFilled: U("companyLegalName"),
|
|
169531
169518
|
children: /* @__PURE__ */ t.jsx(
|
|
169532
|
-
|
|
169519
|
+
Jt,
|
|
169533
169520
|
{
|
|
169534
169521
|
isDisabled: d,
|
|
169535
169522
|
showAdditionalInfoLabel: !1,
|
|
@@ -169555,7 +169542,7 @@ const B0n = i.span`
|
|
|
169555
169542
|
}
|
|
169556
169543
|
),
|
|
169557
169544
|
/* @__PURE__ */ t.jsx(
|
|
169558
|
-
|
|
169545
|
+
Jt,
|
|
169559
169546
|
{
|
|
169560
169547
|
isDisabled: d,
|
|
169561
169548
|
showAdditionalInfoLabel: !1,
|
|
@@ -169643,7 +169630,7 @@ const B0n = i.span`
|
|
|
169643
169630
|
}
|
|
169644
169631
|
),
|
|
169645
169632
|
/* @__PURE__ */ t.jsx(
|
|
169646
|
-
|
|
169633
|
+
Jt,
|
|
169647
169634
|
{
|
|
169648
169635
|
isDisabled: d,
|
|
169649
169636
|
showAdditionalInfoLabel: !1,
|
|
@@ -169971,7 +169958,7 @@ const B0n = i.span`
|
|
|
169971
169958
|
additionalContent: MRe.includes(
|
|
169972
169959
|
Y?.selectedOption
|
|
169973
169960
|
) ? /* @__PURE__ */ t.jsx(
|
|
169974
|
-
|
|
169961
|
+
Jt,
|
|
169975
169962
|
{
|
|
169976
169963
|
isDisabled: d,
|
|
169977
169964
|
label: {
|
|
@@ -170051,7 +170038,7 @@ const B0n = i.span`
|
|
|
170051
170038
|
additionalContent: DRe.includes(
|
|
170052
170039
|
J?.selectedOption
|
|
170053
170040
|
) ? /* @__PURE__ */ t.jsx(
|
|
170054
|
-
|
|
170041
|
+
Jt,
|
|
170055
170042
|
{
|
|
170056
170043
|
isDisabled: d,
|
|
170057
170044
|
label: {
|
|
@@ -170131,7 +170118,7 @@ const B0n = i.span`
|
|
|
170131
170118
|
additionalContent: ORe.includes(
|
|
170132
170119
|
G?.selectedOption
|
|
170133
170120
|
) ? /* @__PURE__ */ t.jsx(
|
|
170134
|
-
|
|
170121
|
+
Jt,
|
|
170135
170122
|
{
|
|
170136
170123
|
isDisabled: d,
|
|
170137
170124
|
label: {
|
|
@@ -170258,7 +170245,7 @@ const B0n = i.span`
|
|
|
170258
170245
|
)
|
|
170259
170246
|
] }),
|
|
170260
170247
|
q === "yes" && /* @__PURE__ */ t.jsx(
|
|
170261
|
-
|
|
170248
|
+
Jt,
|
|
170262
170249
|
{
|
|
170263
170250
|
isDisabled: d,
|
|
170264
170251
|
label: {
|
|
@@ -170443,7 +170430,7 @@ const B0n = i.span`
|
|
|
170443
170430
|
{
|
|
170444
170431
|
isAutoFilled: U("taxIdOrEIN"),
|
|
170445
170432
|
children: /* @__PURE__ */ t.jsx(
|
|
170446
|
-
|
|
170433
|
+
Jt,
|
|
170447
170434
|
{
|
|
170448
170435
|
isDisabled: d,
|
|
170449
170436
|
showAdditionalInfoLabel: !1,
|
|
@@ -170533,7 +170520,7 @@ const B0n = i.span`
|
|
|
170533
170520
|
}
|
|
170534
170521
|
),
|
|
170535
170522
|
/* @__PURE__ */ t.jsx(
|
|
170536
|
-
|
|
170523
|
+
Jt,
|
|
170537
170524
|
{
|
|
170538
170525
|
isDisabled: d,
|
|
170539
170526
|
label: {
|
|
@@ -171303,7 +171290,7 @@ function ADe({
|
|
|
171303
171290
|
}
|
|
171304
171291
|
),
|
|
171305
171292
|
tt?.userId == null ? /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
|
|
171306
|
-
|
|
171293
|
+
Jt,
|
|
171307
171294
|
{
|
|
171308
171295
|
isDisabled: Qe,
|
|
171309
171296
|
showAdditionalInfoLabel: !1,
|
|
@@ -174386,7 +174373,7 @@ const Kxn = i.div`
|
|
|
174386
174373
|
return Ho?.isDeleted === !0 && Ho?.isBillEditableCoaAccountType === !1;
|
|
174387
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(
|
|
174388
174375
|
e.transactionDetails.billPayInfo.billPaymentStatus.code
|
|
174389
|
-
) && (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), Kt = !yi, wn = [
|
|
174390
174377
|
"small",
|
|
174391
174378
|
"medium-compact",
|
|
174392
174379
|
"medium-regular"
|
|
@@ -174394,7 +174381,7 @@ const Kxn = i.div`
|
|
|
174394
174381
|
e.transactionDetails?.bulkProcessingDetail?.type
|
|
174395
174382
|
), Qt = y2(
|
|
174396
174383
|
e.paymentMethodType?.method
|
|
174397
|
-
), jo = !hi && (uo !== "processing" && Ri || uo === "processing" && !ro || uo === "processing" &&
|
|
174384
|
+
), jo = !hi && (uo !== "processing" && Ri || uo === "processing" && !ro || uo === "processing" && Kt || r && Qt && g), jt = (to) => {
|
|
174398
174385
|
p.trackBillPayMarkAsPaidSubmit(
|
|
174399
174386
|
to.paymentMode ?? "other",
|
|
174400
174387
|
At?.code ?? "",
|
|
@@ -174893,7 +174880,7 @@ const Kxn = i.div`
|
|
|
174893
174880
|
children: Zo.buttons.cancel
|
|
174894
174881
|
}
|
|
174895
174882
|
) : null,
|
|
174896
|
-
uo === "processing" &&
|
|
174883
|
+
uo === "processing" && Kt ? /* @__PURE__ */ t.jsx(
|
|
174897
174884
|
V6,
|
|
174898
174885
|
{
|
|
174899
174886
|
onClick: Bt,
|
|
@@ -179021,7 +179008,7 @@ function Yur({
|
|
|
179021
179008
|
subheading: x.addRuleSectionSubheading,
|
|
179022
179009
|
children: [
|
|
179023
179010
|
/* @__PURE__ */ t.jsx(
|
|
179024
|
-
|
|
179011
|
+
Jt,
|
|
179025
179012
|
{
|
|
179026
179013
|
label: { label: x.nameLabel },
|
|
179027
179014
|
text: {
|
|
@@ -179038,7 +179025,7 @@ function Yur({
|
|
|
179038
179025
|
}
|
|
179039
179026
|
),
|
|
179040
179027
|
/* @__PURE__ */ t.jsx(
|
|
179041
|
-
|
|
179028
|
+
Jt,
|
|
179042
179029
|
{
|
|
179043
179030
|
label: { label: x.descriptionLabel },
|
|
179044
179031
|
text: {
|
|
@@ -180876,7 +180863,7 @@ function Jur({
|
|
|
180876
180863
|
subheading: C.addRuleSectionSubheading,
|
|
180877
180864
|
children: [
|
|
180878
180865
|
/* @__PURE__ */ t.jsx(
|
|
180879
|
-
|
|
180866
|
+
Jt,
|
|
180880
180867
|
{
|
|
180881
180868
|
label: { label: C.nameLabel },
|
|
180882
180869
|
text: {
|
|
@@ -180893,7 +180880,7 @@ function Jur({
|
|
|
180893
180880
|
}
|
|
180894
180881
|
),
|
|
180895
180882
|
/* @__PURE__ */ t.jsx(
|
|
180896
|
-
|
|
180883
|
+
Jt,
|
|
180897
180884
|
{
|
|
180898
180885
|
label: { label: C.descriptionLabel },
|
|
180899
180886
|
text: {
|
|
@@ -181757,7 +181744,7 @@ const kCn = (e, n) => {
|
|
|
181757
181744
|
},
|
|
181758
181745
|
fieldThreadTargetElement: b?.sharedRef?.contentWrapperRef,
|
|
181759
181746
|
children: /* @__PURE__ */ t.jsx(
|
|
181760
|
-
|
|
181747
|
+
Jt,
|
|
181761
181748
|
{
|
|
181762
181749
|
isDisabled: d,
|
|
181763
181750
|
label: {
|
|
@@ -182546,7 +182533,7 @@ const VCn = i.div`
|
|
|
182546
182533
|
},
|
|
182547
182534
|
fieldThreadTargetElement: I?.sharedRef?.contentWrapperRef,
|
|
182548
182535
|
children: /* @__PURE__ */ t.jsx(
|
|
182549
|
-
|
|
182536
|
+
Jt,
|
|
182550
182537
|
{
|
|
182551
182538
|
isDisabled: p,
|
|
182552
182539
|
label: {
|
|
@@ -183240,7 +183227,7 @@ const VCn = i.div`
|
|
|
183240
183227
|
borderRadius: o.sp2
|
|
183241
183228
|
},
|
|
183242
183229
|
children: /* @__PURE__ */ t.jsx(
|
|
183243
|
-
|
|
183230
|
+
Jt,
|
|
183244
183231
|
{
|
|
183245
183232
|
isDisabled: r,
|
|
183246
183233
|
label: {
|
|
@@ -185475,7 +185462,7 @@ const obn = i.div`
|
|
|
185475
185462
|
).toDateString()
|
|
185476
185463
|
) : void 0, Ve = e.reimbursementInfo?.expectedDepositDate ?? Kn, bt = g != null && e.remiStage === "draft", Ze = iOe(
|
|
185477
185464
|
e.duplicateLineByLineId
|
|
185478
|
-
), 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: Kt } = Oo(yr);
|
|
185479
185466
|
K(() => {
|
|
185480
185467
|
ue?.threadId != null && ue?.companyId != null && ue?.entityType != null && go(ue);
|
|
185481
185468
|
}, [ue, go]);
|
|
@@ -185492,18 +185479,18 @@ const obn = i.div`
|
|
|
185492
185479
|
!1
|
|
185493
185480
|
);
|
|
185494
185481
|
K(() => {
|
|
185495
|
-
uo?.threadId != null && nn.length > 0 && !wn && (
|
|
185482
|
+
uo?.threadId != null && nn.length > 0 && !wn && (Kt(uo.threadId), go(null));
|
|
185496
185483
|
}, [
|
|
185497
185484
|
uo,
|
|
185498
185485
|
nn,
|
|
185499
185486
|
wn,
|
|
185500
|
-
|
|
185487
|
+
Kt,
|
|
185501
185488
|
go
|
|
185502
185489
|
]);
|
|
185503
185490
|
const Qt = je(() => g == null ? [] : nn.filter(
|
|
185504
185491
|
(jt) => jt.resolved === !1 && !jt.id.includes(gr)
|
|
185505
185492
|
), [nn, g]).length, jo = (jt, ho) => {
|
|
185506
|
-
|
|
185493
|
+
Kt(ho);
|
|
185507
185494
|
const qt = jt.entityType.split("."), ko = parseInt(qt[2]);
|
|
185508
185495
|
if (isNaN(ko)) {
|
|
185509
185496
|
Ye(!1);
|
|
@@ -189214,7 +189201,7 @@ const obn = i.div`
|
|
|
189214
189201
|
children: /* @__PURE__ */ t.jsxs(Qge, { children: [
|
|
189215
189202
|
/* @__PURE__ */ t.jsx(Mt, { controller: p === !1, children: /* @__PURE__ */ t.jsxs(nt.Fragment, { children: [
|
|
189216
189203
|
/* @__PURE__ */ t.jsx(
|
|
189217
|
-
|
|
189204
|
+
Jt,
|
|
189218
189205
|
{
|
|
189219
189206
|
isDisabled: "disabled",
|
|
189220
189207
|
showAdditionalInfoLabel: !1,
|
|
@@ -196481,7 +196468,7 @@ const Ujn = i.div`
|
|
|
196481
196468
|
),
|
|
196482
196469
|
children: [
|
|
196483
196470
|
/* @__PURE__ */ t.jsx(
|
|
196484
|
-
|
|
196471
|
+
Jt,
|
|
196485
196472
|
{
|
|
196486
196473
|
isDisabled: n,
|
|
196487
196474
|
fullWidthSelect: !1,
|
|
@@ -199853,7 +199840,7 @@ function kTn({
|
|
|
199853
199840
|
}
|
|
199854
199841
|
),
|
|
199855
199842
|
/* @__PURE__ */ t.jsx(
|
|
199856
|
-
|
|
199843
|
+
Jt,
|
|
199857
199844
|
{
|
|
199858
199845
|
isDisabled: a,
|
|
199859
199846
|
label: {
|
|
@@ -199876,7 +199863,7 @@ function kTn({
|
|
|
199876
199863
|
}
|
|
199877
199864
|
),
|
|
199878
199865
|
/* @__PURE__ */ t.jsx(
|
|
199879
|
-
|
|
199866
|
+
Jt,
|
|
199880
199867
|
{
|
|
199881
199868
|
isDisabled: a,
|
|
199882
199869
|
label: {
|
|
@@ -199901,7 +199888,7 @@ function kTn({
|
|
|
199901
199888
|
}
|
|
199902
199889
|
),
|
|
199903
199890
|
/* @__PURE__ */ t.jsx(
|
|
199904
|
-
|
|
199891
|
+
Jt,
|
|
199905
199892
|
{
|
|
199906
199893
|
isDisabled: a,
|
|
199907
199894
|
label: {
|
|
@@ -199950,7 +199937,7 @@ function kTn({
|
|
|
199950
199937
|
}
|
|
199951
199938
|
),
|
|
199952
199939
|
/* @__PURE__ */ t.jsx(
|
|
199953
|
-
|
|
199940
|
+
Jt,
|
|
199954
199941
|
{
|
|
199955
199942
|
isDisabled: a,
|
|
199956
199943
|
label: {
|
|
@@ -199975,7 +199962,7 @@ function kTn({
|
|
|
199975
199962
|
}
|
|
199976
199963
|
),
|
|
199977
199964
|
/* @__PURE__ */ t.jsx(
|
|
199978
|
-
|
|
199965
|
+
Jt,
|
|
199979
199966
|
{
|
|
199980
199967
|
isDisabled: a,
|
|
199981
199968
|
label: {
|
|
@@ -200195,7 +200182,7 @@ const ITn = i.div`
|
|
|
200195
200182
|
/* @__PURE__ */ t.jsxs(d0e, { children: [
|
|
200196
200183
|
/* @__PURE__ */ t.jsx(ek, { children: M?.legalName === !0 && !G ? /* @__PURE__ */ t.jsx(S8, {}) : null }),
|
|
200197
200184
|
/* @__PURE__ */ t.jsx(
|
|
200198
|
-
|
|
200185
|
+
Jt,
|
|
200199
200186
|
{
|
|
200200
200187
|
label: {
|
|
200201
200188
|
label: $8.legalName,
|
|
@@ -200221,7 +200208,7 @@ const ITn = i.div`
|
|
|
200221
200208
|
)
|
|
200222
200209
|
] }),
|
|
200223
200210
|
/* @__PURE__ */ t.jsx(
|
|
200224
|
-
|
|
200211
|
+
Jt,
|
|
200225
200212
|
{
|
|
200226
200213
|
label: {
|
|
200227
200214
|
label: $8.email,
|
|
@@ -208356,7 +208343,7 @@ function szn({
|
|
|
208356
208343
|
}
|
|
208357
208344
|
),
|
|
208358
208345
|
/* @__PURE__ */ t.jsx(
|
|
208359
|
-
|
|
208346
|
+
Jt,
|
|
208360
208347
|
{
|
|
208361
208348
|
label: {
|
|
208362
208349
|
label: Dl.checkDepositDrawer.sourceLabel,
|
|
@@ -209874,7 +209861,7 @@ const Yfe = z.getLocalizedStrings().spendManagement.zeniAccounts.statements, Pze
|
|
|
209874
209861
|
/* @__PURE__ */ t.jsx(UFn, { children: Qu.vendorDetails.title }),
|
|
209875
209862
|
/* @__PURE__ */ t.jsxs(GFn, { children: [
|
|
209876
209863
|
/* @__PURE__ */ t.jsx(
|
|
209877
|
-
|
|
209864
|
+
Jt,
|
|
209878
209865
|
{
|
|
209879
209866
|
label: {
|
|
209880
209867
|
label: Qu.vendorDetails.vendorName,
|
|
@@ -211419,7 +211406,7 @@ const If = {
|
|
|
211419
211406
|
description: O.cards.moreProviders.description,
|
|
211420
211407
|
buttonLabel: O.cards.moreProviders.requestButtonLabel,
|
|
211421
211408
|
showBellIcon: !1,
|
|
211422
|
-
onAction: () => g("
|
|
211409
|
+
onAction: () => g("more_providers"),
|
|
211423
211410
|
isAdmin: e
|
|
211424
211411
|
}
|
|
211425
211412
|
)
|
|
@@ -214166,8 +214153,8 @@ const {
|
|
|
214166
214153
|
return !1;
|
|
214167
214154
|
const bt = Ce.getValues(
|
|
214168
214155
|
is
|
|
214169
|
-
), Ze = at?.street.join("").trim(), Co = at?.city, uo = at?.state, go = at?.country,
|
|
214170
|
-
return !!Ze && !!Co && !!uo && !!go && !!
|
|
214156
|
+
), Ze = at?.street.join("").trim(), Co = at?.city, uo = at?.state, go = at?.country, Kt = at?.postalCode != null && at.postalCode || bt.postalCode || Rt.strings.empty;
|
|
214157
|
+
return !!Ze && !!Co && !!uo && !!go && !!Kt;
|
|
214171
214158
|
}
|
|
214172
214159
|
const Po = it(
|
|
214173
214160
|
ze?.providerVerificationStatus?.code
|
|
@@ -214391,9 +214378,9 @@ const {
|
|
|
214391
214378
|
}, ui = () => {
|
|
214392
214379
|
Pe.fetchState !== "In-Progress" && (ue(), c.track(vo.onboardingSkipAndSave));
|
|
214393
214380
|
}, Pi = () => {
|
|
214394
|
-
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, Kt = !!Ve?.firstName && !!Ve?.lastName;
|
|
214395
214382
|
let nn = !0, wn = !1;
|
|
214396
|
-
return bt && !
|
|
214383
|
+
return bt && !Kt && (Ce.trigger(
|
|
214397
214384
|
[
|
|
214398
214385
|
`${yc}.${go}.name.firstName`,
|
|
214399
214386
|
`${yc}.${go}.name.lastName`
|
|
@@ -214618,10 +214605,10 @@ const {
|
|
|
214618
214605
|
"verification"
|
|
214619
214606
|
),
|
|
214620
214607
|
onCompanyAddressClick: (go) => {
|
|
214621
|
-
const
|
|
214622
|
-
Ct?.addressId == null &&
|
|
214608
|
+
const Kt = Ae?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;
|
|
214609
|
+
Ct?.addressId == null && Kt != null ? V(
|
|
214623
214610
|
go,
|
|
214624
|
-
|
|
214611
|
+
Kt
|
|
214625
214612
|
) : V(
|
|
214626
214613
|
go,
|
|
214627
214614
|
Ct?.addressId
|
|
@@ -220273,7 +220260,7 @@ const wZn = i.div`
|
|
|
220273
220260
|
}
|
|
220274
220261
|
),
|
|
220275
220262
|
/* @__PURE__ */ t.jsx(
|
|
220276
|
-
|
|
220263
|
+
Jt,
|
|
220277
220264
|
{
|
|
220278
220265
|
label: {
|
|
220279
220266
|
label: v.iban,
|
|
@@ -220297,7 +220284,7 @@ const wZn = i.div`
|
|
|
220297
220284
|
}
|
|
220298
220285
|
),
|
|
220299
220286
|
/* @__PURE__ */ t.jsx(
|
|
220300
|
-
|
|
220287
|
+
Jt,
|
|
220301
220288
|
{
|
|
220302
220289
|
label: {
|
|
220303
220290
|
label: v.confirmIban,
|
|
@@ -220323,7 +220310,7 @@ const wZn = i.div`
|
|
|
220323
220310
|
}
|
|
220324
220311
|
),
|
|
220325
220312
|
/* @__PURE__ */ t.jsx(
|
|
220326
|
-
|
|
220313
|
+
Jt,
|
|
220327
220314
|
{
|
|
220328
220315
|
label: {
|
|
220329
220316
|
label: v.accountNickName,
|
|
@@ -226746,7 +226733,7 @@ const uX = (e, n, r, s, a) => {
|
|
|
226746
226733
|
}) => {
|
|
226747
226734
|
const a = Z(), l = Eti.labelWidth.value(a);
|
|
226748
226735
|
return /* @__PURE__ */ t.jsx(Dti, { style: s, children: /* @__PURE__ */ t.jsx(Oti, { children: /* @__PURE__ */ t.jsx(
|
|
226749
|
-
|
|
226736
|
+
Jt,
|
|
226750
226737
|
{
|
|
226751
226738
|
isDisabled: r,
|
|
226752
226739
|
label: {
|
|
@@ -227182,7 +227169,7 @@ const noi = i.div`
|
|
|
227182
227169
|
}
|
|
227183
227170
|
),
|
|
227184
227171
|
/* @__PURE__ */ t.jsx(
|
|
227185
|
-
|
|
227172
|
+
Jt,
|
|
227186
227173
|
{
|
|
227187
227174
|
isDisabled: e.fetchState === "In-Progress" ? "readonly" : a,
|
|
227188
227175
|
label: {
|
|
@@ -230164,7 +230151,7 @@ function Aii({
|
|
|
230164
230151
|
}
|
|
230165
230152
|
) }),
|
|
230166
230153
|
P ? null : /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
|
|
230167
|
-
|
|
230154
|
+
Jt,
|
|
230168
230155
|
{
|
|
230169
230156
|
label: {
|
|
230170
230157
|
label: ie.memo,
|
|
@@ -233986,7 +233973,7 @@ function _si({
|
|
|
233986
233973
|
}
|
|
233987
233974
|
),
|
|
233988
233975
|
/* @__PURE__ */ t.jsx(
|
|
233989
|
-
|
|
233976
|
+
Jt,
|
|
233990
233977
|
{
|
|
233991
233978
|
label: {
|
|
233992
233979
|
label: H.assetId,
|
|
@@ -235504,7 +235491,7 @@ function eli({
|
|
|
235504
235491
|
/* @__PURE__ */ t.jsx(Jai, { windowSize: p, children: d.header }),
|
|
235505
235492
|
/* @__PURE__ */ t.jsxs(Kai, { children: [
|
|
235506
235493
|
/* @__PURE__ */ t.jsx(
|
|
235507
|
-
|
|
235494
|
+
Jt,
|
|
235508
235495
|
{
|
|
235509
235496
|
label: {
|
|
235510
235497
|
label: c.jePostingDate,
|
|
@@ -235525,7 +235512,7 @@ function eli({
|
|
|
235525
235512
|
),
|
|
235526
235513
|
/* @__PURE__ */ t.jsx(Xai, {}),
|
|
235527
235514
|
/* @__PURE__ */ t.jsx(
|
|
235528
|
-
|
|
235515
|
+
Jt,
|
|
235529
235516
|
{
|
|
235530
235517
|
label: {
|
|
235531
235518
|
label: c.jeLink,
|
|
@@ -242072,7 +242059,7 @@ function XNe({
|
|
|
242072
242059
|
children: [
|
|
242073
242060
|
/* @__PURE__ */ t.jsx(Thi, { windowSize: a, children: QH.heading }),
|
|
242074
242061
|
/* @__PURE__ */ t.jsx(Phi, { children: /* @__PURE__ */ t.jsx(
|
|
242075
|
-
|
|
242062
|
+
Jt,
|
|
242076
242063
|
{
|
|
242077
242064
|
label: {
|
|
242078
242065
|
label: QH.newName,
|
|
@@ -244554,13 +244541,13 @@ const Mhi = (e, n, r) => {
|
|
|
244554
244541
|
Ve,
|
|
244555
244542
|
bt
|
|
244556
244543
|
));
|
|
244557
|
-
}, uo = Z(), go = Ri && !on,
|
|
244558
|
-
amount:
|
|
244544
|
+
}, uo = Z(), go = Ri && !on, Kt = e.creditAccount.balance.amount + e.creditAccount.hold.amount, nn = {
|
|
244545
|
+
amount: Kt,
|
|
244559
244546
|
currencyCode: e.creditAccount.balance.currencyCode,
|
|
244560
244547
|
currencySymbol: e.creditAccount.balance.currencySymbol
|
|
244561
244548
|
}, wn = Math.round(
|
|
244562
244549
|
nn.amount * 100 / e.creditAccount.limit.amount
|
|
244563
|
-
), hi = isNaN(wn) ? 0 :
|
|
244550
|
+
), hi = isNaN(wn) ? 0 : Kt !== 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 = {
|
|
244564
244551
|
entity: "charge_cards",
|
|
244565
244552
|
showNewButtonOnNavbar: on,
|
|
244566
244553
|
showEntityEmailInfoIconOnNavbar: !1,
|
|
@@ -250809,7 +250796,7 @@ const yxi = i(Mr)`
|
|
|
250809
250796
|
}), lo;
|
|
250810
250797
|
}, [e.transactions]), Ve = `${e.chargeCard?.cardHolderUser?.firstName ?? ""} ${e.chargeCard?.cardHolderUser?.lastName ?? ""}`, bt = e.chargeCard?.billingAddress, Ze = s1(
|
|
250811
250798
|
Fe.loggedInUserRoleMap
|
|
250812
|
-
), { text1: Co, text2: uo } = Iv(bt), go = `${Co} ${uo}`,
|
|
250799
|
+
), { text1: Co, text2: uo } = Iv(bt), go = `${Co} ${uo}`, Kt = e.chargeCard?.isDeclinedTransaction === !0, nn = () => {
|
|
250813
250800
|
tW({
|
|
250814
250801
|
chargeCardDetailView: e,
|
|
250815
250802
|
chargeCardCashbackDetailState: S,
|
|
@@ -250913,7 +250900,7 @@ const yxi = i(Mr)`
|
|
|
250913
250900
|
ao,
|
|
250914
250901
|
ri
|
|
250915
250902
|
]);
|
|
250916
|
-
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 && Kt, Cr = () => {
|
|
250917
250904
|
if (!x)
|
|
250918
250905
|
return [
|
|
250919
250906
|
{ value: "changePin", label: ea.cardDetails.moreOptions.changePin }
|
|
@@ -251309,7 +251296,7 @@ const yxi = i(Mr)`
|
|
|
251309
251296
|
)} ${ea.payEarly.madeOn} ${e.creditAccountRepayment.initiatedRepaymentDate?.format(
|
|
251310
251297
|
jxi.visual.MMMDFormat
|
|
251311
251298
|
)} ${ea.payEarly.isProcessing} ${ea.payEarly.theCompanyCreditLimitWillUpdateIn23BusinessDays}` })
|
|
251312
|
-
] }) :
|
|
251299
|
+
] }) : Kt ? Ze ? /* @__PURE__ */ t.jsxs(
|
|
251313
251300
|
L_e,
|
|
251314
251301
|
{
|
|
251315
251302
|
onClick: () => {
|
|
@@ -251336,7 +251323,7 @@ const yxi = i(Mr)`
|
|
|
251336
251323
|
agi,
|
|
251337
251324
|
{
|
|
251338
251325
|
style: {
|
|
251339
|
-
marginTop:
|
|
251326
|
+
marginTop: Kt ? o.sp5 : o.sp4
|
|
251340
251327
|
},
|
|
251341
251328
|
classListFetchState: a,
|
|
251342
251329
|
controllerEmails: g,
|
|
@@ -255708,7 +255695,7 @@ const Ayi = ({
|
|
|
255708
255695
|
);
|
|
255709
255696
|
}) }),
|
|
255710
255697
|
/* @__PURE__ */ t.jsx(
|
|
255711
|
-
|
|
255698
|
+
Jt,
|
|
255712
255699
|
{
|
|
255713
255700
|
label: {
|
|
255714
255701
|
label: Dn.nameLabel,
|
|
@@ -255734,7 +255721,7 @@ const Ayi = ({
|
|
|
255734
255721
|
}
|
|
255735
255722
|
),
|
|
255736
255723
|
/* @__PURE__ */ t.jsx(
|
|
255737
|
-
|
|
255724
|
+
Jt,
|
|
255738
255725
|
{
|
|
255739
255726
|
label: {
|
|
255740
255727
|
label: Dn.descriptionLabel,
|
|
@@ -257259,7 +257246,7 @@ const Ayi = ({
|
|
|
257259
257246
|
}
|
|
257260
257247
|
),
|
|
257261
257248
|
/* @__PURE__ */ t.jsx(
|
|
257262
|
-
|
|
257249
|
+
Jt,
|
|
257263
257250
|
{
|
|
257264
257251
|
label: {
|
|
257265
257252
|
label: Ms.cardNameLabel,
|
|
@@ -257708,7 +257695,7 @@ const Ayi = ({
|
|
|
257708
257695
|
] }),
|
|
257709
257696
|
/* @__PURE__ */ t.jsx(T7i, {}),
|
|
257710
257697
|
/* @__PURE__ */ t.jsx(
|
|
257711
|
-
|
|
257698
|
+
Jt,
|
|
257712
257699
|
{
|
|
257713
257700
|
label: {
|
|
257714
257701
|
label: Jd.cardNameLabel,
|
|
@@ -258052,7 +258039,7 @@ const Ayi = ({
|
|
|
258052
258039
|
}
|
|
258053
258040
|
),
|
|
258054
258041
|
/* @__PURE__ */ t.jsx(
|
|
258055
|
-
|
|
258042
|
+
Jt,
|
|
258056
258043
|
{
|
|
258057
258044
|
label: {
|
|
258058
258045
|
label: fs.cardNameLabel,
|
|
@@ -258473,7 +258460,7 @@ const Ayi = ({
|
|
|
258473
258460
|
),
|
|
258474
258461
|
/* @__PURE__ */ t.jsx(ebi, {}),
|
|
258475
258462
|
/* @__PURE__ */ t.jsx(
|
|
258476
|
-
|
|
258463
|
+
Jt,
|
|
258477
258464
|
{
|
|
258478
258465
|
label: {
|
|
258479
258466
|
label: dp.cardNameLabel,
|
|
@@ -267432,7 +267419,7 @@ const $He = {
|
|
|
267432
267419
|
} = Je(), l = n && (r == null || !r.companyName && !r.emailIds), c = !r?.companyName, d = (u, p) => `${u}.${p}`;
|
|
267433
267420
|
return /* @__PURE__ */ t.jsxs(hki, { children: [
|
|
267434
267421
|
/* @__PURE__ */ t.jsx(
|
|
267435
|
-
|
|
267422
|
+
Jt,
|
|
267436
267423
|
{
|
|
267437
267424
|
text: {
|
|
267438
267425
|
type: "text",
|
|
@@ -274835,7 +274822,7 @@ const wMi = (e) => [
|
|
|
274835
274822
|
paddingTop: o.sp0,
|
|
274836
274823
|
paddingBottom: o.sp0
|
|
274837
274824
|
},
|
|
274838
|
-
searchIconMarginRight: o.
|
|
274825
|
+
searchIconMarginRight: o.sp1,
|
|
274839
274826
|
onSearchTextChanged: (D) => {
|
|
274840
274827
|
p(D);
|
|
274841
274828
|
},
|
|
@@ -275167,8 +275154,8 @@ const {
|
|
|
275167
275154
|
}
|
|
275168
275155
|
}
|
|
275169
275156
|
}
|
|
275170
|
-
} = z.getLocalizedStrings(), Ea = (e, n, r, s, a, l, c, d
|
|
275171
|
-
const
|
|
275157
|
+
} = z.getLocalizedStrings(), Ea = (e, n, r, s, a, l, c, d) => {
|
|
275158
|
+
const u = (p, m) => d !== !0 ? p : m === "transaction_categorization" || m === "reconciliation" || m === "missing_receipts" || m === "flux_analysis" || m === "je_schedules" ? [...p, "commentDrawer"] : p;
|
|
275172
275159
|
switch (e) {
|
|
275173
275160
|
case "transaction_categorization":
|
|
275174
275161
|
return {
|
|
@@ -275211,8 +275198,8 @@ const {
|
|
|
275211
275198
|
]
|
|
275212
275199
|
}
|
|
275213
275200
|
],
|
|
275214
|
-
rightSection:
|
|
275215
|
-
|
|
275201
|
+
rightSection: u(
|
|
275202
|
+
l !== !1 ? ["search", "filter", "refresh"] : ["refresh"],
|
|
275216
275203
|
"transaction_categorization"
|
|
275217
275204
|
),
|
|
275218
275205
|
leftSection: [],
|
|
@@ -275241,18 +275228,18 @@ const {
|
|
|
275241
275228
|
subTitle: []
|
|
275242
275229
|
}
|
|
275243
275230
|
],
|
|
275244
|
-
rightSection:
|
|
275231
|
+
rightSection: u(["refresh"], "je_schedules"),
|
|
275245
275232
|
leftSection: [],
|
|
275246
275233
|
searchPlaceholder: ODi,
|
|
275247
275234
|
allDoneText: zDi
|
|
275248
275235
|
};
|
|
275249
275236
|
case "missing_receipts": {
|
|
275250
|
-
const
|
|
275237
|
+
const p = c?.includeBulkUploadTabs !== !1;
|
|
275251
275238
|
return {
|
|
275252
275239
|
key: "missing_receipts",
|
|
275253
|
-
title:
|
|
275240
|
+
title: c?.navTitle ?? TDi,
|
|
275254
275241
|
subTitle: [FDi],
|
|
275255
|
-
tabs:
|
|
275242
|
+
tabs: p ? [
|
|
275256
275243
|
{
|
|
275257
275244
|
label: BDi,
|
|
275258
275245
|
id: "missing",
|
|
@@ -275271,7 +275258,7 @@ const {
|
|
|
275271
275258
|
allDoneText: BW
|
|
275272
275259
|
}
|
|
275273
275260
|
] : [],
|
|
275274
|
-
rightSection:
|
|
275261
|
+
rightSection: u(["refresh"], "missing_receipts"),
|
|
275275
275262
|
leftSection: [],
|
|
275276
275263
|
searchPlaceholder: NDi,
|
|
275277
275264
|
allDoneText: BW
|
|
@@ -275283,7 +275270,7 @@ const {
|
|
|
275283
275270
|
title: IDi,
|
|
275284
275271
|
subTitle: [_Di, HDi],
|
|
275285
275272
|
tabs: [],
|
|
275286
|
-
rightSection:
|
|
275273
|
+
rightSection: u(["refresh"], "flux_analysis"),
|
|
275287
275274
|
leftSection: [],
|
|
275288
275275
|
searchPlaceholder: WDi,
|
|
275289
275276
|
allDoneText: {
|
|
@@ -275308,7 +275295,7 @@ const {
|
|
|
275308
275295
|
title: Obe,
|
|
275309
275296
|
subTitle: [],
|
|
275310
275297
|
tabs: [],
|
|
275311
|
-
rightSection:
|
|
275298
|
+
rightSection: u(["refresh"], "reconciliation"),
|
|
275312
275299
|
leftSection: [],
|
|
275313
275300
|
searchPlaceholder: pp,
|
|
275314
275301
|
allDoneText: { title: pp, subTitle: pp }
|
|
@@ -275347,7 +275334,7 @@ const {
|
|
|
275347
275334
|
allDoneText: UDi
|
|
275348
275335
|
}
|
|
275349
275336
|
],
|
|
275350
|
-
rightSection:
|
|
275337
|
+
rightSection: u(["refresh"], "reconciliation"),
|
|
275351
275338
|
leftSection: ["back"],
|
|
275352
275339
|
searchPlaceholder: pp,
|
|
275353
275340
|
allDoneText: Fbe
|
|
@@ -285162,7 +285149,7 @@ const {
|
|
|
285162
285149
|
return Pt.forEach((Ho) => {
|
|
285163
285150
|
to = to.concat(Ho.options);
|
|
285164
285151
|
}), to.find((Ho) => Ho.value === so)?.label ?? xn ?? so;
|
|
285165
|
-
},
|
|
285152
|
+
}, Kt = go(
|
|
285166
285153
|
pt,
|
|
285167
285154
|
Me,
|
|
285168
285155
|
Re
|
|
@@ -285579,7 +285566,7 @@ const {
|
|
|
285579
285566
|
isMisCategorized: jt,
|
|
285580
285567
|
onRecommendationClick: Be,
|
|
285581
285568
|
selectedValue: Me,
|
|
285582
|
-
selectedValueLabel:
|
|
285569
|
+
selectedValueLabel: Kt,
|
|
285583
285570
|
existingOption: {
|
|
285584
285571
|
label: gt?.class?.className,
|
|
285585
285572
|
value: gt?.class?.classId
|
|
@@ -285663,7 +285650,7 @@ const {
|
|
|
285663
285650
|
/* @__PURE__ */ t.jsx(
|
|
285664
285651
|
Si,
|
|
285665
285652
|
{
|
|
285666
|
-
text:
|
|
285653
|
+
text: Kt ?? "",
|
|
285667
285654
|
itemTextStyle: {
|
|
285668
285655
|
color: C ? Ae.colors.primary : Ae.colors.champion,
|
|
285669
285656
|
fontSize: F.standardMedium.fontSizeValue,
|
|
@@ -292653,8 +292640,8 @@ const Vpr = (e) => {
|
|
|
292653
292640
|
reconciliation: Y,
|
|
292654
292641
|
selectedPeriod: J
|
|
292655
292642
|
} = a, { pendingMissingReceiptsTabNavigation: G } = Q, [q, ee] = W("expenseAutomationPage"), te = O.uiState.selectedMainTab ?? "pending_review", { onUpdateJESchedulesUIState: X } = e, ie = be(
|
|
292656
|
-
(
|
|
292657
|
-
X({ selectedMainTab:
|
|
292643
|
+
(Kt) => {
|
|
292644
|
+
X({ selectedMainTab: Kt });
|
|
292658
292645
|
},
|
|
292659
292646
|
[X]
|
|
292660
292647
|
), [ne, oe] = W(() => {
|
|
@@ -292662,15 +292649,15 @@ const Vpr = (e) => {
|
|
|
292662
292649
|
Ql.isExpenseAutomationSearchAndFilterEnabled
|
|
292663
292650
|
), [ae, pe] = W(!1), [ye, me] = W(!1), [Ce, Ie] = W(I ?? "missing"), Be = Le(null);
|
|
292664
292651
|
K(() => {
|
|
292665
|
-
const
|
|
292666
|
-
|
|
292652
|
+
const Kt = Be.current;
|
|
292653
|
+
Kt !== null && Kt !== Ce && j?.(), Be.current = Ce;
|
|
292667
292654
|
}, [Ce, j]);
|
|
292668
|
-
const Ae = be((
|
|
292669
|
-
Ie(
|
|
292655
|
+
const Ae = be((Kt) => {
|
|
292656
|
+
Ie(Kt);
|
|
292670
292657
|
}, []), [Se, Te] = W(null), Me = be(
|
|
292671
|
-
(
|
|
292672
|
-
Te(
|
|
292673
|
-
|
|
292658
|
+
(Kt) => {
|
|
292659
|
+
Te(Kt), ee(
|
|
292660
|
+
Kt != null ? "expenseAutomationMissingReceipts" : "expenseAutomationPage"
|
|
292674
292661
|
);
|
|
292675
292662
|
},
|
|
292676
292663
|
[ee]
|
|
@@ -292698,10 +292685,10 @@ const Vpr = (e) => {
|
|
|
292698
292685
|
K(() => {
|
|
292699
292686
|
if (Pe == null || Pe.phase !== "completed")
|
|
292700
292687
|
return;
|
|
292701
|
-
const
|
|
292702
|
-
if (
|
|
292688
|
+
const Kt = Pe.currentBatchId;
|
|
292689
|
+
if (Kt == null || Pe.currentBatchDetailsFetched !== !0 || Ee.current === Kt)
|
|
292703
292690
|
return;
|
|
292704
|
-
Ee.current =
|
|
292691
|
+
Ee.current = Kt, Pe.unmatchedFiles.length + Pe.pastUnmatchedFiles.length > 0 ? Ae("unmatched") : (Ae("completed"), ke?.("ai_accountant"));
|
|
292705
292692
|
}, [
|
|
292706
292693
|
Pe,
|
|
292707
292694
|
ke,
|
|
@@ -292713,11 +292700,11 @@ const Vpr = (e) => {
|
|
|
292713
292700
|
});
|
|
292714
292701
|
K(() => {
|
|
292715
292702
|
if (ge.isFeatureEnabled === !1 && ze.categories.length > 0) {
|
|
292716
|
-
const
|
|
292703
|
+
const Kt = {
|
|
292717
292704
|
categories: [],
|
|
292718
292705
|
categoryCombinationOperator: "AND"
|
|
292719
292706
|
};
|
|
292720
|
-
Qe(
|
|
292707
|
+
Qe(Kt), x(Kt);
|
|
292721
292708
|
}
|
|
292722
292709
|
}, [
|
|
292723
292710
|
ge.isFeatureEnabled,
|
|
@@ -292725,7 +292712,7 @@ const Vpr = (e) => {
|
|
|
292725
292712
|
x
|
|
292726
292713
|
]);
|
|
292727
292714
|
const Fe = N.find(
|
|
292728
|
-
(
|
|
292715
|
+
(Kt) => Kt.step === M
|
|
292729
292716
|
), { nextStep: Ue, previousStep: Ge } = SYi(
|
|
292730
292717
|
N,
|
|
292731
292718
|
M
|
|
@@ -292741,18 +292728,24 @@ const Vpr = (e) => {
|
|
|
292741
292728
|
tt(Ye ?? "");
|
|
292742
292729
|
}, [Ye]);
|
|
292743
292730
|
const pt = je(
|
|
292744
|
-
() => fr(
|
|
292745
|
-
|
|
292746
|
-
|
|
292747
|
-
|
|
292731
|
+
() => fr(
|
|
292732
|
+
(Kt) => {
|
|
292733
|
+
console.log(
|
|
292734
|
+
"[EA-SEARCH] debounce fired, calling onSearchTextChanged",
|
|
292735
|
+
{ value: Kt }
|
|
292736
|
+
), f(Kt);
|
|
292737
|
+
},
|
|
292738
|
+
500,
|
|
292739
|
+
{ leading: !1, trailing: !0 }
|
|
292740
|
+
),
|
|
292748
292741
|
[f]
|
|
292749
292742
|
);
|
|
292750
292743
|
K(() => () => {
|
|
292751
292744
|
pt.cancel();
|
|
292752
292745
|
}, [pt]);
|
|
292753
292746
|
const ht = be(
|
|
292754
|
-
(
|
|
292755
|
-
tt(
|
|
292747
|
+
(Kt) => {
|
|
292748
|
+
tt(Kt), pt(Kt);
|
|
292756
292749
|
},
|
|
292757
292750
|
[pt]
|
|
292758
292751
|
), {
|
|
@@ -292784,14 +292777,14 @@ const Vpr = (e) => {
|
|
|
292784
292777
|
wt == null ? ($t = Y.refreshStatus.fetchState, Ht = Y.completionStatus) : ($t = Y.selectedReconAccount?.refreshStatus.fetchState ?? "Not-Started", Ht = Y.completionStatus);
|
|
292785
292778
|
}
|
|
292786
292779
|
const ro = a.monthEndCloseChecksView.fetchState, Rt = ro === "Not-Started" || ro === "In-Progress", Wt = a.monthEndCloseChecksView.monthEndCloseChecks?.monthEndCloseCheckList.find(
|
|
292787
|
-
(
|
|
292780
|
+
(Kt) => Kt.id === M
|
|
292788
292781
|
), rt = Rt ? void 0 : Math.floor(Wt?.progress ?? 0), Bt = () => {
|
|
292789
292782
|
ne();
|
|
292790
|
-
}, St = (
|
|
292791
|
-
Qe(
|
|
292783
|
+
}, St = (Kt) => {
|
|
292784
|
+
Qe(Kt), x(Kt);
|
|
292792
292785
|
}, Dt = je(() => {
|
|
292793
|
-
const
|
|
292794
|
-
return
|
|
292786
|
+
const Kt = Q$e, nn = n ?? [], wn = s ?? [];
|
|
292787
|
+
return Kt.reduce(
|
|
292795
292788
|
(hi, Qt) => {
|
|
292796
292789
|
const jo = Qt.value;
|
|
292797
292790
|
switch (jo) {
|
|
@@ -292852,7 +292845,7 @@ const Vpr = (e) => {
|
|
|
292852
292845
|
{}
|
|
292853
292846
|
);
|
|
292854
292847
|
}, [n, s, r, Et]), { saveStatus: Nt, selectedCheckBoxTransactionIds: Po } = U, ni = () => {
|
|
292855
|
-
const
|
|
292848
|
+
const Kt = wWe(
|
|
292856
292849
|
a.fluxAnalysis.sections,
|
|
292857
292850
|
a.fluxAnalysis.reviewOperatingExpensesIds
|
|
292858
292851
|
);
|
|
@@ -292863,7 +292856,7 @@ const Vpr = (e) => {
|
|
|
292863
292856
|
isNextDisabled: !1,
|
|
292864
292857
|
isPrevDisabled: !1,
|
|
292865
292858
|
primaryBtn: {
|
|
292866
|
-
label:
|
|
292859
|
+
label: Kt === !0 ? js.markAsReviewed : A7.undo,
|
|
292867
292860
|
style: { justifyContent: "space-evenly" },
|
|
292868
292861
|
isLoading: a.fluxAnalysis.bulkReviewStatus.fetchState === "In-Progress",
|
|
292869
292862
|
isDisabled: !1
|
|
@@ -293092,7 +293085,7 @@ const Vpr = (e) => {
|
|
|
293092
293085
|
confirmAction: () => {
|
|
293093
293086
|
pe(!1), T(
|
|
293094
293087
|
V,
|
|
293095
|
-
Et.map((
|
|
293088
|
+
Et.map((Kt) => Kt.id),
|
|
293096
293089
|
J,
|
|
293097
293090
|
!1,
|
|
293098
293091
|
st[V],
|
|
@@ -293121,9 +293114,9 @@ const Vpr = (e) => {
|
|
|
293121
293114
|
}
|
|
293122
293115
|
}, Ln = () => {
|
|
293123
293116
|
q === "expenseAutomationFluxPage" || q === "expenseAutomationJESchedulePage" || q === "expenseAutomationTransactionsPage" ? pe(!0) : b();
|
|
293124
|
-
}, { primaryBtn: no, cancelBtn: Gt, leftSideComponent: fn } = ni(), { confirmAction: ki } = tn(), ti = (
|
|
293125
|
-
if (M === "transaction_categorization" && (
|
|
293126
|
-
const nn =
|
|
293117
|
+
}, { primaryBtn: no, cancelBtn: Gt, leftSideComponent: fn } = ni(), { confirmAction: ki } = tn(), ti = (Kt) => {
|
|
293118
|
+
if (M === "transaction_categorization" && (Kt === "autoCategorized" || Kt === "review")) {
|
|
293119
|
+
const nn = Kt;
|
|
293127
293120
|
return {
|
|
293128
293121
|
count: at[nn],
|
|
293129
293122
|
isFetching: ot[nn].fetchState === "In-Progress"
|
|
@@ -293134,7 +293127,7 @@ const Vpr = (e) => {
|
|
|
293134
293127
|
return wn == null ? {
|
|
293135
293128
|
count: 0,
|
|
293136
293129
|
isFetching: !1
|
|
293137
|
-
} :
|
|
293130
|
+
} : Kt === "review" ? {
|
|
293138
293131
|
count: nn.accountReconciliationsByAccountID[wn]?.accountReconEntity?.transactionsToReview.length,
|
|
293139
293132
|
isFetching: nn.accountReconciliationsByAccountID[wn]?.transactionFetchState.fetchState === "In-Progress"
|
|
293140
293133
|
} : {
|
|
@@ -293143,19 +293136,19 @@ const Vpr = (e) => {
|
|
|
293143
293136
|
};
|
|
293144
293137
|
}
|
|
293145
293138
|
if (M === "missing_receipts") {
|
|
293146
|
-
if (
|
|
293139
|
+
if (Kt === "missing")
|
|
293147
293140
|
return {
|
|
293148
293141
|
count: Q.transactions.length,
|
|
293149
293142
|
isFetching: Q.fetchState === "In-Progress"
|
|
293150
293143
|
};
|
|
293151
|
-
if (
|
|
293144
|
+
if (Kt === "unmatched")
|
|
293152
293145
|
return {
|
|
293153
293146
|
count: (e.bulkUploadSelector?.unmatchedFiles.length ?? 0) + (e.bulkUploadSelector?.pastUnmatchedFiles.length ?? 0),
|
|
293154
293147
|
isFetching: Ce === "unmatched" && XWe({
|
|
293155
293148
|
bulkUploadSelector: e.bulkUploadSelector
|
|
293156
293149
|
})
|
|
293157
293150
|
};
|
|
293158
|
-
if (
|
|
293151
|
+
if (Kt === "completed")
|
|
293159
293152
|
return {
|
|
293160
293153
|
count: e.bulkUploadSelector?.completedTransactions?.totalCount ?? 0,
|
|
293161
293154
|
isFetching: e.bulkUploadSelector?.completedTransactions?.fetchState?.fetchState === "In-Progress",
|
|
@@ -293163,14 +293156,14 @@ const Vpr = (e) => {
|
|
|
293163
293156
|
};
|
|
293164
293157
|
}
|
|
293165
293158
|
if (M === "je_schedules") {
|
|
293166
|
-
if (
|
|
293159
|
+
if (Kt === "pending_review")
|
|
293167
293160
|
return {
|
|
293168
293161
|
count: O.draftSchedules.length + O.resolveSchedules.length,
|
|
293169
293162
|
isFetching: O.fetchState === "In-Progress"
|
|
293170
293163
|
};
|
|
293171
|
-
if (
|
|
293164
|
+
if (Kt === "ongoing")
|
|
293172
293165
|
return O.ongoingSchedules.length > 0 ? { count: O.ongoingSchedules.length, isFetching: !1 } : void 0;
|
|
293173
|
-
if (
|
|
293166
|
+
if (Kt === "completed")
|
|
293174
293167
|
return O.completedSchedules.length > 0 ? { count: O.completedSchedules.length, isFetching: !1 } : void 0;
|
|
293175
293168
|
}
|
|
293176
293169
|
}, 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(
|
|
@@ -293202,8 +293195,8 @@ const Vpr = (e) => {
|
|
|
293202
293195
|
x8e,
|
|
293203
293196
|
{
|
|
293204
293197
|
activeSubTab: e.bulkUploadSelector.completedSubTab,
|
|
293205
|
-
onSubTabChange: (
|
|
293206
|
-
e.onSetBulkUploadCompletedSubTab?.(
|
|
293198
|
+
onSubTabChange: (Kt) => {
|
|
293199
|
+
e.onSetBulkUploadCompletedSubTab?.(Kt);
|
|
293207
293200
|
}
|
|
293208
293201
|
}
|
|
293209
293202
|
) : 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");
|
|
@@ -293281,7 +293274,7 @@ const Vpr = (e) => {
|
|
|
293281
293274
|
} : C,
|
|
293282
293275
|
onFiltersChange: St,
|
|
293283
293276
|
filterOptions: Dt,
|
|
293284
|
-
onGenericTabChange: M === "je_schedules" ? (
|
|
293277
|
+
onGenericTabChange: M === "je_schedules" ? (Kt) => ie(Kt.id) : void 0,
|
|
293285
293278
|
reconcileDetailPageFetchState: Y.selectedAccountId != null ? Y.accountReconciliationsByAccountID[Y.selectedAccountId]?.transactionFetchState.fetchState : "Not-Started",
|
|
293286
293279
|
selectedReconAccountId: ii ? Y.selectedAccountId : void 0,
|
|
293287
293280
|
currentSelectedView: M,
|
|
@@ -293292,7 +293285,6 @@ const Vpr = (e) => {
|
|
|
293292
293285
|
ii ? Y.selectedAccountId : void 0,
|
|
293293
293286
|
ii ? Y.selectedReconAccount?.accountReconEntity?.account.accountName : void 0,
|
|
293294
293287
|
ii ? ui : void 0,
|
|
293295
|
-
V,
|
|
293296
293288
|
ge.isFeatureEnabled,
|
|
293297
293289
|
M === "missing_receipts" ? {
|
|
293298
293290
|
includeBulkUploadTabs: E,
|
|
@@ -293341,8 +293333,8 @@ const Vpr = (e) => {
|
|
|
293341
293333
|
x8e,
|
|
293342
293334
|
{
|
|
293343
293335
|
activeSubTab: e.bulkUploadSelector.completedSubTab,
|
|
293344
|
-
onSubTabChange: (
|
|
293345
|
-
e.onSetBulkUploadCompletedSubTab?.(
|
|
293336
|
+
onSubTabChange: (Kt) => {
|
|
293337
|
+
e.onSetBulkUploadCompletedSubTab?.(Kt);
|
|
293346
293338
|
}
|
|
293347
293339
|
}
|
|
293348
293340
|
) : Ve && Pi && Qi ? Co : null,
|
|
@@ -295302,7 +295294,7 @@ const dqi = ({
|
|
|
295302
295294
|
}
|
|
295303
295295
|
),
|
|
295304
295296
|
/* @__PURE__ */ t.jsx(
|
|
295305
|
-
|
|
295297
|
+
Jt,
|
|
295306
295298
|
{
|
|
295307
295299
|
showAdditionalInfoLabel: !1,
|
|
295308
295300
|
label: {
|
|
@@ -308030,7 +308022,7 @@ const QV = i(xt)`
|
|
|
308030
308022
|
}
|
|
308031
308023
|
),
|
|
308032
308024
|
/* @__PURE__ */ t.jsx(
|
|
308033
|
-
|
|
308025
|
+
Jt,
|
|
308034
308026
|
{
|
|
308035
308027
|
label: { label: ll.memoLabel, width: g },
|
|
308036
308028
|
style: { width: "auto" },
|
|
@@ -309210,7 +309202,7 @@ export {
|
|
|
309210
309202
|
RJ as co,
|
|
309211
309203
|
Zi as cp,
|
|
309212
309204
|
vD as cq,
|
|
309213
|
-
|
|
309205
|
+
Jt as cr,
|
|
309214
309206
|
dIe as cs,
|
|
309215
309207
|
_Se as ct,
|
|
309216
309208
|
Ao as cu,
|