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 ObiDuctEndPoint = 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="M6 6L6 1L18 1L18 23H6L6 18L0 18L5.24537e-07 6L6 6Z" fill="currentColor"/>
<path d="M7 22H17L17 2L7 2V7L4.80825e-07 7L5.24537e-07 6L6 6L6 1L18 1V23H6L6 18L0 18L4.37112e-08 17L7 17L7 22Z" 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="M6 6L6 1L18 1L18 23H6L6 18L0 18L5.24537e-07 6L6 6Z" style="fill: var(--automation-pipe-primary-color)"/>
<path d="M7 22H17L17 2L7 2V7L4.80825e-07 7L5.24537e-07 6L6 6L6 1L18 1V23H6L6 18L0 18L4.37112e-08 17L7 17L7 22Z" style="fill: var(--automation-pipe-tertiary-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiDuctEndPoint.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiDuctEndPoint.prototype, "useCssColor", 2);
ObiDuctEndPoint = __decorateClass([
  customElement("obi-duct-end-point")
], ObiDuctEndPoint);
export {
  ObiDuctEndPoint
};
//# sourceMappingURL=icon-duct-end-point.js.map
