@zeniai/web-components 4.2.40 → 4.2.41
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-ChX3q26k.cjs → SessionTimeoutPopup-BGnc2AAx.cjs} +17257 -16608
- package/dist/{SessionTimeoutPopup-DU_Y9pn1.js → SessionTimeoutPopup-DI767zWh.js} +76195 -73924
- package/dist/appLocale.d.ts +34 -0
- package/dist/cockpit.cjs.js +1 -1
- package/dist/cockpit.esm.js +2 -2
- package/dist/components/appDrawerContent/MenuButton.d.ts +2 -2
- package/dist/components/commentsAndNotes/ThreadsSection.d.ts +28 -0
- package/dist/components/commentsAndNotes/utils/CollaborationHelpers.d.ts +7 -0
- package/dist/components/commentsAndNotes/utils/CollaborationProvider.d.ts +10 -0
- package/dist/components/commentsAndNotes/utils/CollaborationTypes.d.ts +9 -1
- package/dist/components/common/zeniDatePicker/ZeniDatePickerField.d.ts +2 -1
- package/dist/components/formElements/creatableMultiSelectField/CreatableMultiSelectField.d.ts +8 -1
- package/dist/components/spendManagement/activitySection/HistoryContent.d.ts +5 -0
- package/dist/components/taskManagement/PriorityLabel.d.ts +2 -0
- package/dist/components/taskManagement/SubtaskCreationForm.d.ts +14 -0
- package/dist/components/taskManagement/SubtaskDetailTable.d.ts +13 -0
- package/dist/components/taskManagement/TaskDetailPage.d.ts +37 -4
- package/dist/components/taskManagement/TaskDetailPage.dimensions.d.ts +20 -0
- package/dist/components/taskManagement/TaskDetailPage.styled.d.ts +329 -0
- package/dist/components/taskManagement/TaskDetailSubtaskForm.d.ts +14 -0
- package/dist/components/taskManagement/TaskListRow.d.ts +57 -2
- package/dist/components/taskManagement/TaskListRowSmall.d.ts +3 -1
- package/dist/components/taskManagement/TaskManagementPage.d.ts +5 -28
- package/dist/components/taskManagement/stories/subtaskMocks.d.ts +30 -0
- package/dist/components/taskManagement/taskManagementFormConstants.d.ts +1 -0
- package/dist/components/taskManagement/taskManagementHeaderItemsData.d.ts +1 -0
- package/dist/components/taskManagement/taskManagementTypes.d.ts +33 -0
- package/dist/components/taskManagement/useSubtaskFormVisibility.d.ts +20 -0
- package/dist/designSystem/zeniConstants.d.ts +8 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/strings/strings.d.ts +34 -0
- package/package.json +2 -2
package/dist/appLocale.d.ts
CHANGED
|
@@ -94,6 +94,7 @@ declare class AppLocale {
|
|
|
94
94
|
chargebee: string;
|
|
95
95
|
confirmAction: string;
|
|
96
96
|
zeniAI: string;
|
|
97
|
+
zeniTeam: string;
|
|
97
98
|
unreview: string;
|
|
98
99
|
searchShortcutCmd: string;
|
|
99
100
|
searchShortcutCtrl: string;
|
|
@@ -1517,6 +1518,11 @@ declare class AppLocale {
|
|
|
1517
1518
|
failed: string;
|
|
1518
1519
|
notification: string;
|
|
1519
1520
|
};
|
|
1521
|
+
create_sub_task: {
|
|
1522
|
+
success: string;
|
|
1523
|
+
failed: string;
|
|
1524
|
+
notification: string;
|
|
1525
|
+
};
|
|
1520
1526
|
};
|
|
1521
1527
|
currency: {
|
|
1522
1528
|
currencyCode: string;
|
|
@@ -4501,6 +4507,7 @@ declare class AppLocale {
|
|
|
4501
4507
|
DDSlashMMSlashYYYYFormat: string;
|
|
4502
4508
|
MMSlashDSlashYYYYFormat: string;
|
|
4503
4509
|
MMMDFormat: string;
|
|
4510
|
+
MMMDhmmAFormat: string;
|
|
4504
4511
|
MMMYYFormat: string;
|
|
4505
4512
|
MMMCommaYYFormat: string;
|
|
4506
4513
|
MMMformat: string;
|
|
@@ -4534,6 +4541,7 @@ declare class AppLocale {
|
|
|
4534
4541
|
timeFormat: {
|
|
4535
4542
|
hmmADashDDMMMCommaYYYY: string;
|
|
4536
4543
|
hhmmAFormat: string;
|
|
4544
|
+
hmmAFormat: string;
|
|
4537
4545
|
dddCommaHmmAFormat: string;
|
|
4538
4546
|
};
|
|
4539
4547
|
months: string[];
|
|
@@ -7866,6 +7874,7 @@ declare class AppLocale {
|
|
|
7866
7874
|
};
|
|
7867
7875
|
tabs: {
|
|
7868
7876
|
live: string;
|
|
7877
|
+
completed: string;
|
|
7869
7878
|
archived: string;
|
|
7870
7879
|
deleted: string;
|
|
7871
7880
|
snoozed: string;
|
|
@@ -7962,6 +7971,16 @@ declare class AppLocale {
|
|
|
7962
7971
|
visibilityPrivate: string;
|
|
7963
7972
|
visibilityRequired: string;
|
|
7964
7973
|
commentsSectionTitle: string;
|
|
7974
|
+
subtasksLabel: string;
|
|
7975
|
+
addSubtask: string;
|
|
7976
|
+
subtaskNameRequired: string;
|
|
7977
|
+
subtaskTimeSpentInvalid: string;
|
|
7978
|
+
subtasksComplete: string;
|
|
7979
|
+
subtaskTagsHeader: string;
|
|
7980
|
+
createSubtaskLabel: string;
|
|
7981
|
+
selectGroupPlaceholder: string;
|
|
7982
|
+
defaultGroupName: string;
|
|
7983
|
+
pressEnterToCreate: string;
|
|
7965
7984
|
semiWeeklyDaysLabel: string;
|
|
7966
7985
|
semiWeeklyDaysExactlyTwo: string;
|
|
7967
7986
|
semiWeeklyDaysShort: {
|
|
@@ -7988,6 +8007,21 @@ declare class AppLocale {
|
|
|
7988
8007
|
monthly: string;
|
|
7989
8008
|
quarterly: string;
|
|
7990
8009
|
};
|
|
8010
|
+
descriptionEditorTooltip: {
|
|
8011
|
+
bold: string;
|
|
8012
|
+
italic: string;
|
|
8013
|
+
underline: string;
|
|
8014
|
+
link: string;
|
|
8015
|
+
bulletList: string;
|
|
8016
|
+
leftAlign: string;
|
|
8017
|
+
centerAlign: string;
|
|
8018
|
+
rightAlign: string;
|
|
8019
|
+
justifyAlign: string;
|
|
8020
|
+
indent: string;
|
|
8021
|
+
outdent: string;
|
|
8022
|
+
undo: string;
|
|
8023
|
+
redo: string;
|
|
8024
|
+
};
|
|
7991
8025
|
};
|
|
7992
8026
|
quickResponses: {
|
|
7993
8027
|
pageTitle: 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-BGnc2AAx.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-DI767zWh.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-DI767zWh.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";
|
|
@@ -4,8 +4,8 @@ export declare const toMenuOptionType: (v: string) => "bills" | "reports" | "rei
|
|
|
4
4
|
export declare const toMenuOptionTypeStrict: (v: string) => "bills" | "reports" | "reimbursements" | "vendors" | "forecast" | "ai_cfo" | "billing" | "home" | "treasury" | "cards" | "checking" | "users_and_roles" | "performance" | "rewards" | "command_center" | "company_settings" | "task_checklist" | "transaction_categorization" | "missing_receipts" | "je_schedules" | "flux_analysis" | "reconciliation" | undefined;
|
|
5
5
|
export type Menu = (typeof ALL_MENU_OPTIONS)[number];
|
|
6
6
|
export declare const ALL_SETTINGS_MENU_OPTIONS: readonly ["accounting", "approval_rules", "bank_connections", "billing", "business_verification", "company_details", "integrations", "my_profile", "my_bank_connections", "notifications"];
|
|
7
|
-
export declare const toSettingsMenuOptionType: (v: string) => "my_profile" | "accounting" | "billing" | "company_details" | "
|
|
8
|
-
export declare const toSettingsMenuOptionTypeStrict: (v: string) => "my_profile" | "accounting" | "billing" | "company_details" | "
|
|
7
|
+
export declare const toSettingsMenuOptionType: (v: string) => "my_profile" | "accounting" | "billing" | "company_details" | "integrations" | "approval_rules" | "bank_connections" | "business_verification" | "my_bank_connections" | "notifications";
|
|
8
|
+
export declare const toSettingsMenuOptionTypeStrict: (v: string) => "my_profile" | "accounting" | "billing" | "company_details" | "integrations" | "approval_rules" | "bank_connections" | "business_verification" | "my_bank_connections" | "notifications" | undefined;
|
|
9
9
|
export type SettingsMenu = (typeof ALL_SETTINGS_MENU_OPTIONS)[number];
|
|
10
10
|
export declare const ALL_AI_CFO_MENU_OPTIONS: readonly ["new_chat", "explore", "search_chats"];
|
|
11
11
|
export declare const toAiCfoMenuOptionType: (v: string) => "new_chat" | "explore" | "search_chats";
|
|
@@ -8,9 +8,31 @@ export interface ThreadsSectionProps {
|
|
|
8
8
|
autoFocus?: boolean;
|
|
9
9
|
cannedResponses?: CannedResponse[];
|
|
10
10
|
composerContainerStyle?: React.CSSProperties;
|
|
11
|
+
/**
|
|
12
|
+
* Extra controls overlaid on the Liveblocks composer's actions row
|
|
13
|
+
* (positioned to the right of the editor toolbar, before the send
|
|
14
|
+
* button). Pass null for no overlay.
|
|
15
|
+
*/
|
|
16
|
+
composerToolbarSlot?: React.ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* UI-hiding for "private" threads. When true, threads whose metadata has
|
|
19
|
+
* `visibility: "internal"` are dropped from the rendered list. Set this
|
|
20
|
+
* for non-Zeni viewers on the public Comments tab. NOT a security
|
|
21
|
+
* boundary — a tampered client can still query Liveblocks directly.
|
|
22
|
+
*/
|
|
23
|
+
hidePrivateThreads?: boolean;
|
|
11
24
|
indentContent?: boolean;
|
|
12
25
|
initialScrollToThreadId?: ID;
|
|
13
26
|
isCannedResponsesLoading?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* User IDs to pre-warm the mention picker / `resolveUsers` cache with —
|
|
29
|
+
* typically the task's assignees + direct_assignees passed in by the
|
|
30
|
+
* mounting screen. Combined with the union of every comment author
|
|
31
|
+
* across already-loaded threads, this lets the customer-side mention
|
|
32
|
+
* picker show real names for Zeni teammates instead of falling back to
|
|
33
|
+
* "Zeni Team". Idempotent; safe to pass an empty array.
|
|
34
|
+
*/
|
|
35
|
+
participantUserIdsToPrime?: ID[];
|
|
14
36
|
showActions?: boolean | "hover";
|
|
15
37
|
showAttachments?: boolean;
|
|
16
38
|
showDeleted?: boolean;
|
|
@@ -20,6 +42,12 @@ export interface ThreadsSectionProps {
|
|
|
20
42
|
threadsContainerStyle?: React.CSSProperties;
|
|
21
43
|
threadStyle?: React.CSSProperties;
|
|
22
44
|
onThreadClick: (threadMetadata: ThreadMetadata) => void;
|
|
45
|
+
/**
|
|
46
|
+
* Fires once Liveblocks has accepted a newly-submitted thread. Lets the
|
|
47
|
+
* parent reset transient composer state (e.g. the "Private" toggle) so
|
|
48
|
+
* the next thread doesn't inherit the previous comment's choice.
|
|
49
|
+
*/
|
|
50
|
+
onCommentSubmitted?: () => void;
|
|
23
51
|
onFetchCannedResponses?: () => void;
|
|
24
52
|
onManageTemplatesClick?: () => void;
|
|
25
53
|
}
|
|
@@ -6,6 +6,13 @@ export declare const getCompanyByCompanyIds: (companies: CompanyNameWithId[], ro
|
|
|
6
6
|
export declare const getCompanyIdFromRoomId: (roomId: ID) => ID | undefined;
|
|
7
7
|
export declare const getUsersByUserIdsUserPayload: (users: UserPayload[], userId: ID[]) => LiveBlocksUser[];
|
|
8
8
|
export declare const mapUsersPayloadToUsers: (usersPayloadList: UserPayload[], userIds: ID[]) => User[];
|
|
9
|
+
/**
|
|
10
|
+
* Merge a freshly-fetched LiveBlocksUser list into an existing cache by
|
|
11
|
+
* userId. Primed entries must survive: a blind replace erases the
|
|
12
|
+
* internal-teammate IDs that `primeCommentingUsers` injected, and the
|
|
13
|
+
* mention picker falls back to "Zeni Team" until the next prime cycle.
|
|
14
|
+
*/
|
|
15
|
+
export declare const mergeLiveBlocksUsers: (existing: LiveBlocksUser[], fetched: LiveBlocksUser[]) => LiveBlocksUser[];
|
|
9
16
|
export declare const toLiveBlocksUsers: (users: UserPayload[]) => LiveBlocksUser[];
|
|
10
17
|
export declare const getUsersByUserIdsFromLiveBlockUsers: (users: LiveBlocksUser[], userIds: ID[]) => LiveBlocksUser[];
|
|
11
18
|
export declare const filterAndReturnUserIds: (users: LiveBlocksUser[], text: string) => ID[];
|
|
@@ -32,6 +32,16 @@ export interface CollaborationProviderProps extends CollaborationRoomProviderPro
|
|
|
32
32
|
}
|
|
33
33
|
interface CollaborationInfoContextType {
|
|
34
34
|
allUsers: User[];
|
|
35
|
+
/**
|
|
36
|
+
* Pre-warm the mention picker / `resolveUsers` cache with the given
|
|
37
|
+
* Zeni-side user IDs (e.g. thread participants + task assignees).
|
|
38
|
+
* Without this, customers replying to a Zeni teammate's comment would
|
|
39
|
+
* see "Zeni Team" (the fallback) until the customer-side
|
|
40
|
+
* `commenting-users` fetch returned — which by design excludes internal
|
|
41
|
+
* users. Priming fills the gap by fetching the specific IDs we know
|
|
42
|
+
* are in play. Idempotent — already-cached IDs are skipped.
|
|
43
|
+
*/
|
|
44
|
+
primeCommentingUsers: (userIds: ID[]) => Promise<void>;
|
|
35
45
|
}
|
|
36
46
|
export declare const useCollaborationInfoContext: () => CollaborationInfoContextType;
|
|
37
47
|
export declare const CollaborationProvider: ({ children, roomId, authParams, authUrlEndPoint, commentingUsersUrlEndPoint, fetchZeniUsers, filter, users, companies, autoConnect, withThreadsProvider, withRoomProvider, threadsIndexStrategy: threadsIndexStrategyProp, loggedInUser, isZeniUser, }: PropsWithChildren<CollaborationProviderProps>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseMetadata, Json } from '@liveblocks/client';
|
|
2
|
-
import { ID, ReportIDPlusForecastID } from '@zeniai/client-epic-state';
|
|
2
|
+
import { ID, ReportIDPlusForecastID, TaskGroupScope } from '@zeniai/client-epic-state';
|
|
3
3
|
import { CockpitTabKeys } from '../../cockpit/common/cockpitCommonTypes';
|
|
4
4
|
import { CockpitOptionType } from '../../cockpit/common/cockpitTypes';
|
|
5
5
|
import { BillPayTabKeys } from '../../spendManagement/billPay/addOrEditBill/EditableBillDetailPageHelpers';
|
|
@@ -54,6 +54,14 @@ export interface ThreadMetadata extends BaseMetadata {
|
|
|
54
54
|
startNodeId?: ID;
|
|
55
55
|
startOffset?: number;
|
|
56
56
|
startPath?: string;
|
|
57
|
+
/**
|
|
58
|
+
* UI-hiding flag (NOT a security boundary). When set to "internal" the
|
|
59
|
+
* thread is filtered out of customer/external-user views in the Comments
|
|
60
|
+
* tab via ThreadsSection's hidePrivateThreads prop. A determined external
|
|
61
|
+
* user with browser devtools could still read the thread by querying
|
|
62
|
+
* Liveblocks directly — there's no per-thread ACL in Liveblocks today.
|
|
63
|
+
*/
|
|
64
|
+
visibility?: TaskGroupScope;
|
|
57
65
|
}
|
|
58
66
|
export type ThreadMetadataKeys = keyof ThreadMetadata;
|
|
59
67
|
export interface CockpitNoteData {
|
|
@@ -13,8 +13,9 @@ export interface Props {
|
|
|
13
13
|
dateFormat?: string;
|
|
14
14
|
inputStyles?: InputStyles;
|
|
15
15
|
minDate?: ZeniDate;
|
|
16
|
+
placeHolder?: JSX.Element;
|
|
16
17
|
registerOptions?: RegisterOptions;
|
|
17
18
|
style?: React.CSSProperties;
|
|
18
19
|
}
|
|
19
|
-
declare const ZeniDatePickerField: ({ name, defaultValue, registerOptions, dateFormat, style, inputStyles, minDate, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare const ZeniDatePickerField: ({ name, defaultValue, registerOptions, dateFormat, style, inputStyles, minDate, placeHolder, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
20
21
|
export default ZeniDatePickerField;
|
package/dist/components/formElements/creatableMultiSelectField/CreatableMultiSelectField.d.ts
CHANGED
|
@@ -24,6 +24,13 @@ export interface CreatableMultiSelectFieldProps {
|
|
|
24
24
|
isOptionRemovable?: boolean;
|
|
25
25
|
isStyledCapsule?: boolean;
|
|
26
26
|
maxAllowedSelectedValues?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Render the menu into a portal (e.g. document.body) so it isn't
|
|
29
|
+
* clipped by ancestor `overflow: scroll` / `overflow: hidden`
|
|
30
|
+
* containers. Pass `document.body` when used inside a scrollable
|
|
31
|
+
* panel.
|
|
32
|
+
*/
|
|
33
|
+
menuPortalTarget?: HTMLElement | null;
|
|
27
34
|
placeholder?: string;
|
|
28
35
|
placeholderComponent?: React.ReactElement;
|
|
29
36
|
registerOptions?: RegisterOptions;
|
|
@@ -31,7 +38,7 @@ export interface CreatableMultiSelectFieldProps {
|
|
|
31
38
|
onCreateOption?: (option: string) => void;
|
|
32
39
|
onDeleteOption?: (tagId: ID) => void;
|
|
33
40
|
}
|
|
34
|
-
declare const CreatableMultiSelectField: ({ name, registerOptions, defaultValue, maxAllowedSelectedValues, isLoading, isDisabled, customStyleConfig, placeholder, placeholderComponent, isListView, isStyledCapsule, onCreateOption, onDeleteOption, customCreateLabel, }: CreatableMultiSelectFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
declare const CreatableMultiSelectField: ({ name, registerOptions, defaultValue, maxAllowedSelectedValues, isLoading, isDisabled, customStyleConfig, placeholder, placeholderComponent, isListView, isStyledCapsule, onCreateOption, onDeleteOption, customCreateLabel, menuPortalTarget, }: CreatableMultiSelectFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
35
42
|
/**
|
|
36
43
|
* Helpers
|
|
37
44
|
*/
|
|
@@ -2,5 +2,10 @@ import { BillPayInfo, HistoricEvent } from '@zeniai/client-epic-state';
|
|
|
2
2
|
export interface HistoryContentProps {
|
|
3
3
|
historicActivities: HistoricEvent[];
|
|
4
4
|
billPayInfo?: BillPayInfo;
|
|
5
|
+
/**
|
|
6
|
+
* Show time alongside the date for each activity event. Default `false`
|
|
7
|
+
* preserves the "MMM D" format used by bill-pay and other consumers.
|
|
8
|
+
*/
|
|
9
|
+
showTime?: boolean;
|
|
5
10
|
}
|
|
6
11
|
export declare const HistoryContent: (activitySectionProps: HistoryContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CreateSubTaskPayload, ID, SnackbarMessageConfig, Tag, User, UserGroup } from '@zeniai/client-epic-state';
|
|
2
|
+
export interface SubtaskCreationFormProps {
|
|
3
|
+
parentTaskId: ID;
|
|
4
|
+
tagList: Tag[];
|
|
5
|
+
userGroupList: UserGroup[];
|
|
6
|
+
userList: User[];
|
|
7
|
+
isCreating?: boolean;
|
|
8
|
+
onCancel: () => void;
|
|
9
|
+
onSubmit: (data: CreateSubTaskPayload) => void;
|
|
10
|
+
onCreateTagClick?: (tagName: string) => void;
|
|
11
|
+
onShowToast?: (messageInfo: SnackbarMessageConfig) => void;
|
|
12
|
+
}
|
|
13
|
+
declare const SubtaskCreationForm: ({ tagList, userGroupList, userList, parentTaskId, isCreating, onCancel, onCreateTagClick, onShowToast, onSubmit, }: SubtaskCreationFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default SubtaskCreationForm;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ID, Tag, Task, User, UserGroup } from '@zeniai/client-epic-state';
|
|
2
|
+
export interface SubtaskDetailTableProps {
|
|
3
|
+
sectionId: string;
|
|
4
|
+
subtasks: Task[];
|
|
5
|
+
tagList: Tag[];
|
|
6
|
+
userGroupList: UserGroup[];
|
|
7
|
+
userList: User[];
|
|
8
|
+
showCreateSubtaskBar?: boolean;
|
|
9
|
+
onCreateSubtaskClick?: () => void;
|
|
10
|
+
onCreateTagClick?: (tagName: string) => void;
|
|
11
|
+
onRowClick?: (subtaskId: ID) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const SubtaskDetailTable: ({ subtasks, sectionId, userList, userGroupList, tagList, showCreateSubtaskBar, onCreateSubtaskClick, onCreateTagClick, onRowClick, }: SubtaskDetailTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Theme } from '@mui/material/styles';
|
|
2
2
|
import { ClientAnalytics } from '@zeniai/client-analytics';
|
|
3
|
-
import { AuthParams, CannedResponse, EditTaskLocalData, FetchState, FilePayload, ID, LoggedInUser, PriorityCodeType, Tag, TagViewSelectorView, TaskDetailSelectorView, TaskStatusCodeType, UserGroup } from '@zeniai/client-epic-state';
|
|
3
|
+
import { AuthParams, CannedResponse, EditTaskLocalData, FetchState, FilePayload, ID, LoggedInUser, PriorityCodeType, Tag, TagViewSelectorView, Task, TaskDetailSelectorView, TaskStatusCodeType, UserGroup } from '@zeniai/client-epic-state';
|
|
4
4
|
import { UserMultiSelectFieldValue } from '../cockpit/common/userMultiSelect/UserMultiSelectField';
|
|
5
5
|
import { RequestToOpenThreadType } from '../commentsAndNotes/utils/ThreadsProvider';
|
|
6
6
|
import { MultiSelectFieldValue } from '../formElements/creatableMultiSelectField/CreatableMultiSelectField';
|
|
@@ -8,7 +8,8 @@ import { RecurringViewType } from '../formElements/recurringView/RecurringView';
|
|
|
8
8
|
import { SingleSelectPickerFieldValue } from '../formElements/singleSelectPickerField/SingleSelectPickerField';
|
|
9
9
|
import { SingleSelectFieldValue } from '../singleSelect/SingleSelectField';
|
|
10
10
|
import { AttachmentFormData } from './AllTaskAttachments';
|
|
11
|
-
import {
|
|
11
|
+
import { TaskDetailSubtaskFormProps } from './TaskDetailSubtaskForm';
|
|
12
|
+
import { assigneeKey, statusKey, tagKey, taskDataKey, timeSpentKey } from './taskManagementFormConstants';
|
|
12
13
|
type TaskAttributeCodeType = TaskStatusCodeType | PriorityCodeType | ID;
|
|
13
14
|
declare const name = "name";
|
|
14
15
|
declare const description = "description";
|
|
@@ -19,6 +20,7 @@ declare const priority = "priority";
|
|
|
19
20
|
declare const tag = "tag";
|
|
20
21
|
declare const fileIds = "fileIds";
|
|
21
22
|
declare const taskSectionId = "taskDetail";
|
|
23
|
+
declare const subtaskDetailSectionId = "subtaskDetailRows";
|
|
22
24
|
declare const taskType = "taskType";
|
|
23
25
|
declare const recurringView = "recurringView";
|
|
24
26
|
declare const visibility = "visibility";
|
|
@@ -37,10 +39,18 @@ export interface TaskDetailFormData {
|
|
|
37
39
|
[visibility]?: string;
|
|
38
40
|
}
|
|
39
41
|
type FormDataKeys = keyof TaskDetailFormData;
|
|
42
|
+
export interface SubtaskInlineFieldData {
|
|
43
|
+
[assigneeKey]: UserMultiSelectFieldValue;
|
|
44
|
+
[statusKey]: SingleSelectPickerFieldValue;
|
|
45
|
+
[tagKey]: MultiSelectFieldValue;
|
|
46
|
+
}
|
|
40
47
|
export interface FormData {
|
|
41
48
|
[taskSectionId]: TaskDetailFormData;
|
|
49
|
+
[subtaskDetailSectionId]?: {
|
|
50
|
+
[taskDataKey]: Record<string, SubtaskInlineFieldData>;
|
|
51
|
+
};
|
|
42
52
|
}
|
|
43
|
-
declare const uniqueName: (sectionId: string, key: FormDataKeys) => `${string}.fileIds` | `${string}.name` | `${string}.status` | `${string}.
|
|
53
|
+
declare const uniqueName: (sectionId: string, key: FormDataKeys) => `${string}.fileIds` | `${string}.name` | `${string}.status` | `${string}.priority` | `${string}.dueDate` | `${string}.timeSpent` | `${string}.description` | `${string}.assignee` | `${string}.tag` | `${string}.taskType` | `${string}.recurringView` | `${string}.visibility`;
|
|
44
54
|
export type FormDataKeyUniqueNames = ReturnType<typeof uniqueName>;
|
|
45
55
|
export declare const uniqueFormName: (sectionId: ID) => `${string}_form`;
|
|
46
56
|
export interface TaskDetailPageProps {
|
|
@@ -64,7 +74,15 @@ export interface TaskDetailPageProps {
|
|
|
64
74
|
isTaskSnoozeEnabled?: boolean;
|
|
65
75
|
isTaskVisibilityEnabled?: boolean;
|
|
66
76
|
isZeniUser?: boolean;
|
|
77
|
+
/** Parent task ref for the breadcrumb on subtask detail pages.
|
|
78
|
+
* Set when the current task has a parent_task_id. */
|
|
79
|
+
parentTaskRef?: {
|
|
80
|
+
id: ID;
|
|
81
|
+
name: string;
|
|
82
|
+
};
|
|
67
83
|
recurringSourceTaskUrl?: string;
|
|
84
|
+
subTaskCreateStatus?: FetchState;
|
|
85
|
+
subtasks?: Task[];
|
|
68
86
|
taskDetailFetchState?: FetchState;
|
|
69
87
|
taskGroupList?: Array<{
|
|
70
88
|
id: ID;
|
|
@@ -87,8 +105,23 @@ export interface TaskDetailPageProps {
|
|
|
87
105
|
onSnoozeTask: (taskId: ID, snoozedUntil: string) => void;
|
|
88
106
|
onUnsnoozeTask: (taskId: ID) => void;
|
|
89
107
|
updateFilesEntity: (files: FilePayload[]) => void;
|
|
108
|
+
/** Fires when the user submits the full subtask form (Figma fields:
|
|
109
|
+
* name, status, priority, assignees, due date, tags, time spent).
|
|
110
|
+
* Wired to `createSubTask` in TaskDetailScreen. When omitted, the
|
|
111
|
+
* "+ Add subtask" affordance is hidden. */
|
|
112
|
+
onCreateSubtask?: (parentTaskId: ID, data: Parameters<TaskDetailSubtaskFormProps["onSubmit"]>[0]) => void;
|
|
90
113
|
onFetchCannedResponses?: () => void;
|
|
91
114
|
onManageTemplatesClick?: () => void;
|
|
115
|
+
/** Fires when the user clicks the parent-task breadcrumb on a subtask
|
|
116
|
+
* detail page. */
|
|
117
|
+
onParentBreadcrumbClick?: (parentTaskId: ID) => void;
|
|
118
|
+
/** Fires when the user clicks a subtask row in the parent's SUBTASKS
|
|
119
|
+
* section — navigates to the subtask detail page. */
|
|
120
|
+
onSubtaskRowClick?: (subtaskId: ID) => void;
|
|
121
|
+
/** Wired to updateTaskFromListView in TaskDetailScreen — propagates inline
|
|
122
|
+
* edits on subtask rows (status, assignee, tag, priority, due date,
|
|
123
|
+
* time-spent) the same way the task-list page does. */
|
|
124
|
+
onSubtaskUpdate?: (task: Task, updates: Partial<Task>) => void;
|
|
92
125
|
}
|
|
93
126
|
export declare const getLabelColor: (value: TaskAttributeCodeType, theme?: Theme) => string;
|
|
94
127
|
export declare const getRichLabel: (value: TaskAttributeCodeType, theme: Theme) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -97,5 +130,5 @@ export declare const getTagList: (tagList: Tag[]) => {
|
|
|
97
130
|
value: string;
|
|
98
131
|
isDeleted: boolean | undefined;
|
|
99
132
|
}[];
|
|
100
|
-
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, recurringSourceTaskUrl, }: TaskDetailPageProps) => import("react/jsx-runtime").JSX.Element;
|
|
133
|
+
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;
|
|
101
134
|
export default TaskDetailPage;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ResponsiveSized } from '../../context/windowSizeProvider';
|
|
2
|
+
/**
|
|
3
|
+
* Responsive sizing tokens used by the TaskDetailPage layout and its
|
|
4
|
+
* styled-component primitives.
|
|
5
|
+
*/
|
|
6
|
+
export declare const dimensions: {
|
|
7
|
+
controlHeight: ResponsiveSized;
|
|
8
|
+
height: ResponsiveSized;
|
|
9
|
+
paddingTopBottom: ResponsiveSized;
|
|
10
|
+
navBarContainerPaddingXaxis: ResponsiveSized;
|
|
11
|
+
marginRight: ResponsiveSized;
|
|
12
|
+
labelWidth: ResponsiveSized;
|
|
13
|
+
largeLabelWidth: ResponsiveSized;
|
|
14
|
+
marginBottom: ResponsiveSized;
|
|
15
|
+
rowContentPaddingLeft: ResponsiveSized;
|
|
16
|
+
labelMarginRight: ResponsiveSized;
|
|
17
|
+
labelMarginTop: ResponsiveSized;
|
|
18
|
+
containerPaddingLeft: ResponsiveSized;
|
|
19
|
+
containerPaddingRight: ResponsiveSized;
|
|
20
|
+
};
|