Skip to content

The only tool you need to know what is happening and how to fix it.

746 B
Raw Blame
import"./DsnmJJEf.js";import{e as u,h as r,r as n,m as i,s as v,n as x,t as _,d as o,o as b,q as h}from"./BKFspo1J.js";import{p as g}from"./CARHnQ8P.js";import{B}from"./DY5VVhnr.js";var k=u('<div class="flex animate-in flex-wrap items-center gap-3 rounded-md border bg-muted/50 p-3 duration-200 fade-in slide-in-from-top-1"><span class="text-sm font-medium"> </span> <!> <!></div>');function P(l,t){let m=g(t,"itemLabel",3,"item");var e=k(),a=r(e),d=r(a);n(a);var s=i(a,2);v(s,()=>t.children);var c=i(s,2);B(c,{variant:"ghost",size:"sm",get onclick(){return t.onClear},children:(f,C)=>{x();var p=_("Clear selection");o(f,p)},$$slots:{default:!0}}),n(e),b(()=>h(d,`${t.count??""} ${m()??""}${t.count===1?"":"s"} selected`)),o(l,e)}export{P as B};