@zeniai/web-components 4.3.68 → 4.3.70

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 (51) hide show
  1. package/dist/{SessionTimeoutPopup-Boc-BbqY.js → SessionTimeoutPopup-BfuAOo5L.js} +94717 -91991
  2. package/dist/{SessionTimeoutPopup--NB-YNOH.cjs → SessionTimeoutPopup-Cg5FQkBJ.cjs} +17447 -16482
  3. package/dist/appLocale.d.ts +146 -0
  4. package/dist/cockpit.cjs.js +2 -2
  5. package/dist/cockpit.esm.js +168 -166
  6. package/dist/components/aiCfo/AiCfoPage.d.ts +68 -0
  7. package/dist/components/aiCfo/components/AiCfoCombobox.d.ts +24 -0
  8. package/dist/components/aiCfo/components/AiCfoRoutineDetail.d.ts +29 -0
  9. package/dist/components/aiCfo/components/AiCfoRoutineEditor.d.ts +46 -0
  10. package/dist/components/aiCfo/components/AiCfoRoutineRunsPanel.d.ts +42 -0
  11. package/dist/components/aiCfo/components/AiCfoRoutinesBrowser.d.ts +41 -0
  12. package/dist/components/aiCfo/components/AiCfoScrollArea.d.ts +11 -0
  13. package/dist/components/aiCfo/components/helpers/aiCfoRoutines.d.ts +197 -0
  14. package/dist/components/aiCfo/stories/hooks/useAiCfoStreamingState.d.ts +1 -0
  15. package/dist/components/appDrawerContent/AiCfoMenuContent.d.ts +29 -1
  16. package/dist/components/appDrawerContent/AppDrawerContent.d.ts +8 -1
  17. package/dist/components/appDrawerContent/MenuButton.d.ts +4 -3
  18. package/dist/components/appDrawerContent/MenuList.d.ts +8 -1
  19. package/dist/components/appDrawerContent/appDrawerContent.helpers.d.ts +5 -0
  20. package/dist/components/common/Picker.d.ts +7 -1
  21. package/dist/components/{transactionDetail/TransactionSidePanelLayout.d.ts → common/sidePanel/SidePanelLayout.d.ts} +17 -2
  22. package/dist/components/commonSetUp/approval/ApprovalStageRow.d.ts +24 -0
  23. package/dist/components/commonSetUp/approval/ApprovalStagesSection.d.ts +9 -1
  24. package/dist/components/commonSetUp/approval/ConditionRow.d.ts +7 -4
  25. package/dist/components/expenseAutomation/ExpenseAutomationPage.d.ts +15 -0
  26. package/dist/components/expenseAutomation/sections/jeSchedules/JESchedulePage.d.ts +15 -2
  27. package/dist/components/expenseAutomation/sections/jeSchedules/accrualDetail/JEOneTimeAccrualDetailPage.d.ts +8 -4
  28. package/dist/components/expenseAutomation/sections/jeSchedules/list/jeScheduleConfig.d.ts +12 -1
  29. package/dist/components/expenseAutomation/sections/jeSchedules/list/jeScheduleListRow.helpers.d.ts +9 -1
  30. package/dist/components/expenseAutomation/sections/jeSchedules/list/useJEScheduleRowClick.d.ts +13 -0
  31. package/dist/components/expenseAutomation/sections/jeSchedules/sections/JEExistingSection.d.ts +11 -1
  32. package/dist/components/expenseAutomation/sections/jeSchedules/sections/JESchedulesSection.d.ts +11 -1
  33. package/dist/components/expenseAutomation/sections/missingReceipts/completedTab/CompletedTab.d.ts +1 -1
  34. package/dist/components/expenseAutomation/sections/missingReceipts/missingReceiptsSidePanelListMargin.d.ts +1 -1
  35. package/dist/components/expenseAutomation/sections/missingReceipts/missingTab/MissingReceiptsListTable.d.ts +1 -1
  36. package/dist/components/invoicing/catalogForm/catalogItemForm.shared.d.ts +1 -0
  37. package/dist/components/jeSchedules/scheduleDetails/ScheduleDetailsAccruedExpensesPage.d.ts +4 -1
  38. package/dist/components/jeSchedules/scheduleDetails/ScheduleDetailsFixedAssetsPage.d.ts +4 -1
  39. package/dist/components/jeSchedules/scheduleDetails/ScheduleDetailsPage.d.ts +4 -1
  40. package/dist/components/singleSelect/SingleSelect.d.ts +8 -1
  41. package/dist/components/singleSelect/SingleSelectField.d.ts +3 -1
  42. package/dist/components/spendManagement/activitySection/activitySectionUtil.d.ts +1 -0
  43. package/dist/components/spendManagement/billPay/billPaySetUp/components/formElements/UserMultiSelect.d.ts +35 -1
  44. package/dist/components/spendManagement/billPay/billPaySetUp/components/formElements/UserMultiSelectField.d.ts +9 -1
  45. package/dist/context/SidePanelContext.d.ts +25 -11
  46. package/dist/index.cjs.js +1 -1
  47. package/dist/index.d.ts +5 -3
  48. package/dist/index.esm.js +258 -256
  49. package/dist/strings/strings.d.ts +146 -0
  50. package/package.json +5 -5
  51. /package/dist/components/{transactionDetail → common/sidePanel}/panelSelectedMixin.d.ts +0 -0
@@ -1,14 +1,14 @@
1
- import { f9 as o, iF as Re, m as vt, hi as Z, fK as Bt, c0 as $s, a6 as _e, fP as $u, hE as Cu, hP as wu, aM as I, hH as B, eV as vu, jh as xe, j1 as vo, gl as ct, aO as Zt, dy as wa, E as Vo, ga as _i, dt as Uo, fM as Vi, f$ as Su, jj as Ui, bo as _c, j3 as Vc, fl as lo, fi as Ne, hO as Uc, g6 as Bo, eW as va, dn as We, iU as ju, bm as ku, bI as Qt, bj as Tu, fI as Kc, hX as Pu, bw as Ki, S as Hi, i9 as Iu, ia as Lu, ib as Au, aN as Ou, dL as Du, dl as yt, fO as Hc, dV as Ru, fy as Cs, g4 as Gi, iD as z, eP as Eu, bV as Nu, f0 as Se, fE as Mu, eF as N, T as On, e5 as Gc, e6 as rs, e4 as Yc, c3 as zu, dB as Fu, ft as Bu, c4 as ss, eZ as ws, c6 as Pi, e9 as Sa, e7 as Wu, e8 as _u, c5 as Ns, c2 as Ms, c7 as Vu, dW as Ue, iG as ht, fu as Yi, bY as is, f1 as Uu, fF as Zi, bJ as vs, io as Le, c1 as Ss, fG as Zc, fY as Qc, fT as $r, hA as Yt, gn as lt, fe as Mn, dq as Ku, ds as Jc, fJ as Xc, aZ as wo, aX as Wo, aY as _o, ba as qc, g3 as js, fQ as Qi, f5 as zn, hQ as Mt, hg as ot, gJ as as, hc as Hu, gj as Fn, gk as Bn, p as Wn, hv as un, fr as hn, dm as ks, fN as Ji, dr as Gu, fH as So, fL as mn, bu as ao, hb as ja, i5 as Yu, hV as Zu, h$ as Qu, fS as Ju, g9 as Xu, g8 as Cr, ff as qu, fg as Xi, hR as eh, fR as ed, fX as td, fW as od, bF as nd, iy as th, df as ka, dg as qi, da as oh, de as nh, bZ as wr, bG as _n, fV as ea, aQ as rh, hK as wt, f6 as rd, dd as ls, dj as sh, bE as ta, d6 as ih, eG as Rn, fD as ah, fC as lh, fz as ch, d8 as Ts, eX as Ta, db as sd, j8 as cs, dX as id, fw as ad, hF as oa, d9 as dh, bK as so, a$ as Et, f_ as ld, fm as ph, dw as cd, g0 as uh, fk as hh, b0 as eo, im as Ir, bO as mh, jf as gh, di as oo, bb as dd, eY as Pa, dc as xh, dh as yh, er as Ia, g as fh, dZ as bh, fA as $h, iT as Ch, iZ as pd, j2 as ud, bN as io, aa as Ps, ab as En, j4 as hd, i0 as md, bp as wh, dC as vh, ic as Sh, dQ as gd, dP as jh, i6 as kh, dG as ds, aH as xd, dF as Th, s as Ph, dE as Ih, bt as Lh, dD as na, hS as yd, bT as fd, hk as bd, o as $d, gh as Cd, bU as Ah, F as wd, bX as vd, gK as Oh, fd as Dh, iY as Rh, dN as Eh, hW as Nh, hT as Mh, a5 as zh, eC as La, h_ as Fh, g7 as Sd, i8 as Aa, dR as Bh, dp as Wh, fj as _h, fU as Vh, fZ as Uh, fB as Kh, hs as Oa, g2 as Hh, f7 as jd, f2 as Gh, hz as kd, bv as Yh, fn as Zh, bH as Qh, bL as Jh, f3 as Td, g1 as Xh, dk as qh, g5 as em, e$ as tm, f4 as Pd, fh as om, bM as nm, e_ as rm } from "./SessionTimeoutPopup-Boc-BbqY.js";
2
- import { A as OO, a as DO, b as RO, c as EO, d as NO, e as MO, f as zO, h as FO, i as BO, j as WO, k as _O, l as VO, n as UO, q as KO, r as HO, t as GO, u as YO, v as ZO, w as QO, x as JO, y as XO, z as qO, B as eD, C as tD, D as oD, G as nD, H as rD, I as sD, J as iD, K as aD, L as lD, M as cD, N as dD, O as pD, P as uD, Q as hD, R as mD, U as gD, V as xD, W as yD, X as fD, Y as bD, Z as $D, _ as CD, $ as wD, a0 as vD, fc as SD, a1 as jD, a2 as kD, a3 as TD, a4 as PD, a7 as ID, a8 as LD, a9 as AD, ac as OD, ad as DD, ae as RD, af as ED, ag as ND, ah as MD, ai as zD, aj as FD, ak as BD, al as WD, am as _D, an as VD, ao as UD, ap as KD, aq as HD, ar as GD, as as YD, at as ZD, au as QD, av as JD, aw as XD, ax as qD, ay as eR, az as tR, aA as oR, aB as nR, fc as rR, aC as sR, aD as iR, aE as aR, aF as lR, aG as cR, aI as dR, aJ as pR, aK as uR, aL as hR, aP as mR, aR as gR, aS as xR, aT as yR, aU as fR, aV as bR, aW as $R, a_ as CR, b1 as wR, b2 as vR, b3 as SR, b4 as jR, b5 as kR, b6 as TR, b7 as PR, b8 as IR, b9 as LR, bc as AR, bd as OR, be as DR, bf as RR, bg as ER, bh as NR, bi as MR, bk as zR, bn as FR, bq as BR, br as WR, bs as _R, bx as VR, by as UR, bz as KR, bA as HR, bB as GR, bC as YR, bD as ZR, bP as QR, bQ as JR, bR as XR, bS as qR, bW as eE, b_ as tE, b$ as oE, c8 as nE, c9 as rE, ca as sE, cb as iE, cc as aE, cd as lE, ce as cE, cf as dE, cg as pE, ch as uE, ci as hE, cj as mE, ck as gE, cl as xE, cm as yE, cn as fE, co as bE, cp as $E, cq as CE, cr as wE, cs as vE, ct as SE, cu as jE, cv as kE, cw as TE, cx as PE, cy as IE, cz as LE, cA as AE, cB as OE, cC as DE, cD as RE, cE as EE, cF as NE, cG as ME, cH as zE, cI as FE, cJ as BE, cK as WE, cL as _E, cM as VE, cN as UE, cO as KE, cP as HE, cQ as GE, cR as YE, cS as ZE, cT as QE, cU as JE, cV as XE, cW as qE, cX as eN, cY as tN, cZ as oN, c_ as nN, c_ as rN, c$ as sN, d0 as iN, d1 as aN, d2 as lN, d3 as cN, d4 as dN, d5 as pN, d7 as uN, du as hN, dv as mN, dx as gN, dz as xN, dA as yN, dH as fN, dI as bN, dJ as $N, dK as CN, dM as wN, dO as vN, dS as SN, dT as jN, dU as kN, dY as TN, d_ as PN, d$ as IN, e0 as LN, e1 as AN, e2 as ON, e3 as DN, ea as RN, eb as EN, ec as NN, ed as MN, ee as zN, ef as FN, eg as BN, eh as WN, ei as _N, ej as VN, ek as UN, el as KN, em as HN, en as GN, eo as YN, ep as ZN, eq as QN, es as JN, et as XN, bl as qN, eu as eM, ev as tM, ew as oM, ex as nM, ey as rM, ez as sM, eA as iM, fc as aM, eD as lM, eB as cM, eE as dM, eH as pM, eI as uM, eJ as hM, eK as mM, eL as gM, eM as xM, eN as yM, eO as fM, eQ as bM, eR as $M, eS as CM, eT as wM, eU as vM, f8 as SM, fa as jM, fb as kM, fo as TM, fp as PM, fq as IM, fs as LM, fv as AM, fx as OM, gb as DM, gc as RM, gd as EM, ge as NM, gf as MM, gg as zM, gi as FM, gm as BM, go as WM, gp as _M, gq as VM, gr as UM, gs as KM, gt as HM, gu as GM, gv as YM, gw as ZM, gx as QM, gy as JM, gz as XM, gA as qM, gB as ez, gC as tz, gD as oz, gE as nz, gF as rz, gG as sz, gH as iz, gI as az, gL as lz, gM as cz, gN as dz, gO as pz, gP as uz, gQ as hz, gR as mz, gS as gz, gT as xz, gU as yz, gV as fz, gW as bz, gX as $z, gY as Cz, gZ as wz, g_ as vz, g$ as Sz, h0 as jz, h1 as kz, h2 as Tz, h3 as Pz, h4 as Iz, h5 as Lz, h6 as Az, h7 as Oz, h8 as Dz, h9 as Rz, ha as Ez, hd as Nz, he as Mz, hf as zz, hh as Fz, hj as Bz, hl as Wz, hm as _z, hn as Vz, ho as Uz, hp as Kz, hq as Hz, hr as Gz, ht as Yz, hu as Zz, hw as Qz, hx as Jz, hy as Xz, hB as qz, hD as eF, hC as tF, hG as oF, hI as nF, hJ as rF, hL as sF, hM as iF, hN as aF, hU as lF, hY as cF, hZ as dF, i1 as pF, i2 as uF, i3 as hF, i4 as mF, i7 as gF, id as xF, ie as yF, ig as fF, ih as bF, ii as $F, ij as CF, ik as wF, il as vF, ip as SF, iq as jF, ir as kF, is as TF, it as PF, iu as IF, iv as LF, iw as AF, ix as OF, iz as DF, iA as RF, iB as EF, iC as NF, iE as MF, iH as zF, iI as FF, iJ as BF, iK as WF, iL as _F, iM as VF, iN as UF, iO as KF, iP as HF, iQ as GF, iR as YF, iS as ZF, iV as QF, iW as JF, iX as XF, i_ as qF, i$ as eB, j0 as tB, j5 as oB, j6 as nB, j7 as rB, j9 as sB, ja as iB, jb as aB, jc as lB, jd as cB, je as dB, jg as pB, ji as uB, jk as hB, jl as mB } from "./SessionTimeoutPopup-Boc-BbqY.js";
1
+ import { fa as o, iH as Re, m as vt, hh as Z, fL as Bt, c0 as $s, a6 as _e, fQ as $u, hE as Cu, hP as wu, aM as I, hH as B, eW as vu, jj as xe, j3 as vo, gm as ct, aO as Zt, dy as wa, E as Vo, gb as _i, dt as Uo, fN as Vi, g0 as Su, jl as Ui, bo as _c, j5 as Vc, fm as lo, fj as Ne, hO as Uc, g7 as Bo, eX as va, dn as We, iW as ju, bm as ku, bI as Qt, bj as Tu, fJ as Kc, hX as Pu, bw as Ki, S as Hi, i9 as Iu, ia as Lu, ib as Au, aN as Ou, dL as Du, dl as yt, fP as Hc, dV as Ru, fz as Cs, g5 as Gi, iF as z, eP as Eu, bV as Nu, f1 as Se, fF as Mu, eG as N, T as On, e5 as Gc, e6 as rs, e4 as Yc, c3 as zu, dB as Fu, fu as Bu, c4 as ss, e_ as ws, c6 as Pi, e9 as Sa, e7 as Wu, e8 as _u, c5 as Ns, c2 as Ms, c7 as Vu, dW as Ue, iI as ht, fv as Yi, bY as is, f2 as Uu, fG as Zi, bJ as vs, io as Le, c1 as Ss, fH as Zc, fZ as Qc, fU as $r, hz as Yt, go as lt, ff as Mn, dq as Ku, ds as Jc, fK as Xc, aZ as wo, aX as Wo, aY as _o, ba as qc, g4 as js, fR as Qi, f6 as zn, hQ as Mt, hf as ot, gI as as, hb as Hu, gk as Fn, gl as Bn, p as Wn, hu as un, fs as hn, dm as ks, fO as Ji, dr as Gu, fI as So, fM as mn, bu as ao, ha as ja, i5 as Yu, hV as Zu, h$ as Qu, fT as Ju, ga as Xu, g9 as Cr, fg as qu, fh as Xi, hR as eh, fS as ed, fY as td, fX as od, bF as nd, iz as th, df as ka, dg as qi, da as oh, de as nh, bZ as wr, bG as _n, fW as ea, aQ as rh, hK as wt, f7 as rd, dd as ls, dj as sh, bE as ta, d6 as ih, eH as Rn, fE as ah, fD as lh, fA as ch, d8 as Ts, eY as Ta, db as sd, jb as cs, dX as id, fx as ad, hF as oa, d9 as dh, bK as so, a$ as Et, f$ as ld, fn as ph, dw as cd, g1 as uh, fl as hh, b0 as eo, im as Ir, bO as mh, ji as gh, di as oo, bb as dd, eZ as Pa, dc as xh, dh as yh, es as Ia, g as fh, dZ as bh, fB as $h, iV as Ch, i$ as pd, j4 as ud, bN as io, aa as Ps, ab as En, j6 as hd, i0 as md, bp as wh, dC as vh, ic as Sh, dQ as gd, dP as jh, i6 as kh, dG as ds, aH as xd, dF as Th, s as Ph, dE as Ih, bt as Lh, dD as na, hS as yd, bT as fd, hj as bd, o as $d, gi as Cd, bU as Ah, F as wd, bX as vd, gJ as Oh, fe as Dh, i_ as Rh, dN as Eh, hW as Nh, hT as Mh, a5 as zh, eD as La, h_ as Fh, g8 as Sd, i8 as Aa, dR as Bh, dp as Wh, fk as _h, fV as Vh, f_ as Uh, fC as Kh, hr as Oa, g3 as Hh, f8 as jd, f3 as Gh, hy as kd, bv as Yh, fo as Zh, bH as Qh, bL as Jh, f4 as Td, g2 as Xh, dk as qh, g6 as em, f0 as tm, f5 as Pd, fi as om, bM as nm, e$ as rm } from "./SessionTimeoutPopup-BfuAOo5L.js";
2
+ import { A as OO, a as DO, b as RO, c as EO, d as NO, e as MO, f as zO, h as FO, i as BO, j as WO, k as _O, l as VO, n as UO, q as KO, r as HO, t as GO, u as YO, v as ZO, w as QO, x as JO, y as XO, z as qO, B as eD, C as tD, D as oD, G as nD, H as rD, I as sD, J as iD, K as aD, L as lD, M as cD, N as dD, O as pD, P as uD, Q as hD, R as mD, U as gD, V as xD, W as yD, X as fD, Y as bD, Z as $D, _ as CD, $ as wD, a0 as vD, fd as SD, a1 as jD, a2 as kD, a3 as TD, a4 as PD, a7 as ID, a8 as LD, a9 as AD, ac as OD, ad as DD, ae as RD, af as ED, ag as ND, ah as MD, ai as zD, aj as FD, ak as BD, al as WD, am as _D, an as VD, ao as UD, ap as KD, aq as HD, ar as GD, as as YD, at as ZD, au as QD, av as JD, aw as XD, ax as qD, ay as eR, az as tR, aA as oR, aB as nR, fd as rR, aC as sR, aD as iR, aE as aR, aF as lR, aG as cR, aI as dR, aJ as pR, aK as uR, aL as hR, aP as mR, aR as gR, aS as xR, aT as yR, aU as fR, aV as bR, aW as $R, a_ as CR, b1 as wR, b2 as vR, b3 as SR, b4 as jR, b5 as kR, b6 as TR, b7 as PR, b8 as IR, b9 as LR, bc as AR, bd as OR, be as DR, bf as RR, bg as ER, bh as NR, bi as MR, bk as zR, bn as FR, bq as BR, br as WR, bs as _R, bx as VR, by as UR, bz as KR, bA as HR, bB as GR, bC as YR, bD as ZR, bP as QR, bQ as JR, bR as XR, bS as qR, bW as eE, b_ as tE, b$ as oE, c8 as nE, c9 as rE, ca as sE, cb as iE, cc as aE, cd as lE, ce as cE, cf as dE, cg as pE, ch as uE, ci as hE, cj as mE, ck as gE, cl as xE, cm as yE, cn as fE, co as bE, cp as $E, cq as CE, cr as wE, cs as vE, ct as SE, cu as jE, cv as kE, cw as TE, cx as PE, cy as IE, cz as LE, cA as AE, cB as OE, cC as DE, cD as RE, cE as EE, cF as NE, cG as ME, cH as zE, cI as FE, cJ as BE, cK as WE, cL as _E, cM as VE, cN as UE, cO as KE, cP as HE, cQ as GE, cR as YE, cS as ZE, cT as QE, cU as JE, cV as XE, cW as qE, cX as eN, cY as tN, cZ as oN, c_ as nN, c_ as rN, c$ as sN, d0 as iN, d1 as aN, d2 as lN, d3 as cN, d4 as dN, d5 as pN, d7 as uN, du as hN, dv as mN, dx as gN, dz as xN, dA as yN, dH as fN, dI as bN, dJ as $N, dK as CN, dM as wN, dO as vN, dS as SN, dT as jN, dU as kN, dY as TN, d_ as PN, d$ as IN, e0 as LN, e1 as AN, e2 as ON, e3 as DN, ea as RN, eb as EN, ec as NN, ed as MN, ee as zN, ef as FN, eg as BN, eh as WN, ei as _N, ej as VN, ek as UN, el as KN, em as HN, en as GN, eo as YN, ep as ZN, eq as QN, er as JN, et as XN, eu as qN, bl as eM, ev as tM, ew as oM, ex as nM, ey as rM, ez as sM, eA as iM, eB as aM, fd as lM, eE as cM, eC as dM, eF as pM, eI as uM, eJ as hM, eK as mM, eL as gM, eM as xM, eN as yM, eO as fM, eQ as bM, eR as $M, eS as CM, eT as wM, eU as vM, eV as SM, f9 as jM, fb as kM, fc as TM, fp as PM, fq as IM, fr as LM, ft as AM, fw as OM, fy as DM, gc as RM, gd as EM, ge as NM, gf as MM, gg as zM, gh as FM, gj as BM, gn as WM, gp as _M, gq as VM, gr as UM, gs as KM, gt as HM, gu as GM, gv as YM, gw as ZM, gx as QM, gy as JM, gz as XM, gA as qM, gB as ez, gC as tz, gD as oz, gE as nz, gF as rz, gG as sz, gH as iz, gK as az, gL as lz, gM as cz, gN as dz, gO as pz, gP as uz, gQ as hz, gR as mz, gS as gz, gT as xz, gU as yz, gV as fz, gW as bz, gX as $z, gY as Cz, gZ as wz, g_ as vz, g$ as Sz, h0 as jz, h1 as kz, h2 as Tz, h3 as Pz, h4 as Iz, h5 as Lz, h6 as Az, h7 as Oz, h8 as Dz, h9 as Rz, hc as Ez, hd as Nz, he as Mz, hg as zz, hi as Fz, hk as Bz, hl as Wz, hm as _z, hn as Vz, ho as Uz, hp as Kz, hq as Hz, hs as Gz, ht as Yz, hv as Zz, hw as Qz, hx as Jz, hA as Xz, hD as qz, hB as eF, hC as tF, hG as oF, hI as nF, hJ as rF, hL as sF, hM as iF, hN as aF, hU as lF, hY as cF, hZ as dF, i1 as pF, i2 as uF, i3 as hF, i4 as mF, i7 as gF, id as xF, ie as yF, ig as fF, ih as bF, ii as $F, ij as CF, ik as wF, il as vF, ip as SF, iq as jF, ir as kF, is as TF, it as PF, iu as IF, iv as LF, iw as AF, ix as OF, iy as DF, iA as RF, iB as EF, iC as NF, iD as MF, iE as zF, iG as FF, iJ as BF, iK as WF, iL as _F, iM as VF, iN as UF, iO as KF, iP as HF, iQ as GF, iR as YF, iS as ZF, iT as QF, iU as JF, iX as XF, iY as qF, iZ as eB, j0 as tB, j1 as oB, j2 as nB, j7 as rB, j8 as sB, j9 as iB, ja as aB, jc as lB, jd as cB, je as dB, jf as pB, jg as uB, jh as hB, jk as mB, jm as gB, jn as xB } from "./SessionTimeoutPopup-BfuAOo5L.js";
3
3
  import { am as t, D as sm, a2 as im, aN as He, q as Vn, O as st, L as am, s as lm, T as cm, aJ as jo, ab as pn, i as Un, o as Is, f as co, h as ye, aI as ko, Z as gn, m as To, J as xn, b as po, V as yn, af as nt, I as Id, X as dm, ap as Kt, aH as pm, k as ra, C as Ld, n as um, d as hm, e as sa, B as ia, au as Da } from "./vendor-.pnpm-DP641zlu.js";
4
- import { aC as xB } from "./vendor-.pnpm-DP641zlu.js";
4
+ import { aC as fB } from "./vendor-.pnpm-DP641zlu.js";
5
5
  import * as ge from "react";
6
6
  import vr, { useEffect as te, useState as _, useMemo as Qe, useCallback as oe, useContext as Je, useRef as Ce, forwardRef as Ot, Fragment as Ad, memo as Sr, createContext as fn, Suspense as mm, createElement as Od } from "react";
7
7
  import r from "@emotion/styled";
8
- import { default as fB } from "@emotion/styled";
8
+ import { default as $B } from "@emotion/styled";
9
9
  import { useInboxNotificationThread as gm, useInboxNotifications as Dd, useMarkInboxNotificationAsRead as xm, RoomProvider as uo, useCreateThread as ym } from "@liveblocks/react";
10
10
  import { zeniDate as At, stringToUnion as fm, stringToUnionStrict as bm, isAllowedValueWithCode as $m, dateNow as xt, canSendMonthEndEmailReport as Cm, shouldEnableCalendarPickerForLastReportSent as wm, toManagementSortKeyType as Rd, toUserRoleType as zs, toTaskManagerSortKeyType as Ed, allTaskPriority as Nd, allTaskStatus as vm, getUserName as Ii, toHealthSortKeyType as Sm, isCompanyRunwayInfinite as Li, companyHealthMetricDropDownOptions as Md, hasCompanyHealthMetricFormFieldChanged as jm, toSubscriptionSortKeyType as zd, toPortfolioSortKeyType as Fd, getAllowedOperationsForStatus as km, toOnboardingSortKeyType as Bd, isTenantBankingOnly as Tm, ALL_ACCOUNTING_CONNECTION_CREATION_MODES as Pm, toProductTypeStrict as Im, mapAttachmentFileToAttachmentFilePayload as Wd, SUPPORTED_ATTACHMENT_FILE_TYPES as Lm, toSupportedAttachmentFileType as Am, getAttachmentFileIdByFileName as Om, dateFromYearMonthDate as Dm, getBusinessDayOfDate as Rm, toReviewColumnKeyType as Em, getAuditWarningsCount as _d, getUserFromAllUsers as Nm } from "@zeniai/client-epic-state";
11
- import { buildInvoicingEntityPath as $B, isInvoicingEntityLinkable as CB } from "@zeniai/client-epic-state";
11
+ import { buildInvoicingEntityPath as wB, isInvoicingEntityLinkable as vB } from "@zeniai/client-epic-state";
12
12
  import { InboxNotification as Ra } from "@liveblocks/react-ui";
13
13
  import { css as Ke, keyframes as Ko } from "@emotion/react";
14
14
  import { createPortal as jr } from "react-dom";
@@ -28506,144 +28506,144 @@ export {
28506
28506
  MN as OpExByVendorPage,
28507
28507
  zN as OverlayContainerPage,
28508
28508
  FN as PandLWithForecastPage,
28509
- BN as PanelInternalContext,
28510
- WN as PaymentAccountSetupBillingAddressSection,
28511
- _N as PeoplePage,
28512
- VN as Picker,
28513
- UN as PolicyLimitsRowList,
28514
- KN as PolicyModeSelector,
28515
- HN as PortfolioAllocationFormPage,
28509
+ BN as PanelDirtyGuardContext,
28510
+ WN as PanelInternalContext,
28511
+ _N as PaymentAccountSetupBillingAddressSection,
28512
+ VN as PeoplePage,
28513
+ UN as Picker,
28514
+ KN as PolicyLimitsRowList,
28515
+ HN as PolicyModeSelector,
28516
+ GN as PortfolioAllocationFormPage,
28516
28517
  bO as PortfolioPage,
28517
- GN as QBOConnectionDialog,
28518
- YN as QBOSetupSectionWithForm,
28519
- ZN as QuickResponsesPage,
28520
- QN as QuickViewModeContext,
28521
- JN as RIGHT_SIDE_PANEL_WIDTH_PX,
28522
- XN as RecommendationFeedbackPopup,
28523
- qN as ReferralDrawerPage,
28524
- eM as ReimbursementApprovalRuleDetailPage,
28525
- tM as ReimbursementApprovalRuleDetailPageV1,
28526
- oM as ReimbursementApprovalRulesPage,
28527
- nM as ReimbursementApprovalRulesPageV1,
28528
- rM as ReimbursementDetailPage,
28529
- sM as ReimbursementDetailPageSkeleton,
28530
- iM as ReimbursementPromoPage,
28531
- aM as ReimbursementSetUpLoading,
28532
- lM as ReimbursementSetUpPage,
28533
- cM as RemisBulkReviewDrawerPage,
28534
- dM as ReportsPage,
28518
+ YN as QBOConnectionDialog,
28519
+ ZN as QBOSetupSectionWithForm,
28520
+ QN as QuickResponsesPage,
28521
+ JN as QuickViewModeContext,
28522
+ XN as RIGHT_SIDE_PANEL_WIDTH_PX,
28523
+ qN as RecommendationFeedbackPopup,
28524
+ eM as ReferralDrawerPage,
28525
+ tM as ReimbursementApprovalRuleDetailPage,
28526
+ oM as ReimbursementApprovalRuleDetailPageV1,
28527
+ nM as ReimbursementApprovalRulesPage,
28528
+ rM as ReimbursementApprovalRulesPageV1,
28529
+ sM as ReimbursementDetailPage,
28530
+ iM as ReimbursementDetailPageSkeleton,
28531
+ aM as ReimbursementPromoPage,
28532
+ lM as ReimbursementSetUpLoading,
28533
+ cM as ReimbursementSetUpPage,
28534
+ dM as RemisBulkReviewDrawerPage,
28535
+ pM as ReportsPage,
28535
28536
  N as ResponsiveSized,
28536
- pM as ReviewBillDetailsPage,
28537
- uM as ReviewConfirmTransferPanel,
28538
- hM as ReviewDetailsPageSkeleton,
28537
+ uM as ReviewBillDetailsPage,
28538
+ hM as ReviewConfirmTransferPanel,
28539
+ mM as ReviewDetailsPageSkeleton,
28539
28540
  kO as ReviewPage,
28540
- mM as ScheduleDetailSkeleton,
28541
- gM as ScheduleDetailsAccruedExpensesPage,
28542
- xM as ScheduleDetailsFixedAssetsPage,
28543
- yM as ScheduleDetailsPage,
28544
- fM as SchedulePanelInternalContext,
28541
+ gM as ScheduleDetailSkeleton,
28542
+ xM as ScheduleDetailsAccruedExpensesPage,
28543
+ yM as ScheduleDetailsFixedAssetsPage,
28544
+ fM as ScheduleDetailsPage,
28545
28545
  bM as SearchableCheckboxCardList,
28546
28546
  $M as SessionTimeoutPopup,
28547
28547
  CM as SidePanelContext,
28548
- wM as SidePanelProvider,
28549
- vM as SignIn,
28550
- SM as SomethingWrongPage,
28548
+ wM as SidePanelLayout,
28549
+ vM as SidePanelProvider,
28550
+ SM as SignIn,
28551
+ jM as SomethingWrongPage,
28551
28552
  o as Space,
28552
- jM as SpendManagementListLoading,
28553
- kM as SpendManagementListViewPage,
28554
- TM as StatementParseInfo,
28555
- PM as StatementProcessingPage,
28556
- IM as StatementsPage,
28557
- LM as StyledCapsule,
28553
+ kM as SpendManagementListLoading,
28554
+ TM as SpendManagementListViewPage,
28555
+ PM as StatementParseInfo,
28556
+ IM as StatementProcessingPage,
28557
+ LM as StatementsPage,
28558
+ AM as StyledCapsule,
28558
28559
  fO as SubscriptionAddPlanPage,
28559
- AM as SubscriptionDetailPage,
28560
+ OM as SubscriptionDetailPage,
28560
28561
  xO as SubscriptionPage,
28561
- OM as SubscriptionSummaryPage,
28562
+ DM as SubscriptionSummaryPage,
28562
28563
  yO as SubscriptionUpdatePlanPage,
28563
- DM as SyntheticAiCfoAnswerView,
28564
- RM as THREAD_RESOLVED_NOTIFICATION_KIND,
28565
- EM as THREAD_UNRESOLVED_NOTIFICATION_KIND,
28566
- NM as TaskDetailPage,
28567
- MM as TaskManagementPage,
28564
+ RM as SyntheticAiCfoAnswerView,
28565
+ EM as THREAD_RESOLVED_NOTIFICATION_KIND,
28566
+ NM as THREAD_UNRESOLVED_NOTIFICATION_KIND,
28567
+ MM as TaskDetailPage,
28568
+ zM as TaskManagementPage,
28568
28569
  hO as TaskManagerPage,
28569
- zM as TenantsDropDown,
28570
- FM as TextStyle,
28571
- BM as ToolkitProvider,
28572
- WM as TopExDetailPage,
28573
- _M as TransactionActivityLogPage,
28574
- VM as TransactionActivityLogPanel,
28575
- UM as TransactionDetailPage,
28576
- KM as TransactionDetailSkeleton,
28577
- HM as TransactionListBig,
28578
- GM as TransactionListComments,
28579
- YM as TransactionListPage,
28580
- ZM as TransactionPanelInternalContext,
28581
- QM as TransactionSidePanelLayout,
28582
- JM as TransactionVendorDetailPage,
28583
- XM as TransferDrawerPage,
28584
- qM as TreasuryOverviewPage,
28585
- ez as TreasuryPromoPage,
28586
- tz as TreasurySetUpPage,
28587
- oz as TreasuryStatementsPage,
28588
- nz as TreasuryTaxLetterPage,
28589
- rz as TreasuryTransferOrReviewPage,
28590
- sz as TrendChart,
28591
- iz as UncategorizedAccountsMappingPage,
28592
- az as UnitIntegrationPage,
28593
- lz as VENDOR_CHIP_ID_PREFIX,
28594
- cz as Vendor2FAPopup,
28595
- dz as VendorACHDetailsPage,
28596
- pz as VendorAccruedSchedulesPage,
28597
- uz as VendorDetailPage,
28598
- hz as VendorDomesticWireDetailsPage,
28599
- mz as VendorFiling1099DetailsEditablePage,
28600
- gz as VendorFiling1099EditableFormSkeleton,
28601
- xz as VendorFiling1099ListPage,
28602
- yz as VendorFirstReviewPage,
28603
- fz as VendorInternationalSwiftBasedDetailsPage,
28604
- bz as VendorInternationalWireDetailsPage,
28605
- $z as VendorListPage,
28606
- Cz as VendorSchedulesPage,
28607
- wz as VerificationFrame,
28608
- vz as VerifyDevice,
28609
- Sz as VerifyUnlockFinancialStackPage,
28570
+ FM as TenantsDropDown,
28571
+ BM as TextStyle,
28572
+ WM as ToolkitProvider,
28573
+ _M as TopExDetailPage,
28574
+ VM as TransactionActivityLogPage,
28575
+ UM as TransactionActivityLogPanel,
28576
+ KM as TransactionDetailPage,
28577
+ HM as TransactionDetailSkeleton,
28578
+ GM as TransactionListBig,
28579
+ YM as TransactionListComments,
28580
+ ZM as TransactionListPage,
28581
+ QM as TransactionVendorDetailPage,
28582
+ JM as TransferDrawerPage,
28583
+ XM as TreasuryOverviewPage,
28584
+ qM as TreasuryPromoPage,
28585
+ ez as TreasurySetUpPage,
28586
+ tz as TreasuryStatementsPage,
28587
+ oz as TreasuryTaxLetterPage,
28588
+ nz as TreasuryTransferOrReviewPage,
28589
+ rz as TrendChart,
28590
+ sz as UncategorizedAccountsMappingPage,
28591
+ iz as UnitIntegrationPage,
28592
+ az as VENDOR_CHIP_ID_PREFIX,
28593
+ lz as Vendor2FAPopup,
28594
+ cz as VendorACHDetailsPage,
28595
+ dz as VendorAccruedSchedulesPage,
28596
+ pz as VendorDetailPage,
28597
+ uz as VendorDomesticWireDetailsPage,
28598
+ hz as VendorFiling1099DetailsEditablePage,
28599
+ mz as VendorFiling1099EditableFormSkeleton,
28600
+ gz as VendorFiling1099ListPage,
28601
+ xz as VendorFirstReviewPage,
28602
+ yz as VendorInternationalSwiftBasedDetailsPage,
28603
+ fz as VendorInternationalWireDetailsPage,
28604
+ bz as VendorListPage,
28605
+ $z as VendorSchedulesPage,
28606
+ Cz as VerificationFrame,
28607
+ wz as VerifyDevice,
28608
+ vz as VerifyUnlockFinancialStackPage,
28610
28609
  PO as WarningsDrawerPage,
28611
- jz as WebV2MicroService,
28612
- kz as WebV2MicroServiceProvider,
28613
- Tz as WelcomeAnimation,
28614
- Pz as WindowSizeProvider,
28615
- Iz as ZeniAccountDetailLoading,
28616
- Lz as ZeniAccountDetailNavBarTitleShimmer,
28617
- Az as ZeniAccountDetailPage,
28618
- Oz as ZeniAccountListLoading,
28619
- Dz as ZeniAccountListViewPage,
28620
- Rz as ZeniAccountPromoPage,
28621
- Ez as ZeniAccountSetUpPage,
28622
- Nz as ZeniText,
28623
- Mz as ZeniThemeProvider,
28624
- zz as alignToJustify,
28610
+ Sz as WebV2MicroService,
28611
+ jz as WebV2MicroServiceProvider,
28612
+ kz as WelcomeAnimation,
28613
+ Tz as WindowSizeProvider,
28614
+ Pz as ZeniAccountDetailLoading,
28615
+ Iz as ZeniAccountDetailNavBarTitleShimmer,
28616
+ Lz as ZeniAccountDetailPage,
28617
+ Az as ZeniAccountListLoading,
28618
+ Oz as ZeniAccountListViewPage,
28619
+ Dz as ZeniAccountPromoPage,
28620
+ Rz as ZeniAccountSetUpPage,
28621
+ Ez as ZeniText,
28622
+ Nz as ZeniThemeProvider,
28623
+ Mz as alignToJustify,
28625
28624
  ot as amountToString,
28626
- Fz as amountValueToString,
28625
+ zz as amountValueToString,
28627
28626
  Z as appLocale,
28628
- Bz as applyExtractedPolicyRulesToFormValues,
28629
- Wz as buildBulkCreateCardPolicyTemplateRequestsFromInteractiveForm,
28630
- _z as buildCardPolicyFormValuesFromRequest,
28631
- Vz as buildCreateCardPolicyTemplateRequest,
28632
- Uz as buildCreateCardPolicyTemplateRequestFromInteractiveForm,
28633
- $B as buildInvoicingEntityPath,
28634
- Kz as buildMccCategoryChipId,
28635
- Hz as buildStickyKeySet,
28636
- Gz as buildVendorChipId,
28637
- Yz as cellVerticalAlignToFlexAlign,
28638
- Zz as clearAutoLogoutContext,
28627
+ Fz as applyExtractedPolicyRulesToFormValues,
28628
+ Bz as buildBulkCreateCardPolicyTemplateRequestsFromInteractiveForm,
28629
+ Wz as buildCardPolicyFormValuesFromRequest,
28630
+ _z as buildCreateCardPolicyTemplateRequest,
28631
+ Vz as buildCreateCardPolicyTemplateRequestFromInteractiveForm,
28632
+ wB as buildInvoicingEntityPath,
28633
+ Uz as buildMccCategoryChipId,
28634
+ Kz as buildStickyKeySet,
28635
+ Hz as buildVendorChipId,
28636
+ Gz as cellVerticalAlignToFlexAlign,
28637
+ Yz as clearAutoLogoutContext,
28639
28638
  un as clickableRowStyles,
28640
- Qz as computeRecommendationSelectionFeedback,
28641
- Jz as computeStatementProcessingStepsFromElapsedTime,
28642
- Xz as computeStickyLeftOffsets,
28639
+ Zz as computeRecommendationSelectionFeedback,
28640
+ Qz as computeStatementProcessingStepsFromElapsedTime,
28641
+ Jz as computeStickyLeftOffsets,
28643
28642
  Yt as darkColors,
28644
- qz as darkTheme,
28645
- eF as dashboardCardDimension,
28646
- tF as defaultCardPolicyFormValues,
28643
+ Xz as darkTheme,
28644
+ qz as dashboardCardDimension,
28645
+ eF as defaultCardPolicyFormValues,
28646
+ tF as describeSchedule,
28647
28647
  oF as formatReconAccountDisplayName,
28648
28648
  nF as getAlpha2,
28649
28649
  rF as getAlpha3,
@@ -28664,7 +28664,7 @@ export {
28664
28664
  fF as isClosedCardStatus,
28665
28665
  bF as isCollaborationEntityType,
28666
28666
  $F as isCommentNotificationKind,
28667
- CB as isInvoicingEntityLinkable,
28667
+ vB as isInvoicingEntityLinkable,
28668
28668
  CF as isMobileOrTabletView,
28669
28669
  wF as isMobilePhoneScreen,
28670
28670
  vF as isRecommendationFeedbackDimension,
@@ -28678,53 +28678,55 @@ export {
28678
28678
  LF as resolveColumnWidth,
28679
28679
  AF as roundAmountIfNeeded,
28680
28680
  OF as roundOffNumberToTwoDecimal,
28681
- DF as setAutoLogoutContext,
28682
- RF as setShowNegativeAmountInParenthesisDefaultValue,
28683
- EF as setShowNegativeAmountInParenthesisForPercentDefaultValue,
28684
- NF as settingMenuList,
28681
+ DF as routineIdFromSession,
28682
+ RF as setAutoLogoutContext,
28683
+ EF as setShowNegativeAmountInParenthesisDefaultValue,
28684
+ NF as setShowNegativeAmountInParenthesisForPercentDefaultValue,
28685
+ MF as settingMenuList,
28686
+ zF as shortCadence,
28685
28687
  z as sp,
28686
- MF as textAlignForCell,
28688
+ FF as textAlignForCell,
28687
28689
  Re as textStyles,
28688
28690
  wn as toCockpitOptionType,
28689
28691
  pO as toCockpitOptionTypeStrict,
28690
- zF as toGroupedAccountingClassOptions,
28691
- FF as toGroupedQboAccountOptions,
28692
- BF as toInstitutionLogoDataUri,
28693
- WF as toInvoicingMenuOptionType,
28694
- _F as toInvoicingMenuOptionTypeStrict,
28695
- VF as toMccCategoryChipFieldValue,
28696
- UF as toMenuOptionType,
28697
- KF as toSettingsMenuOptionTypeStrict,
28698
- HF as toSupportedLocaleStrict,
28699
- GF as toVendorChipFieldValue,
28700
- YF as trackTreasuryTransferAnalytics,
28701
- ZF as uploadAttachmentReceipts,
28702
- QF as useApprovalRulesV3Config,
28703
- JF as useBackNavigation,
28704
- XF as useCollaborationInfoContext,
28692
+ BF as toGroupedAccountingClassOptions,
28693
+ WF as toGroupedQboAccountOptions,
28694
+ _F as toInstitutionLogoDataUri,
28695
+ VF as toInvoicingMenuOptionType,
28696
+ UF as toInvoicingMenuOptionTypeStrict,
28697
+ KF as toMccCategoryChipFieldValue,
28698
+ HF as toMenuOptionType,
28699
+ GF as toSettingsMenuOptionTypeStrict,
28700
+ YF as toSupportedLocaleStrict,
28701
+ ZF as toVendorChipFieldValue,
28702
+ QF as trackTreasuryTransferAnalytics,
28703
+ JF as uploadAttachmentReceipts,
28704
+ XF as useApprovalRulesV3Config,
28705
+ qF as useBackNavigation,
28706
+ eB as useCollaborationInfoContext,
28705
28707
  Rh as useCommentsDrawer,
28706
- qF as useDropdownPortal,
28707
- eB as useExpenseAutomationEnabledForUser,
28708
- tB as useFieldHelp,
28708
+ tB as useDropdownPortal,
28709
+ oB as useExpenseAutomationEnabledForUser,
28710
+ nB as useFieldHelp,
28709
28711
  Vc as useGlobalInfoContext,
28710
- oB as useLockBodyScroll,
28711
- nB as useMeetingLinks,
28712
- rB as usePanelInternal,
28712
+ rB as useLockBodyScroll,
28713
+ sB as useMeetingLinks,
28714
+ iB as usePanelDirtyGuardRegistry,
28715
+ aB as usePanelInternal,
28713
28716
  cs as usePrevious,
28714
- sB as useQuickViewMode,
28715
- iB as useRegisterBackHandler,
28716
- aB as useRequestCloseAllCommentDrawers,
28717
- lB as useSchedulePanelInternal,
28718
- cB as useSessionAutoLogoutConfig,
28719
- dB as useSidePanelContext,
28717
+ lB as useQuickViewMode,
28718
+ cB as useRegisterBackHandler,
28719
+ dB as useRegisterPanelDirtyGuard,
28720
+ pB as useRequestCloseAllCommentDrawers,
28721
+ uB as useSessionAutoLogoutConfig,
28722
+ hB as useSidePanelContext,
28720
28723
  gh as useToolkitContext,
28721
- pB as useTransactionPanelInternal,
28722
28724
  xe as useWindowSizeContext,
28723
- uB as useZeniCardsVisibilityConfig,
28725
+ mB as useZeniCardsVisibilityConfig,
28724
28726
  Ui as useZeniFeatureContext,
28725
28727
  He as useZeniTheme,
28726
- hB as useZeniThemeContext,
28727
- mB as waitFor,
28728
- fB as zeniEmotionStyled,
28729
- xB as zeniStyled
28728
+ gB as useZeniThemeContext,
28729
+ xB as waitFor,
28730
+ $B as zeniEmotionStyled,
28731
+ fB as zeniStyled
28730
28732
  };
@@ -7,6 +7,7 @@ import { FileAttachment } from './components/AiCfoInput';
7
7
  import { AiCfoQuestionAnswerProps } from './components/AiCfoQuestionAnswer';
8
8
  import { SkillMenuItem } from './components/AiCfoSkillMenu';
9
9
  import { ResolvedSyntheticAiCfoCard, ResolvedSyntheticAiCfoPolicy } from './components/SyntheticAiCfoAnswerView';
10
+ import { Routine, RoutineEditorDraft, RoutineRun, SchedulableSkill } from './components/helpers/aiCfoRoutines';
10
11
  export declare const uniqueFormName: (formId: ID) => `${string}_form`;
11
12
  /**
12
13
  * Desktop viewport (`medium-regular`+): suggested-question **loading** skeleton width in AI CFO
@@ -48,6 +49,28 @@ export declare const getSampleQuestions: (isMobile: boolean, onSampleQuestionCli
48
49
  * need to import the new InteractiveFormVisualization shape.
49
50
  */
50
51
  export declare const isLatestAnswerVisualizationInteractiveForm: (questionAnswers: AiCfoQuestionWithAnswer[] | undefined, syntheticAnswerByQuestionAnswerId: Record<ID, SyntheticAiCfoAnswer>) => boolean;
52
+ export type ChatSidePanel = {
53
+ error: boolean;
54
+ kind: "routineRuns";
55
+ loading: boolean;
56
+ /** False still renders the toggle — the panel is available, just collapsed. */
57
+ open: boolean;
58
+ routineName: string;
59
+ runs: RoutineRun[];
60
+ /** The cadence sentence, so the panel says what this thing does unprompted. */
61
+ schedule: string;
62
+ tzName: string | null;
63
+ unreadCount: number;
64
+ /** The skill it runs, when it runs one. Absent for a written prompt. */
65
+ skillName?: string;
66
+ onOpenRun: (run: RoutineRun) => void;
67
+ onToggle: () => void;
68
+ onOpenRoutine?: () => void;
69
+ /** Back to the Routines list, for the breadcrumb above the conversation. */
70
+ onOpenRoutines?: () => void;
71
+ /** Absent renders the skill as text rather than a link that goes nowhere. */
72
+ onOpenSkill?: () => void;
73
+ };
51
74
  export interface AiCfoPageProps {
52
75
  aiCfoView: AiCfoViewSelector;
53
76
  isFullView: boolean;
@@ -102,6 +125,15 @@ export interface AiCfoPageProps {
102
125
  * header, preserving the previous layout.
103
126
  */
104
127
  chatHeader?: AiCfoChatHeaderProps;
128
+ /**
129
+ * A panel beside the chat, or none.
130
+ *
131
+ * A discriminated union rather than a ReactNode, so every pixel stays in
132
+ * web-components while the host only says WHICH panel and supplies its data.
133
+ * `routineRuns` is the first kind; adding an artifact or options panel later
134
+ * is a new member here, not a new mechanism.
135
+ */
136
+ chatSidePanel?: ChatSidePanel;
105
137
  customPageTitle?: string;
106
138
  emailLinkQuestion?: string;
107
139
  /**
@@ -130,6 +162,8 @@ export interface AiCfoPageProps {
130
162
  isFileUploadEnabled?: boolean;
131
163
  /** True while the create-cards mutation is in flight; disables the form CTA. */
132
164
  isInteractiveFormSubmitting?: boolean;
165
+ /** The Routines list replaces the chat body, exactly as Skills does. */
166
+ isRoutinesOpen?: boolean;
133
167
  /** Replaces the chat body with the Skills browser. Driven by the left-rail entry. */
134
168
  isSkillsOpen?: boolean;
135
169
  isUploadPromoVisible?: boolean;
@@ -165,6 +199,27 @@ export interface AiCfoPageProps {
165
199
  routedInitialQuestionSource?: AICFOChatSubmissionSource;
166
200
  /** Suggestion chip index when the routed question came from a sample chip (e.g. `question_card` or `dashboard_card`). */
167
201
  routedInitialQuestionSuggestionIndex?: number;
202
+ routineCanCreate?: boolean;
203
+ /** The routine whose detail page is open. Undefined shows the list. */
204
+ routineDetail?: Routine;
205
+ /** Seeds a NEW routine's instructions, from the list page's composer. */
206
+ routineDraftPrompt?: string;
207
+ /** The routine being edited; absent shows the list. */
208
+ routineEditing?: Routine;
209
+ /** True shows the editor for a NEW routine. */
210
+ routineEditorOpen?: boolean;
211
+ routineHistoryError?: boolean;
212
+ routineHistoryLoading?: boolean;
213
+ routineListError?: boolean;
214
+ routineListLoading?: boolean;
215
+ routineMaxRoutines?: number;
216
+ routineRunningScheduleId?: string;
217
+ routineRuns?: RoutineRun[];
218
+ routines?: Routine[];
219
+ routineSaveError?: boolean;
220
+ routineSaving?: boolean;
221
+ /** Skills this user can schedule; empty hides the skill option in the form. */
222
+ routineSchedulableSkills?: SchedulableSkill[];
168
223
  skillDetail?: SkillDetail;
169
224
  skillDetailError?: boolean;
170
225
  skillDetailLoading?: boolean;
@@ -235,6 +290,19 @@ export interface AiCfoPageProps {
235
290
  onFetchSkillVersionBody?: (macroId: string, version: number) => void;
236
291
  onMenuClick?: () => void;
237
292
  onOpenSkill?: (macroId: string) => void;
293
+ onRoutineCloseDetail?: () => void;
294
+ onRoutineCreate?: () => void;
295
+ onRoutineDelete?: (routine: Routine) => void;
296
+ onRoutineDraft?: (instructions: string) => void;
297
+ onRoutineEdit?: (routine: Routine) => void;
298
+ onRoutineEditorCancel?: () => void;
299
+ /** Absent withholds the editor's "start from a skill" picker. */
300
+ onRoutineLoadSkillInstructions?: (macroId: string) => void;
301
+ onRoutineOpenDetail?: (routine: Routine) => void;
302
+ onRoutineOpenRun?: (routine: Routine, run: RoutineRun) => void;
303
+ onRoutineRun?: (routine: Routine) => void;
304
+ onRoutineSave?: (draft: RoutineEditorDraft) => void;
305
+ onRoutineSetEnabled?: (routine: Routine, enabled: boolean) => void;
238
306
  onRunSkill?: (macroId: string, label: string) => void;
239
307
  onSaveSkill?: (draft: SkillDraft, macroId: string | undefined) => void;
240
308
  /** Saves the `/create-skill` draft from the chat card. Absent = no Save control. */
@@ -0,0 +1,24 @@
1
+ import { default as React } from 'react';
2
+ /**
3
+ * A type-to-filter picker.
4
+ *
5
+ * Replaces `<input list>` + `<datalist>`: the native control cannot be styled,
6
+ * renders in the OS's own popup rather than the app's, and positions itself
7
+ * over whatever sits below the field. Everything here is app chrome.
8
+ *
9
+ * The component owns only the open/highlight state. The typed text lives with
10
+ * the caller, which is what lets a caller resolve it to an id (or reject it) on
11
+ * its own terms — a picker that also owned the value would have to know what
12
+ * the value meant.
13
+ */
14
+ export interface AiCfoComboboxProps {
15
+ id: string;
16
+ /** Rendered as-is; already filtered options are not expected. */
17
+ options: string[];
18
+ query: string;
19
+ placeholder?: string;
20
+ onQueryChange: (query: string) => void;
21
+ onBlur?: () => void;
22
+ }
23
+ declare const AiCfoCombobox: React.FC<AiCfoComboboxProps>;
24
+ export default AiCfoCombobox;
@@ -0,0 +1,29 @@
1
+ import { default as React } from 'react';
2
+ import { Routine, RoutineRun, SchedulableSkill } from './helpers/aiCfoRoutines';
3
+ export interface AiCfoRoutineDetailProps {
4
+ historyError: boolean;
5
+ historyLoading: boolean;
6
+ /** The routine being shown. */
7
+ routine: Routine;
8
+ /** True while a Run-now is in flight for this routine. */
9
+ running: boolean;
10
+ runs: RoutineRun[];
11
+ /** Used to name the skill this runs, rather than showing a raw macro id. */
12
+ skills: SchedulableSkill[];
13
+ /**
14
+ * What this routine will run, if the host has loaded it.
15
+ *
16
+ * Not on `Routine`: the list endpoint returns schedules, and the text lives
17
+ * behind the skill-detail fetch. Absent simply hides the card rather than
18
+ * showing an empty one.
19
+ */
20
+ instructions?: string;
21
+ onBack: () => void;
22
+ onDelete: () => void;
23
+ onEdit: () => void;
24
+ onOpenRun: (run: RoutineRun) => void;
25
+ onRun: () => void;
26
+ onSetEnabled: (enabled: boolean) => void;
27
+ }
28
+ declare const AiCfoRoutineDetail: React.FC<AiCfoRoutineDetailProps>;
29
+ export default AiCfoRoutineDetail;
@@ -0,0 +1,46 @@
1
+ import { default as React } from 'react';
2
+ import { Routine, RoutineEditorDraft, SchedulableSkill } from './helpers/aiCfoRoutines';
3
+ export interface AiCfoRoutineEditorProps {
4
+ editing: Routine | undefined;
5
+ saveError: boolean;
6
+ saving: boolean;
7
+ /**
8
+ * Skills this user can schedule. Empty hides the skill option entirely rather
9
+ * than offering a picker with nothing in it — a new user's only real choice
10
+ * is a one-off, and an empty dropdown reads as something being broken.
11
+ */
12
+ skills: SchedulableSkill[];
13
+ /**
14
+ * The routine being edited. Absent means this is a new one.
15
+ *
16
+ * The host MUST mount this with `key={editing?.scheduleId ?? "new"}`. Every
17
+ * field seeds from `editing` once, so without the key, opening B after
18
+ * cancelling A shows A's schedule and saves it onto B.
19
+ */
20
+ /**
21
+ * Instructions to start a NEW routine from, from the list page's composer.
22
+ *
23
+ * Also switches the source to the one-off branch: someone who described what
24
+ * they want has already said it is not a saved skill.
25
+ */
26
+ draftPrompt?: string;
27
+ /**
28
+ * The instructions behind the skill last requested via `onLoadSkillInstructions`.
29
+ *
30
+ * Carries its own `macroId` because this is the same detail slice the skills
31
+ * browser fills: without the check, opening a skill there and then opening
32
+ * this editor would seed the box from whatever that slice happened to hold.
33
+ */
34
+ skillInstructions?: {
35
+ instructions: string;
36
+ macroId: string;
37
+ };
38
+ skillInstructionsError?: boolean;
39
+ skillInstructionsLoading?: boolean;
40
+ onCancel: () => void;
41
+ onSave: (draft: RoutineEditorDraft) => void;
42
+ /** Absent withholds the "start from a skill" picker rather than offering one that cannot load. */
43
+ onLoadSkillInstructions?: (macroId: string) => void;
44
+ }
45
+ declare const AiCfoRoutineEditor: React.FC<AiCfoRoutineEditorProps>;
46
+ export default AiCfoRoutineEditor;