import{a7 as t,Q as e}from"./index.3938ccd1.js";var o=t({name:"QSpace",setup(){const t=e("div",{class:"q-space"});return()=>t}});const n={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},a=Object.keys(n);function r(t){const e={};for(const o of a)!0===t[o]&&(e[o]=!0);return 0===Object.keys(e).length?n:(!0===e.horizontal?e.left=e.right=!0:!0===e.left&&!0===e.right&&(e.horizontal=!0),!0===e.vertical?e.up=e.down=!0:!0===e.up&&!0===e.down&&(e.vertical=!0),!0===e.horizontal&&!0===e.vertical&&(e.all=!0),e)}n.all=!0;const i=["INPUT","TEXTAREA"];function l(t,e){return void 0===e.event&&void 0!==t.target&&!0!==t.target.draggable&&"function"==typeof e.handler&&!1===i.includes(t.target.nodeName.toUpperCase())&&(void 0===t.qClonedBy||-1===t.qClonedBy.indexOf(e.uid))}export{o as Q,r as g,l as s};
