import{createVNode as l}from"vue";function u({prefixCls:n,record:t,onExpand:e,expanded:o,expandable:r}){const c=`${n}-row-expand-icon`;if(!r)return l("span",{class:[c,`${n}-row-spaced`]},null);const a=s=>{e(t,s),s.stopPropagation()};return l("span",{class:{[c]:!0,[`${n}-row-expanded`]:o,[`${n}-row-collapsed`]:!o},onClick:a},null)}function p(n,t,e){const o=[];function r(c){(c||[]).forEach((a,s)=>{o.push(t(a,s)),r(a[e])})}return r(n),o}export{p as findAllChildrenKeys,u as renderExpandIcon};
