import { css, LitElement, svg, html } from "lit";
import { property } from "lit/decorators.js";
import { customElement } from "../decorator.js";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __decorateClass = (decorators, target, key, kind) => {
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
    if (decorator = decorators[i])
      result = (kind ? decorator(target, key, result) : decorator(result)) || result;
  if (kind && result) __defProp(target, key, result);
  return result;
};
let ObiPrint = class extends LitElement {
  constructor() {
    super(...arguments);
    this.useCssColor = false;
    this.icon = svg`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M19 7H18V2H6V7H5C3.34 7 2 8.34 2 10V18H6V22H18V18H22V10C22 8.34 20.66 7 19 7ZM8 4H16V7H8V4ZM16 20H8V16H16V20ZM18 16V14H6V16H4V10C4 9.45 4.45 9 5 9H19C19.55 9 20 9.45 20 10V16H18Z" fill="currentColor"/>
<path d="M17.5 12.5C18.0523 12.5 18.5 12.0523 18.5 11.5C18.5 10.9477 18.0523 10.5 17.5 10.5C16.9477 10.5 16.5 10.9477 16.5 11.5C16.5 12.0523 16.9477 12.5 17.5 12.5Z" fill="currentColor"/>
</svg>
`;
    this.iconCss = svg`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19 7H18V2H6V7H5C3.34 7 2 8.34 2 10V18H6V22H18V18H22V10C22 8.34 20.66 7 19 7ZM8 4H16V7H8V4ZM16 20H8V16H16V20ZM18 16V14H6V16H4V10C4 9.45 4.45 9 5 9H19C19.55 9 20 9.45 20 10V16H18Z" style="fill: var(--element-active-color)"/>
<path d="M17.5 12.5C18.0523 12.5 18.5 12.0523 18.5 11.5C18.5 10.9477 18.0523 10.5 17.5 10.5C16.9477 10.5 16.5 10.9477 16.5 11.5C16.5 12.0523 16.9477 12.5 17.5 12.5Z" style="fill: var(--element-active-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiPrint.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiPrint.prototype, "useCssColor", 2);
ObiPrint = __decorateClass([
  customElement("obi-print")
], ObiPrint);
export {
  ObiPrint
};
//# sourceMappingURL=icon-print.js.map
