1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/CardWrapperTwo-B0hrgW9G.js","assets/index-Csd64fBp.js","assets/index-DdPtfxWg.css","assets/GroupItem-DqniS7Ot.js","assets/index-DiCAlduP.js"])))=>i.map(i=>d[i]); 2import{b as N,s as P,f as B,aa as E,p as u,h as a,t as p,j as e,g as n,F as A,C as I,k as s,i as U,D as r,E as l,n as d,y as c,B as g,l as f,z as $,x as b,_ as h}from"./index-Csd64fBp.js";import{u as L}from"./kanban-BLQTTW0l.js";import{g as R,a as S,b as C}from"./index-DiCAlduP.js";const j={id:"demo1"},z={class:"row kanban-container d-flex gap-4"},F={class:"kanban-board-header"},M={class:"kanban-title-board"},O={class:"kanban-item"},G={class:"kanban-box",href:"javascript:void(0)"},H={class:"date"},K={class:"common-align"},W=["src"],q={class:"flex-grow-1"},J={class:"d-flex mt-3"},Q={class:"list"},X={title:"Comments","data-bs-placement":"bottom"},Y={title:"Attachment","data-bs-placement":"bottom"},Z={title:"View","data-bs-placement":"bottom"},ee={key:0,class:"itemform not-draggable"},te={class:"form-group"},se=["onUpdate:modelValue"],oe={class:"form-group"},ae=["onClick"],ne=["onClick"],le=["onClick"],_e=N({__name:"DefaultDemo",setup(ie){const v=f(()=>h(()=>import("./CardWrapperTwo-B0hrgW9G.js"),__vite__mapDeps([0,1,2]))),k=f(()=>h(()=>import("./GroupItem-DqniS7Ot.js"),__vite__mapDeps([3,4,1,2]))),_=L(),{demoCards:y}=P(_),{getBadgeClass:x,addCard:w,cancel:V,newCard:D}=_;return(re,i)=>{const T=B("draggable"),m=E("tooltip");return a(),u(s(v),{colClass:"col-12",simpleHeader:!0,descriptionClass:"m-0 c-o-light",description:"Default settings",title:"Default Demo"},{default:p(()=>[e("div",j,[e("div",z,[(a(!0),n(A,null,I(s(y),o=>(a(),n("div",{key:o.title,class:"col-3 kanban-board"},[e("header",F,[e("div",M,l(o.title),1)]),U(T,{modelValue:o.cards,"onUpdate:modelValue":t=>o.cards=t,group:"kanban-cards","item-key":"id",class:"kanban-drag"},{item:p(({element:t})=>[e("div",null,[e("div",O,[e("a",G,[e("span",H,l(t.date),1),e("span",{class:d(`badge badge-${s(x)(t.taskPriority)} f-right`)},l(t.taskPriority),3),e("h6",null,l(t.title),1),e("div",K,[t.userProfile?(a(),n("img",{key:0,class:"me-2 rounded-circle",src:s(R)(t.userProfile)},null,8,W)):r("",!0),t.userProfile?r("",!0):(a(),n("div",{key:1,class:d(`common-circle bg-lighter-${s(S)(s(C)(t.userName))}`)},l(s(C)(t.userName,"singleText")),3)),e("div",q,[e("p",null,l(t.userName),1)])]),e("div",J,[e("ul",Q,[c((a(),n("li",X,[i[0]||(i[0]=e("i",{class:"fa-regular fa-comments"},null,-1)),g(l(t.comments),1)])),[[m]]),c((a(),n("li",Y,[i[1]||(i[1]=e("i",{class:"fa-solid fa-paperclip"},null,-1)),g(l(t.attachment),1)])),[[m]]),c((a(),n("li",Z,[...i[2]||(i[2]=[e("i",{class:"fa-regular fa-eye"},null,-1)])])),[[m]])]),t.members&&t.members.length?(a(),u(s(k),{key:0,items:t.members,class:d("common-f-start"),imgClass:"img-30",showItems:3},null,8,["items"])):r("",!0)])])])])]),_:1},8,["modelValue","onUpdate:modelValue"]),o.addCard?(a(),n("form",ee,[e("div",te,[c(e("textarea",{class:"form-control",rows:"2",autofocus:"","onUpdate:modelValue":t=>o.newCardTitle=t},null,8,se),[[$,o.newCardTitle]])]),e("div",oe,[e("button",{type:"submit",class:"btn btn-primary btn-sm me-2",onClick:b(t=>s(w)(o),["prevent"])}," Submit ",8,ae),e("button",{type:"button",id:"CancelBtn",class:"btn button-light-primary btn-sm",onClick:b(t=>s(V)(o),["prevent"])}," Cancel ",8,ne)])])):r("",!0),e("footer",null,[e("button",{class:"btn",onClick:t=>s(D)(o)},"Add New Card",8,le)])]))),128))])])]),_:1})}}});
2export{_e as default};
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.