1import { cU as C, d as T, G as g, Y as E, bg as S, o as b, l as f, ch as L, d4 as _, cT as m, iD as o, d5 as $, jg as I, h3 as e, jz as h } from "./B5ttsc57.js"; 2const M = T({ inheritAttrs: false }); 3function w(n, l, a, s, c, d) { 4 return g(n.$slots, "default"); 5} 6var A = C(M, [["render", w], ["__file", "collection.vue"]]); 7const K = T({ name: "ElCollectionItem", inheritAttrs: false }); 8function P(n, l, a, s, c, d) { 9 return g(n.$slots, "default"); 10} 11var v = C(K, [["render", P], ["__file", "collection-item.vue"]]); 12const B = "data-el-collection-item", Y = (n) => { 13 const l = "El".concat(n, "Collection"), a = "".concat(l, "Item"), s = Symbol(l), c = Symbol(a), d = { ...A, name: l, setup() { 14 const u = E(null), i = /* @__PURE__ */ new Map(); 15 _(s, { itemMap: i, getItems: () => { 16 const r = f(u); 17 if (!r) return []; 18 const t = Array.from(r.querySelectorAll("[".concat(B, "]"))); 19 return [...i.values()].sort((O, N) => t.indexOf(O.ref) - t.indexOf(N.ref)); 20 }, collectionRef: u }); 21 } }, y = { ...v, name: a, setup(u, { attrs: i }) { 22 const p = E(null), r = S(s, void 0); 23 _(c, { collectionItemRef: p }), b(() => { 24 const t = f(p); 25 t && r.itemMap.set(t, { ref: t, ...i }); 26 }), L(() => { 27 const t = f(p); 28 r.itemMap.delete(t); 29 }); 30 } }; 31 return { COLLECTION_INJECTION_KEY: s, COLLECTION_ITEM_INJECTION_KEY: c, ElCollection: d, ElCollectionItem: y }; 32}, J = m({ trigger: h.trigger, triggerKeys: { type: o(Array), default: () => [e.enter, e.numpadEnter, e.space, e.down] }, effect: { ...I.effect, default: "light" }, type: { type: o(String) }, placement: { type: o(String), default: "bottom" }, popperOptions: { type: o(Object), default: () => ({}) }, id: String, size: { type: String, default: "" }, splitButton: Boolean, hideOnClick: { type: Boolean, default: true }, loop: { type: Boolean, default: true }, showTimeout: { type: Number, default: 150 }, hideTimeout: { type: Number, default: 150 }, tabindex: { type: o([Number, String]), default: 0 }, maxHeight: { type: o([Number, String]), default: "" }, popperClass: { type: String, default: "" }, disabled: Boolean, role: { type: String, default: "menu" }, buttonProps: { type: o(Object) }, teleported: I.teleported }), R = m({ command: { type: [Object, String, Number], default: () => ({}) }, disabled: Boolean, divided: Boolean, textValue: String, icon: { type: $ } }), U = m({ onKeydown: { type: o(Function) } }), j = [e.down, e.pageDown, e.home], x = [e.up, e.pageUp, e.end], z = [...j, ...x], { ElCollection: G, ElCollectionItem: V, COLLECTION_INJECTION_KEY: k, COLLECTION_ITEM_INJECTION_KEY: q } = Y("Dropdown"); 33export { 34 B as C, 35 G as E, 36 z as F, 37 x as L, 38 R as a, 39 q as b, 40 Y as c, 41 J as d, 42 V as e, 43 U as f, 44 k as g 45};
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.