System.register([],function(_export,_context){"use strict";function e(e,t,n,o){t.preventDefault(),t.stopPropagation();var s=Number(e.dataset.cStart);if(!s)return null;var l=Number(e.getAttribute("colspan"))||1,c=Math.max(0,s+l-1-1);n.value=t.clientX,o.value=e.getBoundingClientRect().width;var i=t.currentTarget;return i.setPointerCapture(t.pointerId),e.dispatchEvent(new CustomEvent("nile-column-resize",{detail:{col:c,widthPx:o.value},bubbles:!0,composed:!0})),e.dispatchEvent(new CustomEvent("nile-resize-start",{bubbles:!0,composed:!0})),{target:i,col:c};}function t(e,t,n,o,s){var l=Math.max(40,Math.round(n+(s.clientX-o)));e.dispatchEvent(new CustomEvent("nile-column-resize",{detail:{col:t,widthPx:l},bubbles:!0,composed:!0}));}function n(e,t,n,o,s){o.releasePointerCapture(n.pointerId),o.removeEventListener("pointermove",s),e.dispatchEvent(new CustomEvent("nile-resize-end",{bubbles:!0,composed:!0,detail:{col:t}}));}_export({a:n,c:t,i:e});return{setters:[],execute:function execute(){}};});
//# sourceMappingURL=nile-grid-cell-item.utils.cjs.js.map
