@zeniai/web-components 4.4.1-beta1ND → 4.4.1-beta2ND

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.
@@ -0,0 +1,4 @@
1
+ [diffend] Oversized file quarantined before diffing.
2
+ name: package/dist/SessionTimeoutPopup-CLAl4t6i.js.map
3
+ size: 43436261 bytes
4
+ sha256: e76e620cda35fefb7af231f135e40ff744ae27f358b1c2fc705e2e373198f9a6
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SessionTimeoutPopup-zQ_wYZRq.cjs"),t=require("react"),o=require("@emotion/styled"),n=require("@liveblocks/react"),r=require("@zeniai/client-epic-state"),i=require("@liveblocks/react-ui"),s=require("@emotion/react"),a=require("react-dom"),l=require("@liveblocks/react-ui/primitives"),d=require("@liveblocks/react/suspense");function c(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const o in e)if("default"!==o){const n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:()=>e[o]})}return t.default=e,Object.freeze(t)}const p=c(t);const u=({inboxNotification:t,onNotificationClick:o})=>{const r=n.useInboxNotificationThread(t.id),s=r.metadata.entityType.split("."),a=r.metadata.isGlobalComment&&2===s.length;return e.jsxRuntimeExports.jsx(m,{isClickable:a,isUnRead:null==t.readAt,onClick:()=>{o(r.metadata,r.id)},children:e.jsxRuntimeExports.jsx(i.InboxNotification,{inboxNotification:t,kinds:{thread:t=>e.jsxRuntimeExports.jsx(i.InboxNotification.Thread,{...t,showRoomName:!0})}})})},m=o.div`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SessionTimeoutPopup-BUzgbeku.cjs"),t=require("react"),o=require("@emotion/styled"),n=require("@liveblocks/react"),r=require("@zeniai/client-epic-state"),i=require("@liveblocks/react-ui"),s=require("@emotion/react"),a=require("react-dom"),l=require("@liveblocks/react-ui/primitives"),d=require("@liveblocks/react/suspense");function c(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const o in e)if("default"!==o){const n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:()=>e[o]})}return t.default=e,Object.freeze(t)}const p=c(t);const u=({inboxNotification:t,onNotificationClick:o})=>{const r=n.useInboxNotificationThread(t.id),s=r.metadata.entityType.split("."),a=r.metadata.isGlobalComment&&2===s.length;return e.jsxRuntimeExports.jsx(m,{isClickable:a,isUnRead:null==t.readAt,onClick:()=>{o(r.metadata,r.id)},children:e.jsxRuntimeExports.jsx(i.InboxNotification,{inboxNotification:t,kinds:{thread:t=>e.jsxRuntimeExports.jsx(i.InboxNotification.Thread,{...t,showRoomName:!0})}})})},m=o.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  cursor: ${e=>e.isClickable?"pointer":"initial"};
@@ -1,4 +1,4 @@
1
- import{iY as e,fq as t,ju as o,bt as n,m as r,hA as i,g0 as a,cb as s,a8 as l,g5 as d,i4 as c,ik as p,i5 as h,aT as m,i8 as u,fa as g,kh as y,jX as x,gD as f,aV as b,dK as w,F as C,gs as v,dF as $,g2 as k,gh as S,kj as j,bx as T,j$ as I,kf as P,fF as R,hR as D,fC as O,fz as A,ij as E,go as L,fb as M,dA as N,jK as z,dL as V,bv as F,bR as B,br as H,f_ as W,it as U,bF as _,U as G,iH as K,iI as q,iJ as Y,aU as Z,dY as Q,dy as X,g4 as J,e7 as ee,fQ as te,gm as oe,jr as ne,f3 as re,c2 as ie,i9 as ae,ia as se,jP as le,hQ as de,hL as ce,hS as pe,js as he,a9 as me,i$ as ue,eD as ge,jS as ye,h_ as xe,j5 as fe,hW as be,ka as we,ke as Ce,jT as ve,kd as $e,j7 as ke,iT as Se,hw as je,j4 as Te,j8 as Ie,fh as Pe,fW as Re,eW as De,j_ as Oe,iK as Ae,b8 as Ee,V as Le,ej as Me,ek as Ne,ei as ze,ce as Ve,dO as Fe,fL as Be,cf as He,fe as We,ch as Ue,en as _e,el as Ge,em as Ke,cg as qe,cd as Ye,ci as Ze,e8 as Qe,jv as Xe,eB as Je,fM as et,c6 as tt,fi as ot,fX as nt,aN as rt,bS as it,aS as at,iZ as st,cc as lt,fY as dt,ge as ct,g9 as pt,hY as ht,gF as mt,fv as ut,dC as gt,dE as yt,f$ as xt,b4 as ft,b2 as bt,b3 as wt,bi as Ct,gl as vt,g6 as $t,fm as kt,jZ as St,i1 as jt,il as Tt,c8 as It,hy as Pt,gZ as Rt,ht as Dt,gB as Ot,gC as At,q as Et,hO as Lt,fJ as Mt,dz as Nt,g3 as zt,dD as Vt,hP as Ft,fZ as Bt,g1 as Ht,S as Wt,h0 as Ut,iS as _t,bD as Gt,hs as Kt,iD as qt,ir as Yt,ix as Zt,g8 as Qt,cl as Xt,h$ as Jt,gr as eo,gq as to,fw as oo,fx as no,im as ro,j3 as io,g7 as ao,gd as so,gc as lo,bO as co,jl as po,ds as ho,dt as mo,dm as uo,dr as go,c7 as yo,bP as xo,gb as fo,aX as bo,id as wo,fn as Co,dq as vo,dw as $o,bN as ko,di as So,eX as jo,fV as To,fU as Io,fR as Po,dk as Ro,jV as Do,fc as Oo,dn as Ao,k5 as Eo,e9 as Lo,fO as Mo,i6 as No,dl as zo,bT as Vo,c4 as Fo,b6 as Bo,aK as Ho,gg as Wo,fD as Uo,dI as _o,gi as Go,d_ as Ko,fB as qo,b7 as Yo,iX as Zo,bX as Qo,kg as Xo,dv as Jo,bj as en,fd as tn,dp as on,du as nn,eI as rn,g as an,aM as sn,eb as ln,fS as dn,jJ as cn,jQ as pn,jY as hn,bW as mn,ad as un,ae as gn,k0 as yn,iy as xn,by as fn,dP as bn,iL as wn,e2 as Cn,e1 as vn,iE as $n,dT as kn,aL as Sn,dS as jn,t as Tn,dR as In,bC as Pn,dQ as Rn,io as Dn,c0 as On,hC as An,p as En,gz as Ln,c1 as Mn,G as Nn,c5 as zn,g_ as Vn,fu as Fn,jO as Bn,d$ as Hn,jb as Wn,je as Un,jc as _n,jd as Gn,jf as Kn,j9 as qn,ja as Yn,ii as Zn,is as Qn,ip as Xn,a7 as Jn,eT as er,iw as tr,gp as or,iG as nr,e3 as rr,dB as ir,fA as ar,ga as sr,gf as lr,fT as dr,hK as cr,gk as pr,fo as hr,fj as mr,hX as ur,bE as gr,fE as yr,bQ as xr,bU as fr,fk as br,gj as wr,dx as Cr,gn as vr,fg as $r,fl as kr,fy as Sr,bV as jr,ff as Tr}from"./SessionTimeoutPopup-COad7ShI.js";import{A as Ir,a as Pr,b as Rr,c as Dr,d as Or,e as Ar,f as Er,h as Lr,i as Mr,j as Nr,k as zr,l as Vr,n as Fr,o as Br,r as Hr,s as Wr,u as Ur,v as _r,w as Gr,x as Kr,y as qr,z as Yr,B as Zr,C as Qr,D as Xr,E as Jr,H as ei,I as ti,J as oi,K as ni,L as ri,M as ii,N as ai,O as si,P as li,Q as di,R as ci,T as pi,W as hi,X as mi,Y as ui,Z as gi,_ as yi,$ as xi,a0 as fi,a1 as bi,a2 as wi,ft as Ci,a3 as vi,a4 as $i,a5 as ki,a6 as Si,aa as ji,ab as Ti,ac as Ii,af as Pi,ag as Ri,ah as Di,ai as Oi,aj as Ai,ak as Ei,al as Li,am as Mi,an as Ni,ao as zi,ap as Vi,aq as Fi,ar as Bi,as as Hi,at as Wi,au as Ui,av as _i,aw as Gi,ax as Ki,ay as qi,az as Yi,aA as Zi,aB as Qi,aC as Xi,aD as Ji,aE as ea,ft as ta,aF as oa,aG as na,aH as ra,aI as ia,aJ as aa,aO as sa,aP as la,aQ as da,aR as ca,aW as pa,aY as ha,aZ as ma,a_ as ua,a$ as ga,b0 as ya,b1 as xa,b5 as fa,b9 as ba,ba as wa,bb as Ca,bc as va,bd as $a,be as ka,bf as Sa,bg as ja,bh as Ta,bk as Ia,bl as Pa,bm as Ra,bn as Da,bo as Oa,bp as Aa,bq as Ea,bs as La,bw as Ma,bz as Na,bA as za,bB as Va,bG as Fa,bH as Ba,bI as Ha,bJ as Wa,bK as Ua,bL as _a,bM as Ga,bY as Ka,bZ as qa,b_ as Ya,b$ as Za,c3 as Qa,c9 as Xa,ca as Ja,cj as es,ck as ts,cm as os,cn as ns,co as rs,cp as is,cq as as,cr as ss,cs as ls,ct as ds,cu as cs,cv as ps,cw as hs,cx as ms,cy as us,cz as gs,cA as ys,cB as xs,cC as fs,cD as bs,cE as ws,cF as Cs,cG as vs,cH as $s,cI as ks,cJ as Ss,cK as js,cL as Ts,cM as Is,cN as Ps,cO as Rs,cP as Ds,cQ as Os,cR as As,cS as Es,cT as Ls,cU as Ms,cV as Ns,cW as zs,cX as Vs,cY as Fs,cZ as Bs,c_ as Hs,c$ as Ws,d0 as Us,d1 as _s,d2 as Gs,d3 as Ks,d4 as qs,d5 as Ys,d6 as Zs,d7 as Qs,d8 as Xs,d9 as Js,da as el,da as tl,db as ol,dc as nl,dd as rl,de as il,df as al,dg as sl,dh as ll,dj as dl,dG as cl,dH as pl,dJ as hl,dM as ml,dN as ul,dU as gl,dV as yl,dW as xl,dX as fl,dZ as bl,e0 as wl,e4 as Cl,e5 as vl,e6 as $l,ea as kl,ec as Sl,ed as jl,ee as Tl,ef as Il,eg as Pl,eh as Rl,eo as Dl,ep as Ol,eq as Al,er as El,es as Ll,et as Ml,eu as Nl,ev as zl,ew as Vl,ex as Fl,ey as Bl,ez as Hl,eA as Wl,eC as Ul,eE as _l,eF as Gl,eG as Kl,eH as ql,eJ as Yl,eK as Zl,bu as Ql,eL as Xl,eM as Jl,eN as ed,eO as td,eP as od,eQ as nd,eR as rd,ft as id,eU as ad,eS as sd,eV as ld,eY as dd,eZ as cd,e_ as pd,e$ as hd,f0 as md,f1 as ud,f2 as gd,f4 as yd,f5 as xd,f6 as fd,f7 as bd,f8 as wd,f9 as Cd,fp as vd,fr as $d,fs as kd,fG as Sd,fH as jd,fI as Td,fK as Id,fN as Pd,fP as Rd,gt as Dd,gu as Od,gv as Ad,gw as Ed,gx as Ld,gy as Md,gA as Nd,gE as zd,gG as Vd,gH as Fd,gI as Bd,gJ as Hd,gK as Wd,gL as Ud,gM as _d,gN as Gd,gO as Kd,gP as qd,gQ as Yd,gR as Zd,gS as Qd,gT as Xd,gU as Jd,gV as ec,gW as tc,gX as oc,gY as nc,g$ as rc,h1 as ic,h2 as ac,h3 as sc,h4 as lc,h5 as dc,h6 as cc,h7 as pc,h8 as hc,h9 as mc,ha as uc,hb as gc,hc as yc,hd as xc,he as fc,hf as bc,hg as wc,hh as Cc,hi as vc,hj as $c,hk as kc,hl as Sc,hm as jc,hn as Tc,ho as Ic,hp as Pc,hq as Rc,hr as Dc,hu as Oc,hv as Ac,hx as Ec,hz as Lc,hB as Mc,hD as Nc,hE as zc,hF as Vc,hG as Fc,hH as Bc,hI as Hc,hJ as Wc,hM as Uc,hN as _c,hT as Gc,hU as Kc,hV as qc,hZ as Yc,i3 as Zc,i0 as Qc,i2 as Xc,i7 as Jc,ib as ep,ic as tp,ie as op,ig as np,ih as rp,iq as ip,iu as ap,iv as sp,iz as lp,iA as dp,iB as cp,iC as pp,iF as hp,iM as mp,iN as up,iO as gp,iP as yp,iQ as xp,iR as fp,iU as bp,iV as wp,iW as Cp,i_ as vp,j0 as $p,j1 as kp,j2 as Sp,j6 as jp,jg as Tp,jh as Ip,ji as Pp,jj as Rp,jk as Dp,jm as Op,jn as Ap,jo as Ep,jp as Lp,jq as Mp,jt as Np,jw as zp,jx as Vp,jy as Fp,jz as Bp,jA as Hp,jB as Wp,jC as Up,jD as _p,jE as Gp,jF as Kp,jG as qp,jH as Yp,jI as Zp,jL as Qp,jM as Xp,jN as Jp,jR as eh,jU as th,jW as oh,k1 as nh,k2 as rh,k3 as ih,k4 as ah,k6 as sh,k7 as lh,k8 as dh,k9 as ch,kb as ph,kc as hh,ki as mh,kk as uh,kl as gh}from"./SessionTimeoutPopup-COad7ShI.js";import*as yh from"react";import xh,{useEffect as fh,useState as bh,useMemo as wh,useCallback as Ch,useContext as vh,useRef as $h,forwardRef as kh,Fragment as Sh,memo as jh,createContext as Th,Suspense as Ih,createElement as Ph,Component as Rh}from"react";import Dh from"@emotion/styled";import{default as Oh}from"@emotion/styled";import{useInboxNotificationThread as Ah,useInboxNotifications as Eh,useMarkInboxNotificationAsRead as Lh,RoomProvider as Mh,useCreateThread as Nh}from"@liveblocks/react";import{zeniDate as zh,stringToUnion as Vh,stringToUnionStrict as Fh,isAllowedValueWithCode as Bh,dateNow as Hh,canSendMonthEndEmailReport as Wh,shouldEnableCalendarPickerForLastReportSent as Uh,toManagementSortKeyType as _h,toUserRoleType as Gh,toTaskManagerSortKeyType as Kh,allTaskPriority as qh,allTaskStatus as Yh,getUserName as Zh,toHealthSortKeyType as Qh,isCompanyRunwayInfinite as Xh,companyHealthMetricDropDownOptions as Jh,hasCompanyHealthMetricFormFieldChanged as em,toSubscriptionSortKeyType as tm,toPortfolioSortKeyType as om,getAllowedOperationsForStatus as nm,toOnboardingSortKeyType as rm,isTenantBankingOnly as im,ALL_ACCOUNTING_CONNECTION_CREATION_MODES as am,toProductTypeStrict as sm,mapAttachmentFileToAttachmentFilePayload as lm,SUPPORTED_ATTACHMENT_FILE_TYPES as dm,toSupportedAttachmentFileType as cm,getAttachmentFileIdByFileName as pm,dateFromYearMonthDate as hm,getBusinessDayOfDate as mm,toReviewColumnKeyType as um,getAuditWarningsCount as gm,getUserFromAllUsers as ym}from"@zeniai/client-epic-state";import{buildInvoicingEntityPath as xm,isInvoicingEntityLinkable as fm}from"@zeniai/client-epic-state";import{InboxNotification as bm}from"@liveblocks/react-ui";import{css as wm,keyframes as Cm}from"@emotion/react";import{createPortal as vm}from"react-dom";import{Composer as $m,useComposer as km}from"@liveblocks/react-ui/primitives";import{useUser as Sm}from"@liveblocks/react/suspense";const jm=({inboxNotification:t,onNotificationClick:o})=>{const n=Ah(t.id),r=n.metadata.entityType.split("."),i=n.metadata.isGlobalComment&&2===r.length;/* @__PURE__ */
1
+ import{iY as e,fq as t,ju as o,bt as n,m as r,hA as i,g0 as a,cb as s,a8 as l,g5 as d,i4 as c,ik as p,i5 as h,aT as m,i8 as u,fa as g,kh as y,jX as x,gD as f,aV as b,dK as w,F as C,gs as v,dF as $,g2 as k,gh as S,kj as j,bx as T,j$ as I,kf as P,fF as R,hR as D,fC as O,fz as A,ij as E,go as L,fb as M,dA as N,jK as z,dL as V,bv as F,bR as B,br as H,f_ as W,it as U,bF as _,U as G,iH as K,iI as q,iJ as Y,aU as Z,dY as Q,dy as X,g4 as J,e7 as ee,fQ as te,gm as oe,jr as ne,f3 as re,c2 as ie,i9 as ae,ia as se,jP as le,hQ as de,hL as ce,hS as pe,js as he,a9 as me,i$ as ue,eD as ge,jS as ye,h_ as xe,j5 as fe,hW as be,ka as we,ke as Ce,jT as ve,kd as $e,j7 as ke,iT as Se,hw as je,j4 as Te,j8 as Ie,fh as Pe,fW as Re,eW as De,j_ as Oe,iK as Ae,b8 as Ee,V as Le,ej as Me,ek as Ne,ei as ze,ce as Ve,dO as Fe,fL as Be,cf as He,fe as We,ch as Ue,en as _e,el as Ge,em as Ke,cg as qe,cd as Ye,ci as Ze,e8 as Qe,jv as Xe,eB as Je,fM as et,c6 as tt,fi as ot,fX as nt,aN as rt,bS as it,aS as at,iZ as st,cc as lt,fY as dt,ge as ct,g9 as pt,hY as ht,gF as mt,fv as ut,dC as gt,dE as yt,f$ as xt,b4 as ft,b2 as bt,b3 as wt,bi as Ct,gl as vt,g6 as $t,fm as kt,jZ as St,i1 as jt,il as Tt,c8 as It,hy as Pt,gZ as Rt,ht as Dt,gB as Ot,gC as At,q as Et,hO as Lt,fJ as Mt,dz as Nt,g3 as zt,dD as Vt,hP as Ft,fZ as Bt,g1 as Ht,S as Wt,h0 as Ut,iS as _t,bD as Gt,hs as Kt,iD as qt,ir as Yt,ix as Zt,g8 as Qt,cl as Xt,h$ as Jt,gr as eo,gq as to,fw as oo,fx as no,im as ro,j3 as io,g7 as ao,gd as so,gc as lo,bO as co,jl as po,ds as ho,dt as mo,dm as uo,dr as go,c7 as yo,bP as xo,gb as fo,aX as bo,id as wo,fn as Co,dq as vo,dw as $o,bN as ko,di as So,eX as jo,fV as To,fU as Io,fR as Po,dk as Ro,jV as Do,fc as Oo,dn as Ao,k5 as Eo,e9 as Lo,fO as Mo,i6 as No,dl as zo,bT as Vo,c4 as Fo,b6 as Bo,aK as Ho,gg as Wo,fD as Uo,dI as _o,gi as Go,d_ as Ko,fB as qo,b7 as Yo,iX as Zo,bX as Qo,kg as Xo,dv as Jo,bj as en,fd as tn,dp as on,du as nn,eI as rn,g as an,aM as sn,eb as ln,fS as dn,jJ as cn,jQ as pn,jY as hn,bW as mn,ad as un,ae as gn,k0 as yn,iy as xn,by as fn,dP as bn,iL as wn,e2 as Cn,e1 as vn,iE as $n,dT as kn,aL as Sn,dS as jn,t as Tn,dR as In,bC as Pn,dQ as Rn,io as Dn,c0 as On,hC as An,p as En,gz as Ln,c1 as Mn,G as Nn,c5 as zn,g_ as Vn,fu as Fn,jO as Bn,d$ as Hn,jb as Wn,je as Un,jc as _n,jd as Gn,jf as Kn,j9 as qn,ja as Yn,ii as Zn,is as Qn,ip as Xn,a7 as Jn,eT as er,iw as tr,gp as or,iG as nr,e3 as rr,dB as ir,fA as ar,ga as sr,gf as lr,fT as dr,hK as cr,gk as pr,fo as hr,fj as mr,hX as ur,bE as gr,fE as yr,bQ as xr,bU as fr,fk as br,gj as wr,dx as Cr,gn as vr,fg as $r,fl as kr,fy as Sr,bV as jr,ff as Tr}from"./SessionTimeoutPopup-CLAl4t6i.js";import{A as Ir,a as Pr,b as Rr,c as Dr,d as Or,e as Ar,f as Er,h as Lr,i as Mr,j as Nr,k as zr,l as Vr,n as Fr,o as Br,r as Hr,s as Wr,u as Ur,v as _r,w as Gr,x as Kr,y as qr,z as Yr,B as Zr,C as Qr,D as Xr,E as Jr,H as ei,I as ti,J as oi,K as ni,L as ri,M as ii,N as ai,O as si,P as li,Q as di,R as ci,T as pi,W as hi,X as mi,Y as ui,Z as gi,_ as yi,$ as xi,a0 as fi,a1 as bi,a2 as wi,ft as Ci,a3 as vi,a4 as $i,a5 as ki,a6 as Si,aa as ji,ab as Ti,ac as Ii,af as Pi,ag as Ri,ah as Di,ai as Oi,aj as Ai,ak as Ei,al as Li,am as Mi,an as Ni,ao as zi,ap as Vi,aq as Fi,ar as Bi,as as Hi,at as Wi,au as Ui,av as _i,aw as Gi,ax as Ki,ay as qi,az as Yi,aA as Zi,aB as Qi,aC as Xi,aD as Ji,aE as ea,ft as ta,aF as oa,aG as na,aH as ra,aI as ia,aJ as aa,aO as sa,aP as la,aQ as da,aR as ca,aW as pa,aY as ha,aZ as ma,a_ as ua,a$ as ga,b0 as ya,b1 as xa,b5 as fa,b9 as ba,ba as wa,bb as Ca,bc as va,bd as $a,be as ka,bf as Sa,bg as ja,bh as Ta,bk as Ia,bl as Pa,bm as Ra,bn as Da,bo as Oa,bp as Aa,bq as Ea,bs as La,bw as Ma,bz as Na,bA as za,bB as Va,bG as Fa,bH as Ba,bI as Ha,bJ as Wa,bK as Ua,bL as _a,bM as Ga,bY as Ka,bZ as qa,b_ as Ya,b$ as Za,c3 as Qa,c9 as Xa,ca as Ja,cj as es,ck as ts,cm as os,cn as ns,co as rs,cp as is,cq as as,cr as ss,cs as ls,ct as ds,cu as cs,cv as ps,cw as hs,cx as ms,cy as us,cz as gs,cA as ys,cB as xs,cC as fs,cD as bs,cE as ws,cF as Cs,cG as vs,cH as $s,cI as ks,cJ as Ss,cK as js,cL as Ts,cM as Is,cN as Ps,cO as Rs,cP as Ds,cQ as Os,cR as As,cS as Es,cT as Ls,cU as Ms,cV as Ns,cW as zs,cX as Vs,cY as Fs,cZ as Bs,c_ as Hs,c$ as Ws,d0 as Us,d1 as _s,d2 as Gs,d3 as Ks,d4 as qs,d5 as Ys,d6 as Zs,d7 as Qs,d8 as Xs,d9 as Js,da as el,da as tl,db as ol,dc as nl,dd as rl,de as il,df as al,dg as sl,dh as ll,dj as dl,dG as cl,dH as pl,dJ as hl,dM as ml,dN as ul,dU as gl,dV as yl,dW as xl,dX as fl,dZ as bl,e0 as wl,e4 as Cl,e5 as vl,e6 as $l,ea as kl,ec as Sl,ed as jl,ee as Tl,ef as Il,eg as Pl,eh as Rl,eo as Dl,ep as Ol,eq as Al,er as El,es as Ll,et as Ml,eu as Nl,ev as zl,ew as Vl,ex as Fl,ey as Bl,ez as Hl,eA as Wl,eC as Ul,eE as _l,eF as Gl,eG as Kl,eH as ql,eJ as Yl,eK as Zl,bu as Ql,eL as Xl,eM as Jl,eN as ed,eO as td,eP as od,eQ as nd,eR as rd,ft as id,eU as ad,eS as sd,eV as ld,eY as dd,eZ as cd,e_ as pd,e$ as hd,f0 as md,f1 as ud,f2 as gd,f4 as yd,f5 as xd,f6 as fd,f7 as bd,f8 as wd,f9 as Cd,fp as vd,fr as $d,fs as kd,fG as Sd,fH as jd,fI as Td,fK as Id,fN as Pd,fP as Rd,gt as Dd,gu as Od,gv as Ad,gw as Ed,gx as Ld,gy as Md,gA as Nd,gE as zd,gG as Vd,gH as Fd,gI as Bd,gJ as Hd,gK as Wd,gL as Ud,gM as _d,gN as Gd,gO as Kd,gP as qd,gQ as Yd,gR as Zd,gS as Qd,gT as Xd,gU as Jd,gV as ec,gW as tc,gX as oc,gY as nc,g$ as rc,h1 as ic,h2 as ac,h3 as sc,h4 as lc,h5 as dc,h6 as cc,h7 as pc,h8 as hc,h9 as mc,ha as uc,hb as gc,hc as yc,hd as xc,he as fc,hf as bc,hg as wc,hh as Cc,hi as vc,hj as $c,hk as kc,hl as Sc,hm as jc,hn as Tc,ho as Ic,hp as Pc,hq as Rc,hr as Dc,hu as Oc,hv as Ac,hx as Ec,hz as Lc,hB as Mc,hD as Nc,hE as zc,hF as Vc,hG as Fc,hH as Bc,hI as Hc,hJ as Wc,hM as Uc,hN as _c,hT as Gc,hU as Kc,hV as qc,hZ as Yc,i3 as Zc,i0 as Qc,i2 as Xc,i7 as Jc,ib as ep,ic as tp,ie as op,ig as np,ih as rp,iq as ip,iu as ap,iv as sp,iz as lp,iA as dp,iB as cp,iC as pp,iF as hp,iM as mp,iN as up,iO as gp,iP as yp,iQ as xp,iR as fp,iU as bp,iV as wp,iW as Cp,i_ as vp,j0 as $p,j1 as kp,j2 as Sp,j6 as jp,jg as Tp,jh as Ip,ji as Pp,jj as Rp,jk as Dp,jm as Op,jn as Ap,jo as Ep,jp as Lp,jq as Mp,jt as Np,jw as zp,jx as Vp,jy as Fp,jz as Bp,jA as Hp,jB as Wp,jC as Up,jD as _p,jE as Gp,jF as Kp,jG as qp,jH as Yp,jI as Zp,jL as Qp,jM as Xp,jN as Jp,jR as eh,jU as th,jW as oh,k1 as nh,k2 as rh,k3 as ih,k4 as ah,k6 as sh,k7 as lh,k8 as dh,k9 as ch,kb as ph,kc as hh,ki as mh,kk as uh,kl as gh}from"./SessionTimeoutPopup-CLAl4t6i.js";import*as yh from"react";import xh,{useEffect as fh,useState as bh,useMemo as wh,useCallback as Ch,useContext as vh,useRef as $h,forwardRef as kh,Fragment as Sh,memo as jh,createContext as Th,Suspense as Ih,createElement as Ph,Component as Rh}from"react";import Dh from"@emotion/styled";import{default as Oh}from"@emotion/styled";import{useInboxNotificationThread as Ah,useInboxNotifications as Eh,useMarkInboxNotificationAsRead as Lh,RoomProvider as Mh,useCreateThread as Nh}from"@liveblocks/react";import{zeniDate as zh,stringToUnion as Vh,stringToUnionStrict as Fh,isAllowedValueWithCode as Bh,dateNow as Hh,canSendMonthEndEmailReport as Wh,shouldEnableCalendarPickerForLastReportSent as Uh,toManagementSortKeyType as _h,toUserRoleType as Gh,toTaskManagerSortKeyType as Kh,allTaskPriority as qh,allTaskStatus as Yh,getUserName as Zh,toHealthSortKeyType as Qh,isCompanyRunwayInfinite as Xh,companyHealthMetricDropDownOptions as Jh,hasCompanyHealthMetricFormFieldChanged as em,toSubscriptionSortKeyType as tm,toPortfolioSortKeyType as om,getAllowedOperationsForStatus as nm,toOnboardingSortKeyType as rm,isTenantBankingOnly as im,ALL_ACCOUNTING_CONNECTION_CREATION_MODES as am,toProductTypeStrict as sm,mapAttachmentFileToAttachmentFilePayload as lm,SUPPORTED_ATTACHMENT_FILE_TYPES as dm,toSupportedAttachmentFileType as cm,getAttachmentFileIdByFileName as pm,dateFromYearMonthDate as hm,getBusinessDayOfDate as mm,toReviewColumnKeyType as um,getAuditWarningsCount as gm,getUserFromAllUsers as ym}from"@zeniai/client-epic-state";import{buildInvoicingEntityPath as xm,isInvoicingEntityLinkable as fm}from"@zeniai/client-epic-state";import{InboxNotification as bm}from"@liveblocks/react-ui";import{css as wm,keyframes as Cm}from"@emotion/react";import{createPortal as vm}from"react-dom";import{Composer as $m,useComposer as km}from"@liveblocks/react-ui/primitives";import{useUser as Sm}from"@liveblocks/react/suspense";const jm=({inboxNotification:t,onNotificationClick:o})=>{const n=Ah(t.id),r=n.metadata.entityType.split("."),i=n.metadata.isGlobalComment&&2===r.length;/* @__PURE__ */
2
2
  return e.jsx(Tm,{isClickable:i,isUnRead:null==t.readAt,onClick:()=>{o(n.metadata,n.id)},children:/* @__PURE__ */e.jsx(bm,{inboxNotification:t,kinds:{thread:t=>/* @__PURE__ */e.jsx(bm.Thread,{...t,showRoomName:!0})}})})},Tm=Dh.div`
3
3
  display: flex;
4
4
  width: 100%;
@@ -40,8 +40,8 @@ export interface JEScheduleGroupListItemData {
40
40
  export interface JEScheduleGroupListProps {
41
41
  activeHeaderItems: JEScheduleHeaderItemData[];
42
42
  /**
43
- * Rendered in order as one table. Callers must memoize this: an array literal changes identity on
44
- * every render, which would rebuild the item list and re-render every row.
43
+ * Rendered in order, one table per non-empty group. Callers must memoize this: an array literal
44
+ * changes identity on every render, which would rebuild every group's items and re-render every row.
45
45
  */
46
46
  groups: readonly JEScheduleListGroup[];
47
47
  listItemData: JEScheduleGroupListItemData;
@@ -1,7 +1,7 @@
1
1
  import { JEScheduleRow } from '@zeniai/client-epic-state';
2
2
  import { JEScheduleGroupKey } from './jeScheduleConfig';
3
3
  /**
4
- * One group of schedules, optionally introduced by a collapsible group row.
4
+ * One group of schedules, rendered as its own table, optionally under a collapsible title bar.
5
5
  *
6
6
  * `groupRow` is absent for a list that is just a table — the Existing tab — which is what used to be
7
7
  * expressed by a `hideGroupHeader` flag alongside a title and an `onToggle` nobody called.
@@ -17,46 +17,24 @@ export interface JEScheduleListGroup {
17
17
  };
18
18
  }
19
19
  /**
20
- * A single flat sequence of group rows and schedule rows, so both render inside one virtualized list
21
- * and therefore one table with one column header.
22
- *
23
- * `isPendingReview` rides on the row rather than the list because a merged list holds both kinds. It
24
- * is recorded here, from the group the row arrived in, and must never be re-derived from the row: a
25
- * resolve row lives in the pending group but does not satisfy `isPendingReviewRow`, so deriving it
26
- * would quietly turn every resolve row read-only and strip its pickers and Post button.
20
+ * `isPendingReview` is recorded here, from the group the row arrived in, and must never be
21
+ * re-derived from the row: a resolve row lives in the pending group but does not satisfy
22
+ * `isPendingReviewRow`, so deriving it would quietly turn every resolve row read-only and strip its
23
+ * pickers and Post button.
27
24
  */
28
- export type JEScheduleListItem = {
29
- count: number;
30
- groupKey: JEScheduleGroupKey;
31
- isCollapsed: boolean;
32
- kind: "group";
33
- title: string;
34
- onToggle: () => void;
35
- } | {
25
+ export interface JEScheduleListItem {
36
26
  groupKey: JEScheduleGroupKey;
37
27
  isPendingReview: boolean;
38
- kind: "row";
39
28
  row: JEScheduleRow;
40
- };
41
- /**
42
- * Flatten groups into list items.
43
- *
44
- * An empty group contributes nothing at all, not even its group row — the two-table version achieved
45
- * that with `length > 0` guards at the call site.
46
- *
47
- * A collapsed group keeps its group row and drops its schedule rows, which is what makes the chevron
48
- * work without unmounting the table.
49
- */
50
- export declare function buildJEScheduleListItems(groups: readonly JEScheduleListGroup[]): JEScheduleListItem[];
29
+ }
30
+ /** A collapsed group yields no rows; its title bar is rendered outside the list. */
31
+ export declare function buildJEScheduleListItems(group: JEScheduleListGroup): JEScheduleListItem[];
51
32
  /**
52
- * Two collisions to avoid, and both are real.
53
- *
54
- * The group prefix: the same schedule can appear as a resolve row in one group and an ongoing row
55
- * in another while sharing a `jeScheduleTransactionKey`. Separate tables made that harmless; one
56
- * list would give react-window two items with the same key.
57
- *
58
- * The row-instance key: a schedule that failed to post in two months is two resolve rows *inside
59
- * one group*, which the group prefix cannot separate. `getJEScheduleRowInstanceKey` appends the
33
+ * The row-instance key matters: a schedule that failed to post in two months is two resolve rows
34
+ * inside one group sharing a `jeScheduleTransactionKey`. `getJEScheduleRowInstanceKey` appends the
60
35
  * journal entry id for exactly those rows.
36
+ *
37
+ * The group prefix is no longer needed for uniqueness — each group is its own list — but it keeps
38
+ * keys stable and readable across the groups.
61
39
  */
62
40
  export declare function getJEScheduleListItemKey(item: JEScheduleListItem): string;