function u(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function o(e){const{label:n,value:r,children:i}=e||{},l=r||"value";return{_title:n?[n]:["title","label"],value:l,key:l,children:i||"children"}}function s(e){return e.disabled||e.disableCheckbox||e.checkable===!1}function a(e,n){const r=[];function i(l){l.forEach(t=>{r.push(t[n.value]);const c=t[n.children];c&&i(c)})}return i(e),r}function d(e){return e==null}export{o as fillFieldNames,a as getAllKeys,s as isCheckDisabled,d as isNil,u as toArray};
