import{b as e,m as r,a4 as n,A as o}from"./vendor.js";import{useRef as a,useState as t,useEffect as l}from"react";import{O as i}from"./core/Option/index.js";import{T as s}from"./core/Text/index.js";var c={render:function(c){var m=c.element,u=c.elementInnerRef,d=c.className,f=a(),p=t(null),v=e(p,2),x=v[0],j=v[1];l((function(){j(u.current)}),[u.current]);return r.jsx(n,{ref:f,onBeforeDragStart:function(){var e,r,n;null===(e=f.current)||void 0===e||null===(r=e.tooltipRef)||void 0===r||null===(n=r.current)||void 0===n||n.close()},dragImage:x,data:m,children:r.jsx(i,{onClick:function(e){return e.preventDefault()},option:{icon:"drag_handle"},className:o(d,"oak-drag-handle"),name:r.jsx(s,{name:"core.tooltips.move",default:"Move"})})})}};export{c as D};
//# sourceMappingURL=options.js.map
