@zeniai/web-components 4.4.35 → 4.4.37
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-Bwd5Fuxf.cjs → SessionTimeoutPopup-Dh1fTADP.cjs} +16175 -16096
- package/dist/{SessionTimeoutPopup-BzUuflYE.js → SessionTimeoutPopup-DmdhM7lH.js} +91822 -90331
- package/dist/appLocale.d.ts +2 -0
- package/dist/cockpit.cjs.js +1 -1
- package/dist/cockpit.esm.js +2 -2
- package/dist/components/charts/cashInCashOut/CashInCashOutChart.d.ts +2 -1
- package/dist/components/charts/cashPosition/CashPositionChart.d.ts +2 -1
- package/dist/components/charts/common/ScrollChartLegend.d.ts +15 -0
- package/dist/components/charts/common/chartScroll.d.ts +41 -0
- package/dist/components/charts/netBurnOrIncome/NetBurnOrIncomeChart.d.ts +2 -1
- package/dist/components/charts/opEx/OpExChart.d.ts +2 -1
- package/dist/components/charts/revenue/RevenueChart.d.ts +2 -1
- package/dist/components/detail/dashboardReportPage/DashboardReportPage.d.ts +3 -0
- package/dist/components/detail/dashboardReportPage/DetailPageReportChart.d.ts +1 -0
- package/dist/components/detail/dashboardReportPage/DetailPageReportFilters.d.ts +3 -0
- package/dist/components/downloadOverlay/ReportOptionsPanel.d.ts +4 -0
- package/dist/components/expenseAutomation/sections/accountRecon/AccountReconciliationListPage.d.ts +3 -1
- package/dist/components/expenseAutomation/sections/accountRecon/AccountReconciliationPage.d.ts +3 -1
- package/dist/components/expenseAutomation/sections/accountRecon/reconciliationReport/ReconciliationReportPage.d.ts +3 -4
- package/dist/components/reports/ReportsPage.d.ts +4 -0
- package/dist/components/spendManagement/common/filters/components/DateRangeFilterField.d.ts +5 -1
- package/dist/components/transactionDetail/items/transactionLineTable/TransactionLinesEmptyTable.d.ts +1 -1
- package/dist/components/transactionDetail/items/transactionLineTable/TransactionLinesTable.d.ts +3 -3
- package/dist/components/transactionDetail/items/transactionLineTable/common.d.ts +3 -3
- package/dist/components/transactionDetail/items/transactionLineTable/header/TransactionLineTableHeader.d.ts +2 -1
- package/dist/components/transactionDetail/items/transactionLineTable/header/transactionLineHeaderItemsData.d.ts +7 -6
- package/dist/components/transactionDetail/items/transactionLineTable/listRow/TransactionLineTableListRow.d.ts +2 -1
- package/dist/components/transactionDetail/items/transactionLineTable/transactionLineTableTypes.d.ts +4 -1
- package/dist/context/featureProvider/FeatureGateNameConstants.d.ts +3 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/strings/strings.d.ts +2 -0
- package/package.json +5 -5
package/dist/appLocale.d.ts
CHANGED
|
@@ -9130,6 +9130,7 @@ declare class AppLocale {
|
|
|
9130
9130
|
financialInstitution: string;
|
|
9131
9131
|
generalLedgerAccount: string;
|
|
9132
9132
|
dataSource: string;
|
|
9133
|
+
dataSourcePlaid: string;
|
|
9133
9134
|
currency: string;
|
|
9134
9135
|
preparedBy: string;
|
|
9135
9136
|
reportGenerated: string;
|
|
@@ -9171,6 +9172,7 @@ declare class AppLocale {
|
|
|
9171
9172
|
transactionsAfter: string;
|
|
9172
9173
|
preparedByFooter: string;
|
|
9173
9174
|
reportGeneratedFooter: string;
|
|
9175
|
+
utc: string;
|
|
9174
9176
|
details: string;
|
|
9175
9177
|
detailsSubtitle: string;
|
|
9176
9178
|
clearedTransactionsTitle: string;
|
package/dist/cockpit.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./SessionTimeoutPopup-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./SessionTimeoutPopup-Dh1fTADP.cjs"),o=require("./vendor-react-CzqSQR9J.cjs"),p=require("react"),s=require("@emotion/styled"),at=require("@liveblocks/react"),ec=require("@mui/material/Drawer"),J=require("@zeniai/client-epic-state"),hr=require("@liveblocks/react-ui"),tc=require("./vendor-js-file-download-Cbb6agEb.cjs"),ve=require("@emotion/react"),Ae=require("@mui/material/styles"),Ue=require("./vendor-react-select-DufBhudz.cjs"),oc=require("./vendor-react-lottie-player-Cwb-Xhoz.cjs"),nc=require("@mui/material/Tab"),sc=require("@mui/material/Tabs"),je=require("./vendor-lodash-CNz95YDD.cjs"),wt=require("./vendor-react-virtualized-auto-sizer-DS8s5Nqf.cjs"),kt=require("./vendor-react-window-CuU_qzaW.cjs"),Tt=require("@mui/material/ClickAwayListener"),Le=require("./vendor-react-hook-form-DowHtP8_.cjs"),Gn=require("@mui/material/Popover"),de=require("./vendor-color-BlJDv7Qx.cjs"),Ra=require("./vendor-react-window-infinite-loader-CdyCIjx6.cjs"),ft=require("./vendor-utils-CN5UYrS0.cjs"),rn=require("react-dom"),Ft=require("@liveblocks/react-ui/primitives"),$a=require("@liveblocks/react/suspense"),Ea=require("@mui/material/Checkbox"),rc=require("@mui/material/Modal"),ic=require("@mui/material/CircularProgress"),ko=require("./vendor-react-circular-progressbar-BnDuoTgW.cjs");function ac(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const ce=ac(p),lc=({inboxNotification:e,onNotificationClick:n})=>{const r=at.useInboxNotificationThread(e.id),i=r.metadata.entityType.split("."),a=r.metadata.isGlobalComment&&i.length===2;return o.jsxRuntimeExports.jsx(cc,{isClickable:a,isUnRead:e.readAt==null,onClick:()=>{n(r.metadata,r.id)},children:o.jsxRuntimeExports.jsx(hr.InboxNotification,{inboxNotification:e,kinds:{thread:c=>o.jsxRuntimeExports.jsx(hr.InboxNotification.Thread,{...c,showRoomName:!0})}})})},cc=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
cursor: ${e=>e.isClickable?"pointer":"initial"};
|
package/dist/cockpit.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { fg as o, iL as Me, m as wt, hk as Z, fO as Ut, c4 as ys, a7 as We, fT as yu, hH as fu, hT as bu, aO as O, hK as z, f0 as $u, jo as ye, j7 as wo, gp as lt, aQ as Zt, dC as Ca, F as Bo, ge as Fi, dx as Wo, fQ as zi, g3 as Cu, jq as Bi, bs as Wc, j9 as _c, fs as lo, fp as Re, hS as Vc, ga as ln, f1 as wa, ds as Ue, i_ as wu, bq as vu, bM as Jt, bn as Su, fM as Uc, h$ as ju, bA as Wi, T as _i, id as ku, ie as Tu, ig as Pu, aP as Iu, dP as Lu, dq as yt, fS as Kc, dZ as Au, fF as Vi, g8 as Ui, iJ as W, eV as Ou, bZ as Du, f7 as Se, fI as Eu, eL as M, U as Ln, e9 as Hc, ea as ts, e8 as Gc, c7 as Ru, dF as Nu, fA as Mu, c8 as os, f4 as fs, ca as Si, ed as va, eb as Fu, ec as zu, c9 as Os, c6 as Ds, cb as Bu, d_ as Ve, iM as ut, fB as Ki, c0 as ns, f8 as Wu, fJ as Hi, bN as bs, is as De, c5 as $s, fK as Yc, g0 as Zc, fX as hr, hC as Gt, gr as at, fl as gr, du as _u, dw as Qc, fN as Jc, a$ as Co, aZ as Fo, a_ as zo, be as Xc, g7 as Cs, fU as Gi, fc as En, hU as Mt, hi as ot, gL as rs, he as Vu, gn as Rn, go as Nn, q as Mn, hx as cn, fy as dn, dr as ws, fR as Yi, dv as Uu, fL as vo, fP as pn, by as Qt, hd as Sa, i9 as Ku, hZ as Hu, i3 as Gu, fW as Yu, gd as Zu, gc as xr, fm as Qu, fn as Zi, hV as Ju, fV as qc, f$ as ed, f_ as td, bJ as od, iD as Xu, dj as ja, dk as Qi, dd as qu, di as em, c1 as yr, bK as Fn, fZ as Ji, aS as tm, hN as Ct, fd as nd, dh as ss, dn as om, bI as Xi, db as qi, f2 as ka, eM as ea, de as rd, df as sd, jg as is, d$ as id, fD as ad, hI as ta, dc as nm, bO as io, b1 as Et, g2 as ld, ft as rm, dA as cd, g4 as sm, fr as im, b2 as to, ir as kr, bS as am, jn as lm, dm as no, bf as dd, f3 as Ta, dg as cm, dl as dm, ew as Pa, g as pm, e1 as um, fG as mm, iZ as hm, j3 as pd, j8 as ud, bR as ao, ac as vs, ad as On, ja as md, i4 as hd, bt as gm, dG as xm, ih as ym, dU as gd, dT as fm, ia as bm, dK as as, aJ as xd, dJ as $m, t as Cm, dI as wm, bx as vm, dH as oa, hW as yd, bX as fd, hm as bd, p as $d, gl as Cd, bY as Sm, G as wd, b$ as vd, gM as jm, fk as km, j2 as Tm, dR as Pm, h_ as Im, hX as Lm, a6 as Am, eI as Ia, i2 as Om, gb as Sd, ic as La, dV as Dm, dt as Em, fq as Rm, fY as Nm, g1 as Mm, fH as Fm, hu as Aa, g6 as zm, fe as jd, f9 as Bm, hB as kd, bz as Wm, fu as _m, bL as Vm, bP as Um, fa as Td, g5 as Km, dp as Hm, g9 as Gm, f6 as Ym, fb as Pd, fo as Zm, bQ as Qm, f5 as Jm } from "./SessionTimeoutPopup-
|
|
2
|
-
import { A as cO, a as dO, b as pO, c as uO, d as mO, e as hO, f as gO, h as xO, i as yO, j as fO, k as bO, l as $O, n as CO, o as wO, r as vO, s as SO, u as jO, v as kO, w as TO, x as PO, y as IO, z as LO, B as AO, C as OO, D as DO, E as EO, H as RO, I as NO, J as MO, K as FO, L as zO, M as BO, N as WO, O as _O, P as VO, Q as UO, R as KO, S as HO, V as GO, W as YO, X as ZO, Y as QO, Z as JO, _ as XO, $ as qO, a0 as eD, a1 as tD, fj as oD, a2 as nD, a3 as rD, a4 as sD, a5 as iD, a8 as aD, a9 as lD, aa as cD, ab as dD, ae as pD, af as uD, ag as mD, ah as hD, ai as gD, aj as xD, ak as yD, al as fD, am as bD, an as $D, ao as CD, ap as wD, aq as vD, ar as SD, as as jD, at as kD, au as TD, av as PD, aw as ID, ax as LD, ay as AD, az as OD, aA as DD, aB as ED, aC as RD, aD as ND, fj as MD, aE as FD, aF as zD, aG as BD, aH as WD, aI as _D, aK as VD, aL as UD, aM as KD, aN as HD, aR as GD, aT as YD, aU as ZD, aV as QD, aW as JD, aX as XD, aY as qD, b0 as eE, b3 as tE, b4 as oE, b5 as nE, b6 as rE, b7 as sE, b8 as iE, b9 as aE, ba as lE, bb as cE, bc as dE, bd as pE, bg as uE, bh as mE, bi as hE, bj as gE, bk as xE, bl as yE, bm as fE, bo as bE, br as $E, bu as CE, bv as wE, bw as vE, bB as SE, bC as jE, bD as kE, bE as TE, bF as PE, bG as IE, bH as LE, bT as AE, bU as OE, bV as DE, bW as EE, b_ as RE, c2 as NE, c3 as ME, cc as FE, cd as zE, ce as BE, cf as WE, cg as _E, ch as VE, ci as UE, cj as KE, ck as HE, cl as GE, cm as YE, cn as ZE, co as QE, cp as JE, cq as XE, cr as qE, cs as eR, ct as tR, cu as oR, cv as nR, cw as rR, cx as sR, cy as iR, cz as aR, cA as lR, cB as cR, cC as dR, cD as pR, cE as uR, cF as mR, cG as hR, cH as gR, cI as xR, cJ as yR, cK as fR, cL as bR, cM as $R, cN as CR, cO as wR, cP as vR, cQ as SR, cR as jR, cS as kR, cT as TR, cU as PR, cV as IR, cW as LR, cX as AR, cY as OR, cZ as DR, c_ as ER, c$ as RR, d0 as NR, d1 as MR, d2 as FR, d2 as zR, d3 as BR, d4 as WR, d5 as _R, d6 as VR, d7 as UR, d8 as KR, d9 as HR, da as GR, dy as YR, dz as ZR, dB as QR, dD as JR, dE as XR, dL as qR, dM as eN, dN as tN, dO as oN, dQ as nN, dS as rN, dW as sN, dX as iN, dY as aN, e0 as lN, e2 as cN, e3 as dN, e4 as pN, e5 as uN, e6 as mN, e7 as hN, ee as gN, ef as xN, eg as yN, eh as fN, ei as bN, ej as $N, ek as CN, el as wN, em as vN, en as SN, eo as jN, ep as kN, eq as TN, er as PN, es as IN, et as LN, eu as AN, ev as ON, ex as DN, ey as EN, ez as RN, bp as NN, eA as MN, eB as FN, eC as zN, eD as BN, eE as WN, eF as _N, eG as VN, fj as UN, eJ as KN, eH as HN, eK as GN, eN as YN, eO as ZN, eP as QN, eQ as JN, eR as XN, eS as qN, eT as eM, eU as tM, eW as oM, eX as nM, eY as rM, eZ as sM, e_ as iM, e$ as aM, ff as lM, fh as cM, fi as dM, fv as pM, fw as uM, fx as mM, fz as hM, fC as gM, fE as xM, gf as yM, gg as fM, gh as bM, gi as $M, gj as CM, gk as wM, gm as vM, gq as SM, gs as jM, gt as kM, gu as TM, gv as PM, gw as IM, gx as LM, gy as AM, gz as OM, gA as DM, gB as EM, gC as RM, gD as NM, gE as MM, gF as FM, gG as zM, gH as BM, gI as WM, gJ as _M, gK as VM, gN as UM, gO as KM, gP as HM, gQ as GM, gR as YM, gS as ZM, gT as QM, gU as JM, gV as XM, gW as qM, gX as eF, gY as tF, gZ as oF, g_ as nF, g$ as rF, h0 as sF, h1 as iF, h2 as aF, h3 as lF, h4 as cF, h5 as dF, h6 as pF, h7 as uF, h8 as mF, h9 as hF, ha as gF, hb as xF, hc as yF, hf as fF, hg as bF, hh as $F, hj as CF, hl as wF, hn as vF, ho as SF, hp as jF, hq as kF, hr as TF, hs as PF, ht as IF, hv as LF, hw as AF, hy as OF, hz as DF, hA as EF, hD as RF, hG as NF, hE as MF, hF as FF, hJ as zF, hL as BF, hM as WF, hO as _F, hP as VF, hQ as UF, hR as KF, hY as HF, i0 as GF, i1 as YF, i5 as ZF, i6 as QF, i7 as JF, i8 as XF, ib as qF, ii as ez, ij as tz, ik as oz, il as nz, im as rz, io as sz, ip as iz, iq as az, it as lz, iu as cz, iv as dz, iw as pz, ix as uz, iy as mz, iz as hz, iA as gz, iB as xz, iC as yz, iE as fz, iF as bz, iG as $z, iH as Cz, iI as wz, iK as vz, iN as Sz, iO as jz, iP as kz, iQ as Tz, iR as Pz, iS as Iz, iT as Lz, iU as Az, iV as Oz, iW as Dz, iX as Ez, iY as Rz, i$ as Nz, j0 as Mz, j1 as Fz, j4 as zz, j5 as Bz, j6 as Wz, jb as _z, jc as Vz, jd as Uz, je as Kz, jf as Hz, jh as Gz, ji as Yz, jj as Zz, jk as Qz, jl as Jz, jm as Xz, jp as qz, jr as eB, js as tB } from "./SessionTimeoutPopup-
|
|
1
|
+
import { fg as o, iL as Me, m as wt, hk as Z, fO as Ut, c4 as ys, a7 as We, fT as yu, hH as fu, hT as bu, aO as O, hK as z, f0 as $u, jo as ye, j7 as wo, gp as lt, aQ as Zt, dC as Ca, F as Bo, ge as Fi, dx as Wo, fQ as zi, g3 as Cu, jq as Bi, bs as Wc, j9 as _c, fs as lo, fp as Re, hS as Vc, ga as ln, f1 as wa, ds as Ue, i_ as wu, bq as vu, bM as Jt, bn as Su, fM as Uc, h$ as ju, bA as Wi, T as _i, id as ku, ie as Tu, ig as Pu, aP as Iu, dP as Lu, dq as yt, fS as Kc, dZ as Au, fF as Vi, g8 as Ui, iJ as W, eV as Ou, bZ as Du, f7 as Se, fI as Eu, eL as M, U as Ln, e9 as Hc, ea as ts, e8 as Gc, c7 as Ru, dF as Nu, fA as Mu, c8 as os, f4 as fs, ca as Si, ed as va, eb as Fu, ec as zu, c9 as Os, c6 as Ds, cb as Bu, d_ as Ve, iM as ut, fB as Ki, c0 as ns, f8 as Wu, fJ as Hi, bN as bs, is as De, c5 as $s, fK as Yc, g0 as Zc, fX as hr, hC as Gt, gr as at, fl as gr, du as _u, dw as Qc, fN as Jc, a$ as Co, aZ as Fo, a_ as zo, be as Xc, g7 as Cs, fU as Gi, fc as En, hU as Mt, hi as ot, gL as rs, he as Vu, gn as Rn, go as Nn, q as Mn, hx as cn, fy as dn, dr as ws, fR as Yi, dv as Uu, fL as vo, fP as pn, by as Qt, hd as Sa, i9 as Ku, hZ as Hu, i3 as Gu, fW as Yu, gd as Zu, gc as xr, fm as Qu, fn as Zi, hV as Ju, fV as qc, f$ as ed, f_ as td, bJ as od, iD as Xu, dj as ja, dk as Qi, dd as qu, di as em, c1 as yr, bK as Fn, fZ as Ji, aS as tm, hN as Ct, fd as nd, dh as ss, dn as om, bI as Xi, db as qi, f2 as ka, eM as ea, de as rd, df as sd, jg as is, d$ as id, fD as ad, hI as ta, dc as nm, bO as io, b1 as Et, g2 as ld, ft as rm, dA as cd, g4 as sm, fr as im, b2 as to, ir as kr, bS as am, jn as lm, dm as no, bf as dd, f3 as Ta, dg as cm, dl as dm, ew as Pa, g as pm, e1 as um, fG as mm, iZ as hm, j3 as pd, j8 as ud, bR as ao, ac as vs, ad as On, ja as md, i4 as hd, bt as gm, dG as xm, ih as ym, dU as gd, dT as fm, ia as bm, dK as as, aJ as xd, dJ as $m, t as Cm, dI as wm, bx as vm, dH as oa, hW as yd, bX as fd, hm as bd, p as $d, gl as Cd, bY as Sm, G as wd, b$ as vd, gM as jm, fk as km, j2 as Tm, dR as Pm, h_ as Im, hX as Lm, a6 as Am, eI as Ia, i2 as Om, gb as Sd, ic as La, dV as Dm, dt as Em, fq as Rm, fY as Nm, g1 as Mm, fH as Fm, hu as Aa, g6 as zm, fe as jd, f9 as Bm, hB as kd, bz as Wm, fu as _m, bL as Vm, bP as Um, fa as Td, g5 as Km, dp as Hm, g9 as Gm, f6 as Ym, fb as Pd, fo as Zm, bQ as Qm, f5 as Jm } from "./SessionTimeoutPopup-DmdhM7lH.js";
|
|
2
|
+
import { A as cO, a as dO, b as pO, c as uO, d as mO, e as hO, f as gO, h as xO, i as yO, j as fO, k as bO, l as $O, n as CO, o as wO, r as vO, s as SO, u as jO, v as kO, w as TO, x as PO, y as IO, z as LO, B as AO, C as OO, D as DO, E as EO, H as RO, I as NO, J as MO, K as FO, L as zO, M as BO, N as WO, O as _O, P as VO, Q as UO, R as KO, S as HO, V as GO, W as YO, X as ZO, Y as QO, Z as JO, _ as XO, $ as qO, a0 as eD, a1 as tD, fj as oD, a2 as nD, a3 as rD, a4 as sD, a5 as iD, a8 as aD, a9 as lD, aa as cD, ab as dD, ae as pD, af as uD, ag as mD, ah as hD, ai as gD, aj as xD, ak as yD, al as fD, am as bD, an as $D, ao as CD, ap as wD, aq as vD, ar as SD, as as jD, at as kD, au as TD, av as PD, aw as ID, ax as LD, ay as AD, az as OD, aA as DD, aB as ED, aC as RD, aD as ND, fj as MD, aE as FD, aF as zD, aG as BD, aH as WD, aI as _D, aK as VD, aL as UD, aM as KD, aN as HD, aR as GD, aT as YD, aU as ZD, aV as QD, aW as JD, aX as XD, aY as qD, b0 as eE, b3 as tE, b4 as oE, b5 as nE, b6 as rE, b7 as sE, b8 as iE, b9 as aE, ba as lE, bb as cE, bc as dE, bd as pE, bg as uE, bh as mE, bi as hE, bj as gE, bk as xE, bl as yE, bm as fE, bo as bE, br as $E, bu as CE, bv as wE, bw as vE, bB as SE, bC as jE, bD as kE, bE as TE, bF as PE, bG as IE, bH as LE, bT as AE, bU as OE, bV as DE, bW as EE, b_ as RE, c2 as NE, c3 as ME, cc as FE, cd as zE, ce as BE, cf as WE, cg as _E, ch as VE, ci as UE, cj as KE, ck as HE, cl as GE, cm as YE, cn as ZE, co as QE, cp as JE, cq as XE, cr as qE, cs as eR, ct as tR, cu as oR, cv as nR, cw as rR, cx as sR, cy as iR, cz as aR, cA as lR, cB as cR, cC as dR, cD as pR, cE as uR, cF as mR, cG as hR, cH as gR, cI as xR, cJ as yR, cK as fR, cL as bR, cM as $R, cN as CR, cO as wR, cP as vR, cQ as SR, cR as jR, cS as kR, cT as TR, cU as PR, cV as IR, cW as LR, cX as AR, cY as OR, cZ as DR, c_ as ER, c$ as RR, d0 as NR, d1 as MR, d2 as FR, d2 as zR, d3 as BR, d4 as WR, d5 as _R, d6 as VR, d7 as UR, d8 as KR, d9 as HR, da as GR, dy as YR, dz as ZR, dB as QR, dD as JR, dE as XR, dL as qR, dM as eN, dN as tN, dO as oN, dQ as nN, dS as rN, dW as sN, dX as iN, dY as aN, e0 as lN, e2 as cN, e3 as dN, e4 as pN, e5 as uN, e6 as mN, e7 as hN, ee as gN, ef as xN, eg as yN, eh as fN, ei as bN, ej as $N, ek as CN, el as wN, em as vN, en as SN, eo as jN, ep as kN, eq as TN, er as PN, es as IN, et as LN, eu as AN, ev as ON, ex as DN, ey as EN, ez as RN, bp as NN, eA as MN, eB as FN, eC as zN, eD as BN, eE as WN, eF as _N, eG as VN, fj as UN, eJ as KN, eH as HN, eK as GN, eN as YN, eO as ZN, eP as QN, eQ as JN, eR as XN, eS as qN, eT as eM, eU as tM, eW as oM, eX as nM, eY as rM, eZ as sM, e_ as iM, e$ as aM, ff as lM, fh as cM, fi as dM, fv as pM, fw as uM, fx as mM, fz as hM, fC as gM, fE as xM, gf as yM, gg as fM, gh as bM, gi as $M, gj as CM, gk as wM, gm as vM, gq as SM, gs as jM, gt as kM, gu as TM, gv as PM, gw as IM, gx as LM, gy as AM, gz as OM, gA as DM, gB as EM, gC as RM, gD as NM, gE as MM, gF as FM, gG as zM, gH as BM, gI as WM, gJ as _M, gK as VM, gN as UM, gO as KM, gP as HM, gQ as GM, gR as YM, gS as ZM, gT as QM, gU as JM, gV as XM, gW as qM, gX as eF, gY as tF, gZ as oF, g_ as nF, g$ as rF, h0 as sF, h1 as iF, h2 as aF, h3 as lF, h4 as cF, h5 as dF, h6 as pF, h7 as uF, h8 as mF, h9 as hF, ha as gF, hb as xF, hc as yF, hf as fF, hg as bF, hh as $F, hj as CF, hl as wF, hn as vF, ho as SF, hp as jF, hq as kF, hr as TF, hs as PF, ht as IF, hv as LF, hw as AF, hy as OF, hz as DF, hA as EF, hD as RF, hG as NF, hE as MF, hF as FF, hJ as zF, hL as BF, hM as WF, hO as _F, hP as VF, hQ as UF, hR as KF, hY as HF, i0 as GF, i1 as YF, i5 as ZF, i6 as QF, i7 as JF, i8 as XF, ib as qF, ii as ez, ij as tz, ik as oz, il as nz, im as rz, io as sz, ip as iz, iq as az, it as lz, iu as cz, iv as dz, iw as pz, ix as uz, iy as mz, iz as hz, iA as gz, iB as xz, iC as yz, iE as fz, iF as bz, iG as $z, iH as Cz, iI as wz, iK as vz, iN as Sz, iO as jz, iP as kz, iQ as Tz, iR as Pz, iS as Iz, iT as Lz, iU as Az, iV as Oz, iW as Dz, iX as Ez, iY as Rz, i$ as Nz, j0 as Mz, j1 as Fz, j4 as zz, j5 as Bz, j6 as Wz, jb as _z, jc as Vz, jd as Uz, je as Kz, jf as Hz, jh as Gz, ji as Yz, jj as Zz, jk as Qz, jl as Jz, jm as Xz, jp as qz, jr as eB, js as tB } from "./SessionTimeoutPopup-DmdhM7lH.js";
|
|
3
3
|
import { j as t } from "./vendor-react-DRsGZW4u.js";
|
|
4
4
|
import * as ge from "react";
|
|
5
5
|
import fr, { useEffect as te, useState as V, useMemo as Qe, useCallback as oe, useContext as Je, useRef as $e, forwardRef as At, Fragment as Id, memo as br, createContext as un, Suspense as Xm, createElement as qm } from "react";
|
|
@@ -5,8 +5,9 @@ export interface CashInCashOutChartProps {
|
|
|
5
5
|
timeframe: COABalanceTimeFrame;
|
|
6
6
|
width: number;
|
|
7
7
|
highlightedRange?: COABalancesRangeWithThisPeriod;
|
|
8
|
+
isCustomDateRangeEnabled?: boolean;
|
|
8
9
|
isDetailPage?: boolean;
|
|
9
10
|
showBarHoverBackground?: boolean;
|
|
10
11
|
onCOABalancesRangeChanged?: (thisPeriod: TimeframeTick, timeframe: COABalanceTimeFrame, newHighlightedRange: COABalancesRangeWithThisPeriod) => void;
|
|
11
12
|
}
|
|
12
|
-
export default function CashInCashOutChart({ selectedRangeReport, timeframe, highlightedRange, width, height, showBarHoverBackground, isDetailPage, onCOABalancesRangeChanged, }: CashInCashOutChartProps): import("react/jsx-runtime").JSX.Element | null;
|
|
13
|
+
export default function CashInCashOutChart({ selectedRangeReport, timeframe, highlightedRange, width, height, showBarHoverBackground, isDetailPage, isCustomDateRangeEnabled, onCOABalancesRangeChanged, }: CashInCashOutChartProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -5,8 +5,9 @@ export interface CashPositionChartProps {
|
|
|
5
5
|
timeframe: COABalanceTimeFrame;
|
|
6
6
|
width: number;
|
|
7
7
|
highlightedRange?: COABalancesRangeWithThisPeriod;
|
|
8
|
+
isCustomDateRangeEnabled?: boolean;
|
|
8
9
|
isDetailPage?: boolean;
|
|
9
10
|
showBarHoverBackground?: boolean;
|
|
10
11
|
onCOABalancesRangeChanged?: (thisPeriod: TimeframeTick, timeframe: COABalanceTimeFrame, newHighlightedRange: COABalancesRangeWithThisPeriod) => void;
|
|
11
12
|
}
|
|
12
|
-
export default function CashPositionChart({ selectedRangeReport, timeframe, highlightedRange, width, height, showBarHoverBackground, isDetailPage, onCOABalancesRangeChanged, }: CashPositionChartProps): import("react/jsx-runtime").JSX.Element | null;
|
|
13
|
+
export default function CashPositionChart({ selectedRangeReport, timeframe, highlightedRange, width, height, showBarHoverBackground, isDetailPage, isCustomDateRangeEnabled, onCOABalancesRangeChanged, }: CashPositionChartProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface ScrollLegendItem {
|
|
3
|
+
color: string;
|
|
4
|
+
label: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Horizontal legend rendered below the scrollable plot. The recharts `<Legend>`
|
|
8
|
+
* lives inside the chart, so in scroll mode it would sit in the (wide) scrolled
|
|
9
|
+
* coordinate space and drift off-screen. This renders the same swatches as a
|
|
10
|
+
* plain, non-scrolling row using each chart's own label nodes.
|
|
11
|
+
*/
|
|
12
|
+
export declare const ScrollChartLegend: ({ height, items, }: {
|
|
13
|
+
height: number;
|
|
14
|
+
items: ScrollLegendItem[];
|
|
15
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare const SCROLL_MIN_BAR_WIDTH = 16;
|
|
2
|
+
export declare const SCROLL_BAR_GAP = 4;
|
|
3
|
+
export declare const SCROLL_CATEGORY_GAP = 16;
|
|
4
|
+
export declare const SCROLL_LEGEND_HEIGHT = 32;
|
|
5
|
+
export declare const SCROLL_Y_AXIS_WIDTH = 60;
|
|
6
|
+
export declare const SCROLL_X_AXIS_HEIGHT = 56;
|
|
7
|
+
/**
|
|
8
|
+
* When the bar area is scrollable, open scrolled to the most recent (right)
|
|
9
|
+
* end. Deferred across two animation frames so the inner chart (rendered
|
|
10
|
+
* async via AutoSizer) has its full scrollWidth before we scroll. Returns the
|
|
11
|
+
* ref to attach to the scrollable container.
|
|
12
|
+
*/
|
|
13
|
+
export declare const useScrollToEnd: (barCount: number) => React.RefObject<HTMLDivElement>;
|
|
14
|
+
export interface ScrollMetrics {
|
|
15
|
+
innerWidth: number;
|
|
16
|
+
minSlot: number;
|
|
17
|
+
needsScroll: boolean;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Number of bars drawn side-by-side within one category (time period). Grouped
|
|
21
|
+
* bars each need their own >=16px width, so the scroll threshold must divide the
|
|
22
|
+
* category slot by this. Stacked bars share one x-slot, so a stack counts as 1.
|
|
23
|
+
* Lines (e.g. forecast) are ignored — they don't occupy bar width.
|
|
24
|
+
*/
|
|
25
|
+
export declare const getBarsPerCategory: (barElements: React.ReactElement[]) => number;
|
|
26
|
+
/**
|
|
27
|
+
* In scroll mode, pin every bar to exactly SCROLL_MIN_BAR_WIDTH. recharts'
|
|
28
|
+
* own width derivation (bandSize minus barCategoryGap/barGap) is hard to invert
|
|
29
|
+
* precisely, so instead of sizing the band and hoping, we force the bar width
|
|
30
|
+
* directly via `barSize` and make the band wide enough to hold them. Lines
|
|
31
|
+
* (forecast) are left untouched.
|
|
32
|
+
*/
|
|
33
|
+
export declare const withScrollBarSize: (barElements: React.ReactElement[]) => React.ReactElement[];
|
|
34
|
+
/**
|
|
35
|
+
* Computes whether the bar area needs to scroll and, if so, how wide the inner
|
|
36
|
+
* (scrollable) chart must be plus the per-category slot width used for the
|
|
37
|
+
* tooltip cursor. `enabled` folds in the detail-page + custom-date-range
|
|
38
|
+
* gating; `barsPerCategory` makes the >=16px minimum apply to each individual
|
|
39
|
+
* grouped bar rather than the whole category.
|
|
40
|
+
*/
|
|
41
|
+
export declare const getScrollMetrics: (width: number, barCount: number, enabled: boolean, barsPerCategory?: number) => ScrollMetrics;
|
|
@@ -6,8 +6,9 @@ export interface NetBurnOrIncomeChartProps {
|
|
|
6
6
|
timeframe: COABalanceTimeFrame;
|
|
7
7
|
width: number;
|
|
8
8
|
highlightedRange?: COABalancesRangeWithThisPeriod;
|
|
9
|
+
isCustomDateRangeEnabled?: boolean;
|
|
9
10
|
isDetailPage?: boolean;
|
|
10
11
|
showBarHoverBackground?: boolean;
|
|
11
12
|
onCOABalancesRangeChanged?: (thisPeriod: TimeframeTick, timeframe: COABalanceTimeFrame, newHighlightedRange: COABalancesRangeWithThisPeriod) => void;
|
|
12
13
|
}
|
|
13
|
-
export default function NetBurnOrIncomeChart({ selectedRangeReport, timeframe, highlightedRange, width, height, showBarHoverBackground, isDetailPage, mode, onCOABalancesRangeChanged, }: NetBurnOrIncomeChartProps): import("react/jsx-runtime").JSX.Element | null;
|
|
14
|
+
export default function NetBurnOrIncomeChart({ selectedRangeReport, timeframe, highlightedRange, width, height, showBarHoverBackground, isDetailPage, isCustomDateRangeEnabled, mode, onCOABalancesRangeChanged, }: NetBurnOrIncomeChartProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -6,8 +6,9 @@ export interface OpExChartProps {
|
|
|
6
6
|
timeframe: COABalanceTimeFrame;
|
|
7
7
|
width: number;
|
|
8
8
|
highlightedRange?: COABalancesRangeWithThisPeriod;
|
|
9
|
+
isCustomDateRangeEnabled?: boolean;
|
|
9
10
|
isDetailPage?: boolean;
|
|
10
11
|
showBarHoverBackground?: boolean;
|
|
11
12
|
onCOABalancesRangeChanged?: (thisPeriod: TimeframeTick, timeframe: COABalanceTimeFrame, newHighlightedRange: COABalancesRangeWithThisPeriod) => void;
|
|
12
13
|
}
|
|
13
|
-
export default function OpExChart({ selectedRangeReport, timeframe, highlightedRange, width, height, showBarHoverBackground, isDetailPage, mode, onCOABalancesRangeChanged, }: OpExChartProps): import("react/jsx-runtime").JSX.Element | null;
|
|
14
|
+
export default function OpExChart({ selectedRangeReport, timeframe, highlightedRange, width, height, showBarHoverBackground, isDetailPage, isCustomDateRangeEnabled, mode, onCOABalancesRangeChanged, }: OpExChartProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -6,8 +6,9 @@ export interface RevenueChartProps {
|
|
|
6
6
|
timeframe: COABalanceTimeFrame;
|
|
7
7
|
width: number;
|
|
8
8
|
highlightedRange?: COABalancesRangeWithThisPeriod;
|
|
9
|
+
isCustomDateRangeEnabled?: boolean;
|
|
9
10
|
isDetailPage?: boolean;
|
|
10
11
|
showBarHoverBackground?: boolean;
|
|
11
12
|
onCOABalancesRangeChanged?: (thisPeriod: TimeframeTick, timeframe: COABalanceTimeFrame, newHighlightedRange: COABalancesRangeWithThisPeriod) => void;
|
|
12
13
|
}
|
|
13
|
-
export default function RevenueChart({ selectedRangeReport, timeframe, highlightedRange, width, height, showBarHoverBackground, isDetailPage, mode, onCOABalancesRangeChanged, }: RevenueChartProps): import("react/jsx-runtime").JSX.Element | null;
|
|
14
|
+
export default function RevenueChart({ selectedRangeReport, timeframe, highlightedRange, width, height, showBarHoverBackground, isDetailPage, isCustomDateRangeEnabled, mode, onCOABalancesRangeChanged, }: RevenueChartProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -24,6 +24,7 @@ export interface DashboardReportPageProps<Report extends SelectorReport> {
|
|
|
24
24
|
isAccountingClassesEnabled?: boolean;
|
|
25
25
|
isAccountingProjectsEnabled?: boolean;
|
|
26
26
|
isAiCfoAccessEnabled?: boolean;
|
|
27
|
+
isCustomDateRangeEnabled?: boolean;
|
|
27
28
|
isZeniCOAUsed?: boolean;
|
|
28
29
|
isZeniUser?: boolean;
|
|
29
30
|
meetingUrl?: ZeniUrl;
|
|
@@ -40,11 +41,13 @@ export interface DashboardReportPageProps<Report extends SelectorReport> {
|
|
|
40
41
|
onAskAiCfoClick?: () => void;
|
|
41
42
|
onBackClick?: () => void;
|
|
42
43
|
onClickMenuIcon?: () => void;
|
|
44
|
+
onCustomDateRangeChanged?: (startDate: string, endDate: string, timeframe?: COABalanceTimeFrame) => void;
|
|
43
45
|
onElementCollapseStateChanged?: (nodeId: string, isCollapsed: boolean) => void;
|
|
44
46
|
onForecastToggle?: (mode: Mode, selectedForecastId?: {
|
|
45
47
|
id: ID;
|
|
46
48
|
index: number;
|
|
47
49
|
}) => void;
|
|
50
|
+
onInitialDateRangeAvailable?: (startDate: string, endDate: string) => void;
|
|
48
51
|
onOpenAccountViewMode?: () => void;
|
|
49
52
|
onResyncReports?: () => void;
|
|
50
53
|
onTableScroll?: (props: ReportTreeScrollPosition) => void;
|
|
@@ -5,6 +5,7 @@ export declare const DetailPageReportChart: (props: {
|
|
|
5
5
|
selectedRangeReport: DetailPageReport;
|
|
6
6
|
uiState: UIState;
|
|
7
7
|
analytics?: ClientAnalytics;
|
|
8
|
+
isCustomDateRangeEnabled?: boolean;
|
|
8
9
|
selectedClassesViewRangeReport?: DetailPageClassViewReport;
|
|
9
10
|
onCOABalancesRangeChanged: (newSelectedCOABalancesRange: COABalancesRange, newHighlightedCOABalancesRange?: COABalancesRangeWithThisPeriod) => void;
|
|
10
11
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,6 +11,7 @@ export interface DetailPageReportFiltersProps {
|
|
|
11
11
|
analytics?: ClientAnalytics;
|
|
12
12
|
isAccountingClassesEnabled?: boolean;
|
|
13
13
|
isAccountingProjectsEnabled?: boolean;
|
|
14
|
+
isCustomDateRangeEnabled?: boolean;
|
|
14
15
|
isPageFetchInProgress?: boolean;
|
|
15
16
|
isZeniCOAUsed?: boolean;
|
|
16
17
|
isZeniUser?: boolean;
|
|
@@ -20,10 +21,12 @@ export interface DetailPageReportFiltersProps {
|
|
|
20
21
|
onAdditionalBalanceSelectionChanged: (isCompareModeOn: boolean, additionalBalances: COABalanceType[], maxNumOfPeriodsToHighlight: number) => void;
|
|
21
22
|
onCOABalancesRangeChanged: (selectedCOABalancesRange: COABalancesRange, highlightedCOABalancesRange?: COABalancesRangeWithThisPeriod) => void;
|
|
22
23
|
onTimeframeSelectionChanged: (selectedTimeframe: COABalanceTimeFrame) => void;
|
|
24
|
+
onCustomDateRangeChanged?: (startDate: string, endDate: string, timeframe?: COABalanceTimeFrame) => void;
|
|
23
25
|
onForecastToggle?: (mode: Mode, selectedForecastId?: {
|
|
24
26
|
id: ID;
|
|
25
27
|
index: number;
|
|
26
28
|
}) => void;
|
|
29
|
+
onInitialDateRangeAvailable?: (startDate: string, endDate: string) => void;
|
|
27
30
|
onOpenAccountViewMode?: () => void;
|
|
28
31
|
onResyncReports?: () => void;
|
|
29
32
|
onUpdateAccountViewMode?: (view: AccountViewMode) => void;
|
|
@@ -16,7 +16,10 @@ type Props = {
|
|
|
16
16
|
showAccountGroups: boolean;
|
|
17
17
|
statementEndPoint: string;
|
|
18
18
|
analytics?: ClientAnalytics;
|
|
19
|
+
defaultCustomEndDate?: string;
|
|
20
|
+
defaultCustomStartDate?: string;
|
|
19
21
|
isAccountingClassesEnabled?: boolean;
|
|
22
|
+
isCustomDateRangeEnabled?: boolean;
|
|
20
23
|
isHorizontalClassReportSwitchEnabled?: boolean;
|
|
21
24
|
lastRefreshSuccessTime?: ZeniDate;
|
|
22
25
|
projects?: Project[];
|
|
@@ -30,6 +33,7 @@ type Props = {
|
|
|
30
33
|
updateDownloadStateHandler: (newDownloadState: FetchState) => void;
|
|
31
34
|
onAdditionalBalanceSelectionChanged?: (additionalBalances: COABalanceType[], maxNumOfPeriodsToSelect: number, reportViewUpdate?: boolean) => void;
|
|
32
35
|
onCOABalancesRangeChanged?: (selectedCOABalancesRange: COABalancesRange, highlightedCOABalancesRange?: COABalancesRangeWithThisPeriod) => void;
|
|
36
|
+
onCustomDateRangeChanged?: (startDate: string, endDate: string) => void;
|
|
33
37
|
onResyncReports?: () => void;
|
|
34
38
|
onThisPeriodChanged?: (thisPeriod: TimeframeTick, maxNumOfPeriodsToSelect: number, reportViewUpdate?: boolean) => void;
|
|
35
39
|
onTimeframeSelectionChanged?: (newTimeFrame: COABalanceTimeFrame, isUpdateAdditionalBalances: boolean, reportViewUpdate?: boolean) => void;
|
package/dist/components/expenseAutomation/sections/accountRecon/AccountReconciliationListPage.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ExpenseAutomationReconciliationViewSelector, ID, PlaidLinkTokenType } from '@zeniai/client-epic-state';
|
|
2
|
+
import { ReportTreeScrollPosition } from '../../../reportTree/ReportTree';
|
|
2
3
|
export interface AccountReconciliationListPageProps {
|
|
3
4
|
companyId: ID;
|
|
4
5
|
isReconV3Enabled: boolean;
|
|
@@ -7,6 +8,7 @@ export interface AccountReconciliationListPageProps {
|
|
|
7
8
|
onEstablishConnectionClick: (publicToken: ID, accountId: ID, linkTokenType?: PlaidLinkTokenType) => void;
|
|
8
9
|
onFetchLinkTokenClick: (plaidLinkTokenType: PlaidLinkTokenType, paymentAccountId?: ID) => void;
|
|
9
10
|
onNodeCollapseToggled: (nodeId: string, isOpen: boolean) => void;
|
|
11
|
+
onReconListPageScroll: (scrollPosition: ReportTreeScrollPosition) => void;
|
|
10
12
|
onReload: () => void;
|
|
11
13
|
onReviewClicked: (accountId: ID) => void;
|
|
12
14
|
setOpenDrawerClicked: (accountId: ID) => void;
|
|
@@ -14,4 +16,4 @@ export interface AccountReconciliationListPageProps {
|
|
|
14
16
|
onAccountInclude?: (accountId: ID) => void;
|
|
15
17
|
onViewReportClicked?: (accountId: ID) => void;
|
|
16
18
|
}
|
|
17
|
-
export default function AccountReconciliationListPage({ reconciliation, companyId, onReload, onReviewClicked, setOpenDrawerClicked, onFetchLinkTokenClick, onEstablishConnectionClick, onAddStatementClick, onNodeCollapseToggled, onAccountExclude, onAccountInclude, onViewReportClicked, isReconV3Enabled, }: Readonly<AccountReconciliationListPageProps>): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export default function AccountReconciliationListPage({ reconciliation, companyId, onReload, onReviewClicked, setOpenDrawerClicked, onFetchLinkTokenClick, onEstablishConnectionClick, onAddStatementClick, onNodeCollapseToggled, onReconListPageScroll, onAccountExclude, onAccountInclude, onViewReportClicked, isReconV3Enabled, }: Readonly<AccountReconciliationListPageProps>): import("react/jsx-runtime").JSX.Element;
|
package/dist/components/expenseAutomation/sections/accountRecon/AccountReconciliationPage.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ExpenseAutomationReconciliationViewSelector, ID, PlaidLinkTokenType, ReconReconcileSortKey, ReconReviewSortKey, ReconciliationReviewTabLocalData, SaveExpenseAutomationReconciliationActionType, SortOrder } from '@zeniai/client-epic-state';
|
|
2
2
|
import { AutoCompleteActions, AutoCompleteData } from '../../../common/autoComplete/autoCompleteProps';
|
|
3
|
+
import { ReportTreeScrollPosition } from '../../../reportTree/ReportTree';
|
|
3
4
|
import { FooterFormIdType } from '../../common';
|
|
4
5
|
export interface AccountReconciliationParentPageActionProps {
|
|
5
6
|
companyId: ID;
|
|
@@ -10,6 +11,7 @@ export interface AccountReconciliationParentPageActionProps {
|
|
|
10
11
|
onExcludeAccountFromReconciliation: (accountId: ID) => void;
|
|
11
12
|
onFetchLinkTokenClick: (plaidLinkTokenType: PlaidLinkTokenType) => void;
|
|
12
13
|
onIncludeAccountIntoReconciliation: (accountId: ID) => void;
|
|
14
|
+
onReconListPageScroll: (scrollPosition: ReportTreeScrollPosition) => void;
|
|
13
15
|
onReconMatchedTransactionClick: (transactionId: ID) => void;
|
|
14
16
|
onReconNodeCollapseToggled: (nodeId: string, isOpen: boolean) => void;
|
|
15
17
|
onReconReviewTabColumnSortConfigChanged: (sortKey: ReconReviewSortKey, sortOrder: SortOrder) => void;
|
|
@@ -30,4 +32,4 @@ export interface AccountReconciliationPageProps extends AccountReconciliationPar
|
|
|
30
32
|
reconciliation: ExpenseAutomationReconciliationViewSelector;
|
|
31
33
|
vendorSearchAutoCompleteData: AutoCompleteData;
|
|
32
34
|
}
|
|
33
|
-
export default function AccountReconciliationPage({ currentFooterFormId, isAccountingClassesEnabled, vendorSearchAutoCompleteData, vendorSearchAutoCompleteActions, reconciliation, companyId, onReconTabColumnSortConfigChanged, updateReconReviewTabLocalData, onUpdateReconcileTabLocalData, setCurrentFooterFormId, onReloadReconciliationListPage, onReviewClicked, onFetchLinkTokenClick, onEstablishConnectionClick, onAddStatementClick, onReconReviewTabColumnSortConfigChanged, onSaveReconciliation, onSaveReconciliationReview, setOpenDrawerClicked, onReconMatchedTransactionClick, onReconNodeCollapseToggled, onExcludeAccountFromReconciliation, onIncludeAccountIntoReconciliation, onViewReportClicked, isReconV3Enabled, }: Readonly<AccountReconciliationPageProps>): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
export default function AccountReconciliationPage({ currentFooterFormId, isAccountingClassesEnabled, vendorSearchAutoCompleteData, vendorSearchAutoCompleteActions, reconciliation, companyId, onReconTabColumnSortConfigChanged, updateReconReviewTabLocalData, onUpdateReconcileTabLocalData, setCurrentFooterFormId, onReloadReconciliationListPage, onReviewClicked, onFetchLinkTokenClick, onEstablishConnectionClick, onAddStatementClick, onReconReviewTabColumnSortConfigChanged, onSaveReconciliation, onSaveReconciliationReview, setOpenDrawerClicked, onReconListPageScroll, onReconMatchedTransactionClick, onReconNodeCollapseToggled, onExcludeAccountFromReconciliation, onIncludeAccountIntoReconciliation, onViewReportClicked, isReconV3Enabled, }: Readonly<AccountReconciliationPageProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FetchState,
|
|
1
|
+
import { FetchState, ReconciliationReport } from '@zeniai/client-epic-state';
|
|
2
2
|
export interface ReconciliationReportAccountOption {
|
|
3
3
|
accountId: string;
|
|
4
4
|
label: string;
|
|
@@ -13,15 +13,14 @@ export interface ReconciliationReportPageProps {
|
|
|
13
13
|
periodOptions: ReconciliationReportPeriodOption[];
|
|
14
14
|
selectedAccountId: string;
|
|
15
15
|
selectedPeriodId: string;
|
|
16
|
-
downloadingFileType?: FileType;
|
|
17
16
|
downloadState?: FetchState;
|
|
18
17
|
isReportNotFound?: boolean;
|
|
19
18
|
report?: ReconciliationReport;
|
|
20
19
|
onAccountChange: (accountId: string) => void;
|
|
21
20
|
onBackClick: () => void;
|
|
22
|
-
onDownloadClick: (
|
|
21
|
+
onDownloadClick: () => void;
|
|
23
22
|
onPeriodChange: (periodId: string) => void;
|
|
24
23
|
onRetry: () => void;
|
|
25
24
|
onAskAiCfoClick?: () => void;
|
|
26
25
|
}
|
|
27
|
-
export default function ReconciliationReportPage({ accountOptions, fetchState, periodOptions, selectedAccountId, selectedPeriodId, report,
|
|
26
|
+
export default function ReconciliationReportPage({ accountOptions, fetchState, periodOptions, selectedAccountId, selectedPeriodId, report, downloadState, isReportNotFound, onAccountChange, onBackClick, onDownloadClick, onPeriodChange, onRetry, onAskAiCfoClick, }: Readonly<ReconciliationReportPageProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -40,6 +40,8 @@ export interface Props extends DownloadbleReportProps {
|
|
|
40
40
|
isAccountingProjectsEnabled?: boolean;
|
|
41
41
|
/** When set with onAskAiCfoClick, shows Ask AI CFO next to download (24px gap). */
|
|
42
42
|
isAiCfoAccessEnabled?: boolean;
|
|
43
|
+
/** Feature gate: show the day-level custom date range picker on the Reports filter bar. */
|
|
44
|
+
isCustomDateRangeEnabled?: boolean;
|
|
43
45
|
/**
|
|
44
46
|
* Feature gate for the "Horizontal" switch next to Compare on P&L by class.
|
|
45
47
|
* When omitted, treated as enabled.
|
|
@@ -56,8 +58,10 @@ export interface Props extends DownloadbleReportProps {
|
|
|
56
58
|
onBackClick?: () => void;
|
|
57
59
|
onClickMenuIcon?: () => void;
|
|
58
60
|
onCOABalancesRangeChanged?: (selectedCOABalancesRange: COABalancesRange, highlightedCOABalancesRange?: COABalancesRangeWithThisPeriod) => void;
|
|
61
|
+
onCustomDateRangeChanged?: (startDate: string, endDate: string, timeframe?: COABalanceTimeFrame) => void;
|
|
59
62
|
onElementCollapseStateChanged?: (reportId: ReportID, nodeId: string, isCollapsed: boolean) => void;
|
|
60
63
|
onFetchClassReportFired?: () => void;
|
|
64
|
+
onInitialDateRangeAvailable?: (startDate: string, endDate: string) => void;
|
|
61
65
|
onReloadReport?: () => void;
|
|
62
66
|
onReportSelectionChanged?: (selectedReport: ReportID) => void;
|
|
63
67
|
onResyncReports?: () => void;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { Dayjs } from '@zeniai/client-epic-state';
|
|
2
|
+
import { InputStyles } from '../../../../common/zeniDatePicker/CustomInput';
|
|
2
3
|
export interface DateRange {
|
|
3
4
|
endDate: Dayjs | undefined;
|
|
4
5
|
startDate: Dayjs | undefined;
|
|
5
6
|
}
|
|
6
7
|
export interface DateRangeFilterFieldProps {
|
|
7
8
|
selectedDates: (Dayjs | undefined)[];
|
|
9
|
+
datePickerInputStyles?: Partial<InputStyles>;
|
|
10
|
+
datePickerStyle?: React.CSSProperties;
|
|
11
|
+
labelStyle?: React.CSSProperties;
|
|
8
12
|
onDateRangeChange: (range: DateRange) => void;
|
|
9
13
|
}
|
|
10
|
-
declare const DateRangeFilterField: ({ selectedDates, onDateRangeChange, }: DateRangeFilterFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare const DateRangeFilterField: ({ selectedDates, datePickerInputStyles, datePickerStyle, labelStyle, onDateRangeChange, }: DateRangeFilterFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
15
|
export default DateRangeFilterField;
|
package/dist/components/transactionDetail/items/transactionLineTable/TransactionLinesEmptyTable.d.ts
CHANGED
|
@@ -6,6 +6,6 @@ import { TransactionLinesEmptyTableProps } from './transactionLineTableTypes';
|
|
|
6
6
|
* header and N skeleton rows inside a `FlexibleWidthProvider` so column
|
|
7
7
|
* widths match the live table.
|
|
8
8
|
*/
|
|
9
|
-
export declare const TransactionLinesEmptyTable: ({ isAccountingClassesEnabled, showProjectField, isCompressed, isQuickViewMode, sectionId, skeletonRowCount, }: TransactionLinesEmptyTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const TransactionLinesEmptyTable: ({ isAccountingClassesEnabled, showProjectField, isCompressed, isQuickViewMode, sectionId, showNameField, skeletonRowCount, }: TransactionLinesEmptyTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
/** Re-export the header height for callers sizing the empty viewport. */
|
|
11
11
|
export declare const TRANSACTION_LINE_EMPTY_TABLE_HEADER_HEIGHT_PX = 32;
|
package/dist/components/transactionDetail/items/transactionLineTable/TransactionLinesTable.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { TransactionLinesTableProps } from './transactionLineTableTypes';
|
|
|
4
4
|
* today; customer/product-service kept on the legacy card view).
|
|
5
5
|
*
|
|
6
6
|
* Mirrors `TransactionLinesJournalEntryTable` minus:
|
|
7
|
-
* - the per-row vendor / payee dropdown
|
|
8
|
-
* header owns vendor selection
|
|
7
|
+
* - the per-row vendor / payee dropdown, unless `showNameField` is set
|
|
8
|
+
* (deposits); otherwise the transaction header owns vendor selection
|
|
9
9
|
* - the debit/credit posting split (a single right-aligned amount
|
|
10
10
|
* column replaces them)
|
|
11
11
|
* - the sticky totals row at the bottom (per Figma 5240:7220 and the
|
|
@@ -14,4 +14,4 @@ import { TransactionLinesTableProps } from './transactionLineTableTypes';
|
|
|
14
14
|
* The bottom-rounded corners are owned by the last `RowWrapper` since
|
|
15
15
|
* there is nothing else following it inside the card.
|
|
16
16
|
*/
|
|
17
|
-
export default function TransactionLinesTable({ accountList, accountsHierarchyList, classHierarchyList, classList, containerRef: _containerRef, isAccountingClassesEnabled, isAccountingProjectsEnabled, isCOTEnabled, isProjectsTransactionsEnabled, lines, projects, searchAutoComplete, sectionId, transaction, bookCloseDate: _bookCloseDate, cotTracking, entityId, isDisabled, isQuickViewMode, onLineAdd, onLineDelete, onSplitBalanceChange, onSplitEditToggle, splitValidationErrors, openTooltipId, setOpenTooltipId, transactionTotalAmount, uncategorizedAccounts, lineItemsLocalData: _lineItemsLocalData, }: Readonly<TransactionLinesTableProps>): JSX.Element;
|
|
17
|
+
export default function TransactionLinesTable({ accountList, accountsHierarchyList, classHierarchyList, classList, containerRef: _containerRef, isAccountingClassesEnabled, isAccountingProjectsEnabled, isCOTEnabled, isProjectsTransactionsEnabled, lines, projects, searchAutoComplete, sectionId, transaction, bookCloseDate: _bookCloseDate, cotTracking, entityId, isDisabled, isQuickViewMode, onLineAdd, onLineDelete, onSplitBalanceChange, onSplitEditToggle, splitValidationErrors, openTooltipId, setOpenTooltipId, showNameField, transactionTotalAmount, uncategorizedAccounts, lineItemsLocalData: _lineItemsLocalData, }: Readonly<TransactionLinesTableProps>): JSX.Element;
|
|
@@ -21,11 +21,11 @@ export declare const getTransactionLineTableRowHeight: (_line: LineInfo) => numb
|
|
|
21
21
|
* Column keys used to address cells, sort, and width lookups.
|
|
22
22
|
*
|
|
23
23
|
* Differences vs. the journal-entry table:
|
|
24
|
-
* -
|
|
25
|
-
*
|
|
24
|
+
* - `name` column only for deposits, whose payee lives on each line;
|
|
25
|
+
* other types render the payee once at the transaction header
|
|
26
26
|
* - no `debit` / `credit` split — a single `amount` column replaces them
|
|
27
27
|
*/
|
|
28
|
-
export declare const TRANSACTION_LINE_COLUMN_KEYS: readonly ["description", "category", "class", "project", "amount"];
|
|
28
|
+
export declare const TRANSACTION_LINE_COLUMN_KEYS: readonly ["description", "name", "category", "class", "project", "amount"];
|
|
29
29
|
export type TransactionLineColumnKey = (typeof TRANSACTION_LINE_COLUMN_KEYS)[number];
|
|
30
30
|
/** Compressed (quick-view / mobile) columns. */
|
|
31
31
|
export declare const TRANSACTION_LINE_COMPRESSED_COLUMN_KEYS: readonly ["description", "amount"];
|
|
@@ -8,6 +8,7 @@ export interface TransactionLineTableHeaderProps {
|
|
|
8
8
|
isCompressed?: boolean;
|
|
9
9
|
isDisabled?: DisableMode;
|
|
10
10
|
isQuickViewMode?: boolean;
|
|
11
|
+
showNameField?: boolean;
|
|
11
12
|
onColumnSortConfigChanged?: (sortKey: TransactionLineSortKey, sortOrder: SortOrder) => void;
|
|
12
13
|
}
|
|
13
|
-
export declare const TransactionLineTableHeader: ({ sortConfig, isAccountingClassesEnabled, showProjectField, isCompressed, isQuickViewMode, isDisabled, onColumnSortConfigChanged, }: TransactionLineTableHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const TransactionLineTableHeader: ({ sortConfig, isAccountingClassesEnabled, showProjectField, isCompressed, isQuickViewMode, isDisabled, showNameField, onColumnSortConfigChanged, }: TransactionLineTableHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,13 +2,14 @@ import { ResponsiveSized } from '../../../../../context/windowSizeProvider';
|
|
|
2
2
|
import { TransactionLineRowHeaderItemData } from './transactionLineHeaderConfig';
|
|
3
3
|
/**
|
|
4
4
|
* Column order matches Figma frame 5240:7220:
|
|
5
|
-
* Description | Category | Class | (Project) | Amount
|
|
5
|
+
* (Name) | Description | Category | Class | (Project) | Amount
|
|
6
6
|
*
|
|
7
|
-
* `
|
|
8
|
-
*
|
|
9
|
-
*
|
|
7
|
+
* `Name` leads, as in the JE table, and is shown only for deposits, whose
|
|
8
|
+
* payee is per line. `Project` is appended after `Class` only when
|
|
9
|
+
* `showProjectField` is true; the base Figma frame does not include it.
|
|
10
|
+
* This mirrors the JE table's optional-Project handling.
|
|
10
11
|
*/
|
|
11
|
-
export declare const getTransactionLineTableHeaderItemsData: (isAccountingClassesEnabled?: boolean, showProjectField?: boolean) => TransactionLineRowHeaderItemData[];
|
|
12
|
+
export declare const getTransactionLineTableHeaderItemsData: (isAccountingClassesEnabled?: boolean, showProjectField?: boolean, showNameField?: boolean) => TransactionLineRowHeaderItemData[];
|
|
12
13
|
/**
|
|
13
14
|
* Compressed (quick-view / small window) header list — single
|
|
14
15
|
* Description column with a single right-aligned Amount column. No
|
|
@@ -24,4 +25,4 @@ export declare const compressedTransactionLineHeaderItemsData: TransactionLineRo
|
|
|
24
25
|
* is right-aligned.
|
|
25
26
|
*/
|
|
26
27
|
export declare const toQuickViewWidthPercentages: (columns: TransactionLineRowHeaderItemData[]) => TransactionLineRowHeaderItemData[];
|
|
27
|
-
export declare const getTransactionLineTableMaxWidth: (isAccountingClassesEnabled?: boolean, showProjectField?: boolean) => ResponsiveSized;
|
|
28
|
+
export declare const getTransactionLineTableMaxWidth: (isAccountingClassesEnabled?: boolean, showProjectField?: boolean, showNameField?: boolean) => ResponsiveSized;
|
|
@@ -10,12 +10,13 @@ import { TransactionLineTableListEmptyRowProps, TransactionLineTableListRowProps
|
|
|
10
10
|
*
|
|
11
11
|
* Cells:
|
|
12
12
|
* - `description` — editable LabeledTextField in a flush pill
|
|
13
|
+
* - `name` — per-line payee autocomplete (deposits only)
|
|
13
14
|
* - `category` — RecommendationIcon + dropdown
|
|
14
15
|
* - `class` — RecommendationIcon + dropdown (only when accounting classes are on)
|
|
15
16
|
* - `project` — dropdown (no recommendations today, slot reserved)
|
|
16
17
|
* - `amount` — single right-aligned amount field (no Dr/Cr prefix)
|
|
17
18
|
*/
|
|
18
|
-
export declare const TransactionLineTableListRow: ({ accountList: _accountList, accountsHierarchyList, classHierarchyList, classList: _classList, columns, entityId, feedbackTransactionInfo, isCOTEnabled, isCompressed, isDisabled, isAddedLine, isSplitEditMode, line, lineIndex, onCOTView, openTooltipId, projects, searchAutoComplete
|
|
19
|
+
export declare const TransactionLineTableListRow: ({ accountList: _accountList, accountsHierarchyList, classHierarchyList, classList: _classList, columns, entityId, feedbackTransactionInfo, isCOTEnabled, isCompressed, isDisabled, isAddedLine, isSplitEditMode, line, lineIndex, onCOTView, openTooltipId, projects, searchAutoComplete, sectionId, setOpenTooltipId, transactionId, canDelete: _canDelete, onLineDelete: _onLineDelete, splitValidationErrors, getFieldName, }: TransactionLineTableListRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
20
|
/**
|
|
20
21
|
* Skeleton row consumed by `TransactionLinesEmptyTable`. Uses the same
|
|
21
22
|
* `RowItemContainer` as the live row so column widths line up 1:1.
|
package/dist/components/transactionDetail/items/transactionLineTable/transactionLineTableTypes.d.ts
CHANGED
|
@@ -29,6 +29,8 @@ export interface TransactionLinesTableProps {
|
|
|
29
29
|
isQuickViewMode?: boolean;
|
|
30
30
|
lineItemsLocalData?: TransactionDetailLocalData;
|
|
31
31
|
openTooltipId?: ID;
|
|
32
|
+
/** Adds a per-line Name (payee) column, for deposits whose payee lives on each line. */
|
|
33
|
+
showNameField?: boolean;
|
|
32
34
|
/** Inline validation errors shown below the reconciliation row on a failed submit. */
|
|
33
35
|
splitValidationErrors?: string[];
|
|
34
36
|
/**
|
|
@@ -57,10 +59,11 @@ export interface TransactionLinesEmptyTableProps {
|
|
|
57
59
|
isCompressed?: boolean;
|
|
58
60
|
isQuickViewMode?: boolean;
|
|
59
61
|
sectionId?: string;
|
|
62
|
+
showNameField?: boolean;
|
|
60
63
|
skeletonRowCount?: number;
|
|
61
64
|
}
|
|
62
65
|
/** The line fields the row reads, so a line that does not exist yet can render it too. */
|
|
63
|
-
export type TransactionLineTableRowLine = Pick<LineInfo, "account" | "amount" | "class" | "id" | "isCategoryMiscategorized" | "isClassMiscategorized" | "lineDescription" | "project" | "recommendationsWithCOT">;
|
|
66
|
+
export type TransactionLineTableRowLine = Pick<LineInfo, "account" | "amount" | "class" | "id" | "isCategoryMiscategorized" | "isClassMiscategorized" | "lineDescription" | "project" | "recommendationsWithCOT"> & Pick<Partial<LineInfo>, "lineEntity">;
|
|
64
67
|
export type TransactionLineTableRowField = "account" | "amount" | "class" | "lineDescription" | "project";
|
|
65
68
|
/** Props for the inline list-row component. */
|
|
66
69
|
export interface TransactionLineTableListRowProps {
|
|
@@ -75,6 +75,8 @@ export declare enum FeatureGatesNamesWebApp {
|
|
|
75
75
|
isCreateTransactionEnabled = "is_create_transaction_enabled",
|
|
76
76
|
/** P&L by class: show "Horizontal" layout switch next to Compare (Statsig gate). */
|
|
77
77
|
isReportsHorizontalClassLayoutSwitchEnabled = "is_reports_horizontal_class_layout_switch_enabled",
|
|
78
|
+
/** Financial reports (P&L, Balance Sheet, Cash Flow): day-level custom date range picker (Statsig gate). */
|
|
79
|
+
isReportsCustomDateRangeEnabled = "reports_custom_date_range",
|
|
78
80
|
/** AI Cfo: show ai cfo option in menu based on this gate */
|
|
79
81
|
isAiCfoEnabled = "is_ai_cfo_enabled",
|
|
80
82
|
/** Show projects field on transaction screens (FE rollout ahead of backend); ANDed with tenant's isAccountingProjectsEnabled. */
|
|
@@ -166,6 +168,7 @@ export declare const FeatureGatesNames: {
|
|
|
166
168
|
isCreateTransferEntryFromExpenseEnabled: FeatureGatesNamesWebApp.isCreateTransferEntryFromExpenseEnabled;
|
|
167
169
|
isCreateTransactionEnabled: FeatureGatesNamesWebApp.isCreateTransactionEnabled;
|
|
168
170
|
isReportsHorizontalClassLayoutSwitchEnabled: FeatureGatesNamesWebApp.isReportsHorizontalClassLayoutSwitchEnabled;
|
|
171
|
+
isReportsCustomDateRangeEnabled: FeatureGatesNamesWebApp.isReportsCustomDateRangeEnabled;
|
|
169
172
|
isAiCfoEnabled: FeatureGatesNamesWebApp.isAiCfoEnabled;
|
|
170
173
|
isProjectsTransactionsEnabled: FeatureGatesNamesWebApp.isProjectsTransactionsEnabled;
|
|
171
174
|
isAiCardCreationEnabled: FeatureGatesNamesWebApp.isAiCardCreationEnabled;
|