PageSourceSearch

https://argilla.io/_nuxt/Dropdown.41a7ed51.js

js argilla.io collected 2026-10-02 17:19:30 UTC 2,577 bytes, 1 lines download raw bytes

1import C from"./Text.b4b9f37c.js";import B from"./Button.6b35f6b7.js";import{o as e,c as a,a as c,f as T,v as m,A as O,b as l,w as d,d as w,t as f,u as r,g as p,N as A,U as D,ae as F,Y as N,n as $}from"./entry.5974df5d.js";import"./ContentNavigation.eb09a70c.js";import{_ as V}from"./_plugin-vue_export-helper.a1a6add7.js";import"./client-only.d9ce27ac.js";/* empty css                                                               *//* empty css                                                                         *//* empty css                                                                   */import"./ContentList.d17c5f9d.js";import"./ContentSlot.ee7b430f.js";import"./DocumentDrivenEmpty.a06d7953.js";import"./DocumentDrivenNotFound.8369194f.js";import"./Markdown.a42df120.js";import"./ProseCode.9b16a0c1.js";const b={width:"22",height:"13",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function I(o,t){return e(),a("svg",b,t[0]||(t[0]=[c("path",{d:"m20.002 11.998-9.003-10-9.002 10",stroke:"#6246EA","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const j={render:I},q={width:"22",height:"13",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function E(o,t){return e(),a("svg",q,t[0]||(t[0]=[c("path",{d:"M1.999 1.001 11 11.003 20.003 1",stroke:"#FFF9F6","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const S={render:E},U={class:"dropdown__options"},z=["onClick"],L=T({__name:"Dropdown",props:{dropdownTitle:{type:String,required:!0},dropdownOptions:{type:Array,required:!0}},emits:["onClickOption"],setup(o,{emit:t}){const h=t,k=o,n=m(!1),_=m(!1),g=O(()=>k.dropdownOptions.filter(s=>s!==_.value)),x=()=>{n.value=!n.value},v=s=>{_.value=s,n.value=!1,h("onClickOption",s)};return(s,M)=>{const u=C,y=B;return e(),a("div",{class:$(["dropdown",r(n)?"--expanded":null])},[l(y,{type:"reset",class:"dropdown__header",onClick:x,"aria-expanded":!0,"aria-controls":o.dropdownTitle,id:`dropdown-${o.dropdownTitle}`},{default:d(()=>[l(u,{class:"dropdown__header__text",type:"heading6",weight:"bold"},{default:d(()=>[w(f(o.dropdownTitle),1)]),_:1}),r(n)?(e(),p(r(j),{key:0})):(e(),p(r(S),{key:1}))]),_:1},8,["aria-controls","id"]),r(n)?(e(),p(F,{key:0,name:"fade",appear:""},{default:d(()=>[c("ul",U,[(e(!0),a(A,null,D(r(g),i=>(e(),a("li",{class:"dropdown__option",key:i,onClick:Y=>v(i)},[l(u,{class:"dropdown__option__text",type:"heading6",weight:"regular"},{default:d(()=>[w(f(i),1)]),_:2},1024)],8,z))),128))])]),_:1})):N("",!0)],2)}}}),se=V(L,[["__scopeId","data-v-ca12bdec"]]);export{se 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.