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