1import{u as l}from"./B0plUJmt.js";import{b as i}from"./BLEG115K.js";import{P as p}from"./BAz7lLB1.js";import{i as u}from"./C1p7tdPv.js";import{aj as d,j as c,ae as f,o as g,w as m,ak as v,al as _,a8 as a}from"./yaqlGhj_.js";var C=d({__name:"DialogTrigger",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const r=t,e=u(),{forwardRef:n,currentElement:s}=l();return e.contentId||=i(void 0,"reka-dialog-content"),c(()=>{e.triggerElement.value=s.value}),(o,k)=>(g(),f(a(p),_(r,{ref:a(n),type:o.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":a(e).open.value||!1,"aria-controls":a(e).open.value?a(e).contentId:void 0,"data-state":a(e).open.value?"open":"closed",onClick:a(e).onOpenToggle}),{default:m(()=>[v(o.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),w=C;export{w as D};
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.