UNPKG

@revolist/revogrid

Version:

Virtual reactive data grid spreadsheet component - RevoGrid.

4 lines 958 B
/*! * Built by Revolist OU ❤️ */ import{h as t}from"@stencil/core/internal/client";const s="rv-filter",l="active",o="hasFilter",n="and-or-button",a="trash-button",e=({column:n})=>t("span",null,t("button",{class:{[s]:!0,[l]:n&&!!n[o]}},t("svg",{class:"filter-img",viewBox:"0 0 64 64"},t("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},t("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"}))))),r=()=>t("div",{class:{[a]:!0}},t("svg",{class:"trash-img",viewBox:"0 0 24 24"},t("path",{fill:"currentColor",d:"M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z"}))),i=({text:s})=>t("button",{class:{[n]:!0,"light revo-button":!0}},s);function c(t){return!!t.classList.contains(s)||(null==t?void 0:t.closest(`.${s}`))}export{n as A,s as F,a as T,l as a,o as b,e as c,r as d,i as e,c as i}