function e(e){return Array.isArray(e)?e:e===void 0?[]:[e]}function t(e){let{label:t,value:n,children:r}=e||{},i=n||`value`;return{_title:t?[t]:[`title`,`label`],value:i,key:i,children:r||`children`}}function n(e){return e.disabled||e.disableCheckbox||e.checkable===!1}function r(e,t){let n=[];function r(e){e.forEach(e=>{n.push(e[t.value]);let i=e[t.children];i&&r(i)})}return r(e),n}function i(e){return e==null}exports.fillFieldNames=t,exports.getAllKeys=r,exports.isCheckDisabled=n,exports.isNil=i,exports.toArray=e;