@zeniai/web-components 4.3.79 → 4.3.80
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-Bxc-Iw30.js → SessionTimeoutPopup-16W6J9u6.js} +66260 -66030
- package/dist/{SessionTimeoutPopup-CUm6yZET.cjs → SessionTimeoutPopup-DnT8FWxl.cjs} +14711 -14711
- package/dist/appLocale.d.ts +18 -1
- package/dist/cockpit.cjs.js +7 -7
- package/dist/cockpit.esm.js +101 -102
- package/dist/components/commentsAndNotes/utils/CollaborationHelpers.d.ts +15 -0
- package/dist/components/invoicing/catalogForm/catalogItemForm.shared.d.ts +0 -7
- package/dist/components/invoicing/common/invoicingAccountPickerOptions.d.ts +14 -0
- package/dist/components/invoicing/couponForm/InvoicingCouponFormPage.d.ts +16 -2
- package/dist/components/invoicing/couponForm/couponForm.shared.d.ts +5 -1
- package/dist/components/invoicing/discountDetail/InvoicingDiscountDetailPage.d.ts +7 -0
- package/dist/components/reports/PdfColumnLimitPopup.d.ts +12 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.js +1 -1
- package/dist/strings/strings.d.ts +18 -1
- package/package.json +3 -3
package/dist/cockpit.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { fb as o, iI as Re, m as vt, hi as Z, fM as Bt, c1 as $s, a7 as _e, fR as $u, hF as Cu, hQ as wu, aN as I, hI as B, eX as vu, jk as xe, j4 as vo, gn as ct, aP as Zt, dz as wa, F as Vo, gc as _i, du as Uo, fO as Vi, g1 as Su, jm as Ui, bp as _c, j6 as Vc, fn as lo, fk as Ne, hP as Uc, g8 as Bo, eY as va, dp as We, iX as ju, bn as ku, bJ as Qt, bk as Tu, fK as Kc, hY as Pu, bx as Ki, T as Hi, ia as Iu, ib as Lu, ic as Au, aO as Ou, dM as Du, dm as
|
|
2
|
-
import { A as OO, a as DO, b as RO, c as EO, d as NO, e as MO, f as zO, h as FO, i as BO, j as WO, k as _O, l as VO, n as UO, o as KO, r as HO, s as GO, u as YO, v as ZO, w as QO, x as JO, y as XO, z as qO, B as eD, C as tD, D as oD, E as nD, H as rD, I as sD, J as iD, K as aD, L as lD, M as cD, N as dD, O as pD, P as uD, Q as hD, R as mD, S as gD, V as xD, W as yD, X as fD, Y as bD, Z as $D, _ as CD, $ as wD, a0 as vD, a1 as SD, fe as jD, a2 as kD, a3 as TD, a4 as PD, a5 as ID, a8 as LD, a9 as AD, aa as OD, ad as DD, ae as RD, af as ED, ag as ND, ah as MD, ai as zD, aj as FD, ak as BD, al as WD, am as _D, an as VD, ao as UD, ap as KD, aq as HD, ar as GD, as as YD, at as ZD, au as QD, av as JD, aw as XD, ax as qD, ay as eR, az as tR, aA as oR, aB as nR, aC as rR, fe as sR, aD as iR, aE as aR, aF as lR, aG as cR, aH as dR, aJ as pR, aK as uR, aL as hR, aM as mR, aQ as gR, aS as xR, aT as yR, aU as fR, aV as bR, aW as $R, aX as CR, a$ as wR, b2 as vR, b3 as SR, b4 as jR, b5 as kR, b6 as TR, b7 as PR, b8 as IR, b9 as LR, ba as AR, bd as OR, be as DR, bf as RR, bg as ER, bh as NR, bi as MR, bj as zR, bl as FR, bo as BR, br as WR, bs as _R, bt as VR, by as UR, bz as KR, bA as HR, bB as GR, bC as YR, bD as ZR, bE as QR, bQ as JR, bR as XR, bS as qR, bT as eE, bX as tE, b$ as oE, c0 as nE, c9 as rE, ca as sE, cb as iE, cc as aE, cd as lE, ce as cE, cf as dE, cg as pE, ch as uE, ci as hE, cj as mE, ck as gE, cl as xE, cm as yE, cn as fE, co as bE, cp as $E, cq as CE, cr as wE, cs as vE, ct as SE, cu as jE, cv as kE, cw as TE, cx as PE, cy as IE, cz as LE, cA as AE, cB as OE, cC as DE, cD as RE, cE as EE, cF as NE, cG as ME, cH as zE, cI as FE, cJ as BE, cK as WE, cL as _E, cM as VE, cN as UE, cO as KE, cP as HE, cQ as GE, cR as YE, cS as ZE, cT as QE, cU as JE, cV as XE, cW as qE, cX as eN, cY as tN, cZ as oN, c_ as nN, c$ as rN, c$ as sN, d0 as iN, d1 as aN, d2 as lN, d3 as cN, d4 as dN, d5 as pN, d6 as uN, d8 as hN, dv as mN, dw as gN, dy as xN, dA as yN, dB as fN, dI as bN, dJ as $N, dK as CN, dL as wN, dN as vN, dP as SN, dT as jN, dU as kN, dV as TN, dZ as PN, d$ as IN, e0 as LN, e1 as AN, e2 as ON, e3 as DN, e4 as RN, eb as EN, ec as NN, ed as MN, ee as zN, ef as FN, eg as BN, eh as WN, ei as _N, ej as VN, ek as UN, el as KN, em as HN, en as GN, eo as YN, ep as ZN, eq as QN, er as JN, es as XN, eu as qN, ev as eM, bm as tM, ew as oM, ex as nM, ey as rM, ez as sM, eA as iM, eB as aM, eC as lM, fe as cM, eF as dM, eD as pM, eG as uM, eJ as hM, eK as mM, eL as gM, eM as xM, eN as yM, eO as fM, eP as bM, eR as $M, eS as CM, eT as wM, eU as vM, eV as SM, eW as jM, fa as kM, fc as TM, fd as PM, fq as IM, fr as LM, fs as AM, fu as OM, fx as DM, fz as RM, gd as EM, ge as NM, gf as MM, gg as zM, gh as FM, gi as BM, gk as WM, go as _M, gq as VM, gr as UM, gs as KM, gt as HM, gu as GM, gv as YM, gw as ZM, gx as QM, gy as JM, gz as XM, gA as qM, gB as ez, gC as tz, gD as oz, gE as nz, gF as rz, gG as sz, gH as iz, gI as az, gL as lz, gM as cz, gN as dz, gO as pz, gP as uz, gQ as hz, gR as mz, gS as gz, gT as xz, gU as yz, gV as fz, gW as bz, gX as $z, gY as Cz, gZ as wz, g_ as vz, g$ as Sz, h0 as jz, h1 as kz, h2 as Tz, h3 as Pz, h4 as Iz, h5 as Lz, h6 as Az, h7 as Oz, h8 as Dz, h9 as Rz, ha as Ez, hd as Nz, he as Mz, hf as zz, hh as Fz, hj as Bz, hl as Wz, hm as _z, hn as Vz, ho as Uz, hp as Kz, hq as Hz, hr as Gz, ht as Yz, hu as Zz, hw as Qz, hx as Jz, hy as Xz, hB as qz, hE as eF, hC as tF, hD as oF, hH as nF, hJ as rF, hK as sF, hM as iF, hN as aF, hO as lF, hV as cF, hZ as dF, h_ as pF, i2 as uF, i3 as hF, i4 as mF, i5 as gF, i8 as xF, ie as yF, ig as fF, ih as bF, ii as $F, ij as CF, ik as wF, il as vF, im as SF, iq as jF, ir as kF, is as TF, it as PF, iu as IF, iv as LF, iw as AF, ix as OF, iy as DF, iz as RF, iB as EF, iC as NF, iD as MF, iE as zF, iF as FF, iH as BF, iK as WF, iL as _F, iM as VF, iN as UF, iO as KF, iP as HF, iQ as GF, iR as YF, iS as ZF, iT as QF, iU as JF, iV as XF, iY as qF, iZ as eB, i_ as tB, j1 as oB, j2 as nB, j3 as rB, j8 as sB, j9 as iB, ja as aB, jb as lB, jd as cB, je as dB, jf as pB, jg as uB, jh as hB, ji as mB, jl as gB, jn as xB, jo as yB } from "./SessionTimeoutPopup-
|
|
1
|
+
import { fb as o, iI as Re, m as vt, hi as Z, fM as Bt, c1 as $s, a7 as _e, fR as $u, hF as Cu, hQ as wu, aN as I, hI as B, eX as vu, jk as xe, j4 as vo, gn as ct, aP as Zt, dz as wa, F as Vo, gc as _i, du as Uo, fO as Vi, g1 as Su, jm as Ui, bp as _c, j6 as Vc, fn as lo, fk as Ne, hP as Uc, g8 as Bo, eY as va, dp as We, iX as ju, bn as ku, bJ as Qt, bk as Tu, fK as Kc, hY as Pu, bx as Ki, T as Hi, ia as Iu, ib as Lu, ic as Au, aO as Ou, dM as Du, dm as ft, fQ as Hc, dW as Ru, fA as Cs, g6 as Gi, iG as z, eQ as Eu, bW as Nu, f2 as Se, fG as Mu, eH as N, U as On, e6 as Gc, e7 as rs, e5 as Yc, c4 as zu, dC as Fu, fv as Bu, c5 as ss, e$ as ws, c7 as Pi, ea as Sa, e8 as Wu, e9 as _u, c6 as Ns, c3 as Ms, c8 as Vu, dX as Ue, iJ as ht, fw as Yi, bZ as is, f3 as Uu, fH as Zi, bK as vs, ip as Le, c2 as Ss, fI as Zc, f_ as Qc, fV as $r, hA as Yt, gp as lt, fg as Mn, dr as Ku, dt as Jc, fL as Xc, a_ as wo, aY as Wo, aZ as _o, bb as qc, g5 as js, fS as Qi, f7 as zn, hR as Mt, hg as ot, gJ as as, hc as Hu, gl as Fn, gm as Bn, q as Wn, hv as un, ft as hn, dn as ks, fP as Ji, ds as Gu, fJ as So, fN as mn, bv as ao, hb as ja, i6 as Yu, hW as Zu, i0 as Qu, fU as Ju, gb as Xu, ga as Cr, fh as qu, fi as Xi, hS as eh, fT as ed, fZ as td, fY as od, bG as nd, iA as th, dg as ka, dh as qi, db as oh, df as nh, b_ as wr, bH as _n, fX as ea, aR as rh, hL as wt, f8 as rd, de as ls, dk as sh, bF as ta, d7 as ih, eI as Rn, fF as ah, fE as lh, fB as ch, d9 as Ts, eZ as Ta, dc as sd, jc as cs, dY as id, fy as ad, hG as oa, da as dh, bL as so, b0 as Et, g0 as ld, fo as ph, dx as cd, g2 as uh, fm as hh, b1 as eo, io as Ir, bP as mh, jj as gh, dj as oo, bc as dd, e_ as Pa, dd as xh, di as yh, et as Ia, g as fh, d_ as bh, fC as $h, iW as Ch, j0 as pd, j5 as ud, bO as io, ab as Ps, ac as En, j7 as hd, i1 as md, bq as wh, dD as vh, id as Sh, dR as gd, dQ as jh, i7 as kh, dH as ds, aI as xd, dG as Th, t as Ph, dF as Ih, bu as Lh, dE as na, hT as yd, bU as fd, hk as bd, p as $d, gj as Cd, bV as Ah, G as wd, bY as vd, gK as Oh, ff as Dh, i$ as Rh, dO as Eh, hX as Nh, hU as Mh, a6 as zh, eE as La, h$ as Fh, g9 as Sd, i9 as Aa, dS as Bh, dq as Wh, fl as _h, fW as Vh, f$ as Uh, fD as Kh, hs as Oa, g4 as Hh, f9 as jd, f4 as Gh, hz as kd, bw as Yh, fp as Zh, bI as Qh, bM as Jh, f5 as Td, g3 as Xh, dl as qh, g7 as em, f1 as tm, f6 as Pd, fj as om, bN as nm, f0 as rm } from "./SessionTimeoutPopup-16W6J9u6.js";
|
|
2
|
+
import { A as OO, a as DO, b as RO, c as EO, d as NO, e as MO, f as zO, h as FO, i as BO, j as WO, k as _O, l as VO, n as UO, o as KO, r as HO, s as GO, u as YO, v as ZO, w as QO, x as JO, y as XO, z as qO, B as eD, C as tD, D as oD, E as nD, H as rD, I as sD, J as iD, K as aD, L as lD, M as cD, N as dD, O as pD, P as uD, Q as hD, R as mD, S as gD, V as xD, W as yD, X as fD, Y as bD, Z as $D, _ as CD, $ as wD, a0 as vD, a1 as SD, fe as jD, a2 as kD, a3 as TD, a4 as PD, a5 as ID, a8 as LD, a9 as AD, aa as OD, ad as DD, ae as RD, af as ED, ag as ND, ah as MD, ai as zD, aj as FD, ak as BD, al as WD, am as _D, an as VD, ao as UD, ap as KD, aq as HD, ar as GD, as as YD, at as ZD, au as QD, av as JD, aw as XD, ax as qD, ay as eR, az as tR, aA as oR, aB as nR, aC as rR, fe as sR, aD as iR, aE as aR, aF as lR, aG as cR, aH as dR, aJ as pR, aK as uR, aL as hR, aM as mR, aQ as gR, aS as xR, aT as yR, aU as fR, aV as bR, aW as $R, aX as CR, a$ as wR, b2 as vR, b3 as SR, b4 as jR, b5 as kR, b6 as TR, b7 as PR, b8 as IR, b9 as LR, ba as AR, bd as OR, be as DR, bf as RR, bg as ER, bh as NR, bi as MR, bj as zR, bl as FR, bo as BR, br as WR, bs as _R, bt as VR, by as UR, bz as KR, bA as HR, bB as GR, bC as YR, bD as ZR, bE as QR, bQ as JR, bR as XR, bS as qR, bT as eE, bX as tE, b$ as oE, c0 as nE, c9 as rE, ca as sE, cb as iE, cc as aE, cd as lE, ce as cE, cf as dE, cg as pE, ch as uE, ci as hE, cj as mE, ck as gE, cl as xE, cm as yE, cn as fE, co as bE, cp as $E, cq as CE, cr as wE, cs as vE, ct as SE, cu as jE, cv as kE, cw as TE, cx as PE, cy as IE, cz as LE, cA as AE, cB as OE, cC as DE, cD as RE, cE as EE, cF as NE, cG as ME, cH as zE, cI as FE, cJ as BE, cK as WE, cL as _E, cM as VE, cN as UE, cO as KE, cP as HE, cQ as GE, cR as YE, cS as ZE, cT as QE, cU as JE, cV as XE, cW as qE, cX as eN, cY as tN, cZ as oN, c_ as nN, c$ as rN, c$ as sN, d0 as iN, d1 as aN, d2 as lN, d3 as cN, d4 as dN, d5 as pN, d6 as uN, d8 as hN, dv as mN, dw as gN, dy as xN, dA as yN, dB as fN, dI as bN, dJ as $N, dK as CN, dL as wN, dN as vN, dP as SN, dT as jN, dU as kN, dV as TN, dZ as PN, d$ as IN, e0 as LN, e1 as AN, e2 as ON, e3 as DN, e4 as RN, eb as EN, ec as NN, ed as MN, ee as zN, ef as FN, eg as BN, eh as WN, ei as _N, ej as VN, ek as UN, el as KN, em as HN, en as GN, eo as YN, ep as ZN, eq as QN, er as JN, es as XN, eu as qN, ev as eM, bm as tM, ew as oM, ex as nM, ey as rM, ez as sM, eA as iM, eB as aM, eC as lM, fe as cM, eF as dM, eD as pM, eG as uM, eJ as hM, eK as mM, eL as gM, eM as xM, eN as yM, eO as fM, eP as bM, eR as $M, eS as CM, eT as wM, eU as vM, eV as SM, eW as jM, fa as kM, fc as TM, fd as PM, fq as IM, fr as LM, fs as AM, fu as OM, fx as DM, fz as RM, gd as EM, ge as NM, gf as MM, gg as zM, gh as FM, gi as BM, gk as WM, go as _M, gq as VM, gr as UM, gs as KM, gt as HM, gu as GM, gv as YM, gw as ZM, gx as QM, gy as JM, gz as XM, gA as qM, gB as ez, gC as tz, gD as oz, gE as nz, gF as rz, gG as sz, gH as iz, gI as az, gL as lz, gM as cz, gN as dz, gO as pz, gP as uz, gQ as hz, gR as mz, gS as gz, gT as xz, gU as yz, gV as fz, gW as bz, gX as $z, gY as Cz, gZ as wz, g_ as vz, g$ as Sz, h0 as jz, h1 as kz, h2 as Tz, h3 as Pz, h4 as Iz, h5 as Lz, h6 as Az, h7 as Oz, h8 as Dz, h9 as Rz, ha as Ez, hd as Nz, he as Mz, hf as zz, hh as Fz, hj as Bz, hl as Wz, hm as _z, hn as Vz, ho as Uz, hp as Kz, hq as Hz, hr as Gz, ht as Yz, hu as Zz, hw as Qz, hx as Jz, hy as Xz, hB as qz, hE as eF, hC as tF, hD as oF, hH as nF, hJ as rF, hK as sF, hM as iF, hN as aF, hO as lF, hV as cF, hZ as dF, h_ as pF, i2 as uF, i3 as hF, i4 as mF, i5 as gF, i8 as xF, ie as yF, ig as fF, ih as bF, ii as $F, ij as CF, ik as wF, il as vF, im as SF, iq as jF, ir as kF, is as TF, it as PF, iu as IF, iv as LF, iw as AF, ix as OF, iy as DF, iz as RF, iB as EF, iC as NF, iD as MF, iE as zF, iF as FF, iH as BF, iK as WF, iL as _F, iM as VF, iN as UF, iO as KF, iP as HF, iQ as GF, iR as YF, iS as ZF, iT as QF, iU as JF, iV as XF, iY as qF, iZ as eB, i_ as tB, j1 as oB, j2 as nB, j3 as rB, j8 as sB, j9 as iB, ja as aB, jb as lB, jd as cB, je as dB, jf as pB, jg as uB, jh as hB, ji as mB, jl as gB, jn as xB, jo as yB } from "./SessionTimeoutPopup-16W6J9u6.js";
|
|
3
3
|
import { am as t, D as sm, a2 as im, aN as He, q as Vn, O as st, L as am, s as lm, T as cm, aJ as jo, ab as pn, i as Un, o as Is, f as co, h as ye, aI as ko, Z as gn, m as To, J as xn, b as po, V as yn, af as nt, I as Id, X as dm, ap as Kt, aH as pm, k as ra, C as Ld, n as um, d as hm, e as sa, B as ia, au as Da } from "./vendor-.pnpm-DP641zlu.js";
|
|
4
4
|
import { aC as bB } from "./vendor-.pnpm-DP641zlu.js";
|
|
5
5
|
import * as ge from "react";
|
|
@@ -7,7 +7,7 @@ import vr, { useEffect as te, useState as _, useMemo as Qe, useCallback as oe, u
|
|
|
7
7
|
import r from "@emotion/styled";
|
|
8
8
|
import { default as CB } from "@emotion/styled";
|
|
9
9
|
import { useInboxNotificationThread as gm, useInboxNotifications as Dd, useMarkInboxNotificationAsRead as xm, RoomProvider as uo, useCreateThread as ym } from "@liveblocks/react";
|
|
10
|
-
import { zeniDate as At, stringToUnion as fm, stringToUnionStrict as bm, isAllowedValueWithCode as $m, dateNow as
|
|
10
|
+
import { zeniDate as At, stringToUnion as fm, stringToUnionStrict as bm, isAllowedValueWithCode as $m, dateNow as yt, canSendMonthEndEmailReport as Cm, shouldEnableCalendarPickerForLastReportSent as wm, toManagementSortKeyType as Rd, toUserRoleType as zs, toTaskManagerSortKeyType as Ed, allTaskPriority as Nd, allTaskStatus as vm, getUserName as Ii, toHealthSortKeyType as Sm, isCompanyRunwayInfinite as Li, companyHealthMetricDropDownOptions as Md, hasCompanyHealthMetricFormFieldChanged as jm, toSubscriptionSortKeyType as zd, toPortfolioSortKeyType as Fd, getAllowedOperationsForStatus as km, toOnboardingSortKeyType as Bd, isTenantBankingOnly as Tm, ALL_ACCOUNTING_CONNECTION_CREATION_MODES as Pm, toProductTypeStrict as Im, mapAttachmentFileToAttachmentFilePayload as Wd, SUPPORTED_ATTACHMENT_FILE_TYPES as Lm, toSupportedAttachmentFileType as Am, getAttachmentFileIdByFileName as Om, dateFromYearMonthDate as Dm, getBusinessDayOfDate as Rm, toReviewColumnKeyType as Em, getAuditWarningsCount as _d, getUserFromAllUsers as Nm } from "@zeniai/client-epic-state";
|
|
11
11
|
import { buildInvoicingEntityPath as vB, isInvoicingEntityLinkable as SB } from "@zeniai/client-epic-state";
|
|
12
12
|
import { InboxNotification as Ra } from "@liveblocks/react-ui";
|
|
13
13
|
import { css as Ke, keyframes as Ko } from "@emotion/react";
|
|
@@ -1973,7 +1973,7 @@ const {
|
|
|
1973
1973
|
display: flex;
|
|
1974
1974
|
justify-content: space-between;
|
|
1975
1975
|
align-items: center;
|
|
1976
|
-
`, Ja = r(
|
|
1976
|
+
`, Ja = r(ft)`
|
|
1977
1977
|
color: ${(e) => e.theme.colors.primary};
|
|
1978
1978
|
`, rx = r.button`
|
|
1979
1979
|
border: none;
|
|
@@ -4498,7 +4498,7 @@ const Y0 = r.div`
|
|
|
4498
4498
|
e != null && /* @__PURE__ */ t.jsxs(c2, { children: [
|
|
4499
4499
|
/* @__PURE__ */ t.jsx(Xc, { width: o.sp3, height: o.sp3 }),
|
|
4500
4500
|
At(e.toISOString()).format(
|
|
4501
|
-
e.year() ===
|
|
4501
|
+
e.year() === yt().year() ? nl.MMMDFormat : nl.MMMDCommaYYYYformat
|
|
4502
4502
|
)
|
|
4503
4503
|
] }),
|
|
4504
4504
|
/* @__PURE__ */ t.jsx(y2, {}),
|
|
@@ -5031,28 +5031,27 @@ const Y0 = r.div`
|
|
|
5031
5031
|
productVerticals: { placeholder: V2 },
|
|
5032
5032
|
editMonthInsight: U2,
|
|
5033
5033
|
createMonthInsight: K2,
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
monthEndHistoryUnavailable: J2
|
|
5034
|
+
monthInsightNotReady: H2,
|
|
5035
|
+
monthInsightsCanBeSentFromDashboard: G2,
|
|
5036
|
+
sendMonthInsightsFromDashboardWhenReady: Y2,
|
|
5037
|
+
monthInsightsCanBeEditedFromDashboard: Z2,
|
|
5038
|
+
monthEndHistoryUnavailable: Q2
|
|
5040
5039
|
}
|
|
5041
5040
|
},
|
|
5042
5041
|
dateFormat: ma,
|
|
5043
|
-
common:
|
|
5044
|
-
} = Z.getLocalizedStrings(),
|
|
5045
|
-
status:
|
|
5046
|
-
group:
|
|
5047
|
-
plans:
|
|
5048
|
-
controller:
|
|
5049
|
-
customerSuccessManager:
|
|
5050
|
-
preparer:
|
|
5051
|
-
reviewer:
|
|
5052
|
-
apAnalyst:
|
|
5053
|
-
reportSent:
|
|
5054
|
-
taxStatus:
|
|
5055
|
-
taxLead:
|
|
5042
|
+
common: xt
|
|
5043
|
+
} = Z.getLocalizedStrings(), J2 = ma.visual.MMMMFormat, X2 = xt.texts.monthInsightSent, al = {
|
|
5044
|
+
status: xt.texts.status,
|
|
5045
|
+
group: xt.texts.group,
|
|
5046
|
+
plans: xt.texts.plans,
|
|
5047
|
+
controller: xt.texts.controller,
|
|
5048
|
+
customerSuccessManager: xt.texts.csManager,
|
|
5049
|
+
preparer: xt.texts.preparer,
|
|
5050
|
+
reviewer: xt.texts.reviewer,
|
|
5051
|
+
apAnalyst: xt.texts.apAnalyst,
|
|
5052
|
+
reportSent: xt.texts.date,
|
|
5053
|
+
taxStatus: xt.texts.status,
|
|
5054
|
+
taxLead: xt.texts.taxLead
|
|
5056
5055
|
}, q2 = [
|
|
5057
5056
|
"status",
|
|
5058
5057
|
"group",
|
|
@@ -5065,14 +5064,14 @@ const Y0 = r.div`
|
|
|
5065
5064
|
onReportSentClick: s
|
|
5066
5065
|
}) => {
|
|
5067
5066
|
if (e.date == null)
|
|
5068
|
-
return /* @__PURE__ */ t.jsx(_s, { children:
|
|
5069
|
-
const i = `${
|
|
5067
|
+
return /* @__PURE__ */ t.jsx(_s, { children: xt.strings.hyphen });
|
|
5068
|
+
const i = `${xt.datePicker.businessDay} ${e.businessDay ?? xt.strings.empty}${xt.strings.colon} ${e.date.format(ma.visual.DMMMFormat)}`;
|
|
5070
5069
|
return n ? /* @__PURE__ */ t.jsx(_s, { onClick: s, children: i }) : /* @__PURE__ */ t.jsx(
|
|
5071
5070
|
lt,
|
|
5072
5071
|
{
|
|
5073
5072
|
placement: "bottom-end",
|
|
5074
5073
|
variant: "small-description",
|
|
5075
|
-
data:
|
|
5074
|
+
data: Q2,
|
|
5076
5075
|
style: {
|
|
5077
5076
|
color: I.championDark,
|
|
5078
5077
|
marginTop: o.sp2
|
|
@@ -5179,7 +5178,7 @@ const Y0 = r.div`
|
|
|
5179
5178
|
), ae = wm(
|
|
5180
5179
|
e,
|
|
5181
5180
|
s
|
|
5182
|
-
), Fe = e.company.company.companyInfo.bookCloseDate, Te = e.company.company.managementInfo.lastReportSentDate,
|
|
5181
|
+
), Fe = e.company.company.companyInfo.bookCloseDate, Te = e.company.company.managementInfo.lastReportSentDate, bt = e.taskSummary?.count ?? 0, Ge = oe(() => {
|
|
5183
5182
|
se?.includes(Ue) === !0 && he(se), u != null && $(void 0);
|
|
5184
5183
|
}, [
|
|
5185
5184
|
u,
|
|
@@ -5322,7 +5321,7 @@ const Y0 = r.div`
|
|
|
5322
5321
|
"management",
|
|
5323
5322
|
E.key,
|
|
5324
5323
|
A
|
|
5325
|
-
), kt = X.get(De), Tt = kt != null && kt.resolved === !1,
|
|
5324
|
+
), kt = X.get(De), Tt = kt != null && kt.resolved === !1, $t = De === se, gt = u === De;
|
|
5326
5325
|
switch (E.key) {
|
|
5327
5326
|
case "companyName":
|
|
5328
5327
|
return /* @__PURE__ */ t.jsxs(
|
|
@@ -5331,7 +5330,7 @@ const Y0 = r.div`
|
|
|
5331
5330
|
companyNameSticky: l,
|
|
5332
5331
|
columnWidth: E.width,
|
|
5333
5332
|
windowSize: H,
|
|
5334
|
-
isThreadOpen:
|
|
5333
|
+
isThreadOpen: $t || gt,
|
|
5335
5334
|
isThreadAllowed: E.isThreadAllowed,
|
|
5336
5335
|
className: ce,
|
|
5337
5336
|
onContextMenu: (le) => Be(le, E.key),
|
|
@@ -5367,7 +5366,7 @@ const Y0 = r.div`
|
|
|
5367
5366
|
/* @__PURE__ */ t.jsx(
|
|
5368
5367
|
Fn,
|
|
5369
5368
|
{
|
|
5370
|
-
isElementThreadOpen:
|
|
5369
|
+
isElementThreadOpen: $t,
|
|
5371
5370
|
targetElement: h ?? Y,
|
|
5372
5371
|
roomId: ee,
|
|
5373
5372
|
openThreadId: se,
|
|
@@ -5461,18 +5460,18 @@ const Y0 = r.div`
|
|
|
5461
5460
|
},
|
|
5462
5461
|
children: [
|
|
5463
5462
|
/* @__PURE__ */ t.jsx(gf, {}),
|
|
5464
|
-
|
|
5463
|
+
bt > 0 ? /* @__PURE__ */ t.jsx(
|
|
5465
5464
|
Zt,
|
|
5466
5465
|
{
|
|
5467
5466
|
isLoading: !1,
|
|
5468
|
-
count:
|
|
5467
|
+
count: bt
|
|
5469
5468
|
}
|
|
5470
5469
|
) : null
|
|
5471
5470
|
]
|
|
5472
5471
|
}
|
|
5473
5472
|
),
|
|
5474
5473
|
mt({
|
|
5475
|
-
isElementThreadOpen:
|
|
5474
|
+
isElementThreadOpen: $t,
|
|
5476
5475
|
isElementThreadPresent: Tt,
|
|
5477
5476
|
itemKey: E.key,
|
|
5478
5477
|
elementThreadId: De,
|
|
@@ -5508,7 +5507,7 @@ const Y0 = r.div`
|
|
|
5508
5507
|
}
|
|
5509
5508
|
),
|
|
5510
5509
|
mt({
|
|
5511
|
-
isElementThreadOpen:
|
|
5510
|
+
isElementThreadOpen: $t,
|
|
5512
5511
|
isElementThreadPresent: Tt,
|
|
5513
5512
|
itemKey: E.key,
|
|
5514
5513
|
elementThreadId: De,
|
|
@@ -5544,7 +5543,7 @@ const Y0 = r.div`
|
|
|
5544
5543
|
}
|
|
5545
5544
|
),
|
|
5546
5545
|
mt({
|
|
5547
|
-
isElementThreadOpen:
|
|
5546
|
+
isElementThreadOpen: $t,
|
|
5548
5547
|
isElementThreadPresent: Tt,
|
|
5549
5548
|
itemKey: E.key,
|
|
5550
5549
|
elementThreadId: De,
|
|
@@ -5574,7 +5573,7 @@ const Y0 = r.div`
|
|
|
5574
5573
|
children: [
|
|
5575
5574
|
/* @__PURE__ */ t.jsx(m0, { chips: O.plansAndAddons }),
|
|
5576
5575
|
mt({
|
|
5577
|
-
isElementThreadOpen:
|
|
5576
|
+
isElementThreadOpen: $t,
|
|
5578
5577
|
isElementThreadPresent: Tt,
|
|
5579
5578
|
itemKey: E.key,
|
|
5580
5579
|
elementThreadId: De,
|
|
@@ -5610,7 +5609,7 @@ const Y0 = r.div`
|
|
|
5610
5609
|
}
|
|
5611
5610
|
),
|
|
5612
5611
|
mt({
|
|
5613
|
-
isElementThreadOpen:
|
|
5612
|
+
isElementThreadOpen: $t,
|
|
5614
5613
|
isElementThreadPresent: Tt,
|
|
5615
5614
|
itemKey: E.key,
|
|
5616
5615
|
elementThreadId: De,
|
|
@@ -5640,9 +5639,9 @@ const Y0 = r.div`
|
|
|
5640
5639
|
children: [
|
|
5641
5640
|
Fe?.format(
|
|
5642
5641
|
ma.visual.MMMDCommaYYYYformat
|
|
5643
|
-
) ??
|
|
5642
|
+
) ?? xt.strings.hyphen,
|
|
5644
5643
|
mt({
|
|
5645
|
-
isElementThreadOpen:
|
|
5644
|
+
isElementThreadOpen: $t,
|
|
5646
5645
|
isElementThreadPresent: Tt,
|
|
5647
5646
|
itemKey: E.key,
|
|
5648
5647
|
elementThreadId: De,
|
|
@@ -5707,7 +5706,7 @@ const Y0 = r.div`
|
|
|
5707
5706
|
}
|
|
5708
5707
|
) }),
|
|
5709
5708
|
mt({
|
|
5710
|
-
isElementThreadOpen:
|
|
5709
|
+
isElementThreadOpen: $t,
|
|
5711
5710
|
isElementThreadPresent: Tt,
|
|
5712
5711
|
itemKey: E.key,
|
|
5713
5712
|
elementThreadId: De,
|
|
@@ -5752,7 +5751,7 @@ const Y0 = r.div`
|
|
|
5752
5751
|
}
|
|
5753
5752
|
),
|
|
5754
5753
|
mt({
|
|
5755
|
-
isElementThreadOpen:
|
|
5754
|
+
isElementThreadOpen: $t,
|
|
5756
5755
|
isElementThreadPresent: Tt,
|
|
5757
5756
|
itemKey: E.key,
|
|
5758
5757
|
elementThreadId: De,
|
|
@@ -5788,7 +5787,7 @@ const Y0 = r.div`
|
|
|
5788
5787
|
}
|
|
5789
5788
|
),
|
|
5790
5789
|
mt({
|
|
5791
|
-
isElementThreadOpen:
|
|
5790
|
+
isElementThreadOpen: $t,
|
|
5792
5791
|
isElementThreadPresent: Tt,
|
|
5793
5792
|
itemKey: E.key,
|
|
5794
5793
|
elementThreadId: De,
|
|
@@ -5830,7 +5829,7 @@ const Y0 = r.div`
|
|
|
5830
5829
|
}
|
|
5831
5830
|
),
|
|
5832
5831
|
mt({
|
|
5833
|
-
isElementThreadOpen:
|
|
5832
|
+
isElementThreadOpen: $t,
|
|
5834
5833
|
isElementThreadPresent: Tt,
|
|
5835
5834
|
itemKey: E.key,
|
|
5836
5835
|
elementThreadId: De,
|
|
@@ -5863,7 +5862,7 @@ const Y0 = r.div`
|
|
|
5863
5862
|
O.monthlyRecurringRevenue
|
|
5864
5863
|
),
|
|
5865
5864
|
mt({
|
|
5866
|
-
isElementThreadOpen:
|
|
5865
|
+
isElementThreadOpen: $t,
|
|
5867
5866
|
isElementThreadPresent: Tt,
|
|
5868
5867
|
itemKey: E.key,
|
|
5869
5868
|
elementThreadId: De,
|
|
@@ -5893,7 +5892,7 @@ const Y0 = r.div`
|
|
|
5893
5892
|
children: [
|
|
5894
5893
|
ot("0,0", O.annualRecurringRevenue),
|
|
5895
5894
|
mt({
|
|
5896
|
-
isElementThreadOpen:
|
|
5895
|
+
isElementThreadOpen: $t,
|
|
5897
5896
|
isElementThreadPresent: Tt,
|
|
5898
5897
|
itemKey: E.key,
|
|
5899
5898
|
elementThreadId: De,
|
|
@@ -6087,7 +6086,7 @@ const Y0 = r.div`
|
|
|
6087
6086
|
word-break: break-word;
|
|
6088
6087
|
margin-right: 10px;
|
|
6089
6088
|
cursor: pointer;
|
|
6090
|
-
`, lf = r(
|
|
6089
|
+
`, lf = r(ft)`
|
|
6091
6090
|
width: ${(e) => e.columnWidth.valuePx(e.windowSize)};
|
|
6092
6091
|
height: 100%;
|
|
6093
6092
|
display: flex;
|
|
@@ -6220,7 +6219,7 @@ function bf(e, n) {
|
|
|
6220
6219
|
},
|
|
6221
6220
|
reportSent: {
|
|
6222
6221
|
showBusinessDay: !0,
|
|
6223
|
-
maxDate:
|
|
6222
|
+
maxDate: yt(),
|
|
6224
6223
|
date: e.company.company.managementInfo.lastReportSentDate,
|
|
6225
6224
|
businessDay: e.company.company.managementInfo.lastReportSentBusinessDay
|
|
6226
6225
|
},
|
|
@@ -6298,8 +6297,8 @@ function ll(e, n, s) {
|
|
|
6298
6297
|
}
|
|
6299
6298
|
}
|
|
6300
6299
|
const wf = (e, n, s, i) => {
|
|
6301
|
-
const a =
|
|
6302
|
-
return e ? n ? U2.replace("__month__", a) : K2.replace("__month__", a) : l === !0 ?
|
|
6300
|
+
const a = yt().subtract(1, "month").format(J2), c = yt().startOf("month").subtract(1, "day"), l = s?.isSame(c) === !0 && i?.isAfter(s);
|
|
6301
|
+
return e ? n ? U2.replace("__month__", a) : K2.replace("__month__", a) : l === !0 ? X2 : H2.replace("__month__", a);
|
|
6303
6302
|
}, vf = ({
|
|
6304
6303
|
enableCompanyMonthEndReportBtn: e,
|
|
6305
6304
|
isMonthEndReportInDraft: n,
|
|
@@ -6307,7 +6306,7 @@ const wf = (e, n, s, i) => {
|
|
|
6307
6306
|
lastReportSentDate: i,
|
|
6308
6307
|
handleMonthEndReportPageClick: a
|
|
6309
6308
|
}) => {
|
|
6310
|
-
const c =
|
|
6309
|
+
const c = yt().startOf("month").subtract(1, "day"), l = s?.isSame(c) === !0 && i?.isAfter(s), d = e ? n ? Z2 : G2 : l === !0 ? null : Y2;
|
|
6311
6310
|
return d != null ? /* @__PURE__ */ t.jsx(
|
|
6312
6311
|
lt,
|
|
6313
6312
|
{
|
|
@@ -6579,7 +6578,7 @@ const jf = vr.memo(Sf), kf = r.div`
|
|
|
6579
6578
|
{
|
|
6580
6579
|
width: l[15].width,
|
|
6581
6580
|
windowSize: c,
|
|
6582
|
-
children: /* @__PURE__ */ t.jsx(
|
|
6581
|
+
children: /* @__PURE__ */ t.jsx(ft, { children: n })
|
|
6583
6582
|
}
|
|
6584
6583
|
),
|
|
6585
6584
|
/* @__PURE__ */ t.jsx(
|
|
@@ -6587,7 +6586,7 @@ const jf = vr.memo(Sf), kf = r.div`
|
|
|
6587
6586
|
{
|
|
6588
6587
|
width: l[16].width,
|
|
6589
6588
|
windowSize: c,
|
|
6590
|
-
children: /* @__PURE__ */ t.jsx(
|
|
6589
|
+
children: /* @__PURE__ */ t.jsx(ft, { children: s })
|
|
6591
6590
|
}
|
|
6592
6591
|
),
|
|
6593
6592
|
i ? /* @__PURE__ */ t.jsx(
|
|
@@ -6599,7 +6598,7 @@ const jf = vr.memo(Sf), kf = r.div`
|
|
|
6599
6598
|
) : null,
|
|
6600
6599
|
a ? /* @__PURE__ */ t.jsx(pt, { width: p, windowSize: c }) : null
|
|
6601
6600
|
] });
|
|
6602
|
-
}, Df = r(
|
|
6601
|
+
}, Df = r(ft)`
|
|
6603
6602
|
display: flex;
|
|
6604
6603
|
padding: 15px ${o.sp4} 15px ${o.sp0};
|
|
6605
6604
|
align-items: center;
|
|
@@ -6610,7 +6609,7 @@ const jf = vr.memo(Sf), kf = r.div`
|
|
|
6610
6609
|
border: none;
|
|
6611
6610
|
box-shadow: none;
|
|
6612
6611
|
height: 58px;
|
|
6613
|
-
`, Rf = r(
|
|
6612
|
+
`, Rf = r(ft)`
|
|
6614
6613
|
width: ${(e) => e.width.valuePx(e.windowSize)};
|
|
6615
6614
|
height: 100%;
|
|
6616
6615
|
display: flex;
|
|
@@ -8838,14 +8837,14 @@ const sb = (e, n, s) => {
|
|
|
8838
8837
|
background-color: ${(e) => e.theme.colors.primary};
|
|
8839
8838
|
`, { dateFormat: ul, timeFormat: lb, timeframe: Us, common: $o } = Z.getLocalizedStrings(), Ks = (e) => {
|
|
8840
8839
|
if (e != null) {
|
|
8841
|
-
const n =
|
|
8840
|
+
const n = yt();
|
|
8842
8841
|
return Math.abs(n.diff(e, "days"));
|
|
8843
8842
|
}
|
|
8844
8843
|
};
|
|
8845
8844
|
function xr(e) {
|
|
8846
8845
|
if (e == null)
|
|
8847
8846
|
return;
|
|
8848
|
-
const n =
|
|
8847
|
+
const n = yt();
|
|
8849
8848
|
if (Math.abs(n.diff(e, "days")) <= 0)
|
|
8850
8849
|
return `0 ${Us.day}`;
|
|
8851
8850
|
const [i, a] = e < n ? [e, n] : [n, e], c = i.year(), l = i.month(), d = i.date(), p = a.year(), u = a.month(), h = a.date();
|
|
@@ -9258,7 +9257,7 @@ function kb({
|
|
|
9258
9257
|
"healthMonitor",
|
|
9259
9258
|
O.key,
|
|
9260
9259
|
P
|
|
9261
|
-
), ae = q.get(de), Fe = ae != null && ae.resolved === !1, Te = de === ie,
|
|
9260
|
+
), ae = q.get(de), Fe = ae != null && ae.resolved === !1, Te = de === ie, bt = a === de, Ge = H.lastEngagements;
|
|
9262
9261
|
switch (O.key) {
|
|
9263
9262
|
case "companyName":
|
|
9264
9263
|
return /* @__PURE__ */ t.jsxs(
|
|
@@ -9267,7 +9266,7 @@ function kb({
|
|
|
9267
9266
|
companyNameSticky: s,
|
|
9268
9267
|
columnWidth: O.width,
|
|
9269
9268
|
windowSize: u,
|
|
9270
|
-
isThreadOpen: Te ||
|
|
9269
|
+
isThreadOpen: Te || bt,
|
|
9271
9270
|
isThreadAllowed: O.isThreadAllowed,
|
|
9272
9271
|
className: ce,
|
|
9273
9272
|
"data-testid": B(
|
|
@@ -10065,7 +10064,7 @@ const Tp = ({
|
|
|
10065
10064
|
border-radius: ${o.sp1};
|
|
10066
10065
|
border: ${(e) => `1px solid ${e.isEnabled ? e.color : e.theme.colors.grey2}`};
|
|
10067
10066
|
color: ${(e) => e.isEnabled ? e.color : e.theme.colors.grey2};
|
|
10068
|
-
`, Ab = r(
|
|
10067
|
+
`, Ab = r(ft)`
|
|
10069
10068
|
width: ${(e) => e.columnWidth.valuePx(e.windowSize)};
|
|
10070
10069
|
height: 100%;
|
|
10071
10070
|
display: flex;
|
|
@@ -11184,7 +11183,7 @@ const g4 = (e, n) => ({
|
|
|
11184
11183
|
margin-top: ${o.sp5};
|
|
11185
11184
|
`, I4 = r(_n)`
|
|
11186
11185
|
color: ${(e) => e.theme.colors.primary};
|
|
11187
|
-
`, Tl = r(
|
|
11186
|
+
`, Tl = r(ft)`
|
|
11188
11187
|
margin-left: ${o.sp2};
|
|
11189
11188
|
margin-bottom: ${o.sp2};
|
|
11190
11189
|
color: ${(e) => e.theme.colors.primary};
|
|
@@ -13327,7 +13326,7 @@ const AC = r.div``, OC = r(ks)`
|
|
|
13327
13326
|
fill: ${(e) => e.theme.colors.primary};
|
|
13328
13327
|
}
|
|
13329
13328
|
}
|
|
13330
|
-
`, RC = r(
|
|
13329
|
+
`, RC = r(ft)`
|
|
13331
13330
|
width: ${(e) => e.columnWidth.valuePx(e.windowSize)};
|
|
13332
13331
|
height: 100%;
|
|
13333
13332
|
display: flex;
|
|
@@ -13485,7 +13484,7 @@ const AC = r.div``, OC = r(ks)`
|
|
|
13485
13484
|
{
|
|
13486
13485
|
width: i[9].width,
|
|
13487
13486
|
windowSize: s,
|
|
13488
|
-
children: /* @__PURE__ */ t.jsx(
|
|
13487
|
+
children: /* @__PURE__ */ t.jsx(ft, { children: n })
|
|
13489
13488
|
}
|
|
13490
13489
|
)
|
|
13491
13490
|
] });
|
|
@@ -13500,7 +13499,7 @@ const AC = r.div``, OC = r(ks)`
|
|
|
13500
13499
|
border: none;
|
|
13501
13500
|
box-shadow: none;
|
|
13502
13501
|
height: 58px;
|
|
13503
|
-
`, VC = r(
|
|
13502
|
+
`, VC = r(ft)`
|
|
13504
13503
|
width: ${(e) => e.width.valuePx(e.windowSize)};
|
|
13505
13504
|
max-width: ${(e) => e.width.valuePx(e.windowSize)};
|
|
13506
13505
|
height: 100%;
|
|
@@ -15691,7 +15690,7 @@ function Aw({
|
|
|
15691
15690
|
placeholder: qn.texts.selectStartDate,
|
|
15692
15691
|
defaultValue: s?.startDate,
|
|
15693
15692
|
dateFormat: Lw.defaultInput,
|
|
15694
|
-
minDate:
|
|
15693
|
+
minDate: yt(),
|
|
15695
15694
|
autoComplete: "off"
|
|
15696
15695
|
}
|
|
15697
15696
|
}
|
|
@@ -16669,7 +16668,7 @@ const i7 = vr.memo(s7), a7 = r(Se)`
|
|
|
16669
16668
|
width: ${o.sp4};
|
|
16670
16669
|
display: flex;
|
|
16671
16670
|
align-items: center;
|
|
16672
|
-
`, j7 = r(
|
|
16671
|
+
`, j7 = r(ft)`
|
|
16673
16672
|
width: ${(e) => e.columnWidth.valuePx(e.windowSize)};
|
|
16674
16673
|
max-width: ${(e) => e.columnWidth.valuePx(e.windowSize)};
|
|
16675
16674
|
height: 100%;
|
|
@@ -19726,8 +19725,8 @@ const _8 = r.div`
|
|
|
19726
19725
|
}
|
|
19727
19726
|
const Te = [
|
|
19728
19727
|
...Mt(K, { entityType: Fe, companyId: j }, "both")
|
|
19729
|
-
],
|
|
19730
|
-
K.has(
|
|
19728
|
+
], bt = Te.length > 0 && Te[0].length > 0 ? Te[0][0] : Ze("onboarding", ae.key, j);
|
|
19729
|
+
K.has(bt) ? $e(bt) : l === bt ? f(void 0) : (f(bt), M(null));
|
|
19731
19730
|
}
|
|
19732
19731
|
},
|
|
19733
19732
|
[
|
|
@@ -19825,7 +19824,7 @@ const _8 = r.div`
|
|
|
19825
19824
|
"onboarding",
|
|
19826
19825
|
F.key,
|
|
19827
19826
|
j
|
|
19828
|
-
),
|
|
19827
|
+
), bt = K.get(Te), Ge = bt != null && bt.resolved === !1, ne = Te === D, Be = l === Te;
|
|
19829
19828
|
switch (F.key) {
|
|
19830
19829
|
case "companyName":
|
|
19831
19830
|
return /* @__PURE__ */ t.jsxs(
|
|
@@ -20208,7 +20207,7 @@ const u9 = r.div``, h9 = r.div`
|
|
|
20208
20207
|
border: 1px solid ${e.theme.colors.primary};
|
|
20209
20208
|
animation: animate 3s linear infinite;
|
|
20210
20209
|
` : null};
|
|
20211
|
-
`, m9 = r(
|
|
20210
|
+
`, m9 = r(ft)`
|
|
20212
20211
|
width: ${(e) => e.columnWidth.valuePx(e.windowSize)};
|
|
20213
20212
|
height: 100%;
|
|
20214
20213
|
display: flex;
|
|
@@ -21808,7 +21807,7 @@ const DS = r.div`
|
|
|
21808
21807
|
border-radius: ${o.sp1};
|
|
21809
21808
|
`, {
|
|
21810
21809
|
common: Xe,
|
|
21811
|
-
cockpit: { onboarding:
|
|
21810
|
+
cockpit: { onboarding: Ct }
|
|
21812
21811
|
} = Z.getLocalizedStrings(), HS = Xe.no, GS = Xe.yes, be = Xe.strings, yc = "onboardingCustomerPage", YS = "companySection", qt = "groupSection", tt = "customerSection", iu = "qboConnectionSection", cr = {
|
|
21813
21812
|
labelWidth: new N(120, 180),
|
|
21814
21813
|
largeLabelWidth: new N(120, 210, 210),
|
|
@@ -21854,8 +21853,8 @@ function vO({
|
|
|
21854
21853
|
), [K, A] = _(
|
|
21855
21854
|
be.empty
|
|
21856
21855
|
), [T, M] = _(!1), [G, ie] = _(!1), [q, ee] = _(
|
|
21857
|
-
|
|
21858
|
-
), [re, V] = _(!1), $e = Ce(null), se = Ce(null), X = Ce(null), { isExistingCustomer: ue, isCustomerOnboardedSuccessfully: he } = qS(e), we = ue && he ?
|
|
21856
|
+
Ct.customer.completePreOnboardingText
|
|
21857
|
+
), [re, V] = _(!1), $e = Ce(null), se = Ce(null), X = Ce(null), { isExistingCustomer: ue, isCustomerOnboardedSuccessfully: he } = qS(e), we = ue && he ? Ct.customer.customerNameExistInManagementText : Ct.customer.customerNameExistInOnboardingText, Oe = Qe(
|
|
21859
21858
|
() => we.replace(
|
|
21860
21859
|
"_company-domain_",
|
|
21861
21860
|
y.companyEmailDomain ?? be.empty
|
|
@@ -21864,20 +21863,20 @@ function vO({
|
|
|
21864
21863
|
[b.fetchState]
|
|
21865
21864
|
), R = P?.company.companyOnboardingInfo.onboardingInfo?.qboLinked.completed, fe = oe(() => {
|
|
21866
21865
|
const E = C.getValues();
|
|
21867
|
-
return E[tt].realmId !== E[tt].confirmRealmId ? (D(
|
|
21866
|
+
return E[tt].realmId !== E[tt].confirmRealmId ? (D(Ct.customer.realmIdWarning), C.trigger(`${tt}.confirmRealmId`), !1) : (D(be.empty), C.clearErrors(`${tt}.confirmRealmId`), !0);
|
|
21868
21867
|
}, [C]), me = oe(() => {
|
|
21869
21868
|
const E = C.getValues();
|
|
21870
21869
|
return E[tt].entityType.selectedOption?.value == "Subsidiary" && E[tt].company.selectedOption == null ? (C.setError("customerSection.company", {
|
|
21871
21870
|
type: "required"
|
|
21872
21871
|
}), !1) : (C.clearErrors("customerSection.company"), !0);
|
|
21873
|
-
}, [C]), ve = oe(() => y.customerName?.firstName && !y.customerName?.lastName || !y.customerName?.firstName && y.customerName?.lastName ? (C.trigger(`${tt}.customerName`), !1) : (y.customerName?.firstName || y.customerName?.lastName) && !y.email ? (C.trigger(`${tt}.email`), !1) : (y.customerName?.firstName || y.customerName?.lastName) && y.email && y.selectedProducts?.length === 0 ? (A(
|
|
21872
|
+
}, [C]), ve = oe(() => y.customerName?.firstName && !y.customerName?.lastName || !y.customerName?.firstName && y.customerName?.lastName ? (C.trigger(`${tt}.customerName`), !1) : (y.customerName?.firstName || y.customerName?.lastName) && !y.email ? (C.trigger(`${tt}.email`), !1) : (y.customerName?.firstName || y.customerName?.lastName) && y.email && y.selectedProducts?.length === 0 ? (A(Ct.customer.productsWarning), C.trigger(`${tt}.products`), !1) : !0, [
|
|
21874
21873
|
C,
|
|
21875
21874
|
y.customerName,
|
|
21876
21875
|
y.email,
|
|
21877
21876
|
y.selectedProducts
|
|
21878
21877
|
]), O = oe(() => fe() && me() && ve(), [me, fe, ve]), ke = C.handleSubmit(
|
|
21879
21878
|
() => {
|
|
21880
|
-
ee(
|
|
21879
|
+
ee(Ct.customer.completePreOnboardingText), O() && ie(!0);
|
|
21881
21880
|
},
|
|
21882
21881
|
() => {
|
|
21883
21882
|
O(), console.warn("Onboarding customer form error");
|
|
@@ -21931,11 +21930,11 @@ function vO({
|
|
|
21931
21930
|
let E = !0;
|
|
21932
21931
|
const je = C.getValues();
|
|
21933
21932
|
if (je[qt].groupEmail !== be.empty && je[qt].groupName === be.empty)
|
|
21934
|
-
Q(
|
|
21933
|
+
Q(Ct.customer.groupNameWarning), C.setError("groupSection.groupName", {
|
|
21935
21934
|
type: "required"
|
|
21936
21935
|
}), E = !1;
|
|
21937
21936
|
else if (je[qt].groupName !== be.empty && je[qt].groupEmail === be.empty)
|
|
21938
|
-
J(
|
|
21937
|
+
J(Ct.customer.groupEmailWarning), C.setError("groupSection.groupEmail", {
|
|
21939
21938
|
type: "required"
|
|
21940
21939
|
}), E = !1;
|
|
21941
21940
|
else {
|
|
@@ -21985,7 +21984,7 @@ function vO({
|
|
|
21985
21984
|
});
|
|
21986
21985
|
}
|
|
21987
21986
|
E.includes("realmId") && pn(C.formState.errors, `${tt}.confirmRealmId`) && C.trigger(`${tt}.confirmRealmId`), a(Ee);
|
|
21988
|
-
},
|
|
21987
|
+
}, bt = (E) => {
|
|
21989
21988
|
const { dirtyFields: je } = C.formState;
|
|
21990
21989
|
je.companySection?.companyDomain === !0 && p(E);
|
|
21991
21990
|
}, Ge = () => {
|
|
@@ -22103,10 +22102,10 @@ function vO({
|
|
|
22103
22102
|
_o,
|
|
22104
22103
|
{
|
|
22105
22104
|
style: { paddingLeft: o.sp6, paddingRight: o.sp6 },
|
|
22106
|
-
children:
|
|
22105
|
+
children: Ct.confirmationPopup.title
|
|
22107
22106
|
}
|
|
22108
22107
|
),
|
|
22109
|
-
descriptionComponent: /* @__PURE__ */ t.jsx(Wo, { children:
|
|
22108
|
+
descriptionComponent: /* @__PURE__ */ t.jsx(Wo, { children: Ct.confirmationPopup.subTitle }),
|
|
22110
22109
|
primaryButtonText: GS,
|
|
22111
22110
|
secondaryButtonText: HS,
|
|
22112
22111
|
action: Fe,
|
|
@@ -22125,14 +22124,14 @@ function vO({
|
|
|
22125
22124
|
}
|
|
22126
22125
|
),
|
|
22127
22126
|
/* @__PURE__ */ t.jsxs(ZS, { children: [
|
|
22128
|
-
/* @__PURE__ */ t.jsx(QS, { children:
|
|
22127
|
+
/* @__PURE__ */ t.jsx(QS, { children: Ct.customer.subTitle }),
|
|
22129
22128
|
/* @__PURE__ */ t.jsx(To, { ...C, children: /* @__PURE__ */ t.jsxs("form", { id: `${yc}_form`, onSubmit: ke, children: [
|
|
22130
22129
|
/* @__PURE__ */ t.jsx(
|
|
22131
22130
|
V9,
|
|
22132
22131
|
{
|
|
22133
22132
|
localData: e,
|
|
22134
22133
|
labelWidth: x,
|
|
22135
|
-
onCompanyDomainBlurred:
|
|
22134
|
+
onCompanyDomainBlurred: bt,
|
|
22136
22135
|
primaryEmailDomainAdditionalLabel: H,
|
|
22137
22136
|
isOnboardingAllowedForUser: j
|
|
22138
22137
|
}
|
|
@@ -22141,7 +22140,7 @@ function vO({
|
|
|
22141
22140
|
/* @__PURE__ */ t.jsxs(bi, { children: [
|
|
22142
22141
|
/* @__PURE__ */ t.jsxs(fc, { children: [
|
|
22143
22142
|
/* @__PURE__ */ t.jsx(yi, {}),
|
|
22144
|
-
/* @__PURE__ */ t.jsx(Mn, { children:
|
|
22143
|
+
/* @__PURE__ */ t.jsx(Mn, { children: Ct.customer.groupCreationError })
|
|
22145
22144
|
] }),
|
|
22146
22145
|
/* @__PURE__ */ t.jsx(XS, { children: Oe })
|
|
22147
22146
|
] }),
|
|
@@ -22167,7 +22166,7 @@ function vO({
|
|
|
22167
22166
|
b.fetchState === "Error" || v === "Error" || L.fetchState === "Error" && e.error != null && e.error?.code !== 406 ? /* @__PURE__ */ t.jsxs(fi, { children: [
|
|
22168
22167
|
/* @__PURE__ */ t.jsx(bi, { children: /* @__PURE__ */ t.jsxs(fc, { children: [
|
|
22169
22168
|
/* @__PURE__ */ t.jsx(yi, {}),
|
|
22170
|
-
/* @__PURE__ */ t.jsx(
|
|
22169
|
+
/* @__PURE__ */ t.jsx(ft, { children: Ct.customer.emailgroupAPIError })
|
|
22171
22170
|
] }) }),
|
|
22172
22171
|
/* @__PURE__ */ t.jsx(
|
|
22173
22172
|
_e,
|
|
@@ -22178,7 +22177,7 @@ function vO({
|
|
|
22178
22177
|
borderColor: f.colors.champion,
|
|
22179
22178
|
color: f.mode === "light" ? Yt.primary : Le.primary
|
|
22180
22179
|
},
|
|
22181
|
-
label:
|
|
22180
|
+
label: Ct.customer.tryAgainText,
|
|
22182
22181
|
size: "small",
|
|
22183
22182
|
onClick: ne
|
|
22184
22183
|
}
|
|
@@ -22187,7 +22186,7 @@ function vO({
|
|
|
22187
22186
|
L.fetchState === "Error" && e.error != null && e.error?.code === 406 ? /* @__PURE__ */ t.jsxs(fi, { children: [
|
|
22188
22187
|
/* @__PURE__ */ t.jsx(yi, {}),
|
|
22189
22188
|
/* @__PURE__ */ t.jsxs(bi, { children: [
|
|
22190
|
-
/* @__PURE__ */ t.jsx(
|
|
22189
|
+
/* @__PURE__ */ t.jsx(ft, { children: q !== be.empty ? Ct.customer.preOnboardingError : Ct.customer.preOnboardingSaveError }),
|
|
22191
22190
|
q !== be.empty ? /* @__PURE__ */ t.jsx(
|
|
22192
22191
|
_e,
|
|
22193
22192
|
{
|
|
@@ -22451,7 +22450,7 @@ const dr = (e) => {
|
|
|
22451
22450
|
display: flex;
|
|
22452
22451
|
align-items: center;
|
|
22453
22452
|
column-gap: ${o.sp2};
|
|
22454
|
-
`, cj = r(
|
|
22453
|
+
`, cj = r(ft)`
|
|
22455
22454
|
color: ${(e) => e.theme.colors.primary};
|
|
22456
22455
|
`, dj = r(We)`
|
|
22457
22456
|
color: ${I.brandColorGoldDark};
|
|
@@ -22516,7 +22515,7 @@ const dr = (e) => {
|
|
|
22516
22515
|
/* @__PURE__ */ t.jsxs(lj, { children: [
|
|
22517
22516
|
/* @__PURE__ */ t.jsx(cj, { children: d ? bc.monthEndReport.auditScoreSectionLoadingTitle.replace(
|
|
22518
22517
|
"__date__",
|
|
22519
|
-
|
|
22518
|
+
yt().subtract(1, "month").format(tj.MMMMYYYYFormat)
|
|
22520
22519
|
) : on.headers.auditScore }),
|
|
22521
22520
|
d ? null : /* @__PURE__ */ t.jsx(dj, { children: l.fixesRequired > 0 ? `${on.strings.openingBrace}${l.fixesRequired} ${l.fixesRequired > 1 ? on.texts.issues : on.texts.issue}${on.strings.closingBrace}` : on.strings.empty })
|
|
22522
22521
|
] }),
|
|
@@ -22690,7 +22689,7 @@ function Ej({
|
|
|
22690
22689
|
threadsPositions: ae,
|
|
22691
22690
|
observer: Fe,
|
|
22692
22691
|
unresolvedThreadsMap: Te,
|
|
22693
|
-
handleRemoveFloatingThread:
|
|
22692
|
+
handleRemoveFloatingThread: bt
|
|
22694
22693
|
} = ud(
|
|
22695
22694
|
d,
|
|
22696
22695
|
O,
|
|
@@ -22778,7 +22777,7 @@ function Ej({
|
|
|
22778
22777
|
);
|
|
22779
22778
|
} else
|
|
22780
22779
|
gu();
|
|
22781
|
-
}),
|
|
22780
|
+
}), $t = () => {
|
|
22782
22781
|
ie.current != null && ie.current.click();
|
|
22783
22782
|
}, gt = () => {
|
|
22784
22783
|
se !== void 0 && se != null && (x([se.id]), X(void 0), he(!1));
|
|
@@ -22831,7 +22830,7 @@ function Ej({
|
|
|
22831
22830
|
}, [i.attachmentFile]), te(() => {
|
|
22832
22831
|
we && S();
|
|
22833
22832
|
}, [we, S]);
|
|
22834
|
-
const Rs =
|
|
22833
|
+
const Rs = yt().subtract(1, "month").format(Rj.visual.MMMMFormat), Tr = re != null ? re.split(vh) : [], Pr = fo.monthEndReport.agentInsights, Es = i.templateData, xu = !a && Sh(Es), yu = i.concatenatedHtml, fu = () => i.lastDraftSavedDate != null && a === !1 ? /* @__PURE__ */ t.jsx(
|
|
22835
22834
|
Oh,
|
|
22836
22835
|
{
|
|
22837
22836
|
time: i.lastDraftSavedDate,
|
|
@@ -22955,7 +22954,7 @@ function Ej({
|
|
|
22955
22954
|
/* @__PURE__ */ t.jsx(Tj, { id: Ih, children: /* @__PURE__ */ t.jsx(
|
|
22956
22955
|
Lh,
|
|
22957
22956
|
{
|
|
22958
|
-
handleFileInputClick:
|
|
22957
|
+
handleFileInputClick: $t,
|
|
22959
22958
|
fileAttached: se != null,
|
|
22960
22959
|
enableZeniGPTFeature: n,
|
|
22961
22960
|
isZeniGPTResponseLoading: De,
|
|
@@ -23072,7 +23071,7 @@ function Ej({
|
|
|
23072
23071
|
width: "auto",
|
|
23073
23072
|
top: `${O.current?.offsetTop}px`
|
|
23074
23073
|
},
|
|
23075
|
-
handleRemoveFloatingThread:
|
|
23074
|
+
handleRemoveFloatingThread: bt
|
|
23076
23075
|
}
|
|
23077
23076
|
)
|
|
23078
23077
|
]
|
|
@@ -23315,7 +23314,7 @@ const Yj = r.div`
|
|
|
23315
23314
|
previewMode: i,
|
|
23316
23315
|
onRefresh: a,
|
|
23317
23316
|
onNavigateBack: c
|
|
23318
|
-
} = e, { openThread: l, setOpenThread: d } = Je(ct), p =
|
|
23317
|
+
} = e, { openThread: l, setOpenThread: d } = Je(ct), p = yt().subtract(1, "month").format(Xj), [u, h] = _(!1), [f, m] = _(!1), [x, $] = _(0), [g, C] = _({
|
|
23319
23318
|
hasUnpersistedEdits: !1,
|
|
23320
23319
|
isPending: !1
|
|
23321
23320
|
}), b = g.isPending, [y, S] = _(!1), j = oe(() => {
|
|
@@ -24439,7 +24438,7 @@ const Bk = r(mn)`
|
|
|
24439
24438
|
x(e.primaryEmailDomain);
|
|
24440
24439
|
}, [x, e.primaryEmailDomain]), ee = () => {
|
|
24441
24440
|
if (e.auditSummary.auditReportLastGeneratedDate == null) {
|
|
24442
|
-
const V =
|
|
24441
|
+
const V = yt().startOf("month").subtract(1, "date").format(bT), $e = e.controllers?.map(
|
|
24443
24442
|
(se) => `${se.user.firstName} ${se.user.middleName} ${se.user.lastName}`
|
|
24444
24443
|
) ?? [];
|
|
24445
24444
|
a.trackGetAuditScore(
|
|
@@ -24447,7 +24446,7 @@ const Bk = r(mn)`
|
|
|
24447
24446
|
e.name,
|
|
24448
24447
|
V,
|
|
24449
24448
|
$e,
|
|
24450
|
-
|
|
24449
|
+
yt().format($T)
|
|
24451
24450
|
);
|
|
24452
24451
|
}
|
|
24453
24452
|
h(e.companyId);
|
|
@@ -25331,7 +25330,7 @@ const MT = r.div`
|
|
|
25331
25330
|
align-items: end;
|
|
25332
25331
|
`, tP = r($s)`
|
|
25333
25332
|
color: ${(e) => e.theme.colors.primary};
|
|
25334
|
-
`, oP = r(
|
|
25333
|
+
`, oP = r(ft)`
|
|
25335
25334
|
color: ${I.brandColorGoldDark};
|
|
25336
25335
|
align-items: end;
|
|
25337
25336
|
margin-left: ${o.sp2};
|
|
@@ -25375,7 +25374,7 @@ const MT = r.div`
|
|
|
25375
25374
|
/* @__PURE__ */ t.jsxs(eP, { children: [
|
|
25376
25375
|
/* @__PURE__ */ t.jsx(tP, { children: i ? Ic.monthEndReport.auditScoreSectionLoadingTitle.replace(
|
|
25377
25376
|
"__date__",
|
|
25378
|
-
|
|
25377
|
+
yt().subtract(1, "month").format(GT.visual.MMMMYYYYFormat)
|
|
25379
25378
|
) : Ro.headers.auditScore }),
|
|
25380
25379
|
i ? null : /* @__PURE__ */ t.jsx(oP, { children: p() })
|
|
25381
25380
|
] }),
|
|
@@ -26318,11 +26317,11 @@ const MT = r.div`
|
|
|
26318
26317
|
V.auditReport?.auditRulesGroupReport[0]?.auditRules
|
|
26319
26318
|
);
|
|
26320
26319
|
});
|
|
26321
|
-
const ie = gI(a), q =
|
|
26320
|
+
const ie = gI(a), q = yt().startOf("month").subtract(1, "date").format(ji.visual.MMMYYYYFormat), ee = l?.customerGroup, re = Math.ceil(
|
|
26322
26321
|
a.auditReportGroups[0].auditReport?.auditSummary.auditScorePercentage ?? 0
|
|
26323
26322
|
);
|
|
26324
26323
|
p.trackAuditScorePercentage(
|
|
26325
|
-
|
|
26324
|
+
yt().format(ji.analytics.MMSlashDDSlashYYYYFormat),
|
|
26326
26325
|
q,
|
|
26327
26326
|
re,
|
|
26328
26327
|
l?.name ?? "",
|
|
@@ -26362,7 +26361,7 @@ const MT = r.div`
|
|
|
26362
26361
|
M,
|
|
26363
26362
|
l?.name ?? "",
|
|
26364
26363
|
Q,
|
|
26365
|
-
|
|
26364
|
+
yt().format(ji.analytics.MMSlashDDSlashYYYYFormat)
|
|
26366
26365
|
), m(A, T);
|
|
26367
26366
|
};
|
|
26368
26367
|
return /* @__PURE__ */ t.jsxs(xI, { style: d, children: [
|