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 ObiContainer = 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 fill-rule="evenodd" clip-rule="evenodd" d="M17.2498 11L12.7498 7.625V2H11.2498V7.625L6.7498 11H3V21H21V11H17.2498ZM9.2498 11L11.9998 8.9375L14.7498 11H9.2498ZM17 13H19V19H17V13ZM13 13H15V19H13V13ZM11 13H9V19H11V13ZM7 19V13H5V19H7Z" 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 fill-rule="evenodd" clip-rule="evenodd" d="M17.2498 11L12.7498 7.625V2H11.2498V7.625L6.7498 11H3V21H21V11H17.2498ZM9.2498 11L11.9998 8.9375L14.7498 11H9.2498ZM17 13H19V19H17V13ZM13 13H15V19H13V13ZM11 13H9V19H11V13ZM7 19V13H5V19H7Z" style="fill: var(--element-active-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiContainer.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiContainer.prototype, "useCssColor", 2);
ObiContainer = __decorateClass([
  customElement("obi-container")
], ObiContainer);
export {
  ObiContainer
};
//# sourceMappingURL=icon-container.js.map
