@zeniai/web-components 4.2.54 → 4.2.55-betaRD2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{SessionTimeoutPopup-B9HZAGdd.js → SessionTimeoutPopup-B3zhvFXe.js} +75790 -74885
- package/dist/{SessionTimeoutPopup-xlvbSS0Z.cjs → SessionTimeoutPopup-CBtnPH5j.cjs} +15435 -15166
- package/dist/appLocale.d.ts +57 -0
- package/dist/cockpit.cjs.js +1 -1
- package/dist/cockpit.esm.js +2 -2
- package/dist/components/aiCfo/components/AiCfoInput.d.ts +2 -0
- package/dist/components/aiCfo/getLatestSuggestedReply.d.ts +7 -0
- package/dist/components/aiCfo/hooks/useFocusInputOnScrollToBottomHidden.d.ts +8 -0
- package/dist/components/common/allNavBars/statusSwitcher/switcherTypes.d.ts +1 -0
- package/dist/components/expenseAutomation/ExpenseAutomationPage.d.ts +2 -2
- package/dist/components/expenseAutomation/components/NavBarWithHeader.d.ts +6 -5
- package/dist/components/expenseAutomation/components/navbarHeaderData.d.ts +2 -3
- package/dist/components/expenseAutomation/sections/jeSchedules/JESchedulePage.d.ts +4 -4
- package/dist/components/expenseAutomation/sections/jeSchedules/common/JEExistingKpiStrip.d.ts +7 -0
- package/dist/components/expenseAutomation/sections/jeSchedules/common/JEGroupSectionHeader.d.ts +8 -0
- package/dist/components/expenseAutomation/sections/jeSchedules/common/JEKpiStrip.d.ts +8 -0
- package/dist/components/expenseAutomation/sections/jeSchedules/{JEScheduleAccountSettings.d.ts → common/JEScheduleAccountSettings.d.ts} +2 -2
- package/dist/components/expenseAutomation/sections/jeSchedules/common/JEScheduleLifecycle.d.ts +10 -0
- package/dist/components/expenseAutomation/sections/jeSchedules/{JEScheduleResolveComponent.d.ts → common/JEScheduleResolveComponent.d.ts} +3 -3
- package/dist/components/expenseAutomation/sections/jeSchedules/{JEScheduleResolveListRow.d.ts → common/JEScheduleResolveListRow.d.ts} +3 -3
- package/dist/components/expenseAutomation/sections/jeSchedules/common/JETypeFilterBar.d.ts +8 -0
- package/dist/components/expenseAutomation/sections/jeSchedules/common/jeScheduleKpiHelpers.d.ts +2 -0
- package/dist/components/expenseAutomation/sections/jeSchedules/list/JEScheduleGroupList.d.ts +49 -0
- package/dist/components/expenseAutomation/sections/jeSchedules/list/JEScheduleLifecycleCell.d.ts +9 -0
- package/dist/components/expenseAutomation/sections/jeSchedules/{JEScheduleListWrapperRow.d.ts → list/JEScheduleListWrapperRow.d.ts} +6 -4
- package/dist/components/expenseAutomation/sections/jeSchedules/list/JEScheduleReadOnlyListRow.d.ts +14 -0
- package/dist/components/expenseAutomation/sections/jeSchedules/{jeSchedule.helpers.d.ts → list/jeSchedule.helpers.d.ts} +1 -1
- package/dist/components/expenseAutomation/sections/jeSchedules/{jeScheduleConfig.d.ts → list/jeScheduleConfig.d.ts} +10 -7
- package/dist/components/expenseAutomation/sections/jeSchedules/{jeScheduleListRow.helpers.d.ts → list/jeScheduleListRow.helpers.d.ts} +1 -1
- package/dist/components/expenseAutomation/sections/jeSchedules/sections/JEExistingSection.d.ts +19 -0
- package/dist/components/expenseAutomation/sections/jeSchedules/{JESchedulesList.d.ts → sections/JESchedulesSection.d.ts} +15 -15
- package/dist/components/expenseAutomation/sections/jeSchedules/sections/JESummarySection.d.ts +7 -0
- package/dist/components/expenseAutomation/sections/transactionCategorization/transactionCategorizationTypes.d.ts +2 -0
- package/dist/components/expenseAutomation/sections/transactionCategorization/transactionTypeDropdownHelper.d.ts +23 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/strings/strings.d.ts +57 -0
- package/package.json +2 -2
- package/dist/components/expenseAutomation/sections/jeSchedules/JEScheduleReadOnlyListRow.d.ts +0 -13
- /package/dist/components/expenseAutomation/sections/jeSchedules/{JEScheduleDraftComponent.d.ts → common/JEScheduleDraftComponent.d.ts} +0 -0
- /package/dist/components/expenseAutomation/sections/jeSchedules/{JESchedulesListEmptyTable.d.ts → common/JESchedulesListEmptyTable.d.ts} +0 -0
- /package/dist/components/expenseAutomation/sections/jeSchedules/{common.d.ts → common/common.d.ts} +0 -0
- /package/dist/components/expenseAutomation/sections/jeSchedules/{JEScheduleDraftListRow.d.ts → list/JEScheduleDraftListRow.d.ts} +0 -0
- /package/dist/components/expenseAutomation/sections/jeSchedules/{JEScheduleRecommendationIcon.d.ts → list/JEScheduleRecommendationIcon.d.ts} +0 -0
- /package/dist/components/expenseAutomation/sections/jeSchedules/{jeScheduleListRow.helpers.test.d.ts → list/jeScheduleListRow.helpers.test.d.ts} +0 -0
package/dist/appLocale.d.ts
CHANGED
|
@@ -9640,6 +9640,18 @@ declare class AppLocale {
|
|
|
9640
9640
|
accumulatedCategory: string;
|
|
9641
9641
|
transactionDate: string;
|
|
9642
9642
|
memo: string;
|
|
9643
|
+
entry: string;
|
|
9644
|
+
item: string;
|
|
9645
|
+
method: string;
|
|
9646
|
+
lifecycle: string;
|
|
9647
|
+
date: string;
|
|
9648
|
+
amount: string;
|
|
9649
|
+
account: string;
|
|
9650
|
+
reversesOn: string;
|
|
9651
|
+
scheduledAndPosted: string;
|
|
9652
|
+
aiAccountant: string;
|
|
9653
|
+
manualEntry: string;
|
|
9654
|
+
schedulePeriod: string;
|
|
9643
9655
|
};
|
|
9644
9656
|
scheduleTypes: {
|
|
9645
9657
|
prepaid_expenses: string;
|
|
@@ -9647,17 +9659,62 @@ declare class AppLocale {
|
|
|
9647
9659
|
accrued_expenses: string;
|
|
9648
9660
|
deferred_revenue: string;
|
|
9649
9661
|
};
|
|
9662
|
+
lifecycleLabel: {
|
|
9663
|
+
prepaid_expenses: string;
|
|
9664
|
+
fixed_assets: string;
|
|
9665
|
+
accrued_expenses: string;
|
|
9666
|
+
deferred_revenue: string;
|
|
9667
|
+
};
|
|
9650
9668
|
tooltipText: {
|
|
9651
9669
|
missingVendor: string;
|
|
9652
9670
|
missingCategory: string;
|
|
9653
9671
|
missingDepCategory: string;
|
|
9654
9672
|
};
|
|
9673
|
+
revert: string;
|
|
9655
9674
|
addCategory: string;
|
|
9656
9675
|
addDepCategory: string;
|
|
9657
9676
|
aiBotEmail: string;
|
|
9658
9677
|
botEmail: string;
|
|
9659
9678
|
aiAccountant: string;
|
|
9660
9679
|
zeniGPTText: string;
|
|
9680
|
+
kpiStrip: {
|
|
9681
|
+
aiAccountant: string;
|
|
9682
|
+
manual: string;
|
|
9683
|
+
needsReview: string;
|
|
9684
|
+
schedules: string;
|
|
9685
|
+
total: string;
|
|
9686
|
+
};
|
|
9687
|
+
typeFilter: {
|
|
9688
|
+
all: string;
|
|
9689
|
+
prepaid_expenses: string;
|
|
9690
|
+
fixed_assets: string;
|
|
9691
|
+
accrued_expenses: string;
|
|
9692
|
+
deferred_revenue: string;
|
|
9693
|
+
};
|
|
9694
|
+
groups: {
|
|
9695
|
+
created: string;
|
|
9696
|
+
pendingReview: string;
|
|
9697
|
+
};
|
|
9698
|
+
tabs: {
|
|
9699
|
+
schedules: string;
|
|
9700
|
+
existingSchedules: string;
|
|
9701
|
+
};
|
|
9702
|
+
existingSchedules: {
|
|
9703
|
+
downloadCompletedSchedules: string;
|
|
9704
|
+
kpi: {
|
|
9705
|
+
ongoingSchedules: string;
|
|
9706
|
+
monthlyPosting: string;
|
|
9707
|
+
remainingBalance: string;
|
|
9708
|
+
toDepreciateAmortize: string;
|
|
9709
|
+
posted: string;
|
|
9710
|
+
typeAbbreviations: {
|
|
9711
|
+
fixed_assets: string;
|
|
9712
|
+
prepaid_expenses: string;
|
|
9713
|
+
deferred_revenue: string;
|
|
9714
|
+
accrued_expenses: string;
|
|
9715
|
+
};
|
|
9716
|
+
};
|
|
9717
|
+
};
|
|
9661
9718
|
};
|
|
9662
9719
|
missingReceipts: {
|
|
9663
9720
|
searchPlaceholder: 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-CBtnPH5j.cjs"),o=require("./vendor-.pnpm-C8FI_grH.cjs"),u=require("react"),s=require("@emotion/styled"),Xe=require("@liveblocks/react"),ee=require("@zeniai/client-epic-state"),ks=require("@liveblocks/react-ui"),Ee=require("@emotion/react"),Po=require("react-dom"),yt=require("@liveblocks/react-ui/primitives"),fi=require("@liveblocks/react/suspense");function Pa(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 le=Pa(u),Ia=({inboxNotification:e,onNotificationClick:n})=>{const r=Xe.useInboxNotificationThread(e.id),i=r.metadata.entityType.split("."),a=r.metadata.isGlobalComment&&i.length===2;return o.jsxRuntimeExports.jsx(Aa,{isClickable:a,isUnRead:e.readAt==null,onClick:()=>{n(r.metadata,r.id)},children:o.jsxRuntimeExports.jsx(ks.InboxNotification,{inboxNotification:e,kinds:{thread:d=>o.jsxRuntimeExports.jsx(ks.InboxNotification.Thread,{...d,showRoomName:!0})}})})},Aa=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 { ei as o, hB as Ne, k as bt, go as L, eT as It, bZ as Xr, a3 as Fe, eY as rp, gJ as ip, gU as sp, aL as I, gM as H, e2 as ap, i6 as ge, hT as co, fs as lt, aN as Wt, cI as Vs, z as So, fj as gs, cD as vo, eV as xs, f8 as lp, eu as Xt, er as Re, gT as Kl, ff as wo, e3 as Us, cy as ze, hL as cp, bl as dp, bH as _t, bi as pp, eR as Gl, h0 as up, bv as ys, P as fs, hd as hp, he as mp, hf as gp, aM as xp, cU as yp, cw as xt, eX as Yl, d2 as fp, eH as qr, fd as bs, hz as B, dY as bp, bS as $p, e9 as Ce, eN as Cp, dO as F, d3 as Be, hC as pt, eD as $s, bV as zr, ea as wp, eO as Cs, bI as ei, hm as Te, b_ as ti, eP as Zl, f5 as Ql, f0 as er, gF as zt, fu as dt, en as yn, cA as Sp, cC as Jl, eS as Xl, gV as Pt, gm as et, fP as Br, gi as vp, fq as fn, fr as bn, n as $n, gB as Wo, eA as _o, cx as oi, eW as ws, cB as jp, eZ as ql, eQ as po, eU as Vo, bt as Jt, gh as Hs, ha as kp, g_ as Tp, h4 as Lp, e$ as Pp, fi as Ip, fh as tr, eo as Ap, ep as Ss, gW as Op, e_ as ec, f4 as tc, f3 as oc, bE as nc, hv as Dp, cq as Ks, cr as vs, cl as Rp, cp as Ep, bW as or, bF as Cn, f2 as js, aP as Np, e6 as ni, gP as ft, ef as rc, co as Fr, cu as Mp, bD as ks, ci as zp, dP as hn, eM as Bp, eL as Fp, eI as Wp, cj as ri, e4 as Gs, cm as ic, hZ as Wr, d4 as sc, eF as ac, gK as Ts, ck as _p, aY as mn, aW as Jn, aX as Xn, i8 as lc, bn as Vp, hV as Up, bJ as Zt, a_ as Lt, fc as Ls, f7 as cc, ev as Hp, cG as dc, f9 as Kp, et as Gp, a$ as Ht, hl as lr, bN as Yp, i4 as Zp, ct as Kt, ba as pc, Q as pn, de as uc, df as _r, dd as hc, c0 as Qp, cK as Jp, eC as Xp, c1 as Vr, c3 as os, di as Ys, dg as qp, dh as eu, c2 as di, b$ as pi, c4 as tu, e5 as Zs, cn as ou, cs as nu, dB as Qs, b9 as ru, e as iu, d6 as su, eJ as au, ee as nr, hQ as mc, hU as gc, bM as Qt, a7 as ii, a8 as gn, hW as xc, h5 as yc, bo as lu, cL as cu, cZ as fc, cY as du, hb as pu, cP as Ur, aG as bc, cO as uu, cN as hu, bs as mu, cM as Ps, gX as $c, bQ as Cc, gq as wc, m as Sc, fo as vc, bR as gu, B as jc, bU as kc, fQ as xu, em as yu, hP as fu, cW as bu, g$ as $u, gY as Cu, a2 as wu, dL as Js, h3 as Su, fg as Tc, hc as Xs, c_ as vu, cz as ju, es as ku, f1 as Tu, f6 as Lu, eK as Pu, gy as qs, fb as Iu, eg as Lc, eb as Au, gE as Pc, bu as Ou, ew as Du, bG as Ru, bK as Eu, ec as Ic, fa as Nu, cv as Mu, fe as zu, e8 as Bu, ed as Ac, eq as Fu, bL as Wu, e7 as _u } from "./SessionTimeoutPopup-
|
|
2
|
-
import { A as Pk, a as Ik, b as Ak, c as Ok, d as Dk, f as Rk, g as Ek, h as Nk, i as Mk, j as zk, l as Bk, o as Fk, p as Wk, q as _k, r as Vk, s as Uk, t as Hk, u as Kk, v as Gk, w as Yk, x as Zk, y as Qk, C as Jk, D as Xk, E as qk, F as eT, G as tT, H as oT, I as nT, J as rT, K as iT, L as sT, M as aT, N as lT, O as cT, R as dT, S as pT, T as uT, U as hT, V as mT, W as gT, X as xT, Y as yT, Z as fT, el as bT, _ as $T, $ as CT, a0 as wT, a1 as ST, a4 as vT, a5 as jT, a6 as kT, a9 as TT, aa as LT, ab as PT, ac as IT, ad as AT, ae as OT, af as DT, ag as RT, ah as ET, ai as NT, aj as MT, ak as zT, al as BT, am as FT, an as WT, ao as _T, ap as VT, aq as UT, ar as HT, as as KT, at as GT, au as YT, av as ZT, aw as QT, ax as JT, ay as XT, az as qT, aA as eL, el as tL, aB as oL, aC as nL, aD as rL, aE as iL, aF as sL, aH as aL, aI as lL, aJ as cL, aK as dL, aO as pL, aQ as uL, aR as hL, aS as mL, aT as gL, aU as xL, aV as yL, aZ as fL, b0 as bL, b1 as $L, b2 as CL, b3 as wL, b4 as SL, b5 as vL, b6 as jL, b7 as kL, b8 as TL, bb as LL, bc as PL, bd as IL, be as AL, bf as OL, bg as DL, bh as RL, bj as EL, bm as NL, bp as ML, bq as zL, br as BL, bw as FL, bx as WL, by as _L, bz as VL, bA as UL, bB as HL, bC as KL, bO as GL, bP as YL, bT as ZL, bX as QL, bY as JL, c5 as XL, c6 as qL, c7 as eP, c8 as tP, c9 as oP, ca as nP, cb as rP, cc as iP, cd as sP, ce as aP, cf as lP, cg as cP, ch as dP, cE as pP, cF as uP, cH as hP, cJ as mP, cQ as gP, cR as xP, cS as yP, cT as fP, cV as bP, cX as $P, c$ as CP, d0 as wP, d1 as SP, d5 as vP, d7 as jP, d8 as kP, d9 as TP, da as LP, db as PP, dc as IP, dj as AP, dk as OP, dl as DP, dm as RP, dn as EP, dp as NP, dq as MP, dr as zP, ds as BP, dt as FP, du as WP, dv as _P, dw as VP, dx as UP, dy as HP, dz as KP, dA as GP, dC as YP, bk as ZP, dD as QP, dE as JP, dF as XP, dG as qP, dH as eI, dI as tI, dJ as oI, el as nI, dM as rI, dK as iI, dN as sI, dQ as aI, dR as lI, dS as cI, dT as dI, dU as pI, dV as uI, dW as hI, dX as mI, dZ as gI, d_ as xI, d$ as yI, e0 as fI, e1 as bI, eh as $I, ej as CI, ek as wI, ex as SI, ey as vI, ez as jI, eB as kI, eE as TI, eG as LI, fk as PI, fl as II, fm as AI, fn as OI, fp as DI, ft as RI, fv as EI, fw as NI, fx as MI, fy as zI, fz as BI, fA as FI, fB as WI, fC as _I, fD as VI, fE as UI, fF as HI, fG as KI, fH as GI, fI as YI, fJ as ZI, fK as QI, fL as JI, fM as XI, fN as qI, fO as eA, fR as tA, fS as oA, fT as nA, fU as rA, fV as iA, fW as sA, fX as aA, fY as lA, fZ as cA, f_ as dA, f$ as pA, g0 as uA, g1 as hA, g2 as mA, g3 as gA, g4 as xA, g5 as yA, g6 as fA, g7 as bA, g8 as $A, g9 as CA, ga as wA, gb as SA, gc as vA, gd as jA, ge as kA, gf as TA, gg as LA, gj as PA, gk as IA, gl as AA, gn as OA, gp as DA, gr as RA, gs as EA, gt as NA, gu as MA, gv as zA, gw as BA, gx as FA, gz as WA, gA as _A, gC as VA, gD as UA, gG as HA, gI as KA, gH as GA, gL as YA, gN as ZA, gO as QA, gQ as JA, gR as XA, gS as qA, gZ as eO, h1 as tO, h2 as oO, h6 as nO, h7 as rO, h8 as iO, h9 as sO, hg as aO, hh as lO, hi as cO, hj as dO, hk as pO, hn as uO, ho as hO, hp as mO, hq as gO, hr as xO, hs as yO, ht as fO, hu as bO, hw as $O, hx as CO, hy as wO, hA as SO, hD as vO, hE as jO, hF as kO, hG as TO, hH as LO, hI as PO, hJ as IO, hK as AO, hM as OO, hN as DO, hO as RO, hR as EO, hS as NO, hX as MO, hY as zO, h_ as BO, h$ as FO, i0 as WO, i1 as _O, i2 as VO, i3 as UO, i5 as HO, i7 as KO, i9 as GO, ia as YO } from "./SessionTimeoutPopup-
|
|
1
|
+
import { ei as o, hB as Ne, k as bt, go as L, eT as It, bZ as Xr, a3 as Fe, eY as rp, gJ as ip, gU as sp, aL as I, gM as H, e2 as ap, i6 as ge, hT as co, fs as lt, aN as Wt, cI as Vs, z as So, fj as gs, cD as vo, eV as xs, f8 as lp, eu as Xt, er as Re, gT as Kl, ff as wo, e3 as Us, cy as ze, hL as cp, bl as dp, bH as _t, bi as pp, eR as Gl, h0 as up, bv as ys, P as fs, hd as hp, he as mp, hf as gp, aM as xp, cU as yp, cw as xt, eX as Yl, d2 as fp, eH as qr, fd as bs, hz as B, dY as bp, bS as $p, e9 as Ce, eN as Cp, dO as F, d3 as Be, hC as pt, eD as $s, bV as zr, ea as wp, eO as Cs, bI as ei, hm as Te, b_ as ti, eP as Zl, f5 as Ql, f0 as er, gF as zt, fu as dt, en as yn, cA as Sp, cC as Jl, eS as Xl, gV as Pt, gm as et, fP as Br, gi as vp, fq as fn, fr as bn, n as $n, gB as Wo, eA as _o, cx as oi, eW as ws, cB as jp, eZ as ql, eQ as po, eU as Vo, bt as Jt, gh as Hs, ha as kp, g_ as Tp, h4 as Lp, e$ as Pp, fi as Ip, fh as tr, eo as Ap, ep as Ss, gW as Op, e_ as ec, f4 as tc, f3 as oc, bE as nc, hv as Dp, cq as Ks, cr as vs, cl as Rp, cp as Ep, bW as or, bF as Cn, f2 as js, aP as Np, e6 as ni, gP as ft, ef as rc, co as Fr, cu as Mp, bD as ks, ci as zp, dP as hn, eM as Bp, eL as Fp, eI as Wp, cj as ri, e4 as Gs, cm as ic, hZ as Wr, d4 as sc, eF as ac, gK as Ts, ck as _p, aY as mn, aW as Jn, aX as Xn, i8 as lc, bn as Vp, hV as Up, bJ as Zt, a_ as Lt, fc as Ls, f7 as cc, ev as Hp, cG as dc, f9 as Kp, et as Gp, a$ as Ht, hl as lr, bN as Yp, i4 as Zp, ct as Kt, ba as pc, Q as pn, de as uc, df as _r, dd as hc, c0 as Qp, cK as Jp, eC as Xp, c1 as Vr, c3 as os, di as Ys, dg as qp, dh as eu, c2 as di, b$ as pi, c4 as tu, e5 as Zs, cn as ou, cs as nu, dB as Qs, b9 as ru, e as iu, d6 as su, eJ as au, ee as nr, hQ as mc, hU as gc, bM as Qt, a7 as ii, a8 as gn, hW as xc, h5 as yc, bo as lu, cL as cu, cZ as fc, cY as du, hb as pu, cP as Ur, aG as bc, cO as uu, cN as hu, bs as mu, cM as Ps, gX as $c, bQ as Cc, gq as wc, m as Sc, fo as vc, bR as gu, B as jc, bU as kc, fQ as xu, em as yu, hP as fu, cW as bu, g$ as $u, gY as Cu, a2 as wu, dL as Js, h3 as Su, fg as Tc, hc as Xs, c_ as vu, cz as ju, es as ku, f1 as Tu, f6 as Lu, eK as Pu, gy as qs, fb as Iu, eg as Lc, eb as Au, gE as Pc, bu as Ou, ew as Du, bG as Ru, bK as Eu, ec as Ic, fa as Nu, cv as Mu, fe as zu, e8 as Bu, ed as Ac, eq as Fu, bL as Wu, e7 as _u } from "./SessionTimeoutPopup-B3zhvFXe.js";
|
|
2
|
+
import { A as Pk, a as Ik, b as Ak, c as Ok, d as Dk, f as Rk, g as Ek, h as Nk, i as Mk, j as zk, l as Bk, o as Fk, p as Wk, q as _k, r as Vk, s as Uk, t as Hk, u as Kk, v as Gk, w as Yk, x as Zk, y as Qk, C as Jk, D as Xk, E as qk, F as eT, G as tT, H as oT, I as nT, J as rT, K as iT, L as sT, M as aT, N as lT, O as cT, R as dT, S as pT, T as uT, U as hT, V as mT, W as gT, X as xT, Y as yT, Z as fT, el as bT, _ as $T, $ as CT, a0 as wT, a1 as ST, a4 as vT, a5 as jT, a6 as kT, a9 as TT, aa as LT, ab as PT, ac as IT, ad as AT, ae as OT, af as DT, ag as RT, ah as ET, ai as NT, aj as MT, ak as zT, al as BT, am as FT, an as WT, ao as _T, ap as VT, aq as UT, ar as HT, as as KT, at as GT, au as YT, av as ZT, aw as QT, ax as JT, ay as XT, az as qT, aA as eL, el as tL, aB as oL, aC as nL, aD as rL, aE as iL, aF as sL, aH as aL, aI as lL, aJ as cL, aK as dL, aO as pL, aQ as uL, aR as hL, aS as mL, aT as gL, aU as xL, aV as yL, aZ as fL, b0 as bL, b1 as $L, b2 as CL, b3 as wL, b4 as SL, b5 as vL, b6 as jL, b7 as kL, b8 as TL, bb as LL, bc as PL, bd as IL, be as AL, bf as OL, bg as DL, bh as RL, bj as EL, bm as NL, bp as ML, bq as zL, br as BL, bw as FL, bx as WL, by as _L, bz as VL, bA as UL, bB as HL, bC as KL, bO as GL, bP as YL, bT as ZL, bX as QL, bY as JL, c5 as XL, c6 as qL, c7 as eP, c8 as tP, c9 as oP, ca as nP, cb as rP, cc as iP, cd as sP, ce as aP, cf as lP, cg as cP, ch as dP, cE as pP, cF as uP, cH as hP, cJ as mP, cQ as gP, cR as xP, cS as yP, cT as fP, cV as bP, cX as $P, c$ as CP, d0 as wP, d1 as SP, d5 as vP, d7 as jP, d8 as kP, d9 as TP, da as LP, db as PP, dc as IP, dj as AP, dk as OP, dl as DP, dm as RP, dn as EP, dp as NP, dq as MP, dr as zP, ds as BP, dt as FP, du as WP, dv as _P, dw as VP, dx as UP, dy as HP, dz as KP, dA as GP, dC as YP, bk as ZP, dD as QP, dE as JP, dF as XP, dG as qP, dH as eI, dI as tI, dJ as oI, el as nI, dM as rI, dK as iI, dN as sI, dQ as aI, dR as lI, dS as cI, dT as dI, dU as pI, dV as uI, dW as hI, dX as mI, dZ as gI, d_ as xI, d$ as yI, e0 as fI, e1 as bI, eh as $I, ej as CI, ek as wI, ex as SI, ey as vI, ez as jI, eB as kI, eE as TI, eG as LI, fk as PI, fl as II, fm as AI, fn as OI, fp as DI, ft as RI, fv as EI, fw as NI, fx as MI, fy as zI, fz as BI, fA as FI, fB as WI, fC as _I, fD as VI, fE as UI, fF as HI, fG as KI, fH as GI, fI as YI, fJ as ZI, fK as QI, fL as JI, fM as XI, fN as qI, fO as eA, fR as tA, fS as oA, fT as nA, fU as rA, fV as iA, fW as sA, fX as aA, fY as lA, fZ as cA, f_ as dA, f$ as pA, g0 as uA, g1 as hA, g2 as mA, g3 as gA, g4 as xA, g5 as yA, g6 as fA, g7 as bA, g8 as $A, g9 as CA, ga as wA, gb as SA, gc as vA, gd as jA, ge as kA, gf as TA, gg as LA, gj as PA, gk as IA, gl as AA, gn as OA, gp as DA, gr as RA, gs as EA, gt as NA, gu as MA, gv as zA, gw as BA, gx as FA, gz as WA, gA as _A, gC as VA, gD as UA, gG as HA, gI as KA, gH as GA, gL as YA, gN as ZA, gO as QA, gQ as JA, gR as XA, gS as qA, gZ as eO, h1 as tO, h2 as oO, h6 as nO, h7 as rO, h8 as iO, h9 as sO, hg as aO, hh as lO, hi as cO, hj as dO, hk as pO, hn as uO, ho as hO, hp as mO, hq as gO, hr as xO, hs as yO, ht as fO, hu as bO, hw as $O, hx as CO, hy as wO, hA as SO, hD as vO, hE as jO, hF as kO, hG as TO, hH as LO, hI as PO, hJ as IO, hK as AO, hM as OO, hN as DO, hO as RO, hR as EO, hS as NO, hX as MO, hY as zO, h_ as BO, h$ as FO, i0 as WO, i1 as _O, i2 as VO, i3 as UO, i5 as HO, i7 as KO, i9 as GO, ia as YO } from "./SessionTimeoutPopup-B3zhvFXe.js";
|
|
3
3
|
import { al as t, D as Vu, a1 as Uu, aM as Ve, q as wn, O as rt, L as Hu, s as Ku, T as Gu, o as si, f as qt, h as ye, aI as uo, i as Sn, aH as ho, Y as Uo, m as mo, J as Ho, b as eo, V as Ko, ae as nt, I as Oc, X as Yu, ao as Mt, aa as Fo, aG as Zu, k as Is, C as Dc, n as Qu, d as Ju, e as As, B as Os, at as ea } from "./vendor-.pnpm-CUrsb6Rf.js";
|
|
4
4
|
import { aB as QO } from "./vendor-.pnpm-CUrsb6Rf.js";
|
|
5
5
|
import * as me from "react";
|
|
@@ -20,6 +20,8 @@ export interface AiCfoInputProps {
|
|
|
20
20
|
shouldFocus?: boolean;
|
|
21
21
|
/** Chat-visible skills for the `/` menu (from getSkills). */
|
|
22
22
|
skills?: SkillMenuItem[];
|
|
23
|
+
/** First-person next message suggestion; shown as ghost placeholder + Tab-to-fill when the input is empty. */
|
|
24
|
+
suggestedReply?: string;
|
|
23
25
|
onInputChange: (value: string) => void;
|
|
24
26
|
onStopSubmit: () => void;
|
|
25
27
|
onSubmit: () => void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AiCfoQuestionWithAnswer } from '@zeniai/client-epic-state';
|
|
2
|
+
/**
|
|
3
|
+
* The answer-grounded `suggestedReply` from the most recent answer in the
|
|
4
|
+
* session, or undefined when there is no answer yet / no suggestion. Used to
|
|
5
|
+
* feed the composer's ghost-text autocomplete.
|
|
6
|
+
*/
|
|
7
|
+
export declare const getLatestSuggestedReply: (questionAnswers: AiCfoQuestionWithAnswer[] | undefined) => string | undefined;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Drops the caret in the composer when the scroll-to-bottom button transitions
|
|
3
|
+
* from shown to hidden (the user reached the bottom), so Tab / typing works
|
|
4
|
+
* without a click. Skipped while an answer is streaming (textarea disabled) and
|
|
5
|
+
* on a chat-session switch — where the restored scroll position can produce the
|
|
6
|
+
* same shown→hidden transition without the user actually scrolling.
|
|
7
|
+
*/
|
|
8
|
+
export declare const useFocusInputOnScrollToBottomHidden: (showScrollToBottom: boolean, isSubmitting: boolean, chatSessionId: string | undefined, setShouldFocusInput: (value: boolean) => void) => void;
|
|
@@ -4,8 +4,8 @@ import { AutoCompleteActions, AutoCompleteData } from '../common/autoComplete/au
|
|
|
4
4
|
import { ReportTreeScrollPosition } from '../reportTree/ReportTree';
|
|
5
5
|
import { ExpenseAutomationThreadClickTarget } from './components/ExpenseAutomationCommentingShell';
|
|
6
6
|
import { MonthEndReportPageProps } from './components/TableSection';
|
|
7
|
-
import { FormData as JEScheduleAccountSettingsFormData } from './sections/jeSchedules/JEScheduleAccountSettings';
|
|
8
|
-
import { JEScheduleResolveComponentFormData } from './sections/jeSchedules/JEScheduleResolveComponent';
|
|
7
|
+
import { FormData as JEScheduleAccountSettingsFormData } from './sections/jeSchedules/common/JEScheduleAccountSettings';
|
|
8
|
+
import { JEScheduleResolveComponentFormData } from './sections/jeSchedules/common/JEScheduleResolveComponent';
|
|
9
9
|
import { TransferDrawerTransactionData } from './sections/transactionCategorization/transactionCategorizationTypes';
|
|
10
10
|
/**
|
|
11
11
|
* Component & its Props
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { CompletionStatusType, ExpenseAutomationReconciliationViewTab, ExpenseAutomationTransactionsTab, ExpenseAutomationViewType, FetchState, ID, MissingReceiptsTab, TransactionFilterEntityType, TransactionFilters, ZeniDate } from '@zeniai/client-epic-state';
|
|
2
|
+
import { CompletionStatusType, ExpenseAutomationReconciliationViewTab, ExpenseAutomationTransactionsTab, ExpenseAutomationViewType, FetchState, ID, MissingReceiptsTab, TransactionFilterEntityType, TransactionFilters, ZeniDate, JEPageTab } from '@zeniai/client-epic-state';
|
|
3
3
|
import { TabSwitcherOption } from '../../common/allNavBars/statusSwitcher/switcherTypes';
|
|
4
4
|
import { AutoCompleteActions, AutoCompleteData } from '../../common/autoComplete/autoCompleteProps';
|
|
5
5
|
import { ValuesDropdownOption } from '../../common/filters/genericFilterTypes';
|
|
6
|
-
import { JEScheduleMainTab } from '../sections/jeSchedules/jeScheduleConfig';
|
|
7
6
|
import { ExpenseAutomationNavbarHeaderData } from './navbarHeaderData';
|
|
8
7
|
interface NavBarWithHeaderProps {
|
|
9
8
|
companyId: ID;
|
|
@@ -21,10 +20,12 @@ interface NavBarWithHeaderProps {
|
|
|
21
20
|
/** Raw progress (0–100) for color bands; falls back to `completionPercentage` when omitted. */
|
|
22
21
|
completionProgressRaw?: number;
|
|
23
22
|
createdByUserListLoaded?: boolean;
|
|
24
|
-
currentJeTab?:
|
|
23
|
+
currentJeTab?: JEPageTab;
|
|
25
24
|
currentMissingReceiptsTab?: MissingReceiptsTab;
|
|
26
25
|
currentRecontab?: ExpenseAutomationReconciliationViewTab;
|
|
27
26
|
currentTab?: ExpenseAutomationTransactionsTab;
|
|
27
|
+
/** Optional download button rendered in the right-side navbar area. */
|
|
28
|
+
downloadButton?: ReactNode;
|
|
28
29
|
filterComponent?: React.ComponentType<{
|
|
29
30
|
entity: TransactionFilterEntityType;
|
|
30
31
|
filters: TransactionFilters;
|
|
@@ -50,7 +51,7 @@ interface NavBarWithHeaderProps {
|
|
|
50
51
|
titleStyle?: React.CSSProperties;
|
|
51
52
|
vendorSearchAutoCompleteActions?: AutoCompleteActions;
|
|
52
53
|
vendorSearchAutoCompleteData?: AutoCompleteData;
|
|
53
|
-
getTabCountAndFetchState: (currentTab: ExpenseAutomationTransactionsTab | ExpenseAutomationReconciliationViewTab | MissingReceiptsTab |
|
|
54
|
+
getTabCountAndFetchState: (currentTab: ExpenseAutomationTransactionsTab | ExpenseAutomationReconciliationViewTab | MissingReceiptsTab | JEPageTab) => {
|
|
54
55
|
count: number;
|
|
55
56
|
isFetching: boolean;
|
|
56
57
|
hideCountInTab?: boolean;
|
|
@@ -66,7 +67,7 @@ interface NavBarWithHeaderProps {
|
|
|
66
67
|
onCommentDrawerClick?: () => void;
|
|
67
68
|
onFiltersChange?: (filters: TransactionFilters) => void;
|
|
68
69
|
onGenericTabChange?: (tab: TabSwitcherOption) => void;
|
|
69
|
-
onJeTabUpdate?: (tab:
|
|
70
|
+
onJeTabUpdate?: (tab: JEPageTab) => void;
|
|
70
71
|
onMissingReceiptsTabUpdate?: (tab: MissingReceiptsTab) => void;
|
|
71
72
|
}
|
|
72
73
|
export default function NavBarWithHeader(props: Readonly<NavBarWithHeaderProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { ExpenseAutomationReconciliationViewTab, ExpenseAutomationTransactionsTab, ExpenseAutomationViewType, ID, MissingReceiptsTab } from '@zeniai/client-epic-state';
|
|
2
|
-
import { JEScheduleMainTab } from '../sections/jeSchedules/jeScheduleConfig';
|
|
1
|
+
import { ExpenseAutomationReconciliationViewTab, ExpenseAutomationTransactionsTab, ExpenseAutomationViewType, ID, MissingReceiptsTab, JEPageTab } from '@zeniai/client-epic-state';
|
|
3
2
|
declare const toRightOptionType: (v: string) => "search" | "close" | "filter" | "comment" | "refresh" | "commentDrawer" | "askAiCfo";
|
|
4
3
|
type RightSection = ReturnType<typeof toRightOptionType>;
|
|
5
4
|
declare const toLeftOptionType: (v: string) => "back";
|
|
@@ -13,7 +12,7 @@ export interface SubTitle {
|
|
|
13
12
|
preLink?: string;
|
|
14
13
|
}
|
|
15
14
|
interface ExpenseAutomationTabData {
|
|
16
|
-
id: ExpenseAutomationTransactionsTab | ExpenseAutomationReconciliationViewTab | MissingReceiptsTab |
|
|
15
|
+
id: ExpenseAutomationTransactionsTab | ExpenseAutomationReconciliationViewTab | MissingReceiptsTab | JEPageTab;
|
|
17
16
|
label: string;
|
|
18
17
|
subTitle: SubTitle[];
|
|
19
18
|
allDoneText?: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ExpenseAutomationViewSelector } from '@zeniai/client-epic-state';
|
|
2
2
|
import { FooterFormIdType } from '../../common';
|
|
3
|
-
import { FormData as JEScheduleAccountSettingsFormData } from './JEScheduleAccountSettings';
|
|
4
|
-
import {
|
|
5
|
-
export interface JESchedulePageProps extends Omit<
|
|
3
|
+
import { FormData as JEScheduleAccountSettingsFormData } from './common/JEScheduleAccountSettings';
|
|
4
|
+
import { JESchedulesSectionProps } from './sections/JESchedulesSection';
|
|
5
|
+
export interface JESchedulePageProps extends Omit<JESchedulesSectionProps, "jeSchedules" | "isAccountingClassesEnabled"> {
|
|
6
6
|
currentFooterFormId: FooterFormIdType;
|
|
7
7
|
expenseAutomationViewSelector: ExpenseAutomationViewSelector;
|
|
8
8
|
isAccountingClassesEnabled: boolean;
|
|
@@ -11,5 +11,5 @@ export interface JESchedulePageProps extends Omit<JEScheduleListProps, "jeSchedu
|
|
|
11
11
|
setIsJeAccountSettingsOpened: (isOpened: boolean) => void;
|
|
12
12
|
setResetJeAccountSettingsForm: (resetFn: () => void) => void;
|
|
13
13
|
}
|
|
14
|
-
declare function JESchedulePage({ expenseAutomationViewSelector, currentFooterFormId, isAccountingClassesEnabled, isJEScheduleCOTEnabled,
|
|
14
|
+
declare function JESchedulePage({ expenseAutomationViewSelector, currentFooterFormId, isAccountingClassesEnabled, isJEScheduleCOTEnabled, setResetJeAccountSettingsForm, vendorSearchAutoCompleteData, onJESchedulesFormDataChange, onPostJESchedule, handleJeScheduleClick, onJeAccountSettingsChange, onSaveJeAccountSettingsClick, ignoreRecommendedJeSchedule, vendorSearchAutoCompleteActions, setCurrentFooterFormId, setIsJeAccountSettingsOpened, onRevertJeSchedule, onToggleCreatedGroupCollapsed, onTogglePendingGroupCollapsed, onUpdateJEScheduleTypeFilter, onUpdateJESchedulesUIState, }: Readonly<JESchedulePageProps>): import("react/jsx-runtime").JSX.Element | null;
|
|
15
15
|
export default JESchedulePage;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { JEKpiSummary, JEScheduledTransaction } from '@zeniai/client-epic-state';
|
|
2
|
+
export interface JEExistingKpiStripProps {
|
|
3
|
+
kpiSummary: JEKpiSummary;
|
|
4
|
+
ongoingSchedules: JEScheduledTransaction[];
|
|
5
|
+
}
|
|
6
|
+
declare function JEExistingKpiStrip({ kpiSummary, ongoingSchedules, }: Readonly<JEExistingKpiStripProps>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default JEExistingKpiStrip;
|
package/dist/components/expenseAutomation/sections/jeSchedules/common/JEGroupSectionHeader.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface JEGroupSectionHeaderProps {
|
|
2
|
+
count: number;
|
|
3
|
+
isCollapsed: boolean;
|
|
4
|
+
title: string;
|
|
5
|
+
onToggle: () => void;
|
|
6
|
+
}
|
|
7
|
+
declare function JEGroupSectionHeader({ title, count, isCollapsed, onToggle, }: Readonly<JEGroupSectionHeaderProps>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default JEGroupSectionHeader;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { JEKpiSummary, JEScheduledTransaction, JEScheduledTransactionWithFailedEntries } from '@zeniai/client-epic-state';
|
|
2
|
+
type JEScheduleOrFailedEntry = JEScheduledTransaction | JEScheduledTransactionWithFailedEntries;
|
|
3
|
+
export interface JEKpiStripProps {
|
|
4
|
+
kpiSummary: JEKpiSummary;
|
|
5
|
+
schedules: JEScheduleOrFailedEntry[];
|
|
6
|
+
}
|
|
7
|
+
declare function JEKpiStrip({ kpiSummary, schedules }: Readonly<JEKpiStripProps>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default JEKpiStrip;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JEAccountSettingsView } from '@zeniai/client-epic-state';
|
|
2
|
-
import { VendorsAccountsSectionFormData } from '
|
|
3
|
-
import { FooterFormIdType } from '
|
|
2
|
+
import { VendorsAccountsSectionFormData } from '../../../../uncategorizedAccountsMapping/VendorsAccountsSection';
|
|
3
|
+
import { FooterFormIdType } from '../../../common';
|
|
4
4
|
declare const vendorsAccountSectionId = "vendorsAccountSection";
|
|
5
5
|
export interface FormData {
|
|
6
6
|
[vendorsAccountSectionId]: VendorsAccountsSectionFormData;
|
package/dist/components/expenseAutomation/sections/jeSchedules/common/JEScheduleLifecycle.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ScheduleTypes } from '@zeniai/client-epic-state';
|
|
2
|
+
export declare const LIFECYCLE_COLUMN_WIDTH_PX: number;
|
|
3
|
+
export interface JEScheduleLifecycleProps {
|
|
4
|
+
posted: number;
|
|
5
|
+
scheduleType: ScheduleTypes;
|
|
6
|
+
total: number;
|
|
7
|
+
forcePostedLabel?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const JEScheduleLifecycle: ({ forcePostedLabel, posted, scheduleType, total, }: JEScheduleLifecycleProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default JEScheduleLifecycle;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AccountBase, ClassBase, FetchStateAndError, ID, JEScheduleLocalData, JEScheduleTransactionKey, JEScheduledTransactionWithFailedEntries, ScheduleTypes, UncategorizedAccounts } from '@zeniai/client-epic-state';
|
|
2
|
-
import { AutoCompleteActions, AutoCompleteData } from '
|
|
3
|
-
import { AutoCompleteSingleSelectFieldValue } from '
|
|
4
|
-
import { GroupedOption, GroupedSingleSelectFieldValueWithCOT } from '
|
|
2
|
+
import { AutoCompleteActions, AutoCompleteData } from '../../../../common/autoComplete/autoCompleteProps';
|
|
3
|
+
import { AutoCompleteSingleSelectFieldValue } from '../../../../formElements/autoCompleteSingleSelectField/AutoCompleteSingleSelectField';
|
|
4
|
+
import { GroupedOption, GroupedSingleSelectFieldValueWithCOT } from '../../../../formElements/labeledGroupedSingleSelectWithCOT/GroupedSingleSelectFieldWithCOT';
|
|
5
5
|
declare const jeScheduleId: "jeSchedulePage";
|
|
6
6
|
export interface JEScheduleResolveComponentFormData {
|
|
7
7
|
jeScheduleID: ID;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AccountBase, FetchStateAndError, ID, JEScheduleLocalData, JEScheduleTransactionKey, JEScheduledTransactionWithFailedEntries, ScheduleTypes, UncategorizedAccounts } from '@zeniai/client-epic-state';
|
|
2
|
-
import { AutoCompleteActions, AutoCompleteData } from '
|
|
3
|
-
import { GroupedOption } from '
|
|
2
|
+
import { AutoCompleteActions, AutoCompleteData } from '../../../../common/autoComplete/autoCompleteProps';
|
|
3
|
+
import { GroupedOption } from '../../../../formElements/labeledGroupedSingleSelectWithCOT/GroupedSingleSelectFieldWithCOT';
|
|
4
4
|
import { JEScheduleResolveComponentFormData } from './JEScheduleResolveComponent';
|
|
5
|
-
import { JEScheduleColumnKey } from '
|
|
5
|
+
import { JEScheduleColumnKey } from '../list/jeScheduleConfig';
|
|
6
6
|
export interface JEScheduleResolveListRowProps {
|
|
7
7
|
allAccountGroupedOptions: GroupedOption[];
|
|
8
8
|
allAccountList: AccountBase[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ScheduleTypes } from '@zeniai/client-epic-state';
|
|
2
|
+
export interface JETypeFilterBarProps {
|
|
3
|
+
counts: Partial<Record<ScheduleTypes, number>>;
|
|
4
|
+
selectedFilter: ScheduleTypes | null;
|
|
5
|
+
onFilterChange: (filter: ScheduleTypes | null) => void;
|
|
6
|
+
}
|
|
7
|
+
declare function JETypeFilterBar({ counts, selectedFilter, onFilterChange, }: Readonly<JETypeFilterBarProps>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default JETypeFilterBar;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { MouseEvent } from 'react';
|
|
2
|
+
import { ExpenseAutomationJESchedulesViewSelector, ID, JEScheduleTransactionKey, JEScheduledTransaction, ScheduleTypes } from '@zeniai/client-epic-state';
|
|
3
|
+
import { AutoCompleteActions, AutoCompleteData } from '../../../../common/autoComplete/autoCompleteProps';
|
|
4
|
+
import { JEScheduleResolveComponentFormData } from '../common/JEScheduleResolveComponent';
|
|
5
|
+
import { JEScheduleHeaderItemData } from './jeScheduleConfig';
|
|
6
|
+
export type SortDirection = "asc" | "desc";
|
|
7
|
+
export interface SortState {
|
|
8
|
+
columnKey: string;
|
|
9
|
+
direction: SortDirection;
|
|
10
|
+
}
|
|
11
|
+
export interface JEScheduleGroupListItemData {
|
|
12
|
+
accountListNestedAccountHierarchy: ExpenseAutomationJESchedulesViewSelector["accountListNestedAccountHierarchy"];
|
|
13
|
+
allAccountList: ExpenseAutomationJESchedulesViewSelector["allAccountList"];
|
|
14
|
+
allDepreciationAccountList: ExpenseAutomationJESchedulesViewSelector["allDepreciationAccountList"];
|
|
15
|
+
allDepreciationAccountListNestedAccountHierarchy: ExpenseAutomationJESchedulesViewSelector["allDepreciationAccountListNestedAccountHierarchy"];
|
|
16
|
+
classListNestedAccountHierarchy: ExpenseAutomationJESchedulesViewSelector["classListNestedAccountHierarchy"];
|
|
17
|
+
ignoreStatusById: ExpenseAutomationJESchedulesViewSelector["ignoreStatusById"];
|
|
18
|
+
isJEScheduleCOTEnabled: boolean;
|
|
19
|
+
localDataByID: ExpenseAutomationJESchedulesViewSelector["jeScheduleLocalDataById"];
|
|
20
|
+
postStatusById: ExpenseAutomationJESchedulesViewSelector["postStatusById"];
|
|
21
|
+
uncategorizedAccounts: ExpenseAutomationJESchedulesViewSelector["uncategorizedAccounts"];
|
|
22
|
+
vendorSearchAutoCompleteActions: AutoCompleteActions;
|
|
23
|
+
vendorSearchAutoCompleteData: AutoCompleteData;
|
|
24
|
+
forcePostedLabel?: boolean;
|
|
25
|
+
handleJeScheduleClick: (jeScheduleId: ID, jeScheduleKey: JEScheduleTransactionKey, jeScheduleType: ScheduleTypes) => void;
|
|
26
|
+
ignoreRecommendedJeSchedule: (jeScheduleTransactionKey: JEScheduleTransactionKey, scheduleType: ScheduleTypes) => void;
|
|
27
|
+
jeScheduleClickHandler: (event: MouseEvent<HTMLDivElement>, jeScheduleId: ID, jescheduleKey: JEScheduleTransactionKey, jeScheduleType: ScheduleTypes) => void;
|
|
28
|
+
onJESchedulesFormDataChange: (scheduleJournalEntryId: ID, localData: JEScheduleResolveComponentFormData) => void;
|
|
29
|
+
onPostJESchedule: (scheduledJournalEntryId: ID, jeScheduleTransactionKey: JEScheduleTransactionKey) => void;
|
|
30
|
+
onReviewClickHandler: (jeScheduleId: ID, jescheduleKey: JEScheduleTransactionKey, jeScheduleType: ScheduleTypes) => void;
|
|
31
|
+
onConfirmCategoryRecommendation?: (jeScheduleTransactionKey: JEScheduleTransactionKey, recommendedCategoryId: ID) => void;
|
|
32
|
+
onRevertJeSchedule?: (jeScheduleId: ID, jeScheduleTransactionKey: JEScheduleTransactionKey, jeScheduleType: ScheduleTypes) => void;
|
|
33
|
+
}
|
|
34
|
+
export interface JEScheduleGroupListProps {
|
|
35
|
+
activeHeaderItems: JEScheduleHeaderItemData[];
|
|
36
|
+
count: number;
|
|
37
|
+
data: JEScheduledTransaction[];
|
|
38
|
+
isCollapsed: boolean;
|
|
39
|
+
isPendingReview: boolean;
|
|
40
|
+
listItemData: JEScheduleGroupListItemData;
|
|
41
|
+
sortState: SortState;
|
|
42
|
+
testIdSuffix: string;
|
|
43
|
+
title: string;
|
|
44
|
+
hideGroupHeader?: boolean;
|
|
45
|
+
onHeaderClick: (col: JEScheduleHeaderItemData) => void;
|
|
46
|
+
onToggle: () => void;
|
|
47
|
+
}
|
|
48
|
+
declare function JEScheduleGroupList({ activeHeaderItems, count, data, hideGroupHeader, isCollapsed, isPendingReview, listItemData, sortState, testIdSuffix, title, onHeaderClick, onToggle, }: Readonly<JEScheduleGroupListProps>): import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
export default JEScheduleGroupList;
|
package/dist/components/expenseAutomation/sections/jeSchedules/list/JEScheduleLifecycleCell.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ScheduleTypes, ScheduledJournalEntry, ZeniDate } from '@zeniai/client-epic-state';
|
|
2
|
+
interface JEScheduleLifecycleCellProps {
|
|
3
|
+
scheduledJournalEntry: ScheduledJournalEntry[];
|
|
4
|
+
endDate?: ZeniDate;
|
|
5
|
+
jeScheduleType?: ScheduleTypes;
|
|
6
|
+
period?: number;
|
|
7
|
+
}
|
|
8
|
+
declare const JEScheduleLifecycleCell: ({ endDate, jeScheduleType, period, scheduledJournalEntry, }: JEScheduleLifecycleCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default JEScheduleLifecycleCell;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AccountBase, FetchStateAndError, ID, JEScheduleLocalData, JEScheduleTransactionKey, JEScheduledTransaction, NestedAccountHierarchyForReport, NestedClassHierarchyForReport, ScheduleTypes, UncategorizedAccounts } from '@zeniai/client-epic-state';
|
|
2
|
-
import { AutoCompleteActions, AutoCompleteData } from '
|
|
3
|
-
import { TextAlign } from '
|
|
4
|
-
import { JEScheduleResolveComponentFormData } from '
|
|
2
|
+
import { AutoCompleteActions, AutoCompleteData } from '../../../../common/autoComplete/autoCompleteProps';
|
|
3
|
+
import { TextAlign } from '../../../../dataListTable';
|
|
4
|
+
import { JEScheduleResolveComponentFormData } from '../common/JEScheduleResolveComponent';
|
|
5
5
|
import { JEScheduleColumnKey } from './jeScheduleConfig';
|
|
6
6
|
export interface JEScheduleListWrapperRowProps {
|
|
7
7
|
accountListNestedAccountHierarchy: NestedAccountHierarchyForReport[];
|
|
@@ -19,6 +19,7 @@ export interface JEScheduleListWrapperRowProps {
|
|
|
19
19
|
vendorSearchAutoCompleteActions: AutoCompleteActions;
|
|
20
20
|
vendorSearchAutoCompleteData: AutoCompleteData;
|
|
21
21
|
align?: TextAlign;
|
|
22
|
+
forcePostedLabel?: boolean;
|
|
22
23
|
isReadOnly?: boolean;
|
|
23
24
|
ignoreRecommendedJeSchedule: (jeScheduleTransactionKey: JEScheduleTransactionKey, scheduleType: ScheduleTypes) => void;
|
|
24
25
|
jeScheduleClickHandler: (event: React.MouseEvent<HTMLDivElement>, jeScheduleId: ID, jeScheduleKey: JEScheduleTransactionKey, jeScheduleType: ScheduleTypes) => void;
|
|
@@ -26,6 +27,7 @@ export interface JEScheduleListWrapperRowProps {
|
|
|
26
27
|
onPostJESchedule: (scheduledJournalEntryId: ID, jeScheduleTransactionKey: JEScheduleTransactionKey) => void;
|
|
27
28
|
onReviewClickHandler: (jeScheduleId: ID, jeScheduleKey: JEScheduleTransactionKey, jeScheduleType: ScheduleTypes) => void;
|
|
28
29
|
onConfirmCategoryRecommendation?: (jeScheduleTransactionKey: JEScheduleTransactionKey, recommendedCategoryId: ID) => void;
|
|
30
|
+
onRevertJeSchedule?: (jeScheduleId: ID, jeScheduleTransactionKey: JEScheduleTransactionKey, jeScheduleType: ScheduleTypes) => void;
|
|
29
31
|
}
|
|
30
|
-
declare const _default: import('react').MemoExoticComponent<({ accountListNestedAccountHierarchy, align, allAccountList, allDepAccountList, allDepreciationAccountListNestedAccountHierarchy, classListNestedAccountHierarchy, dataListColumnKey, ignoreStatusById, isJEScheduleCOTEnabled, isReadOnly, localDataByID, postStatusById, row, uncategorizedAccounts, vendorSearchAutoCompleteActions, vendorSearchAutoCompleteData, ignoreRecommendedJeSchedule, jeScheduleClickHandler, onConfirmCategoryRecommendation, onFormDataChange, onPostJESchedule, onReviewClickHandler, }: JEScheduleListWrapperRowProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
32
|
+
declare const _default: import('react').MemoExoticComponent<({ accountListNestedAccountHierarchy, align, allAccountList, allDepAccountList, allDepreciationAccountListNestedAccountHierarchy, classListNestedAccountHierarchy, dataListColumnKey, forcePostedLabel, ignoreStatusById, isJEScheduleCOTEnabled, isReadOnly, localDataByID, postStatusById, row, uncategorizedAccounts, vendorSearchAutoCompleteActions, vendorSearchAutoCompleteData, ignoreRecommendedJeSchedule, jeScheduleClickHandler, onConfirmCategoryRecommendation, onFormDataChange, onPostJESchedule, onRevertJeSchedule, onReviewClickHandler, }: JEScheduleListWrapperRowProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
31
33
|
export default _default;
|
package/dist/components/expenseAutomation/sections/jeSchedules/list/JEScheduleReadOnlyListRow.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ID, JEScheduleTransactionKey, JEScheduledTransaction, ScheduleTypes } from '@zeniai/client-epic-state';
|
|
2
|
+
import { JEScheduleColumnKey } from './jeScheduleConfig';
|
|
3
|
+
export interface JEScheduleReadOnlyListRowProps {
|
|
4
|
+
dataListColumnKey: JEScheduleColumnKey;
|
|
5
|
+
isJEScheduleCOTEnabled: boolean;
|
|
6
|
+
row: JEScheduledTransaction;
|
|
7
|
+
forcePostedLabel?: boolean;
|
|
8
|
+
recommendedCategoryName?: string;
|
|
9
|
+
recommendedClassName?: string;
|
|
10
|
+
recommendedDepCategoryName?: string;
|
|
11
|
+
onRevertJeSchedule?: (jeScheduleId: ID, jeScheduleTransactionKey: JEScheduleTransactionKey, jeScheduleType: ScheduleTypes) => void;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: import('react').MemoExoticComponent<({ dataListColumnKey, forcePostedLabel, isJEScheduleCOTEnabled, onRevertJeSchedule, recommendedCategoryName, recommendedClassName, recommendedDepCategoryName, row, }: JEScheduleReadOnlyListRowProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
14
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ID, JEScheduleFieldRecommendation, NestedAccountHierarchyForReport, NestedClassHierarchyForReport } from '@zeniai/client-epic-state';
|
|
2
|
-
import { GroupedOption } from '
|
|
2
|
+
import { GroupedOption } from '../../../../formElements/labeledGroupedSingleSelectWithCOT/GroupedSingleSelectFieldWithCOT';
|
|
3
3
|
export declare const getGroupedAccountOptionsForJESchedule: (allAccounts: NestedAccountHierarchyForReport[], accountId?: ID, fieldRecommendation?: JEScheduleFieldRecommendation, type?: string) => GroupedOption[];
|
|
4
4
|
export declare const getGroupedClassOptionsForJESchedule: (allClasses: NestedClassHierarchyForReport[], classId?: ID, fieldRecommendation?: JEScheduleFieldRecommendation) => GroupedOption[];
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TabSwitcherOption } from '
|
|
3
|
-
import { TextAlign } from '
|
|
4
|
-
export type
|
|
5
|
-
export type
|
|
1
|
+
import { JEPageTab } from '@zeniai/client-epic-state';
|
|
2
|
+
import { TabSwitcherOption } from '../../../../common/allNavBars/statusSwitcher/switcherTypes';
|
|
3
|
+
import { TextAlign } from '../../../../dataListTable';
|
|
4
|
+
export type JEScheduleMainTab = JEPageTab;
|
|
5
|
+
export type JEScheduleColumnKey = "vendor" | "category" | "class" | "depCategory" | "scheduleCategory" | "startMonth" | "type" | "amortizationPeriod" | "jePostingDate" | "remainingMonths" | "runningBalance" | "totalAmount" | "action" | "transactionDate" | "memo" | "method" | "lifecycle" | "period";
|
|
6
|
+
export type JEScheduleGroupKey = "pending_review" | "created" | "existing";
|
|
6
7
|
export type JESchedulePendingSubTab = "all" | "create" | "resolve";
|
|
7
8
|
export type JEScheduleOngoingCompletedSubTab = "all" | "ai_accountant" | "manual";
|
|
8
9
|
export type JEScheduleSubTab = JESchedulePendingSubTab | JEScheduleOngoingCompletedSubTab;
|
|
@@ -16,13 +17,15 @@ export interface JEScheduleHeaderItemData {
|
|
|
16
17
|
cellPadding?: string;
|
|
17
18
|
hasCotIcon?: boolean;
|
|
18
19
|
iconGapPx?: number;
|
|
20
|
+
stickyRight?: boolean;
|
|
19
21
|
}
|
|
20
|
-
export declare const ESTIMATED_ROW_HEIGHT =
|
|
22
|
+
export declare const ESTIMATED_ROW_HEIGHT = 64;
|
|
21
23
|
export declare const COT_ICON_SIZE_PX = 16;
|
|
22
24
|
export declare const COT_ICON_GAP_PX = 16;
|
|
23
25
|
export declare const jeScheduleHeaderItemsData: JEScheduleHeaderItemData[];
|
|
24
26
|
export declare const ongoingHeaderItemsData: JEScheduleHeaderItemData[];
|
|
25
27
|
export declare const completedHeaderItemsData: JEScheduleHeaderItemData[];
|
|
26
|
-
export declare
|
|
28
|
+
export declare const existingHeaderItemsData: JEScheduleHeaderItemData[];
|
|
29
|
+
export declare function getColumnsForGroupKey(groupKey: JEScheduleGroupKey, isAccountingClassesEnabled: boolean): JEScheduleHeaderItemData[];
|
|
27
30
|
export declare const PENDING_SUB_TABS: TabSwitcherOption[];
|
|
28
31
|
export declare const ONGOING_COMPLETED_SUB_TABS: TabSwitcherOption[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ID, JEScheduleFieldRecommendation, JEScheduledTransaction, TransactionLineRecommendationFieldTypes } from '@zeniai/client-epic-state';
|
|
2
|
-
import { ChainOfThoughtData } from '
|
|
2
|
+
import { ChainOfThoughtData } from '../../../../common/tooltipVariants/types';
|
|
3
3
|
interface BuildJEScheduleCOTDataOptions {
|
|
4
4
|
/** Current caller (JEScheduleRecommendationIcon) pre-gates on this; kept for future callers that may not. */
|
|
5
5
|
isCOTEnabled: boolean;
|
package/dist/components/expenseAutomation/sections/jeSchedules/sections/JEExistingSection.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ExpenseAutomationJESchedulesViewSelector, ID, JEScheduleTransactionKey, ScheduleTypes } from '@zeniai/client-epic-state';
|
|
2
|
+
import { AutoCompleteActions, AutoCompleteData } from '../../../../common/autoComplete/autoCompleteProps';
|
|
3
|
+
import { FooterFormIdType } from '../../../common';
|
|
4
|
+
import { JEScheduleResolveComponentFormData } from '../common/JEScheduleResolveComponent';
|
|
5
|
+
export interface JEExistingSectionProps {
|
|
6
|
+
isAccountingClassesEnabled: boolean;
|
|
7
|
+
isJEScheduleCOTEnabled: boolean;
|
|
8
|
+
jeSchedules: ExpenseAutomationJESchedulesViewSelector;
|
|
9
|
+
vendorSearchAutoCompleteActions: AutoCompleteActions;
|
|
10
|
+
vendorSearchAutoCompleteData: AutoCompleteData;
|
|
11
|
+
handleJeScheduleClick: (jeScheduleId: ID, jeScheduleKey: JEScheduleTransactionKey, jeScheduleType: ScheduleTypes) => void;
|
|
12
|
+
ignoreRecommendedJeSchedule: (jeScheduleTransactionKey: JEScheduleTransactionKey, scheduleType: ScheduleTypes) => void;
|
|
13
|
+
onJESchedulesFormDataChange: (scheduleJournalEntryId: ID, localData: JEScheduleResolveComponentFormData) => void;
|
|
14
|
+
onPostJESchedule: (scheduledJournalEntryId: ID, jeScheduleTransactionKey: JEScheduleTransactionKey) => void;
|
|
15
|
+
onUpdateJEScheduleTypeFilter: (filter: ScheduleTypes | null) => void;
|
|
16
|
+
setCurrentFooterFormId: (formId: FooterFormIdType) => void;
|
|
17
|
+
}
|
|
18
|
+
declare function JEExistingSection({ isAccountingClassesEnabled, isJEScheduleCOTEnabled, jeSchedules, vendorSearchAutoCompleteActions, vendorSearchAutoCompleteData, handleJeScheduleClick, ignoreRecommendedJeSchedule, onJESchedulesFormDataChange, onPostJESchedule, onUpdateJEScheduleTypeFilter, }: Readonly<JEExistingSectionProps>): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export default JEExistingSection;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { ExpenseAutomationJESchedulesViewSelector, ExpenseAutomationJESchedulesViewUIState, ID, JEScheduleTransactionKey, ScheduleTypes } from '@zeniai/client-epic-state';
|
|
2
|
-
import { AutoCompleteActions, AutoCompleteData } from '
|
|
3
|
-
import { FooterFormIdType } from '
|
|
4
|
-
import { JEScheduleResolveComponentFormData } from '
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import { AutoCompleteActions, AutoCompleteData } from '../../../../common/autoComplete/autoCompleteProps';
|
|
3
|
+
import { FooterFormIdType } from '../../../common';
|
|
4
|
+
import { JEScheduleResolveComponentFormData } from '../common/JEScheduleResolveComponent';
|
|
5
|
+
export interface JESchedulesSectionProps {
|
|
6
|
+
isAccountingClassesEnabled: boolean;
|
|
7
|
+
isJEScheduleCOTEnabled: boolean;
|
|
8
|
+
jeSchedules: ExpenseAutomationJESchedulesViewSelector;
|
|
9
|
+
vendorSearchAutoCompleteActions: AutoCompleteActions;
|
|
10
|
+
vendorSearchAutoCompleteData: AutoCompleteData;
|
|
7
11
|
handleJeScheduleClick: (jeScheduleId: ID, jeScheduleKey: JEScheduleTransactionKey, jeScheduleType: ScheduleTypes) => void;
|
|
8
12
|
ignoreRecommendedJeSchedule: (jeScheduleTransactionKey: JEScheduleTransactionKey, scheduleType: ScheduleTypes) => void;
|
|
9
13
|
onJESchedulesFormDataChange: (scheduleJournalEntryId: ID, localData: JEScheduleResolveComponentFormData) => void;
|
|
10
14
|
onPostJESchedule: (scheduledJournalEntryId: ID, jeScheduleTransactionKey: JEScheduleTransactionKey) => void;
|
|
15
|
+
onToggleCreatedGroupCollapsed: () => void;
|
|
16
|
+
onTogglePendingGroupCollapsed: () => void;
|
|
11
17
|
onUpdateJESchedulesUIState: (uiState: Partial<ExpenseAutomationJESchedulesViewUIState>) => void;
|
|
18
|
+
onUpdateJEScheduleTypeFilter: (filter: ScheduleTypes | null) => void;
|
|
12
19
|
setCurrentFooterFormId: (formId: FooterFormIdType) => void;
|
|
13
20
|
onConfirmCategoryRecommendation?: (jeScheduleTransactionKey: JEScheduleTransactionKey, recommendedCategoryId: ID) => void;
|
|
21
|
+
onRevertJeSchedule?: (jeScheduleId: ID, jeScheduleTransactionKey: JEScheduleTransactionKey, jeScheduleType: ScheduleTypes) => void;
|
|
14
22
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
isJEScheduleCOTEnabled: boolean;
|
|
18
|
-
jeSchedules: ExpenseAutomationJESchedulesViewSelector;
|
|
19
|
-
selectedMainTab: JEScheduleMainTab;
|
|
20
|
-
vendorSearchAutoCompleteActions: AutoCompleteActions;
|
|
21
|
-
vendorSearchAutoCompleteData: AutoCompleteData;
|
|
22
|
-
}
|
|
23
|
-
declare function JESchedulesListPage({ isAccountingClassesEnabled, isJEScheduleCOTEnabled, jeSchedules, selectedMainTab, vendorSearchAutoCompleteData, handleJeScheduleClick, onConfirmCategoryRecommendation, onJESchedulesFormDataChange, onPostJESchedule, ignoreRecommendedJeSchedule, onUpdateJESchedulesUIState, vendorSearchAutoCompleteActions, setCurrentFooterFormId, }: Readonly<Props>): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
export default JESchedulesListPage;
|
|
23
|
+
declare function JESchedulesSection({ isAccountingClassesEnabled, isJEScheduleCOTEnabled, jeSchedules, vendorSearchAutoCompleteData, handleJeScheduleClick, onConfirmCategoryRecommendation, onJESchedulesFormDataChange, onPostJESchedule, onRevertJeSchedule, ignoreRecommendedJeSchedule, onUpdateJESchedulesUIState, onTogglePendingGroupCollapsed, onToggleCreatedGroupCollapsed, onUpdateJEScheduleTypeFilter, vendorSearchAutoCompleteActions, setCurrentFooterFormId, }: Readonly<JESchedulesSectionProps>): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export default JESchedulesSection;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { JEKpiSummary, JEScheduledTransaction, JEScheduledTransactionWithFailedEntries } from '@zeniai/client-epic-state';
|
|
2
|
+
export interface JESummarySectionProps {
|
|
3
|
+
kpiSummary: JEKpiSummary;
|
|
4
|
+
schedules: (JEScheduledTransaction | JEScheduledTransactionWithFailedEntries)[];
|
|
5
|
+
}
|
|
6
|
+
declare function JESummarySection({ kpiSummary, schedules, }: Readonly<JESummarySectionProps>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default JESummarySection;
|
|
@@ -70,6 +70,8 @@ export interface TransferDrawerTransactionData {
|
|
|
70
70
|
sourceTransactionType: string;
|
|
71
71
|
transactionId: ID;
|
|
72
72
|
transactionType: string;
|
|
73
|
+
/** Localized display name for `sourceTransactionType` (e.g. "Check", "Vendor Credit"); falls back to a title-cased `sourceTransactionType` when absent. */
|
|
74
|
+
sourceTransactionTypeName?: string;
|
|
73
75
|
}
|
|
74
76
|
export interface CreateTransferPayload {
|
|
75
77
|
creditAccountIntegrationId: string;
|