1import{d as u,l as _,w as t,q as a,f as o,g as s,H as f,j as e,m as l,s as i}from"./app-4h8KysWF.js";import{_ as h}from"./SidebarLayout-Hgt8wbL1.js";import{s as b}from"./dropdown.esm-jmt6jYhv.js";/* empty css */import"./overlayeventbus.esm-2wSqM255.js";import"./virtualscroller.esm-bmgfc2Vw.js";const y={class:"space-y-5"},V={class:"mb-5"},g=e("div",{class:"w-72"},[e("ul",{class:"list-none p-0 m-0"},[e("li",null,[e("a",{href:"#",class:"px-3 py-2 flex hover:bg-gray-50"}," Item 1 ")]),e("li",null,[e("a",{href:"#",class:"px-3 py-2 flex hover:bg-gray-50"}," Item 1 ")]),e("li",null,[e("a",{href:"#",class:"px-3 py-2 flex hover:bg-gray-50"}," Item 1 ")])])],-1),v={class:"mb-5"},w=e("a",null,"Tooltip hover me",-1),x={class:"mb-5"},C=e("button",null,"Documentation",-1),D={class:"w-72 flex gap-2 p-4 justify-between"},T={class:"space-y-4"},N=e("h5",null,"primevue dropdown",-1),k={data(){return{selectedCity:null,cities:[{name:"New York",code:"NY"},{name:"Rome",code:"RM"},{name:"London",code:"LDN"},{name:"Istanbul",code:"IST"},{name:"Paris",code:"PRS"}]}}},L=Object.assign(k,{__name:"Dropdown",setup(I){return(n,p)=>{const c=a("VDropdown"),r=a("VTooltip"),d=a("VMenu");return u(),_(h,null,{default:t(()=>[o(s(f),{title:"Dropdown - Styleguide"}),e("div",y,[e("div",V,[l(" VDropdown "),o(c,{distance:6,placement:"bottom-start"},{popper:t(()=>[g]),default:t(()=>[o(s(i),{label:"Click me",icon:"pi pi-arrow-down","icon-pos":"right",class:"p-button-primary"})]),_:1})])]),e("div",v,[l(" VTooltip "),o(r,null,{popper:t(()=>[l(" Tooltip message! ")]),default:t(()=>[w]),_:1})]),e("div",x,[l(" VMenu (hover menu) "),o(d,{placement:"right"},{popper:t(()=>[e("div",D,[o(s(i),{label:"Submit",icon:"pi pi-check","icon-pos":"left",class:"p-button-success"}),o(s(i),{label:"Close",icon:"pi pi-times","icon-pos":"left",class:"p-button-danger"})])]),default:t(()=>[C]),_:1})]),e("div",T,[N,o(s(b),{modelValue:n.selectedCity,"onUpdate:modelValue":p[0]||(p[0]=m=>n.selectedCity=m),options:n.cities,"option-label":"name",placeholder:"Select a City"},null,8,["modelValue","options"])])]),_:1})}}}
vendor: 24 bytes, line 1
1);export{L 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.