@zeniai/web-components 4.4.56-beta0DI → 4.4.56

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.
Files changed (26) hide show
  1. package/dist/{SessionTimeoutPopup-gwgGH1MK.js → SessionTimeoutPopup-BT3Lfmff.js} +84266 -84165
  2. package/dist/{SessionTimeoutPopup-CkY5uRrO.cjs → SessionTimeoutPopup-DRgccl3R.cjs} +11757 -11637
  3. package/dist/appLocale.d.ts +10 -29
  4. package/dist/cockpit.cjs.js +1 -1
  5. package/dist/cockpit.esm.js +2 -2
  6. package/dist/components/common/ButtonWithDropDown.d.ts +32 -1
  7. package/dist/components/formElements/timeSpentField/TimeSpentField.d.ts +1 -8
  8. package/dist/components/spendManagement/common/filters/spendManagementFiltersHelpers.d.ts +1 -1
  9. package/dist/components/taskManagement/TaskDetailPage.d.ts +3 -9
  10. package/dist/components/taskManagement/TaskDetailPage.styled.d.ts +0 -65
  11. package/dist/components/taskManagement/taskManagementHeaderItemsData.d.ts +0 -20
  12. package/dist/components/transactionDetail/create/CreateTransactionButton.d.ts +3 -3
  13. package/dist/components/transactionDetail/create/CreateTransactionLinesTable.d.ts +3 -1
  14. package/dist/components/transactionDetail/create/createTransactionFieldSchema.d.ts +2 -1
  15. package/dist/components/transactionDetail/create/createTransactionFormNames.d.ts +0 -5
  16. package/dist/components/transactionDetail/items/journalEntryTable/header/JournalEntryTableHeader.d.ts +4 -1
  17. package/dist/components/transactionDetail/items/journalEntryTable/journalEntryTableTypes.d.ts +10 -1
  18. package/dist/components/transactionDetail/items/journalEntryTable/listRow/JournalEntryTableListRow.d.ts +1 -1
  19. package/dist/components/transactionDetail/items/journalEntryTable/totals/JournalEntryTotalsRow.d.ts +2 -2
  20. package/dist/components/transactionDetail/items/transactionLineTable/header/TransactionLineTableHeader.d.ts +4 -2
  21. package/dist/index.cjs.js +1 -1
  22. package/dist/index.esm.js +1 -1
  23. package/dist/strings/strings.d.ts +10 -29
  24. package/package.json +5 -5
  25. package/dist/components/formElements/timeSpentField/timeSpentDisplayFormat.d.ts +0 -10
  26. package/dist/components/taskManagement/formatTimeSpent.d.ts +0 -22
@@ -3547,6 +3547,14 @@ declare class AppLocale {
3547
3547
  transactionDetail: {
3548
3548
  createTransaction: {
3549
3549
  pageTitle: string;
3550
+ payeeNamePlaceholder: string;
3551
+ entryNamePlaceholder: string;
3552
+ placeholders: {
3553
+ entryName: string;
3554
+ payee: string;
3555
+ account: string;
3556
+ paymentMethod: string;
3557
+ };
3550
3558
  menu: {
3551
3559
  expense: string;
3552
3560
  expenseDescription: string;
@@ -3565,6 +3573,7 @@ declare class AppLocale {
3565
3573
  paymentMethod: string;
3566
3574
  paymentDate: string;
3567
3575
  journalDate: string;
3576
+ entryName: string;
3568
3577
  transactionDate: string;
3569
3578
  vendor: string;
3570
3579
  checkNumber: string;
@@ -3575,17 +3584,9 @@ declare class AppLocale {
3575
3584
  toAccount: string;
3576
3585
  amount: string;
3577
3586
  memo: string;
3578
- category: string;
3579
- class: string;
3580
- description: string;
3581
- debit: string;
3582
- credit: string;
3583
3587
  };
3584
3588
  table: {
3585
- totalDebits: string;
3586
- totalCredits: string;
3587
- difference: string;
3588
- balanced: string;
3589
+ addLine: string;
3589
3590
  removeLine: string;
3590
3591
  };
3591
3592
  validation: {
@@ -3595,7 +3596,6 @@ declare class AppLocale {
3595
3596
  journalEntryNeedsBothSides: string;
3596
3597
  atLeastOneLine: string;
3597
3598
  dateInClosedPeriod: string;
3598
- debitAndCreditOnSameLine: string;
3599
3599
  };
3600
3600
  printStatus: {
3601
3601
  notSet: string;
@@ -7160,11 +7160,6 @@ declare class AppLocale {
7160
7160
  timeSpentFormat: string;
7161
7161
  };
7162
7162
  taskList: {
7163
- pageTitle: string;
7164
- groupTotalTimeLabel: string;
7165
- taskNameColumnHeader: string;
7166
- timeColumnInfo: string;
7167
- timeColumnHeader: string;
7168
7163
  tabs: {
7169
7164
  archived: string;
7170
7165
  snoozed: string;
@@ -7216,20 +7211,6 @@ declare class AppLocale {
7216
7211
  priorityPlaceholder: string;
7217
7212
  tagPlaceholder: string;
7218
7213
  taskTypeLabel: string;
7219
- statusLabel: string;
7220
- priorityLabel: string;
7221
- dueDateLabel: string;
7222
- assigneeLabel: string;
7223
- tagLabel: string;
7224
- createdByLabel: string;
7225
- viewMore: string;
7226
- internalUseTitle: string;
7227
- internalUseSubtitle: string;
7228
- internalUseCategoryLabel: string;
7229
- internalUseCategoryPlaceholder: string;
7230
- internalUseBillableCaption: string;
7231
- internalUseTimeLabel: string;
7232
- internalUseVisibilityLabel: string;
7233
7214
  totalNumberOfTasks: string;
7234
7215
  attachmentTitle: string;
7235
7216
  groupLabel: string;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./SessionTimeoutPopup-CkY5uRrO.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`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./SessionTimeoutPopup-DRgccl3R.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"};
@@ -1,5 +1,5 @@
1
- import { fj as o, iP as Me, m as wt, hn as Z, fR as Ut, c6 as ys, a7 as We, fW as yu, hK as fu, hX as bu, aO as O, hN as z, f3 as $u, jt as ye, jb as wo, gs as lt, aQ as Zt, dF as Ca, F as Bo, gh as Fi, dA as Wo, fT as zi, g6 as Cu, jv as Bi, bu as Wc, jd as _c, fv as lo, fs as Re, hW as Vc, gd as ln, f4 as wa, dv as Ue, j2 as wu, bs as vu, bO as Jt, bp as Su, fP as Uc, i3 as ju, bC as Wi, T as _i, ii as ku, ij as Tu, ik as Pu, aP as Iu, dS as Lu, dt as yt, fV as Kc, e0 as Au, fI as Vi, gb as Ui, iN as W, eY as Ou, b$ as Du, fa as Se, fL as Eu, eO as M, U as Ln, ec as Hc, ed as ts, eb as Gc, c9 as Ru, dI as Nu, fD as Mu, ca as os, f7 as fs, cc as Si, eg as va, ee as Fu, ef as zu, cb as Os, c8 as Ds, cd as Bu, e1 as Ve, iQ as ut, fE as Ki, c2 as ns, fb as Wu, fM as Hi, bP as bs, iw as De, c7 as $s, fN as Yc, g3 as Zc, f_ as hr, hF as Gt, gu as at, fo as gr, dx as _u, dz as Qc, fQ as Jc, a$ as Co, aZ as Fo, a_ as zo, bg as Xc, ga as Cs, fX as Gi, ff as En, hY as Mt, hl as ot, gO as rs, hh as Vu, gq as Rn, gr as Nn, q as Mn, hA as cn, fB as dn, du as ws, fU as Yi, dy as Uu, fO as vo, fS as pn, bA as Qt, hg as Sa, id as Ku, i1 as Hu, i7 as Gu, fZ as Yu, gg as Zu, gf as xr, fp as Qu, fq as Zi, hZ as Ju, fY as qc, g2 as ed, g1 as td, bL as od, iH as Xu, dm as ja, dn as Qi, dg as qu, dl as em, c3 as yr, bM as Fn, g0 as Ji, aS as tm, hQ as Ct, fg as nd, dk as ss, dr as om, bK as Xi, de as qi, f5 as ka, eP as ea, dh as rd, di as sd, jl as is, e2 as id, fG as ad, hL as ta, df as nm, bQ as io, b1 as Et, g5 as ld, fw as rm, dD as cd, g7 as sm, fu as im, b2 as to, iv as kr, bU as am, js as lm, dq as no, bh as dd, f6 as Ta, dj as cm, dp as dm, ez as Pa, g as pm, e4 as um, fJ as mm, j1 as hm, j7 as pd, jc as ud, bT as ao, ac as vs, ad as On, je as md, i8 as hd, bv as gm, dJ as xm, il as ym, dX as gd, dW as fm, ie as bm, dN as as, aJ as xd, dM as $m, t as Cm, dL as wm, bz as vm, dK as oa, h_ as yd, bZ as fd, hp as bd, p as $d, go as Cd, b_ as Sm, G as wd, c1 as vd, gP as jm, fn as km, j6 as Tm, dU as Pm, i2 as Im, h$ as Lm, a6 as Am, eL as Ia, i6 as Om, ge as Sd, ih as La, dY as Dm, dw as Em, ft as Rm, f$ as Nm, g4 as Mm, fK as Fm, hx as Aa, g9 as zm, fh as jd, fc as Bm, hE as kd, bB as Wm, fx as _m, bN as Vm, bR as Um, fd as Td, g8 as Km, ds as Hm, gc as Gm, f9 as Ym, fe as Pd, fr as Zm, bS as Qm, f8 as Jm } from "./SessionTimeoutPopup-gwgGH1MK.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, fm 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, fm 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, be as uE, bf as mE, bi as hE, bj as gE, bk as xE, bl as yE, bm as fE, bn as bE, bo as $E, bq as CE, bt as wE, bw as vE, bx as SE, by as jE, bD as kE, bE as TE, bF as PE, bG as IE, bH as LE, bI as AE, bJ as OE, bV as DE, bW as EE, bX as RE, bY as NE, c0 as ME, c4 as FE, c5 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, d3 as zR, d4 as BR, d4 as WR, d5 as _R, d6 as VR, d7 as UR, d8 as KR, d9 as HR, da as GR, db as YR, dc as ZR, dd as QR, dB as JR, dC as XR, dE as qR, dG as eN, dH as tN, dO as oN, dP as nN, dQ as rN, dR as sN, dT as iN, dV as aN, dZ as lN, d_ as cN, d$ as dN, e3 as pN, e5 as uN, e6 as mN, e7 as hN, e8 as gN, e9 as xN, ea 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, ew as DN, ex as EN, ey as RN, eA as NN, eB as MN, eC as FN, br as zN, eD as BN, eE as WN, eF as _N, eG as VN, eH as UN, eI as KN, eJ as HN, fm as GN, eM as YN, eK as ZN, eN as QN, eQ as JN, eR as XN, eS as qN, eT as eM, eU as tM, eV as oM, eW as nM, eX as rM, eZ as sM, e_ as iM, e$ as aM, f0 as lM, f1 as cM, f2 as dM, fi as pM, fk as uM, fl as mM, fy as hM, fz as gM, fA as xM, fC as yM, fF as fM, fH as bM, gi as $M, gj as CM, gk as wM, gl as vM, gm as SM, gn as jM, gp as kM, gt 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, gL as UM, gM as KM, gN 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, hd as fF, he as bF, hf as $F, hi as CF, hj as wF, hk as vF, hm as SF, ho as jF, hq as kF, hr as TF, hs as PF, ht as IF, hu as LF, hv as AF, hw as OF, hy as DF, hz as EF, hB as RF, hC as NF, hD as MF, hG as FF, hJ as zF, hH as BF, hI as WF, hM as _F, hO as VF, hP as UF, hR as KF, hS as HF, hT as GF, hU as YF, hV as ZF, i0 as QF, i4 as JF, i5 as XF, i9 as qF, ia as ez, ib as tz, ic as oz, ig as nz, im as rz, io as sz, ip as iz, iq as az, ir as lz, is as cz, it as dz, iu as pz, ix as uz, iy as mz, iz as hz, iA as gz, iB as xz, iC as yz, iD as fz, iE as bz, iF as $z, iG as Cz, iI as wz, iJ as vz, iK as Sz, iL as jz, iM as kz, iO 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, iZ as Nz, i_ as Mz, i$ as Fz, j0 as zz, j3 as Bz, j4 as Wz, j5 as _z, j8 as Vz, j9 as Uz, ja as Kz, jf as Hz, jg as Gz, jh as Yz, ji as Zz, jj as Qz, jk as Jz, jm as Xz, jn as qz, jo as eB, jp as tB, jq as oB, jr as nB, ju as rB, jw as sB, jx as iB } from "./SessionTimeoutPopup-gwgGH1MK.js";
1
+ import { fj as o, iP as Me, m as wt, hn as Z, fR as Ut, c6 as ys, a7 as We, fW as yu, hK as fu, hX as bu, aO as O, hN as z, f3 as $u, jt as ye, jb as wo, gs as lt, aQ as Zt, dF as Ca, F as Bo, gh as Fi, dA as Wo, fT as zi, g6 as Cu, jv as Bi, bu as Wc, jd as _c, fv as lo, fs as Re, hW as Vc, gd as ln, f4 as wa, dv as Ue, j2 as wu, bs as vu, bO as Jt, bp as Su, fP as Uc, i3 as ju, bC as Wi, T as _i, ii as ku, ij as Tu, ik as Pu, aP as Iu, dS as Lu, dt as yt, fV as Kc, e0 as Au, fI as Vi, gb as Ui, iN as W, eY as Ou, b$ as Du, fa as Se, fL as Eu, eO as M, U as Ln, ec as Hc, ed as ts, eb as Gc, c9 as Ru, dI as Nu, fD as Mu, ca as os, f7 as fs, cc as Si, eg as va, ee as Fu, ef as zu, cb as Os, c8 as Ds, cd as Bu, e1 as Ve, iQ as ut, fE as Ki, c2 as ns, fb as Wu, fM as Hi, bP as bs, iw as De, c7 as $s, fN as Yc, g3 as Zc, f_ as hr, hF as Gt, gu as at, fo as gr, dx as _u, dz as Qc, fQ as Jc, a$ as Co, aZ as Fo, a_ as zo, bg as Xc, ga as Cs, fX as Gi, ff as En, hY as Mt, hl as ot, gO as rs, hh as Vu, gq as Rn, gr as Nn, q as Mn, hA as cn, fB as dn, du as ws, fU as Yi, dy as Uu, fO as vo, fS as pn, bA as Qt, hg as Sa, id as Ku, i1 as Hu, i7 as Gu, fZ as Yu, gg as Zu, gf as xr, fp as Qu, fq as Zi, hZ as Ju, fY as qc, g2 as ed, g1 as td, bL as od, iH as Xu, dm as ja, dn as Qi, dg as qu, dl as em, c3 as yr, bM as Fn, g0 as Ji, aS as tm, hQ as Ct, fg as nd, dk as ss, dr as om, bK as Xi, de as qi, f5 as ka, eP as ea, dh as rd, di as sd, jl as is, e2 as id, fG as ad, hL as ta, df as nm, bQ as io, b1 as Et, g5 as ld, fw as rm, dD as cd, g7 as sm, fu as im, b2 as to, iv as kr, bU as am, js as lm, dq as no, bh as dd, f6 as Ta, dj as cm, dp as dm, ez as Pa, g as pm, e4 as um, fJ as mm, j1 as hm, j7 as pd, jc as ud, bT as ao, ac as vs, ad as On, je as md, i8 as hd, bv as gm, dJ as xm, il as ym, dX as gd, dW as fm, ie as bm, dN as as, aJ as xd, dM as $m, t as Cm, dL as wm, bz as vm, dK as oa, h_ as yd, bZ as fd, hp as bd, p as $d, go as Cd, b_ as Sm, G as wd, c1 as vd, gP as jm, fn as km, j6 as Tm, dU as Pm, i2 as Im, h$ as Lm, a6 as Am, eL as Ia, i6 as Om, ge as Sd, ih as La, dY as Dm, dw as Em, ft as Rm, f$ as Nm, g4 as Mm, fK as Fm, hx as Aa, g9 as zm, fh as jd, fc as Bm, hE as kd, bB as Wm, fx as _m, bN as Vm, bR as Um, fd as Td, g8 as Km, ds as Hm, gc as Gm, f9 as Ym, fe as Pd, fr as Zm, bS as Qm, f8 as Jm } from "./SessionTimeoutPopup-BT3Lfmff.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, fm 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, fm 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, be as uE, bf as mE, bi as hE, bj as gE, bk as xE, bl as yE, bm as fE, bn as bE, bo as $E, bq as CE, bt as wE, bw as vE, bx as SE, by as jE, bD as kE, bE as TE, bF as PE, bG as IE, bH as LE, bI as AE, bJ as OE, bV as DE, bW as EE, bX as RE, bY as NE, c0 as ME, c4 as FE, c5 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, d3 as zR, d4 as BR, d4 as WR, d5 as _R, d6 as VR, d7 as UR, d8 as KR, d9 as HR, da as GR, db as YR, dc as ZR, dd as QR, dB as JR, dC as XR, dE as qR, dG as eN, dH as tN, dO as oN, dP as nN, dQ as rN, dR as sN, dT as iN, dV as aN, dZ as lN, d_ as cN, d$ as dN, e3 as pN, e5 as uN, e6 as mN, e7 as hN, e8 as gN, e9 as xN, ea 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, ew as DN, ex as EN, ey as RN, eA as NN, eB as MN, eC as FN, br as zN, eD as BN, eE as WN, eF as _N, eG as VN, eH as UN, eI as KN, eJ as HN, fm as GN, eM as YN, eK as ZN, eN as QN, eQ as JN, eR as XN, eS as qN, eT as eM, eU as tM, eV as oM, eW as nM, eX as rM, eZ as sM, e_ as iM, e$ as aM, f0 as lM, f1 as cM, f2 as dM, fi as pM, fk as uM, fl as mM, fy as hM, fz as gM, fA as xM, fC as yM, fF as fM, fH as bM, gi as $M, gj as CM, gk as wM, gl as vM, gm as SM, gn as jM, gp as kM, gt 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, gL as UM, gM as KM, gN 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, hd as fF, he as bF, hf as $F, hi as CF, hj as wF, hk as vF, hm as SF, ho as jF, hq as kF, hr as TF, hs as PF, ht as IF, hu as LF, hv as AF, hw as OF, hy as DF, hz as EF, hB as RF, hC as NF, hD as MF, hG as FF, hJ as zF, hH as BF, hI as WF, hM as _F, hO as VF, hP as UF, hR as KF, hS as HF, hT as GF, hU as YF, hV as ZF, i0 as QF, i4 as JF, i5 as XF, i9 as qF, ia as ez, ib as tz, ic as oz, ig as nz, im as rz, io as sz, ip as iz, iq as az, ir as lz, is as cz, it as dz, iu as pz, ix as uz, iy as mz, iz as hz, iA as gz, iB as xz, iC as yz, iD as fz, iE as bz, iF as $z, iG as Cz, iI as wz, iJ as vz, iK as Sz, iL as jz, iM as kz, iO 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, iZ as Nz, i_ as Mz, i$ as Fz, j0 as zz, j3 as Bz, j4 as Wz, j5 as _z, j8 as Vz, j9 as Uz, ja as Kz, jf as Hz, jg as Gz, jh as Yz, ji as Zz, jj as Qz, jk as Jz, jm as Xz, jn as qz, jo as eB, jp as tB, jq as oB, jr as nB, ju as rB, jw as sB, jx as iB } from "./SessionTimeoutPopup-BT3Lfmff.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";
@@ -1,4 +1,10 @@
1
1
  import { ReactNode } from 'react';
2
+ /**
3
+ * `default` is the JE Schedules look. `iconMenu` is the Create Transaction design: a white
4
+ * button that opens its menu on hover anywhere over it, darkens its border while open, and
5
+ * shows a wider menu of {@link IconMenuItem} rows.
6
+ */
7
+ export type ButtonWithDropDownVariant = "default" | "iconMenu";
2
8
  export interface ButtonWithDropDownProps {
3
9
  /**
4
10
  * Supplied by the caller rather than derived from `label`: deriving it would tie every
@@ -10,6 +16,7 @@ export interface ButtonWithDropDownProps {
10
16
  /** Shown above the chevron on hover. */
11
17
  chevronTooltip?: string;
12
18
  isDisabled?: boolean;
19
+ variant?: ButtonWithDropDownVariant;
13
20
  /**
14
21
  * `close` lets the caller dismiss the menu on selection without its own selection types
15
22
  * having to pass through this component. With a plain ReactNode the popover could not be
@@ -26,7 +33,7 @@ export interface ButtonWithDropDownProps {
26
33
  * The split button used for "New"-style actions: a labelled primary segment and a chevron that
27
34
  * opens a menu.
28
35
  */
29
- declare function ButtonWithDropDown({ dataTestId, label, renderMenu, chevronTooltip, isDisabled, onPrimaryClick, }: Readonly<ButtonWithDropDownProps>): import("react/jsx-runtime").JSX.Element;
36
+ declare function ButtonWithDropDown({ dataTestId, label, renderMenu, chevronTooltip, isDisabled, onPrimaryClick, variant, }: Readonly<ButtonWithDropDownProps>): import("react/jsx-runtime").JSX.Element;
30
37
  export default ButtonWithDropDown;
31
38
  export declare const MenuItemLabel: import('@emotion/styled').StyledComponent<{
32
39
  theme?: import('@emotion/react').Theme;
@@ -57,3 +64,27 @@ export declare const SectionLabel: import('@emotion/styled').StyledComponent<{
57
64
  } & import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
58
65
  theme?: import('@emotion/react').Theme;
59
66
  }, {}, {}>;
67
+ export declare const IconMenuItemIcon: import('@emotion/styled').StyledComponent<{
68
+ theme?: import('@emotion/react').Theme;
69
+ as?: React.ElementType;
70
+ }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
71
+ export declare const IconMenuItemText: import('@emotion/styled').StyledComponent<{
72
+ theme?: import('@emotion/react').Theme;
73
+ as?: React.ElementType;
74
+ }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
75
+ export declare const IconMenuItemLabel: import('@emotion/styled').StyledComponent<{
76
+ theme?: import('@emotion/react').Theme;
77
+ as?: React.ElementType;
78
+ } & import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
79
+ theme?: import('@emotion/react').Theme;
80
+ }, {}, {}>;
81
+ export declare const IconMenuItemDescription: import('@emotion/styled').StyledComponent<{
82
+ theme?: import('@emotion/react').Theme;
83
+ as?: React.ElementType;
84
+ } & import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
85
+ theme?: import('@emotion/react').Theme;
86
+ }, {}, {}>;
87
+ export declare const IconMenuItem: import('@emotion/styled').StyledComponent<{
88
+ theme?: import('@emotion/react').Theme;
89
+ as?: React.ElementType;
90
+ }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,20 +1,13 @@
1
1
  import { RegisterOptions } from 'react-hook-form';
2
- import { DisableMode } from '../common/common';
3
- /** Consumers that restyle the at-rest value (the board mutes it on unhovered
4
- * rows) target this rather than a bare `span`. */
5
- export declare const TIME_SPENT_DISPLAY_CLASS = "timeSpentDisplay";
6
2
  export interface TimeSpentFieldProps {
7
3
  name: string;
8
4
  timeSpentFormat: string;
9
5
  defaultValue?: string;
10
6
  fieldError?: string;
11
7
  inputStyle?: React.CSSProperties;
12
- /** Read-only on a task whose time is a rolled-up sum (D21). The server
13
- * rejects such a write anyway; this stops the user typing into a 400. */
14
- isDisabled?: DisableMode;
15
8
  placeholder?: string;
16
9
  registerOptions?: RegisterOptions;
17
10
  style?: React.CSSProperties;
18
11
  onInputBlur?: () => void;
19
12
  }
20
- export declare function TimeSpentField({ name, placeholder, defaultValue, isDisabled, timeSpentFormat, registerOptions, onInputBlur, style, inputStyle, }: TimeSpentFieldProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function TimeSpentField({ name, placeholder, defaultValue, timeSpentFormat, registerOptions, onInputBlur, style, inputStyle, }: TimeSpentFieldProps): import("react/jsx-runtime").JSX.Element;
@@ -32,7 +32,7 @@ interface GetUpdatedFiltersOnValueChangeProps {
32
32
  selectedOptions: ValuesDropdownOption[];
33
33
  }
34
34
  export declare const getFilterCategoriesForSelectedEntity: (selectedEntity: SpendManagementFilterEntityType | "charge_card_payment_history", userRole: UserRoleType[]) => BillPayFilterCategoryDropdownOption[] | ReimbursementFilterCategoryDropdownOption[] | TaskFilterCategoryDropdownOption[] | PaymentHistoryFilterCategoryDropdownOption[];
35
- export declare const getFilterCategoryLabel: (selectedEntity: SpendManagementFilterEntityType | "charge_card_payment_history", key: string) => string | undefined;
35
+ export declare const getFilterCategoryLabel: (selectedEntity: SpendManagementFilterEntityType | "charge_card_payment_history", key: string) => string;
36
36
  export declare const getUpdatedFiltersOnCategoryChange: ({ currentFilters, selectedOption, categoryIndex, }: GetUpdatedFiltersonCategoryChangeProps) => SpendManagementFiltersType;
37
37
  export declare const getUpdatedFiltersOnMatchingOperatorChange: ({ currentFilters, selectedOption, categoryIndex, }: GetUpdatedFiltersOnMatchingOperatorChangeProps) => SpendManagementFiltersType;
38
38
  export declare const getUpdatedFiltersOnValueChange: ({ currentFilters, selectedOptions, categoryIndex, }: GetUpdatedFiltersOnValueChangeProps) => SpendManagementFiltersType;
@@ -1,8 +1,7 @@
1
1
  import { ClientAnalytics } from '@zeniai/client-analytics';
2
- import { AuthParams, CannedResponse, EditTaskLocalData, FetchState, FilePayload, ID, LoggedInUser, TagViewSelectorView, Task, TaskCategory, TaskDetailSelectorView, UserGroup } from '@zeniai/client-epic-state';
2
+ import { AuthParams, CannedResponse, EditTaskLocalData, FetchState, FilePayload, ID, LoggedInUser, TagViewSelectorView, Task, TaskDetailSelectorView, UserGroup } from '@zeniai/client-epic-state';
3
3
  import { UserMultiSelectFieldValue } from '../cockpit/common/userMultiSelect/UserMultiSelectField';
4
4
  import { RequestToOpenThreadType } from '../commentsAndNotes/utils/ThreadsProvider';
5
- import { AutoCompleteSingleSelectFieldValue } from '../formElements/autoCompleteSingleSelectField/AutoCompleteSingleSelectField';
6
5
  import { MultiSelectFieldValue } from '../formElements/creatableMultiSelectField/CreatableMultiSelectField';
7
6
  import { RecurringViewType } from '../formElements/recurringView/RecurringView';
8
7
  import { SingleSelectPickerFieldValue } from '../formElements/singleSelectPickerField/SingleSelectPickerField';
@@ -23,7 +22,6 @@ declare const subtaskDetailSectionId = "subtaskDetailRows";
23
22
  declare const taskType = "taskType";
24
23
  declare const recurringView = "recurringView";
25
24
  declare const visibility = "visibility";
26
- declare const taskCategoryKey = "taskCategory";
27
25
  export interface TaskDetailFormData {
28
26
  [assignee]: UserMultiSelectFieldValue;
29
27
  [description]: string;
@@ -36,7 +34,6 @@ export interface TaskDetailFormData {
36
34
  [timeSpentKey]: string;
37
35
  [dueDate]?: Date;
38
36
  [recurringView]?: RecurringViewType;
39
- [taskCategoryKey]?: AutoCompleteSingleSelectFieldValue;
40
37
  [visibility]?: string;
41
38
  }
42
39
  type FormDataKeys = keyof TaskDetailFormData;
@@ -51,7 +48,7 @@ export interface FormData {
51
48
  [taskDataKey]: Record<string, SubtaskInlineFieldData>;
52
49
  };
53
50
  }
54
- declare const uniqueName: (sectionId: string, key: FormDataKeys) => `${string}.fileIds` | `${string}.name` | `${string}.status` | `${string}.description` | `${string}.dueDate` | `${string}.priority` | `${string}.timeSpent` | `${string}.assignee` | `${string}.visibility` | `${string}.tag` | `${string}.taskType` | `${string}.recurringView` | `${string}.taskCategory`;
51
+ declare const uniqueName: (sectionId: string, key: FormDataKeys) => `${string}.fileIds` | `${string}.name` | `${string}.status` | `${string}.description` | `${string}.dueDate` | `${string}.priority` | `${string}.timeSpent` | `${string}.assignee` | `${string}.visibility` | `${string}.tag` | `${string}.taskType` | `${string}.recurringView`;
55
52
  export type FormDataKeyUniqueNames = ReturnType<typeof uniqueName>;
56
53
  export declare const uniqueFormName: (sectionId: ID) => `${string}_form`;
57
54
  export interface TaskDetailPageProps {
@@ -84,9 +81,6 @@ export interface TaskDetailPageProps {
84
81
  recurringSourceTaskUrl?: string;
85
82
  subTaskCreateStatus?: FetchState;
86
83
  subtasks?: Task[];
87
- /** The task category catalog (B3). Zeni-only, so it is absent for customer
88
- * users and the Category control simply does not render. */
89
- taskCategories?: TaskCategory[];
90
84
  taskDetailFetchState?: FetchState;
91
85
  taskGroupList?: Array<{
92
86
  id: ID;
@@ -127,5 +121,5 @@ export interface TaskDetailPageProps {
127
121
  * time-spent) the same way the task-list page does. */
128
122
  onSubtaskUpdate?: (task: Task, updates: Partial<Task>) => void;
129
123
  }
130
- declare const TaskDetailPage: ({ taskDetailSelectorView, companyName, companyId, loggedInUser, analytics, isNewClicked, filesEndPoint, authParams, currentUrl, taskId, taskGroupList, taskGroupName, taskDetailFetchState, onSaveChangesToLocalStore, onSaveDetailClick, onArchiveTaskClick, onSnoozeTask, onUnsnoozeTask, onDismissClick, handleZeniLogoClick: _handleZeniLogoClick, updateFilesEntity, onDeleteFile, onEditFileName, onDeleteTaskClick, onReloadTaskDetailPage, tagListView, userGroupList, onCreateTagClick, onDeleteTagClick, cannedResponses, initialOpenThreadRequest, isCannedResponsesLoading, isTaskCannedResponsesEnabled, isTaskGroupAssigneesEnabled, isTaskRecurringParentEnabled, isTaskSnoozeEnabled, isTaskVisibilityEnabled, isZeniUser, onFetchCannedResponses, onManageTemplatesClick, taskCategories, onCreateSubtask, subTaskCreateStatus, onSubtaskUpdate, parentTaskRef, onSubtaskRowClick, onParentBreadcrumbClick, recurringSourceTaskUrl, subtasks, }: TaskDetailPageProps) => import("react/jsx-runtime").JSX.Element;
124
+ declare const TaskDetailPage: ({ taskDetailSelectorView, companyName, companyId, loggedInUser, analytics, isNewClicked, filesEndPoint, authParams, currentUrl, taskId, taskGroupList, taskGroupName, taskDetailFetchState, onSaveChangesToLocalStore, onSaveDetailClick, onArchiveTaskClick, onSnoozeTask, onUnsnoozeTask, onDismissClick, handleZeniLogoClick: _handleZeniLogoClick, updateFilesEntity, onDeleteFile, onEditFileName, onDeleteTaskClick, onReloadTaskDetailPage, tagListView, userGroupList, onCreateTagClick, onDeleteTagClick, cannedResponses, initialOpenThreadRequest, isCannedResponsesLoading, isTaskCannedResponsesEnabled, isTaskGroupAssigneesEnabled, isTaskRecurringParentEnabled, isTaskSnoozeEnabled, isTaskVisibilityEnabled, isZeniUser, onFetchCannedResponses, onManageTemplatesClick, onCreateSubtask, subTaskCreateStatus, onSubtaskUpdate, parentTaskRef, onSubtaskRowClick, onParentBreadcrumbClick, recurringSourceTaskUrl, subtasks, }: TaskDetailPageProps) => import("react/jsx-runtime").JSX.Element;
131
125
  export default TaskDetailPage;
@@ -241,65 +241,6 @@ export declare const VisibilityContainer: import('@emotion/styled').StyledCompon
241
241
  } & {
242
242
  windowSize: WindowSize;
243
243
  }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
244
- export declare const InternalUseContainer: import('@emotion/styled').StyledComponent<{
245
- theme?: import('@emotion/react').Theme;
246
- as?: React.ElementType;
247
- }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
248
- export declare const InternalUseLockIcon: import('@emotion/styled').StyledComponent<import('react').SVGProps<SVGSVGElement> & {
249
- title?: string;
250
- } & {
251
- theme?: import('@emotion/react').Theme;
252
- }, {}, {}>;
253
- export declare const InternalUseHeader: import('@emotion/styled').StyledComponent<{
254
- theme?: import('@emotion/react').Theme;
255
- as?: React.ElementType;
256
- }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
257
- export declare const InternalUseTitle: import('@emotion/styled').StyledComponent<{
258
- theme?: import('@emotion/react').Theme;
259
- as?: React.ElementType;
260
- } & import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
261
- theme?: import('@emotion/react').Theme;
262
- }, {}, {}>;
263
- export declare const InternalUseSubtitle: import('@emotion/styled').StyledComponent<{
264
- theme?: import('@emotion/react').Theme;
265
- as?: React.ElementType;
266
- } & import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
267
- theme?: import('@emotion/react').Theme;
268
- }, {}, {}>;
269
- export declare const InternalUseFields: import('@emotion/styled').StyledComponent<{
270
- theme?: import('@emotion/react').Theme;
271
- as?: React.ElementType;
272
- } & {
273
- windowSize: WindowSize;
274
- }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
275
- export declare const InternalUseField: import('@emotion/styled').StyledComponent<{
276
- theme?: import('@emotion/react').Theme;
277
- as?: React.ElementType;
278
- }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
279
- export declare const InternalUseFieldLabel: import('@emotion/styled').StyledComponent<{
280
- theme?: import('@emotion/react').Theme;
281
- as?: React.ElementType;
282
- } & import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
283
- theme?: import('@emotion/react').Theme;
284
- }, {}, {}>;
285
- export declare const StaticFieldRow: import('@emotion/styled').StyledComponent<{
286
- theme?: import('@emotion/react').Theme;
287
- as?: React.ElementType;
288
- }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
289
- export declare const StaticFieldLabel: import('@emotion/styled').StyledComponent<{
290
- theme?: import('@emotion/react').Theme;
291
- as?: React.ElementType;
292
- } & import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
293
- theme?: import('@emotion/react').Theme;
294
- } & import('react').ClassAttributes<HTMLLabelElement> & import('react').LabelHTMLAttributes<HTMLLabelElement> & {
295
- windowSize: WindowSize;
296
- }, {}, {}>;
297
- export declare const StaticFieldValue: import('@emotion/styled').StyledComponent<{
298
- theme?: import('@emotion/react').Theme;
299
- as?: React.ElementType;
300
- } & import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
301
- theme?: import('@emotion/react').Theme;
302
- }, {}, {}>;
303
244
  export declare const RightPanelContent: import('@emotion/styled').StyledComponent<{
304
245
  theme?: import('@emotion/react').Theme;
305
246
  as?: React.ElementType;
@@ -386,9 +327,3 @@ export declare const SubtasksHeaderRow: import('@emotion/styled').StyledComponen
386
327
  theme?: import('@emotion/react').Theme;
387
328
  as?: React.ElementType;
388
329
  }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
389
- export declare const InternalUseCaption: import('@emotion/styled').StyledComponent<{
390
- theme?: import('@emotion/react').Theme;
391
- as?: React.ElementType;
392
- } & import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
393
- theme?: import('@emotion/react').Theme;
394
- }, {}, {}>;
@@ -9,23 +9,3 @@ export interface TaskListHeaderItemData {
9
9
  }
10
10
  export declare const taskManagementTagHeaderItem: TaskListHeaderItemData;
11
11
  export declare const taskManagementHeaderItemsData: TaskListHeaderItemData[];
12
- /**
13
- * The same columns keyed by name.
14
- *
15
- * Row components used to size their cells with
16
- * `taskManagementHeaderItemsData[N].width`. Those indices are invisible
17
- * coupling: reordering the array above silently re-pointed every cell at a
18
- * different column's width, and because the headers moved too the result
19
- * typechecked, passed tests, and rendered assignees under "Priority".
20
- *
21
- * Look columns up by key instead, so order is a property of the array alone.
22
- */
23
- export declare const taskManagementHeaderItemsByKey: {
24
- readonly name: TaskListHeaderItemData;
25
- readonly status: TaskListHeaderItemData;
26
- readonly priority: TaskListHeaderItemData;
27
- readonly dueDate: TaskListHeaderItemData;
28
- readonly assignee: TaskListHeaderItemData;
29
- readonly tag: TaskListHeaderItemData;
30
- readonly timeSpent: TaskListHeaderItemData;
31
- };
@@ -12,9 +12,9 @@ export interface CreateTransactionButtonProps {
12
12
  /**
13
13
  * The Create split button on the Transaction Categorization review page.
14
14
  *
15
- * The primary segment opens the menu rather than shortcutting to a type: unlike JE Schedules,
16
- * where a one-time accrual is the obvious default, no single transaction type is the common
17
- * case here, and silently creating the wrong kind writes to a customer's ledger.
15
+ * Hovering either segment opens the menu; clicking the primary segment opens the first type in
16
+ * the menu, so the shortcut is always the option shown at the top. Nothing is written until
17
+ * the user saves the page that opens.
18
18
  */
19
19
  declare function CreateTransactionButton({ companyId, onSelect, isDisabled, }: Readonly<CreateTransactionButtonProps>): import("react/jsx-runtime").JSX.Element;
20
20
  export default CreateTransactionButton;
@@ -1,4 +1,4 @@
1
- import { CreatableTransactionType, CreateTransactionLineLocalData, NestedAccountHierarchyForReport, NestedClassHierarchyForReport, Project } from '@zeniai/client-epic-state';
1
+ import { CreatableTransactionType, CreateTransactionLineLocalData, EntityAutoCompleteView, NestedAccountHierarchyForReport, NestedClassHierarchyForReport, Project } from '@zeniai/client-epic-state';
2
2
  export interface CreateTransactionLinesTableProps {
3
3
  /** COA hierarchy; also the source of the "Recommended" group once a vendor is picked. */
4
4
  accountsHierarchyList: NestedAccountHierarchyForReport[];
@@ -13,6 +13,8 @@ export interface CreateTransactionLinesTableProps {
13
13
  sectionPaddingLeftRight: number;
14
14
  showProjectField: boolean;
15
15
  transactionType: CreatableTransactionType;
16
+ /** Source of a journal entry line's name options. */
17
+ entityAutoCompleteView?: EntityAutoCompleteView;
16
18
  /** Set after a failed submit; highlights the empty cells the same way the detail page does. */
17
19
  validationErrors?: string[];
18
20
  onAddLine: () => void;
@@ -6,13 +6,14 @@ import { CreateTransactionOption } from './createTransactionTypes';
6
6
  * must send payment_type or qbo_purchase.py rejects it, a journal entry has no header account
7
7
  * at all, and a transfer has neither lines nor a vendor.
8
8
  */
9
- export type CreateTransactionFieldName = "amount" | "checkNumber" | "fromAccount" | "memo" | "paymentAccount" | "paymentMethod" | "printStatus" | "remitToAddress" | "toAccount" | "transactionDate" | "vendor";
9
+ export type CreateTransactionFieldName = "amount" | "checkNumber" | "entryName" | "fromAccount" | "memo" | "paymentAccount" | "paymentMethod" | "printStatus" | "remitToAddress" | "toAccount" | "transactionDate" | "vendor";
10
10
  export type CreateTransactionFieldKind = "account" | "amount" | "address" | "date" | "paymentMethod" | "printStatus" | "text" | "vendor";
11
11
  export interface CreateTransactionFieldConfig {
12
12
  kind: CreateTransactionFieldKind;
13
13
  label: string;
14
14
  name: CreateTransactionFieldName;
15
15
  registerOptions: RegisterOptions;
16
+ placeholder?: string;
16
17
  }
17
18
  export interface CreateTransactionTypeConfig {
18
19
  /** Header fields, in render order. */
@@ -12,11 +12,6 @@ export interface CreateTransactionFormValues {
12
12
  }
13
13
  export declare const headerFieldName: (sectionId: string, field: string) => string;
14
14
  export declare const lineFieldName: (sectionId: string, lineId: string, field: string) => string;
15
- /**
16
- * A journal-entry row with both a debit and a credit typed. The projection below lets debit
17
- * win, so the row is held back by validation instead of silently dropping the credit.
18
- */
19
- export declare const hasDebitAndCreditOnLine: (getValue: (name: string) => unknown, sectionId: string, lineId: string) => boolean;
20
15
  /**
21
16
  * Projects the live form values back onto the working copy. Called at discrete change points
22
17
  * rather than per keystroke -- the same arrangement TransactionDetailPage already uses via
@@ -1,12 +1,15 @@
1
1
  import { JournalEntryRowSortConfig, JournalEntrySortKey, SortOrder } from '@zeniai/client-epic-state';
2
2
  import { DisableMode } from '../../../../formElements/common/common';
3
+ import { JournalEntryRowHeaderItemData } from './journalEntryHeaderConfig';
3
4
  export interface JournalEntryTableHeaderProps {
4
5
  isAccountingClassesEnabled: boolean;
5
6
  showProjectField: boolean;
6
7
  sortConfig: JournalEntryRowSortConfig;
8
+ /** Overrides the default column set, for a caller whose rows use their own column padding. */
9
+ columns?: JournalEntryRowHeaderItemData[];
7
10
  isCompressed?: boolean;
8
11
  isDisabled?: DisableMode;
9
12
  isQuickViewMode?: boolean;
10
13
  onColumnSortConfigChanged?: (sortKey: JournalEntrySortKey, sortOrder: SortOrder) => void;
11
14
  }
12
- export declare const JournalEntryTableHeader: ({ sortConfig, isAccountingClassesEnabled, showProjectField, isCompressed, isQuickViewMode, isDisabled, onColumnSortConfigChanged, }: JournalEntryTableHeaderProps) => import("react/jsx-runtime").JSX.Element;
15
+ export declare const JournalEntryTableHeader: ({ sortConfig, isAccountingClassesEnabled, showProjectField, columns, isCompressed, isQuickViewMode, isDisabled, onColumnSortConfigChanged, }: JournalEntryTableHeaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -2,6 +2,7 @@ import { AccountBase, ClassBase, ID, NestedAccountHierarchyForReport, NestedClas
2
2
  import { COTTrackingProps } from '../../../../types/cotTracking';
3
3
  import { DisableMode } from '../../../formElements/common/common';
4
4
  import { LineInfo, SearchAutoComplete } from '../../common';
5
+ import { TransactionLineTableRowLine } from '../transactionLineTable/transactionLineTableTypes';
5
6
  import { JournalEntryRowHeaderItemData } from './header/journalEntryHeaderConfig';
6
7
  /**
7
8
  * Public props for the new JE table entry component.
@@ -60,6 +61,12 @@ export interface TransactionLinesJournalEntryEmptyTableProps {
60
61
  sectionId?: string;
61
62
  skeletonRowCount?: number;
62
63
  }
64
+ /** The `LineInfo` fields a JE row reads, so a create line needs no cast. */
65
+ export type JournalEntryTableRowLine = TransactionLineTableRowLine & Pick<Partial<LineInfo>, "postingType">;
66
+ /** The `LineInfo` fields the JE totals row reads. */
67
+ export type JournalEntryTotalsLine = Pick<LineInfo, "amount" | "postingType">;
68
+ /** Form fields a JE row registers; `getFieldName` maps each to a form path. */
69
+ export type JournalEntryTableRowField = "account" | "amount" | "class" | "lineDescription" | "lineEntitySelection" | "postingType" | "project";
63
70
  /** Props for the inline list-row component. */
64
71
  export interface JournalEntryTableListRowProps {
65
72
  accountList: AccountBase[];
@@ -69,7 +76,7 @@ export interface JournalEntryTableListRowProps {
69
76
  columns: JournalEntryRowHeaderItemData[];
70
77
  isCompressed: boolean;
71
78
  isCOTEnabled: boolean;
72
- line: LineInfo;
79
+ line: JournalEntryTableRowLine;
73
80
  lineIndex: number;
74
81
  projects: Project[];
75
82
  sectionId: string;
@@ -102,6 +109,8 @@ export interface JournalEntryTableListRowProps {
102
109
  */
103
110
  transactionId?: ID;
104
111
  uncategorizedAccounts?: UncategorizedAccounts;
112
+ /** Overrides the default index-based form field names, for a form keyed some other way. */
113
+ getFieldName?: (field: JournalEntryTableRowField) => string;
105
114
  onCOTView?: (fieldType: TransactionLineRecommendationFieldTypes, recommendationSource?: string) => void;
106
115
  setOpenTooltipId?: (tooltipId: ID | undefined) => void;
107
116
  }
@@ -9,7 +9,7 @@ import { JournalEntryTableListEmptyRowProps, JournalEntryTableListRowProps } fro
9
9
  * pattern at TransactionCategorizationListRow.tsx ~L1096-L1710 so a
10
10
  * reviewer can diff the two row files column-by-column).
11
11
  */
12
- export declare const JournalEntryTableListRow: ({ accountList: _accountList, accountsHierarchyList, classHierarchyList, classList: _classList, columns, entityId, feedbackTransactionInfo, isCOTEnabled, isCompressed, isDisabled, isAddedLine, isSplitEditMode, line, lineIndex, onCOTView, openTooltipId, projects, searchAutoComplete, sectionId, setOpenTooltipId, splitValidationErrors, totalLinesCount: _totalLinesCount, transactionId, }: JournalEntryTableListRowProps) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const JournalEntryTableListRow: ({ accountList: _accountList, accountsHierarchyList, classHierarchyList, classList: _classList, columns, entityId, feedbackTransactionInfo, getFieldName, isCOTEnabled, isCompressed, isDisabled, isAddedLine, isSplitEditMode, line, lineIndex, onCOTView, openTooltipId, projects, searchAutoComplete, sectionId, setOpenTooltipId, splitValidationErrors, totalLinesCount: _totalLinesCount, transactionId, }: JournalEntryTableListRowProps) => import("react/jsx-runtime").JSX.Element;
13
13
  /**
14
14
  * Skeleton row consumed by `TransactionLinesJournalEntryEmptyTable`. Uses
15
15
  * the same `RowItemContainer` as the live row so column widths line up
@@ -1,10 +1,10 @@
1
1
  import { WindowSize } from '../../../../../context/windowSizeProvider/WindowSizeProvider';
2
- import { LineInfo } from '../../../common';
3
2
  import { JournalEntryRowHeaderItemData } from '../header/journalEntryHeaderConfig';
3
+ import { JournalEntryTotalsLine } from '../journalEntryTableTypes';
4
4
  export interface JournalEntryTotalsRowProps {
5
5
  columns: JournalEntryRowHeaderItemData[];
6
6
  isCompressed: boolean;
7
- lines: LineInfo[];
7
+ lines: JournalEntryTotalsLine[];
8
8
  sectionId: string;
9
9
  windowSize: WindowSize;
10
10
  /** Inline validation errors shown below the totals row on a failed submit. */
@@ -1,14 +1,16 @@
1
1
  import { SortOrder } from '@zeniai/client-epic-state';
2
2
  import { DisableMode } from '../../../../formElements/common/common';
3
- import { TransactionLineRowSortConfig, TransactionLineSortKey } from './transactionLineHeaderConfig';
3
+ import { TransactionLineRowHeaderItemData, TransactionLineRowSortConfig, TransactionLineSortKey } from './transactionLineHeaderConfig';
4
4
  export interface TransactionLineTableHeaderProps {
5
5
  isAccountingClassesEnabled: boolean;
6
6
  showProjectField: boolean;
7
7
  sortConfig: TransactionLineRowSortConfig;
8
+ /** Overrides the default column set, for a caller whose rows use their own column padding. */
9
+ columns?: TransactionLineRowHeaderItemData[];
8
10
  isCompressed?: boolean;
9
11
  isDisabled?: DisableMode;
10
12
  isQuickViewMode?: boolean;
11
13
  showNameField?: boolean;
12
14
  onColumnSortConfigChanged?: (sortKey: TransactionLineSortKey, sortOrder: SortOrder) => void;
13
15
  }
14
- export declare const TransactionLineTableHeader: ({ sortConfig, isAccountingClassesEnabled, showProjectField, isCompressed, isQuickViewMode, isDisabled, showNameField, onColumnSortConfigChanged, }: TransactionLineTableHeaderProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const TransactionLineTableHeader: ({ sortConfig, isAccountingClassesEnabled, showProjectField, columns, isCompressed, isQuickViewMode, isDisabled, showNameField, onColumnSortConfigChanged, }: TransactionLineTableHeaderProps) => import("react/jsx-runtime").JSX.Element;