@zeniai/web-components 4.1.57-betaNB3 → 4.1.57-betaNB5
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-B8OJ_t-I.js → SessionTimeoutPopup-C-rkki4V.js} +508 -494
- package/dist/{SessionTimeoutPopup-DuDC8nlO.cjs → SessionTimeoutPopup-D6SYT-XF.cjs} +38 -38
- 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 +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ap as r2, ak as t, ae as Ro, aK as ve, d as $9e, n as GOe, E as YOe, f as Qt, g as pW, M as l4, F as qOe, v as mW, h as ot, L as Ar, ay as eT, ao as FB, J as sr, a1 as Fl, aG as Je, aa as dt, X as _r, q as Zi, an as ar, O as
|
|
1
|
+
import { ap as r2, ak as t, ae as Ro, aK as ve, d as $9e, n as GOe, E as YOe, f as Qt, g as pW, M as l4, F as qOe, v as mW, h as ot, L as Ar, ay as eT, ao as FB, J as sr, a1 as Fl, aG as Je, aa as dt, X as _r, q as Zi, an as ar, O as Ke, i as en, aF as Mt, Y as vo, m as Dt, aE as Dm, y as ZOe, x as v9e, ad as YK, W as KOe, ac as S9e, a0 as Ud, a7 as gW, a8 as Tp, P as JOe, ah as H0, V as qi, ab as j9e, l as A9e, aH as XOe, am as eze, at as tze, A as DU, aL as G7, af as oze, ag as qK, Q as k9e, u as nze, a as I9e, $ as Y7, N as OU, aA as ize, D as vc, b as Wo, I as Mp, k as c4, U as T9e, aI as rze, G as ZK, t as sze, av as tT, al as NB, a6 as L9e, o as x2, aJ as aze, aw as fW, H as lze, aM as cze, K as dze, _ as uze, aB as hze, a9 as pze, a3 as mze, ar as zU, r as gze, a2 as B9e, C as HB, w as KK, S as E9e, aj as fze, ai as xze, ax as yze, p as oT, au as Cze, z as bze, j as P9e, a4 as R9e, aq as FU, Z as wze, aD as $ze, B as vze, e as Sze, c as JK, R as jze, a5 as Aze, aC as kze } from "./vendor-.pnpm-XFVTbpbG.js";
|
|
2
2
|
import i from "@emotion/styled";
|
|
3
3
|
import * as y from "react";
|
|
4
4
|
import nt, { useContext as Bo, useState as W, useEffect as K, createContext as Tr, useRef as Be, useCallback as ye, useMemo as je, isValidElement as NU, cloneElement as _9e, Fragment as dd, useLayoutEffect as lr, memo as fi, createElement as y2, forwardRef as Ki, useImperativeHandle as M9e, Suspense as XK, lazy as Ize, Profiler as Tze, createRef as HU, useId as Lze } from "react";
|
|
@@ -23065,15 +23065,15 @@ const Dxt = ({
|
|
|
23065
23065
|
ge,
|
|
23066
23066
|
a
|
|
23067
23067
|
);
|
|
23068
|
-
const
|
|
23068
|
+
const qe = new XMLSerializer().serializeToString(
|
|
23069
23069
|
ue
|
|
23070
23070
|
), st = new XMLSerializer().serializeToString(
|
|
23071
23071
|
Oe
|
|
23072
|
-
), ut = new Blob([
|
|
23072
|
+
), ut = new Blob([qe], {
|
|
23073
23073
|
type: "image/svg+xml;charset=utf-8"
|
|
23074
|
-
}),
|
|
23074
|
+
}), Ze = new Blob([st], {
|
|
23075
23075
|
type: "image/svg+xml;charset=utf-8"
|
|
23076
|
-
}), bt = URL.createObjectURL(ut), yt = URL.createObjectURL(
|
|
23076
|
+
}), bt = URL.createObjectURL(ut), yt = URL.createObjectURL(Ze), It = document.createElement("canvas"), Ue = It.getContext("2d");
|
|
23077
23077
|
It.width = Re, It.height = Qe;
|
|
23078
23078
|
const Tt = new Image(), zt = new Image();
|
|
23079
23079
|
Tt.onload = () => {
|
|
@@ -25371,13 +25371,13 @@ const Nwe = (e) => e.responses.analysis?.content?.text != null && e.responses.re
|
|
|
25371
25371
|
[k, le]
|
|
25372
25372
|
), Qe = (lt) => {
|
|
25373
25373
|
ze.current(lt.currentTarget.scrollTop), zt(lt.currentTarget);
|
|
25374
|
-
}, Oe = we === "In-Progress" || re,
|
|
25374
|
+
}, Oe = we === "In-Progress" || re, qe = Be(
|
|
25375
25375
|
_r((lt) => {
|
|
25376
25376
|
E(lt);
|
|
25377
25377
|
}, 300)
|
|
25378
25378
|
);
|
|
25379
25379
|
K(() => {
|
|
25380
|
-
const lt =
|
|
25380
|
+
const lt = qe.current;
|
|
25381
25381
|
return () => {
|
|
25382
25382
|
lt.cancel();
|
|
25383
25383
|
};
|
|
@@ -25385,7 +25385,7 @@ const Nwe = (e) => e.responses.analysis?.content?.text != null && e.responses.re
|
|
|
25385
25385
|
const st = ye(
|
|
25386
25386
|
(lt, kt, xo) => {
|
|
25387
25387
|
if (Oe) {
|
|
25388
|
-
|
|
25388
|
+
qe.current.cancel(), xe(lt), E(lt);
|
|
25389
25389
|
return;
|
|
25390
25390
|
}
|
|
25391
25391
|
ne(lt), le(), k(lt, kt, void 0, xo);
|
|
@@ -25402,15 +25402,15 @@ const Nwe = (e) => e.responses.analysis?.content?.text != null && e.responses.re
|
|
|
25402
25402
|
}, [me, re]), K(() => {
|
|
25403
25403
|
Ne === "In-Progress" && _e === "Completed" && xe(Z);
|
|
25404
25404
|
}, [Ne, Z, _e]), lr(() => {
|
|
25405
|
-
Oe && (
|
|
25405
|
+
Oe && (qe.current.cancel(), xe((lt) => lt === Z ? lt : Z));
|
|
25406
25406
|
}, [Z, Oe]);
|
|
25407
|
-
const ut = et(p), [
|
|
25407
|
+
const ut = et(p), [Ze, bt] = W(!1), [yt, It] = W([]), {
|
|
25408
25408
|
showScrollToBottom: Ue,
|
|
25409
25409
|
handleScrollToBottom: Tt,
|
|
25410
25410
|
updateScrollToBottomOnScroll: zt
|
|
25411
25411
|
} = Qwe(ke), Ge = Ue && !ie && !re, pt = ye(() => {
|
|
25412
25412
|
const lt = yt.length > 0 ? yt.map((xo) => xo.file) : void 0, kt = ge;
|
|
25413
|
-
|
|
25413
|
+
qe.current.cancel(), E(""), Re(kt, lt), xe(""), It([]);
|
|
25414
25414
|
}, [Re, ge, yt, E]), wt = ye(() => {
|
|
25415
25415
|
bt(!1);
|
|
25416
25416
|
}, []);
|
|
@@ -25428,7 +25428,7 @@ const Nwe = (e) => e.responses.analysis?.content?.text != null && e.responses.re
|
|
|
25428
25428
|
lt,
|
|
25429
25429
|
void 0,
|
|
25430
25430
|
f
|
|
25431
|
-
)) : (
|
|
25431
|
+
)) : (qe.current.cancel(), xe(p), E(p), bt(!0)), R?.();
|
|
25432
25432
|
}, [
|
|
25433
25433
|
p,
|
|
25434
25434
|
ut,
|
|
@@ -25446,7 +25446,7 @@ const Nwe = (e) => e.responses.analysis?.content?.text != null && e.responses.re
|
|
|
25446
25446
|
U
|
|
25447
25447
|
]);
|
|
25448
25448
|
const $t = ye((lt) => {
|
|
25449
|
-
xe(lt),
|
|
25449
|
+
xe(lt), qe.current(lt);
|
|
25450
25450
|
}, []), Ut = ye(
|
|
25451
25451
|
(lt, kt) => {
|
|
25452
25452
|
st(lt, "question_card", kt);
|
|
@@ -25689,7 +25689,7 @@ const Nwe = (e) => e.responses.analysis?.content?.text != null && e.responses.re
|
|
|
25689
25689
|
selectedFiles: yt,
|
|
25690
25690
|
name: "input",
|
|
25691
25691
|
aiAgentName: Gwe,
|
|
25692
|
-
shouldFocus:
|
|
25692
|
+
shouldFocus: Ze,
|
|
25693
25693
|
onFocusComplete: wt,
|
|
25694
25694
|
openOnboardingPage: B,
|
|
25695
25695
|
onFilesChange: It,
|
|
@@ -25972,21 +25972,21 @@ const Nwe = (e) => e.responses.analysis?.content?.text != null && e.responses.re
|
|
|
25972
25972
|
updateScrollToBottomOnScroll: Ce
|
|
25973
25973
|
} = Qwe(ne), ce = pe && !q && !G, de = Be(
|
|
25974
25974
|
_r(
|
|
25975
|
-
(
|
|
25976
|
-
v(
|
|
25975
|
+
(Ze) => {
|
|
25976
|
+
v(Ze);
|
|
25977
25977
|
},
|
|
25978
25978
|
1e3,
|
|
25979
25979
|
{ trailing: !0 }
|
|
25980
25980
|
)
|
|
25981
25981
|
), ue = Be(
|
|
25982
|
-
_r((
|
|
25983
|
-
C(
|
|
25982
|
+
_r((Ze) => {
|
|
25983
|
+
C(Ze);
|
|
25984
25984
|
}, 300)
|
|
25985
25985
|
), [le] = Qn("AiStar"), ae = H != null ? e.allSessionsWithOrderedQuestionAnswers.find(
|
|
25986
|
-
(
|
|
25986
|
+
(Ze) => Ze.chatSession.chatSessionId === H
|
|
25987
25987
|
) : null, ge = (ae?.questionAnswers.length ?? 0) > 0, xe = ae?.chatSession, me = ae?.chatSession.chatSessionSummary, we = ye(() => {
|
|
25988
|
-
H != null && J((
|
|
25989
|
-
...
|
|
25988
|
+
H != null && J((Ze) => ({
|
|
25989
|
+
...Ze,
|
|
25990
25990
|
[H]: {
|
|
25991
25991
|
answer: !1,
|
|
25992
25992
|
thought: !1,
|
|
@@ -25995,8 +25995,8 @@ const Nwe = (e) => e.responses.analysis?.content?.text != null && e.responses.re
|
|
|
25995
25995
|
}
|
|
25996
25996
|
}));
|
|
25997
25997
|
}, [H]), Se = ye(
|
|
25998
|
-
(
|
|
25999
|
-
Z(
|
|
25998
|
+
(Ze, bt) => {
|
|
25999
|
+
Z(Ze), we(), f(Ze, "user_input", bt);
|
|
26000
26000
|
},
|
|
26001
26001
|
[f, we]
|
|
26002
26002
|
), Te = e.responseStateByChatSessionId[H ?? ""]?.answer?.fetchState, Ae = et(
|
|
@@ -26009,15 +26009,15 @@ const Nwe = (e) => e.responses.analysis?.content?.text != null && e.responses.re
|
|
|
26009
26009
|
U,
|
|
26010
26010
|
B
|
|
26011
26011
|
]), lr(() => {
|
|
26012
|
-
ke && (ue.current.cancel(), ee((
|
|
26012
|
+
ke && (ue.current.cancel(), ee((Ze) => Ze === Q ? Ze : Q));
|
|
26013
26013
|
}, [Q, ke]);
|
|
26014
26014
|
const Ee = ye(
|
|
26015
|
-
(
|
|
26015
|
+
(Ze, bt, yt) => {
|
|
26016
26016
|
if (ke) {
|
|
26017
|
-
ue.current.cancel(), ee(
|
|
26017
|
+
ue.current.cancel(), ee(Ze), C(Ze);
|
|
26018
26018
|
return;
|
|
26019
26019
|
}
|
|
26020
|
-
Z(
|
|
26020
|
+
Z(Ze), we(), f(Ze, bt, void 0, yt);
|
|
26021
26021
|
},
|
|
26022
26022
|
[
|
|
26023
26023
|
f,
|
|
@@ -26026,8 +26026,8 @@ const Nwe = (e) => e.responses.analysis?.content?.text != null && e.responses.re
|
|
|
26026
26026
|
C
|
|
26027
26027
|
]
|
|
26028
26028
|
), Ne = ye(
|
|
26029
|
-
(
|
|
26030
|
-
Ee(
|
|
26029
|
+
(Ze, bt) => {
|
|
26030
|
+
Ee(Ze, "question_card", bt);
|
|
26031
26031
|
},
|
|
26032
26032
|
[Ee]
|
|
26033
26033
|
), _e = ye(() => {
|
|
@@ -26046,9 +26046,9 @@ const Nwe = (e) => e.responses.analysis?.content?.text != null && e.responses.re
|
|
|
26046
26046
|
);
|
|
26047
26047
|
}, [c, N, H, me]);
|
|
26048
26048
|
K(() => {
|
|
26049
|
-
const
|
|
26049
|
+
const Ze = ue.current, bt = de.current;
|
|
26050
26050
|
return () => {
|
|
26051
|
-
|
|
26051
|
+
Ze.cancel(), bt.cancel();
|
|
26052
26052
|
};
|
|
26053
26053
|
}, []);
|
|
26054
26054
|
const Pe = et(
|
|
@@ -26078,46 +26078,46 @@ const Nwe = (e) => e.responses.analysis?.content?.text != null && e.responses.re
|
|
|
26078
26078
|
S,
|
|
26079
26079
|
we
|
|
26080
26080
|
]);
|
|
26081
|
-
const ze = ye((
|
|
26082
|
-
ee(
|
|
26081
|
+
const ze = ye((Ze) => {
|
|
26082
|
+
ee(Ze), ue.current(Ze);
|
|
26083
26083
|
}, []), Re = ye(() => {
|
|
26084
|
-
const
|
|
26085
|
-
ue.current.cancel(), C(""), Se(bt,
|
|
26084
|
+
const Ze = te.length > 0 ? te.map((yt) => yt.file) : void 0, bt = oe;
|
|
26085
|
+
ue.current.cancel(), C(""), Se(bt, Ze), ee(""), ie([]);
|
|
26086
26086
|
}, [Se, oe, te, C]), Qe = ye(() => {
|
|
26087
26087
|
se(!1);
|
|
26088
26088
|
}, []), Oe = ye(
|
|
26089
|
-
(
|
|
26090
|
-
de.current(
|
|
26089
|
+
(Ze) => {
|
|
26090
|
+
de.current(Ze.currentTarget.scrollTop), Ce(Ze.currentTarget);
|
|
26091
26091
|
},
|
|
26092
26092
|
[Ce]
|
|
26093
26093
|
);
|
|
26094
26094
|
K(() => {
|
|
26095
26095
|
if (Ae !== Le && Le === "In-Progress" && ne.current != null) {
|
|
26096
|
-
const
|
|
26097
|
-
|
|
26098
|
-
top:
|
|
26096
|
+
const Ze = ne.current, bt = Ze.scrollHeight - Ze.scrollTop - Ze.clientHeight < 100;
|
|
26097
|
+
Ze.scrollTo({
|
|
26098
|
+
top: Ze.scrollHeight,
|
|
26099
26099
|
behavior: bt ? "smooth" : "auto"
|
|
26100
26100
|
});
|
|
26101
26101
|
}
|
|
26102
26102
|
}, [Ae, Le]);
|
|
26103
|
-
const
|
|
26103
|
+
const qe = n && !ge && U != null, st = () => q || G || qe ? /* @__PURE__ */ t.jsx(
|
|
26104
26104
|
Vwe,
|
|
26105
26105
|
{
|
|
26106
|
-
isQuestionOnlyLoading: G ||
|
|
26106
|
+
isQuestionOnlyLoading: G || qe,
|
|
26107
26107
|
pendingQuestionText: U,
|
|
26108
26108
|
style: {
|
|
26109
26109
|
width: "auto"
|
|
26110
26110
|
}
|
|
26111
26111
|
}
|
|
26112
26112
|
) : ge ? ae?.questionAnswers.map(
|
|
26113
|
-
(
|
|
26113
|
+
(Ze, bt) => {
|
|
26114
26114
|
const yt = bt === (ae?.questionAnswers.length ?? 0) - 1, It = yt ? e.responseStateByChatSessionId[H ?? ""] ?? {} : {
|
|
26115
26115
|
thought: { fetchState: "Completed", error: void 0 },
|
|
26116
26116
|
analysis: { fetchState: "Completed", error: void 0 },
|
|
26117
26117
|
reasoning: { fetchState: "Completed", error: void 0 },
|
|
26118
26118
|
answer: { fetchState: "Completed", error: void 0 },
|
|
26119
26119
|
fetchStatus: { fetchState: "Completed", error: void 0 }
|
|
26120
|
-
}, Ue = e.uiState.cotCollapsedByQuestionAnswerId[
|
|
26120
|
+
}, Ue = e.uiState.cotCollapsedByQuestionAnswerId[Ze.questionAnswerId] ?? !1;
|
|
26121
26121
|
return /* @__PURE__ */ t.jsx(
|
|
26122
26122
|
Wwe,
|
|
26123
26123
|
{
|
|
@@ -26125,7 +26125,7 @@ const Nwe = (e) => e.responses.analysis?.content?.text != null && e.responses.re
|
|
|
26125
26125
|
enableCotTypingEffect: yt,
|
|
26126
26126
|
isCotCollapsed: Ue,
|
|
26127
26127
|
isFullView: !1,
|
|
26128
|
-
aiCfoAnswer:
|
|
26128
|
+
aiCfoAnswer: Ze,
|
|
26129
26129
|
responseState: It,
|
|
26130
26130
|
currentChatSession: xe,
|
|
26131
26131
|
tableDownloadEndPoint: s,
|
|
@@ -26137,7 +26137,7 @@ const Nwe = (e) => e.responses.analysis?.content?.text != null && e.responses.re
|
|
|
26137
26137
|
handleChainOfThoughtTypingDoneForScrollPurpose: () => {
|
|
26138
26138
|
}
|
|
26139
26139
|
},
|
|
26140
|
-
|
|
26140
|
+
Ze.questionAnswerId
|
|
26141
26141
|
);
|
|
26142
26142
|
}
|
|
26143
26143
|
) ?? null : null, ut = /* @__PURE__ */ t.jsxs(Myt, { children: [
|
|
@@ -28446,10 +28446,10 @@ function r$e({
|
|
|
28446
28446
|
data: U ? U(Ie) : void 0
|
|
28447
28447
|
})), le = (Ie) => {
|
|
28448
28448
|
const { children: Pe, ...He } = Ie;
|
|
28449
|
-
return /* @__PURE__ */ t.jsx(
|
|
28449
|
+
return /* @__PURE__ */ t.jsx(Ke.SingleValue, { ...He, children: r == null ? /* @__PURE__ */ t.jsx(C7t, { isOutlined: ee, children: ce ? b : /* @__PURE__ */ t.jsx(b7t, { children: Pe }) }) : /* @__PURE__ */ t.jsx(r, { ...Ie }) });
|
|
28450
28450
|
}, ae = (Ie) => {
|
|
28451
28451
|
const { menuIsOpen: Pe } = Ie;
|
|
28452
|
-
return /* @__PURE__ */ t.jsx(t.Fragment, { children: Pe === !0 ? G != null ? /* @__PURE__ */ t.jsx(G, {}) : /* @__PURE__ */ t.jsx(
|
|
28452
|
+
return /* @__PURE__ */ t.jsx(t.Fragment, { children: Pe === !0 ? G != null ? /* @__PURE__ */ t.jsx(G, {}) : /* @__PURE__ */ t.jsx(Ke.DropdownIndicator, { ...Ie, children: /* @__PURE__ */ t.jsx(
|
|
28453
28453
|
A2,
|
|
28454
28454
|
{
|
|
28455
28455
|
width: "12",
|
|
@@ -28460,8 +28460,8 @@ function r$e({
|
|
|
28460
28460
|
) }) : null });
|
|
28461
28461
|
}, ge = (Ie) => {
|
|
28462
28462
|
const { children: Pe, ...He } = Ie;
|
|
28463
|
-
return /* @__PURE__ */ t.jsx(
|
|
28464
|
-
}, xe = (Ie) => /* @__PURE__ */ t.jsx(y7t, { children: /* @__PURE__ */ t.jsx(
|
|
28463
|
+
return /* @__PURE__ */ t.jsx(Ke.Placeholder, { ...He, children: n == null ? /* @__PURE__ */ t.jsx($7t, { children: Pe }) : /* @__PURE__ */ t.jsx(n, { ...Ie }) });
|
|
28464
|
+
}, xe = (Ie) => /* @__PURE__ */ t.jsx(y7t, { children: /* @__PURE__ */ t.jsx(Ke.Option, { ...Ie, children: e == null ? /* @__PURE__ */ t.jsxs(w7t, { children: [
|
|
28465
28465
|
/* @__PURE__ */ t.jsx(v7t, { children: Ie.label }),
|
|
28466
28466
|
!!Ie.isSelected && /* @__PURE__ */ t.jsxs(S7t, { isOptionRemovable: H, children: [
|
|
28467
28467
|
/* @__PURE__ */ t.jsx(
|
|
@@ -28483,9 +28483,9 @@ function r$e({
|
|
|
28483
28483
|
}
|
|
28484
28484
|
)
|
|
28485
28485
|
] })
|
|
28486
|
-
] }) : /* @__PURE__ */ t.jsx(e, { ...Ie }) }) }), me = (Ie) => /* @__PURE__ */ t.jsx(t.Fragment, { children: Y == null ? /* @__PURE__ */ t.jsx(
|
|
28486
|
+
] }) : /* @__PURE__ */ t.jsx(e, { ...Ie }) }) }), me = (Ie) => /* @__PURE__ */ t.jsx(t.Fragment, { children: Y == null ? /* @__PURE__ */ t.jsx(Ke.ValueContainer, { ...Ie, children: Ie.children }) : /* @__PURE__ */ t.jsx(Y, { ...Ie }) }), we = (Ie) => {
|
|
28487
28487
|
const { className: Pe } = Ie, He = [Pe, "select-control"].filter(Boolean).join(" ");
|
|
28488
|
-
return /* @__PURE__ */ t.jsx(t.Fragment, { children: q == null ? /* @__PURE__ */ t.jsx(
|
|
28488
|
+
return /* @__PURE__ */ t.jsx(t.Fragment, { children: q == null ? /* @__PURE__ */ t.jsx(Ke.Control, { ...Ie, className: He, children: Ie.children }) : /* @__PURE__ */ t.jsx(q, { ...Ie }) });
|
|
28489
28489
|
}, Se = (Ie) => ee ? {
|
|
28490
28490
|
paddingTop: "12px",
|
|
28491
28491
|
paddingBottom: "12px",
|
|
@@ -28619,7 +28619,7 @@ function r$e({
|
|
|
28619
28619
|
dropdownIndicator: () => ({
|
|
28620
28620
|
display: "inline-grid"
|
|
28621
28621
|
})
|
|
28622
|
-
}, Z), Ee = () => null, Ne = (Ie) => /* @__PURE__ */ t.jsx(
|
|
28622
|
+
}, Z), Ee = () => null, Ne = (Ie) => /* @__PURE__ */ t.jsx(Ke.MenuList, { ...Ie, children: s != null && /* @__PURE__ */ t.jsx(s, { ...Ie }) });
|
|
28623
28623
|
let _e = {};
|
|
28624
28624
|
return s != null ? _e = {
|
|
28625
28625
|
SingleValue: le,
|
|
@@ -29089,7 +29089,7 @@ const k1 = (e) => /* @__PURE__ */ y.createElement("svg", { viewBox: "0 0 24 24",
|
|
|
29089
29089
|
ee,
|
|
29090
29090
|
/* @__PURE__ */ t.jsx(u9t, {}),
|
|
29091
29091
|
/* @__PURE__ */ t.jsxs(
|
|
29092
|
-
|
|
29092
|
+
Ke.Option,
|
|
29093
29093
|
{
|
|
29094
29094
|
...oe,
|
|
29095
29095
|
innerProps: {
|
|
@@ -30851,7 +30851,7 @@ function rbt({
|
|
|
30851
30851
|
}),
|
|
30852
30852
|
dropdownIndicator: () => ({})
|
|
30853
30853
|
}, [Y, q] = W(!1), U = ({ children: ne, ...pe }) => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
30854
|
-
/* @__PURE__ */ t.jsx(
|
|
30854
|
+
/* @__PURE__ */ t.jsx(Ke.MultiValueContainer, { ...pe, children: ne }),
|
|
30855
30855
|
g ? /* @__PURE__ */ t.jsx(Sbt, { className: "operator", children: g }) : null
|
|
30856
30856
|
] }), Z = ({ nonUser: ne }) => {
|
|
30857
30857
|
const pe = s.findIndex(
|
|
@@ -30892,17 +30892,17 @@ function rbt({
|
|
|
30892
30892
|
reverseSpinnerColor: !1,
|
|
30893
30893
|
start: !0
|
|
30894
30894
|
}
|
|
30895
|
-
) }), oe = ({ children: ne, ...pe }) => /* @__PURE__ */ t.jsx(t.Fragment, { children: x === !0 ? /* @__PURE__ */ t.jsx(J, {}) : /* @__PURE__ */ t.jsx(
|
|
30895
|
+
) }), oe = ({ children: ne, ...pe }) => /* @__PURE__ */ t.jsx(t.Fragment, { children: x === !0 ? /* @__PURE__ */ t.jsx(J, {}) : /* @__PURE__ */ t.jsx(Ke.MenuList, { ...pe, children: ne }) }), [ee, te] = W(!1), [ie, re] = W(!1), se = (ne) => {
|
|
30896
30896
|
const { data: pe, options: he, isSelected: Ce } = ne, ce = n.find(
|
|
30897
30897
|
(xe) => xe.value === pe?.value
|
|
30898
30898
|
), de = n.length > 0 ? n.length - 1 : 0, ue = n[de];
|
|
30899
30899
|
if (n.length > 0 && ce != null)
|
|
30900
30900
|
return /* @__PURE__ */ t.jsxs(S0, { children: [
|
|
30901
|
-
/* @__PURE__ */ t.jsx(
|
|
30901
|
+
/* @__PURE__ */ t.jsx(Ke.Option, { ...ne, children: /* @__PURE__ */ t.jsx(Z, { nonUser: ce }) }),
|
|
30902
30902
|
ue != null && ue.value === pe.value ? /* @__PURE__ */ t.jsx(cbt, {}) : null
|
|
30903
30903
|
] });
|
|
30904
30904
|
const le = he.findIndex((xe) => xe.value === pe.value), ae = L?.(pe.value) ?? [], ge = A?.(ne.value) === !0 && Ce === !1;
|
|
30905
|
-
return /* @__PURE__ */ t.jsx(S0, { children: /* @__PURE__ */ t.jsx(
|
|
30905
|
+
return /* @__PURE__ */ t.jsx(S0, { children: /* @__PURE__ */ t.jsx(Ke.Option, { ...ne, children: /* @__PURE__ */ t.jsxs($ee, { children: [
|
|
30906
30906
|
/* @__PURE__ */ t.jsx(
|
|
30907
30907
|
vee,
|
|
30908
30908
|
{
|
|
@@ -31023,7 +31023,7 @@ const sbt = ({
|
|
|
31023
31023
|
...r
|
|
31024
31024
|
}) => {
|
|
31025
31025
|
const { selectProps: s } = r, a = s.value;
|
|
31026
|
-
return /* @__PURE__ */ t.jsx(
|
|
31026
|
+
return /* @__PURE__ */ t.jsx(Ke.MultiValueLabel, { ...r, children: /* @__PURE__ */ t.jsxs(fbt, { children: [
|
|
31027
31027
|
n?.photo != null ? /* @__PURE__ */ t.jsx(
|
|
31028
31028
|
x$e,
|
|
31029
31029
|
{
|
|
@@ -31046,7 +31046,7 @@ const sbt = ({
|
|
|
31046
31046
|
/* @__PURE__ */ t.jsx(gbt, { children: e }),
|
|
31047
31047
|
s.menuIsOpen === !1 && n != null && a.indexOf(n) !== a.length - 1 ? /* @__PURE__ */ t.jsx(S0, { children: D.getLocalizedStrings().common.strings.comma }) : null
|
|
31048
31048
|
] }) });
|
|
31049
|
-
}, abt = ({ hideMultiValueOnBlur: e, ...n }) => n.selectProps.menuIsOpen === !1 && e === !1 ? null : /* @__PURE__ */ t.jsx(
|
|
31049
|
+
}, abt = ({ hideMultiValueOnBlur: e, ...n }) => n.selectProps.menuIsOpen === !1 && e === !1 ? null : /* @__PURE__ */ t.jsx(Ke.MultiValueRemove, { ...n, children: /* @__PURE__ */ t.jsx(vbt, {}) }), wee = ({
|
|
31050
31050
|
subtitleList: e
|
|
31051
31051
|
}) => e.length === 0 ? null : /* @__PURE__ */ t.jsx(xbt, { children: e.map((r, s) => /* @__PURE__ */ t.jsxs(ybt, { children: [
|
|
31052
31052
|
s !== 0 && /* @__PURE__ */ t.jsx(bbt, {}),
|
|
@@ -35415,9 +35415,9 @@ const wf = {
|
|
|
35415
35415
|
J(!0), Ie = setTimeout(() => {
|
|
35416
35416
|
J(!1), Y(!1);
|
|
35417
35417
|
}, 2e3), B?.(He);
|
|
35418
|
-
const ze = Ne.split(".")[0], Re = u != null ? `${ze}.${u}.fileIds` : `${ze}.fileIds`, Qe = de(Re), Oe = He.map((
|
|
35418
|
+
const ze = Ne.split(".")[0], Re = u != null ? `${ze}.${u}.fileIds` : `${ze}.fileIds`, Qe = de(Re), Oe = He.map((qe) => qe.file_id);
|
|
35419
35419
|
return ue(Re, Qe?.concat(Oe)), He.forEach(
|
|
35420
|
-
(
|
|
35420
|
+
(qe) => _e(tJ(qe))
|
|
35421
35421
|
);
|
|
35422
35422
|
}
|
|
35423
35423
|
}), Ie == null && Y(!1));
|
|
@@ -36261,7 +36261,7 @@ function Dr({
|
|
|
36261
36261
|
const oe = ve(), ee = a ?? oe.colors.grey5, te = s ?? oe.colors.grey5, ie = C === !0 ? `var(--zeni-select-document-picker-surface, ${te})` : te, re = l ?? oe.colors.background, se = d?.cssObject ?? O.standardMedium.cssObject, ne = p?.cssObject ?? se, pe = m?.cssObject ?? se, he = u != null && u.length > 0, ce = e.map((Se) => ({
|
|
36262
36262
|
value: Se,
|
|
36263
36263
|
label: N(Se)
|
|
36264
|
-
})), de = ({ children: Se, ...Te }) => /* @__PURE__ */ t.jsx(
|
|
36264
|
+
})), de = ({ children: Se, ...Te }) => /* @__PURE__ */ t.jsx(Ke.SingleValue, { ...Te, children: /* @__PURE__ */ t.jsxs(Evt, { isOutlined: Y, children: [
|
|
36265
36265
|
he ? u : /* @__PURE__ */ t.jsx(
|
|
36266
36266
|
Pvt,
|
|
36267
36267
|
{
|
|
@@ -36270,7 +36270,7 @@ function Dr({
|
|
|
36270
36270
|
}
|
|
36271
36271
|
),
|
|
36272
36272
|
q === !1 ? "" : /* @__PURE__ */ t.jsx(Uee, {})
|
|
36273
|
-
] }) }), ue = ({ children: Se, ...Te }) => /* @__PURE__ */ t.jsx(
|
|
36273
|
+
] }) }), ue = ({ children: Se, ...Te }) => /* @__PURE__ */ t.jsx(Ke.Placeholder, { ...Te, children: q === !0 && Se !== "" ? /* @__PURE__ */ t.jsxs(
|
|
36274
36274
|
Ovt,
|
|
36275
36275
|
{
|
|
36276
36276
|
style: {
|
|
@@ -36525,7 +36525,7 @@ const XG = i.div``, Evt = i.div`
|
|
|
36525
36525
|
`, _vt = (e) => {
|
|
36526
36526
|
const { selectProps: n } = e, r = n.name;
|
|
36527
36527
|
return /* @__PURE__ */ t.jsx(
|
|
36528
|
-
|
|
36528
|
+
Ke.Control,
|
|
36529
36529
|
{
|
|
36530
36530
|
...e,
|
|
36531
36531
|
innerProps: {
|
|
@@ -36534,7 +36534,7 @@ const XG = i.div``, Evt = i.div`
|
|
|
36534
36534
|
}
|
|
36535
36535
|
}
|
|
36536
36536
|
);
|
|
36537
|
-
}, Mvt = (e) => /* @__PURE__ */ t.jsx(
|
|
36537
|
+
}, Mvt = (e) => /* @__PURE__ */ t.jsx(Ke.DropdownIndicator, { ...e, children: /* @__PURE__ */ t.jsx(XG, {}) }), Dvt = i(rn)`
|
|
36538
36538
|
height: 12px;
|
|
36539
36539
|
width: 12px;
|
|
36540
36540
|
`, Uee = i(xn)`
|
|
@@ -36544,7 +36544,7 @@ const XG = i.div``, Evt = i.div`
|
|
|
36544
36544
|
flex-shrink: 0;
|
|
36545
36545
|
`, Ovt = i($e)``, zvt = (e) => {
|
|
36546
36546
|
const { data: n } = e, r = typeof n.label == "string" ? n.label : n.value;
|
|
36547
|
-
return /* @__PURE__ */ t.jsx(XG, { "data-testid": M("picker-option", r), children: /* @__PURE__ */ t.jsx(
|
|
36547
|
+
return /* @__PURE__ */ t.jsx(XG, { "data-testid": M("picker-option", r), children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, children: /* @__PURE__ */ t.jsxs(Rvt, { children: [
|
|
36548
36548
|
/* @__PURE__ */ t.jsx("label", { children: e.label }),
|
|
36549
36549
|
e.isSelected ? /* @__PURE__ */ t.jsx(Dvt, {}) : null
|
|
36550
36550
|
] }) }) });
|
|
@@ -38816,7 +38816,7 @@ const vjt = ({
|
|
|
38816
38816
|
isDisabled: s,
|
|
38817
38817
|
selectedValue: l,
|
|
38818
38818
|
hasError: c,
|
|
38819
|
-
children: /* @__PURE__ */ t.jsx(
|
|
38819
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...e, className: "select-control", children: e.children })
|
|
38820
38820
|
}
|
|
38821
38821
|
);
|
|
38822
38822
|
}, jjt = (e) => {
|
|
@@ -38832,10 +38832,10 @@ const vjt = ({
|
|
|
38832
38832
|
children: ({ index: p, style: m }) => /* @__PURE__ */ t.jsx(zjt, { style: m, children: r[p] })
|
|
38833
38833
|
}
|
|
38834
38834
|
);
|
|
38835
|
-
}, Ajt = (e) => /* @__PURE__ */ t.jsx(
|
|
38835
|
+
}, Ajt = (e) => /* @__PURE__ */ t.jsx(Ke.ValueContainer, { ...e, className: "select-value-container", children: e.children }), kjt = (e) => {
|
|
38836
38836
|
const { selectProps: n } = e, { placeholder: r, value: s } = n;
|
|
38837
38837
|
return /* @__PURE__ */ t.jsx(
|
|
38838
|
-
|
|
38838
|
+
Ke.Input,
|
|
38839
38839
|
{
|
|
38840
38840
|
...e,
|
|
38841
38841
|
autoComplete: "new-password",
|
|
@@ -38845,7 +38845,7 @@ const vjt = ({
|
|
|
38845
38845
|
);
|
|
38846
38846
|
}, Ijt = (e) => {
|
|
38847
38847
|
const { data: n } = e, { value: r } = n, s = dh(r);
|
|
38848
|
-
return /* @__PURE__ */ t.jsxs(
|
|
38848
|
+
return /* @__PURE__ */ t.jsxs(Ke.SingleValue, { ...e, children: [
|
|
38849
38849
|
/* @__PURE__ */ t.jsx(aY, { countryCode2: s, countryCode3: r }),
|
|
38850
38850
|
s
|
|
38851
38851
|
] });
|
|
@@ -38861,7 +38861,7 @@ const vjt = ({
|
|
|
38861
38861
|
isFocused: l,
|
|
38862
38862
|
isSelected: r,
|
|
38863
38863
|
isDisabled: a,
|
|
38864
|
-
children: /* @__PURE__ */ t.jsx(
|
|
38864
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, className: "select-option", children: /* @__PURE__ */ t.jsxs(Pjt, { children: [
|
|
38865
38865
|
/* @__PURE__ */ t.jsxs(Rjt, { children: [
|
|
38866
38866
|
/* @__PURE__ */ t.jsx(aY, { countryCode3: e.value }),
|
|
38867
38867
|
/* @__PURE__ */ t.jsxs(Ojt, { isSelected: r, children: [
|
|
@@ -40434,7 +40434,7 @@ const xu = (e, n) => `${e}.${n}`, yAt = i.div`
|
|
|
40434
40434
|
/* @__PURE__ */ t.jsx(MAt, { children: n === "recipient" ? `${TT.input.createRecipient} "${e}"` : `${TT.input.create} "${e}"` })
|
|
40435
40435
|
] }), AAt = (e) => {
|
|
40436
40436
|
const { data: n } = e;
|
|
40437
|
-
return /* @__PURE__ */ t.jsx(FAt, { children: /* @__PURE__ */ t.jsxs(
|
|
40437
|
+
return /* @__PURE__ */ t.jsx(FAt, { children: /* @__PURE__ */ t.jsxs(Ke.SingleValue, { ...e, children: [
|
|
40438
40438
|
e.selectProps.menuIsOpen === !1 ? n.customElement : null,
|
|
40439
40439
|
e.children
|
|
40440
40440
|
] }) });
|
|
@@ -40453,19 +40453,19 @@ const xu = (e, n) => `${e}.${n}`, yAt = i.div`
|
|
|
40453
40453
|
isRecommended: g?.isOptionRecommended,
|
|
40454
40454
|
screenType: p,
|
|
40455
40455
|
showAfterElement: m,
|
|
40456
|
-
children: /* @__PURE__ */ t.jsx(
|
|
40456
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...e, className: "select-control", children: e.children })
|
|
40457
40457
|
}
|
|
40458
40458
|
);
|
|
40459
40459
|
}, IAt = (e) => {
|
|
40460
40460
|
const { selectProps: n, children: r } = e, { showDownChevronWithValue: s } = n;
|
|
40461
|
-
return /* @__PURE__ */ t.jsxs(
|
|
40461
|
+
return /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...e, className: "select-value-container", children: [
|
|
40462
40462
|
r,
|
|
40463
40463
|
s === !0 ? /* @__PURE__ */ t.jsx($e, { children: /* @__PURE__ */ t.jsx(WAt, {}) }) : null
|
|
40464
40464
|
] });
|
|
40465
40465
|
}, TAt = (e) => {
|
|
40466
40466
|
const { selectProps: n } = e, { placeholder: r, value: s } = n;
|
|
40467
40467
|
return /* @__PURE__ */ t.jsx(
|
|
40468
|
-
|
|
40468
|
+
Ke.Input,
|
|
40469
40469
|
{
|
|
40470
40470
|
...e,
|
|
40471
40471
|
autoComplete: "new-password",
|
|
@@ -40501,7 +40501,7 @@ const xu = (e, n) => `${e}.${n}`, yAt = i.div`
|
|
|
40501
40501
|
isNewCreateOption: s.__isNew__ === !0,
|
|
40502
40502
|
isOptionRecommended: u?.isOptionRecommended === !0,
|
|
40503
40503
|
showBottomBorder: u?.additionalNote == null || u?.isOptionRecommended === !1,
|
|
40504
|
-
children: /* @__PURE__ */ t.jsx(
|
|
40504
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, className: "select-option", children: /* @__PURE__ */ t.jsx(QAt, { children: /* @__PURE__ */ t.jsx(
|
|
40505
40505
|
UAt,
|
|
40506
40506
|
{
|
|
40507
40507
|
isCreateNewOption: s.__isNew__ === !0,
|
|
@@ -40521,7 +40521,7 @@ const xu = (e, n) => `${e}.${n}`, yAt = i.div`
|
|
|
40521
40521
|
/* @__PURE__ */ t.jsx(Ei, { width: h[4], height: h[4] }),
|
|
40522
40522
|
/* @__PURE__ */ t.jsx(fe, { width: 218, height: h[4] })
|
|
40523
40523
|
] }, g)) }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
40524
|
-
/* @__PURE__ */ t.jsx(
|
|
40524
|
+
/* @__PURE__ */ t.jsx(Ke.MenuList, { ...e, children: p }),
|
|
40525
40525
|
r && l ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
40526
40526
|
a.length > 1 ? /* @__PURE__ */ t.jsx(KAt, {}) : null,
|
|
40527
40527
|
/* @__PURE__ */ t.jsx(
|
|
@@ -41732,12 +41732,12 @@ const rve = {
|
|
|
41732
41732
|
"grouped-single-select-field-control",
|
|
41733
41733
|
c[0]?.label
|
|
41734
41734
|
),
|
|
41735
|
-
children: /* @__PURE__ */ t.jsx(
|
|
41735
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...e, className: "select-control", children: e.children })
|
|
41736
41736
|
}
|
|
41737
41737
|
);
|
|
41738
41738
|
}, zkt = (e, n) => {
|
|
41739
41739
|
const { shouldShowChevronIcon: r, value: s } = e.selectProps, a = r === !0 && s == null;
|
|
41740
|
-
return /* @__PURE__ */ t.jsxs(
|
|
41740
|
+
return /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...e, className: "select-value-container", children: [
|
|
41741
41741
|
e.children,
|
|
41742
41742
|
n === !0 ? /* @__PURE__ */ t.jsx($e, { children: /* @__PURE__ */ t.jsx(oIt, {}) }) : null,
|
|
41743
41743
|
a ? /* @__PURE__ */ t.jsx(sve, {}) : null
|
|
@@ -41776,7 +41776,7 @@ const rve = {
|
|
|
41776
41776
|
] })
|
|
41777
41777
|
}
|
|
41778
41778
|
) : /* @__PURE__ */ t.jsx(
|
|
41779
|
-
|
|
41779
|
+
Ke.Input,
|
|
41780
41780
|
{
|
|
41781
41781
|
...e,
|
|
41782
41782
|
autoComplete: "new-password",
|
|
@@ -41785,7 +41785,7 @@ const rve = {
|
|
|
41785
41785
|
children: e.children
|
|
41786
41786
|
}
|
|
41787
41787
|
);
|
|
41788
|
-
}, Nkt = (e) => /* @__PURE__ */ t.jsx(
|
|
41788
|
+
}, Nkt = (e) => /* @__PURE__ */ t.jsx(Ke.Group, { ...e, children: e.children }), Hkt = (e) => {
|
|
41789
41789
|
const [n, r] = W(!0), s = e.selectProps?.options, a = s == null || s.length === 0 || s[0] === e.data || s[0]?.label === e.data?.label;
|
|
41790
41790
|
return /* @__PURE__ */ t.jsx(
|
|
41791
41791
|
cIt,
|
|
@@ -41795,7 +41795,7 @@ const rve = {
|
|
|
41795
41795
|
isGroupOpen: n,
|
|
41796
41796
|
onClick: () => r(!n),
|
|
41797
41797
|
"data-testid": M("group-heading", e.data.label),
|
|
41798
|
-
children: /* @__PURE__ */ t.jsxs(
|
|
41798
|
+
children: /* @__PURE__ */ t.jsxs(Ke.GroupHeading, { ...e, children: [
|
|
41799
41799
|
/* @__PURE__ */ t.jsx(dIt, { isGroupOpen: n, children: /* @__PURE__ */ t.jsx(qkt, {}) }),
|
|
41800
41800
|
e.children
|
|
41801
41801
|
] })
|
|
@@ -41813,7 +41813,7 @@ const rve = {
|
|
|
41813
41813
|
children: e
|
|
41814
41814
|
}
|
|
41815
41815
|
);
|
|
41816
|
-
return /* @__PURE__ */ t.jsx(
|
|
41816
|
+
return /* @__PURE__ */ t.jsx(Ke.SingleValue, { ...n, children: /* @__PURE__ */ t.jsxs(Zkt, { children: [
|
|
41817
41817
|
n.data?.isOptionRecommended === !0 ? /* @__PURE__ */ t.jsx(ave, {}) : null,
|
|
41818
41818
|
/* @__PURE__ */ t.jsx(Kkt, { children: a }),
|
|
41819
41819
|
s === !0 ? /* @__PURE__ */ t.jsx(sve, {}) : null
|
|
@@ -41841,7 +41841,7 @@ const rve = {
|
|
|
41841
41841
|
isOptionRecommended: n?.isOptionRecommended === !0,
|
|
41842
41842
|
showBottomBorder: n?.additionalNote == null || n?.isOptionRecommended === !1,
|
|
41843
41843
|
"data-testid": M("grouped-single-select-option", b),
|
|
41844
|
-
children: /* @__PURE__ */ t.jsx(
|
|
41844
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, className: "select-option", children: /* @__PURE__ */ t.jsxs(iIt, { hasAdditionalNote: v, children: [
|
|
41845
41845
|
n?.isOptionRecommended === !0 ? /* @__PURE__ */ t.jsx(Ykt, { children: /* @__PURE__ */ t.jsx(ave, {}) }) : null,
|
|
41846
41846
|
/* @__PURE__ */ t.jsx(rIt, { children: v ? /* @__PURE__ */ t.jsxs(sIt, { children: [
|
|
41847
41847
|
/* @__PURE__ */ t.jsxs(lte, { children: [
|
|
@@ -42751,13 +42751,13 @@ const IIt = (e) => i(e ? "label" : "div")`
|
|
|
42751
42751
|
isFocused: r,
|
|
42752
42752
|
isDisabled: s,
|
|
42753
42753
|
selectedValue: l,
|
|
42754
|
-
children: /* @__PURE__ */ t.jsx(
|
|
42754
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...e, className: "select-control", children: e.children })
|
|
42755
42755
|
}
|
|
42756
42756
|
);
|
|
42757
|
-
}, LIt = (e) => /* @__PURE__ */ t.jsx(
|
|
42757
|
+
}, LIt = (e) => /* @__PURE__ */ t.jsx(Ke.ValueContainer, { ...e, className: "select-value-container", children: e.children }), BIt = (e) => {
|
|
42758
42758
|
const { selectProps: n } = e, { placeholder: r, value: s } = n;
|
|
42759
42759
|
return /* @__PURE__ */ t.jsx(
|
|
42760
|
-
|
|
42760
|
+
Ke.Input,
|
|
42761
42761
|
{
|
|
42762
42762
|
...e,
|
|
42763
42763
|
autoComplete: "new-password",
|
|
@@ -42765,7 +42765,7 @@ const IIt = (e) => i(e ? "label" : "div")`
|
|
|
42765
42765
|
children: e.children
|
|
42766
42766
|
}
|
|
42767
42767
|
);
|
|
42768
|
-
}, EIt = (e) => /* @__PURE__ */ t.jsx(
|
|
42768
|
+
}, EIt = (e) => /* @__PURE__ */ t.jsx(Ke.SingleValue, { ...e, children: e.children }), PIt = () => null, RIt = (e) => {
|
|
42769
42769
|
const { isSelected: n, isDisabled: r, isFocused: s } = e;
|
|
42770
42770
|
return /* @__PURE__ */ t.jsx(
|
|
42771
42771
|
MIt,
|
|
@@ -42776,7 +42776,7 @@ const IIt = (e) => i(e ? "label" : "div")`
|
|
|
42776
42776
|
isDisabled: r,
|
|
42777
42777
|
isOptionRecommended: !1,
|
|
42778
42778
|
showBottomBorder: !0,
|
|
42779
|
-
children: /* @__PURE__ */ t.jsx(
|
|
42779
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, className: "select-option", children: /* @__PURE__ */ t.jsxs(DIt, { children: [
|
|
42780
42780
|
/* @__PURE__ */ t.jsx(NIt, { isSelected: n, isDisabled: r, children: e.label }),
|
|
42781
42781
|
n ? /* @__PURE__ */ t.jsxs(OIt, { children: [
|
|
42782
42782
|
/* @__PURE__ */ t.jsx(zIt, { className: "right-tick-icon" }),
|
|
@@ -43272,19 +43272,19 @@ const GIt = i.div`
|
|
|
43272
43272
|
selectedValue: d,
|
|
43273
43273
|
hasError: u,
|
|
43274
43274
|
isRecommended: p?.isOptionRecommended,
|
|
43275
|
-
children: /* @__PURE__ */ t.jsx(
|
|
43275
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...e, className: "select-control", children: e.children })
|
|
43276
43276
|
}
|
|
43277
43277
|
);
|
|
43278
43278
|
}, KIt = (e) => {
|
|
43279
43279
|
const { selectProps: n, children: r } = e, { showDownChevronWithValue: s } = n;
|
|
43280
|
-
return /* @__PURE__ */ t.jsxs(
|
|
43280
|
+
return /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...e, className: "select-value-container", children: [
|
|
43281
43281
|
r,
|
|
43282
43282
|
s === !0 ? /* @__PURE__ */ t.jsx(Ye, { children: /* @__PURE__ */ t.jsx(iTt, {}) }) : null
|
|
43283
43283
|
] });
|
|
43284
43284
|
}, JIt = (e) => {
|
|
43285
43285
|
const { selectProps: n } = e, { placeholder: r, value: s } = n;
|
|
43286
43286
|
return /* @__PURE__ */ t.jsx(
|
|
43287
|
-
|
|
43287
|
+
Ke.Input,
|
|
43288
43288
|
{
|
|
43289
43289
|
...e,
|
|
43290
43290
|
autoComplete: "new-password",
|
|
@@ -43324,7 +43324,7 @@ const GIt = i.div`
|
|
|
43324
43324
|
isFocused: l,
|
|
43325
43325
|
isSelected: r,
|
|
43326
43326
|
isDisabled: a,
|
|
43327
|
-
children: /* @__PURE__ */ t.jsx(
|
|
43327
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, className: "select-option", children: /* @__PURE__ */ t.jsxs(sTt, { children: [
|
|
43328
43328
|
/* @__PURE__ */ t.jsxs(aTt, { children: [
|
|
43329
43329
|
/* @__PURE__ */ t.jsx(lTt, { children: n?.photo !== void 0 ? /* @__PURE__ */ t.jsx(
|
|
43330
43330
|
uve,
|
|
@@ -45532,19 +45532,19 @@ const mve = (e, n, r) => {
|
|
|
45532
45532
|
selectedValue: d?.value,
|
|
45533
45533
|
hasError: u,
|
|
45534
45534
|
isRecommended: p?.isOptionRecommended,
|
|
45535
|
-
children: /* @__PURE__ */ t.jsx(
|
|
45535
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...e, className: "select-control", children: e.children })
|
|
45536
45536
|
}
|
|
45537
45537
|
);
|
|
45538
45538
|
}, XTt = (e) => {
|
|
45539
45539
|
const { selectProps: n, children: r } = e, { showDownChevronWithValue: s } = n;
|
|
45540
|
-
return /* @__PURE__ */ t.jsxs(
|
|
45540
|
+
return /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...e, className: "select-value-container", children: [
|
|
45541
45541
|
r,
|
|
45542
45542
|
s === !0 ? /* @__PURE__ */ t.jsx(Ye, { children: /* @__PURE__ */ t.jsx(rLt, { className: "auto-complete-chevron" }) }) : null
|
|
45543
45543
|
] });
|
|
45544
45544
|
}, eLt = (e) => {
|
|
45545
45545
|
const { selectProps: n } = e, { placeholder: r, value: s } = n;
|
|
45546
45546
|
return /* @__PURE__ */ t.jsx(
|
|
45547
|
-
|
|
45547
|
+
Ke.Input,
|
|
45548
45548
|
{
|
|
45549
45549
|
...e,
|
|
45550
45550
|
autoComplete: "new-password",
|
|
@@ -45554,7 +45554,7 @@ const mve = (e, n, r) => {
|
|
|
45554
45554
|
);
|
|
45555
45555
|
}, tLt = ({ children: e, ...n }, r) => {
|
|
45556
45556
|
const s = e;
|
|
45557
|
-
return /* @__PURE__ */ t.jsxs(
|
|
45557
|
+
return /* @__PURE__ */ t.jsxs(Ke.SingleValue, { ...n, children: [
|
|
45558
45558
|
s,
|
|
45559
45559
|
" ",
|
|
45560
45560
|
n.selectProps.shouldShowChevronIcon === !0 ? /* @__PURE__ */ t.jsx(hLt, {}) : null
|
|
@@ -45572,7 +45572,7 @@ const mve = (e, n, r) => {
|
|
|
45572
45572
|
isDisabled: a,
|
|
45573
45573
|
isOptionRecommended: c?.isOptionRecommended === !0,
|
|
45574
45574
|
showBottomBorder: c?.additionalNote == null || c?.isOptionRecommended === !1,
|
|
45575
|
-
children: /* @__PURE__ */ t.jsx(
|
|
45575
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, className: "select-option", children: /* @__PURE__ */ t.jsxs(aLt, { children: [
|
|
45576
45576
|
/* @__PURE__ */ t.jsx(uLt, { isSelected: r, isDisabled: a, children: e.label }),
|
|
45577
45577
|
!!r && /* @__PURE__ */ t.jsxs(lLt, { children: [
|
|
45578
45578
|
/* @__PURE__ */ t.jsx(cLt, { className: "right-tick-icon" }),
|
|
@@ -48993,12 +48993,12 @@ const cEt = (e) => {
|
|
|
48993
48993
|
fieldWidth: m?.fieldWidth,
|
|
48994
48994
|
singleValueTextStyle: g,
|
|
48995
48995
|
valueContainerPadding: f,
|
|
48996
|
-
children: /* @__PURE__ */ t.jsx(
|
|
48996
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...e, className: "select-control", children: e.children })
|
|
48997
48997
|
}
|
|
48998
48998
|
);
|
|
48999
48999
|
}, dEt = (e) => {
|
|
49000
49000
|
const { hasValue: n, selectProps: r, isDisabled: s } = e;
|
|
49001
|
-
return /* @__PURE__ */ t.jsxs(
|
|
49001
|
+
return /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...e, className: "select-value-container", children: [
|
|
49002
49002
|
e.children,
|
|
49003
49003
|
r.showDownChevronIcon === !0 && s !== !0 && n === !0 && !r.inputValue ? /* @__PURE__ */ t.jsx(Cve, { className: "down-chevron-icon" }) : r.showLoadingIcon === !0 ? /* @__PURE__ */ t.jsx(DEt, { children: /* @__PURE__ */ t.jsx(
|
|
49004
49004
|
Rt,
|
|
@@ -49012,7 +49012,7 @@ const cEt = (e) => {
|
|
|
49012
49012
|
}, uEt = (e) => {
|
|
49013
49013
|
const { selectProps: n } = e, { placeholder: r, value: s, customPlaceholder: a } = n;
|
|
49014
49014
|
return /* @__PURE__ */ t.jsx(
|
|
49015
|
-
|
|
49015
|
+
Ke.Input,
|
|
49016
49016
|
{
|
|
49017
49017
|
...e,
|
|
49018
49018
|
autoComplete: "new-password",
|
|
@@ -49022,7 +49022,7 @@ const cEt = (e) => {
|
|
|
49022
49022
|
);
|
|
49023
49023
|
}, hEt = ({ children: e, ...n }) => {
|
|
49024
49024
|
const { data: r, selectProps: s } = n;
|
|
49025
|
-
return /* @__PURE__ */ t.jsx(
|
|
49025
|
+
return /* @__PURE__ */ t.jsx(Ke.SingleValue, { ...n, children: /* @__PURE__ */ t.jsxs(
|
|
49026
49026
|
bEt,
|
|
49027
49027
|
{
|
|
49028
49028
|
$singleValuePadding: s.singleValuePadding,
|
|
@@ -49040,7 +49040,7 @@ const cEt = (e) => {
|
|
|
49040
49040
|
word-break: break-word;
|
|
49041
49041
|
white-space: normal;
|
|
49042
49042
|
text-align: end;
|
|
49043
|
-
`, mEt = () => null, gEt = (e) => /* @__PURE__ */ t.jsxs(
|
|
49043
|
+
`, mEt = () => null, gEt = (e) => /* @__PURE__ */ t.jsxs(Ke.Placeholder, { ...e, children: [
|
|
49044
49044
|
e.children,
|
|
49045
49045
|
" ",
|
|
49046
49046
|
/* @__PURE__ */ t.jsx(Cve, {})
|
|
@@ -49059,7 +49059,7 @@ const cEt = (e) => {
|
|
|
49059
49059
|
isDisabled: l,
|
|
49060
49060
|
optionHeight: m,
|
|
49061
49061
|
isLastOptionAction: x === "button",
|
|
49062
|
-
children: /* @__PURE__ */ t.jsx(
|
|
49062
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...n, className: "select-option", children: /* @__PURE__ */ t.jsxs(
|
|
49063
49063
|
$Et,
|
|
49064
49064
|
{
|
|
49065
49065
|
onClick: f,
|
|
@@ -49110,7 +49110,7 @@ const cEt = (e) => {
|
|
|
49110
49110
|
selectProps: { showCreateOption: r, onClickCreateOption: s }
|
|
49111
49111
|
} = n, a = D.getLocalizedStrings().spendManagement.billPay.billDetails;
|
|
49112
49112
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
49113
|
-
/* @__PURE__ */ t.jsx(
|
|
49113
|
+
/* @__PURE__ */ t.jsx(Ke.MenuList, { ...n, children: e }),
|
|
49114
49114
|
r === !0 ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
49115
49115
|
/* @__PURE__ */ t.jsx(PEt, {}),
|
|
49116
49116
|
/* @__PURE__ */ t.jsxs(
|
|
@@ -53352,10 +53352,10 @@ const U_t = i.div`
|
|
|
53352
53352
|
isError: z,
|
|
53353
53353
|
size: R,
|
|
53354
53354
|
isContactOptionSelected: Q,
|
|
53355
|
-
children: /* @__PURE__ */ t.jsx(
|
|
53355
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...ee, className: "select-control", children: ee.children })
|
|
53356
53356
|
}
|
|
53357
53357
|
);
|
|
53358
|
-
}, U = ({ children: ee, ...te }) => /* @__PURE__ */ t.jsxs(
|
|
53358
|
+
}, U = ({ children: ee, ...te }) => /* @__PURE__ */ t.jsxs(Ke.MenuList, { ...te, children: [
|
|
53359
53359
|
ee,
|
|
53360
53360
|
p === !0 ? /* @__PURE__ */ t.jsx(
|
|
53361
53361
|
soe,
|
|
@@ -53383,7 +53383,7 @@ const U_t = i.div`
|
|
|
53383
53383
|
isSelected: te,
|
|
53384
53384
|
isDisabled: ie,
|
|
53385
53385
|
children: /* @__PURE__ */ t.jsx(
|
|
53386
|
-
|
|
53386
|
+
Ke.Option,
|
|
53387
53387
|
{
|
|
53388
53388
|
...ee,
|
|
53389
53389
|
className: "select-option",
|
|
@@ -53449,7 +53449,7 @@ const U_t = i.div`
|
|
|
53449
53449
|
}
|
|
53450
53450
|
);
|
|
53451
53451
|
}, J = (ee) => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
53452
|
-
/* @__PURE__ */ t.jsx(
|
|
53452
|
+
/* @__PURE__ */ t.jsx(Ke.SingleValue, { ...ee, children: ee.children }),
|
|
53453
53453
|
ee.selectProps.menuIsOpen === !1 ? P?.(ee.data.value) === !0 ? /* @__PURE__ */ t.jsx(
|
|
53454
53454
|
iV,
|
|
53455
53455
|
{
|
|
@@ -53537,10 +53537,10 @@ const U_t = i.div`
|
|
|
53537
53537
|
]
|
|
53538
53538
|
}
|
|
53539
53539
|
) });
|
|
53540
|
-
}, gMt = (e) => /* @__PURE__ */ t.jsx(
|
|
53540
|
+
}, gMt = (e) => /* @__PURE__ */ t.jsx(Ke.ValueContainer, { ...e, className: "select-value-container", children: e.children }), fMt = (e) => {
|
|
53541
53541
|
const { selectProps: n } = e, { placeholder: r, value: s } = n;
|
|
53542
53542
|
return /* @__PURE__ */ t.jsx(
|
|
53543
|
-
|
|
53543
|
+
Ke.Input,
|
|
53544
53544
|
{
|
|
53545
53545
|
...e,
|
|
53546
53546
|
autoComplete: "new-password",
|
|
@@ -54698,7 +54698,7 @@ const J3 = (e, n) => `${e}.${n}`, ZM = "toAccountVendorEmail", Zx = {
|
|
|
54698
54698
|
void 0
|
|
54699
54699
|
), _e = () => De(!1), Ie = () => {
|
|
54700
54700
|
C?.trackBillPayMagicLinkPreviewEmail("edit_bill"), De(!0);
|
|
54701
|
-
}, { setValue: Pe, getValues: He } = Je(), ze = Mt(), Re = Be(null), [Qe, Oe] = W(!1),
|
|
54701
|
+
}, { setValue: Pe, getValues: He } = Je(), ze = Mt(), Re = Be(null), [Qe, Oe] = W(!1), qe = {
|
|
54702
54702
|
application: "dashboard",
|
|
54703
54703
|
companyId: Se.currentTenant?.companyId,
|
|
54704
54704
|
tab: "bill",
|
|
@@ -54727,7 +54727,7 @@ const J3 = (e, n) => `${e}.${n}`, ZM = "toAccountVendorEmail", Zx = {
|
|
|
54727
54727
|
]), K(() => {
|
|
54728
54728
|
H?.method !== He(`${$}.paymentType`)?.method && Pe(`${$}.paymentType`, H);
|
|
54729
54729
|
}, [x?.withdrawFrom?.accType]);
|
|
54730
|
-
const
|
|
54730
|
+
const Ze = Jd(
|
|
54731
54731
|
x?.paymentType?.method ?? ""
|
|
54732
54732
|
).replace("Same Day", ""), bt = rV.visual.MMMDCommaYYYYformat, yt = $Dt.setUp.accountsPlg, It = Ds.paymentOutsideZeni, Ue = Zx.labelWidth.value(we), Tt = Zx.largeLabelWidth.value(we), zt = (Pt) => p.find((Mo) => Mo.id === Pt), Ge = (Pt) => aR(zt(Pt)), pt = () => {
|
|
54733
54733
|
let Pt = [];
|
|
@@ -54786,7 +54786,7 @@ const J3 = (e, n) => `${e}.${n}`, ZM = "toAccountVendorEmail", Zx = {
|
|
|
54786
54786
|
}, oo = x?.paymentTo, Fo = x?.paymentTo?.type === "BankAccount" ? Ds.addedByZeni : _ && B ? /* @__PURE__ */ t.jsx(
|
|
54787
54787
|
xY,
|
|
54788
54788
|
{
|
|
54789
|
-
paymentTypeLabel:
|
|
54789
|
+
paymentTypeLabel: Ze,
|
|
54790
54790
|
onClick: Ie,
|
|
54791
54791
|
style: { marginTop: `${we === "small" ? o.sp2 : o.sp0}` }
|
|
54792
54792
|
}
|
|
@@ -54949,7 +54949,7 @@ const J3 = (e, n) => `${e}.${n}`, ZM = "toAccountVendorEmail", Zx = {
|
|
|
54949
54949
|
companyName: f,
|
|
54950
54950
|
vendor: c,
|
|
54951
54951
|
paymentDate: x?.paymentDate?.format(bt) ?? "",
|
|
54952
|
-
paymentType:
|
|
54952
|
+
paymentType: Ze,
|
|
54953
54953
|
amount: Go(
|
|
54954
54954
|
"0,0.[00]",
|
|
54955
54955
|
d.amount,
|
|
@@ -54966,7 +54966,7 @@ const J3 = (e, n) => `${e}.${n}`, ZM = "toAccountVendorEmail", Zx = {
|
|
|
54966
54966
|
{
|
|
54967
54967
|
description: Ds.magicLink.popUp.description.replace(
|
|
54968
54968
|
/<payment_type>/,
|
|
54969
|
-
|
|
54969
|
+
Ze
|
|
54970
54970
|
),
|
|
54971
54971
|
isLoading: P?.fetchState === "In-Progress",
|
|
54972
54972
|
onCancelClick: () => Le(!1),
|
|
@@ -54999,7 +54999,7 @@ const J3 = (e, n) => `${e}.${n}`, ZM = "toAccountVendorEmail", Zx = {
|
|
|
54999
54999
|
companyName: Se.currentTenant?.companyName ?? Tu,
|
|
55000
55000
|
dashboardOptionType: "bill",
|
|
55001
55001
|
filterMetaData: {
|
|
55002
|
-
...
|
|
55002
|
+
...qe,
|
|
55003
55003
|
entityType: `bill.details.${li("withdrawFrom")}`
|
|
55004
55004
|
},
|
|
55005
55005
|
fieldThreadTargetElement: Te?.sharedRef?.contentWrapperRef,
|
|
@@ -55121,7 +55121,7 @@ const J3 = (e, n) => `${e}.${n}`, ZM = "toAccountVendorEmail", Zx = {
|
|
|
55121
55121
|
companyName: Se.currentTenant?.companyName ?? Tu,
|
|
55122
55122
|
dashboardOptionType: "bill",
|
|
55123
55123
|
filterMetaData: {
|
|
55124
|
-
...
|
|
55124
|
+
...qe,
|
|
55125
55125
|
entityType: `bill.details.${li("paymentType")}`
|
|
55126
55126
|
},
|
|
55127
55127
|
fieldThreadTargetElement: Te?.sharedRef?.contentWrapperRef,
|
|
@@ -55225,7 +55225,7 @@ const J3 = (e, n) => `${e}.${n}`, ZM = "toAccountVendorEmail", Zx = {
|
|
|
55225
55225
|
companyName: Se.currentTenant?.companyName ?? Tu,
|
|
55226
55226
|
dashboardOptionType: "bill",
|
|
55227
55227
|
filterMetaData: {
|
|
55228
|
-
...
|
|
55228
|
+
...qe,
|
|
55229
55229
|
entityType: `bill.details.${li("paymentDate")}`
|
|
55230
55230
|
},
|
|
55231
55231
|
fieldThreadTargetElement: Te?.sharedRef?.contentWrapperRef,
|
|
@@ -55268,7 +55268,7 @@ const J3 = (e, n) => `${e}.${n}`, ZM = "toAccountVendorEmail", Zx = {
|
|
|
55268
55268
|
companyName: Se.currentTenant?.companyName ?? Tu,
|
|
55269
55269
|
dashboardOptionType: "bill",
|
|
55270
55270
|
filterMetaData: {
|
|
55271
|
-
...
|
|
55271
|
+
...qe,
|
|
55272
55272
|
entityType: `bill.details.${li("paymentTo")}`
|
|
55273
55273
|
},
|
|
55274
55274
|
fieldThreadTargetElement: Te?.sharedRef?.contentWrapperRef,
|
|
@@ -55343,7 +55343,7 @@ const J3 = (e, n) => `${e}.${n}`, ZM = "toAccountVendorEmail", Zx = {
|
|
|
55343
55343
|
companyName: Se.currentTenant?.companyName ?? Tu,
|
|
55344
55344
|
dashboardOptionType: "bill",
|
|
55345
55345
|
filterMetaData: {
|
|
55346
|
-
...
|
|
55346
|
+
...qe,
|
|
55347
55347
|
entityType: `bill.details.${li("recurringPaymentType")}`
|
|
55348
55348
|
},
|
|
55349
55349
|
fieldThreadTargetElement: Te?.sharedRef?.contentWrapperRef,
|
|
@@ -55827,7 +55827,7 @@ const J3 = (e, n) => `${e}.${n}`, ZM = "toAccountVendorEmail", Zx = {
|
|
|
55827
55827
|
const { data: r, selectProps: s } = e;
|
|
55828
55828
|
return /* @__PURE__ */ t.jsxs(JDt, { children: [
|
|
55829
55829
|
s.menuIsOpen === !1 ? /* @__PURE__ */ t.jsx(pOt, { className: "vendor-icon" }) : null,
|
|
55830
|
-
/* @__PURE__ */ t.jsxs(
|
|
55830
|
+
/* @__PURE__ */ t.jsxs(Ke.SingleValue, { ...e, children: [
|
|
55831
55831
|
e.selectProps.menuIsOpen === !1 ? r.customElement : null,
|
|
55832
55832
|
e.selectProps.menuIsOpen === !1 ? e.children : /* @__PURE__ */ t.jsx(COt, { children: n ?? "" })
|
|
55833
55833
|
] })
|
|
@@ -55846,12 +55846,12 @@ const J3 = (e, n) => `${e}.${n}`, ZM = "toAccountVendorEmail", Zx = {
|
|
|
55846
55846
|
selectedValue: d?.value,
|
|
55847
55847
|
hasError: u,
|
|
55848
55848
|
isRecommended: p?.isOptionRecommended,
|
|
55849
|
-
children: /* @__PURE__ */ t.jsx(
|
|
55849
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...e, className: "select-control", children: e.children })
|
|
55850
55850
|
}
|
|
55851
55851
|
);
|
|
55852
55852
|
}, NDt = (e) => {
|
|
55853
55853
|
const { children: n, selectProps: r } = e;
|
|
55854
|
-
return /* @__PURE__ */ t.jsxs(
|
|
55854
|
+
return /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...e, className: "select-value-container", children: [
|
|
55855
55855
|
r.menuIsOpen === !0 ? /* @__PURE__ */ t.jsx(xoe, {}) : null,
|
|
55856
55856
|
n,
|
|
55857
55857
|
r.menuIsOpen === !1 ? /* @__PURE__ */ t.jsx(mOt, {}) : null,
|
|
@@ -55863,7 +55863,7 @@ const J3 = (e, n) => `${e}.${n}`, ZM = "toAccountVendorEmail", Zx = {
|
|
|
55863
55863
|
}, HDt = (e) => {
|
|
55864
55864
|
const { selectProps: n } = e, { placeholder: r, value: s } = n;
|
|
55865
55865
|
return /* @__PURE__ */ t.jsx(
|
|
55866
|
-
|
|
55866
|
+
Ke.Input,
|
|
55867
55867
|
{
|
|
55868
55868
|
...e,
|
|
55869
55869
|
autoComplete: "off",
|
|
@@ -55901,7 +55901,7 @@ const J3 = (e, n) => `${e}.${n}`, ZM = "toAccountVendorEmail", Zx = {
|
|
|
55901
55901
|
isDisabled: a,
|
|
55902
55902
|
isOptionRecommended: c?.isOptionRecommended === !0,
|
|
55903
55903
|
"data-testid": M("option", p),
|
|
55904
|
-
children: /* @__PURE__ */ t.jsx(
|
|
55904
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, className: "select-option", children: /* @__PURE__ */ t.jsxs(nOt, { children: [
|
|
55905
55905
|
/* @__PURE__ */ t.jsx(Dve, { isSelected: r, isDisabled: a, children: u(e.label, d) }),
|
|
55906
55906
|
r ? /* @__PURE__ */ t.jsx(Ove, { children: /* @__PURE__ */ t.jsx(
|
|
55907
55907
|
rn,
|
|
@@ -55925,7 +55925,7 @@ const J3 = (e, n) => `${e}.${n}`, ZM = "toAccountVendorEmail", Zx = {
|
|
|
55925
55925
|
isDisabled: r,
|
|
55926
55926
|
"data-testid": M("option", a),
|
|
55927
55927
|
children: [
|
|
55928
|
-
/* @__PURE__ */ t.jsxs(
|
|
55928
|
+
/* @__PURE__ */ t.jsxs(Ke.Option, { ...e, className: "select-option", children: [
|
|
55929
55929
|
/* @__PURE__ */ t.jsx(aOt, { children: goe.texts.recommendedVendor }),
|
|
55930
55930
|
/* @__PURE__ */ t.jsxs(dOt, { isSelected: n, children: [
|
|
55931
55931
|
/* @__PURE__ */ t.jsxs(uOt, { children: [
|
|
@@ -55976,7 +55976,7 @@ const J3 = (e, n) => `${e}.${n}`, ZM = "toAccountVendorEmail", Zx = {
|
|
|
55976
55976
|
/* @__PURE__ */ t.jsx(Ei, { width: h[4], height: h[4] }),
|
|
55977
55977
|
/* @__PURE__ */ t.jsx(fe, { width: 218, height: h[4] })
|
|
55978
55978
|
] }, C)) }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
55979
|
-
f.length > 0 ? /* @__PURE__ */ t.jsx(
|
|
55979
|
+
f.length > 0 ? /* @__PURE__ */ t.jsx(Ke.MenuList, { ...e, innerRef: p, children: f }) : null,
|
|
55980
55980
|
r && s ? /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsxs(
|
|
55981
55981
|
foe,
|
|
55982
55982
|
{
|
|
@@ -57580,7 +57580,7 @@ const eOt = i.span`
|
|
|
57580
57580
|
(ct) => ct.type === "BankAccount" || ct.type === "PaymentInstrument"
|
|
57581
57581
|
),
|
|
57582
57582
|
[e.paymentToList, d]
|
|
57583
|
-
), Re = et(He?.fetchState), [Qe, Oe] = W(!1), [
|
|
57583
|
+
), Re = et(He?.fetchState), [Qe, Oe] = W(!1), [qe, st] = W(!1), [ut, Ze] = W(!1), [bt, yt] = W(!1), [It, Ue] = W({
|
|
57584
57584
|
title: "",
|
|
57585
57585
|
description: "",
|
|
57586
57586
|
primaryButtonText: "",
|
|
@@ -58167,7 +58167,7 @@ const eOt = i.span`
|
|
|
58167
58167
|
secondaryButtonText: jn.cancel
|
|
58168
58168
|
}), Oe(!0);
|
|
58169
58169
|
}, vt = e.editBillInitialDetails?.vendor?.id, ro = e.vendor?.id, Et = vt !== ro, uo = (ct) => {
|
|
58170
|
-
un || s === void 0 && e.file != null && e.billStage === "draft" || Et ? (
|
|
58170
|
+
un || s === void 0 && e.file != null && e.billStage === "draft" || Et ? (Ze(!0), Mo()) : (R({
|
|
58171
58171
|
billId: s
|
|
58172
58172
|
}), _(), Z?.());
|
|
58173
58173
|
}, Qi = () => {
|
|
@@ -58181,10 +58181,10 @@ const eOt = i.span`
|
|
|
58181
58181
|
onOkClick: () => {
|
|
58182
58182
|
Oe(!1), It.primaryButtonText === jn.discard ? (R({
|
|
58183
58183
|
billId: s
|
|
58184
|
-
}), _(), ut ? Z?.() :
|
|
58184
|
+
}), _(), ut ? Z?.() : qe ? G?.() : Y()) : It.primaryButtonText === jn.edit ? e.vendor != null ? (a.trackBillPayEditVendor(e.vendor.id), T(e.vendor.id)) : tr && e.recommendedVendor != null && (a.trackBillPayEditVendor(e.recommendedVendor.id), T(e.recommendedVendor.id)) : It.primaryButtonText === jn.delete && J?.();
|
|
58185
58185
|
},
|
|
58186
58186
|
onCancelClick: () => {
|
|
58187
|
-
Oe(!1),
|
|
58187
|
+
Oe(!1), Ze(!1), st(!1);
|
|
58188
58188
|
}
|
|
58189
58189
|
}, Lt = () => {
|
|
58190
58190
|
co === jn.buttons.saveChanges || co === jn.buttons.save ? qo() : (co === jn.buttons.discardChanges || co === jn.buttons.discard) && uo();
|
|
@@ -64406,12 +64406,12 @@ const yQt = (e) => {
|
|
|
64406
64406
|
selectedValue: _,
|
|
64407
64407
|
isError: C,
|
|
64408
64408
|
isValuePlacedAtEnd: d,
|
|
64409
|
-
children: /* @__PURE__ */ t.jsx(
|
|
64409
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...k, className: "select-control", children: k.children })
|
|
64410
64410
|
}
|
|
64411
64411
|
);
|
|
64412
64412
|
}, L = (k) => {
|
|
64413
64413
|
const { selectProps: T } = k, { menuIsOpen: E } = T;
|
|
64414
|
-
return /* @__PURE__ */ t.jsx(
|
|
64414
|
+
return /* @__PURE__ */ t.jsx(Ke.SingleValue, { ...k, children: m ? /* @__PURE__ */ t.jsxs(mUt, { menuIsOpen: E, children: [
|
|
64415
64415
|
/* @__PURE__ */ t.jsx(pUt, {}),
|
|
64416
64416
|
m
|
|
64417
64417
|
] }) : k.children });
|
|
@@ -64454,10 +64454,10 @@ const yQt = (e) => {
|
|
|
64454
64454
|
isDisabled: s != null
|
|
64455
64455
|
}
|
|
64456
64456
|
);
|
|
64457
|
-
}, oUt = (e) => /* @__PURE__ */ t.jsx(
|
|
64457
|
+
}, oUt = (e) => /* @__PURE__ */ t.jsx(Ke.ValueContainer, { ...e, className: "select-value-container", children: e.children }), nUt = (e) => {
|
|
64458
64458
|
const { selectProps: n } = e, { placeholder: r, value: s } = n;
|
|
64459
64459
|
return /* @__PURE__ */ t.jsx(
|
|
64460
|
-
|
|
64460
|
+
Ke.Input,
|
|
64461
64461
|
{
|
|
64462
64462
|
...e,
|
|
64463
64463
|
autoComplete: "new-password",
|
|
@@ -64475,7 +64475,7 @@ const yQt = (e) => {
|
|
|
64475
64475
|
isFocused: l,
|
|
64476
64476
|
isSelected: n,
|
|
64477
64477
|
isDisabled: r,
|
|
64478
|
-
children: /* @__PURE__ */ t.jsx(
|
|
64478
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, className: "select-option", children: /* @__PURE__ */ t.jsxs(lUt, { children: [
|
|
64479
64479
|
/* @__PURE__ */ t.jsxs(dUt, { children: [
|
|
64480
64480
|
/* @__PURE__ */ t.jsx(cUt, { isSelected: n, isDisabled: r, children: e.label }),
|
|
64481
64481
|
p ? /* @__PURE__ */ t.jsx(gUt, { children: u.hoverText }) : null
|
|
@@ -71092,8 +71092,8 @@ function fQi({
|
|
|
71092
71092
|
const Ce = (Oe) => {
|
|
71093
71093
|
console.log(JSON.stringify(Oe)), k(void 0), f(Oe.code, "google"), E("google");
|
|
71094
71094
|
}, ce = (Oe) => {
|
|
71095
|
-
const
|
|
71096
|
-
k(
|
|
71095
|
+
const qe = "Error = " + Oe?.error + " Error Description = " + Oe?.error_description;
|
|
71096
|
+
k(qe), x?.(JSON.stringify(Oe), "google");
|
|
71097
71097
|
}, de = (Oe) => {
|
|
71098
71098
|
console.log(JSON.stringify(Oe)), k(void 0), f(Oe.code, "microsoft"), E("microsoft");
|
|
71099
71099
|
}, ue = (Oe) => {
|
|
@@ -71128,8 +71128,8 @@ function fQi({
|
|
|
71128
71128
|
if (Ie <= 0 || l.fetchState === "In-Progress")
|
|
71129
71129
|
return;
|
|
71130
71130
|
const Oe = setTimeout(() => {
|
|
71131
|
-
const
|
|
71132
|
-
Pe(
|
|
71131
|
+
const qe = Ie - 1;
|
|
71132
|
+
Pe(qe), qe === 0 && (ge(!1), Ne(0), N(!1));
|
|
71133
71133
|
}, 1e3);
|
|
71134
71134
|
return () => clearTimeout(Oe);
|
|
71135
71135
|
}, [Ie, l.fetchState]);
|
|
@@ -71187,10 +71187,10 @@ function fQi({
|
|
|
71187
71187
|
),
|
|
71188
71188
|
children: /* @__PURE__ */ t.jsx(oie, { isDarkTheme: $, children: D.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split(
|
|
71189
71189
|
"__email__"
|
|
71190
|
-
).map((Oe,
|
|
71190
|
+
).map((Oe, qe, st) => /* @__PURE__ */ t.jsxs(iie, { children: [
|
|
71191
71191
|
Oe,
|
|
71192
|
-
|
|
71193
|
-
] },
|
|
71192
|
+
qe < st.length - 1 && /* @__PURE__ */ t.jsx(nie, { children: ie })
|
|
71193
|
+
] }, qe)) })
|
|
71194
71194
|
}
|
|
71195
71195
|
),
|
|
71196
71196
|
/* @__PURE__ */ t.jsx(rie, { children: zn.signIn.magicLinkSent.secondaryMessage }),
|
|
@@ -71232,10 +71232,10 @@ function fQi({
|
|
|
71232
71232
|
/* @__PURE__ */ t.jsx(tie, { children: /* @__PURE__ */ t.jsx(eie, {}) }),
|
|
71233
71233
|
/* @__PURE__ */ t.jsx(oie, { isDarkTheme: $, children: D.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split(
|
|
71234
71234
|
"__email__"
|
|
71235
|
-
).map((Oe,
|
|
71235
|
+
).map((Oe, qe, st) => /* @__PURE__ */ t.jsxs(iie, { children: [
|
|
71236
71236
|
Oe,
|
|
71237
|
-
|
|
71238
|
-
] },
|
|
71237
|
+
qe < st.length - 1 && /* @__PURE__ */ t.jsx(nie, { children: ie })
|
|
71238
|
+
] }, qe)) })
|
|
71239
71239
|
]
|
|
71240
71240
|
}
|
|
71241
71241
|
),
|
|
@@ -84390,7 +84390,7 @@ const blo = i.div`
|
|
|
84390
84390
|
flex-shrink: 0;
|
|
84391
84391
|
margin: ${o.sp2} ${o.sp2} ${o.sp2} ${o.sp2};
|
|
84392
84392
|
`, Elo = () => /* @__PURE__ */ t.jsx("div", {}), Plo = (e) => /* @__PURE__ */ t.jsx(
|
|
84393
|
-
|
|
84393
|
+
Ke.Control,
|
|
84394
84394
|
{
|
|
84395
84395
|
...e,
|
|
84396
84396
|
innerProps: {
|
|
@@ -84400,7 +84400,7 @@ const blo = i.div`
|
|
|
84400
84400
|
}
|
|
84401
84401
|
), Rlo = ({ children: e, ...n }) => {
|
|
84402
84402
|
const { signedInUser: r, pageName: s } = n.selectProps;
|
|
84403
|
-
return /* @__PURE__ */ t.jsxs(
|
|
84403
|
+
return /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...n, children: [
|
|
84404
84404
|
/* @__PURE__ */ t.jsxs(jlo, { children: [
|
|
84405
84405
|
r?.photo == null ? /* @__PURE__ */ t.jsx(
|
|
84406
84406
|
bn,
|
|
@@ -84422,7 +84422,7 @@ const blo = i.div`
|
|
|
84422
84422
|
}, _lo = (e) => {
|
|
84423
84423
|
const { data: n } = e;
|
|
84424
84424
|
let r = null;
|
|
84425
|
-
return n.value === "cockpit" ? r = Ilo : n.value === "my_profile" ? r = Tlo : n.value === "referrals" ? r = Llo : n.value === "logout" && (r = Blo), /* @__PURE__ */ t.jsx(
|
|
84425
|
+
return n.value === "cockpit" ? r = Ilo : n.value === "my_profile" ? r = Tlo : n.value === "referrals" ? r = Llo : n.value === "logout" && (r = Blo), /* @__PURE__ */ t.jsx(Ke.Option, { ...e, children: /* @__PURE__ */ t.jsxs(blo, { children: [
|
|
84426
84426
|
/* @__PURE__ */ t.jsxs(wlo, { children: [
|
|
84427
84427
|
r && /* @__PURE__ */ t.jsx(r, { className: "optionIcon" }),
|
|
84428
84428
|
/* @__PURE__ */ t.jsx($e, { children: e.label })
|
|
@@ -85775,7 +85775,7 @@ function Qco(e) {
|
|
|
85775
85775
|
}
|
|
85776
85776
|
const Uco = (e) => {
|
|
85777
85777
|
const { children: n, selectProps: r } = e, { showDownChevron: s } = r, a = Qco(n);
|
|
85778
|
-
return /* @__PURE__ */ t.jsx(
|
|
85778
|
+
return /* @__PURE__ */ t.jsx(Ke.SingleValue, { ...e, children: /* @__PURE__ */ t.jsxs(tdo, { children: [
|
|
85779
85779
|
/* @__PURE__ */ t.jsx(odo, { children: /* @__PURE__ */ t.jsx(
|
|
85780
85780
|
gi,
|
|
85781
85781
|
{
|
|
@@ -85802,7 +85802,7 @@ const Uco = (e) => {
|
|
|
85802
85802
|
isGroupOpen: n,
|
|
85803
85803
|
onClick: () => r(!n),
|
|
85804
85804
|
"data-testid": M("group-heading", s),
|
|
85805
|
-
children: /* @__PURE__ */ t.jsxs(
|
|
85805
|
+
children: /* @__PURE__ */ t.jsxs(Ke.GroupHeading, { ...e, children: [
|
|
85806
85806
|
/* @__PURE__ */ t.jsx(rdo, { isGroupOpen: n, children: /* @__PURE__ */ t.jsx(sdo, {}) }),
|
|
85807
85807
|
e.children
|
|
85808
85808
|
] })
|
|
@@ -85810,7 +85810,7 @@ const Uco = (e) => {
|
|
|
85810
85810
|
);
|
|
85811
85811
|
}, Yco = (e) => {
|
|
85812
85812
|
const { data: n, isSelected: r, isFocused: s, selectProps: a } = e, { optionIcon: l } = a, c = l != null && n.isOptionHighlighted === !0;
|
|
85813
|
-
return /* @__PURE__ */ t.jsx(ado, { className: "grouped-select-option", children: /* @__PURE__ */ t.jsx(
|
|
85813
|
+
return /* @__PURE__ */ t.jsx(ado, { className: "grouped-select-option", children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, children: /* @__PURE__ */ t.jsxs(ldo, { children: [
|
|
85814
85814
|
/* @__PURE__ */ t.jsxs(cdo, { isSelected: r, children: [
|
|
85815
85815
|
c ? /* @__PURE__ */ t.jsx(
|
|
85816
85816
|
ddo,
|
|
@@ -85838,14 +85838,14 @@ const Uco = (e) => {
|
|
|
85838
85838
|
] }) }) });
|
|
85839
85839
|
}, qco = (e) => {
|
|
85840
85840
|
const { selectProps: n } = e, { menuHeader: r } = n;
|
|
85841
|
-
return /* @__PURE__ */ t.jsxs(
|
|
85841
|
+
return /* @__PURE__ */ t.jsxs(Ke.MenuList, { ...e, children: [
|
|
85842
85842
|
r != null ? /* @__PURE__ */ t.jsx(udo, { children: r }) : null,
|
|
85843
85843
|
e.children
|
|
85844
85844
|
] });
|
|
85845
85845
|
}, Zco = (e) => {
|
|
85846
85846
|
const { selectProps: n } = e, r = n.name;
|
|
85847
85847
|
return /* @__PURE__ */ t.jsx(
|
|
85848
|
-
|
|
85848
|
+
Ke.Control,
|
|
85849
85849
|
{
|
|
85850
85850
|
...e,
|
|
85851
85851
|
innerProps: {
|
|
@@ -88647,7 +88647,7 @@ function Vre(e) {
|
|
|
88647
88647
|
]), lr(() => {
|
|
88648
88648
|
C.current?.resetAfterIndex(0, !1);
|
|
88649
88649
|
}, [C, Ne]);
|
|
88650
|
-
const
|
|
88650
|
+
const qe = je(
|
|
88651
88651
|
() => ({
|
|
88652
88652
|
cellVerticalAlign: ee,
|
|
88653
88653
|
columnGapPx: xe,
|
|
@@ -88767,20 +88767,20 @@ function Vre(e) {
|
|
|
88767
88767
|
},
|
|
88768
88768
|
[]
|
|
88769
88769
|
);
|
|
88770
|
-
const
|
|
88770
|
+
const Ze = st, bt = je(
|
|
88771
88771
|
() => ({
|
|
88772
88772
|
headerBackground: ut.colors.grey4,
|
|
88773
|
-
headerContent:
|
|
88773
|
+
headerContent: Ze,
|
|
88774
88774
|
minWidth: we.singleTableMinWidth
|
|
88775
88775
|
}),
|
|
88776
|
-
[
|
|
88776
|
+
[Ze, we.singleTableMinWidth, ut.colors.grey4]
|
|
88777
88777
|
), yt = (pt, wt) => {
|
|
88778
88778
|
const $t = Z ?? xho, Ut = (Fo) => ({
|
|
88779
88779
|
height: Fo,
|
|
88780
88780
|
width: pt,
|
|
88781
88781
|
itemCount: x,
|
|
88782
88782
|
itemSize: Oe,
|
|
88783
|
-
itemData:
|
|
88783
|
+
itemData: qe,
|
|
88784
88784
|
overscanCount: SAe,
|
|
88785
88785
|
itemKey: b,
|
|
88786
88786
|
initialScrollOffset: he,
|
|
@@ -92265,10 +92265,10 @@ const ngo = ({
|
|
|
92265
92265
|
height: ${o.sp3};
|
|
92266
92266
|
width: ${o.sp3};
|
|
92267
92267
|
margin-left: 6px;
|
|
92268
|
-
`, x = ({ children: v, ...S }) => /* @__PURE__ */ t.jsx(
|
|
92268
|
+
`, x = ({ children: v, ...S }) => /* @__PURE__ */ t.jsx(Ke.SingleValue, { ...S, children: /* @__PURE__ */ t.jsxs(ego, { children: [
|
|
92269
92269
|
/* @__PURE__ */ t.jsx(Xmo, { windowSize: l, children: v }),
|
|
92270
92270
|
/* @__PURE__ */ t.jsx(f, {})
|
|
92271
|
-
] }) }), C = (v) => /* @__PURE__ */ t.jsx(
|
|
92271
|
+
] }) }), C = (v) => /* @__PURE__ */ t.jsx(Ke.DropdownIndicator, { ...v, children: /* @__PURE__ */ t.jsx(rse, {}) }), b = (v) => /* @__PURE__ */ t.jsx(rse, { children: /* @__PURE__ */ t.jsx(Ke.Option, { ...v, children: /* @__PURE__ */ t.jsxs(Umo, { children: [
|
|
92272
92272
|
/* @__PURE__ */ t.jsxs(Gmo, { isValid: v.data.isValid, children: [
|
|
92273
92273
|
v.label,
|
|
92274
92274
|
v.isSelected ? /* @__PURE__ */ t.jsx(g, {}) : null
|
|
@@ -92830,13 +92830,13 @@ function E2({
|
|
|
92830
92830
|
}
|
|
92831
92831
|
const Ego = () => /* @__PURE__ */ t.jsx(Dgo, {}), Pgo = () => null, Rgo = (e) => {
|
|
92832
92832
|
const { valueToIcon: n } = e.selectProps, { label: r, value: s } = e, a = n(s);
|
|
92833
|
-
return /* @__PURE__ */ t.jsx(Fgo, { children: /* @__PURE__ */ t.jsx(
|
|
92833
|
+
return /* @__PURE__ */ t.jsx(Fgo, { children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, children: /* @__PURE__ */ t.jsxs(Mgo, { className: "option-container", children: [
|
|
92834
92834
|
/* @__PURE__ */ t.jsx(Bt, { controller: a != null, children: /* @__PURE__ */ t.jsx(zgo, { children: a }) }),
|
|
92835
92835
|
/* @__PURE__ */ t.jsx(Ogo, { children: r })
|
|
92836
92836
|
] }) }) });
|
|
92837
92837
|
}, _go = (e) => {
|
|
92838
92838
|
const { moreIconType: n, customIcon: r } = e.selectProps;
|
|
92839
|
-
return /* @__PURE__ */ t.jsxs(
|
|
92839
|
+
return /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...e, style: { padding: 0 }, children: [
|
|
92840
92840
|
n === "plain" ? /* @__PURE__ */ t.jsx(Ngo, { className: "more-icon", size: e.size }) : n === "custom" ? r : /* @__PURE__ */ t.jsx(Hgo, { className: "more-icon" }),
|
|
92841
92841
|
e.children
|
|
92842
92842
|
] });
|
|
@@ -95483,9 +95483,9 @@ function Qfo({
|
|
|
95483
95483
|
matchProgress: Re,
|
|
95484
95484
|
lastReconciled: Qe,
|
|
95485
95485
|
reconciliationStatus: Oe,
|
|
95486
|
-
reconUpdatedAt:
|
|
95486
|
+
reconUpdatedAt: qe,
|
|
95487
95487
|
endDate: st
|
|
95488
|
-
} = n.accountReconEntity, ut = Qe?.at ?? (Oe?.code === "reconciled" &&
|
|
95488
|
+
} = n.accountReconEntity, ut = Qe?.at ?? (Oe?.code === "reconciled" && qe != null ? qe : st ?? null), Ze = ut != null ? ut.format(Vfo.visual.MMMDCommaYYYYformat) : ps, bt = Re != null && Re.total > 0 ? Re.total : 0, yt = Re != null && bt > 0 ? Math.min(Re.matched, bt) : 0, It = Re?.percentage != null ? Math.round(Re.percentage) : bt > 0 ? Math.round(yt / bt * 100) : null, Ue = bt > 0 ? Math.max(bt - yt, 0) : 1, Tt = () => {
|
|
95489
95489
|
ae(!1), Ee !== !0 && m?.(n.accountReconEntity.account.accountId);
|
|
95490
95490
|
}, zt = c === "excluded";
|
|
95491
95491
|
return /* @__PURE__ */ t.jsxs(
|
|
@@ -95794,7 +95794,7 @@ function Qfo({
|
|
|
95794
95794
|
)
|
|
95795
95795
|
}
|
|
95796
95796
|
) }),
|
|
95797
|
-
/* @__PURE__ */ t.jsx(mfo, { className: "any-text-container", children: c === "excluded" ? xse : He === !0 ? ps :
|
|
95797
|
+
/* @__PURE__ */ t.jsx(mfo, { className: "any-text-container", children: c === "excluded" ? xse : He === !0 ? ps : Ze })
|
|
95798
95798
|
] })
|
|
95799
95799
|
]
|
|
95800
95800
|
}
|
|
@@ -112192,7 +112192,7 @@ const Q8o = (e) => {
|
|
|
112192
112192
|
reportTreeRootNodes: ce,
|
|
112193
112193
|
nodeCollapseState: ge,
|
|
112194
112194
|
isReportIdSupported: xe,
|
|
112195
|
-
onExpandNode: I ? (Qe, Oe,
|
|
112195
|
+
onExpandNode: I ? (Qe, Oe, qe) => I(Oe, qe) : void 0,
|
|
112196
112196
|
scrollToNode: ae
|
|
112197
112197
|
});
|
|
112198
112198
|
const me = Be(!1);
|
|
@@ -116672,7 +116672,7 @@ const fc = ({
|
|
|
116672
116672
|
"grouped-single-select-field-control",
|
|
116673
116673
|
c[0]?.label
|
|
116674
116674
|
),
|
|
116675
|
-
children: /* @__PURE__ */ t.jsx(
|
|
116675
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...e, className: "select-control", children: e.children })
|
|
116676
116676
|
}
|
|
116677
116677
|
);
|
|
116678
116678
|
}, mSo = i(sy)`
|
|
@@ -116684,7 +116684,7 @@ const fc = ({
|
|
|
116684
116684
|
align-items: center;
|
|
116685
116685
|
margin-left: auto;
|
|
116686
116686
|
flex-shrink: 0;
|
|
116687
|
-
`, fSo = (e) => /* @__PURE__ */ t.jsxs(
|
|
116687
|
+
`, fSo = (e) => /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...e, className: "select-value-container", children: [
|
|
116688
116688
|
e.children,
|
|
116689
116689
|
e.selectProps.showDownChevronWithValue === !0 ? /* @__PURE__ */ t.jsx(gSo, { children: /* @__PURE__ */ t.jsx(mSo, {}) }) : null
|
|
116690
116690
|
] }), xSo = (e) => {
|
|
@@ -116721,7 +116721,7 @@ const fc = ({
|
|
|
116721
116721
|
] })
|
|
116722
116722
|
}
|
|
116723
116723
|
) : /* @__PURE__ */ t.jsx(
|
|
116724
|
-
|
|
116724
|
+
Ke.Input,
|
|
116725
116725
|
{
|
|
116726
116726
|
...e,
|
|
116727
116727
|
autoComplete: "new-password",
|
|
@@ -116730,7 +116730,7 @@ const fc = ({
|
|
|
116730
116730
|
children: e.children
|
|
116731
116731
|
}
|
|
116732
116732
|
);
|
|
116733
|
-
}, ySo = (e) => /* @__PURE__ */ t.jsx(
|
|
116733
|
+
}, ySo = (e) => /* @__PURE__ */ t.jsx(Ke.Group, { ...e, children: e.children }), CSo = (e) => {
|
|
116734
116734
|
const [n, r] = W(!0), s = e.selectProps.menuOptionPresentation === "typePill";
|
|
116735
116735
|
return /* @__PURE__ */ t.jsx(
|
|
116736
116736
|
FSo,
|
|
@@ -116740,7 +116740,7 @@ const fc = ({
|
|
|
116740
116740
|
isTypePillMenu: s,
|
|
116741
116741
|
onClick: () => r(!n),
|
|
116742
116742
|
"data-testid": M("group-heading", e.data.label),
|
|
116743
|
-
children: /* @__PURE__ */ t.jsxs(
|
|
116743
|
+
children: /* @__PURE__ */ t.jsxs(Ke.GroupHeading, { ...e, children: [
|
|
116744
116744
|
/* @__PURE__ */ t.jsx(NSo, { isGroupOpen: n, children: /* @__PURE__ */ t.jsx(jSo, {}) }),
|
|
116745
116745
|
e.children
|
|
116746
116746
|
] })
|
|
@@ -116756,7 +116756,7 @@ const fc = ({
|
|
|
116756
116756
|
children: e
|
|
116757
116757
|
}
|
|
116758
116758
|
);
|
|
116759
|
-
return /* @__PURE__ */ t.jsx(
|
|
116759
|
+
return /* @__PURE__ */ t.jsx(Ke.SingleValue, { ...n, children: /* @__PURE__ */ t.jsx(ASo, { children: s }) });
|
|
116760
116760
|
}, wSo = () => null, $So = (e, n, r, s, a, l, c, d, u) => {
|
|
116761
116761
|
const { data: p, isSelected: m, isDisabled: g, isFocused: f, selectProps: x } = e, { customPlaceholderString: C, menuOptionPresentation: b } = x, $ = b === "typePill" && p?.isOptionRecommended !== !0, {
|
|
116762
116762
|
depth: v,
|
|
@@ -116789,7 +116789,7 @@ const fc = ({
|
|
|
116789
116789
|
allowEmpty: r,
|
|
116790
116790
|
isTypePillMenu: $,
|
|
116791
116791
|
"data-testid": M("grouped-single-select-option", B),
|
|
116792
|
-
children: /* @__PURE__ */ t.jsx(
|
|
116792
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, className: "select-option", children: /* @__PURE__ */ t.jsxs(RSo, { isOptionRecommended: p?.isOptionRecommended, children: [
|
|
116793
116793
|
!!p?.isOptionRecommended && /* @__PURE__ */ t.jsx(WSo, { children: /* @__PURE__ */ t.jsx(VSo, {}) }),
|
|
116794
116794
|
/* @__PURE__ */ t.jsxs(DSo, { children: [
|
|
116795
116795
|
/* @__PURE__ */ t.jsxs(
|
|
@@ -121193,7 +121193,7 @@ const Gko = i.span`
|
|
|
121193
121193
|
"data-testid": M(
|
|
121194
121194
|
"auto-complete-grouped-creatable-single-select-custom-group-control"
|
|
121195
121195
|
),
|
|
121196
|
-
children: /* @__PURE__ */ t.jsx(
|
|
121196
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...e, className: "select-control", children: e.children })
|
|
121197
121197
|
}
|
|
121198
121198
|
);
|
|
121199
121199
|
}, eIo = i(sy)`
|
|
@@ -121208,14 +121208,14 @@ const Gko = i.span`
|
|
|
121208
121208
|
padding-right: ${o.sp2};
|
|
121209
121209
|
`, oIo = (e) => {
|
|
121210
121210
|
const { children: n, selectProps: r } = e, { showDownChevronWithValue: s } = r;
|
|
121211
|
-
return /* @__PURE__ */ t.jsxs(
|
|
121211
|
+
return /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...e, className: "select-value-container", children: [
|
|
121212
121212
|
n,
|
|
121213
121213
|
s === !0 ? /* @__PURE__ */ t.jsx(tIo, { children: /* @__PURE__ */ t.jsx(eIo, {}) }) : null
|
|
121214
121214
|
] });
|
|
121215
121215
|
}, nIo = (e) => {
|
|
121216
121216
|
const { selectProps: n } = e, { placeholder: r, value: s } = n;
|
|
121217
121217
|
return /* @__PURE__ */ t.jsx(
|
|
121218
|
-
|
|
121218
|
+
Ke.Input,
|
|
121219
121219
|
{
|
|
121220
121220
|
...e,
|
|
121221
121221
|
autoComplete: "off",
|
|
@@ -121235,13 +121235,13 @@ const Gko = i.span`
|
|
|
121235
121235
|
} = r, d = X(), u = l?.(e.selectProps.inputValue);
|
|
121236
121236
|
return K(() => {
|
|
121237
121237
|
s == null && a(n[0]);
|
|
121238
|
-
}, [s, a, n]), /* @__PURE__ */ t.jsx(t.Fragment, { children: e.isLoading === !0 ? /* @__PURE__ */ t.jsxs(
|
|
121238
|
+
}, [s, a, n]), /* @__PURE__ */ t.jsx(t.Fragment, { children: e.isLoading === !0 ? /* @__PURE__ */ t.jsxs(Ke.MenuList, { ...e, children: [
|
|
121239
121239
|
s,
|
|
121240
121240
|
/* @__PURE__ */ t.jsx(PIo, { windowSize: d, children: [...Array(2)].map((p, m) => /* @__PURE__ */ t.jsxs(RIo, { windowSize: d, children: [
|
|
121241
121241
|
/* @__PURE__ */ t.jsx(Ei, { width: h[4], height: h[4] }),
|
|
121242
121242
|
/* @__PURE__ */ t.jsx(fe, { width: 218, height: h[4] })
|
|
121243
121243
|
] }, m)) })
|
|
121244
|
-
] }) : /* @__PURE__ */ t.jsxs(
|
|
121244
|
+
] }) : /* @__PURE__ */ t.jsxs(Ke.MenuList, { ...e, children: [
|
|
121245
121245
|
n,
|
|
121246
121246
|
u != null && u.length > 0 ? /* @__PURE__ */ t.jsxs(
|
|
121247
121247
|
_Io,
|
|
@@ -121260,7 +121260,7 @@ const Gko = i.span`
|
|
|
121260
121260
|
}
|
|
121261
121261
|
) : null
|
|
121262
121262
|
] }) });
|
|
121263
|
-
}, rIo = (e) => /* @__PURE__ */ t.jsx(
|
|
121263
|
+
}, rIo = (e) => /* @__PURE__ */ t.jsx(Ke.Group, { ...e, children: e.children }), sIo = (e) => {
|
|
121264
121264
|
const [n, r] = W(!0), s = (a) => {
|
|
121265
121265
|
a.preventDefault(), a.stopPropagation(), r(!n);
|
|
121266
121266
|
};
|
|
@@ -121271,7 +121271,7 @@ const Gko = i.span`
|
|
|
121271
121271
|
isGroupOpen: n,
|
|
121272
121272
|
onClick: s,
|
|
121273
121273
|
"data-testid": M("group-heading", e.data.label),
|
|
121274
|
-
children: /* @__PURE__ */ t.jsxs(
|
|
121274
|
+
children: /* @__PURE__ */ t.jsxs(Ke.GroupHeading, { ...e, children: [
|
|
121275
121275
|
/* @__PURE__ */ t.jsx(BIo, { isGroupOpen: n, children: /* @__PURE__ */ t.jsx(LIo, {}) }),
|
|
121276
121276
|
e.children
|
|
121277
121277
|
] })
|
|
@@ -121287,7 +121287,7 @@ const Gko = i.span`
|
|
|
121287
121287
|
children: e
|
|
121288
121288
|
}
|
|
121289
121289
|
);
|
|
121290
|
-
return /* @__PURE__ */ t.jsx(
|
|
121290
|
+
return /* @__PURE__ */ t.jsx(Ke.SingleValue, { ...n, children: s });
|
|
121291
121291
|
}, lIo = () => null, cIo = (e, n, r, s, a, l, c, d, u) => {
|
|
121292
121292
|
const { data: p, isSelected: m, isDisabled: g, isFocused: f } = e, x = typeof p.label == "string" ? p.label : p.value, C = Jko(
|
|
121293
121293
|
p,
|
|
@@ -121338,7 +121338,7 @@ const Gko = i.span`
|
|
|
121338
121338
|
"auto-complete-grouped-creatable-single-select-custom-group-option",
|
|
121339
121339
|
x
|
|
121340
121340
|
),
|
|
121341
|
-
children: /* @__PURE__ */ t.jsx(
|
|
121341
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, className: "select-option", children: /* @__PURE__ */ t.jsxs(fIo, { isOptionRecommended: p?.isOptionRecommended, children: [
|
|
121342
121342
|
!!p?.isOptionRecommended && /* @__PURE__ */ t.jsx(wIo, { children: /* @__PURE__ */ t.jsx($Io, {}) }),
|
|
121343
121343
|
/* @__PURE__ */ t.jsxs(CIo, { children: [
|
|
121344
121344
|
/* @__PURE__ */ t.jsx(bIo, { isSelected: m, children: /* @__PURE__ */ t.jsx(
|
|
@@ -121901,7 +121901,7 @@ const Gko = i.span`
|
|
|
121901
121901
|
Le(!0);
|
|
121902
121902
|
}, Oe = () => {
|
|
121903
121903
|
De(!0);
|
|
121904
|
-
},
|
|
121904
|
+
}, qe = () => {
|
|
121905
121905
|
Ne(!0);
|
|
121906
121906
|
}, st = () => {
|
|
121907
121907
|
Ie(!0);
|
|
@@ -121912,7 +121912,7 @@ const Gko = i.span`
|
|
|
121912
121912
|
}
|
|
121913
121913
|
} : void 0,
|
|
121914
121914
|
[g]
|
|
121915
|
-
),
|
|
121915
|
+
), Ze = ye(
|
|
121916
121916
|
(Ge, pt) => {
|
|
121917
121917
|
g?.(Ge, pt);
|
|
121918
121918
|
},
|
|
@@ -122155,7 +122155,7 @@ const Gko = i.span`
|
|
|
122155
122155
|
registerOptions: { required: !1 },
|
|
122156
122156
|
loadOptions: se,
|
|
122157
122157
|
showCOT: l,
|
|
122158
|
-
onCOTView:
|
|
122158
|
+
onCOTView: Ze,
|
|
122159
122159
|
menuPortal: document.body
|
|
122160
122160
|
}
|
|
122161
122161
|
)
|
|
@@ -122285,7 +122285,7 @@ const Gko = i.span`
|
|
|
122285
122285
|
customStyleConfig: U,
|
|
122286
122286
|
disableCurrentOption: yt,
|
|
122287
122287
|
menuPortal: document.body,
|
|
122288
|
-
onCOTView:
|
|
122288
|
+
onCOTView: Ze
|
|
122289
122289
|
}
|
|
122290
122290
|
)
|
|
122291
122291
|
}
|
|
@@ -122404,7 +122404,7 @@ const Gko = i.span`
|
|
|
122404
122404
|
customStyleConfig: U,
|
|
122405
122405
|
onMenuClose: ze,
|
|
122406
122406
|
menuPortal: document.body,
|
|
122407
|
-
onCOTView:
|
|
122407
|
+
onCOTView: Ze
|
|
122408
122408
|
}
|
|
122409
122409
|
)
|
|
122410
122410
|
}
|
|
@@ -122415,7 +122415,7 @@ const Gko = i.span`
|
|
|
122415
122415
|
"class-selection-field",
|
|
122416
122416
|
`${b}-${m}`
|
|
122417
122417
|
),
|
|
122418
|
-
onClick:
|
|
122418
|
+
onClick: qe,
|
|
122419
122419
|
children: [
|
|
122420
122420
|
/* @__PURE__ */ t.jsx(
|
|
122421
122421
|
gi,
|
|
@@ -126811,10 +126811,10 @@ function ele({
|
|
|
126811
126811
|
)
|
|
126812
126812
|
}), {
|
|
126813
126813
|
vendorUpdates: Oe,
|
|
126814
|
-
vendorDetails:
|
|
126814
|
+
vendorDetails: qe,
|
|
126815
126815
|
customerUpdates: st,
|
|
126816
126816
|
customerDetails: ut
|
|
126817
|
-
} = n.transactionDetailLocalData,
|
|
126817
|
+
} = n.transactionDetailLocalData, Ze = Object.keys(
|
|
126818
126818
|
n.transactionDetailLocalData.lineItemById
|
|
126819
126819
|
)[0], [bt, yt] = W(
|
|
126820
126820
|
n.transaction?.attachments ?? []
|
|
@@ -127130,7 +127130,7 @@ function ele({
|
|
|
127130
127130
|
(go) => go.qboId === ct.selectedOption
|
|
127131
127131
|
), Jt = ho?.flatMap((go) => go.options).find((go) => go.value === jt)?.label, Cn = I.entityAutoCompleteView.customer.find(
|
|
127132
127132
|
(go) => go.qboId === ct.selectedOption
|
|
127133
|
-
), ko = n.transactionDetailLocalData.lineItemById[
|
|
127133
|
+
), ko = n.transactionDetailLocalData.lineItemById[Ze]?.recommendationsWithCOT?.find(
|
|
127134
127134
|
(go) => go.vendor?.qboId === ct.selectedOption
|
|
127135
127135
|
)?.vendor, fo = {
|
|
127136
127136
|
id: to.id,
|
|
@@ -127432,7 +127432,7 @@ function ele({
|
|
|
127432
127432
|
hy(
|
|
127433
127433
|
I.entityAutoCompleteView,
|
|
127434
127434
|
n.transactionDetailLocalData.selectedEntity ?? n.transactionDetailLocalData.latestSelectedEntityOnLineItem,
|
|
127435
|
-
n.transactionDetailLocalData.lineItemById[
|
|
127435
|
+
n.transactionDetailLocalData.lineItemById[Ze]?.recommendationsWithCOT
|
|
127436
127436
|
)
|
|
127437
127437
|
);
|
|
127438
127438
|
}, [I.entityAutoCompleteView.fetchState]);
|
|
@@ -127545,8 +127545,8 @@ function ele({
|
|
|
127545
127545
|
},
|
|
127546
127546
|
{
|
|
127547
127547
|
name: ht,
|
|
127548
|
-
id:
|
|
127549
|
-
qboId:
|
|
127548
|
+
id: qe?.id,
|
|
127549
|
+
qboId: qe?.qboId
|
|
127550
127550
|
}
|
|
127551
127551
|
);
|
|
127552
127552
|
}, Qi = (ht) => {
|
|
@@ -127561,7 +127561,7 @@ function ele({
|
|
|
127561
127561
|
qboId: ut?.qboId
|
|
127562
127562
|
}
|
|
127563
127563
|
);
|
|
127564
|
-
}, tn = () => !!(Qe.formState.isDirty && Object.keys(Qe.formState.dirtyFields).length > 0 || Oe?.id !==
|
|
127564
|
+
}, tn = () => !!(Qe.formState.isDirty && Object.keys(Qe.formState.dirtyFields).length > 0 || Oe?.id !== qe?.id || Oe?.name !== qe?.name || st?.id !== ut?.id || st?.name !== ut?.name), Lt = (ht, Vt) => {
|
|
127565
127565
|
Mo(), L.onAutoCompleteInputChange?.(ht), Vi.current = Vt;
|
|
127566
127566
|
}, Kt = {
|
|
127567
127567
|
defaultOptions: ULo(
|
|
@@ -127714,7 +127714,7 @@ function ele({
|
|
|
127714
127714
|
isQuickViewMode: xe,
|
|
127715
127715
|
vendorDetailsSectionId: cC,
|
|
127716
127716
|
transaction: n.transaction,
|
|
127717
|
-
existingVendor:
|
|
127717
|
+
existingVendor: qe,
|
|
127718
127718
|
existingCustomer: ut,
|
|
127719
127719
|
isCOTEnabled: d,
|
|
127720
127720
|
selectedEntity: n.transactionDetailLocalData.selectedEntity,
|
|
@@ -127726,9 +127726,9 @@ function ele({
|
|
|
127726
127726
|
handleVendorRename: uo,
|
|
127727
127727
|
handleCustomerRename: Qi,
|
|
127728
127728
|
currentVendorOption: Kt,
|
|
127729
|
-
recommendationsWithCOT: n.transactionDetailLocalData.lineItemById[
|
|
127729
|
+
recommendationsWithCOT: n.transactionDetailLocalData.lineItemById[Ze]?.recommendationsWithCOT,
|
|
127730
127730
|
cotTracking: {
|
|
127731
|
-
lineId:
|
|
127731
|
+
lineId: Ze,
|
|
127732
127732
|
transactionId: Ut,
|
|
127733
127733
|
onCOTView: Wn
|
|
127734
127734
|
},
|
|
@@ -132041,16 +132041,16 @@ const jMo = ({
|
|
|
132041
132041
|
"creatable-single-select-control",
|
|
132042
132042
|
r
|
|
132043
132043
|
),
|
|
132044
|
-
children: /* @__PURE__ */ t.jsx(
|
|
132044
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...k, className: "select-control", children: k.children })
|
|
132045
132045
|
}
|
|
132046
132046
|
);
|
|
132047
|
-
}, I = (k) => /* @__PURE__ */ t.jsx(VMo, { children: /* @__PURE__ */ t.jsxs(
|
|
132047
|
+
}, I = (k) => /* @__PURE__ */ t.jsx(VMo, { children: /* @__PURE__ */ t.jsxs(Ke.SingleValue, { ...k, children: [
|
|
132048
132048
|
k.selectProps.menuIsOpen === !1 && p != null && p.isTagShownForOption(k.data.value) === !0 && /* @__PURE__ */ t.jsx(HMo, { children: /* @__PURE__ */ t.jsx(WMo, { style: p.style, children: p.tagName }) }),
|
|
132049
132049
|
k.children
|
|
132050
132050
|
] }) }), L = (k) => {
|
|
132051
132051
|
const { selectProps: T } = k, { placeholder: E, value: B } = T;
|
|
132052
132052
|
return /* @__PURE__ */ t.jsx(
|
|
132053
|
-
|
|
132053
|
+
Ke.Input,
|
|
132054
132054
|
{
|
|
132055
132055
|
...k,
|
|
132056
132056
|
autoComplete: "new-password",
|
|
@@ -132107,7 +132107,7 @@ const jMo = ({
|
|
|
132107
132107
|
},
|
|
132108
132108
|
ar()
|
|
132109
132109
|
);
|
|
132110
|
-
}, AMo = (e) => /* @__PURE__ */ t.jsx(
|
|
132110
|
+
}, AMo = (e) => /* @__PURE__ */ t.jsx(Ke.ValueContainer, { ...e, className: "select-value-container", children: e.children }), kMo = (e) => {
|
|
132111
132111
|
const { options: r, children: s, maxHeight: a, getValue: l } = e, [c] = l(), d = r.indexOf(c) * 32;
|
|
132112
132112
|
return /* @__PURE__ */ t.jsx(
|
|
132113
132113
|
qi,
|
|
@@ -132128,7 +132128,7 @@ const jMo = ({
|
|
|
132128
132128
|
isFocused: s,
|
|
132129
132129
|
isSelected: n,
|
|
132130
132130
|
isDisabled: r,
|
|
132131
|
-
children: /* @__PURE__ */ t.jsx(
|
|
132131
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, className: "select-option", children: /* @__PURE__ */ t.jsxs(
|
|
132132
132132
|
EMo,
|
|
132133
132133
|
{
|
|
132134
132134
|
"data-testid": M(
|
|
@@ -133145,12 +133145,12 @@ const hj = (e, n) => `${e}.${n}`, nDo = i.div`
|
|
|
133145
133145
|
isDisabled: s,
|
|
133146
133146
|
optionsLen: l.length,
|
|
133147
133147
|
hasError: c,
|
|
133148
|
-
children: /* @__PURE__ */ t.jsx(
|
|
133148
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...e, className: "select-control", children: e.children })
|
|
133149
133149
|
}
|
|
133150
133150
|
);
|
|
133151
133151
|
}, lDo = (e) => {
|
|
133152
133152
|
const { selectProps: n } = e, { value: r, hasError: s } = n;
|
|
133153
|
-
return /* @__PURE__ */ t.jsxs(
|
|
133153
|
+
return /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...e, className: "select-value-container", children: [
|
|
133154
133154
|
e.children,
|
|
133155
133155
|
/* @__PURE__ */ t.jsx(
|
|
133156
133156
|
fDo,
|
|
@@ -133164,7 +133164,7 @@ const hj = (e, n) => `${e}.${n}`, nDo = i.div`
|
|
|
133164
133164
|
}, cDo = (e) => {
|
|
133165
133165
|
const { selectProps: n } = e, { placeholder: r, value: s } = n;
|
|
133166
133166
|
return /* @__PURE__ */ t.jsx(
|
|
133167
|
-
|
|
133167
|
+
Ke.Input,
|
|
133168
133168
|
{
|
|
133169
133169
|
...e,
|
|
133170
133170
|
autoComplete: "new-password",
|
|
@@ -133172,10 +133172,10 @@ const hj = (e, n) => `${e}.${n}`, nDo = i.div`
|
|
|
133172
133172
|
children: e.children
|
|
133173
133173
|
}
|
|
133174
133174
|
);
|
|
133175
|
-
}, dDo = (e) => /* @__PURE__ */ t.jsx(
|
|
133175
|
+
}, dDo = (e) => /* @__PURE__ */ t.jsx(Ke.MultiValue, { ...e, children: e.children }), uDo = (e) => {
|
|
133176
133176
|
const { data: n } = e;
|
|
133177
|
-
return /* @__PURE__ */ t.jsx(
|
|
133178
|
-
}, hDo = (e) => /* @__PURE__ */ t.jsx(
|
|
133177
|
+
return /* @__PURE__ */ t.jsx(Ke.MultiValueLabel, { ...e, children: n.label });
|
|
133178
|
+
}, hDo = (e) => /* @__PURE__ */ t.jsx(Ke.MultiValueRemove, { ...e, children: /* @__PURE__ */ t.jsx(
|
|
133179
133179
|
_Te,
|
|
133180
133180
|
{
|
|
133181
133181
|
style: {
|
|
@@ -133191,7 +133191,7 @@ const hj = (e, n) => `${e}.${n}`, nDo = i.div`
|
|
|
133191
133191
|
isFocused: s,
|
|
133192
133192
|
isSelected: n,
|
|
133193
133193
|
isDisabled: r,
|
|
133194
|
-
children: /* @__PURE__ */ t.jsx(
|
|
133194
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, className: "select-option", children: /* @__PURE__ */ t.jsxs(yDo, { children: [
|
|
133195
133195
|
/* @__PURE__ */ t.jsx(
|
|
133196
133196
|
aY,
|
|
133197
133197
|
{
|
|
@@ -133685,12 +133685,12 @@ const ADo = i.div`
|
|
|
133685
133685
|
isDisabled: s,
|
|
133686
133686
|
optionsLen: l.length,
|
|
133687
133687
|
hasError: c,
|
|
133688
|
-
children: /* @__PURE__ */ t.jsx(
|
|
133688
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...e, className: "select-control", children: e.children })
|
|
133689
133689
|
}
|
|
133690
133690
|
);
|
|
133691
133691
|
}, LDo = (e) => {
|
|
133692
133692
|
const { selectProps: n } = e, { value: r, hasError: s } = n;
|
|
133693
|
-
return /* @__PURE__ */ t.jsxs(
|
|
133693
|
+
return /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...e, className: "select-value-container", children: [
|
|
133694
133694
|
e.children,
|
|
133695
133695
|
/* @__PURE__ */ t.jsx(
|
|
133696
133696
|
ODo,
|
|
@@ -133707,7 +133707,7 @@ const ADo = i.div`
|
|
|
133707
133707
|
}, BDo = (e) => {
|
|
133708
133708
|
const { selectProps: n } = e, { placeholder: r, value: s } = n;
|
|
133709
133709
|
return /* @__PURE__ */ t.jsx(
|
|
133710
|
-
|
|
133710
|
+
Ke.Input,
|
|
133711
133711
|
{
|
|
133712
133712
|
...e,
|
|
133713
133713
|
autoComplete: "new-password",
|
|
@@ -133715,10 +133715,10 @@ const ADo = i.div`
|
|
|
133715
133715
|
children: e.children
|
|
133716
133716
|
}
|
|
133717
133717
|
);
|
|
133718
|
-
}, EDo = (e) => /* @__PURE__ */ t.jsx(
|
|
133718
|
+
}, EDo = (e) => /* @__PURE__ */ t.jsx(Ke.MultiValue, { ...e, children: e.children }), PDo = (e) => {
|
|
133719
133719
|
const { data: n } = e;
|
|
133720
|
-
return /* @__PURE__ */ t.jsx(
|
|
133721
|
-
}, RDo = (e) => /* @__PURE__ */ t.jsx(
|
|
133720
|
+
return /* @__PURE__ */ t.jsx(Ke.MultiValueLabel, { ...e, children: n.label ?? n.value });
|
|
133721
|
+
}, RDo = (e) => /* @__PURE__ */ t.jsx(Ke.MultiValueRemove, { ...e, children: /* @__PURE__ */ t.jsx(MTe, { style: { marginTop: "2px" } }) }), _Do = () => null, MDo = (e) => {
|
|
133722
133722
|
const { isSelected: n, isDisabled: r, isFocused: s } = e;
|
|
133723
133723
|
return /* @__PURE__ */ t.jsx(
|
|
133724
133724
|
zDo,
|
|
@@ -133726,7 +133726,7 @@ const ADo = i.div`
|
|
|
133726
133726
|
isFocused: s,
|
|
133727
133727
|
isSelected: n,
|
|
133728
133728
|
isDisabled: r,
|
|
133729
|
-
children: /* @__PURE__ */ t.jsx(
|
|
133729
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, className: "select-option", children: /* @__PURE__ */ t.jsxs(FDo, { children: [
|
|
133730
133730
|
/* @__PURE__ */ t.jsx(HDo, { children: /* @__PURE__ */ t.jsx(NDo, { isSelected: n, isDisabled: r, children: e.label }) }),
|
|
133731
133731
|
n ? /* @__PURE__ */ t.jsxs(WDo, { children: [
|
|
133732
133732
|
/* @__PURE__ */ t.jsx(VDo, { className: "right-tick-icon" }),
|
|
@@ -140608,7 +140608,7 @@ const aHo = i.div`
|
|
|
140608
140608
|
isDisabled: s,
|
|
140609
140609
|
selectedValue: l,
|
|
140610
140610
|
hasError: c,
|
|
140611
|
-
children: /* @__PURE__ */ t.jsx(
|
|
140611
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...e, className: "select-control", children: e.children })
|
|
140612
140612
|
}
|
|
140613
140613
|
);
|
|
140614
140614
|
}, vHo = (e) => {
|
|
@@ -140624,7 +140624,7 @@ const aHo = i.div`
|
|
|
140624
140624
|
"currency-select-field-option",
|
|
140625
140625
|
c
|
|
140626
140626
|
),
|
|
140627
|
-
children: /* @__PURE__ */ t.jsx(
|
|
140627
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, className: "select-option", children: /* @__PURE__ */ t.jsxs(EHo, { children: [
|
|
140628
140628
|
/* @__PURE__ */ t.jsxs(PHo, { children: [
|
|
140629
140629
|
/* @__PURE__ */ t.jsx(XTe, { countryCode: l }),
|
|
140630
140630
|
/* @__PURE__ */ t.jsx(MHo, { children: /* @__PURE__ */ t.jsx(
|
|
@@ -140656,10 +140656,10 @@ const aHo = i.div`
|
|
|
140656
140656
|
children: ({ index: p, style: m }) => /* @__PURE__ */ t.jsx(DHo, { style: m, children: r[p] })
|
|
140657
140657
|
}
|
|
140658
140658
|
);
|
|
140659
|
-
}, jHo = (e) => /* @__PURE__ */ t.jsx(
|
|
140659
|
+
}, jHo = (e) => /* @__PURE__ */ t.jsx(Ke.ValueContainer, { ...e, className: "select-value-container", children: e.children }), AHo = (e) => {
|
|
140660
140660
|
const { selectProps: n } = e, { placeholder: r, value: s } = n;
|
|
140661
140661
|
return /* @__PURE__ */ t.jsx(
|
|
140662
|
-
|
|
140662
|
+
Ke.Input,
|
|
140663
140663
|
{
|
|
140664
140664
|
...e,
|
|
140665
140665
|
autoComplete: "new-password",
|
|
@@ -140669,7 +140669,7 @@ const aHo = i.div`
|
|
|
140669
140669
|
);
|
|
140670
140670
|
}, kHo = (e) => {
|
|
140671
140671
|
const { data: n } = e;
|
|
140672
|
-
return /* @__PURE__ */ t.jsxs(
|
|
140672
|
+
return /* @__PURE__ */ t.jsxs(Ke.SingleValue, { ...e, children: [
|
|
140673
140673
|
/* @__PURE__ */ t.jsx(XTe, { countryCode: n.countryCode }),
|
|
140674
140674
|
/* @__PURE__ */ t.jsx(IHo, { children: n.label })
|
|
140675
140675
|
] });
|
|
@@ -142282,9 +142282,9 @@ const gWo = i.div`
|
|
|
142282
142282
|
) : void 0, Ee = () => {
|
|
142283
142283
|
const ze = e.paymentDetailsSection?.paymentDate, Re = e.isCollectToAccountInfoFromVendorContact, Qe = e.recurringConfig, Oe = e.recipientTotalAmount;
|
|
142284
142284
|
if (e.isInvoiceDateAutoUpdated === !0 && d.trackBillPayAutoDateChange(g ?? "new_bill"), V?.method != null && ze != null) {
|
|
142285
|
-
const
|
|
142285
|
+
const qe = xe ? ti.paymentOutsideZeni.offline : Jd(V.method);
|
|
142286
142286
|
if (d.trackBillPaySendForApproval(
|
|
142287
|
-
|
|
142287
|
+
qe,
|
|
142288
142288
|
ze.format(uce.analytics.MMMDashDDDashYYYYFormat),
|
|
142289
142289
|
Re,
|
|
142290
142290
|
e.isRecurring,
|
|
@@ -142305,18 +142305,18 @@ const gWo = i.div`
|
|
|
142305
142305
|
updateFutureRecurringBills: e.recurringConfig?.id != null ? Qe?.updateRecurringBills === "all" : void 0
|
|
142306
142306
|
}
|
|
142307
142307
|
), De != null) {
|
|
142308
|
-
const st = ee?.code ?? "draft", ut = te?.code ?? "",
|
|
142308
|
+
const st = ee?.code ?? "draft", ut = te?.code ?? "", Ze = e.isRecurring ? ["Recurring"] : ["One-Time"], bt = e.invoiceNumber ?? "", yt = yc(k.loggedInUser), It = e.paymentDetailsSection?.withdrawFrom?.accType === "depositAccount" ? "ZA" : "External Account";
|
|
142309
142309
|
Le === ti.scheduleBill ? d.trackLowBalanceAccountSchedule(
|
|
142310
142310
|
st,
|
|
142311
142311
|
ut,
|
|
142312
|
-
|
|
142312
|
+
Ze,
|
|
142313
142313
|
bt,
|
|
142314
142314
|
yt,
|
|
142315
142315
|
It
|
|
142316
142316
|
) : Le === ti.sendForApproval && d.trackLowBalanceAccountSentForApproval(
|
|
142317
142317
|
st,
|
|
142318
142318
|
ut,
|
|
142319
|
-
|
|
142319
|
+
Ze,
|
|
142320
142320
|
bt,
|
|
142321
142321
|
yt,
|
|
142322
142322
|
It
|
|
@@ -145447,11 +145447,11 @@ function dLe({
|
|
|
145447
145447
|
}, [r?.addCardPaymentSourceStatus.fetchState]);
|
|
145448
145448
|
const Re = () => {
|
|
145449
145449
|
b.trackConnectBankGetBalance($, v), ie("update_account"), T("update_account", e?.paymentAccountId);
|
|
145450
|
-
}, Qe = `${e?.accountSubType?.name != null ? e?.accountSubType?.name.substring(0, 1).toUpperCase().concat(e?.accountSubType?.name.substring(1)) : ""} ${e?.maskedAccountNumber ?? ""}`.trim(), Oe = re.fetchStatus.fetchState === "In-Progress" || re.updateStatus.fetchState === "In-Progress",
|
|
145450
|
+
}, Qe = `${e?.accountSubType?.name != null ? e?.accountSubType?.name.substring(0, 1).toUpperCase().concat(e?.accountSubType?.name.substring(1)) : ""} ${e?.maskedAccountNumber ?? ""}`.trim(), Oe = re.fetchStatus.fetchState === "In-Progress" || re.updateStatus.fetchState === "In-Progress", qe = se.fetchStatus.fetchState === "In-Progress" || se.updateStatus.fetchState === "In-Progress", st = Q.mode === "light" ? new ot(Q.colors.brandColorJadeLight) : new ot(Q.colors.brandColorJadeDark), ut = () => {
|
|
145451
145451
|
xe(!0);
|
|
145452
|
-
},
|
|
145452
|
+
}, Ze = (Ht, ao) => {
|
|
145453
145453
|
Ht.stopPropagation(), b.trackConnectBank($, v, ao), ie("link_account"), Ne(ao), re.linkToken == null || Ct((/* @__PURE__ */ new Date()).toISOString()).isAfter(re.expiration) ? T("link_account") : Ce !== re.linkToken ? ce(re.linkToken) : de ? He() : ue(!0);
|
|
145454
|
-
}, bt = !!(r && r.bankAccountsList.length > 0 && r.cardsList.length === 0), yt = r && r.cardsList.length > 0, It = Oe || z ||
|
|
145454
|
+
}, bt = !!(r && r.bankAccountsList.length > 0 && r.cardsList.length === 0), yt = r && r.cardsList.length > 0, It = Oe || z || qe, Ue = se.fetchStatus, Tt = se.updateStatus;
|
|
145455
145455
|
if (($ === "onboarding" || $ === "billing") && k != null && yt === !0)
|
|
145456
145456
|
return /* @__PURE__ */ t.jsx(
|
|
145457
145457
|
zl,
|
|
@@ -145471,7 +145471,7 @@ function dLe({
|
|
|
145471
145471
|
IUo,
|
|
145472
145472
|
{
|
|
145473
145473
|
linktext: gx.steps.link_card.footNoteCard.text1,
|
|
145474
|
-
openPlaidDialog:
|
|
145474
|
+
openPlaidDialog: Ze,
|
|
145475
145475
|
productType: $,
|
|
145476
145476
|
analytics: b,
|
|
145477
145477
|
setEventSourceType: Ne
|
|
@@ -145480,7 +145480,7 @@ function dLe({
|
|
|
145480
145480
|
showAddPaymentMethodDropDown: k.showAddPaymentMethodDropDown,
|
|
145481
145481
|
isCardPaymentMethod: !0,
|
|
145482
145482
|
updateCardPaymentModalState: R,
|
|
145483
|
-
openPlaidDialog:
|
|
145483
|
+
openPlaidDialog: Ze,
|
|
145484
145484
|
analytics: b,
|
|
145485
145485
|
productType: $,
|
|
145486
145486
|
setEventSourceType: Ne,
|
|
@@ -145495,7 +145495,7 @@ function dLe({
|
|
|
145495
145495
|
sectionId: "billPageSetUpPage",
|
|
145496
145496
|
showAddPaymentMethodDropDown: !0,
|
|
145497
145497
|
updateCardPaymentModalState: R,
|
|
145498
|
-
openPlaidDialog:
|
|
145498
|
+
openPlaidDialog: Ze,
|
|
145499
145499
|
isCardPaymentMethod: !1,
|
|
145500
145500
|
analytics: b,
|
|
145501
145501
|
referrer: v,
|
|
@@ -145557,7 +145557,7 @@ function dLe({
|
|
|
145557
145557
|
isCardPaymentMethod: !1,
|
|
145558
145558
|
hasError: u && e == null,
|
|
145559
145559
|
showAddPaymentMethodDropDown: $ === "onboarding" || $ === "billing" ? e != null : !1,
|
|
145560
|
-
openPlaidDialog:
|
|
145560
|
+
openPlaidDialog: Ze,
|
|
145561
145561
|
analytics: b
|
|
145562
145562
|
}
|
|
145563
145563
|
);
|
|
@@ -145630,7 +145630,7 @@ function dLe({
|
|
|
145630
145630
|
setAddPaymentMethodDropdownOpen: ae,
|
|
145631
145631
|
addPaymentMethodDropdownOpen: le,
|
|
145632
145632
|
isCardPaymentMethod: !1,
|
|
145633
|
-
openPlaidDialog:
|
|
145633
|
+
openPlaidDialog: Ze,
|
|
145634
145634
|
updateCardPaymentModalState: R
|
|
145635
145635
|
}
|
|
145636
145636
|
)
|
|
@@ -150190,13 +150190,13 @@ const xLe = ({
|
|
|
150190
150190
|
isDisabled: s,
|
|
150191
150191
|
hasError: c,
|
|
150192
150192
|
selectedValue: l,
|
|
150193
|
-
children: /* @__PURE__ */ t.jsx(
|
|
150193
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...e, className: "select-control", children: e.children })
|
|
150194
150194
|
}
|
|
150195
150195
|
);
|
|
150196
|
-
}, vZo = (e) => /* @__PURE__ */ t.jsx(
|
|
150196
|
+
}, vZo = (e) => /* @__PURE__ */ t.jsx(Ke.ValueContainer, { ...e, className: "select-value-container", children: e.children }), SZo = (e) => {
|
|
150197
150197
|
const { selectProps: n } = e, { placeholder: r, value: s } = n;
|
|
150198
150198
|
return /* @__PURE__ */ t.jsx(
|
|
150199
|
-
|
|
150199
|
+
Ke.Input,
|
|
150200
150200
|
{
|
|
150201
150201
|
...e,
|
|
150202
150202
|
autoComplete: "new-password",
|
|
@@ -150204,7 +150204,7 @@ const xLe = ({
|
|
|
150204
150204
|
children: e.children
|
|
150205
150205
|
}
|
|
150206
150206
|
);
|
|
150207
|
-
}, jZo = (e) => /* @__PURE__ */ t.jsx(
|
|
150207
|
+
}, jZo = (e) => /* @__PURE__ */ t.jsx(Ke.SingleValue, { ...e, children: e.children }), AZo = () => null, kZo = (e) => {
|
|
150208
150208
|
const { isSelected: n, isDisabled: r, isFocused: s, label: a } = e;
|
|
150209
150209
|
return /* @__PURE__ */ t.jsx(
|
|
150210
150210
|
TZo,
|
|
@@ -150214,7 +150214,7 @@ const xLe = ({
|
|
|
150214
150214
|
isSelected: n,
|
|
150215
150215
|
isDisabled: r,
|
|
150216
150216
|
"data-testid": M("single-select-numeric-option", a),
|
|
150217
|
-
children: /* @__PURE__ */ t.jsx(
|
|
150217
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, className: "select-option", children: /* @__PURE__ */ t.jsxs(LZo, { children: [
|
|
150218
150218
|
/* @__PURE__ */ t.jsx(EZo, { children: /* @__PURE__ */ t.jsx(BZo, { isSelected: n, isDisabled: r, children: e.label }) }),
|
|
150219
150219
|
n ? /* @__PURE__ */ t.jsxs(PZo, { children: [
|
|
150220
150220
|
/* @__PURE__ */ t.jsx(RZo, { className: "right-tick-icon" }),
|
|
@@ -150825,7 +150825,7 @@ const xLe = ({
|
|
|
150825
150825
|
height: ${o.sp3};
|
|
150826
150826
|
`, pKo = (e) => {
|
|
150827
150827
|
const { isSelected: n } = e;
|
|
150828
|
-
return /* @__PURE__ */ t.jsx(
|
|
150828
|
+
return /* @__PURE__ */ t.jsx(Ke.Option, { ...e, children: /* @__PURE__ */ t.jsxs(
|
|
150829
150829
|
uKo,
|
|
150830
150830
|
{
|
|
150831
150831
|
"data-testid": M(
|
|
@@ -150838,7 +150838,7 @@ const xLe = ({
|
|
|
150838
150838
|
]
|
|
150839
150839
|
}
|
|
150840
150840
|
) });
|
|
150841
|
-
}, vLe = (e) => /* @__PURE__ */ t.jsx(
|
|
150841
|
+
}, vLe = (e) => /* @__PURE__ */ t.jsx(Ke.SingleValue, { ...e, children: /* @__PURE__ */ t.jsx(Ao, { children: e.children }) }), bde = [
|
|
150842
150842
|
{ value: "equal", label: "is" },
|
|
150843
150843
|
{ value: "not_equal", label: "is not" }
|
|
150844
150844
|
], SLe = ({
|
|
@@ -151288,7 +151288,7 @@ function wKo({
|
|
|
151288
151288
|
}
|
|
151289
151289
|
);
|
|
151290
151290
|
}
|
|
151291
|
-
const $Ko = (e) => /* @__PURE__ */ t.jsx(
|
|
151291
|
+
const $Ko = (e) => /* @__PURE__ */ t.jsx(Ke.MenuList, { ...e, children: nt.Children.map(e.children, (n, r) => /* @__PURE__ */ t.jsxs(nt.Fragment, { children: [
|
|
151292
151292
|
r > 0 && /* @__PURE__ */ t.jsx(vKo, {}),
|
|
151293
151293
|
" ",
|
|
151294
151294
|
n
|
|
@@ -151308,7 +151308,7 @@ const $Ko = (e) => /* @__PURE__ */ t.jsx(Ze.MenuList, { ...e, children: nt.Child
|
|
|
151308
151308
|
"cockpit-user-multiselect-group",
|
|
151309
151309
|
e.data.label
|
|
151310
151310
|
),
|
|
151311
|
-
children: /* @__PURE__ */ t.jsxs(
|
|
151311
|
+
children: /* @__PURE__ */ t.jsxs(Ke.GroupHeading, { ...e, children: [
|
|
151312
151312
|
/* @__PURE__ */ t.jsx(AKo, { isGroupOpen: n, children: /* @__PURE__ */ t.jsx(kKo, { className: "close-tick-icon" }) }),
|
|
151313
151313
|
e.children
|
|
151314
151314
|
] })
|
|
@@ -151362,7 +151362,7 @@ const $Ko = (e) => /* @__PURE__ */ t.jsx(Ze.MenuList, { ...e, children: nt.Child
|
|
|
151362
151362
|
}, c = (d) => {
|
|
151363
151363
|
a(), d.stopPropagation();
|
|
151364
151364
|
};
|
|
151365
|
-
return /* @__PURE__ */ t.jsxs(
|
|
151365
|
+
return /* @__PURE__ */ t.jsxs(Ke.Menu, { ...e, children: [
|
|
151366
151366
|
/* @__PURE__ */ t.jsxs(TKo, { children: [
|
|
151367
151367
|
/* @__PURE__ */ t.jsx(BKo, { children: /* @__PURE__ */ t.jsx(EKo, {}) }),
|
|
151368
151368
|
/* @__PURE__ */ t.jsx(
|
|
@@ -151499,7 +151499,7 @@ const $Ko = (e) => /* @__PURE__ */ t.jsx(Ze.MenuList, { ...e, children: nt.Child
|
|
|
151499
151499
|
"cockpit-user-multiselect-option",
|
|
151500
151500
|
n.value
|
|
151501
151501
|
),
|
|
151502
|
-
children: /* @__PURE__ */ t.jsx(
|
|
151502
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, children: /* @__PURE__ */ t.jsxs(DKo, { children: [
|
|
151503
151503
|
/* @__PURE__ */ t.jsxs(VKo, { children: [
|
|
151504
151504
|
/* @__PURE__ */ t.jsx(QKo, { children: ALe(n, a) }),
|
|
151505
151505
|
/* @__PURE__ */ t.jsxs(NKo, { children: [
|
|
@@ -151539,13 +151539,13 @@ const $Ko = (e) => /* @__PURE__ */ t.jsx(Ze.MenuList, { ...e, children: nt.Child
|
|
|
151539
151539
|
`, GKo = ({ children: e, ...n }) => {
|
|
151540
151540
|
const r = n.selectProps.value, s = r.length > 1;
|
|
151541
151541
|
if (r.length === 0)
|
|
151542
|
-
return /* @__PURE__ */ t.jsxs(
|
|
151542
|
+
return /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...n, children: [
|
|
151543
151543
|
n.selectProps.value.length === 0 && /* @__PURE__ */ t.jsx(RKo, {}),
|
|
151544
151544
|
e
|
|
151545
151545
|
] });
|
|
151546
151546
|
{
|
|
151547
151547
|
const a = r[0], l = r.slice(1).map((c) => c.label).join(", ");
|
|
151548
|
-
return /* @__PURE__ */ t.jsxs(
|
|
151548
|
+
return /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...n, children: [
|
|
151549
151549
|
/* @__PURE__ */ t.jsx(
|
|
151550
151550
|
XKo,
|
|
151551
151551
|
{
|
|
@@ -152167,7 +152167,7 @@ const $Ko = (e) => /* @__PURE__ */ t.jsx(Ze.MenuList, { ...e, children: nt.Child
|
|
|
152167
152167
|
isStyledCapsule: d,
|
|
152168
152168
|
optionsLen: l.length,
|
|
152169
152169
|
hasError: c,
|
|
152170
|
-
children: /* @__PURE__ */ t.jsx(
|
|
152170
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...e, className: "select-control", children: e.children })
|
|
152171
152171
|
}
|
|
152172
152172
|
);
|
|
152173
152173
|
}, wJo = (e) => {
|
|
@@ -152178,13 +152178,13 @@ const $Ko = (e) => /* @__PURE__ */ t.jsx(Ze.MenuList, { ...e, children: nt.Child
|
|
|
152178
152178
|
isStyledCapsule: l
|
|
152179
152179
|
} = n, c = r.length, d = c > 1;
|
|
152180
152180
|
if (c === 0 && s != null)
|
|
152181
|
-
return /* @__PURE__ */ t.jsxs(
|
|
152181
|
+
return /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...e, children: [
|
|
152182
152182
|
e.children,
|
|
152183
152183
|
n.menuIsOpen === !1 ? s : null
|
|
152184
152184
|
] });
|
|
152185
152185
|
if (d && n.menuIsOpen === !1 && a === !0) {
|
|
152186
152186
|
const u = r.slice(1).map((p) => p.label).join(", ");
|
|
152187
|
-
return /* @__PURE__ */ t.jsxs(
|
|
152187
|
+
return /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...e, className: "select-value-container", children: [
|
|
152188
152188
|
e.children,
|
|
152189
152189
|
/* @__PURE__ */ t.jsxs(UJo, { children: [
|
|
152190
152190
|
/* @__PURE__ */ t.jsx(
|
|
@@ -152233,7 +152233,7 @@ const $Ko = (e) => /* @__PURE__ */ t.jsx(Ze.MenuList, { ...e, children: nt.Child
|
|
|
152233
152233
|
] })
|
|
152234
152234
|
] });
|
|
152235
152235
|
}
|
|
152236
|
-
return /* @__PURE__ */ t.jsxs(
|
|
152236
|
+
return /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...e, className: "select-value-container", children: [
|
|
152237
152237
|
e.children,
|
|
152238
152238
|
/* @__PURE__ */ t.jsx(TJo, { className: "selected-options", children: r.map(
|
|
152239
152239
|
(u) => u.label ? a === !0 && l === !0 ? /* @__PURE__ */ t.jsx(
|
|
@@ -152250,7 +152250,7 @@ const $Ko = (e) => /* @__PURE__ */ t.jsx(Ze.MenuList, { ...e, children: nt.Child
|
|
|
152250
152250
|
}, $Jo = (e) => {
|
|
152251
152251
|
const { selectProps: n } = e, { placeholder: r, value: s, placeholderComponent: a } = n;
|
|
152252
152252
|
return s.length === 0 && a != null && n.menuIsOpen === !1 ? /* @__PURE__ */ t.jsx(FJo, { children: /* @__PURE__ */ t.jsx(
|
|
152253
|
-
|
|
152253
|
+
Ke.Input,
|
|
152254
152254
|
{
|
|
152255
152255
|
...e,
|
|
152256
152256
|
autoComplete: "new-password",
|
|
@@ -152258,7 +152258,7 @@ const $Ko = (e) => /* @__PURE__ */ t.jsx(Ze.MenuList, { ...e, children: nt.Child
|
|
|
152258
152258
|
children: e.children
|
|
152259
152259
|
}
|
|
152260
152260
|
) }) : /* @__PURE__ */ t.jsx(
|
|
152261
|
-
|
|
152261
|
+
Ke.Input,
|
|
152262
152262
|
{
|
|
152263
152263
|
...e,
|
|
152264
152264
|
autoComplete: "new-password",
|
|
@@ -152266,9 +152266,9 @@ const $Ko = (e) => /* @__PURE__ */ t.jsx(Ze.MenuList, { ...e, children: nt.Child
|
|
|
152266
152266
|
children: e.children
|
|
152267
152267
|
}
|
|
152268
152268
|
);
|
|
152269
|
-
}, vJo = (e) => /* @__PURE__ */ t.jsx(
|
|
152269
|
+
}, vJo = (e) => /* @__PURE__ */ t.jsx(Ke.MultiValue, { ...e, children: e.children }), SJo = (e) => {
|
|
152270
152270
|
const { data: n } = e;
|
|
152271
|
-
return /* @__PURE__ */ t.jsx(
|
|
152271
|
+
return /* @__PURE__ */ t.jsx(Ke.MultiValueLabel, { ...e, children: n.label });
|
|
152272
152272
|
}, jJo = () => null, AJo = () => null, kJo = ({ children: e, ...n }, r) => {
|
|
152273
152273
|
const { isStyledCapsule: s } = n.selectProps, { data: a, isSelected: l, options: c, isDisabled: d, isFocused: u } = n, { value: p } = a, { onClick: m, type: g } = a, f = c.find(
|
|
152274
152274
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -152282,7 +152282,7 @@ const $Ko = (e) => /* @__PURE__ */ t.jsx(Ze.MenuList, { ...e, children: nt.Child
|
|
|
152282
152282
|
isSelected: l,
|
|
152283
152283
|
isDisabled: d,
|
|
152284
152284
|
isLastOptionAction: g === "button",
|
|
152285
|
-
children: /* @__PURE__ */ t.jsx(
|
|
152285
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...n, className: "select-option", children: /* @__PURE__ */ t.jsxs(PJo, { onClick: m, children: [
|
|
152286
152286
|
/* @__PURE__ */ t.jsxs(DJo, { isSelected: l, children: [
|
|
152287
152287
|
/* @__PURE__ */ t.jsxs(
|
|
152288
152288
|
MJo,
|
|
@@ -154641,7 +154641,7 @@ const aen = i(Fe)`
|
|
|
154641
154641
|
K(() => {
|
|
154642
154642
|
(ue === "In-Progress" && le === "Completed" || ge()) && Qe.resetField(`${Sn}.${CI}`, {
|
|
154643
154643
|
defaultValue: {
|
|
154644
|
-
selectedOptions:
|
|
154644
|
+
selectedOptions: Ze.tagIds,
|
|
154645
154645
|
allOptions: Hw(B.tagList)
|
|
154646
154646
|
}
|
|
154647
154647
|
});
|
|
@@ -154704,7 +154704,7 @@ const aen = i(Fe)`
|
|
|
154704
154704
|
...Ge.recurringEndDateLocalData,
|
|
154705
154705
|
recurringDatePickerOptionsType: "recurringCount"
|
|
154706
154706
|
}
|
|
154707
|
-
} : Ue.includes("selectedFrequency") &&
|
|
154707
|
+
} : Ue.includes("selectedFrequency") && Ze.savedRecurringTasksCount != null && Ze.recurringEndDateLocalData.recurringDatePickerOptionsType === "recurringCount" && (Ge = {
|
|
154708
154708
|
...Ge,
|
|
154709
154709
|
recurringEndDateLocalData: {
|
|
154710
154710
|
recurringCount: 0,
|
|
@@ -154736,7 +154736,7 @@ const aen = i(Fe)`
|
|
|
154736
154736
|
Ue.unsubscribe();
|
|
154737
154737
|
};
|
|
154738
154738
|
});
|
|
154739
|
-
const
|
|
154739
|
+
const qe = Qe.handleSubmit(() => {
|
|
154740
154740
|
const {
|
|
154741
154741
|
taskDetailView: { taskId: Ue, taskDetailLocalData: Tt },
|
|
154742
154742
|
createdByUser: zt
|
|
@@ -154819,7 +154819,7 @@ const aen = i(Fe)`
|
|
|
154819
154819
|
// Reset to originally saved count
|
|
154820
154820
|
}
|
|
154821
154821
|
}, x(Ue);
|
|
154822
|
-
},
|
|
154822
|
+
}, Ze = e.taskDetailView.taskDetailLocalData, bt = e.userList.users.map((Ue) => Ue.user).filter(Boolean), yt = e.taskDetailView.taskId != null && pe != null, It = (Ue) => /* @__PURE__ */ t.jsx(
|
|
154823
154823
|
$o,
|
|
154824
154824
|
{
|
|
154825
154825
|
label: `${Ten.createOption} "${Ue}"`,
|
|
@@ -154836,7 +154836,7 @@ const aen = i(Fe)`
|
|
|
154836
154836
|
type: "text",
|
|
154837
154837
|
placeholderAlignment: "left",
|
|
154838
154838
|
name: wl(Sn, XLe),
|
|
154839
|
-
defaultValue:
|
|
154839
|
+
defaultValue: Ze.name,
|
|
154840
154840
|
placeholder: Bi.taskNamePlaceholder,
|
|
154841
154841
|
style: {
|
|
154842
154842
|
padding: `${o.sp1} ${o.sp0}`,
|
|
@@ -154854,7 +154854,7 @@ const aen = i(Fe)`
|
|
|
154854
154854
|
}
|
|
154855
154855
|
}
|
|
154856
154856
|
) }),
|
|
154857
|
-
|
|
154857
|
+
Ze.type.code === "recurring" ? /* @__PURE__ */ t.jsx(utn, { height: o.sp3, width: o.sp3 }) : null,
|
|
154858
154858
|
Q === !0 && J != null ? /* @__PURE__ */ t.jsx(
|
|
154859
154859
|
Me,
|
|
154860
154860
|
{
|
|
@@ -154952,12 +154952,12 @@ const aen = i(Fe)`
|
|
|
154952
154952
|
/* @__PURE__ */ t.jsx(dtn, { children: Ec.reloadPage.label })
|
|
154953
154953
|
] }) : /* @__PURE__ */ t.jsxs(Oen, { windowSize: oe, children: [
|
|
154954
154954
|
/* @__PURE__ */ t.jsxs(Men, { children: [
|
|
154955
|
-
/* @__PURE__ */ t.jsx(_en, { windowSize: oe, children: /* @__PURE__ */ t.jsxs("form", { id: Fde(zde), onSubmit:
|
|
154955
|
+
/* @__PURE__ */ t.jsx(_en, { windowSize: oe, children: /* @__PURE__ */ t.jsxs("form", { id: Fde(zde), onSubmit: qe, children: [
|
|
154956
154956
|
/* @__PURE__ */ t.jsx(xtn, {}),
|
|
154957
154957
|
/* @__PURE__ */ t.jsx(
|
|
154958
154958
|
sen,
|
|
154959
154959
|
{
|
|
154960
|
-
initialValue:
|
|
154960
|
+
initialValue: Ze.description,
|
|
154961
154961
|
placeholder: Bi.descriptionPlaceholder,
|
|
154962
154962
|
onChange: (Ue) => {
|
|
154963
154963
|
Qe.setValue(
|
|
@@ -155000,7 +155000,7 @@ const aen = i(Fe)`
|
|
|
155000
155000
|
style: { position: "relative" },
|
|
155001
155001
|
capitalizeOptions: !0,
|
|
155002
155002
|
defaultValue: {
|
|
155003
|
-
selectedOption:
|
|
155003
|
+
selectedOption: Ze.status,
|
|
155004
155004
|
allOptions: h2.map(
|
|
155005
155005
|
(Ue) => ({
|
|
155006
155006
|
label: Ue.name,
|
|
@@ -155037,11 +155037,11 @@ const aen = i(Fe)`
|
|
|
155037
155037
|
value: {
|
|
155038
155038
|
allUsers: bt,
|
|
155039
155039
|
selectedUsers: bt.filter(
|
|
155040
|
-
(Ue) =>
|
|
155040
|
+
(Ue) => Ze.assignee.includes(Ue.userId)
|
|
155041
155041
|
),
|
|
155042
155042
|
allUserGroups: H === !0 ? P : [],
|
|
155043
155043
|
selectedUserGroups: H === !0 ? P.filter(
|
|
155044
|
-
(Ue) =>
|
|
155044
|
+
(Ue) => Ze.groupAssignees.includes(
|
|
155045
155045
|
Ue.userGroupId
|
|
155046
155046
|
)
|
|
155047
155047
|
) : []
|
|
@@ -155065,7 +155065,7 @@ const aen = i(Fe)`
|
|
|
155065
155065
|
name: wl(Sn, CI),
|
|
155066
155066
|
placeholder: Bi.tagPlaceholder,
|
|
155067
155067
|
defaultValue: {
|
|
155068
|
-
selectedOptions:
|
|
155068
|
+
selectedOptions: Ze.tagIds,
|
|
155069
155069
|
allOptions: Hw(B.tagList)
|
|
155070
155070
|
},
|
|
155071
155071
|
registerOptions: { required: !1 },
|
|
@@ -155094,7 +155094,7 @@ const aen = i(Fe)`
|
|
|
155094
155094
|
style: { position: "relative" },
|
|
155095
155095
|
capitalizeOptions: !0,
|
|
155096
155096
|
defaultValue: {
|
|
155097
|
-
selectedOption:
|
|
155097
|
+
selectedOption: Ze.priority,
|
|
155098
155098
|
allOptions: Bm.map(
|
|
155099
155099
|
(Ue) => ({
|
|
155100
155100
|
label: Ue.name,
|
|
@@ -155121,7 +155121,7 @@ const aen = i(Fe)`
|
|
|
155121
155121
|
dateField: {
|
|
155122
155122
|
name: wl(Sn, yI),
|
|
155123
155123
|
placeholder: Bi.dueDatePlaceholder,
|
|
155124
|
-
defaultValue:
|
|
155124
|
+
defaultValue: Ze.dueDate,
|
|
155125
155125
|
dateFormat: az.visual.defaultInput,
|
|
155126
155126
|
minDate: at(),
|
|
155127
155127
|
autoComplete: "off",
|
|
@@ -155135,7 +155135,7 @@ const aen = i(Fe)`
|
|
|
155135
155135
|
name: wl(Sn, Hf),
|
|
155136
155136
|
placeholder: ken,
|
|
155137
155137
|
timeSpentFormat: Ien,
|
|
155138
|
-
defaultValue:
|
|
155138
|
+
defaultValue: Ze.timeSpent,
|
|
155139
155139
|
label: {
|
|
155140
155140
|
label: Bi.totalTimeSpent,
|
|
155141
155141
|
width: te
|
|
@@ -155171,7 +155171,7 @@ const aen = i(Fe)`
|
|
|
155171
155171
|
name: wl(Sn, uC),
|
|
155172
155172
|
id: `${Sn}-visibility-public`,
|
|
155173
155173
|
value: "public",
|
|
155174
|
-
checked:
|
|
155174
|
+
checked: Ze.isPrivate === !1,
|
|
155175
155175
|
style: {
|
|
155176
155176
|
height: o.sp3,
|
|
155177
155177
|
width: o.sp3
|
|
@@ -155198,7 +155198,7 @@ const aen = i(Fe)`
|
|
|
155198
155198
|
name: wl(Sn, uC),
|
|
155199
155199
|
id: `${Sn}-visibility-private`,
|
|
155200
155200
|
value: "private",
|
|
155201
|
-
checked:
|
|
155201
|
+
checked: Ze.isPrivate === !0,
|
|
155202
155202
|
style: {
|
|
155203
155203
|
height: o.sp3,
|
|
155204
155204
|
width: o.sp3
|
|
@@ -155258,7 +155258,7 @@ const aen = i(Fe)`
|
|
|
155258
155258
|
name: wl(Sn, Aen),
|
|
155259
155259
|
defaultValue: {
|
|
155260
155260
|
selectedOption: ow.find(
|
|
155261
|
-
(Ue) => Ue.code ===
|
|
155261
|
+
(Ue) => Ue.code === Ze.type.code
|
|
155262
155262
|
)?.name,
|
|
155263
155263
|
allOptions: ow.map(
|
|
155264
155264
|
(Ue) => Ue.name
|
|
@@ -155272,25 +155272,25 @@ const aen = i(Fe)`
|
|
|
155272
155272
|
}
|
|
155273
155273
|
}
|
|
155274
155274
|
) }),
|
|
155275
|
-
|
|
155275
|
+
Ze.type.code === "recurring" ? /* @__PURE__ */ t.jsx(ftn, { children: /* @__PURE__ */ t.jsx(
|
|
155276
155276
|
yXo,
|
|
155277
155277
|
{
|
|
155278
155278
|
name: wl(Sn, xx),
|
|
155279
155279
|
startMinDate: at(),
|
|
155280
155280
|
recurringView: {
|
|
155281
155281
|
selectedEndDate: {
|
|
155282
|
-
type:
|
|
155283
|
-
date:
|
|
155284
|
-
recurringCount:
|
|
155282
|
+
type: Ze.recurringEndDateLocalData?.recurringDatePickerOptionsType,
|
|
155283
|
+
date: Ze.recurringEndDateLocalData?.recurringEndDate,
|
|
155284
|
+
recurringCount: Ze.recurringEndDateLocalData?.recurringCount
|
|
155285
155285
|
},
|
|
155286
155286
|
selectedFrequency: {
|
|
155287
155287
|
allOptions: eBe,
|
|
155288
155288
|
selectedOption: JR.find(
|
|
155289
|
-
(Ue) => Ue.value ===
|
|
155289
|
+
(Ue) => Ue.value === Ze.recurringFrequency
|
|
155290
155290
|
)?.label
|
|
155291
155291
|
},
|
|
155292
|
-
selectedStartDate:
|
|
155293
|
-
selectedDaysOfWeek:
|
|
155292
|
+
selectedStartDate: Ze.recurringStartDate?.toDate() ?? at().toDate(),
|
|
155293
|
+
selectedDaysOfWeek: Ze.recurringDaysOfWeek
|
|
155294
155294
|
},
|
|
155295
155295
|
recurringCountInputLabel: Bi.totalNumberOfTasks,
|
|
155296
155296
|
onClickSave: st,
|
|
@@ -155298,7 +155298,7 @@ const aen = i(Fe)`
|
|
|
155298
155298
|
showDaysOfWeekError: _e,
|
|
155299
155299
|
onDaysOfWeekChange: (Ue) => {
|
|
155300
155300
|
x({
|
|
155301
|
-
...
|
|
155301
|
+
...Ze,
|
|
155302
155302
|
recurringDaysOfWeek: Ue
|
|
155303
155303
|
}), Ue.length === xw && Ie(!1);
|
|
155304
155304
|
}
|
|
@@ -157750,7 +157750,7 @@ const Utn = nt.memo(Qtn), Wde = i(Fe)`
|
|
|
157750
157750
|
isRecommended: x?.isOptionRecommended,
|
|
157751
157751
|
onClick: m,
|
|
157752
157752
|
"data-testid": M("grouped-multi-select-field"),
|
|
157753
|
-
children: /* @__PURE__ */ t.jsx(
|
|
157753
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...e, className: "select-control", children: n === !1 && r === !1 && b() != null ? /* @__PURE__ */ t.jsx(
|
|
157754
157754
|
Fnn,
|
|
157755
157755
|
{
|
|
157756
157756
|
hasError: p,
|
|
@@ -157763,7 +157763,7 @@ const Utn = nt.memo(Qtn), Wde = i(Fe)`
|
|
|
157763
157763
|
}, inn = (e) => {
|
|
157764
157764
|
const { selectProps: n, children: r } = e, { showDownChevronWithValue: s } = n;
|
|
157765
157765
|
return /* @__PURE__ */ t.jsxs(
|
|
157766
|
-
|
|
157766
|
+
Ke.MultiValueContainer,
|
|
157767
157767
|
{
|
|
157768
157768
|
...e,
|
|
157769
157769
|
className: "select-value-container",
|
|
@@ -157776,7 +157776,7 @@ const Utn = nt.memo(Qtn), Wde = i(Fe)`
|
|
|
157776
157776
|
}, rnn = (e) => {
|
|
157777
157777
|
const { selectProps: n } = e, { placeholder: r, value: s, menuIsOpen: a } = n;
|
|
157778
157778
|
return /* @__PURE__ */ t.jsx(
|
|
157779
|
-
|
|
157779
|
+
Ke.Input,
|
|
157780
157780
|
{
|
|
157781
157781
|
...e,
|
|
157782
157782
|
autoComplete: "new-password",
|
|
@@ -157785,7 +157785,7 @@ const Utn = nt.memo(Qtn), Wde = i(Fe)`
|
|
|
157785
157785
|
children: e.children
|
|
157786
157786
|
}
|
|
157787
157787
|
);
|
|
157788
|
-
}, snn = (e) => /* @__PURE__ */ t.jsx(
|
|
157788
|
+
}, snn = (e) => /* @__PURE__ */ t.jsx(Ke.Group, { ...e, children: e.children }), ann = (e) => {
|
|
157789
157789
|
const [n, r] = W(!0), s = e.data.options[0], a = e.selectProps?.options, l = a == null || a.length === 0 || a[0] === e.data || a[0]?.label === e.data?.label, c = (d) => {
|
|
157790
157790
|
d.stopPropagation(), r(!n);
|
|
157791
157791
|
};
|
|
@@ -157800,7 +157800,7 @@ const Utn = nt.memo(Qtn), Wde = i(Fe)`
|
|
|
157800
157800
|
"grouped-multi-select-field-group-heading"
|
|
157801
157801
|
),
|
|
157802
157802
|
children: [
|
|
157803
|
-
/* @__PURE__ */ t.jsxs(
|
|
157803
|
+
/* @__PURE__ */ t.jsxs(Ke.GroupHeading, { ...e, children: [
|
|
157804
157804
|
/* @__PURE__ */ t.jsx(Bnn, { isGroupOpen: n, children: /* @__PURE__ */ t.jsx(Enn, { className: "close-tick-icon" }) }),
|
|
157805
157805
|
e.children
|
|
157806
157806
|
] }),
|
|
@@ -157818,7 +157818,7 @@ const Utn = nt.memo(Qtn), Wde = i(Fe)`
|
|
|
157818
157818
|
children: e
|
|
157819
157819
|
}
|
|
157820
157820
|
);
|
|
157821
|
-
return /* @__PURE__ */ t.jsx(
|
|
157821
|
+
return /* @__PURE__ */ t.jsx(Ke.MultiValue, { ...n, children: s });
|
|
157822
157822
|
}, cnn = (e) => {
|
|
157823
157823
|
const { data: n, isSelected: r, options: s, isDisabled: a, isFocused: l } = e, { treeViewStructure: c, groupType: d } = e.selectProps, u = D.getLocalizedStrings().transactionDetail.lineItems.allCustom.replace("__custom__", d), {
|
|
157824
157824
|
depth: p,
|
|
@@ -157849,7 +157849,7 @@ const Utn = nt.memo(Qtn), Wde = i(Fe)`
|
|
|
157849
157849
|
isDisabled: a,
|
|
157850
157850
|
isOptionRecommended: S === !0,
|
|
157851
157851
|
showBottomBorder: A == null || S === !1,
|
|
157852
|
-
children: /* @__PURE__ */ t.jsx(
|
|
157852
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, className: "select-option", children: /* @__PURE__ */ t.jsxs(vnn, { children: [
|
|
157853
157853
|
/* @__PURE__ */ t.jsxs(Snn, { isSelected: r, children: [
|
|
157854
157854
|
S === !0 ? (
|
|
157855
157855
|
// We need to show this thunder icon on tran. detail page only where the option is recommended
|
|
@@ -157896,7 +157896,7 @@ const Utn = nt.memo(Qtn), Wde = i(Fe)`
|
|
|
157896
157896
|
] }) })
|
|
157897
157897
|
}
|
|
157898
157898
|
) });
|
|
157899
|
-
}, dnn = ({ children: e, ...n }) => /* @__PURE__ */ t.jsx(
|
|
157899
|
+
}, dnn = ({ children: e, ...n }) => /* @__PURE__ */ t.jsx(Ke.MultiValueLabel, { ...n, children: /* @__PURE__ */ t.jsx(znn, { children: e }) }), unn = ({
|
|
157900
157900
|
children: e,
|
|
157901
157901
|
title: n
|
|
157902
157902
|
}) => /* @__PURE__ */ t.jsxs(fnn, { children: [
|
|
@@ -157905,7 +157905,7 @@ const Utn = nt.memo(Qtn), Wde = i(Fe)`
|
|
|
157905
157905
|
/* @__PURE__ */ t.jsx(ynn, {})
|
|
157906
157906
|
] }),
|
|
157907
157907
|
e
|
|
157908
|
-
] }), hnn = (e) => /* @__PURE__ */ t.jsx(
|
|
157908
|
+
] }), hnn = (e) => /* @__PURE__ */ t.jsx(Ke.MultiValueRemove, { ...e, children: /* @__PURE__ */ t.jsx(sBe, { style: { margin: o.sp0, padding: o.sp0 } }) }), pnn = () => null, mnn = () => null, gnn = i(ci)`
|
|
157909
157909
|
display: block;
|
|
157910
157910
|
padding-top: ${o.sp1};
|
|
157911
157911
|
padding-bottom: ${o.sp1};
|
|
@@ -161923,10 +161923,10 @@ function Vsn({
|
|
|
161923
161923
|
$compactControlRow: re,
|
|
161924
161924
|
isError: S,
|
|
161925
161925
|
selectedValue: te,
|
|
161926
|
-
children: /* @__PURE__ */ t.jsx(
|
|
161926
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...U, className: "select-control", children: U.children })
|
|
161927
161927
|
}
|
|
161928
161928
|
);
|
|
161929
|
-
}, G = (U) => /* @__PURE__ */ t.jsx(
|
|
161929
|
+
}, G = (U) => /* @__PURE__ */ t.jsx(Ke.ValueContainer, { ...U, className: "select-value-container", children: U.children }), Y = (U) => /* @__PURE__ */ t.jsx(Hsn, { windowSize: A, children: U.children }), q = (U, Z) => Z && typeof U.label == "string" ? U.label.toLowerCase().includes(Z.toLowerCase()) || U.data?.data?.email?.toLowerCase().includes(Z.toLowerCase()) : !0;
|
|
161930
161930
|
return /* @__PURE__ */ t.jsx(
|
|
161931
161931
|
r$e,
|
|
161932
161932
|
{
|
|
@@ -162854,7 +162854,7 @@ function van({
|
|
|
162854
162854
|
})
|
|
162855
162855
|
}, k = (B) => {
|
|
162856
162856
|
const { isSelected: P } = B;
|
|
162857
|
-
return /* @__PURE__ */ y2(
|
|
162857
|
+
return /* @__PURE__ */ y2(Ke.Option, { ...B, key: B.data.value }, /* @__PURE__ */ t.jsxs(Ean, { role: B.data.value, forZeniUser: n, children: [
|
|
162858
162858
|
/* @__PURE__ */ t.jsx(ci, { children: B.data.label }),
|
|
162859
162859
|
!!P && /* @__PURE__ */ t.jsxs("div", { children: [
|
|
162860
162860
|
/* @__PURE__ */ t.jsx(
|
|
@@ -162896,7 +162896,7 @@ function van({
|
|
|
162896
162896
|
isError: x,
|
|
162897
162897
|
isValuePlacedAtEnd: p,
|
|
162898
162898
|
windowSize: b,
|
|
162899
|
-
children: /* @__PURE__ */ t.jsx(
|
|
162899
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...B, className: "select-control", children: B.children })
|
|
162900
162900
|
}
|
|
162901
162901
|
);
|
|
162902
162902
|
};
|
|
@@ -162946,7 +162946,7 @@ function van({
|
|
|
162946
162946
|
const San = (e) => {
|
|
162947
162947
|
const { selectProps: n } = e, { placeholder: r, value: s, isMulti: a } = n;
|
|
162948
162948
|
return /* @__PURE__ */ t.jsx(
|
|
162949
|
-
|
|
162949
|
+
Ke.Input,
|
|
162950
162950
|
{
|
|
162951
162951
|
...e,
|
|
162952
162952
|
autoComplete: "new-password",
|
|
@@ -162954,10 +162954,10 @@ const San = (e) => {
|
|
|
162954
162954
|
children: e.children
|
|
162955
162955
|
}
|
|
162956
162956
|
);
|
|
162957
|
-
}, jan = () => null, wue = (e, n, r, s) => e && !n && r !== "delete" ? s.colors.primary : n ? s.colors.grey1 : r === "delete" ? j.important : s.colors.champion, Aan = () => null, kan = () => null, Ian = () => null, Tan = ({ children: e, data: n, ...r }) => /* @__PURE__ */ t.jsx(
|
|
162957
|
+
}, jan = () => null, wue = (e, n, r, s) => e && !n && r !== "delete" ? s.colors.primary : n ? s.colors.grey1 : r === "delete" ? j.important : s.colors.champion, Aan = () => null, kan = () => null, Ian = () => null, Tan = ({ children: e, data: n, ...r }) => /* @__PURE__ */ t.jsx(Ke.MultiValueLabel, { ...r, children: /* @__PURE__ */ t.jsxs(Ban, { children: [
|
|
162958
162958
|
e,
|
|
162959
162959
|
/* @__PURE__ */ t.jsx(Pan, { className: "seperator", children: "," })
|
|
162960
|
-
] }) }), Lan = ({ children: e, ...n }) => /* @__PURE__ */ t.jsx(
|
|
162960
|
+
] }) }), Lan = ({ children: e, ...n }) => /* @__PURE__ */ t.jsx(Ke.ValueContainer, { ...n, className: "select-value-container", children: e }), Ban = i($e)`
|
|
162961
162961
|
padding: ${o.sp0} 2px;
|
|
162962
162962
|
max-width: 104px;
|
|
162963
162963
|
white-space: nowrap;
|
|
@@ -164591,9 +164591,9 @@ const _ln = (e) => /* @__PURE__ */ y.createElement("svg", { width: 72, height: 7
|
|
|
164591
164591
|
ue
|
|
164592
164592
|
), Qe = _e(
|
|
164593
164593
|
le
|
|
164594
|
-
), Oe = _e(ae),
|
|
164594
|
+
), Oe = _e(ae), qe = _e(ge), st = Nt.sourceOfFundOptions, ut = (Ge) => st[Ge] ?? Ge, Ze = F?.selectedOption ?? Ce, bt = (Ge) => HTe(
|
|
164595
164595
|
Ge,
|
|
164596
|
-
|
|
164596
|
+
Ze
|
|
164597
164597
|
), yt = (Ge) => e.find((pt) => pt.code === Ge)?.name ?? Ge, It = B[p] != null && B[p]?.regulatedStatus != null, Ue = B[p] != null && B[p]?.regulatedStatusDescription != null, Tt = B[p] != null && B[p]?.usNexus != null, zt = B[p] != null && B[p]?.usNexusTypes != null;
|
|
164598
164598
|
return /* @__PURE__ */ t.jsxs(qln, { style: u, ref: I, windowSize: L, children: [
|
|
164599
164599
|
/* @__PURE__ */ t.jsxs(Zln, { children: [
|
|
@@ -164915,7 +164915,7 @@ const _ln = (e) => /* @__PURE__ */ y.createElement("svg", { width: 72, height: 7
|
|
|
164915
164915
|
}
|
|
164916
164916
|
}
|
|
164917
164917
|
),
|
|
164918
|
-
|
|
164918
|
+
Ze != null && /* @__PURE__ */ t.jsx(
|
|
164919
164919
|
vr,
|
|
164920
164920
|
{
|
|
164921
164921
|
isSecondaryInput: !0,
|
|
@@ -164938,7 +164938,7 @@ const _ln = (e) => /* @__PURE__ */ y.createElement("svg", { width: 72, height: 7
|
|
|
164938
164938
|
defaultValue: {
|
|
164939
164939
|
selectedOption: ce,
|
|
164940
164940
|
allOptions: y7(
|
|
164941
|
-
|
|
164941
|
+
Ze
|
|
164942
164942
|
)
|
|
164943
164943
|
},
|
|
164944
164944
|
registerOptions: {
|
|
@@ -165489,7 +165489,7 @@ const _ln = (e) => /* @__PURE__ */ y.createElement("svg", { width: 72, height: 7
|
|
|
165489
165489
|
]
|
|
165490
165490
|
}
|
|
165491
165491
|
) }) : null,
|
|
165492
|
-
|
|
165492
|
+
qe ? /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsxs(
|
|
165493
165493
|
mz,
|
|
165494
165494
|
{
|
|
165495
165495
|
className: "regulated-status-us-nexus",
|
|
@@ -166291,7 +166291,7 @@ function hcn({
|
|
|
166291
166291
|
display: "flex",
|
|
166292
166292
|
alignItems: "center"
|
|
166293
166293
|
})
|
|
166294
|
-
}, P = ({ children: _, ...R }) => /* @__PURE__ */ t.jsxs(
|
|
166294
|
+
}, P = ({ children: _, ...R }) => /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...R, children: [
|
|
166295
166295
|
_,
|
|
166296
166296
|
x === !0 ? /* @__PURE__ */ t.jsxs(
|
|
166297
166297
|
Icn,
|
|
@@ -166394,7 +166394,7 @@ const pcn = i.div``, mcn = i.div`
|
|
|
166394
166394
|
justify-content: center;
|
|
166395
166395
|
`, $cn = (e) => {
|
|
166396
166396
|
const { data: n, options: r, isSelected: s } = e, a = r.findIndex((l) => l.value === n.value);
|
|
166397
|
-
return /* @__PURE__ */ t.jsx(pcn, { children: /* @__PURE__ */ t.jsx(
|
|
166397
|
+
return /* @__PURE__ */ t.jsx(pcn, { children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, children: /* @__PURE__ */ t.jsxs(xcn, { children: [
|
|
166398
166398
|
/* @__PURE__ */ t.jsxs(vcn, { children: [
|
|
166399
166399
|
/* @__PURE__ */ t.jsx(Scn, { children: n?.photo !== void 0 ? /* @__PURE__ */ t.jsx(
|
|
166400
166400
|
CBe,
|
|
@@ -166433,7 +166433,7 @@ const pcn = i.div``, mcn = i.div`
|
|
|
166433
166433
|
text-overflow: ellipsis;
|
|
166434
166434
|
`, Acn = ({ children: e, data: n, ...r }) => {
|
|
166435
166435
|
const { options: s } = r.selectProps, a = s.findIndex((l) => l.value === n.value);
|
|
166436
|
-
return /* @__PURE__ */ t.jsx(
|
|
166436
|
+
return /* @__PURE__ */ t.jsx(Ke.MultiValueLabel, { ...r, children: /* @__PURE__ */ t.jsxs(Bcn, { children: [
|
|
166437
166437
|
n?.photo !== void 0 ? /* @__PURE__ */ t.jsx(
|
|
166438
166438
|
CBe,
|
|
166439
166439
|
{
|
|
@@ -166454,7 +166454,7 @@ const pcn = i.div``, mcn = i.div`
|
|
|
166454
166454
|
),
|
|
166455
166455
|
/* @__PURE__ */ t.jsx(jcn, { children: e })
|
|
166456
166456
|
] }) });
|
|
166457
|
-
}, kcn = ({ children: e, ...n }) => /* @__PURE__ */ t.jsxs(
|
|
166457
|
+
}, kcn = ({ children: e, ...n }) => /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...n, children: [
|
|
166458
166458
|
n.selectProps.value == null ? /* @__PURE__ */ t.jsx(gcn, { children: /* @__PURE__ */ t.jsx(fcn, {}) }) : null,
|
|
166459
166459
|
e
|
|
166460
166460
|
] }), Icn = i(Fe)`
|
|
@@ -166532,8 +166532,8 @@ function wBe({
|
|
|
166532
166532
|
) : null, se = r.find(
|
|
166533
166533
|
(Oe) => Oe.userId === te?.userId
|
|
166534
166534
|
), ne = r.sort(
|
|
166535
|
-
(Oe,
|
|
166536
|
-
|
|
166535
|
+
(Oe, qe) => (Oe.firstName || Oe.lastName ? `${Oe.firstName} ${Oe.lastName}` : Oe.email).localeCompare(
|
|
166536
|
+
qe.firstName || qe.lastName ? `${qe.firstName} ${qe.lastName}` : qe.email
|
|
166537
166537
|
)
|
|
166538
166538
|
), pe = q ? ne.findIndex(
|
|
166539
166539
|
(Oe) => Oe.userId === te?.userId
|
|
@@ -166549,14 +166549,14 @@ function wBe({
|
|
|
166549
166549
|
right: "initial",
|
|
166550
166550
|
left: 0
|
|
166551
166551
|
})
|
|
166552
|
-
}, Ie = (Oe) => A.find((
|
|
166552
|
+
}, Ie = (Oe) => A.find((qe) => qe.code === Oe)?.name ?? Oe, Pe = te?.otpverificationStatus?.fetchState, He = et(
|
|
166553
166553
|
Pe
|
|
166554
166554
|
);
|
|
166555
166555
|
K(() => {
|
|
166556
166556
|
N != null && He === "In-Progress" && Pe === "Completed" && N(G(`${ee}.phone`));
|
|
166557
166557
|
}, [He, Pe]);
|
|
166558
|
-
const ze = (Oe,
|
|
166559
|
-
z(Oe,
|
|
166558
|
+
const ze = (Oe, qe) => {
|
|
166559
|
+
z(Oe, qe);
|
|
166560
166560
|
}, Re = () => F == null || F === "" ? !1 : G(`${ee}.phone`) === F, Qe = () => {
|
|
166561
166561
|
const Oe = G(`${ee}.phone`);
|
|
166562
166562
|
return Oe != null && !H0(Oe) ? le.phoneErrorForOnboarding : le.phoneError.replace("_product_type_", xe);
|
|
@@ -166636,7 +166636,7 @@ function wBe({
|
|
|
166636
166636
|
selectedUser: se,
|
|
166637
166637
|
allUsers: r,
|
|
166638
166638
|
onSelectedUserChanged: (Oe) => {
|
|
166639
|
-
const
|
|
166639
|
+
const qe = Object.values(
|
|
166640
166640
|
e
|
|
166641
166641
|
).findIndex(
|
|
166642
166642
|
(st) => st?.userId === Oe?.userId
|
|
@@ -166645,7 +166645,7 @@ function wBe({
|
|
|
166645
166645
|
`${ee}.isSelectedForVerification`,
|
|
166646
166646
|
!1
|
|
166647
166647
|
), Y(
|
|
166648
|
-
`${u}.${
|
|
166648
|
+
`${u}.${qe}.isSelectedForVerification`,
|
|
166649
166649
|
!0
|
|
166650
166650
|
);
|
|
166651
166651
|
},
|
|
@@ -166665,12 +166665,12 @@ function wBe({
|
|
|
166665
166665
|
}
|
|
166666
166666
|
) }) }) : null
|
|
166667
166667
|
] }) }),
|
|
166668
|
-
Object.values(e).map((Oe,
|
|
166669
|
-
if (J !==
|
|
166668
|
+
Object.values(e).map((Oe, qe) => {
|
|
166669
|
+
if (J !== qe)
|
|
166670
166670
|
return null;
|
|
166671
166671
|
const st = w4(
|
|
166672
166672
|
Oe?.documentTypeSelectedForVerification
|
|
166673
|
-
), ut = Oe?.userFiles ?? [],
|
|
166673
|
+
), ut = Oe?.userFiles ?? [], Ze = () => F != "" && S === "onboarding" ? Re() : Oe?.isPhoneVerified ?? !1;
|
|
166674
166674
|
return /* @__PURE__ */ t.jsxs(Ycn, { children: [
|
|
166675
166675
|
/* @__PURE__ */ t.jsx(fBe, {}),
|
|
166676
166676
|
/* @__PURE__ */ t.jsx(
|
|
@@ -166904,7 +166904,7 @@ function wBe({
|
|
|
166904
166904
|
onGetOtp: R,
|
|
166905
166905
|
onVerifyOtp: ze,
|
|
166906
166906
|
onResendOtp: V,
|
|
166907
|
-
isPhoneVerified:
|
|
166907
|
+
isPhoneVerified: Ze(),
|
|
166908
166908
|
phoneVerificationStatus: Oe?.otpverificationStatus,
|
|
166909
166909
|
getOtpStatus: Oe?.sendOtpStatus,
|
|
166910
166910
|
openPopup: _,
|
|
@@ -167240,20 +167240,20 @@ const M1 = (e, n) => `${e}.${n}`, Ecn = i.div`
|
|
|
167240
167240
|
}), { isValid: ce } = Ce.formState, de = U?.company.company.companyBillPayInfo, ue = U?.company.company.companyTreasuryInfo, le = c === "zeni_treasury" ? ue?.companyVerificationStatus : de?.companyVerificationStatus, ae = Object.values(J).findIndex(
|
|
167241
167241
|
(ze) => ze?.isSelectedForVerification === !0
|
|
167242
167242
|
), ge = `Officer_${ae < 0 ? 1 : ae + 1}`, xe = () => {
|
|
167243
|
-
const ze = J[ge], Re = ze?.email, Qe = ze?.birthday?.toString(), Oe = ze?.ownershipInCompany,
|
|
167243
|
+
const ze = J[ge], Re = ze?.email, Qe = ze?.birthday?.toString(), Oe = ze?.ownershipInCompany, qe = ze?.firstName, st = ze?.lastName, ut = ze?.titleAtCompany, Ze = ze?.documentTypeSelectedForVerification, bt = ze?.phone, yt = ze?.addressStatus?.addressToCreate, It = yt != null ? Pr(yt) : void 0, Ue = Z?.companyDescription, Tt = Z?.companyLegalName, zt = Z?.companyIndustry, Ge = Z?.phone, pt = Z?.website, wt = Z?.addressStatus?.addressToCreate != null ? Pr(
|
|
167244
167244
|
Z?.addressStatus?.addressToCreate
|
|
167245
167245
|
) : void 0, $t = Z?.primaryContactLocalData, Ut = $t?.firstName, oo = $t?.lastName, Fo = $t?.email;
|
|
167246
|
-
Re != null && Oe != null &&
|
|
167246
|
+
Re != null && Oe != null && qe != null && st != null && Qe != null && ut != null && bt != null && It != null && Ze != null && Ue != null && Tt != null && Ge != null && pt != null && zt != null && Tt != null && wt != null && Ut != null && oo != null && Fo != null && x?.trackBusinessVerificationSend(
|
|
167247
167247
|
{
|
|
167248
167248
|
email: Re,
|
|
167249
167249
|
birthday: Qe.toString(),
|
|
167250
167250
|
companyOwnership: Oe,
|
|
167251
|
-
firstName:
|
|
167251
|
+
firstName: qe,
|
|
167252
167252
|
lastName: st,
|
|
167253
167253
|
companyRole: ut,
|
|
167254
167254
|
phone: bt,
|
|
167255
167255
|
formattedAddress: It,
|
|
167256
|
-
documentTypeForVerification:
|
|
167256
|
+
documentTypeForVerification: Ze
|
|
167257
167257
|
},
|
|
167258
167258
|
{
|
|
167259
167259
|
companyDescription: Ue,
|
|
@@ -167272,11 +167272,11 @@ const M1 = (e, n) => `${e}.${n}`, Ecn = i.div`
|
|
|
167272
167272
|
g ? "Settings" : void 0
|
|
167273
167273
|
);
|
|
167274
167274
|
}, me = () => {
|
|
167275
|
-
const ze = J[ge], Re = Z?.primaryContactLocalData, Qe = ze?.email ?? "", Oe = !!ze?.firstName && !!ze?.lastName,
|
|
167275
|
+
const ze = J[ge], Re = Z?.primaryContactLocalData, Qe = ze?.email ?? "", Oe = !!ze?.firstName && !!ze?.lastName, qe = Re?.email ?? "", st = !!Re?.firstName && !!Re?.lastName;
|
|
167276
167276
|
return Qe && !Oe ? ((!ze?.firstName || !ze?.lastName) && Ce.trigger(
|
|
167277
167277
|
`${y0}.${ae < 0 ? 0 : ae}.name`,
|
|
167278
167278
|
{ shouldFocus: !0 }
|
|
167279
|
-
), !1) :
|
|
167279
|
+
), !1) : qe && !st ? ((!Re?.firstName || !Re?.lastName) && Ce.trigger(`${x0}.primaryContactName`, {
|
|
167280
167280
|
shouldFocus: !0
|
|
167281
167281
|
}), !1) : !0;
|
|
167282
167282
|
}, we = () => {
|
|
@@ -167305,7 +167305,7 @@ const M1 = (e, n) => `${e}.${n}`, Ecn = i.div`
|
|
|
167305
167305
|
const ze = R9e(
|
|
167306
167306
|
Object.values(J).map(
|
|
167307
167307
|
(Oe) => Object.values(Oe?.deleteFileStatusById ?? {}).filter(
|
|
167308
|
-
(
|
|
167308
|
+
(qe) => qe != null
|
|
167309
167309
|
)
|
|
167310
167310
|
)
|
|
167311
167311
|
), Re = Object.values(
|
|
@@ -167364,12 +167364,12 @@ const M1 = (e, n) => `${e}.${n}`, Ecn = i.div`
|
|
|
167364
167364
|
`${x0}.fileIds`
|
|
167365
167365
|
).forEach((Oe) => {
|
|
167366
167366
|
Re.includes(Oe) || ze.push(Oe);
|
|
167367
|
-
}), Ee?.forEach((Oe,
|
|
167367
|
+
}), Ee?.forEach((Oe, qe) => {
|
|
167368
167368
|
const st = Oe?.fileIds ?? [];
|
|
167369
167369
|
Ce.getValues(
|
|
167370
|
-
`${y0}.${
|
|
167371
|
-
).forEach((
|
|
167372
|
-
st.includes(
|
|
167370
|
+
`${y0}.${qe}.fileIds`
|
|
167371
|
+
).forEach((Ze) => {
|
|
167372
|
+
st.includes(Ze) || ze.push(Ze);
|
|
167373
167373
|
});
|
|
167374
167374
|
}), ze.length !== 0 && z?.(ze);
|
|
167375
167375
|
},
|
|
@@ -167564,8 +167564,8 @@ const M1 = (e, n) => `${e}.${n}`, Ecn = i.div`
|
|
|
167564
167564
|
else {
|
|
167565
167565
|
const ze = J[ge], Re = Z?.primaryContactLocalData;
|
|
167566
167566
|
se !== "save" && ne("save");
|
|
167567
|
-
const Qe = ze?.email ?? "", Oe = me(),
|
|
167568
|
-
Oe &&
|
|
167567
|
+
const Qe = ze?.email ?? "", Oe = me(), qe = we();
|
|
167568
|
+
Oe && qe && (x?.trackBusinessVerificationSave(
|
|
167569
167569
|
{
|
|
167570
167570
|
email: Qe,
|
|
167571
167571
|
birthday: ze?.birthday?.toString(),
|
|
@@ -169628,7 +169628,7 @@ const wun = i.div`
|
|
|
169628
169628
|
description: "",
|
|
169629
169629
|
primaryButtonText: "",
|
|
169630
169630
|
secondaryButtonText: ""
|
|
169631
|
-
}), [Pe, He] = W("approved"), [ze, Re] = W(!1), [Qe, Oe] = W(!1), [
|
|
169631
|
+
}), [Pe, He] = W("approved"), [ze, Re] = W(!1), [Qe, Oe] = W(!1), [qe, st] = W(!1), ut = () => Re(!1), Ze = () => Re(!0), bt = et(
|
|
169632
169632
|
e.zeniAssist?.refundStatus.fetchState
|
|
169633
169633
|
), yt = ye(() => {
|
|
169634
169634
|
v();
|
|
@@ -169783,7 +169783,7 @@ const wun = i.div`
|
|
|
169783
169783
|
xY,
|
|
169784
169784
|
{
|
|
169785
169785
|
paymentTypeLabel: tr,
|
|
169786
|
-
onClick:
|
|
169786
|
+
onClick: Ze,
|
|
169787
169787
|
style: { marginTop: `${H === "small" ? o.sp2 : o.sp0}` }
|
|
169788
169788
|
}
|
|
169789
169789
|
) : void 0, Di = () => co?.paymentToBankAccount == null && co?.paymentToPI == null && co?.paymentType?.method != null && e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact && e.transactionDetails?.billPayInfo.paymentDate != null ? /* @__PURE__ */ t.jsx(
|
|
@@ -169810,7 +169810,7 @@ const wun = i.div`
|
|
|
169810
169810
|
Yt.paymentMode ?? "other",
|
|
169811
169811
|
It?.code ?? "",
|
|
169812
169812
|
pt?.code ?? ""
|
|
169813
|
-
), E(!0,
|
|
169813
|
+
), E(!0, qe, Yt);
|
|
169814
169814
|
}, ro = () => {
|
|
169815
169815
|
Oe(!0), p.trackBillPayMarkAsPaid(
|
|
169816
169816
|
It?.code ?? "",
|
|
@@ -169819,7 +169819,7 @@ const wun = i.div`
|
|
|
169819
169819
|
}, Et = () => {
|
|
169820
169820
|
st(!0), ro();
|
|
169821
169821
|
}, uo = () => {
|
|
169822
|
-
B(), Oe(!1),
|
|
169822
|
+
B(), Oe(!1), qe && st(!1);
|
|
169823
169823
|
}, Qi = je(
|
|
169824
169824
|
() => ({
|
|
169825
169825
|
companyId: Q.currentTenant?.companyId ?? G1,
|
|
@@ -172608,9 +172608,9 @@ const mpn = ({
|
|
|
172608
172608
|
)
|
|
172609
172609
|
}
|
|
172610
172610
|
);
|
|
172611
|
-
}, gpn = ({ children: e, ...n }) => /* @__PURE__ */ t.jsx(
|
|
172611
|
+
}, gpn = ({ children: e, ...n }) => /* @__PURE__ */ t.jsx(Ke.SingleValue, { ...n, children: e }), fpn = (e) => {
|
|
172612
172612
|
const { data: n, options: r, isFocused: s, label: a, isSelected: l } = e, c = r.find((u) => u.value === n.value), d = typeof n.label == "string" ? n.label : n.value;
|
|
172613
|
-
return /* @__PURE__ */ t.jsxs(
|
|
172613
|
+
return /* @__PURE__ */ t.jsxs(Ke.Option, { ...e, children: [
|
|
172614
172614
|
/* @__PURE__ */ t.jsxs(
|
|
172615
172615
|
xpn,
|
|
172616
172616
|
{
|
|
@@ -177429,7 +177429,7 @@ const Emn = i.div`
|
|
|
177429
177429
|
)
|
|
177430
177430
|
), [He, ze] = W(!1), [Re, Qe] = W(
|
|
177431
177431
|
null
|
|
177432
|
-
), [Oe,
|
|
177432
|
+
), [Oe, qe] = W(!1), st = `dashboard_${Ae.currentTenant?.companyId}`, ut = Mt({
|
|
177433
177433
|
mode: "all",
|
|
177434
177434
|
reValidateMode: "onChange",
|
|
177435
177435
|
defaultValues: je(
|
|
@@ -177444,7 +177444,7 @@ const Emn = i.div`
|
|
|
177444
177444
|
keepErrors: !0
|
|
177445
177445
|
},
|
|
177446
177446
|
shouldFocusError: !0
|
|
177447
|
-
}), { isDirty:
|
|
177447
|
+
}), { isDirty: Ze, dirtyFields: bt } = ut.formState, yt = async (vt, ro) => {
|
|
177448
177448
|
const { lineInfo: Et } = ro, uo = Number(vt.split(".")[1]);
|
|
177449
177449
|
if (vt.includes("reportTitle") || vt.includes("memo"))
|
|
177450
177450
|
return;
|
|
@@ -177723,7 +177723,7 @@ const Emn = i.div`
|
|
|
177723
177723
|
}
|
|
177724
177724
|
}
|
|
177725
177725
|
}, Ti = () => {
|
|
177726
|
-
|
|
177726
|
+
Ze || nu(bt) ? (kn({
|
|
177727
177727
|
title: Io.discardTitle,
|
|
177728
177728
|
description: Io.discardDescription,
|
|
177729
177729
|
primaryButtonText: Io.buttons.discard,
|
|
@@ -177870,7 +177870,7 @@ const Emn = i.div`
|
|
|
177870
177870
|
wi(ro);
|
|
177871
177871
|
const Et = vt.entityType.split("."), uo = parseInt(Et[2]);
|
|
177872
177872
|
if (isNaN(uo)) {
|
|
177873
|
-
|
|
177873
|
+
qe(!1);
|
|
177874
177874
|
return;
|
|
177875
177875
|
}
|
|
177876
177876
|
const Qi = `${uo + 1}`, tn = e.lineDetailSection[uo + 1].type;
|
|
@@ -177882,7 +177882,7 @@ const Emn = i.div`
|
|
|
177882
177882
|
iJ(Io.outOfPocketKey),
|
|
177883
177883
|
Qi,
|
|
177884
177884
|
g
|
|
177885
|
-
),
|
|
177885
|
+
), qe(!1);
|
|
177886
177886
|
};
|
|
177887
177887
|
return /* @__PURE__ */ t.jsx(ogn, { children: /* @__PURE__ */ t.jsx(
|
|
177888
177888
|
k3,
|
|
@@ -178057,7 +178057,7 @@ const Emn = i.div`
|
|
|
178057
178057
|
companyName: Ae.currentTenant?.companyName ?? "",
|
|
178058
178058
|
entityType: "reimbursement.details",
|
|
178059
178059
|
entityId: g
|
|
178060
|
-
}),
|
|
178060
|
+
}), qe(!0), m?.trackCommentActivity(
|
|
178061
178061
|
"reimbursement",
|
|
178062
178062
|
// pageName
|
|
178063
178063
|
"clicked",
|
|
@@ -178365,7 +178365,7 @@ const Emn = i.div`
|
|
|
178365
178365
|
threadUnResolve: Xmn
|
|
178366
178366
|
},
|
|
178367
178367
|
onThreadClick: (vt, ro) => Mo(vt, ro),
|
|
178368
|
-
onCloseAllThreadsDrawer: () =>
|
|
178368
|
+
onCloseAllThreadsDrawer: () => qe(!1),
|
|
178369
178369
|
drawerSectionStyle: {
|
|
178370
178370
|
width: "400px",
|
|
178371
178371
|
backgroundColor: Te.colors.background
|
|
@@ -178792,7 +178792,7 @@ const Emn = i.div`
|
|
|
178792
178792
|
}), V(!0);
|
|
178793
178793
|
}, Oe = () => {
|
|
178794
178794
|
C();
|
|
178795
|
-
},
|
|
178795
|
+
}, qe = {
|
|
178796
178796
|
onOkClick: (lt) => {
|
|
178797
178797
|
Q(!1), $({
|
|
178798
178798
|
reimbursementId: e.remiDetails?.id ?? "",
|
|
@@ -178810,13 +178810,13 @@ const Emn = i.div`
|
|
|
178810
178810
|
}));
|
|
178811
178811
|
}, ut = () => {
|
|
178812
178812
|
e.remiDetails?.reimbursementInfo.billStatus.code === "rejected" ? (Y("delete"), ze()) : (Y("rejected"), Q(!0));
|
|
178813
|
-
},
|
|
178813
|
+
}, Ze = e.remiDetails?.reimbursementInfo.paymentDate != null ? Ct(
|
|
178814
178814
|
ys(
|
|
178815
178815
|
e.remiDetails.reimbursementInfo.paymentDate.toDate(),
|
|
178816
178816
|
[0, 6],
|
|
178817
178817
|
e.achSameDayMaxDays
|
|
178818
178818
|
).toDateString()
|
|
178819
|
-
) : void 0, bt = e.remiDetails?.reimbursementInfo.expectedDepositDate ??
|
|
178819
|
+
) : void 0, bt = e.remiDetails?.reimbursementInfo.expectedDepositDate ?? Ze, yt = e.remiDetails?.lines?.some((lt) => {
|
|
178820
178820
|
const kt = lt.lineDetail;
|
|
178821
178821
|
return kt?.account?.isDeleted === !0 && kt?.account?.isBillEditableCoaAccountType === !1;
|
|
178822
178822
|
}) ?? !1, It = e.remiDetails?.reimbursementInfo.billStatus.code === "pending_approval" && m && !yt, Ue = e.remiDetails?.reimbursementInfo.billStatus.code !== "rejected" && e.remiDetails?.reimbursementInfo.billPaymentStatus.code !== "paid", Tt = Ee?.code, zt = MBe(
|
|
@@ -178879,7 +178879,7 @@ const Emn = i.div`
|
|
|
178879
178879
|
descriptionComponent: /* @__PURE__ */ t.jsx(Xo, { children: me.rejectRemiDescription }),
|
|
178880
178880
|
primaryButtonText: me.buttons.send,
|
|
178881
178881
|
secondaryButtonText: me.buttons.cancel,
|
|
178882
|
-
action:
|
|
178882
|
+
action: qe,
|
|
178883
178883
|
useLegacyStyles: !0,
|
|
178884
178884
|
isEditPopup: !0,
|
|
178885
178885
|
isNotesIncluded: !0,
|
|
@@ -182776,7 +182776,7 @@ const tfn = () => /* @__PURE__ */ t.jsx("div", {}), ofn = () => null, nfn = (e)
|
|
|
182776
182776
|
{
|
|
182777
182777
|
isDisabled: r,
|
|
182778
182778
|
isImportant: e.value === "close" || e.value === "revokeInvite",
|
|
182779
|
-
children: /* @__PURE__ */ t.jsx(
|
|
182779
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, children: /* @__PURE__ */ t.jsx(
|
|
182780
182780
|
Ffn,
|
|
182781
182781
|
{
|
|
182782
182782
|
isCopy: e.value === "copy",
|
|
@@ -182881,11 +182881,11 @@ const tfn = () => /* @__PURE__ */ t.jsx("div", {}), ofn = () => null, nfn = (e)
|
|
|
182881
182881
|
}
|
|
182882
182882
|
);
|
|
182883
182883
|
};
|
|
182884
|
-
return /* @__PURE__ */ t.jsxs(
|
|
182884
|
+
return /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...n, style: { padding: 0 }, children: [
|
|
182885
182885
|
r === !0 ? u() : /* @__PURE__ */ t.jsx(t.Fragment, { children: afn(s, c, a) }),
|
|
182886
182886
|
e
|
|
182887
182887
|
] });
|
|
182888
|
-
}, sfn = ({ children: e, ...n }) => /* @__PURE__ */ t.jsx(
|
|
182888
|
+
}, sfn = ({ children: e, ...n }) => /* @__PURE__ */ t.jsx(Ke.MenuList, { ...n, children: nt.Children.map(e, (r, s) => {
|
|
182889
182889
|
const a = nt.isValidElement(r) && (r.props?.data?.value === "close" || r.props?.data?.value === "revokeInvite");
|
|
182890
182890
|
return /* @__PURE__ */ t.jsxs(nt.Fragment, { children: [
|
|
182891
182891
|
nt.Children.count(e) > 1 && s === nt.Children.count(e) - 1 && a && /* @__PURE__ */ t.jsx(_fn, {}),
|
|
@@ -183133,10 +183133,10 @@ const tfn = () => /* @__PURE__ */ t.jsx("div", {}), ofn = () => null, nfn = (e)
|
|
|
183133
183133
|
);
|
|
183134
183134
|
}, Gfn = (e, n) => {
|
|
183135
183135
|
const r = n?.(e.data.value) ?? e.data.label;
|
|
183136
|
-
return /* @__PURE__ */ t.jsx(
|
|
183136
|
+
return /* @__PURE__ */ t.jsx(Ke.SingleValue, { ...e, children: /* @__PURE__ */ t.jsx(Ao, { children: r }) });
|
|
183137
183137
|
}, Yfn = (e, n) => {
|
|
183138
183138
|
const { isSelected: r } = e, s = n?.(e.data.value) ?? e.data.label;
|
|
183139
|
-
return /* @__PURE__ */ t.jsx(
|
|
183139
|
+
return /* @__PURE__ */ t.jsx(Ke.Option, { ...e, children: /* @__PURE__ */ t.jsxs(Qfn, { children: [
|
|
183140
183140
|
/* @__PURE__ */ t.jsx($e, { children: s }),
|
|
183141
183141
|
r ? /* @__PURE__ */ t.jsx(Ufn, {}) : null
|
|
183142
183142
|
] }) });
|
|
@@ -183353,7 +183353,7 @@ const tfn = () => /* @__PURE__ */ t.jsx("div", {}), ofn = () => null, nfn = (e)
|
|
|
183353
183353
|
value: r.name
|
|
183354
183354
|
})) ?? []).sort((r, s) => (r.label ?? "").localeCompare(s.label ?? "")), s3n = (e) => {
|
|
183355
183355
|
const { selectProps: n } = e, { options: r, filterCategoryType: s, renderOptionIcon: a } = n, l = r.findIndex((c) => c.value === e.data.value);
|
|
183356
|
-
return /* @__PURE__ */ t.jsx(
|
|
183356
|
+
return /* @__PURE__ */ t.jsx(Ke.MultiValueLabel, { ...e, children: /* @__PURE__ */ t.jsxs(Jfn, { children: [
|
|
183357
183357
|
rEe(
|
|
183358
183358
|
e.data,
|
|
183359
183359
|
l,
|
|
@@ -183369,7 +183369,7 @@ const tfn = () => /* @__PURE__ */ t.jsx("div", {}), ofn = () => null, nfn = (e)
|
|
|
183369
183369
|
isSelected: s,
|
|
183370
183370
|
...a
|
|
183371
183371
|
} = e.innerProps, { options: l, filterCategoryType: c, renderOptionIcon: d } = e.selectProps, u = l.findIndex((m) => m.value === e.data.value), p = { ...e, innerProps: a };
|
|
183372
|
-
return /* @__PURE__ */ t.jsx(
|
|
183372
|
+
return /* @__PURE__ */ t.jsx(Ke.Option, { ...p, children: /* @__PURE__ */ t.jsxs(e3n, { children: [
|
|
183373
183373
|
/* @__PURE__ */ t.jsxs(Xfn, { children: [
|
|
183374
183374
|
rEe(
|
|
183375
183375
|
e.data,
|
|
@@ -183381,7 +183381,7 @@ const tfn = () => /* @__PURE__ */ t.jsx("div", {}), ofn = () => null, nfn = (e)
|
|
|
183381
183381
|
] }),
|
|
183382
183382
|
e.isSelected && /* @__PURE__ */ t.jsx(o3n, {})
|
|
183383
183383
|
] }) });
|
|
183384
|
-
}, l3n = (e) => /* @__PURE__ */ t.jsx(
|
|
183384
|
+
}, l3n = (e) => /* @__PURE__ */ t.jsx(Ke.MultiValueRemove, { ...e, children: /* @__PURE__ */ t.jsx(n3n, {}) }), c3n = (e, n) => {
|
|
183385
183385
|
const r = D.getLocalizedStrings().common.filters;
|
|
183386
183386
|
if (e === "searchAutocomplete") {
|
|
183387
183387
|
if (n === "In-Progress")
|
|
@@ -187716,7 +187716,7 @@ const l4n = i.div`
|
|
|
187716
187716
|
)
|
|
187717
187717
|
] }), [Pe, He] = W(
|
|
187718
187718
|
null
|
|
187719
|
-
), [ze, Re] = W(!1), { setRequestToOpenThread: Qe } = Bo(Ji), Oe = `dashboard_${r.currentTenant?.companyId}`,
|
|
187719
|
+
), [ze, Re] = W(!1), { setRequestToOpenThread: Qe } = Bo(Ji), Oe = `dashboard_${r.currentTenant?.companyId}`, qe = x === "bill_pay" ? "bill" : "reimbursement", st = x === "bill_pay" && R || x === "reimbursement" && z, Ze = {
|
|
187720
187720
|
openAllThreadsDrawer: (yt) => {
|
|
187721
187721
|
He({ ...yt }), Re(!0);
|
|
187722
187722
|
}
|
|
@@ -187728,7 +187728,7 @@ const l4n = i.div`
|
|
|
187728
187728
|
k3,
|
|
187729
187729
|
{
|
|
187730
187730
|
sharedItems: {
|
|
187731
|
-
sharedFunctions: { subtreeFunctions:
|
|
187731
|
+
sharedFunctions: { subtreeFunctions: Ze },
|
|
187732
187732
|
sharedRef: void 0
|
|
187733
187733
|
},
|
|
187734
187734
|
children: /* @__PURE__ */ t.jsxs(oyn, { children: [
|
|
@@ -187812,7 +187812,7 @@ const l4n = i.div`
|
|
|
187812
187812
|
eyn,
|
|
187813
187813
|
{
|
|
187814
187814
|
threadData: Pe,
|
|
187815
|
-
collaborationTab:
|
|
187815
|
+
collaborationTab: qe,
|
|
187816
187816
|
isThreadsOpen: ze,
|
|
187817
187817
|
setIsThreadsOpen: Re,
|
|
187818
187818
|
handleThreadClick: bt,
|
|
@@ -203097,19 +203097,19 @@ const ikn = ({
|
|
|
203097
203097
|
officer: Qe
|
|
203098
203098
|
},
|
|
203099
203099
|
subscriptionBillingAddress: Oe
|
|
203100
|
-
} = s,
|
|
203101
|
-
|
|
203100
|
+
} = s, qe = Be(""), st = (tt) => {
|
|
203101
|
+
qe.current = tt;
|
|
203102
203102
|
const St = Object.values(s.companyOfficerLocalData).findIndex(
|
|
203103
203103
|
(it) => it?.isSelectedForVerification === !0
|
|
203104
203104
|
) ?? 0, no = St < 0 ? 0 : St;
|
|
203105
203105
|
ge.clearErrors(`${tc}.${no}.phone`);
|
|
203106
203106
|
}, ut = (tt) => {
|
|
203107
203107
|
tt != null && !H0(tt) ? ge.trigger(
|
|
203108
|
-
`${tc}.${
|
|
203108
|
+
`${tc}.${Ze}.phone`
|
|
203109
203109
|
) : re(tt);
|
|
203110
|
-
},
|
|
203110
|
+
}, Ze = Object.values(Te).findIndex(
|
|
203111
203111
|
(tt) => tt?.isSelectedForVerification === !0
|
|
203112
|
-
) ?? 0, bt = `Officer_${
|
|
203112
|
+
) ?? 0, bt = `Officer_${Ze < 0 ? 1 : Ze + 1}`, yt = we?.companyOfficers.slice(0, 10).sort(
|
|
203113
203113
|
(tt, St) => tt.user.createTime?.isAfter(St.user.createTime) === !0 ? 1 : -1
|
|
203114
203114
|
), It = Te[bt]?.userId != null ? yt?.find(
|
|
203115
203115
|
(tt) => tt.user.userId === Te[bt]?.userId
|
|
@@ -203287,7 +203287,7 @@ const ikn = ({
|
|
|
203287
203287
|
const St = xe();
|
|
203288
203288
|
v?.(St);
|
|
203289
203289
|
}), tt.needsOtp && tt.phoneNumber && H0(tt.phoneNumber)) {
|
|
203290
|
-
const no = ge.formState.errors[tc]?.[
|
|
203290
|
+
const no = ge.formState.errors[tc]?.[Ze < 0 ? 0 : Ze], it = no?.phone, Zo = no != null && Object.keys(no).some(
|
|
203291
203291
|
(qo) => qo !== "phone" && no[qo] != null
|
|
203292
203292
|
);
|
|
203293
203293
|
if (it != null && !Zo) {
|
|
@@ -203358,7 +203358,7 @@ const ikn = ({
|
|
|
203358
203358
|
}, tr = () => {
|
|
203359
203359
|
ke.fetchState !== "In-Progress" && (se(), c.track(bo.onboardingSkipAndSave));
|
|
203360
203360
|
}, Li = () => {
|
|
203361
|
-
const tt = Te[bt], St = tt?.email ?? $t.strings.empty, no = tt?.phone ?? $t.strings.empty, it = tt?.ssn ?? $t.strings.empty, Zo = tt?.ownershipInCompany, qo =
|
|
203361
|
+
const tt = Te[bt], St = tt?.email ?? $t.strings.empty, no = tt?.phone ?? $t.strings.empty, it = tt?.ssn ?? $t.strings.empty, Zo = tt?.ownershipInCompany, qo = Ze < 0 ? 0 : Ze, Xn = !!tt?.firstName && !!tt?.lastName;
|
|
203362
203362
|
let wi = !0, io = !1;
|
|
203363
203363
|
return St && !Xn && (ge.trigger(
|
|
203364
203364
|
[
|
|
@@ -203370,7 +203370,7 @@ const ikn = ({
|
|
|
203370
203370
|
shouldFocus: Ae === "company_officer"
|
|
203371
203371
|
}), wi = !1), no && H0(no) === !1 && (ge.trigger(`${tc}.${qo}.phone`, {
|
|
203372
203372
|
shouldFocus: Ae === "company_officer"
|
|
203373
|
-
}), wi = !1), no && H0(no) === !0 && l === "unit" && (
|
|
203373
|
+
}), wi = !1), no && H0(no) === !0 && l === "unit" && (qe.current !== "" && no === qe.current || (io = !0, ge.setError(
|
|
203374
203374
|
`${tc}.${qo}.phone`,
|
|
203375
203375
|
{
|
|
203376
203376
|
type: "custom",
|
|
@@ -203553,7 +203553,7 @@ const ikn = ({
|
|
|
203553
203553
|
updateFilesEntity: ie,
|
|
203554
203554
|
onEditFileName: te,
|
|
203555
203555
|
onDeleteFile: ee,
|
|
203556
|
-
verifiedPhoneNumber:
|
|
203556
|
+
verifiedPhoneNumber: qe.current,
|
|
203557
203557
|
onPhoneVerified: st,
|
|
203558
203558
|
isDisabled: ke.fetchState === "In-Progress" ? "readonly" : void 0,
|
|
203559
203559
|
triggerError: ut
|
|
@@ -206535,14 +206535,14 @@ function UUi({
|
|
|
206535
206535
|
), Pe = Ee[Xs].expenseCategory1099, He = [];
|
|
206536
206536
|
Pe.forEach((ze, Re) => {
|
|
206537
206537
|
if (!Ie) {
|
|
206538
|
-
const Qe = ze.accountId?.selectedOption, Oe = ze.expenseType?.selectedOption,
|
|
206538
|
+
const Qe = ze.accountId?.selectedOption, Oe = ze.expenseType?.selectedOption, qe = ze.type1099?.selectedOption, st = ze.boxType?.selectedOption;
|
|
206539
206539
|
(Qe == null || Qe === "") && (Se.setError(
|
|
206540
206540
|
`${Xs}.expenseCategory1099.${Re}.accountId`,
|
|
206541
206541
|
{ type: "manual", message: "Account ID is required." }
|
|
206542
206542
|
), He.push(`${Re}.accountId`)), (Oe == null || Oe === "") && (Se.setError(
|
|
206543
206543
|
`${Xs}.expenseCategory1099.${Re}.expenseType`,
|
|
206544
206544
|
{ type: "manual", message: "Expense Type is required." }
|
|
206545
|
-
), He.push(`${Re}.expenseType`)), (
|
|
206545
|
+
), He.push(`${Re}.expenseType`)), (qe == null || qe === "") && (Se.setError(
|
|
206546
206546
|
`${Xs}.expenseCategory1099.${Re}.type1099`,
|
|
206547
206547
|
{ type: "manual", message: "Type 1099 is required." }
|
|
206548
206548
|
), He.push(`${Re}.type1099`)), (st == null || st === "") && (Se.setError(
|
|
@@ -214107,19 +214107,19 @@ const nMn = (e) => e.totalBalances != null ? [
|
|
|
214107
214107
|
isDisabled: s,
|
|
214108
214108
|
selectedValue: c,
|
|
214109
214109
|
hasError: d,
|
|
214110
|
-
children: /* @__PURE__ */ t.jsx(
|
|
214110
|
+
children: /* @__PURE__ */ t.jsx(Ke.Control, { ...e, className: "select-control", children: e.children })
|
|
214111
214111
|
}
|
|
214112
214112
|
);
|
|
214113
214113
|
}, ADn = (e) => {
|
|
214114
214114
|
const { selectProps: n, children: r } = e, { showDownChevronWithValue: s } = n;
|
|
214115
|
-
return /* @__PURE__ */ t.jsxs(
|
|
214115
|
+
return /* @__PURE__ */ t.jsxs(Ke.ValueContainer, { ...e, className: "select-value-container", children: [
|
|
214116
214116
|
r,
|
|
214117
214117
|
s === !0 ? /* @__PURE__ */ t.jsx(Ye, { children: /* @__PURE__ */ t.jsx(zDn, {}) }) : null
|
|
214118
214118
|
] });
|
|
214119
214119
|
}, kDn = (e) => {
|
|
214120
214120
|
const { selectProps: n } = e, { placeholder: r, value: s } = n;
|
|
214121
214121
|
return /* @__PURE__ */ t.jsx(
|
|
214122
|
-
|
|
214122
|
+
Ke.Input,
|
|
214123
214123
|
{
|
|
214124
214124
|
...e,
|
|
214125
214125
|
autoComplete: "off",
|
|
@@ -214136,13 +214136,13 @@ const nMn = (e) => e.totalBalances != null ? [
|
|
|
214136
214136
|
} = r, d = X(), u = l?.(e.selectProps.inputValue);
|
|
214137
214137
|
return K(() => {
|
|
214138
214138
|
s == null && a(n[0]);
|
|
214139
|
-
}, [s, a, n]), /* @__PURE__ */ t.jsx(t.Fragment, { children: e.isLoading === !0 ? /* @__PURE__ */ t.jsxs(
|
|
214139
|
+
}, [s, a, n]), /* @__PURE__ */ t.jsx(t.Fragment, { children: e.isLoading === !0 ? /* @__PURE__ */ t.jsxs(Ke.MenuList, { ...e, children: [
|
|
214140
214140
|
s,
|
|
214141
214141
|
/* @__PURE__ */ t.jsx(YDn, { windowSize: d, children: [...Array(2)].map((p, m) => /* @__PURE__ */ t.jsxs(qDn, { windowSize: d, children: [
|
|
214142
214142
|
/* @__PURE__ */ t.jsx(Ei, { width: h[4], height: h[4] }),
|
|
214143
214143
|
/* @__PURE__ */ t.jsx(fe, { width: 218, height: h[4] })
|
|
214144
214144
|
] }, m)) })
|
|
214145
|
-
] }) : /* @__PURE__ */ t.jsxs(
|
|
214145
|
+
] }) : /* @__PURE__ */ t.jsxs(Ke.MenuList, { ...e, children: [
|
|
214146
214146
|
n,
|
|
214147
214147
|
u != null && u.length > 0 ? /* @__PURE__ */ t.jsxs(
|
|
214148
214148
|
ZDn,
|
|
@@ -214157,7 +214157,7 @@ const nMn = (e) => e.totalBalances != null ? [
|
|
|
214157
214157
|
}
|
|
214158
214158
|
) : null
|
|
214159
214159
|
] }) });
|
|
214160
|
-
}, TDn = (e) => /* @__PURE__ */ t.jsx(
|
|
214160
|
+
}, TDn = (e) => /* @__PURE__ */ t.jsx(Ke.Group, { ...e, children: e.children }), LDn = (e) => {
|
|
214161
214161
|
const [n, r] = W(!0);
|
|
214162
214162
|
return /* @__PURE__ */ t.jsx(
|
|
214163
214163
|
QDn,
|
|
@@ -214165,7 +214165,7 @@ const nMn = (e) => e.totalBalances != null ? [
|
|
|
214165
214165
|
className: "group-heading-container",
|
|
214166
214166
|
isGroupOpen: n,
|
|
214167
214167
|
onClick: () => r(!n),
|
|
214168
|
-
children: /* @__PURE__ */ t.jsxs(
|
|
214168
|
+
children: /* @__PURE__ */ t.jsxs(Ke.GroupHeading, { ...e, children: [
|
|
214169
214169
|
/* @__PURE__ */ t.jsx(UDn, { isGroupOpen: n, children: /* @__PURE__ */ t.jsx(GDn, { className: "close-tick-icon" }) }),
|
|
214170
214170
|
e.children
|
|
214171
214171
|
] })
|
|
@@ -214181,7 +214181,7 @@ const nMn = (e) => e.totalBalances != null ? [
|
|
|
214181
214181
|
children: e
|
|
214182
214182
|
}
|
|
214183
214183
|
);
|
|
214184
|
-
return /* @__PURE__ */ t.jsx(
|
|
214184
|
+
return /* @__PURE__ */ t.jsx(Ke.SingleValue, { ...n, children: s });
|
|
214185
214185
|
}, EDn = () => null, PDn = (e) => {
|
|
214186
214186
|
const { data: n, isSelected: r, isDisabled: s, isFocused: a } = e;
|
|
214187
214187
|
return /* @__PURE__ */ t.jsx(
|
|
@@ -214193,7 +214193,7 @@ const nMn = (e) => e.totalBalances != null ? [
|
|
|
214193
214193
|
isDisabled: s,
|
|
214194
214194
|
isOptionRecommended: n.isOptionRecommended === !0,
|
|
214195
214195
|
showBottomBorder: n.info == null || n.isOptionRecommended === !1,
|
|
214196
|
-
children: /* @__PURE__ */ t.jsx(
|
|
214196
|
+
children: /* @__PURE__ */ t.jsx(Ke.Option, { ...e, className: "select-option", children: /* @__PURE__ */ t.jsxs(NDn, { isOptionRecommended: n.isOptionRecommended, children: [
|
|
214197
214197
|
n.isOptionRecommended === !0 ? (
|
|
214198
214198
|
// AI icon when the option is recommended (e.g. transaction detail)
|
|
214199
214199
|
/* @__PURE__ */ t.jsx(eOn, { children: /* @__PURE__ */ t.jsx(tOn, {}) })
|
|
@@ -214584,10 +214584,10 @@ const eK = (e, n, r, s, a) => {
|
|
|
214584
214584
|
st
|
|
214585
214585
|
);
|
|
214586
214586
|
}
|
|
214587
|
-
const
|
|
214587
|
+
const qe = [Ce[Qe]];
|
|
214588
214588
|
Oe({
|
|
214589
214589
|
vendorId: Re,
|
|
214590
|
-
attachmentIds:
|
|
214590
|
+
attachmentIds: qe
|
|
214591
214591
|
}).then((st) => {
|
|
214592
214592
|
V(st), re(R[Qe]), R.length > 0 && N(st[0]);
|
|
214593
214593
|
});
|
|
@@ -214712,9 +214712,9 @@ const eK = (e, n, r, s, a) => {
|
|
|
214712
214712
|
}, Le = (Re) => {
|
|
214713
214713
|
const Qe = u.currentVendor?.name, Oe = [
|
|
214714
214714
|
...E.globalMerchants.map(
|
|
214715
|
-
(
|
|
214715
|
+
(qe) => qe.globalMerchantName
|
|
214716
214716
|
),
|
|
214717
|
-
...u.recommendations.map((
|
|
214717
|
+
...u.recommendations.map((qe) => qe.globalMerchantName)
|
|
214718
214718
|
];
|
|
214719
214719
|
return u.currentVendor == null || // Note: If search text matches with any of the global merchant search results or recommended vendors, then don't show rename option
|
|
214720
214720
|
Oe.includes(Re) || // Do not show rename option text if search input text is same as original vendor name
|
|
@@ -233220,12 +233220,12 @@ const Rqn = (e, n, r) => {
|
|
|
233220
233220
|
isAiCfoAccessEnabled: me,
|
|
233221
233221
|
onAskAiCfoClick: we
|
|
233222
233222
|
}) => {
|
|
233223
|
-
const Te = wo().analytics, [Ae, Le] = W(!1), [ke, De] = W(!1), [Ee, Ne] = W(!1), [_e, Ie] = W(!1), [Pe, He] = W(!1), [ze, Re] = W(!1), [Qe, Oe] = W(!1), [
|
|
233223
|
+
const Te = wo().analytics, [Ae, Le] = W(!1), [ke, De] = W(!1), [Ee, Ne] = W(!1), [_e, Ie] = W(!1), [Pe, He] = W(!1), [ze, Re] = W(!1), [Qe, Oe] = W(!1), [qe, st] = W(!1), [ut, Ze] = W(void 0), [bt, yt] = W(
|
|
233224
233224
|
null
|
|
233225
233225
|
), [It, Ue] = W(!1), Tt = (qt) => {
|
|
233226
233226
|
yt({ ...qt }), Ue(!0);
|
|
233227
233227
|
}, zt = ae.chargeCards[0]?.status.code, { creditAccount: Ge, creditAccountRepayment: pt } = e, wt = ye(() => {
|
|
233228
|
-
ge(void 0),
|
|
233228
|
+
ge(void 0), Ze(void 0);
|
|
233229
233229
|
}, [ge]), $t = ae.chargeCards, Ut = je(() => $t.length === 0 ? void 0 : $t.reduce(
|
|
233230
233230
|
(ko, fo) => fo.balance.amount > ko.balance.amount ? fo : ko,
|
|
233231
233231
|
$t[0]
|
|
@@ -233348,7 +233348,7 @@ const Rqn = (e, n, r) => {
|
|
|
233348
233348
|
Qe || Oe(!0);
|
|
233349
233349
|
break;
|
|
233350
233350
|
case l5.UPDATE_SPEND_LIMIT:
|
|
233351
|
-
|
|
233351
|
+
qe || (un.type.code.includes("debit") && le.depositAccountLimitFetchState.fetchState !== "Completed" && l(
|
|
233352
233352
|
un.connectedAccountId,
|
|
233353
233353
|
le.cardId
|
|
233354
233354
|
), st(!0));
|
|
@@ -233360,7 +233360,7 @@ const Rqn = (e, n, r) => {
|
|
|
233360
233360
|
// selectedCardForRowAction is intentionally excluded from dependencies
|
|
233361
233361
|
// to prevent re-triggering when cards list updates after operations complete
|
|
233362
233362
|
// showChangeSpendLimitPopup, showRenamePopup, showCloseDrawer, showLockDrawer are used as guards to prevent reopening
|
|
233363
|
-
|
|
233363
|
+
qe,
|
|
233364
233364
|
Qe,
|
|
233365
233365
|
Ee,
|
|
233366
233366
|
ke,
|
|
@@ -234149,7 +234149,7 @@ const Rqn = (e, n, r) => {
|
|
|
234149
234149
|
}
|
|
234150
234150
|
}
|
|
234151
234151
|
),
|
|
234152
|
-
|
|
234152
|
+
qe && le.cardId != null && un && /* @__PURE__ */ t.jsx(
|
|
234153
234153
|
a_e,
|
|
234154
234154
|
{
|
|
234155
234155
|
controllerEmails: E,
|
|
@@ -234243,7 +234243,7 @@ const Rqn = (e, n, r) => {
|
|
|
234243
234243
|
setShowBulkChangeSpendLimitPopup: Re,
|
|
234244
234244
|
depositAccountListWithDebitCardIssued: P,
|
|
234245
234245
|
setCardIdForRowAction: ge,
|
|
234246
|
-
setActionTypeForRowAction:
|
|
234246
|
+
setActionTypeForRowAction: Ze,
|
|
234247
234247
|
cashbackInformation: tr,
|
|
234248
234248
|
creditAccountInformation: Li,
|
|
234249
234249
|
debitAccountInformation: Di,
|
|
@@ -236081,7 +236081,7 @@ const qJn = i.div`
|
|
|
236081
236081
|
const Ne = ue ? oc.tapCardCopyText : oc.scanNowAndAddToWallet, _e = ue ? oc.tapCardCopyText : /* @__PURE__ */ t.jsxs(VXn, { children: [
|
|
236082
236082
|
/* @__PURE__ */ t.jsx(mei, {}),
|
|
236083
236083
|
oc.clickTheCardToFetchDetailsText
|
|
236084
|
-
] }), Ie = n.chargeCard?.isLockedByAdmin ?? !1, Pe = le === "small" ? oc.tapCardCopyText : oc.clickTheCardToCopyDetailsText, He = le === "small" ? oc.tapCardCopyText : oc.clickTheCardToFetchDetailsText, ze = S ? Ne : Pe, Re = S ? _e : He, Qe = z(T) || n.updateFetchState.fetchState === "In-Progress" || n.unlockChargeCardsFetchState.fetchState === "In-Progress", Oe = (T.cvv !== !0 || T.number !== !0) && d,
|
|
236084
|
+
] }), Ie = n.chargeCard?.isLockedByAdmin ?? !1, Pe = le === "small" ? oc.tapCardCopyText : oc.clickTheCardToCopyDetailsText, He = le === "small" ? oc.tapCardCopyText : oc.clickTheCardToFetchDetailsText, ze = S ? Ne : Pe, Re = S ? _e : He, Qe = z(T) || n.updateFetchState.fetchState === "In-Progress" || n.unlockChargeCardsFetchState.fetchState === "In-Progress", Oe = (T.cvv !== !0 || T.number !== !0) && d, qe = !!n.chargeCard?.type.code.includes("debit");
|
|
236085
236085
|
return /* @__PURE__ */ t.jsxs(
|
|
236086
236086
|
ZXn,
|
|
236087
236087
|
{
|
|
@@ -236205,7 +236205,7 @@ const qJn = i.div`
|
|
|
236205
236205
|
scaleFactor: ae,
|
|
236206
236206
|
bgColor: k?.toString(),
|
|
236207
236207
|
showColorPalette: H,
|
|
236208
|
-
isDebitCard:
|
|
236208
|
+
isDebitCard: qe,
|
|
236209
236209
|
"data-testid": M("virtual-charge-card-detail"),
|
|
236210
236210
|
onClick: () => {
|
|
236211
236211
|
H === !1 && d === !0 && z(T) === !1 && me !== "In-Progress" && Ae === !1 && Kce({
|
|
@@ -236289,7 +236289,7 @@ const qJn = i.div`
|
|
|
236289
236289
|
showSecretInfo: p,
|
|
236290
236290
|
creditAccountRepayment: v,
|
|
236291
236291
|
token: L?.token,
|
|
236292
|
-
isDebitCard:
|
|
236292
|
+
isDebitCard: qe,
|
|
236293
236293
|
depositAccountLimitFetchState: n.depositAccountLimitFetchState.fetchState,
|
|
236294
236294
|
controllerEmails: m,
|
|
236295
236295
|
isChargeCardFeatureEnabled: g,
|
|
@@ -236370,10 +236370,10 @@ const qJn = i.div`
|
|
|
236370
236370
|
scaleFactor: ae,
|
|
236371
236371
|
isClickable: Oe,
|
|
236372
236372
|
isLoading: Qe,
|
|
236373
|
-
isDebitCard:
|
|
236373
|
+
isDebitCard: qe
|
|
236374
236374
|
}
|
|
236375
236375
|
) }),
|
|
236376
|
-
p ? /* @__PURE__ */ t.jsxs(yei, { isDebitCard:
|
|
236376
|
+
p ? /* @__PURE__ */ t.jsxs(yei, { isDebitCard: qe, children: [
|
|
236377
236377
|
/* @__PURE__ */ t.jsx(
|
|
236378
236378
|
A3e,
|
|
236379
236379
|
{
|
|
@@ -236395,7 +236395,7 @@ const qJn = i.div`
|
|
|
236395
236395
|
vgsVaultId: u,
|
|
236396
236396
|
showSecretInfo: p,
|
|
236397
236397
|
token: L?.token,
|
|
236398
|
-
isDebitCard:
|
|
236398
|
+
isDebitCard: qe,
|
|
236399
236399
|
depositAccountLimitFetchState: n.depositAccountLimitFetchState.fetchState,
|
|
236400
236400
|
controllerEmails: m,
|
|
236401
236401
|
isChargeCardFeatureEnabled: g,
|
|
@@ -239648,7 +239648,7 @@ const fni = i(Xr)`
|
|
|
239648
239648
|
onAskAiCfoClick: _e,
|
|
239649
239649
|
navigate: Ie
|
|
239650
239650
|
}) => {
|
|
239651
|
-
const Pe = Be(!0), He = ve(), ze = X(), Re = At(), Oe = wo().analytics, [,
|
|
239651
|
+
const Pe = Be(!0), He = ve(), ze = X(), Re = At(), Oe = wo().analytics, [, qe] = Vl(), [st, ut] = W(!1), [Ze, bt] = W(!1), [yt, It] = W(!1), [Ue, Tt] = W(!1), [zt, Ge] = W(!1), [pt, wt] = W(!1), [$t, Ut] = W(!1), [oo, Fo] = W(!1), [Ht, ao] = W(!1), [Co, yo] = W(!1), [lt, kt] = W(!1), [xo, wn] = W(!1), [Yo, Hn] = W(!1), [Jn, co] = W(!1), [kn, Cr] = W(!1), [di, hr] = W(!1), [_n, un] = W("apple"), [Ti, Wn] = W(
|
|
239652
239652
|
null
|
|
239653
239653
|
), [Ci, Tn] = W(!1), { setRequestToOpenThread: tr } = Bo(Ji), Li = (Jt) => {
|
|
239654
239654
|
Wn({ ...Jt }), Tn(!0);
|
|
@@ -239700,7 +239700,7 @@ const fni = i(Xr)`
|
|
|
239700
239700
|
controllerEmails: g,
|
|
239701
239701
|
actionField: "Receipt Email",
|
|
239702
239702
|
actionDetails: e.chargeCardConfig.receiptBotEmail
|
|
239703
|
-
}),
|
|
239703
|
+
}), qe(e.chargeCardConfig.receiptBotEmail), ut(!0);
|
|
239704
239704
|
}, yn = () => {
|
|
239705
239705
|
Z("card owner copied"), gN({
|
|
239706
239706
|
chargeCardDetailView: e,
|
|
@@ -239718,7 +239718,7 @@ const fni = i(Xr)`
|
|
|
239718
239718
|
controllerEmails: g,
|
|
239719
239719
|
actionField: "Card Owner",
|
|
239720
239720
|
actionDetails: St
|
|
239721
|
-
}),
|
|
239721
|
+
}), qe(St), Ge(!0);
|
|
239722
239722
|
}, ei = () => {
|
|
239723
239723
|
Z("billing address copied"), gN({
|
|
239724
239724
|
chargeCardDetailView: e,
|
|
@@ -239736,7 +239736,7 @@ const fni = i(Xr)`
|
|
|
239736
239736
|
controllerEmails: g,
|
|
239737
239737
|
actionField: "Billing Address",
|
|
239738
239738
|
actionDetails: Xn
|
|
239739
|
-
}),
|
|
239739
|
+
}), qe(Xn), wt(!0);
|
|
239740
239740
|
};
|
|
239741
239741
|
K(() => {
|
|
239742
239742
|
st === !0 && setTimeout(() => {
|
|
@@ -240279,7 +240279,7 @@ const fni = i(Xr)`
|
|
|
240279
240279
|
/* @__PURE__ */ t.jsx(Z3e, { children: /* @__PURE__ */ t.jsx(
|
|
240280
240280
|
J3e,
|
|
240281
240281
|
{
|
|
240282
|
-
shouldDisplay:
|
|
240282
|
+
shouldDisplay: Ze || st,
|
|
240283
240283
|
color: j.primaryDark,
|
|
240284
240284
|
children: ju.copyToClipBoard.copied
|
|
240285
240285
|
}
|
|
@@ -240288,13 +240288,13 @@ const fni = i(Xr)`
|
|
|
240288
240288
|
/* @__PURE__ */ t.jsx(
|
|
240289
240289
|
Xni,
|
|
240290
240290
|
{
|
|
240291
|
-
color:
|
|
240291
|
+
color: Ze ? He.colors.primary : void 0
|
|
240292
240292
|
}
|
|
240293
240293
|
),
|
|
240294
240294
|
/* @__PURE__ */ t.jsx(Z3e, { children: /* @__PURE__ */ t.jsx(
|
|
240295
240295
|
J3e,
|
|
240296
240296
|
{
|
|
240297
|
-
shouldDisplay:
|
|
240297
|
+
shouldDisplay: Ze && ze !== "small",
|
|
240298
240298
|
children: ju.copyToClipBoard.copy
|
|
240299
240299
|
}
|
|
240300
240300
|
) })
|
|
@@ -249427,35 +249427,35 @@ const xpi = i.div`
|
|
|
249427
249427
|
currentTab: Se,
|
|
249428
249428
|
tabCounts: Te
|
|
249429
249429
|
} = e, { tagList: Ae } = n, Le = ve(), ke = je(
|
|
249430
|
-
() => sNe.map((
|
|
249431
|
-
id:
|
|
249432
|
-
label: Yh.taskManagement.taskList.tabs[
|
|
249430
|
+
() => sNe.map((Ze) => ({
|
|
249431
|
+
id: Ze,
|
|
249432
|
+
label: Yh.taskManagement.taskList.tabs[Ze],
|
|
249433
249433
|
countDetails: {
|
|
249434
|
-
count: Te[
|
|
249434
|
+
count: Te[Ze],
|
|
249435
249435
|
isFetching: ae === "In-Progress"
|
|
249436
249436
|
}
|
|
249437
249437
|
})),
|
|
249438
249438
|
[Te, ae]
|
|
249439
|
-
), De = (
|
|
249440
|
-
de(
|
|
249439
|
+
), De = (Ze) => {
|
|
249440
|
+
de(Ze);
|
|
249441
249441
|
}, Ee = ye(
|
|
249442
|
-
(
|
|
249443
|
-
Ce(
|
|
249442
|
+
(Ze) => {
|
|
249443
|
+
Ce(Ze.currentTarget);
|
|
249444
249444
|
},
|
|
249445
249445
|
[]
|
|
249446
249446
|
), Ne = ye(
|
|
249447
|
-
(
|
|
249448
|
-
T(
|
|
249447
|
+
(Ze) => {
|
|
249448
|
+
T(Ze);
|
|
249449
249449
|
},
|
|
249450
249450
|
[T]
|
|
249451
249451
|
), _e = ye(() => {
|
|
249452
249452
|
T("groupName");
|
|
249453
249453
|
}, [T]), Ie = ye(
|
|
249454
|
-
(
|
|
249455
|
-
V(
|
|
249454
|
+
(Ze) => {
|
|
249455
|
+
V(Ze);
|
|
249456
249456
|
},
|
|
249457
249457
|
[V]
|
|
249458
|
-
), Pe = me.users.map((
|
|
249458
|
+
), Pe = me.users.map((Ze) => Ze.user).filter((Ze) => Ze != null), He = {
|
|
249459
249459
|
entity: "task_management",
|
|
249460
249460
|
showNewButtonOnNavbar: !0,
|
|
249461
249461
|
showEntityEmailInfoIconOnNavbar: !1,
|
|
@@ -249496,10 +249496,10 @@ const xpi = i.div`
|
|
|
249496
249496
|
n.tagList
|
|
249497
249497
|
)
|
|
249498
249498
|
}, ze = ye(
|
|
249499
|
-
(
|
|
249499
|
+
(Ze) => {
|
|
249500
249500
|
Ce(null), ie(Vg), u({
|
|
249501
249501
|
...e.localData,
|
|
249502
|
-
newTaskGroupName:
|
|
249502
|
+
newTaskGroupName: Ze
|
|
249503
249503
|
});
|
|
249504
249504
|
},
|
|
249505
249505
|
[e.localData, u]
|
|
@@ -249509,8 +249509,8 @@ const xpi = i.div`
|
|
|
249509
249509
|
re != null && d(re);
|
|
249510
249510
|
}, [re, d]), Oe = ye(() => {
|
|
249511
249511
|
ie(Vg);
|
|
249512
|
-
}, []),
|
|
249513
|
-
pe((bt) => bt ===
|
|
249512
|
+
}, []), qe = ye((Ze) => {
|
|
249513
|
+
pe((bt) => bt === Ze ? null : Ze);
|
|
249514
249514
|
}, []);
|
|
249515
249515
|
K(() => {
|
|
249516
249516
|
e.taskGroupDeleteStatus.fetchState === "Completed" && ee(!1);
|
|
@@ -249596,7 +249596,7 @@ const xpi = i.div`
|
|
|
249596
249596
|
handleGroupTemplateClick: R,
|
|
249597
249597
|
handleGroupTemplateTaskClick: z,
|
|
249598
249598
|
onNewTaskInitialization: Ie,
|
|
249599
|
-
onExpandTemplate:
|
|
249599
|
+
onExpandTemplate: qe,
|
|
249600
249600
|
expandedTemplate: ne
|
|
249601
249601
|
}
|
|
249602
249602
|
),
|
|
@@ -249605,7 +249605,7 @@ const xpi = i.div`
|
|
|
249605
249605
|
{
|
|
249606
249606
|
allTabs: ke,
|
|
249607
249607
|
selectedTab: Se,
|
|
249608
|
-
onTabChange: (
|
|
249608
|
+
onTabChange: (Ze) => C(Ze.id),
|
|
249609
249609
|
containerStyle: {
|
|
249610
249610
|
justifyContent: "flex-start",
|
|
249611
249611
|
paddingLeft: Mr.valuePx(ue),
|
|
@@ -249791,10 +249791,10 @@ const xpi = i.div`
|
|
|
249791
249791
|
ee.defaultTaskGroupId != null && f(ee.defaultTaskGroupId);
|
|
249792
249792
|
}, [f, ee.defaultTaskGroupId]), Ne = async (Pe, He) => {
|
|
249793
249793
|
if (Pe.includes(vZ)) {
|
|
249794
|
-
const Re = Pe.split(".")[2], Oe = te.flatMap((st) => st.tasks).find((st) => st.id === Re),
|
|
249795
|
-
if (Oe != null &&
|
|
249794
|
+
const Re = Pe.split(".")[2], Oe = te.flatMap((st) => st.tasks).find((st) => st.id === Re), qe = He[qu][L0][Re].priority.selectedOption;
|
|
249795
|
+
if (Oe != null && qe != null) {
|
|
249796
249796
|
const st = Bm.find(
|
|
249797
|
-
(ut) => ut.code ===
|
|
249797
|
+
(ut) => ut.code === qe
|
|
249798
249798
|
);
|
|
249799
249799
|
st != null && a(Oe, {
|
|
249800
249800
|
priority: st
|
|
@@ -249803,10 +249803,10 @@ const xpi = i.div`
|
|
|
249803
249803
|
return;
|
|
249804
249804
|
}
|
|
249805
249805
|
if (Pe.includes($Z)) {
|
|
249806
|
-
const Re = Pe.split(".")[2], Oe = te.flatMap((st) => st.tasks).find((st) => st.id === Re),
|
|
249807
|
-
if (Oe != null &&
|
|
249806
|
+
const Re = Pe.split(".")[2], Oe = te.flatMap((st) => st.tasks).find((st) => st.id === Re), qe = He[qu][L0][Re].status.selectedOption;
|
|
249807
|
+
if (Oe != null && qe != null) {
|
|
249808
249808
|
const st = h2.find(
|
|
249809
|
-
(ut) => ut.code ===
|
|
249809
|
+
(ut) => ut.code === qe
|
|
249810
249810
|
);
|
|
249811
249811
|
Oe != null && st != null && a(Oe, {
|
|
249812
249812
|
status: st
|
|
@@ -249815,23 +249815,23 @@ const xpi = i.div`
|
|
|
249815
249815
|
return;
|
|
249816
249816
|
}
|
|
249817
249817
|
if (Pe.includes(jZ)) {
|
|
249818
|
-
const Re = Pe.split(".")[2], Oe = te.flatMap((
|
|
249819
|
-
|
|
249818
|
+
const Re = Pe.split(".")[2], Oe = te.flatMap((Ze) => Ze.tasks).find((Ze) => Ze.id === Re), qe = te.find((Ze) => Ze.tasks.find((bt) => bt.id === Re))?.id, st = He[qu][L0][Re].assignees.selectedUsers.map((Ze) => Ze.userId), ut = He[qu][L0][Re].assignees.selectedUserGroups?.map((Ze) => Ze.userGroupId);
|
|
249819
|
+
qe != null && st != null && Oe != null && a(Oe, {
|
|
249820
249820
|
assignees: st,
|
|
249821
249821
|
groupAssignees: ut
|
|
249822
249822
|
});
|
|
249823
249823
|
return;
|
|
249824
249824
|
}
|
|
249825
249825
|
if (Pe.includes(SZ)) {
|
|
249826
|
-
const Re = Pe.split(".")[2], Oe = te.flatMap((ut) => ut.tasks).find((ut) => ut.id === Re),
|
|
249827
|
-
|
|
249826
|
+
const Re = Pe.split(".")[2], Oe = te.flatMap((ut) => ut.tasks).find((ut) => ut.id === Re), qe = te.find((ut) => ut.tasks.find((Ze) => Ze.id === Re))?.id, st = He[qu][L0][Re].dueDate.date;
|
|
249827
|
+
qe != null && st != null && Oe != null && a(Oe, {
|
|
249828
249828
|
dueDate: st
|
|
249829
249829
|
});
|
|
249830
249830
|
return;
|
|
249831
249831
|
}
|
|
249832
249832
|
if (Pe.includes(AZ)) {
|
|
249833
|
-
const Re = Pe.split(".")[2], Oe = te.flatMap((ut) => ut.tasks).find((ut) => ut.id === Re),
|
|
249834
|
-
|
|
249833
|
+
const Re = Pe.split(".")[2], Oe = te.flatMap((ut) => ut.tasks).find((ut) => ut.id === Re), qe = te.find((ut) => ut.tasks.find((Ze) => Ze.id === Re))?.id, st = He[qu][L0][Re].tags.selectedOptions;
|
|
249834
|
+
qe != null && st != null && Oe != null && a(Oe, {
|
|
249835
249835
|
tagIds: st
|
|
249836
249836
|
});
|
|
249837
249837
|
return;
|
|
@@ -260798,7 +260798,7 @@ const nCi = (e) => [
|
|
|
260798
260798
|
height: ${o.sp3};
|
|
260799
260799
|
`, dCi = (e) => {
|
|
260800
260800
|
const { isSelected: n } = e;
|
|
260801
|
-
return /* @__PURE__ */ t.jsx(
|
|
260801
|
+
return /* @__PURE__ */ t.jsx(Ke.Option, { ...e, children: /* @__PURE__ */ t.jsxs(lCi, { children: [
|
|
260802
260802
|
/* @__PURE__ */ t.jsx(We, { children: e.label }),
|
|
260803
260803
|
n === !0 ? /* @__PURE__ */ t.jsx(cCi, {}) : null
|
|
260804
260804
|
] }) });
|
|
@@ -270152,17 +270152,17 @@ function k$i({
|
|
|
270152
270152
|
...Qe,
|
|
270153
270153
|
startPath: Qe.startPath.join(),
|
|
270154
270154
|
endPath: Qe.endPath.join()
|
|
270155
|
-
},
|
|
270156
|
-
de(
|
|
270155
|
+
}, qe = `${ar()}${Yi}`, st = `cockpit_${e}`;
|
|
270156
|
+
de(qe, {
|
|
270157
270157
|
type: "thread",
|
|
270158
|
-
id:
|
|
270158
|
+
id: qe,
|
|
270159
270159
|
roomId: st,
|
|
270160
270160
|
createdAt: /* @__PURE__ */ new Date(),
|
|
270161
270161
|
comments: [],
|
|
270162
270162
|
metadata: Oe,
|
|
270163
270163
|
updatedAt: /* @__PURE__ */ new Date(),
|
|
270164
270164
|
resolved: !1
|
|
270165
|
-
}), ue(
|
|
270165
|
+
}), ue(qe);
|
|
270166
270166
|
}, [de, e, d, ue]);
|
|
270167
270167
|
K(() => {
|
|
270168
270168
|
ce != null && l && x();
|
|
@@ -270176,7 +270176,7 @@ function k$i({
|
|
|
270176
270176
|
if (s === !0)
|
|
270177
270177
|
A?.(H?.id);
|
|
270178
270178
|
else {
|
|
270179
|
-
const
|
|
270179
|
+
const qe = L?.replace(
|
|
270180
270180
|
vw,
|
|
270181
270181
|
Wc.common.strings.empty
|
|
270182
270182
|
);
|
|
@@ -270184,7 +270184,7 @@ function k$i({
|
|
|
270184
270184
|
Qe,
|
|
270185
270185
|
Oe,
|
|
270186
270186
|
H?.id,
|
|
270187
|
-
|
|
270187
|
+
qe != null && qe.length > 0 ? L : void 0
|
|
270188
270188
|
);
|
|
270189
270189
|
}
|
|
270190
270190
|
}), Te = () => {
|
|
@@ -270198,8 +270198,8 @@ function k$i({
|
|
|
270198
270198
|
console.warn("Please select a valid file.");
|
|
270199
270199
|
else {
|
|
270200
270200
|
const Oe = new FileReader();
|
|
270201
|
-
Oe.onload = function(
|
|
270202
|
-
const st =
|
|
270201
|
+
Oe.onload = function(qe) {
|
|
270202
|
+
const st = qe.target?.result;
|
|
270203
270203
|
if (typeof st == "string") {
|
|
270204
270204
|
const ut = {
|
|
270205
270205
|
data: st.split(",")[1],
|
|
@@ -270270,7 +270270,7 @@ function k$i({
|
|
|
270270
270270
|
onThreadClick: (Re, Qe) => {
|
|
270271
270271
|
ue(Qe);
|
|
270272
270272
|
const Oe = ie.findIndex(
|
|
270273
|
-
(
|
|
270273
|
+
(qe) => qe[0] === Qe
|
|
270274
270274
|
);
|
|
270275
270275
|
x(), te.current?.[Oe]?.scrollIntoView({
|
|
270276
270276
|
behavior: "smooth",
|
|
@@ -271360,9 +271360,9 @@ const {
|
|
|
271360
271360
|
m.transactionReviewLocalData.vendor?.id,
|
|
271361
271361
|
m.transactionReviewLocalData.vendor?.logo,
|
|
271362
271362
|
m.transactionReviewLocalData.vendor?.name
|
|
271363
|
-
]), De = u[ed]?.classId, Ee = u[ed]?.className, Ne = u.project?.projectId, _e = u.project?.projectName, Ie = u[Ss]?.qboId ?? u[Ss]?.accountId, Pe = u[Ss]?.accountName, He = Le?.id, ze = ke?.id, Re = ke?.name, [Qe, Oe] = W(!De), [
|
|
271363
|
+
]), De = u[ed]?.classId, Ee = u[ed]?.className, Ne = u.project?.projectId, _e = u.project?.projectName, Ie = u[Ss]?.qboId ?? u[Ss]?.accountId, Pe = u[Ss]?.accountName, He = Le?.id, ze = ke?.id, Re = ke?.name, [Qe, Oe] = W(!De), [qe, st] = W(
|
|
271364
271364
|
!Ne
|
|
271365
|
-
), [ut,
|
|
271365
|
+
), [ut, Ze] = W(
|
|
271366
271366
|
!Ie || u[Ss]?.qboId != null && Yd(
|
|
271367
271367
|
x,
|
|
271368
271368
|
u[Ss].qboId,
|
|
@@ -271399,7 +271399,7 @@ const {
|
|
|
271399
271399
|
x,
|
|
271400
271400
|
u[Ss].qboId,
|
|
271401
271401
|
_ === !0 ? ["income"] : void 0
|
|
271402
|
-
) === !1 ?
|
|
271402
|
+
) === !1 ? Ze(!1) : Ze(!0), Ci(!1), V?.();
|
|
271403
271403
|
}, Di = () => {
|
|
271404
271404
|
Oe(!De), Ht(!1), V?.();
|
|
271405
271405
|
}, En = () => {
|
|
@@ -271418,7 +271418,7 @@ const {
|
|
|
271418
271418
|
x,
|
|
271419
271419
|
u[Ss].qboId,
|
|
271420
271420
|
_ === !0 ? ["income"] : void 0
|
|
271421
|
-
) === !1 ?
|
|
271421
|
+
) === !1 ? Ze(!1) : Ze(!0);
|
|
271422
271422
|
}, [Ie]), K(() => {
|
|
271423
271423
|
Oe(!De);
|
|
271424
271424
|
}, [De]), K(() => {
|
|
@@ -271536,7 +271536,7 @@ const {
|
|
|
271536
271536
|
XA,
|
|
271537
271537
|
{
|
|
271538
271538
|
onClick: (Vt) => {
|
|
271539
|
-
Vt.stopPropagation(), !b && (F?.(),
|
|
271539
|
+
Vt.stopPropagation(), !b && (F?.(), Ze(!1), Ci(!0));
|
|
271540
271540
|
},
|
|
271541
271541
|
"data-testid": M(
|
|
271542
271542
|
"category-selection-field",
|
|
@@ -271986,7 +271986,7 @@ const {
|
|
|
271986
271986
|
className: "item-value-container",
|
|
271987
271987
|
children: [
|
|
271988
271988
|
/* @__PURE__ */ t.jsx(TB, { children: /* @__PURE__ */ t.jsx("span", {}) }),
|
|
271989
|
-
/* @__PURE__ */ t.jsx(N8, { children:
|
|
271989
|
+
/* @__PURE__ */ t.jsx(N8, { children: qe === !0 ? /* @__PURE__ */ t.jsx(ek, { isHovered: C, children: /* @__PURE__ */ t.jsxs(
|
|
271990
271990
|
XA,
|
|
271991
271991
|
{
|
|
271992
271992
|
onClick: (ht) => {
|
|
@@ -272036,7 +272036,7 @@ const {
|
|
|
272036
272036
|
style: {
|
|
272037
272037
|
width: "100%"
|
|
272038
272038
|
},
|
|
272039
|
-
autoFocus: !
|
|
272039
|
+
autoFocus: !qe && !Ne,
|
|
272040
272040
|
customStyleConfig: c,
|
|
272041
272041
|
onMenuClose: En,
|
|
272042
272042
|
menuPlacement: L,
|
|
@@ -273859,8 +273859,8 @@ const {
|
|
|
273859
273859
|
return /* @__PURE__ */ t.jsx(Wo, { style: Zvi, children: ({ height: Qe, width: Oe }) => {
|
|
273860
273860
|
if (Qe <= 0 || Oe <= 0)
|
|
273861
273861
|
return null;
|
|
273862
|
-
const
|
|
273863
|
-
return /* @__PURE__ */ t.jsx(TDe, { value:
|
|
273862
|
+
const qe = !B && ne + AU + LB <= Oe;
|
|
273863
|
+
return /* @__PURE__ */ t.jsx(TDe, { value: qe, children: /* @__PURE__ */ t.jsx(
|
|
273864
273864
|
FDe.Provider,
|
|
273865
273865
|
{
|
|
273866
273866
|
value: {
|
|
@@ -273877,8 +273877,8 @@ const {
|
|
|
273877
273877
|
children: ({ onItemsRendered: st, ref: ut }) => /* @__PURE__ */ t.jsx(
|
|
273878
273878
|
qi,
|
|
273879
273879
|
{
|
|
273880
|
-
ref: (
|
|
273881
|
-
ut(
|
|
273880
|
+
ref: (Ze) => {
|
|
273881
|
+
ut(Ze), Z.current = Ze;
|
|
273882
273882
|
},
|
|
273883
273883
|
height: Qe,
|
|
273884
273884
|
width: Oe,
|
|
@@ -274492,9 +274492,9 @@ const SSi = i.div`
|
|
|
274492
274492
|
const { transactionId: ae, lineId: ge, recommendations: xe } = le;
|
|
274493
274493
|
if (ue != null) {
|
|
274494
274494
|
const me = le[Ss].selectedOption, we = le[ed].selectedOption, Se = le[WC]?.selectedOption, Te = le[tp].selectedOption, Ae = le[tp].selectedOption, Le = le[tp].defaultOptions, ke = Le?.find(
|
|
274495
|
-
(ut) => ut.options?.find((
|
|
274495
|
+
(ut) => ut.options?.find((Ze) => Ze.value === Te)
|
|
274496
274496
|
)?.options?.find((ut) => ut.value === Te)?.label, De = Le?.find(
|
|
274497
|
-
(ut) => ut.options?.find((
|
|
274497
|
+
(ut) => ut.options?.find((Ze) => Ze.value === Ae)
|
|
274498
274498
|
)?.options?.find((ut) => ut.value === Ae)?.label, Ee = a.entityAutoCompleteView.vendor.find(
|
|
274499
274499
|
(ut) => ut.qboId === Te
|
|
274500
274500
|
), Ne = a.entityAutoCompleteView.customer.find(
|
|
@@ -274517,7 +274517,7 @@ const SSi = i.div`
|
|
|
274517
274517
|
(ut) => ut.projectId === Se
|
|
274518
274518
|
), Qe = n.transactionLocalData.find(
|
|
274519
274519
|
(ut) => ut.transactionId === ae
|
|
274520
|
-
)?.transactionReviewLocalData.lineItemById[ge], Oe = Qe?.account,
|
|
274520
|
+
)?.transactionReviewLocalData.lineItemById[ge], Oe = Qe?.account, qe = Qe?.class, st = Qe?.project;
|
|
274521
274521
|
f(
|
|
274522
274522
|
e,
|
|
274523
274523
|
ae,
|
|
@@ -274526,7 +274526,7 @@ const SSi = i.div`
|
|
|
274526
274526
|
Ie?.id,
|
|
274527
274527
|
Pe?.id,
|
|
274528
274528
|
he.includes(Ss) && He != null ? { ...He, isPreFilled: !1 } : Oe,
|
|
274529
|
-
he.includes(ed) && ze != null ? { ...ze, isPreFilled: !1 } :
|
|
274529
|
+
he.includes(ed) && ze != null ? { ...ze, isPreFilled: !1 } : qe,
|
|
274530
274530
|
void 0,
|
|
274531
274531
|
xe,
|
|
274532
274532
|
V,
|
|
@@ -274870,10 +274870,10 @@ const SSi = i.div`
|
|
|
274870
274870
|
onReconReviewTabColumnSortConfigChanged: Re,
|
|
274871
274871
|
onSaveReconciliation: Qe,
|
|
274872
274872
|
onSaveReconciliationReview: Oe,
|
|
274873
|
-
onReconMatchedTransactionClick:
|
|
274873
|
+
onReconMatchedTransactionClick: qe,
|
|
274874
274874
|
onAddStatementClick: st,
|
|
274875
274875
|
redirectToVendorDetailPage: ut,
|
|
274876
|
-
onOpenTransferRightPanel:
|
|
274876
|
+
onOpenTransferRightPanel: Ze,
|
|
274877
274877
|
isCreateTransferEntryFromExpenseEnabled: bt,
|
|
274878
274878
|
setActivityLogTransactionId: yt,
|
|
274879
274879
|
onReconNodeCollapseToggled: It,
|
|
@@ -274937,7 +274937,7 @@ const SSi = i.div`
|
|
|
274937
274937
|
onFetchRecommendationsForEntityCategorizationWithCustomer: T,
|
|
274938
274938
|
isCOTEnabled: I,
|
|
274939
274939
|
isCreateTransferEntryFromExpenseEnabled: bt,
|
|
274940
|
-
onOpenTransferRightPanel:
|
|
274940
|
+
onOpenTransferRightPanel: Ze,
|
|
274941
274941
|
setActivityLogTransactionId: yt,
|
|
274942
274942
|
onUploadTransactionReceipt: e.onUploadTransactionReceipt
|
|
274943
274943
|
}
|
|
@@ -275085,7 +275085,7 @@ const SSi = i.div`
|
|
|
275085
275085
|
onReconReviewTabColumnSortConfigChanged: Re,
|
|
275086
275086
|
onSaveReconciliation: Qe,
|
|
275087
275087
|
onSaveReconciliationReview: Oe,
|
|
275088
|
-
onReconMatchedTransactionClick:
|
|
275088
|
+
onReconMatchedTransactionClick: qe,
|
|
275089
275089
|
onAddStatementClick: st,
|
|
275090
275090
|
onReconNodeCollapseToggled: It,
|
|
275091
275091
|
onExcludeAccountFromReconciliation: Ue,
|
|
@@ -279204,12 +279204,12 @@ const qGi = (e) => {
|
|
|
279204
279204
|
]);
|
|
279205
279205
|
const Qe = z.find(
|
|
279206
279206
|
(io) => io.step === R
|
|
279207
|
-
), { nextStep: Oe, previousStep:
|
|
279207
|
+
), { nextStep: Oe, previousStep: qe } = mTi(
|
|
279208
279208
|
z,
|
|
279209
279209
|
R
|
|
279210
279210
|
), {
|
|
279211
279211
|
uiState: { searchString: st, pageToken: ut },
|
|
279212
|
-
totalCountByTab:
|
|
279212
|
+
totalCountByTab: Ze,
|
|
279213
279213
|
parentTabTotalCountByTab: bt,
|
|
279214
279214
|
transactions: yt,
|
|
279215
279215
|
fetchStateByTransactionTabs: It,
|
|
@@ -279391,7 +279391,7 @@ const qGi = (e) => {
|
|
|
279391
279391
|
yt.map((yn) => yn.id),
|
|
279392
279392
|
q,
|
|
279393
279393
|
!1,
|
|
279394
|
-
|
|
279394
|
+
Ze[G],
|
|
279395
279395
|
cJ(
|
|
279396
279396
|
Ue,
|
|
279397
279397
|
G
|
|
@@ -279422,11 +279422,11 @@ const qGi = (e) => {
|
|
|
279422
279422
|
},
|
|
279423
279423
|
cancelBtn: {
|
|
279424
279424
|
label: $s.back,
|
|
279425
|
-
isDisabled: l || Qe?.isPrevDisabled === !0 ||
|
|
279425
|
+
isDisabled: l || Qe?.isPrevDisabled === !0 || qe == null,
|
|
279426
279426
|
style: { width: "96px", justifyContent: "space-evenly" },
|
|
279427
279427
|
prefixIcon: /* @__PURE__ */ t.jsx(V6e, {}),
|
|
279428
279428
|
onClick: () => {
|
|
279429
|
-
|
|
279429
|
+
qe != null && g(qe.step);
|
|
279430
279430
|
}
|
|
279431
279431
|
}
|
|
279432
279432
|
};
|
|
@@ -279547,11 +279547,11 @@ const qGi = (e) => {
|
|
|
279547
279547
|
},
|
|
279548
279548
|
cancelBtn: {
|
|
279549
279549
|
label: $s.back,
|
|
279550
|
-
isDisabled: l || Qe?.isPrevDisabled === !0 ||
|
|
279550
|
+
isDisabled: l || Qe?.isPrevDisabled === !0 || qe == null,
|
|
279551
279551
|
style: { width: "96px", justifyContent: "space-evenly" },
|
|
279552
279552
|
prefixIcon: /* @__PURE__ */ t.jsx(V6e, {}),
|
|
279553
279553
|
onClick: () => {
|
|
279554
|
-
ro ? p("review") : Pt ? m("review") : yn ? $() :
|
|
279554
|
+
ro ? p("review") : Pt ? m("review") : yn ? $() : qe != null && g(qe.step);
|
|
279555
279555
|
}
|
|
279556
279556
|
}
|
|
279557
279557
|
};
|
|
@@ -279573,7 +279573,7 @@ const qGi = (e) => {
|
|
|
279573
279573
|
yt.map((io) => io.id),
|
|
279574
279574
|
q,
|
|
279575
279575
|
!1,
|
|
279576
|
-
|
|
279576
|
+
Ze[G],
|
|
279577
279577
|
cJ(
|
|
279578
279578
|
Ue,
|
|
279579
279579
|
G
|
|
@@ -282064,8 +282064,8 @@ function KGi({
|
|
|
282064
282064
|
}), he(!0));
|
|
282065
282065
|
}, [T, ae]);
|
|
282066
282066
|
const me = ye(() => {
|
|
282067
|
-
z((
|
|
282068
|
-
...
|
|
282067
|
+
z((qe) => ({
|
|
282068
|
+
...qe,
|
|
282069
282069
|
showParseInfo: !0
|
|
282070
282070
|
}));
|
|
282071
282071
|
}, []);
|
|
@@ -282082,7 +282082,7 @@ function KGi({
|
|
|
282082
282082
|
e.statementUploadStatus?.fetchState,
|
|
282083
282083
|
A
|
|
282084
282084
|
]), K(() => {
|
|
282085
|
-
R.isActive && !R.uploadComplete && e.accountReconEntity.statementMetaData?.file != null && z((
|
|
282085
|
+
R.isActive && !R.uploadComplete && e.accountReconEntity.statementMetaData?.file != null && z((qe) => ({ ...qe, uploadComplete: !0 }));
|
|
282086
282086
|
}, [
|
|
282087
282087
|
R.isActive,
|
|
282088
282088
|
R.uploadComplete,
|
|
@@ -282121,18 +282121,18 @@ function KGi({
|
|
|
282121
282121
|
completedSteps: 0
|
|
282122
282122
|
});
|
|
282123
282123
|
}, Ae = () => {
|
|
282124
|
-
const
|
|
282125
|
-
|
|
282124
|
+
const qe = e.accountReconEntity.statementMetaData?.statementUploadId ?? "";
|
|
282125
|
+
qe !== "" && v != null && v(
|
|
282126
282126
|
e.accountReconEntity.account.accountId,
|
|
282127
282127
|
r,
|
|
282128
|
-
|
|
282128
|
+
qe
|
|
282129
282129
|
);
|
|
282130
282130
|
}, Le = () => {
|
|
282131
282131
|
L?.();
|
|
282132
282132
|
}, ke = ye(
|
|
282133
|
-
(
|
|
282133
|
+
(qe) => {
|
|
282134
282134
|
p(
|
|
282135
|
-
|
|
282135
|
+
qe,
|
|
282136
282136
|
e.accountReconEntity.account.accountId,
|
|
282137
282137
|
ue.current
|
|
282138
282138
|
), Q(void 0), oe(!1);
|
|
@@ -282141,8 +282141,8 @@ function KGi({
|
|
|
282141
282141
|
p,
|
|
282142
282142
|
e.accountReconEntity.account.accountId
|
|
282143
282143
|
]
|
|
282144
|
-
), De = ye((
|
|
282145
|
-
|
|
282144
|
+
), De = ye((qe, st) => {
|
|
282145
|
+
qe != null && console.log("Plaid Connection Error", qe, st), Q(void 0), oe(!1);
|
|
282146
282146
|
}, []), { open: Ee, ready: Ne } = xd({
|
|
282147
282147
|
token: U,
|
|
282148
282148
|
onSuccess: ke,
|
|
@@ -282172,7 +282172,7 @@ function KGi({
|
|
|
282172
282172
|
}, [R.showParseInfo, Ie]);
|
|
282173
282173
|
const Oe = R.showParseInfo === !0 ? Re : Ie;
|
|
282174
282174
|
if (R.showParseInfo || R.isActive) {
|
|
282175
|
-
const
|
|
282175
|
+
const qe = R.showParseInfo ? Te : we;
|
|
282176
282176
|
return /* @__PURE__ */ t.jsx(
|
|
282177
282177
|
rLi,
|
|
282178
282178
|
{
|
|
@@ -282180,7 +282180,7 @@ function KGi({
|
|
|
282180
282180
|
file: Oe,
|
|
282181
282181
|
navSource: R.showParseInfo ? "StatementParseInfo" : "StatementProcessingPage",
|
|
282182
282182
|
highlightedCitations: R.showParseInfo ? V : void 0,
|
|
282183
|
-
onBack:
|
|
282183
|
+
onBack: qe,
|
|
282184
282184
|
children: R.showParseInfo ? /* @__PURE__ */ t.jsx(
|
|
282185
282185
|
uLi,
|
|
282186
282186
|
{
|
|
@@ -282229,16 +282229,30 @@ function KGi({
|
|
|
282229
282229
|
E2,
|
|
282230
282230
|
{
|
|
282231
282231
|
moreIconType: "plain",
|
|
282232
|
+
menuPosition: "fixed",
|
|
282233
|
+
menuPortalTarget: typeof document < "u" ? document.body : null,
|
|
282232
282234
|
options: [
|
|
282233
282235
|
{
|
|
282234
282236
|
label: Yr.reconciliation.drawer.excludeFromReconciliation,
|
|
282235
282237
|
value: "exclude"
|
|
282236
282238
|
}
|
|
282237
282239
|
],
|
|
282238
|
-
onOptionSelection: (
|
|
282239
|
-
|
|
282240
|
+
onOptionSelection: (qe) => {
|
|
282241
|
+
qe === "exclude" && _(!0);
|
|
282240
282242
|
},
|
|
282241
|
-
valueToIcon: (
|
|
282243
|
+
valueToIcon: (qe) => qe === "exclude" ? /* @__PURE__ */ t.jsx(XLi, {}) : null,
|
|
282244
|
+
customStyleConfig: {
|
|
282245
|
+
menu: (qe) => ({
|
|
282246
|
+
...qe,
|
|
282247
|
+
zIndex: 2e3,
|
|
282248
|
+
minWidth: 220,
|
|
282249
|
+
width: "max-content"
|
|
282250
|
+
}),
|
|
282251
|
+
menuPortal: (qe) => ({
|
|
282252
|
+
...qe,
|
|
282253
|
+
zIndex: 2e3
|
|
282254
|
+
})
|
|
282255
|
+
}
|
|
282242
282256
|
}
|
|
282243
282257
|
),
|
|
282244
282258
|
/* @__PURE__ */ t.jsx(
|
|
@@ -289007,7 +289021,7 @@ const hDi = i.div`
|
|
|
289007
289021
|
P(), U || (H.trackTreasuryVerificationNavigation(
|
|
289008
289022
|
"next",
|
|
289009
289023
|
me?.code ?? ""
|
|
289010
|
-
), Te ? q(Gh.TRANSFER) :
|
|
289024
|
+
), Te ? q(Gh.TRANSFER) : qe());
|
|
289011
289025
|
}, Oe = () => {
|
|
289012
289026
|
H.trackTreasuryVerificationNavigation(
|
|
289013
289027
|
"next",
|
|
@@ -289019,7 +289033,7 @@ const hDi = i.div`
|
|
|
289019
289033
|
le,
|
|
289020
289034
|
"Onboarding"
|
|
289021
289035
|
), te(!0), oe(!0);
|
|
289022
|
-
},
|
|
289036
|
+
}, qe = () => {
|
|
289023
289037
|
FH(
|
|
289024
289038
|
H,
|
|
289025
289039
|
"skip",
|
|
@@ -289034,7 +289048,7 @@ const hDi = i.div`
|
|
|
289034
289048
|
"back",
|
|
289035
289049
|
me?.code ?? ""
|
|
289036
289050
|
), q(Gh.PORTFOLIO_ALLOCATION);
|
|
289037
|
-
},
|
|
289051
|
+
}, Ze = () => {
|
|
289038
289052
|
H.trackTreasuryVerificationNavigation(
|
|
289039
289053
|
"back",
|
|
289040
289054
|
me?.code ?? ""
|
|
@@ -289094,7 +289108,7 @@ const hDi = i.div`
|
|
|
289094
289108
|
onCancelClick: st,
|
|
289095
289109
|
onEstablishConnectionClick: L,
|
|
289096
289110
|
onFetchLinkTokenClick: C,
|
|
289097
|
-
onSkipClick:
|
|
289111
|
+
onSkipClick: qe,
|
|
289098
289112
|
onTransferClick: bt,
|
|
289099
289113
|
isOnSetup: !0
|
|
289100
289114
|
}
|
|
@@ -289108,7 +289122,7 @@ const hDi = i.div`
|
|
|
289108
289122
|
isDetailsSubmitted: Ie,
|
|
289109
289123
|
isTransferInitiated: ee,
|
|
289110
289124
|
transferDetails: m,
|
|
289111
|
-
onClose:
|
|
289125
|
+
onClose: Ze,
|
|
289112
289126
|
onCloseOverlay: st,
|
|
289113
289127
|
onAdditionalVerificationFieldsChanged: E,
|
|
289114
289128
|
onSendForVerificationClick: B,
|