1import{a0 as C,d as T,V as O,r as E,aa as _,ag as S,k as b,f,B as L,Y as m,Z as t,az as $}from"./entry.BDJVvMza.js";import{b as M,u as I}from"./index.Co8gYCVO.js";import{E as o}from"./aria.BUADUvnR.js";const h=T({inheritAttrs:!1});function w(n,l,a,s,i,d){return O(n.$slots,"default")}var B=C(h,[["render",w],["__file","collection.vue"]]);const P=T({name:"ElCollectionItem",inheritAttrs:!1});function v(n,l,a,s,i,d){return O(n.$slots,"default")}var A=C(P,[["render",v],["__file","collection-item.vue"]]);const K="data-el-collection-item",Y=n=>{const l=`El${n}Collection`,a=`${l}Item`,s=Symbol(l),i=Symbol(a),d={...B,name:l,setup(){const u=E(null),c=new Map;_(s,{itemMap:c,getItems:()=>{const r=f(u);if(!r)return[];const e=Array.from(r.querySelectorAll(`[${K}]`));return[...c.values()].sort((N,g)=>e.indexOf(N.ref)-e.indexOf(g.ref))},collectionRef:u})}},y={...A,name:a,setup(u,{attrs:c}){const p=E(null),r=S(s,void 0);_(i,{collectionItemRef:p}),b(()=>{const e=f(p);e&&r.itemMap.set(e,{ref:e,...c})}),L(()=>{const e=f(p);r.itemMap.delete(e)})}};return{COLLECTION_INJECTION_KEY:s,COLLECTION_ITEM_INJECTION_KEY:i,ElCollection:d,ElCollectionItem:y}},V=m({trigger:M.trigger,effect:{...I.effect,default:"light"},type:{type:t(String)},placement:{type:t(String),default:"bottom"},popperOptions:{type:t(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:t([Number,String]),default:0},maxHeight:{type:t([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},role:{type:String,default:"menu"},buttonProps:{type:t(Object)},teleported:I.teleported}),k=m({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:$}}),z=m({onKeydown:{type:t(Function)}}),x=[o.down,o.pageDown,o.home],j=[o.up,o.pageUp,o.end],U=[...x,...j],{ElCollection:q,ElCollectionItem:G,COLLECTION_INJECTION_KEY:H,COLLECTION_ITEM_INJECTION_KEY:W}=Y("Dropdown");export{W as C,q as E,U as F,j as L,k as a,K as b,Y as c,V as d,G as e,z as f,H as g};
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.