var e=`__RC_CASCADER_SPLIT__`,t=`SHOW_PARENT`,n=`SHOW_CHILD`;function r(t){return t.join(e)}function i(e){return e.map(r)}function a(t){return t.split(e)}function o(e){let{label:t,value:n,children:r}=e||{},i=n||`value`;return{label:t||`label`,value:i,key:i,children:r||`children`}}function s(e,t){return e.isLeaf??!e[t.children]?.length}function c(e){let t=e.parentElement;if(!t)return;let n=e.offsetTop-t.offsetTop;n-t.scrollTop<0?t.scrollTo({top:n}):n+e.offsetHeight-t.scrollTop>t.offsetHeight&&t.scrollTo({top:n+e.offsetHeight-t.offsetHeight})}export{n as SHOW_CHILD,t as SHOW_PARENT,e as VALUE_SPLIT,o as fillFieldNames,s as isLeaf,c as scrollIntoParentView,r as toPathKey,i as toPathKeys,a as toPathValueStr};