@ehfuse/taskbox 0.5.443 → 0.5.444

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/index.d.ts CHANGED
@@ -64,6 +64,7 @@ export type { LeadTimeDistributionChartProps } from "./charts/LeadTimeDistributi
64
64
  export * from "./atoms/TaskStatusChip";
65
65
  export * from "./atoms/TaskPriorityChip";
66
66
  export * from "./atoms/GoogleEventChip";
67
+ export * from "./atoms/CalendarTaskChip";
67
68
  export * from "./atoms/ReceiverAvatars";
68
69
  export * from "./atoms/CommentBubbleIcon";
69
70
  export * from "./atoms/ConfirmCountButton";
@@ -85,6 +86,7 @@ export * from "./configs/projectIcons";
85
86
  export * from "./utils/taskEffort";
86
87
  export * from "./utils/taskRelations";
87
88
  export * from "./utils/taskStatus";
89
+ export * from "./utils/calendarTaskTime";
88
90
  export * from "./utils/taskDone";
89
91
  export * from "./utils/taskConfirm";
90
92
  export * from "./utils/taskVisibility";
package/dist/index.esm.js CHANGED
@@ -21,5 +21,5 @@ ${I}`.trim()).then(()=>{D(!0),window.setTimeout(()=>D(!1),1500)})},G=Wa(ho,{sx:{
21
21
  .ck.done{fill:#94a3b8;}`,".td.done { fill: #555555; }",".gt { font-size: 10px; font-weight: 700; fill: #000000; }",".label { font-size: 9px; fill: #333333; }",".value { font-size: 10px; }",".section { font-size: 11.5px; font-weight: 700; fill: #000000; }",".pageno { font-size: 9px; fill: #333333; }",`.head { fill: #eef2f7; stroke: ${nl}; stroke-width: 0.5; }`,`.group { fill: #f8fafc; stroke: ${nl}; stroke-width: 0.5; }`,`.frame { fill: none; stroke: ${nl}; stroke-width: 0.5; }`,`.hline { stroke: ${nl}; stroke-width: 0.5; }`,`.vline { stroke: ${nl}; stroke-width: 0.5; }`,".bar { fill: #bfdbfe; stroke: #60a5fa; stroke-width: 0.6; }",".bar.done { fill: #e5e7eb; stroke: #cbd5e1; }",".bar.overdue { fill: #fecaca; stroke: #f87171; }"].join("");function cr(e,t,o){let n=o-co;return[`<text x="${co}" y="46" class="doc-title">${$e(e.documentTitle)}</text>`,`<text x="${co}" y="66" class="doc-sub">${$e(e.subtitle)}</text>`,`<text x="${n}" y="42" class="doc-meta" text-anchor="end">${$e(e.facilityName)}</text>`,`<text x="${n}" y="58" class="doc-meta" text-anchor="end">\uCD9C\uB825 ${$e(Ui(e.printedAt))}${e.printedBy?` \xB7 ${$e(e.printedBy)}`:""}</text>`,t?`<text x="${n}" y="74" class="doc-meta" text-anchor="end">${$e(t)}</text>`:""].join("")}function mr(e){let{width:t,height:o,body:n,pageIndex:r,pageCount:i}=e;return[`<svg xmlns="http://www.w3.org/2000/svg" width="${t}" height="${o}" viewBox="0 0 ${t} ${o}">`,`<style>${hR}</style>`,`<rect x="0" y="0" width="${t}" height="${o}" fill="#ffffff" />`,n,`<text x="${t/2}" y="${o-22}" class="pageno" text-anchor="middle">${r+1} / ${i}</text>`,"</svg>"].join("")}var Ru=al,Zx=ll,On=co,sl=Ru-co,ji=22,Ar=20,Xi=22,ur=18,qr=5,Jx=Xo,eh=Lo,Eu=Zx-46,dr=[{key:"no",label:"\uBC88\uD638",width:30,align:"middle"},{key:"title",label:"\uC81C\uBAA9",width:300,align:"start"},{key:"status",label:"\uC0C1\uD0DC",width:60,align:"middle"},{key:"start",label:"\uC2DC\uC791",width:78,align:"middle"},{key:"due",label:"\uB9C8\uAC10",width:78,align:"middle"},{key:"manager",label:"\uCC45\uC784\uC790",width:80,align:"middle"},{key:"priority",label:"\uC911\uC694\uB3C4",width:60,align:"middle"},{key:"project",label:"\uD504\uB85C\uC81D\uD2B8",width:100,align:"middle"}],Lr=dr.reduce((e,t,o)=>(e.push(o===0?On:e[o-1]+dr[o-1].width),e),[]);function bR(e){let t=[],o=[],n=Jx+ji,r=0,i=(a,l)=>{t.push(o),o=[],n=eh+ji,a&&(o.push({kind:"group",label:a,count:l,continued:!0}),n+=Xi)};for(let a of e){a.label&&(n+Xi+Ar>Eu&&i("",0),o.push({kind:"group",label:a.label,count:a.rows.length,continued:!1}),n+=Xi);for(let l of a.rows){n+Ar>Eu&&i(a.label,a.rows.length),r+=1,o.push({kind:"row",completed:l.completed,values:dr.map(s=>{switch(s.key){case"no":return String(r);case"title":return l.title;case"status":return l.statusName;case"project":return l.projectLabel||"\uAE30\uBCF8";case"manager":return l.managerName||"-";case"start":return l.startDate;case"due":return l.dueDate;default:return l.priorityName||"-"}})}),n+=Ar;for(let s of l.checklistItems)s.label&&(n+ur>Eu&&i(a.label,a.rows.length),o.push({kind:"check",label:s.label,checked:s.checked,managerName:s.managerName,dueDate:s.dueDate}),n+=ur)}}return t.push(o),t.filter((a,l)=>l===0||a.length>0)}function kR(e,t){let o=[],n=[],r=(a,l,s)=>{Lr.slice(1).forEach((u,c)=>{let d=c+1;s(d)||n.push(`<line x1="${u}" y1="${a}" x2="${u}" y2="${a+l}" class="vline" />`)})};o.push(`<rect x="${On}" y="${t}" width="${sl-On}" height="${ji}" class="head" />`),dr.forEach((a,l)=>{let s=Lr[l],u=a.align==="middle"?s+a.width/2:s+qr;o.push(`<text x="${u}" y="${t+ji-7}" class="th" text-anchor="${a.align}">${$e(a.label)}</text>`)}),r(t,ji,()=>!1);let i=t+ji;for(let a of e){if(a.kind==="group"){o.push(`<rect x="${On}" y="${i}" width="${sl-On}" height="${Xi}" class="group" />`,`<text x="${On+qr}" y="${i+Xi-7}" class="gt">${$e(`${a.continued?`${a.label} (\uC774\uC5B4\uC11C)`:a.label} (${a.count})`)}</text>`),i+=Xi;continue}if(a.kind==="check"){let l=Lr[1]+qr+10,s=Lr[4]-Lr[1],u=a.checked?"ck done":"ck";o.push(`<text x="${l}" y="${i+ur-5}" class="${u}">${$e(`${a.checked?"\u2713":"\u25CB"} ${Pn(a.label,s-qr*2-22,9)}`)}</text>`),a.dueDate&&o.push(`<text x="${Lr[4]+dr[4].width/2}" y="${i+ur-5}" class="${u}" text-anchor="middle">${$e(Pn(a.dueDate,dr[4].width-qr*2,9))}</text>`),a.managerName&&o.push(`<text x="${Lr[5]+dr[5].width/2}" y="${i+ur-5}" class="${u}" text-anchor="middle">${$e(Pn(a.managerName,dr[5].width-qr*2,9))}</text>`),o.push(`<line x1="${On}" y1="${i+ur}" x2="${sl}" y2="${i+ur}" class="hline" />`),r(i,ur,c=>c>=2&&c<=3),i+=ur;continue}dr.forEach((l,s)=>{let u=Lr[s],c=l.align==="middle"?u+l.width/2:u+qr;o.push(`<text x="${c}" y="${i+Ar-6}" class="${a.completed?"td done":"td"}" text-anchor="${l.align}">${$e(Pn(a.values[s]??"",l.width-qr*2,9))}</text>`)}),o.push(`<line x1="${On}" y1="${i+Ar}" x2="${sl}" y2="${i+Ar}" class="hline" />`),r(i,Ar,()=>!1),i+=Ar}return o.push(...n),o.push(`<rect x="${On}" y="${t}" width="${sl-On}" height="${i-t}" class="frame" />`),o.join("")}async function TR(e,t){let o=bR(t),n=t.reduce((r,i)=>r+i.rows.length,0);return o.map((r,i)=>{let a=i===0?Jx:eh,l=[i===0?cr(e,`\uC804\uCCB4 ${n}\uAC74`,Ru):"",kR(r,a)].join("");return mr({width:Ru,height:Zx,body:l,pageIndex:i,pageCount:o.length})})}var Pu=rl,th=il,zn=co,nc=Pu-co,yR=th-46,oh=22,SR=68,CR=(nc-zn)/2,BR=14,Mu=58;function Qi(e){switch(e.kind){case"title":return 34;case"props":return Math.ceil(e.pairs.length/2)*oh+10;case"section":return 26;default:return BR}}function vR(e){let t=[{kind:"title",text:e.title,ticket:e.ticketNo}];return t.push({kind:"props",pairs:e.properties}),t.push({kind:"section",text:"\uB0B4\uC6A9"}),(e.content.trim()?e.content.split(`
22
22
  `).flatMap(n=>n.trim()?Yi(n,Mu):[""]):["(\uB0B4\uC6A9 \uC5C6\uC74C)"]).forEach(n=>t.push({kind:"line",text:n,muted:!e.content.trim()})),e.checklist.length>0&&(t.push({kind:"section",text:`\uD560\uC77C (${e.checklist.filter(n=>n.checked).length}/${e.checklist.length})`}),e.checklist.forEach(n=>{Yi(n.label,Mu-3).forEach((r,i)=>t.push({kind:i===0?"check":"line",text:r,checked:n.checked}))})),e.includeComments&&e.comments.length>0&&(t.push({kind:"section",text:`\uB313\uAE00 (${e.comments.length})`}),e.comments.forEach(n=>{t.push({kind:"line",text:`${n.author} \xB7 ${n.time}`,muted:!0}),Yi(n.text,Mu).forEach(r=>t.push({kind:"line",text:r}))})),t}function _R(e){let t=[],o=[],n=Xo;for(let r of e){let i=Qi(r);n+i>yR&&(t.push(o),o=[],n=Lo),o.push(r),n+=i}return t.push(o),t}function IR(e,t){switch(e.kind){case"title":{let o=e.ticket?`<text x="${nc}" y="${t+16}" class="doc-meta" text-anchor="end">${$e(e.ticket)}</text>`:"";return{markup:`<text x="${zn}" y="${t+16}" class="section" style="font-size:14px">${$e(e.text)}</text>${o}<line x1="${zn}" y1="${t+24}" x2="${nc}" y2="${t+24}" class="hline" />`,nextY:t+Qi(e)}}case"props":{let o=[];return e.pairs.forEach((n,r)=>{let i=r%2,a=Math.floor(r/2),l=zn+i*CR,s=t+a*oh;o.push(`<text x="${l}" y="${s+14}" class="label">${$e(n.label)}</text>`,`<text x="${l+SR}" y="${s+14}" class="value">${$e(Yi(n.value||"-",26)[0]??"-")}</text>`)}),{markup:o.join(""),nextY:t+Qi(e)}}case"section":return{markup:`<text x="${zn}" y="${t+16}" class="section">${$e(e.text)}</text><line x1="${zn}" y1="${t+21}" x2="${nc}" y2="${t+21}" class="hline" />`,nextY:t+Qi(e)};case"check":return{markup:`<text x="${zn}" y="${t+10}" class="td">${e.checked?"\u2611":"\u2610"}</text><text x="${zn+14}" y="${t+10}" class="${e.checked?"td done":"td"}">${$e(e.text)}</text>`,nextY:t+Qi(e)};default:return{markup:`<text x="${zn}" y="${t+10}" class="${e.muted?"td done":"td"}">${$e(e.text)}</text>`,nextY:t+Qi(e)}}}async function wR(e,t){let o=_R(vR(t));return o.map((n,r)=>{let i=r===0?Xo:Lo,a=[r===0?cr(e,"",Pu):`<text x="${zn}" y="${Lo-12}" class="doc-meta">${$e(`${t.title} (\uC774\uC5B4\uC11C)`)}</text>`];for(let l of n){let s=IR(l,i);a.push(s.markup),i=s.nextY}return mr({width:Pu,height:th,body:a.join(""),pageIndex:r,pageCount:o.length})})}var zu=al,ih=ll,rc=co,cl=zu-co,nh=ih-46,rh=210,Nr=20,Ou=24;function $r(e){if(!/^\d{4}-\d{2}-\d{2}$/.test(e))return null;let t=new Date(`${e}T00:00:00`);return Number.isNaN(t.getTime())?null:t}function ah(e,t){return Math.round((t.getTime()-e.getTime())/864e5)}function DR(e,t){let o=[];e.forEach(a=>{let l=$r(a.startDate),s=$r(a.dueDate);l&&o.push(l),s&&o.push(s)});let n=$r(t)??new Date;if(o.length===0)return{start:n,days:30};let r=new Date(Math.min(...o.map(a=>a.getTime()))),i=new Date(Math.max(...o.map(a=>a.getTime())));return r.setDate(r.getDate()-1),i.setDate(i.getDate()+1),{start:r,days:Math.max(7,ah(r,i)+1)}}async function ER(e,t,o){let n=DR(t,o),r=rc+rh,a=(cl-r)/n.days,l=$r(o),s=m=>r+ah(n.start,m)*a,u=Math.max(1,Math.floor((nh-Xo-Ou)/Nr)),c=Math.max(1,Math.floor((nh-Lo-Ou)/Nr)),d=[],p=0;for(;p<t.length||d.length===0;){let m=d.length===0?u:c;if(d.push(t.slice(p,p+m)),p+=m,p>=t.length)break}return d.map((m,f)=>{let g=f===0?Xo:Lo,B=[f===0?cr(e,`\uC804\uCCB4 ${t.length}\uAC74`,zu):""],x=g+Ou;B.push(`<line x1="${rc}" y1="${x}" x2="${cl}" y2="${x}" class="vline" />`);for(let T=0;T<n.days;T+=1){let $=new Date(n.start);if($.setDate($.getDate()+T),$.getDay()!==0&&T!==0)continue;let y=r+T*a;B.push(`<line x1="${y}" y1="${x}" x2="${y}" y2="${x+m.length*Nr}" class="hline" />`,`<text x="${y+2}" y="${x-6}" class="label">${$.getMonth()+1}.${$.getDate()}</text>`)}if(l&&l>=n.start){let T=s(l);T>=r&&T<=cl&&B.push(`<line x1="${T}" y1="${x}" x2="${T}" y2="${x+m.length*Nr}" stroke="#f87171" stroke-width="0.8" />`)}return m.forEach((T,$)=>{let y=x+$*Nr,L=Pn(T.title,rh-64,9);B.push(`<text x="${rc}" y="${y+14}" class="${T.completed?"td done":"td"}">${$e(L)}</text>`,`<text x="${r-6}" y="${y+14}" class="label" text-anchor="end">${$e(T.managerName)}</text>`,`<line x1="${rc}" y1="${y+Nr}" x2="${cl}" y2="${y+Nr}" class="hline" />`);let D=$r(T.startDate)??$r(T.dueDate),_=$r(T.dueDate)??$r(T.startDate);if(!D||!_)return;let F=s(D),M=Math.max(F+a*.8,s(_)+a*.8),Q=T.completed?"bar done":T.overdue?"bar overdue":"bar";B.push(`<rect x="${F}" y="${y+5}" width="${Math.max(3,Math.min(M,cl)-F)}" height="${Nr-10}" rx="2" class="${Q}" />`)}),mr({width:zu,height:ih,body:B.join(""),pageIndex:f,pageCount:d.length})})}function RR(e,t,o,n){return{title:e.title,managerName:e.managerName,startDate:String(t??"").slice(0,10),dueDate:String(o??"").slice(0,10),completed:e.completed,overdue:!e.completed&&!!o&&String(o).slice(0,10)<n}}var qu=rl,sh=il,Zi=co,ic=qu-co,lh=sh-46,Ji=30,ea=18,ch=12;function MR(e){let t=[],o=[],n=Xo,r=(i,a)=>{t.push(o),o=[],n=Lo,i&&(o.push({kind:"column",label:i,summary:a,continued:!0,gapBefore:!1}),n+=Ji)};for(let i of e){let a=o.length>0,l=a?ch:0;if(n+l+Ji+ea>lh?(r("",""),o.push({kind:"column",label:i.label,summary:i.summary,continued:!1,gapBefore:!1}),n+=Ji):(o.push({kind:"column",label:i.label,summary:i.summary,continued:!1,gapBefore:a}),n+=l+Ji),i.items.length===0){o.push({kind:"empty"}),n+=ea;continue}for(let s of i.items)n+ea>lh&&r(i.label,i.summary),o.push({kind:"item",title:s.title,meta:s.meta,completed:s.completed}),n+=ea}return t.push(o),t}async function PR(e,t,o){let n=MR(t);return n.map((r,i)=>{let a=i===0?Xo:Lo,l=[i===0?cr(e,o,qu):""];for(let s of r){if(s.kind==="column"){s.gapBefore&&(a+=ch),l.push(`<rect x="${Zi}" y="${a}" width="${ic-Zi}" height="${Ji-6}" class="group" />`,`<text x="${Zi+6}" y="${a+16}" class="gt">${$e(s.continued?`${s.label} (\uC774\uC5B4\uC11C)`:s.label)}</text>`,`<text x="${ic-6}" y="${a+16}" class="label" text-anchor="end">${$e(s.summary)}</text>`),a+=Ji;continue}if(s.kind==="empty"){l.push(`<text x="${Zi+12}" y="${a+12}" class="td done">(\uC5C5\uBB34 \uC5C6\uC74C)</text>`),a+=ea;continue}l.push(`<text x="${Zi+12}" y="${a+12}" class="${s.completed?"td done":"td"}">${$e(Pn(s.title,ic-Zi-12-120,9))}</text>`,`<text x="${ic-6}" y="${a+12}" class="label" text-anchor="end">${$e(s.meta)}</text>`),a+=ea}return mr({width:qu,height:sh,body:l.join(""),pageIndex:i,pageCount:n.length})})}var OR=[{header:"\uADF8\uB8F9",width:16},{header:"\uC81C\uBAA9",width:44},{header:"\uC0C1\uD0DC",width:10},{header:"\uD504\uB85C\uC81D\uD2B8",width:14},{header:"\uCC45\uC784\uC790",width:10},{header:"\uCC38\uC870\uC790",width:22},{header:"\uC2DC\uC791",width:12},{header:"\uB9C8\uAC10",width:14},{header:"\uC911\uC694\uB3C4",width:8},{header:"\uD560\uC77C",width:8},{header:"\uBE44\uACE0",width:30}],zR="FFEEF2F7",ac="FFCBD5E1";function qR(e){return e.replace(/[\\/:*?"<>|]/g,"_").trim()||"\uC5C5\uBB34\uBAA9\uB85D"}async function LR(e,t){let o=await import("./chunks/exceljs.min-XQ4JIAQG.js"),n=new o.Workbook,r=n.addWorksheet("\uC5C5\uBB34\uBAA9\uB85D",{pageSetup:{paperSize:9,orientation:"landscape",fitToPage:!0,fitToWidth:1,fitToHeight:0}});r.columns=OR.map(c=>({header:c.header,width:c.width})),r.spliceRows(1,0,[`${e.documentTitle}`],[`${e.subtitle} \xB7 ${e.facilityName} \xB7 \uCD9C\uB825 ${Ui(e.printedAt)}${e.printedBy?` \xB7 ${e.printedBy}`:""}`]),r.getRow(1).font={bold:!0,size:14},r.getRow(2).font={size:10,color:{argb:"FF6B7280"}};let i=r.getRow(3);i.font={bold:!0,size:10},i.eachCell(c=>{c.fill={type:"pattern",pattern:"solid",fgColor:{argb:zR}},c.alignment={vertical:"middle",horizontal:"center"}}),t.forEach(c=>{c.rows.forEach(d=>{let p=r.addRow([c.label,d.title,d.statusName,d.projectLabel||"\uAE30\uBCF8",d.managerName,d.receiverNamesFull,d.startDate==="-"?"":d.startDate,d.dueDate==="-"?"":d.dueDate,d.priorityName,d.checklist,d.note]);p.font={size:10,color:{argb:d.completed?"FF9CA3AF":"FF111827"}},p.alignment={vertical:"middle",wrapText:!1}})});let a=r.rowCount;for(let c=3;c<=a;c+=1)r.getRow(c).eachCell({includeEmpty:!0},d=>{d.border={top:{style:"thin",color:{argb:ac}},left:{style:"thin",color:{argb:ac}},bottom:{style:"thin",color:{argb:ac}},right:{style:"thin",color:{argb:ac}}}});r.views=[{state:"frozen",ySplit:3}];let l=await n.xlsx.writeBuffer(),s=new Blob([l],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),u=Ui(e.printedAt).replace(/[: ]/g,"").slice(0,13);return{blob:s,fileName:`${qR(e.documentTitle)}_${u}.xlsx`}}function AR(e){return String(e??"").replace(/<br\s*\/?>(?=.)/gi,`
23
23
  `).replace(/<\/(p|div|li|h[1-6])>/gi,`
24
- `).replace(/<[^>]+>/g,"").replace(/&nbsp;/g," ").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")}function NR(e,t){let o=Du(e,t);return{title:o.title,ticketNo:String(e.ticket_no??"").trim(),properties:[{label:"\uC0C1\uD0DC",value:o.statusName},{label:"\uD504\uB85C\uC81D\uD2B8",value:o.projectLabel||"\uAE30\uBCF8"},{label:"\uCC45\uC784\uC790",value:o.managerName},{label:"\uCC38\uC870\uC790",value:o.receiverNamesFull},{label:"\uC2DC\uC791\uC77C\uC2DC",value:o.startDate},{label:"\uB9C8\uAC10\uC608\uC815",value:o.dueDate},{label:"\uC911\uC694\uB3C4",value:o.priorityName},{label:"\uC791\uC131\uC790",value:String(e.created_by??"")}],content:AR(e.content),checklist:(e.checklist??[]).map(n=>({label:String(n.label??""),checked:!!n.checked})),comments:(e.comments??[]).map(n=>({author:String(n.author??""),time:String(n.time??""),text:String(n.text??"")})),includeComments:!0}}export{d2 as ALL_TASK_VIEWER_ACCOUNT_SEQS,Tf as AddLabelDialog,Vl as AddTabDialog,xf as AttachmentUploadGauge,Om as AttachmentUploadPercent,Sc as BUG_DEVICE_OPTIONS,ST as BUG_GROUP_KEY,ma as BUG_ICON_COLOR,CO as BUG_KANBAN_COLUMNS,yc as BUG_REPRO_OPTIONS,Cc as BUG_RESOLUTION_OPTIONS,Vr as BUG_STATUS_OPTIONS,ca as BUG_TASK_ICON,ps as BugPropertiesGrid,pd as COLUMN_WIDTHS,ua as COMPLETED_STATUS_OPTION,Lo as CONT_BODY_TOP,iu as CUSTOM_TAB_KEY_PREFIX,E8 as CalendarLinkDialog,hl as ChartEmptyMessage,kr as CommentBubbleIcon,yi as ConfirmCountButton,Kg as CumulativeFlowChart,qd as DATE_REMINDER_OPTIONS,CB as DEFAULT_COMPACT_COLUMNS,xc as DEFAULT_PROJECT_ICON,NK as DEFAULT_TASKBOX_TAB_ITEMS,$n as DEFAULT_TASK_ICON,na as DEFAULT_WORKLOAD_CAPACITY,Bm as DRAWER_SECTION_TITLE_FONT_SIZE,vK as DateRangeFilterPopover,Go as DrawerSection,Fo as DueDatePickerPopover,fT as ENDED_EVENT_STATUS_OPTION,Ef as EVENT_ICON_COLOR,Pt as EVENT_TASK_ICON,eV as EmployeeSelectDialog,Xo as FIRST_BODY_TOP,Ic as GROUP_BY_OPTIONS,Di as GoogleEventChip,K8 as GoogleEventDialog,gK as GroupByMenuButton,Fl as IconPickerGrid,Qp as InlineAddressInput,Jn as InlineTextValue,vc as KANBAN_CLOSED_COLUMN_KEY,ll as LANDSCAPE_HEIGHT,al as LANDSCAPE_WIDTH,_G as LabelFilterMenu,Is as LabelSelectMenu,Gg as LeadTimeDistributionChart,zf as LinkifiedText,pa as MANUAL_TASK_STATUS_OPTIONS,co as MARGIN_X,lK as MemberFilterMenu,yT as NOTICE_GROUP_KEY,da as NOTICE_STATUS_OPTIONS,_t as NOTICE_TASK_ICON,ju as NO_TASK_ICON,il as PORTRAIT_HEIGHT,rl as PORTRAIT_WIDTH,Xu as PROJECT_ICON_OPTIONS,_e as PropertyRow,Ti as RECEIVER_AVATAR_COLORS,Ld as REMINDER_OPTIONS,hr as REVIEW_DONE_BUTTON_SX,go as ReceiverAvatarStack,ig as RelatedTasksSection,XR as STATUS_KEY_REPLIED,$u as STATUS_KEY_WAITING,CT as SUPPORT_GROUP_KEY,YG as ShortcutHelpDialog,Xd as SortableTaskCard,Vg as SprintBurndownChart,oK as SprintChartsDialog,hg as SprintCloseDialog,PG as SprintFilterMenu,T8 as SprintManageDialog,Fg as SprintVelocityChart,bi as StatusSelectMenu,Dl as TASKBOX_COLUMNS,cn as TASKBOX_DRAWER_NARROW_MQ,WG as TASKBOX_SHORTCUT_HELP,ed as TASKBOX_UI_STATE_ID,kx as TASKBOX_VIEW_LABELS,jN as TASKBOX_VIEW_MODES,Yc as TASK_CARD_DRAG_HANDLE_CLASS,Ea as TASK_REPEAT_RULE_OPTIONS,wo as TASK_STATUS_OPTIONS,Hy as TIME_REMINDER_OPTIONS,Ul as TaskAckListPopover,bn as TaskActionButton,Ps as TaskActivityDialog,vs as TaskAttachmentsSection,zp as TaskBoxColumnSummary,h$ as TaskBoxCompactTable,tm as TaskBoxGroupBoard,W7 as TaskBoxMobileList,Ip as TaskBoxMonthAgenda,Sp as TaskBoxMonthCalendar,c7 as TaskBoxSprintColumnSummary,Kd as TaskBoxTable,$K as TaskBoxTabs,Pp as TaskBoxTimeline,YN as TaskBoxView,hp as TaskBoxWeekCalendar,Sa as TaskCardContent,ys as TaskChecklistSection,Vf as TaskCommentInput,Ff as TaskCommentsSection,bs as TaskContentEditor,gs as TaskContentTemplateMenu,Jf as TaskContentTranslateDialog,yG as TaskContextMenu,ds as TaskCorePropertiesGrid,Nm as TaskCreateBody,gW as TaskCreateDrawer,cx as TaskDateRangeFilter,pg as TaskDetailBody,j9 as TaskDetailDrawer,Yf as TaskDetailHeader,Tr as TaskIconPickerPopover,gr as TaskLabelChips,Ts as TaskLinkDialog,eg as TaskNoteField,po as TaskPriorityChip,LU as TaskRuleManageDialog,He as TaskStatusChip,RO as TaskStatusChips,rY as TaskTemplateManageDialog,fY as TaskTemplateRunDialog,yU as TaskboxManualDialog,xh as TaskboxProvider,Wg as WorkloadCapacityDialog,Ug as WorkloadChart,Zg as WorkloadPersonTasks,Jg as WorkloadPersonTasksDialog,tx as WorkloadTimelineGrid,Gp as addDaysToDate,jR as averageWorkload,Yl as buildCardBaseSx,VR as buildCumulativeFlow,KR as buildLeadCycleDistribution,wB as buildPlannedTask,ld as buildStatusOptionColors,PR as buildTaskColumnsPrintSvgPages,NR as buildTaskDetailPrintData,wR as buildTaskDetailPrintSvgPages,wl as buildTaskGroupSections,TR as buildTaskListPrintSvgPages,LR as buildTaskListXlsx,Um as buildTaskRelationsModel,O1 as buildTaskShareText,ER as buildTaskTimelinePrintSvgPages,Xa as buildTaskboxShortcutHelp,yl as buildTaskboxTheme,Up as buildTemplateTasks,Au as buildWorkloadRows,Nu as buildWorkloadTimeline,hd as canAssignBugManager,Ml as canClaimTaskItem,bd as canCompleteTaskItem,ty as canDeleteTaskItem,ey as canEditTaskCoreItem,hn as canEditTaskItem,Rl as canViewTaskItem,Pl as canVolunteerTaskItem,Pn as clampPrintText,xr as coreEditLocked,Ym as countTaskRelations,qp as countWorkdays,mT as createTaskboxTheme,Op as daysLeftUntil,ss as defaultRepeatUntil,hc as defaultTaskBoxFormValues,bc as defaultTaskboxUiStateValues,Kr as deleteLocked,$e as escapePrintXml,oc as estimatePrintTextWidth,vf as filterFilesWithinLimit,Yq as formatConfirmTime,o7 as formatHours,Wo as formatKoreanDate,Do as formatKoreanDateTime,Oc as formatMonthDay,y$ as formatOffsetLabel,tc as formatPrintDate,Ui as formatPrintStamp,Vo as formatSprintOptionLabel,id as getBugDeviceName,rd as getBugReproName,Sl as getBugResolutionName,gT as getBugStatusOption,HR as getDefaultDateRange,fa as getEventDisplayStatusOption,vO as getNoDueStatusRank,Bf as getNoticeAckInfo,ad as getNoticeStatusOption,k3 as getNoticeTargetDisplay,Y5 as getProjectIconAnchorComponent,ze as getProjectIconComponent,Wy as getReminderLabel,Hc as getReminderOptions,Wc as getRemindersLabel,ls as getRepeatRuleLabel,vl as getStatusOptionsForTask,qG as getTabHeaderConfig,El as getTaskBoxColumnDefs,gd as getTaskBoxGridMinWidth,fd as getTaskBoxGridTemplate,aE as getTaskBoxTabKind,yr as getTaskConfirmInfo,Ot as getTaskDisplayStatusOption,Bl as getTaskStatusOption,_i as groupGoogleEventsByDate,Pr as groupSeqFromTabKey,eF as hasRelation,og as hasTaskRelations,Oa as htmlToPlainText,GI as isCustomTabKey,WR as isFlowTask,xd as isOpenPoolTaskItem,UR as isOverCapacity,YR as isOverloaded,Bc as isPastEvent,Ol as isSupportOriginTaskItem,Cl as isTaskDone,BO as isWaitingTask,Qu as loadMuiIconCatalog,cc as monthsAgoDate,Dn as narrowOrderSx,Y9 as nowDateTimeString,Lu as nowMinuteString,UC as parseEstimatedHours,FR as parseTaskTimeMs,bl as pickPersonWorkloadTasks,ri as relationsOf,cr as renderPrintHeader,Tn as resolveReminders,GR as resolveRowCapacity,hi as resolveTaskStatusOptions,Tc as resolveTaskboxTheme,$R as resolveWorkloadCapacity,x$ as selectDepartmentSharedTasks,Li as shareTaskText,n7 as sumRemainingHours,ws as summarizeNoticeTargets,l8 as tabKeyFromGroupSeq,on as taskVisibilityOf,Du as toTaskPrintRow,RR as toTimelinePrintRow,ra as toYmd,_l as toggleLabelKey,Wl as toggleReminder,aa as useBuildFileUrl,Ju as useIconPickerGroups,gf as useTaskAttachmentUploadMeta,fe as useTaskboxConfig,iT as useTaskboxForm,HG as useTaskboxShortcuts,ge as useTaskboxTheme,Hn as useTaskboxUiState,la as useUploadMaxMb,Tt as wideColumnSx,zl as withOriginAuthorAvatar,mr as wrapPrintPage,Yi as wrapPrintText};
24
+ `).replace(/<[^>]+>/g,"").replace(/&nbsp;/g," ").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")}function NR(e,t){let o=Du(e,t);return{title:o.title,ticketNo:String(e.ticket_no??"").trim(),properties:[{label:"\uC0C1\uD0DC",value:o.statusName},{label:"\uD504\uB85C\uC81D\uD2B8",value:o.projectLabel||"\uAE30\uBCF8"},{label:"\uCC45\uC784\uC790",value:o.managerName},{label:"\uCC38\uC870\uC790",value:o.receiverNamesFull},{label:"\uC2DC\uC791\uC77C\uC2DC",value:o.startDate},{label:"\uB9C8\uAC10\uC608\uC815",value:o.dueDate},{label:"\uC911\uC694\uB3C4",value:o.priorityName},{label:"\uC791\uC131\uC790",value:String(e.created_by??"")}],content:AR(e.content),checklist:(e.checklist??[]).map(n=>({label:String(n.label??""),checked:!!n.checked})),comments:(e.comments??[]).map(n=>({author:String(n.author??""),time:String(n.time??""),text:String(n.text??"")})),includeComments:!0}}export{d2 as ALL_TASK_VIEWER_ACCOUNT_SEQS,Tf as AddLabelDialog,Vl as AddTabDialog,xf as AttachmentUploadGauge,Om as AttachmentUploadPercent,Sc as BUG_DEVICE_OPTIONS,ST as BUG_GROUP_KEY,ma as BUG_ICON_COLOR,CO as BUG_KANBAN_COLUMNS,yc as BUG_REPRO_OPTIONS,Cc as BUG_RESOLUTION_OPTIONS,Vr as BUG_STATUS_OPTIONS,ca as BUG_TASK_ICON,ps as BugPropertiesGrid,Ei as CALENDAR_CHIP_FONT_SIZE,lm as CALENDAR_PRIORITY_DOT_COLORS,pd as COLUMN_WIDTHS,ua as COMPLETED_STATUS_OPTION,Lo as CONT_BODY_TOP,iu as CUSTOM_TAB_KEY_PREFIX,E8 as CalendarLinkDialog,Br as CalendarTaskChip,hl as ChartEmptyMessage,kr as CommentBubbleIcon,yi as ConfirmCountButton,Kg as CumulativeFlowChart,qd as DATE_REMINDER_OPTIONS,CB as DEFAULT_COMPACT_COLUMNS,xc as DEFAULT_PROJECT_ICON,NK as DEFAULT_TASKBOX_TAB_ITEMS,$n as DEFAULT_TASK_ICON,na as DEFAULT_WORKLOAD_CAPACITY,Bm as DRAWER_SECTION_TITLE_FONT_SIZE,vK as DateRangeFilterPopover,Go as DrawerSection,Fo as DueDatePickerPopover,fT as ENDED_EVENT_STATUS_OPTION,Ef as EVENT_ICON_COLOR,Pt as EVENT_TASK_ICON,eV as EmployeeSelectDialog,Xo as FIRST_BODY_TOP,Ic as GROUP_BY_OPTIONS,Di as GoogleEventChip,K8 as GoogleEventDialog,gK as GroupByMenuButton,Fl as IconPickerGrid,Qp as InlineAddressInput,Jn as InlineTextValue,vc as KANBAN_CLOSED_COLUMN_KEY,ll as LANDSCAPE_HEIGHT,al as LANDSCAPE_WIDTH,_G as LabelFilterMenu,Is as LabelSelectMenu,Gg as LeadTimeDistributionChart,zf as LinkifiedText,pa as MANUAL_TASK_STATUS_OPTIONS,co as MARGIN_X,lK as MemberFilterMenu,yT as NOTICE_GROUP_KEY,da as NOTICE_STATUS_OPTIONS,_t as NOTICE_TASK_ICON,ju as NO_TASK_ICON,il as PORTRAIT_HEIGHT,rl as PORTRAIT_WIDTH,Xu as PROJECT_ICON_OPTIONS,_e as PropertyRow,Ti as RECEIVER_AVATAR_COLORS,Ld as REMINDER_OPTIONS,hr as REVIEW_DONE_BUTTON_SX,go as ReceiverAvatarStack,ig as RelatedTasksSection,XR as STATUS_KEY_REPLIED,$u as STATUS_KEY_WAITING,CT as SUPPORT_GROUP_KEY,YG as ShortcutHelpDialog,Xd as SortableTaskCard,Vg as SprintBurndownChart,oK as SprintChartsDialog,hg as SprintCloseDialog,PG as SprintFilterMenu,T8 as SprintManageDialog,Fg as SprintVelocityChart,bi as StatusSelectMenu,Dl as TASKBOX_COLUMNS,cn as TASKBOX_DRAWER_NARROW_MQ,WG as TASKBOX_SHORTCUT_HELP,ed as TASKBOX_UI_STATE_ID,kx as TASKBOX_VIEW_LABELS,jN as TASKBOX_VIEW_MODES,Yc as TASK_CARD_DRAG_HANDLE_CLASS,Ea as TASK_REPEAT_RULE_OPTIONS,wo as TASK_STATUS_OPTIONS,Hy as TIME_REMINDER_OPTIONS,Ul as TaskAckListPopover,bn as TaskActionButton,Ps as TaskActivityDialog,vs as TaskAttachmentsSection,zp as TaskBoxColumnSummary,h$ as TaskBoxCompactTable,tm as TaskBoxGroupBoard,W7 as TaskBoxMobileList,Ip as TaskBoxMonthAgenda,Sp as TaskBoxMonthCalendar,c7 as TaskBoxSprintColumnSummary,Kd as TaskBoxTable,$K as TaskBoxTabs,Pp as TaskBoxTimeline,YN as TaskBoxView,hp as TaskBoxWeekCalendar,Sa as TaskCardContent,ys as TaskChecklistSection,Vf as TaskCommentInput,Ff as TaskCommentsSection,bs as TaskContentEditor,gs as TaskContentTemplateMenu,Jf as TaskContentTranslateDialog,yG as TaskContextMenu,ds as TaskCorePropertiesGrid,Nm as TaskCreateBody,gW as TaskCreateDrawer,cx as TaskDateRangeFilter,pg as TaskDetailBody,j9 as TaskDetailDrawer,Yf as TaskDetailHeader,Tr as TaskIconPickerPopover,gr as TaskLabelChips,Ts as TaskLinkDialog,eg as TaskNoteField,po as TaskPriorityChip,LU as TaskRuleManageDialog,He as TaskStatusChip,RO as TaskStatusChips,rY as TaskTemplateManageDialog,fY as TaskTemplateRunDialog,yU as TaskboxManualDialog,xh as TaskboxProvider,Wg as WorkloadCapacityDialog,Ug as WorkloadChart,Zg as WorkloadPersonTasks,Jg as WorkloadPersonTasksDialog,tx as WorkloadTimelineGrid,Gp as addDaysToDate,jR as averageWorkload,Yl as buildCardBaseSx,VR as buildCumulativeFlow,KR as buildLeadCycleDistribution,wB as buildPlannedTask,ld as buildStatusOptionColors,PR as buildTaskColumnsPrintSvgPages,NR as buildTaskDetailPrintData,wR as buildTaskDetailPrintSvgPages,wl as buildTaskGroupSections,TR as buildTaskListPrintSvgPages,LR as buildTaskListXlsx,Um as buildTaskRelationsModel,O1 as buildTaskShareText,ER as buildTaskTimelinePrintSvgPages,Xa as buildTaskboxShortcutHelp,yl as buildTaskboxTheme,Up as buildTemplateTasks,Au as buildWorkloadRows,Nu as buildWorkloadTimeline,hd as canAssignBugManager,Ml as canClaimTaskItem,bd as canCompleteTaskItem,ty as canDeleteTaskItem,ey as canEditTaskCoreItem,hn as canEditTaskItem,Rl as canViewTaskItem,Pl as canVolunteerTaskItem,Pn as clampPrintText,wi as compareCalendarTasks,xr as coreEditLocked,Ym as countTaskRelations,qp as countWorkdays,mT as createTaskboxTheme,Op as daysLeftUntil,ss as defaultRepeatUntil,hc as defaultTaskBoxFormValues,bc as defaultTaskboxUiStateValues,Kr as deleteLocked,$e as escapePrintXml,oc as estimatePrintTextWidth,vf as filterFilesWithinLimit,Yq as formatConfirmTime,o7 as formatHours,Wo as formatKoreanDate,Do as formatKoreanDateTime,Oc as formatMonthDay,y$ as formatOffsetLabel,tc as formatPrintDate,Ui as formatPrintStamp,Vo as formatSprintOptionLabel,id as getBugDeviceName,rd as getBugReproName,Sl as getBugResolutionName,gT as getBugStatusOption,Ii as getCalendarTaskTime,HR as getDefaultDateRange,fa as getEventDisplayStatusOption,vO as getNoDueStatusRank,Bf as getNoticeAckInfo,ad as getNoticeStatusOption,k3 as getNoticeTargetDisplay,Y5 as getProjectIconAnchorComponent,ze as getProjectIconComponent,Wy as getReminderLabel,Hc as getReminderOptions,Wc as getRemindersLabel,ls as getRepeatRuleLabel,vl as getStatusOptionsForTask,qG as getTabHeaderConfig,El as getTaskBoxColumnDefs,gd as getTaskBoxGridMinWidth,fd as getTaskBoxGridTemplate,aE as getTaskBoxTabKind,yr as getTaskConfirmInfo,Ot as getTaskDisplayStatusOption,Bl as getTaskStatusOption,_i as groupGoogleEventsByDate,Pr as groupSeqFromTabKey,eF as hasRelation,og as hasTaskRelations,Oa as htmlToPlainText,GI as isCustomTabKey,WR as isFlowTask,xd as isOpenPoolTaskItem,UR as isOverCapacity,YR as isOverloaded,Bc as isPastEvent,Ol as isSupportOriginTaskItem,Cl as isTaskDone,BO as isWaitingTask,Qu as loadMuiIconCatalog,cc as monthsAgoDate,Dn as narrowOrderSx,Y9 as nowDateTimeString,Lu as nowMinuteString,UC as parseEstimatedHours,FR as parseTaskTimeMs,bl as pickPersonWorkloadTasks,ri as relationsOf,cr as renderPrintHeader,Tn as resolveReminders,GR as resolveRowCapacity,hi as resolveTaskStatusOptions,Tc as resolveTaskboxTheme,$R as resolveWorkloadCapacity,x$ as selectDepartmentSharedTasks,Li as shareTaskText,n7 as sumRemainingHours,ws as summarizeNoticeTargets,l8 as tabKeyFromGroupSeq,on as taskVisibilityOf,Du as toTaskPrintRow,RR as toTimelinePrintRow,ra as toYmd,_l as toggleLabelKey,Wl as toggleReminder,aa as useBuildFileUrl,Ju as useIconPickerGroups,gf as useTaskAttachmentUploadMeta,fe as useTaskboxConfig,iT as useTaskboxForm,HG as useTaskboxShortcuts,ge as useTaskboxTheme,Hn as useTaskboxUiState,la as useUploadMaxMb,Tt as wideColumnSx,zl as withOriginAuthorAvatar,mr as wrapPrintPage,Yi as wrapPrintText};
25
25
  //# sourceMappingURL=index.esm.js.map