PageSourceSearch

https://vizops360.ai/assets/finance.mom-xrN-2s6_.js

js vizops360.ai collected 2026-10-05 13:52:46 UTC 21,563 bytes, 1 lines download raw bytes

1import{d3 as me,ax as pe,d4 as he,eI as be,d5 as ge,dz as fe,eJ as je,eK as Ne,eL as ve,r as l,j as e,K as we,as as C,c1 as ye,b9 as G,a as Q,aK as ke,ao as U,q as Me,X as W,b8 as $,cf as P,cg as F,ch as T,ci as O,cj as c,dg as Ce,b5 as De,c6 as H,b4 as Se,b3 as ze,bN as Pe,bO as Fe,bP as Te,bT as Oe,C as Ie,bf as Ae,aI as x}from"./index-CpeGhXo5.js";import{F as Ee}from"./FilterBar-B_jdgGzl.js";import{q as Re,h as qe,r as J}from"./financeMappers-CUv1G2pV.js";import{R as Le}from"./RelativeDate-DrUyMOcD.js";import{F as f,f as D}from"./FinanceFormField-BQlXTOvW.js";import{F as Ve}from"./file-down-Bq4Cf4AB.js";import{L as Ke}from"./lock-open-Cmtyk41m.js";import"./filters-DQMtevU2.js";import"./mock-Ci00pIzy.js";function X(u){return{duration:"1h",agenda:"General discussion and updates.",attendeeNames:u?[u]:[],points:[]}}function I(u){return u.minutesPayload??X(u.organizer)}function Ze(){const u=me();if(u)return u;const Y=pe(),Z=he(),{data:A,isLoading:_,isFetching:ee,refetch:te}=be({limit:500}),{data:Be=[]}=ge(),{data:E}=fe({limit:500}),[se]=je(),[R]=Ne(),[q]=ve(),[ae,L]=l.useState([]),[re,V]=l.useState(!1),j=l.useMemo(()=>(A?.items??[]).map(Re),[A]),ne=l.useMemo(()=>(E?.items??[]).map(qe),[E]),[i,h]=l.useState(null),[le,S]=l.useState(!1),[N,v]=l.useState(null),[w,m]=l.useState(!1),[r,p]=l.useState({title:"",date:new Date().toISOString().split("T")[0],time:"10:00",organizer:"",dept:"",project:""}),[ie,k]=l.useState(!1),[a,d]=l.useState({title:"",notes:"",decision:"",responsible:"",dueDate:"",status:"Pending",attachments:""}),[b,y]=l.useState({}),[g,z]=l.useState({}),n=l.useMemo(()=>{if(!i)return null;const t=j.find(o=>o.id===i);if(!t)return null;const s=I(t);return{...t,duration:s.duration??"1h",agenda:s.agenda??"",attendees:s.attendeeNames??[t.organizer],points:s.points??[]}},[i,j]),K=l.useCallback(async(t,s,o)=>{const M=s.points??[];await R({id:t,body:J({actionItems:M.length,minutesPayload:s,...o?{status:o}:{}})}).unwrap()},[R]),oe=async()=>{const t={};if(a.title.trim()||(t.title="Topic / title is required"),a.notes.trim()||(t.notes="Discussion notes are required"),y(t),!i||Object.keys(t).length>0)return;const s=j.find(ue=>ue.id===i);if(!s)return;const o=I(s),M=o.points??[],xe={id:M.length+1,title:a.title,notes:a.notes,decision:a.decision,responsible:a.responsible||s.organizer||"Unassigned",dueDate:a.dueDate||new Date().toISOString().split("T")[0],status:a.status,progress:a.status==="Completed"?100:a.status==="In Progress"?50:0,attachments:a.attachments?[{name:a.attachments,size:"0 KB"}]:[]};m(!0);try{await K(i,{...o,points:[...M,xe]}),x.success("Point & Action saved"),k(!1),y({}),d({title:"",notes:"",decision:"",responsible:"",dueDate:"",status:"Pending",attachments:""})}catch{x.error("Failed to save action item")}finally{m(!1)}},de=async()=>{const t={};if(r.title.trim()||(t.title="Meeting title is required"),r.organizer.trim()||(t.organizer="Organizer is required"),z(t),!(Object.keys(t).length>0)){m(!0);try{const s=await se(J({title:r.title,date:r.date,time:r.time,organizer:r.organizer,dept:r.dept,project:r.project||null,attendees:1,actionItems:0,status:"Draft",minutesPayload:X(r.organizer)})).unwrap();x.success("Meeting created"),S(!1),p({title:"",date:new Date().toISOString().split("T")[0],time:"10:00",organizer:"",dept:"",project:""}),h(s.id)}catch{x.error("Failed to create meeting")}finally{m(!1)}}},ce=async()=>{if(i){m(!0);try{const t=j.find(s=>s.id===i);if(!t)return;await K(i,I(t),"Finalized"),x.success("MOM finalized")}catch{x.error("Failed to finalize")}finally{m(!1)}}},B=async()=>{if(N){m(!0);try{await q(N).unwrap(),x.success("Meeting deleted"),i===N&&h(null),v(null)}catch{x.error("Failed to delete meeting")}finally{m(!1)}}};return i&&n?e.jsxs("div",{className:"p-3 flex flex-col gap-3 min-h-full bg-background",children:[e.jsxs("div",{className:"flex items-center justify-between bg-card border border-border rounded-xl p-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("button",{onClick:()=>h(null),className:"p-2 rounded-full hover:bg-accent transition-colors",title:"Back to List",children:e.jsx(we,{className:"w-5 h-5"})}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("h1",{className:"text-xl font-black",children:n.title}),e.jsx("span",{className:C("text-[10px] px-1.5 py-0.5 rounded font-semibold",n.status==="Finalized"?"bg-success/12 text-success":"bg-warning/12 text-warning"),children:n.status})]}),e.jsxs("p",{className:"text-xs text-muted-foreground flex items-center gap-2 mt-0.5",children:[e.jsx("span",{className:"font-bold",children:n.id}),e.jsx("span",{children:"•"}),e.jsx("span",{children:n.dept}),e.jsx("span",{children:"•"}),e.jsx("span",{children:n.project||"No Project"})]})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("button",{className:"h-9 px-4 roun
1ded-lg border border-border hover:bg-accent text-xs font-bold transition-all flex items-center gap-2",children:[e.jsx(ye,{className:"w-3.5 h-3.5"}),"Share"]}),e.jsxs("button",{className:"h-9 px-4 rounded-lg border border-border hover:bg-accent text-xs font-bold transition-all flex items-center gap-2",children:[e.jsx(Ve,{className:"w-3.5 h-3.5"}),"Export PDF"]}),e.jsxs("button",{type:"button",onClick:()=>v(i),className:"h-9 px-4 rounded-lg border border-danger/40 text-danger hover:bg-danger/5 text-xs font-bold transition-all flex items-center gap-2",children:[e.jsx(G,{className:"w-3.5 h-3.5"}),"Delete"]}),e.jsxs("button",{type:"button",disabled:w||n.status==="Finalized",onClick:ce,className:"h-9 px-4 rounded-lg border border-primary text-primary hover:bg-primary/5 text-xs font-bold transition-all flex items-center gap-2 disabled:opacity-50",children:[e.jsx(Q,{className:"w-3.5 h-3.5"}),"Finalize"]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-3 flex-1 min-h-0 overflow-y-auto",children:[e.jsxs("div",{className:"lg:col-span-1 bg-card border border-border rounded-xl p-4 space-y-4 h-fit",children:[e.jsx("h3",{className:"text-sm font-black border-b border-border pb-2",children:"Meeting Info"}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("p",{className:"text-[10px] font-bold text-muted-foreground uppercase tracking-widest",children:"Organizer"}),e.jsx("p",{className:"text-sm font-medium",children:n.organizer})]}),e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("p",{className:"text-[10px] font-bold text-muted-foreground uppercase tracking-widest",children:"Date & Time"}),e.jsxs("p",{className:"text-sm font-medium",children:[n.date," at ",n.time]})]}),e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("p",{className:"text-[10px] font-bold text-muted-foreground uppercase tracking-widest",children:"Duration"}),e.jsx("p",{className:"text-sm font-medium",children:n.duration})]}),e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("p",{className:"text-[10px] font-bold text-muted-foreground uppercase tracking-widest",children:"Agenda"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:n.agenda})]}),e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("p",{className:"text-[10px] font-bold text-muted-foreground uppercase tracking-widest",children:"Attendees"}),e.jsx("div",{className:"flex flex-wrap gap-1 mt-1",children:n.attendees.map((t,s)=>e.jsxs("span",{className:"text-[10px] px-2 py-0.5 bg-background border border-border rounded-full flex items-center gap-1",children:[e.jsx(ke,{className:"w-3 h-3 text-muted-foreground"}),t]},s))})]})]})]}),e.jsxs("div",{className:"lg:col-span-3 bg-card border border-border rounded-xl p-4 flex flex-col gap-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h3",{className:"text-sm font-black",children:"Minutes & Actions"}),e.jsxs("button",{onClick:()=>{y({}),k(!0)},className:"h-9 px-4 rounded-lg bg-primary text-primary-foreground text-xs font-bold transition-all flex items-center gap-1.5 shadow-sm",children:[e.jsx(U,{className:"w-4 h-4"}),"Add Point"]})]}),e.jsx("div",{className:"flex-1 min-h-0 overflow-y-auto",children:n.points.length>0?e.jsx("div",{className:"border border-border rounded-lg overflow-hidden",children:e.jsxs("table",{className:"w-full text-sm",children:[e.jsx("thead",{className:"bg-muted/10 text-[10px] font-bold text-muted-foreground uppercase tracking-widest border-b border-border",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-2.5 text-left w-12",children:"#"}),e.jsx("th",{className:"px-4 py-2.5 text-left min-w-[200px]",children:"Topic & Discussion"}),e.jsx("th",{className:"px-4 py-2.5 text-left min-w-[150px]",children:"Decision"}),e.jsx("th",{className:"px-4 py-2.5 text-left w-32",children:"Responsible"}),e.jsx("th",{className:"px-4 py-2.5 text-left w-24",children:"Due Date"}),e.jsx("th",{className:"px-4 py-2.5 text-center w-24",children:"Status"})]})}),e.jsx("tbody",{className:"divide-y divide-border",children:n.points.map(t=>{const s=t.status==="Pending"&&new Date(t.dueDate)<new Date;return e.jsxs("tr",{className:"hover:bg-muted/5 transition-colors text-xs",children:[e.jsxs("td",{className:"px-4 py-3 font-bold text-primary",children:["#",t.id]}),e.jsxs("td",{className:"px-4 py-3",children:[e.jsx("p",{className:"font-bold",children:t.title}),e.jsx("p",{className:"text-muted-foreground text-[11px] mt-0.5",children:t.notes})]}),e.jsx("td",{className:"px-4 py-3",children:t.decision?e.jsx("span",{className:"text-success font-medium",children:t.decision}):e.jsx("span",{className:"text-muted-foreground",children:"—"})}),e.jsx("td",{className:"px-4 py-3",children:e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("div",{className:"w-4 h-4 rounded-full bg-accent flex items-center justify-center text-[9px] font-bold",children:t.responsible.split(" ").map(o=>o[0]).join("")}),e.jsx("span",{className:"font-medium",children:t.responsible})]})}),e.jsx("td",{className:"px-4 py-3 font-data",children:e.jsx("span",{className:C(s?"text-danger font-bold":"text-foreground"),children:t.dueDate})}),e.jsx("td",{className:"px-4 py-3 text-center",children:e.jsx("span",{className:C("text-[10px] px-1.5 py-0.5 rounded font-semibold inline-block",t.status==="Completed"?"bg-success/12 text-success":t.status==="In Progress"?"bg-warning/12 text-warning":s?"bg-danger/20 text-danger":"bg-danger/12 text-danger"),children:s?"Overdue":t.status})})]},t.id)})})]})}):e.jsxs("div",{className:"text-center py-12 text-muted-foreground text-sm border border-border border-dashed rounded-xl",children:[e.jsx(Me,{className:"w-8 h-8 text-muted-foreground mx-auto mb-2 opacity-50"}),"No minutes or action items recorded yet."]})})]})]}),ie&&e.jsx("div",{className:"fixed inset-0 bg-background/80 backdrop-blur-sm z-50 flex items-center justify-center p-4",children:e.jsxs("div",{className:"bg-card border border-border rounded-2xl shadow-2xl max-w-lg w-full overflow-hidden flex flex-col animate-in fade-in zoom-in-95 duration-200",children:[e.jsxs("div",{className:"px-6 py-4 border-b border-border flex items-center justify-between bg-muted/10",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-lg font-black",children:"Add Minute & Action"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Record discussion, decision, and assign tasks"})]}),e.jsx("button",{onClick:()=>k(!1),className:"w-8 h-8 rounded-full flex items-center justify-center hover:bg-accent transition-colors",children:e.jsx(W,{className:"w-4 h-4"})})]}),e.jsxs("div",{className:"p-6 grid grid-cols-2 gap-4",children:[e.jsx(f,{className:"col-span-2",label:"Topic / Title",required:!0,error:b.title,children:e.jsx("input",{type:"text",className:D(!!b.title,"w-full h-10 px-4 roun
1ded-xl border border-border bg-background text-sm"),placeholder:"e.g. Q1 Revenue Variance",value:a.title,onChange:t=>{d({...a,title:t.target.value}),b.title&&y(s=>({...s,title:""}))}})}),e.jsx(f,{className:"col-span-2",label:"What was discussed?",required:!0,error:b.notes,children:e.jsx("textarea",{className:D(!!b.notes,"w-full h-20 px-4 py-2 rounded-xl border border-border bg-background text-sm resize-none"),placeholder:"Summarize the discussion points...",value:a.notes,onChange:t=>{d({...a,notes:t.target.value}),b.notes&&y(s=>({...s,notes:""}))}})}),e.jsxs("div",{className:"col-span-2 space-y-1.5",children:[e.jsx("label",{className:"text-[10px] font-bold text-muted-foreground uppercase tracking-widest",children:"Decision Taken"}),e.jsx("input",{type:"text",className:"w-full h-10 px-4 rounded-xl border border-border bg-background text-sm",placeholder:"What was decided?",value:a.decision,onChange:t=>d({...a,decision:t.target.value})})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx("label",{className:"text-[10px] font-bold text-muted-foreground uppercase tracking-widest",children:"Who is Responsible?"}),e.jsx("input",{type:"text",className:"w-full h-10 px-4 rounded-xl border border-border bg-background text-sm",placeholder:"Name",value:a.responsible,onChange:t=>d({...a,responsible:t.target.value})})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx("label",{className:"text-[10px] font-bold text-muted-foreground uppercase tracking-widest",children:"Due Date"}),e.jsx($,{value:a.dueDate,onChange:t=>d(s=>({...s,dueDate:t}))})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx("label",{className:"text-[10px] font-bold text-muted-foreground uppercase tracking-widest",children:"Initial Status"}),e.jsxs(P,{value:a.status,onValueChange:t=>d({...a,status:t}),children:[e.jsx(F,{className:"w-full h-10 px-4 rounded-xl border border-border bg-background text-sm",children:e.jsx(T,{})}),e.jsxs(O,{children:[e.jsx(c,{value:"Pending",children:"Pending"}),e.jsx(c,{value:"In Progress",children:"In Progress"}),e.jsx(c,{value:"Completed",children:"Completed"})]})]})]}),e.jsxs("div",{className:"col-span-2 space-y-1.5",children:[e.jsx("label",{className:"text-[10px] font-bold text-muted-foreground uppercase tracking-widest",children:"Attachment"}),e.jsxs("div",{className:"border-2 border-dashed border-border rounded-xl p-4 text-center hover:border-primary cursor-pointer transition-colors",onDrop:t=>{t.preventDefault();const s=t.dataTransfer.files[0];s&&d({...a,attachments:s.name})},onDragOver:t=>t.preventDefault(),onClick:()=>{const t=document.createElement("input");t.type="file",t.onchange=s=>{const o=s.target.files[0];o&&d({...a,attachments:o.name})},t.click()},children:[e.jsx(Ce,{className:"w-6 h-6 text-muted-foreground mx-auto mb-1"}),e.jsx("p",{className:"text-xs font-bold",children:a.attachments||"Drag & drop or click to upload"}),e.jsx("p",{className:"text-[10px] text-muted-foreground",children:"PDF, Excel, Images, etc."})]})]})]}),e.jsxs("div",{className:"p-6 border-t border-border flex items-center justify-end bg-muted/10 gap-3",children:[e.jsx("button",{onClick:()=>k(!1),className:"h-10 px-5 rounded-xl border border-border hover:bg-accent text-xs font-bold transition-all",children:"Cancel"}),e.jsxs("button",{type:"button",disabled:w,onClick:oe,className:"h-10 px-6 rounded-xl bg-primary text-primary-foreground hover:opacity-90 text-xs font-bold transition-all flex items-center gap-2 disabled:opacity-50",children:[e.jsx(De,{className:"w-4 h-4"}),"Save All"]})]})]})}),e.jsx(H,{isOpen:!!N,onClose:()=>v(null),title:"Delete meeting?",description:"This meeting and its minutes will be permanently removed.",confirmText:"Delete",variant:"destructive",isLoading:w,onConfirm:B})]}):e.jsxs("div",{className:"flex flex-col flex-1 h-full min-h-0 overflow-hidden bg-slate-50/50",children:[e.jsx(Se,{title:"Meeting Management",subtitle:"MOM, action items, and accountability tracking",accentVar:"--mod-mom",showMonthYearFilter:!1}),e.jsx("div",{className:"shrink-0 bg-surface/50 border-b border-border px-4 py-2 flex items-center justify-between flex-wrap gap-2",children:e.jsx(Ee,{showMonths:!0,actions:e.jsx(ze,{delayDuration:150,children:e.jsxs(Pe,{children:[e.jsx(Fe,{asChild:!0,children:e.jsx("button",{type:"button",onClick:()=>Y(`${Z}/mom/new`),className:"h-8 w-8 p-0 rounded-lg bg-blue-600 hover:bg-blue-700 text-white inline-flex items-center justify-center shadow-2xs transition-colors shrink-0 cursor-pointer",children:e.jsx(U,{className:"w-4 h-4"})})}),e.jsx(Te,{side:"bottom",align:"end",children:e.jsx("p",{children:"Create New Meeting"})})]})})})}),le&&e.jsx("div",{className:"fixed inset-0 bg-background/80 backdrop-blur-sm z-50 flex items-center justify-center p-4",children:e.jsxs("div",{className:"bg-card border border-border rounded-2xl shadow-2xl max-w-md w-full p-6 space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h2",{className:"text-lg font-black",children:"New Meeting"}),e.jsx("button",{type:"button",onClick:()=>S(!1),className:"p-2 rounded-full hover:bg-accent",children:e.jsx(W,{className:"w-4 h-4"})})]}),e.jsx(f,{label:"Meeting title",required:!0,error:g.title,children:e.jsx("input",{className:D(!!g.title,"w-full h-10 px-3 rounded-lg border border-border text-sm"),placeholder:"Meeting title",value:r.title,onChange:t=>{p({...r,title:t.target.value}),g.title&&z(s=>({...s,title:""}))}})}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsx(f,{label:"Date",children:e.jsx($,{value:r.date,onChange:t=>p(s=>({...s,date:t}))})}),e.jsx(f,{label:"Time",children:e.jsx("input",{type:"time",className:"w-full h-10 px-3 rounded-lg border border-border text-sm",value:r.time,onChange:t=>p({...r,time:t.target.value})})})]}),e.jsx(f,{label:"Organizer",required:!0,error:g.organizer,children:e.jsx("input",{className:D(!!g.organizer,"w-full h-10 px-3 rounded-lg border border-border text-sm"),placeholder:"Organizer name",value:r.organizer,onChange:t=>{p({...r,organizer:t.target.value}),g.organizer&&z(s=>({...s,organizer:""}))}})}),e.jsxs(P,{value:r.dept,onValueChange:t=>p({...r,dept:t}),children:[e.jsx(F,{className:"w-full h-10 px-3 rounded-lg border border-border text-sm",children:e.jsx(T,{placeholder:"Department (optional)"})}),e.jsxs(O,{children:[e.jsx(c,{value:"Executive",children:"Executive"}),e.jsx(c,{value:"Finance",children:"Finance"}),e.jsx(c,{value:"Operations",children:"Operations"}),e.jsx(c,{value:"Sales",children:"Sales"})]})]}),e.jsxs(P,{value:r.project,onValueChange:t=>p({...r,project:t==="none"?"":t}),children:[e.jsx(F,{className:"w-full h-10 px-3 rounded-lg border border-border text-sm",children:e.jsx(T,{placeholder:"Project (optional)"})}),e.jsxs(O,{children:[e.jsx(c,{value:"none",children:"Project (optional)"}),ne.map(t=>e.jsx(c,{value:t.name,children:t.name},t.id))]})]}),e.jsxs("div",{className:"flex justify-end gap-2",children:[e.jsx("button",{type:"button",onClick:()=>
1S(!1),className:"h-10 px-4 rounded-lg border text-xs font-bold",children:"Cancel"}),e.jsx("button",{type:"button",disabled:w,onClick:de,className:"h-10 px-5 rounded-lg bg-primary text-primary-foreground text-xs font-bold disabled:opacity-50",children:"Create"})]})]})}),e.jsx(H,{isOpen:!!N,onClose:()=>v(null),title:"Delete meeting?",description:"This meeting and its minutes will be permanently removed.",confirmText:"Delete",variant:"destructive",isLoading:w,onConfirm:B}),e.jsx("div",{className:"p-3 pb-3 flex-1 min-h-0 flex flex-col overflow-hidden",children:e.jsx(Oe,{selectable:!0,selectedIds:ae,onSelectionChange:L,bulkActions:[{id:"delete",label:"Delete Selected",variant:"destructive",onAction:async t=>{if(confirm(`Delete ${t.length} selected meeting(s)?`)){for(const s of t)try{await q(s.id).unwrap()}catch{}x.success(`Deleted ${t.length} meeting(s)`),L([])}}}],rows:j,rowKey:t=>t.id,searchKeys:["title","organizer","dept","status"],searchPlaceholder:"Search meetings...",storageKey:"finance-mom",initialPageSize:10,fetching:ee||_||re,onRefresh:async()=>{V(!0),await te(),setTimeout(()=>V(!1),500)},fillHeight:!0,columns:[{key:"id",label:"ID",width:"85px",sortable:!0},{key:"title",label:"Meeting Title",width:"250px",sortable:!0,render:t=>e.jsxs("button",{onClick:()=>h(t.id),className:"font-semibold text-primary hover:underline text-left flex items-center gap-1",children:[t.title,e.jsx(Ie,{className:"w-3.5 h-3.5"})]})},{key:"date",label:"Date",width:"120px",sortable:!0,sortValue:t=>t.date,render:t=>e.jsx(Le,{value:t.date})},{key:"time",label:"Time",width:"90px",sortable:!0},{key:"organizer",label:"Organizer",width:"140px",sortable:!0},{key:"dept",label:"Dept",width:"80px",sortable:!0},{key:"project",label:"Project",width:"100px",sortable:!0,render:t=>t.project??e.jsx("span",{className:"text-muted-foreground",children:"—"})},{key:"status",label:"Status",width:"100px",sortable:!0,render:t=>{const s=t.status==="Finalized";return e.jsxs("span",{className:C("text-[10px] px-1.5 py-0.5 rounded font-semibold flex items-center gap-1 w-fit",s?"bg-success/12 text-success":"bg-warning/12 text-warning"),children:[s?e.jsx(Q,{className:"w-3 h-3"}):e.jsx(Ke,{className:"w-3 h-3"}),t.status]})}},{key:"actions",label:"ACTIONS",width:"80px",align:"center",sortable:!1,fixed:"right",render:t=>e.jsxs("div",{className:"flex items-center gap-1 justify-center",onClick:s=>s.stopPropagation(),children:[e.jsx("button",{type:"button",onClick:()=>h(t.id),className:"p-1 rounded hover:bg-slate-100 dark:hover:bg-slate-800 text-slate-600 dark:text-slate-400 transition-colors",title:"View / Edit Meeting",children:e.jsx(Ae,{className:"w-3.5 h-3.5"})}),e.jsx("button",{type:"button",onClick:()=>v(t.id),className:"p-1 rounded hover:bg-rose-50 text-rose-600 transition-colors",title:"Delete Meeting",children:e.jsx(G,{className:"w-3.5 h-3.5"})})]})}],onRowClick:t=>h(t.id)})})]})}export{Ze as MOMPage};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.