/*!
 * Built by Revolist OU ❤️
 */
import{h as a}from"@stencil/core/internal/client";const t="rv-filter",o="active",r="hasFilter",n="and-or-button",e="trash-button",l="reorder-button",i=({column:n})=>a("span",null,a("button",{class:{[t]:!0,[o]:n&&!!n[r]}},a("svg",{class:"filter-img",viewBox:"0 0 64 64"},a("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},a("path",{d:"M43,48 L43,56 L21,56 L21,48 L43,48 Z M53,28 L53,36 L12,36 L12,28 L53,28 Z M64,8 L64,16 L0,16 L0,8 L64,8 Z",fill:"currentColor"}))))),s=({ariaLabel:t,onClick:o})=>a("button",{type:"button",class:{[e]:!0},"aria-label":t,onClick:o},a("svg",{class:"trash-img",viewBox:"0 0 24 24"},a("path",{fill:"currentColor",d:"M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z"}))),g=({text:t,onClick:o})=>a("button",{type:"button",class:{[n]:!0,"light revo-button":!0},onClick:o},t),c=({ariaLabel:t,dragging:o,dragOver:r,onDragStart:n,onDragEnd:e,onDragOver:i,onDragLeave:s,onDrop:g,onKeyDown:c})=>a("button",{type:"button",class:{[l]:!0,"filter-row-dragging":!!o,"filter-row-drag-over":!!r},draggable:!0,title:t,"aria-label":t,onDragStart:n,onDragEnd:e,onDragOver:i,onDragLeave:s,onDrop:g,onKeyDown:c},"::");function u(a){return!!a.classList.contains(t)||(null==a?void 0:a.closest(`.${t}`))}export{n as A,t as F,l as R,e as T,o as a,r as b,i as c,s as d,g as e,c as f,u as i}